nuxt-ignis 0.5.2 → 0.5.3
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/.data/content/contents.sqlite +0 -0
- package/.env +1 -1
- package/.nuxt/components.d.ts +480 -858
- package/.nuxt/content/components.ts +177 -320
- package/.nuxt/dev/index.mjs +542 -530
- package/.nuxt/dev/index.mjs.map +1 -1
- package/.nuxt/dist/server/client.manifest.mjs +1 -1
- package/.nuxt/dist/server/client.precomputed.mjs +1 -1
- package/.nuxt/eslint-typegen.d.ts +60 -111
- package/.nuxt/eslint.config.d.mts +2 -2
- package/.nuxt/eslint.config.mjs +9 -9
- package/.nuxt/imports.d.ts +71 -70
- package/.nuxt/manifest/latest.json +1 -1
- package/.nuxt/manifest/meta/dev.json +1 -1
- package/.nuxt/module/nuxt-robots.d.ts +13 -12
- package/.nuxt/module/nuxt-seo-utils.d.ts +10 -10
- package/.nuxt/module/nuxt-site-config.d.ts +8 -8
- package/.nuxt/module/nuxt-sitemap.d.ts +18 -18
- package/.nuxt/nitro.json +4 -4
- package/.nuxt/nuxt.d.ts +6 -6
- package/.nuxt/nuxt.json +2 -2
- package/.nuxt/nuxt.node.d.ts +7 -6
- package/.nuxt/tsconfig.app.json +192 -188
- package/.nuxt/tsconfig.json +195 -191
- package/.nuxt/tsconfig.node.json +108 -104
- package/.nuxt/tsconfig.server.json +128 -127
- package/.nuxt/tsconfig.shared.json +62 -62
- package/.nuxt/types/build.d.ts +1 -1
- package/.nuxt/types/components.d.ts +480 -858
- package/.nuxt/types/i18n-plugin.d.ts +2 -2
- package/.nuxt/types/imports.d.ts +368 -366
- package/.nuxt/types/modules.d.ts +22 -24
- package/.nuxt/types/nitro-imports.d.ts +66 -66
- package/.nuxt/types/nitro-nuxt.d.ts +1 -1
- package/.nuxt/types/nitro-routes.d.ts +16 -16
- package/.nuxt/types/plugins.d.ts +37 -37
- package/.nuxt/types/runtime-config.d.ts +3 -1
- package/.output/nitro.json +2 -2
- package/.output/public/_ignis-config.json +6 -0
- package/.output/public/_nuxt/-OUwOzoZ.js +1 -0
- package/.output/public/_nuxt/-z2jk33i.js +1 -0
- package/.output/public/_nuxt/3L5yAyVe.js +1 -0
- package/.output/public/_nuxt/8nlalpbc.js +1 -0
- package/.output/public/_nuxt/As5Zy5cG.js +1 -0
- package/.output/public/_nuxt/B-TDuiGE.js +1 -0
- package/.output/public/_nuxt/B04mZI32.js +1 -0
- package/.output/public/_nuxt/B3zmx-p1.js +1 -0
- package/.output/public/_nuxt/B4eQjLRH.js +1 -0
- package/.output/public/_nuxt/B6WOJ0Em.js +1 -0
- package/.output/public/_nuxt/BB2ULiwb.js +1 -0
- package/.output/public/_nuxt/BEvX3xjB.js +1 -0
- package/.output/public/_nuxt/BFcGh2xo.js +1 -0
- package/.output/public/_nuxt/BFdGKCUO.js +1 -0
- package/.output/public/_nuxt/BG-5V6Ik.js +1 -0
- package/.output/public/_nuxt/BeRTSVEP.js +1 -0
- package/.output/public/_nuxt/Bh-DZrTV.js +1 -0
- package/.output/public/_nuxt/BvFz8iHh.js +1 -0
- package/.output/public/_nuxt/BwUgVogm.js +1 -0
- package/.output/public/_nuxt/C1fHW8CN.js +1 -0
- package/.output/public/_nuxt/C1getMtX.js +49 -0
- package/.output/public/_nuxt/C4nGy0Yj.js +1 -0
- package/.output/public/_nuxt/CExm4AMI.js +1 -0
- package/.output/public/_nuxt/CHcd0nHy.js +1 -0
- package/.output/public/_nuxt/CTbEZMxa.js +1 -0
- package/.output/public/_nuxt/CZ5QNOH8.js +1 -0
- package/.output/public/_nuxt/Cna7T5zY.js +1 -0
- package/.output/public/_nuxt/CnghUxEk.js +1 -0
- package/.output/public/_nuxt/CvJSUdvI.js +1 -0
- package/.output/public/_nuxt/CwgBHvd_.js +1 -0
- package/.output/public/_nuxt/D1nIr4-J.js +1 -0
- package/.output/public/_nuxt/D2atCez-.js +1 -0
- package/.output/public/_nuxt/D3WX5Hmk.js +1 -0
- package/.output/public/_nuxt/D5duQQkG.js +1 -0
- package/.output/public/_nuxt/D9RSHNPZ.js +1 -0
- package/.output/public/_nuxt/DB3c8m3K.js +1 -0
- package/.output/public/_nuxt/DFP1sKjc.js +1 -0
- package/.output/public/_nuxt/DI5_qtj_.js +1 -0
- package/.output/public/_nuxt/DKCDh1Eq.js +1 -0
- package/.output/public/_nuxt/DN3AlbuD.js +1 -0
- package/.output/public/_nuxt/DPDbQA17.js +1 -0
- package/.output/public/_nuxt/DSErOj49.js +1 -0
- package/.output/public/_nuxt/DXrSmKSt.js +1 -0
- package/.output/public/_nuxt/DbZ1CQfQ.js +1 -0
- package/.output/public/_nuxt/DgCebJqk.js +1 -0
- package/.output/public/_nuxt/DhhwMwQM.js +1 -0
- package/.output/public/_nuxt/Djhwz52y.js +1 -0
- package/.output/public/_nuxt/DnE1KSqg.js +1 -0
- package/.output/public/_nuxt/DncFEy6i.js +1 -0
- package/.output/public/_nuxt/DpZCZGQO.js +1 -0
- package/.output/public/_nuxt/Dx95U2T3.js +1 -0
- package/.output/public/_nuxt/FUdAqSn9.js +9 -0
- package/.output/public/_nuxt/GvxWNFgu.js +1 -0
- package/.output/public/_nuxt/HgKyGH3C.js +1 -0
- package/.output/public/_nuxt/Hxhp1Hz0.js +1 -0
- package/.output/public/_nuxt/LpFrvoF7.js +1 -0
- package/.output/public/_nuxt/{Pre.DHQaXnEy.css → Pre.HegCCrfd.css} +1 -1
- package/.output/public/_nuxt/Sz6HDPqh.js +1 -0
- package/.output/public/_nuxt/U1_7ggcx.js +1 -0
- package/.output/public/_nuxt/X8ZdEYzW.js +1 -0
- package/.output/public/_nuxt/ahq42_9S.js +1 -0
- package/.output/public/_nuxt/b0AtYQ73.js +1 -0
- package/.output/public/_nuxt/builds/latest.json +1 -1
- package/.output/public/_nuxt/builds/meta/78080714-55fa-441d-9998-a6fb0c7ee057.json +1 -0
- package/.output/public/_nuxt/efC_w6sP.js +1 -0
- package/.output/public/_nuxt/entry.9ygoOcLs.css +1 -0
- package/.output/public/_nuxt/error-404.0Tbhbu-E.css +1 -0
- package/.output/public/_nuxt/error-500.ClQbyW3Z.css +1 -0
- package/.output/public/_nuxt/ulE7jr93.js +1 -0
- package/.output/public/_nuxt/xHyrElgL.js +1 -0
- package/.output/server/chunks/_/error-500.mjs.map +1 -1
- package/.output/server/chunks/_/i18n.config.mjs.map +1 -1
- package/.output/server/chunks/_/nitro.mjs +1176 -1775
- package/.output/server/chunks/_/nitro.mjs.map +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs +1 -1
- package/.output/server/chunks/build/client.precomputed.mjs.map +1 -1
- package/.output/server/chunks/build/database.compressed.mjs.map +1 -1
- package/.output/server/chunks/raw/headers.mjs.map +1 -1
- package/.output/server/chunks/routes/api/neonTest.mjs +2 -2
- package/.output/server/chunks/routes/api/neonTest.mjs.map +1 -1
- package/.output/server/chunks/routes/renderer.mjs +27 -2
- package/.output/server/chunks/routes/renderer.mjs.map +1 -1
- package/.output/server/chunks/virtual/_virtual_spa-template.mjs.map +1 -1
- package/.output/server/chunks/virtual/child-sources.mjs.map +1 -1
- package/.output/server/chunks/virtual/global-sources.mjs +0 -8
- package/.output/server/chunks/virtual/global-sources.mjs.map +1 -1
- package/.output/server/index.mjs +1 -1
- package/.output/server/index.mjs.map +1 -1
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib/decode_codepoint.js → entities@7.0.0/dist/commonjs/decode-codepoint.js} +16 -15
- package/.output/server/node_modules/.nitro/{entities@4.5.0/lib → entities@7.0.0/dist/commonjs}/decode.js +200 -168
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-html.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/generated/decode-data-xml.js +7 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/bin-trie-flags.js +21 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/internal/decode-shared.js +31 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/dist/commonjs/package.json +3 -0
- package/.output/server/node_modules/.nitro/entities@7.0.0/package.json +113 -0
- package/.output/server/node_modules/@intlify/core/dist/core.mjs +1 -1
- package/.output/server/node_modules/@intlify/core/package.json +3 -3
- package/.output/server/node_modules/@intlify/core-base/dist/core-base.mjs +2 -2
- package/.output/server/node_modules/@intlify/core-base/package.json +4 -4
- package/.output/server/node_modules/@intlify/message-compiler/dist/message-compiler.mjs +1 -1
- package/.output/server/node_modules/@intlify/message-compiler/package.json +2 -2
- package/.output/server/node_modules/@intlify/shared/dist/shared.mjs +1 -1
- package/.output/server/node_modules/@intlify/shared/package.json +1 -1
- package/.output/server/node_modules/@neondatabase/serverless/package.json +4 -4
- package/.output/server/node_modules/@poppinss/exception/build/index.js +36 -55
- package/.output/server/node_modules/@poppinss/exception/package.json +19 -16
- package/.output/server/node_modules/@poppinss/string/build/index.js +2 -6
- package/.output/server/node_modules/@poppinss/string/build/string-ArFSN0fl.js +464 -0
- package/.output/server/node_modules/@poppinss/string/package.json +28 -25
- package/.output/server/node_modules/@shikijs/core/dist/index.mjs +111 -31
- package/.output/server/node_modules/@shikijs/core/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-javascript/package.json +2 -2
- package/.output/server/node_modules/@shikijs/engine-oniguruma/package.json +2 -2
- package/.output/server/node_modules/@shikijs/langs/package.json +2 -2
- package/.output/server/node_modules/@shikijs/themes/package.json +2 -2
- package/.output/server/node_modules/@shikijs/transformers/dist/index.mjs +56 -16
- package/.output/server/node_modules/@shikijs/transformers/package.json +3 -3
- package/.output/server/node_modules/@shikijs/types/package.json +1 -1
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/dist/compiler-core.cjs.prod.js +106 -85
- package/.output/server/node_modules/{.nitro/@vue/compiler-core@3.5.25 → @vue/compiler-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/dist/compiler-dom.cjs.prod.js +54 -54
- package/.output/server/node_modules/{.nitro/@vue/compiler-dom@3.5.22 → @vue/compiler-dom}/package.json +3 -3
- package/.output/server/node_modules/@vue/compiler-ssr/dist/compiler-ssr.cjs.js +26 -26
- package/.output/server/node_modules/@vue/compiler-ssr/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.25 → @vue/reactivity}/dist/reactivity.cjs.prod.js +4 -4
- package/.output/server/node_modules/{.nitro/@vue/reactivity@3.5.22 → @vue/reactivity}/package.json +2 -2
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.25 → @vue/runtime-core}/dist/runtime-core.cjs.prod.js +175 -155
- package/.output/server/node_modules/{.nitro/@vue/runtime-core@3.5.22 → @vue/runtime-core}/package.json +3 -3
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.25 → @vue/runtime-dom}/dist/runtime-dom.cjs.prod.js +9 -9
- package/.output/server/node_modules/{.nitro/@vue/runtime-dom@3.5.22 → @vue/runtime-dom}/package.json +5 -5
- package/.output/server/node_modules/@vue/server-renderer/dist/server-renderer.cjs.prod.js +1 -1
- package/.output/server/node_modules/@vue/server-renderer/package.json +4 -4
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.25 → @vue/shared}/dist/shared.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/@vue/shared@3.5.22 → @vue/shared}/package.json +1 -1
- package/.output/server/node_modules/devalue/index.js +1 -0
- package/.output/server/node_modules/devalue/package.json +1 -1
- package/.output/server/node_modules/devalue/src/parse.js +5 -1
- package/.output/server/node_modules/devalue/src/stringify.js +7 -3
- package/.output/server/node_modules/devalue/src/uneval.js +7 -3
- package/.output/server/node_modules/devalue/src/utils.js +5 -1
- package/.output/server/node_modules/fast-xml-parser/package.json +4 -2
- package/.output/server/node_modules/fast-xml-parser/src/xmlparser/OrderedObjParser.js +19 -8
- package/.output/server/node_modules/hast-util-to-parse5/lib/index.js +13 -19
- package/.output/server/node_modules/hast-util-to-parse5/package.json +8 -7
- package/.output/server/node_modules/jose/dist/webapi/index.js +4 -2
- package/.output/server/node_modules/jose/dist/webapi/jwks/remote.js +1 -1
- package/.output/server/node_modules/jose/dist/webapi/lib/check_key_type.js +2 -2
- package/.output/server/node_modules/jose/package.json +1 -1
- package/.output/server/node_modules/node-mock-http/package.json +10 -10
- package/.output/server/node_modules/regex/package.json +6 -6
- package/.output/server/node_modules/regex/src/atomic.js +6 -3
- package/.output/server/node_modules/shiki/package.json +7 -7
- package/.output/server/node_modules/strnum/package.json +1 -1
- package/.output/server/node_modules/strnum/strnum.js +1 -1
- package/.output/server/node_modules/unhead/dist/plugins.mjs +2 -2
- package/.output/server/node_modules/unhead/dist/server.mjs +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DH45uomy.mjs → unhead.CGCfDSEL.mjs} +3 -3
- package/.output/server/node_modules/unhead/dist/shared/{unhead.BpRRHAhY.mjs → unhead.CYpwL2hc.mjs} +12 -12
- package/.output/server/node_modules/unhead/dist/shared/{unhead.DZbvapt-.mjs → unhead.CbpEuj3y.mjs} +3 -2
- package/.output/server/node_modules/unhead/dist/shared/{unhead.Djo8ep_Y.mjs → unhead.ckV6dpEQ.mjs} +1 -1
- package/.output/server/node_modules/unhead/dist/utils.mjs +2 -2
- package/.output/server/node_modules/unhead/package.json +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/dist/vue.cjs.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/dist/vue.cjs.prod.js +1 -1
- package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/package.json +6 -6
- package/.output/server/node_modules/vue-router/dist/{devtools-BLCumUwL.mjs → devtools-EWN81iOl.mjs} +6 -4
- package/.output/server/node_modules/vue-router/dist/vue-router.mjs +3 -3
- package/.output/server/node_modules/vue-router/package.json +2 -3
- package/.output/server/node_modules/yaml/dist/compose/compose-collection.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-block-seq.js +1 -1
- package/.output/server/node_modules/yaml/dist/compose/resolve-flow-collection.js +2 -2
- package/.output/server/node_modules/yaml/dist/errors.js +1 -1
- package/.output/server/node_modules/yaml/dist/nodes/Alias.js +1 -1
- package/.output/server/node_modules/yaml/dist/parse/parser.js +2 -2
- package/.output/server/node_modules/yaml/dist/stringify/stringifyNumber.js +1 -1
- package/.output/server/node_modules/yaml/dist/stringify/stringifyPair.js +1 -1
- package/.output/server/node_modules/yaml/package.json +4 -4
- package/.output/server/package.json +35 -38
- package/bin/set-app-vue.js +1 -1
- package/bin/set-css.js +1 -1
- package/bin/set-eslint.js +1 -1
- package/bin/setup.js +3 -3
- package/eslint.config.mjs +7 -4
- package/package.json +7 -7
- package/public/_ignis-config.json +6 -0
- package/vitest.config.ts +1 -3
- package/.output/public/_nuxt/-PRJHlJd.js +0 -1
- package/.output/public/_nuxt/38NkCNo_.js +0 -0
- package/.output/public/_nuxt/4p0_eEbF.js +0 -0
- package/.output/public/_nuxt/5P9Ak6Zm.js +0 -0
- package/.output/public/_nuxt/5msm7UDY.js +0 -0
- package/.output/public/_nuxt/7I_cTX05.js +0 -1
- package/.output/public/_nuxt/7N8aGG8C.js +0 -1
- package/.output/public/_nuxt/9j0d6I4O.js +0 -0
- package/.output/public/_nuxt/B7b1sBVf.js +0 -0
- package/.output/public/_nuxt/B7pFyPXj.js +0 -1
- package/.output/public/_nuxt/B8s7UrMM.js +0 -1
- package/.output/public/_nuxt/BHBmrOu8.js +0 -1
- package/.output/public/_nuxt/BHIv_dM4.js +0 -0
- package/.output/public/_nuxt/BI2n4fU-.js +0 -0
- package/.output/public/_nuxt/BJos6QuZ.js +0 -0
- package/.output/public/_nuxt/BKsXoEBs.js +0 -0
- package/.output/public/_nuxt/BNKvjWkT.js +0 -1
- package/.output/public/_nuxt/BQmtXkqc.js +0 -1
- package/.output/public/_nuxt/BQuCJQB8.js +0 -0
- package/.output/public/_nuxt/BSEIdlOb.js +0 -0
- package/.output/public/_nuxt/BST7mczs.js +0 -1
- package/.output/public/_nuxt/BTAjWPAo.js +0 -1
- package/.output/public/_nuxt/BYIIksjz.js +0 -0
- package/.output/public/_nuxt/BfZ1Ro0X.js +0 -1
- package/.output/public/_nuxt/Bg-6qayI.js +0 -1
- package/.output/public/_nuxt/BgP-osMP.js +0 -1
- package/.output/public/_nuxt/BiCkyLWS.js +0 -1
- package/.output/public/_nuxt/BjN_umGo.js +0 -1
- package/.output/public/_nuxt/BqK0HYmw.js +0 -1
- package/.output/public/_nuxt/BrSteMIA.js +0 -1
- package/.output/public/_nuxt/C-MeLOeF.js +0 -1
- package/.output/public/_nuxt/C-OKZMJp.js +0 -1
- package/.output/public/_nuxt/C6tJinWY.js +0 -0
- package/.output/public/_nuxt/C7lLQr2h.js +0 -0
- package/.output/public/_nuxt/CDLGLk8m.js +0 -1
- package/.output/public/_nuxt/CDT62st6.js +0 -1
- package/.output/public/_nuxt/CFimyBH-.js +0 -0
- package/.output/public/_nuxt/CG7cd7Sy.js +0 -1
- package/.output/public/_nuxt/CKPnIC-C.js +0 -0
- package/.output/public/_nuxt/COPw3T3p.js +0 -1
- package/.output/public/_nuxt/CQGFUxxa.js +0 -1
- package/.output/public/_nuxt/CSX_cLY6.js +0 -1
- package/.output/public/_nuxt/CaVNnfk7.js +0 -0
- package/.output/public/_nuxt/Cd1ifhTP.js +0 -0
- package/.output/public/_nuxt/CdygaddQ.js +0 -9
- package/.output/public/_nuxt/Cf-VPxfE.js +0 -1
- package/.output/public/_nuxt/CfmMK6-y.js +0 -1
- package/.output/public/_nuxt/Civ5r6YF.js +0 -1
- package/.output/public/_nuxt/CkdnMzBA.js +0 -0
- package/.output/public/_nuxt/CnlJVizr.js +0 -1
- package/.output/public/_nuxt/Coqgx10n.js +0 -0
- package/.output/public/_nuxt/CxMUMwzI.js +0 -1
- package/.output/public/_nuxt/Cyw3rpDt.js +0 -1
- package/.output/public/_nuxt/CzKgiVVn.js +0 -1
- package/.output/public/_nuxt/D-qXrpoJ.js +0 -0
- package/.output/public/_nuxt/D2vgCRoc.js +0 -1
- package/.output/public/_nuxt/D4fuXfD_.js +0 -1
- package/.output/public/_nuxt/D5IuxRu4.js +0 -1
- package/.output/public/_nuxt/D5j9Embb.js +0 -1
- package/.output/public/_nuxt/D6YL6Hhi.js +0 -0
- package/.output/public/_nuxt/DAIwjxRT.js +0 -0
- package/.output/public/_nuxt/DBEY94Mo.js +0 -0
- package/.output/public/_nuxt/DCQOMtdo.js +0 -1
- package/.output/public/_nuxt/DEQ3hSSO.js +0 -1
- package/.output/public/_nuxt/DFfCkFZ3.js +0 -1
- package/.output/public/_nuxt/DL4qe-W_.js +0 -0
- package/.output/public/_nuxt/DLKI6lgi.js +0 -0
- package/.output/public/_nuxt/DOAeoYpG.js +0 -0
- package/.output/public/_nuxt/DPQeTxQ3.js +0 -1
- package/.output/public/_nuxt/DP_txrAq.js +0 -1
- package/.output/public/_nuxt/DQKS5ddY.js +0 -1
- package/.output/public/_nuxt/DXXu9Lvl.js +0 -1
- package/.output/public/_nuxt/DcUS3ReQ.js +0 -0
- package/.output/public/_nuxt/DdWDmJe7.js +0 -0
- package/.output/public/_nuxt/Df59gZou.js +0 -0
- package/.output/public/_nuxt/DiIccoHR.js +0 -0
- package/.output/public/_nuxt/DiL3rzK6.js +0 -1
- package/.output/public/_nuxt/DkEHW4Vs.js +0 -0
- package/.output/public/_nuxt/DmRrrdJv.js +0 -1
- package/.output/public/_nuxt/Do5nYv4E.js +0 -0
- package/.output/public/_nuxt/DqyxgTAQ.js +0 -0
- package/.output/public/_nuxt/DrE64K_R.js +0 -1
- package/.output/public/_nuxt/DrskXsQH.js +0 -1
- package/.output/public/_nuxt/Ds7AWph0.js +0 -0
- package/.output/public/_nuxt/Dvcv58Mc.js +0 -1
- package/.output/public/_nuxt/FMWwyTQ_.js +0 -0
- package/.output/public/_nuxt/Q6bGSN8C.js +0 -0
- package/.output/public/_nuxt/QyE4cqYn.js +0 -1
- package/.output/public/_nuxt/Tcmkoyas.js +0 -1
- package/.output/public/_nuxt/Tj4XPHLn.js +0 -1
- package/.output/public/_nuxt/VOEA7UHD.js +0 -0
- package/.output/public/_nuxt/WOOfaOjG.js +0 -1
- package/.output/public/_nuxt/Y6FRsTFQ.js +0 -0
- package/.output/public/_nuxt/ZDbum-dK.js +0 -1
- package/.output/public/_nuxt/ZTY82FYd.js +0 -0
- package/.output/public/_nuxt/asVu8S_S.js +0 -51
- package/.output/public/_nuxt/builds/meta/68901e1f-eb2d-48db-9c33-8ac67fff1d62.json +0 -1
- package/.output/public/_nuxt/cjlVjclE.js +0 -1
- package/.output/public/_nuxt/entry.UZgisdi2.css +0 -1
- package/.output/public/_nuxt/error-404.DQ5oEvRi.css +0 -1
- package/.output/public/_nuxt/error-500.c8JA_zlB.css +0 -1
- package/.output/public/_nuxt/gmjYz5n6.js +0 -0
- package/.output/public/_nuxt/iatO0zkI.js +0 -1
- package/.output/public/_nuxt/jieRiiOw.js +0 -0
- package/.output/public/_nuxt/lAhMwKxb.js +0 -1
- package/.output/public/_nuxt/mHcxE7OD.js +0 -0
- package/.output/public/_nuxt/n17zLPF6.js +0 -0
- package/.output/public/_nuxt/ncv2QjU2.js +0 -1
- package/.output/public/_nuxt/osXHzmfu.js +0 -1
- package/.output/public/_nuxt/plapqmiu.js +0 -1
- package/.output/public/_nuxt/pnNmDVjA.js +0 -0
- package/.output/public/_nuxt/rxAL1Pmw.js +0 -1
- package/.output/public/_nuxt/ryzXmKdZ.js +0 -1
- package/.output/public/_nuxt/t9C3L8ir.js +0 -1
- package/.output/public/_nuxt/wQgAJ5T0.js +0 -1
- package/.output/public/_nuxt/z6h75OXJ.js +0 -1
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/dist/compiler-core.cjs.prod.js +0 -6741
- package/.output/server/node_modules/.nitro/@vue/compiler-core@3.5.22/package.json +0 -58
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/dist/compiler-dom.cjs.prod.js +0 -689
- package/.output/server/node_modules/.nitro/@vue/compiler-dom@3.5.25/package.json +0 -57
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.22/dist/reactivity.cjs.prod.js +0 -1807
- package/.output/server/node_modules/.nitro/@vue/reactivity@3.5.25/package.json +0 -55
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.22/dist/runtime-core.cjs.prod.js +0 -6732
- package/.output/server/node_modules/.nitro/@vue/runtime-core@3.5.25/package.json +0 -52
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.22/dist/runtime-dom.cjs.prod.js +0 -1703
- package/.output/server/node_modules/.nitro/@vue/runtime-dom@3.5.25/package.json +0 -60
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.22/dist/shared.cjs.prod.js +0 -604
- package/.output/server/node_modules/.nitro/@vue/shared@3.5.25/package.json +0 -47
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-html.js +0 -9
- package/.output/server/node_modules/.nitro/entities@4.5.0/lib/generated/decode-data-xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/index.js +0 -18
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/aria.js +0 -59
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/find.js +0 -68
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/hast-to-react.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/html.js +0 -322
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/normalize.js +0 -7
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/svg.js +0 -567
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-insensitive-transform.js +0 -10
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/case-sensitive-transform.js +0 -8
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/create.js +0 -58
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/defined-info.js +0 -44
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/info.js +0 -25
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/merge.js +0 -26
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/util/schema.js +0 -28
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xlink.js +0 -17
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xml.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/lib/xmlns.js +0 -9
- package/.output/server/node_modules/.nitro/property-information@6.5.0/package.json +0 -93
- package/.output/server/node_modules/.nitro/property-information@7.1.0/lib/util/types.js +0 -13
- package/.output/server/node_modules/.nitro/vue@3.5.22/dist/vue.cjs.prod.js +0 -66
- package/.output/server/node_modules/.nitro/vue@3.5.22/package.json +0 -112
- package/.output/server/node_modules/.nitro/vue@3.5.25/dist/vue.cjs.js +0 -80
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.js +0 -7
- package/.output/server/node_modules/.nitro/vue@3.5.25/index.mjs +0 -1
- package/.output/server/node_modules/@lukeed/ms/dist/index.mjs +0 -34
- package/.output/server/node_modules/@lukeed/ms/package.json +0 -48
- package/.output/server/node_modules/@poppinss/string/build/chunk-LJJE2S3U.js +0 -407
- package/.output/server/node_modules/bytes/index.js +0 -170
- package/.output/server/node_modules/bytes/package.json +0 -42
- package/.output/server/node_modules/truncatise/index.js +0 -188
- package/.output/server/node_modules/truncatise/package.json +0 -36
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/aria.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/find.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/hast-to-react.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/html.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/normalize.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/svg.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-insensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/case-sensitive-transform.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/create.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/defined-info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/info.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/merge.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/util/schema.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@6.5.0 → property-information}/lib/util/types.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xlink.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xml.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/lib/xmlns.js +0 -0
- /package/.output/server/node_modules/{.nitro/property-information@7.1.0 → property-information}/package.json +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.js +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.22 → vue}/index.mjs +0 -0
- /package/.output/server/node_modules/{.nitro/vue@3.5.25 → vue}/server-renderer/index.mjs +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./ZDbum-dK.js";import{$ as t,C as n,Ct as r,Dt as i,E as a,Et as o,Ft as s,G as c,It as l,J as u,K as d,L as f,Lt as p,M as m,Mt as h,Ot as g,Pt as _,Q as v,Rt as y,St as b,Tt as x,U as S,W as ee,Y as te,_t as ne,at as re,b as ie,bt as ae,c as oe,ct as se,dt as ce,et as le,f as ue,ft as de,g as fe,gt as pe,it as me,jt as he,lt as ge,m as _e,mt as ve,o as ye,rt as C,st as w,tt as be,ut as xe,vt as Se,xt as Ce,y as we,yt as Te}from"./asVu8S_S.js";var[Ee,De]=m(`DialogRoot`),Oe=se({inheritAttrs:!1,__name:`DialogRoot`,props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:[`update:open`],setup(e,{emit:t}){let n=e,r=a(n,`open`,t,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=_(),o=_(),{modal:c}=s(n);return De({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:e=>{r.value=e},onOpenToggle:()=>{r.value=!r.value},contentId:``,titleId:``,descriptionId:``,triggerElement:i,contentElement:o}),(e,t)=>x(e.$slots,`default`,{open:l(r),close:()=>r.value=!1})}}),ke=se({__name:`DialogPortal`,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,n)=>(b(),C(l(we),y(xe(t)),{default:h(()=>[x(e.$slots,`default`)]),_:3},16))}}),Ae=se({__name:`DialogTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`button`}},setup(t){let r=t,i=Ee(),{forwardRef:a,currentElement:o}=n();return i.contentId||=e(void 0,`reka-dialog-content`),Te(()=>{i.triggerElement.value=o.value}),(e,t)=>(b(),C(l(ie),ve(r,{ref:l(a),type:e.as===`button`?`button`:void 0,"aria-haspopup":`dialog`,"aria-expanded":l(i).open.value||!1,"aria-controls":l(i).open.value?l(i).contentId:void 0,"data-state":l(i).open.value?`open`:`closed`,onClick:l(i).onOpenToggle}),{default:h(()=>[x(e.$slots,`default`)]),_:3},16,[`type`,`aria-expanded`,`aria-controls`,`data-state`,`onClick`]))}}),je=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],T={value:null,addProjectionMetrics:null};function Me(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.has(e)||s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0,[n,r]=[r,n],n.forEach(l),t&&T.value&&T.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var E={},Ne=40;function Pe(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=je.reduce((e,n)=>(e[n]=Me(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=E.useManualTiming?i.timestamp:performance.now();n=!1,E.useManualTiming||(i.delta=r?1e3/60:Math.max(Math.min(a-i.timestamp,Ne),1)),i.timestamp=a,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:je.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<je.length;t++)o[je[t]].cancel(e)},state:i,steps:o}}var D=e=>e,{schedule:O,cancel:k,state:A,steps:Fe}=Pe(typeof requestAnimationFrame<`u`?requestAnimationFrame:D,!0),Ie;function Le(){Ie=void 0}var j={now:()=>(Ie===void 0&&j.set(A.isProcessing||E.useManualTiming?A.timestamp:performance.now()),Ie),set:e=>{Ie=e,queueMicrotask(Le)}},M=e=>e*1e3,N=e=>e/1e3;function Re(e,t){let n=j.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(k(r),e(a-t))};return O.setup(r,!0),()=>k(r)}var ze=e=>t=>typeof t==`string`&&t.startsWith(e),Be=ze(`--`),Ve=ze(`var(--`),He=e=>Ve(e)?Ue.test(e.split(`/*`)[0].trim()):!1,Ue=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,We={};function Ge(e){for(let t in e)We[t]=e[t],Be(t)&&(We[t].isCSSVariable=!0)}function Ke(e,t){let n=typeof e==`string`&&!t?`${e}Context`:t,i=Symbol(n);return[t=>{let n=de(i,t);if(n===void 0)throw Error(`Injection \`${i.toString()}\` not found. Component must be used within ${Array.isArray(e)?`one of the following components: ${e.join(`, `)}`:`\`${e}\``}`);return n},e=>(r(i,e),e)]}var[qe,Je]=Ke(`Motion`),[Ye,Xe]=Ke(`LayoutGroup`);function Ze(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}var P=class{constructor(e){this.state=e}beforeMount(){}mount(){}unmount(){}update(){}beforeUpdate(){}beforeUnmount(){}};function Qe(e,t,n){if(Array.isArray(e))return e.reduce((e,r)=>{let i=Qe(r,t,n);return i?{...e,...i}:e},{});if(typeof e==`object`)return e;if(e&&t){let r=t[e];return typeof r==`function`?r(n):r}}function $e(e,t){return typeof e==typeof t?Array.isArray(e)&&Array.isArray(t)?!et(e,t):e!==t:!0}function et(e,t){let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function tt(e){return e?.startsWith(`--`)}var nt=e=>e;function rt(e){return typeof e==`number`}var it=`animate.circle.defs.desc.ellipse.g.image.line.filter.marker.mask.metadata.path.pattern.polygon.polyline.rect.stop.svg.switch.symbol.text.tspan.use.view.clipPath.feBlend.feColorMatrix.feComponentTransfer.feComposite.feConvolveMatrix.feDiffuseLighting.feDisplacementMap.feDistantLight.feDropShadow.feFlood.feFuncA.feFuncB.feFuncG.feFuncR.feGaussianBlur.feImage.feMerge.feMergeNode.feMorphology.feOffset.fePointLight.feSpecularLighting.feSpotLight.feTile.feTurbulence.foreignObject.linearGradient.radialGradient.textPath`.split(`.`),at=new Set(it);function ot(e){return at.has(e)}var st=class{constructor(e){this.features=[];let{features:t=[],lazyMotionContext:n}=e.options,r=t.concat(n.features.value);this.features=r.map(t=>new t(e));let i=this.features;he(n.features,t=>{t.forEach(t=>{if(!r.includes(t)){r.push(t);let n=new t(e);i.push(n),e.isMounted()&&(n.beforeMount(),n.mount())}})},{flush:`pre`})}mount(){this.features.forEach(e=>e.mount())}beforeMount(){this.features.forEach(e=>e.beforeMount?.call(e))}unmount(){this.features.forEach(e=>e.unmount())}update(){this.features.forEach(e=>e.update?.call(e))}beforeUpdate(){this.features.forEach(e=>e.beforeUpdate())}beforeUnmount(){this.features.forEach(e=>e.beforeUnmount())}},ct=new WeakMap;function lt(e){let t=ct.get(e);t&&e.removeEventListener(`motioncomplete`,t),ct.delete(e)}var[ut,dt]=Ke(`AnimatePresenceContext`);function ft(e){let t={initial:e.initial,custom:e.custom};he(()=>e.custom,e=>{t.custom=e},{flush:`pre`}),dt(t),Te(()=>{t.initial=void 0})}function pt(e){return typeof e==`string`||e===!1||Array.isArray(e)}var mt=new WeakMap,ht=0,gt=class{constructor(e,t){var n;this.element=null,this.isSafeToRemove=!1,this.isVShow=!1,this.children=new Set,this.activeStates={initial:!0,animate:!0},this.currentProcess=null,this._context=null,this.animateUpdates=D,this.id=`motion-state-${ht++}`,this.options=e,this.parent=t,(n=t?.children)==null||n.add(this);let r=(e.initial===void 0&&e.variants?this.context.initial:e.initial)===!1?[`initial`,`animate`]:[`initial`];this.initTarget(r),this.featureManager=new st(this),this.type=ot(this.options.as)?`svg`:`html`}get context(){return this._context||=new Proxy({},{get:(e,t)=>pt(this.options[t])?this.options[t]:this.parent?.context[t]}),this._context}initTarget(e){let t=this.options.custom??this.options.animatePresenceContext?.custom;this.baseTarget=e.reduce((e,n)=>({...e,...Qe(this.options[n]||this.context[n],this.options.variants,t)}),{}),this.target={}}updateOptions(e){var t;this.options=e,(t=this.visualElement)==null||t.update({...this.options,whileTap:this.options.whilePress},{isPresent:!ct.has(this.element)})}beforeMount(){this.featureManager.beforeMount()}mount(e,t,n=!1){var r,i;this.element=e,this.updateOptions(t),this.options.layoutId&&((r=this.visualElement.projection.getStack())==null||r.members.length),this.featureManager.mount(),!n&&this.options.animate&&((i=this.startAnimation)==null||i.call(this))}clearAnimation(){var e;this.currentProcess&&k(this.currentProcess),this.currentProcess=null,(e=this.visualElement?.variantChildren)==null||e.forEach(e=>{e.state.clearAnimation()})}startAnimation(){this.clearAnimation(),this.currentProcess=O.render(()=>{this.currentProcess=null,this.animateUpdates()})}beforeUnmount(){this.featureManager.beforeUnmount()}unmount(e=!1){let t=this.options.layoutId&&this.visualElement.projection?.getStack().lead===this.visualElement.projection&&this.visualElement.projection.isProjecting(),n=()=>{var t,n;e&&Array.from(this.children).reverse().forEach(this.unmountChild),(t=this.parent?.children)==null||t.delete(this),mt.delete(this.element),this.featureManager.unmount(),(n=this.visualElement)==null||n.unmount(),this.clearAnimation()};t?Promise.resolve().then(()=>{n()}):n()}unmountChild(e){e.unmount(!0)}beforeUpdate(){this.featureManager.beforeUpdate()}update(e){this.updateOptions(e),this.featureManager.update(),this.startAnimation()}setActive(e,t,n=!0){var r;!this.element||this.activeStates[e]===t||(this.activeStates[e]=t,(r=this.visualElement.variantChildren)==null||r.forEach(n=>{n.state.setActive(e,t,!1)}),n&&this.animateUpdates({isExit:e===`exit`&&this.activeStates.exit}))}isMounted(){return!!this.element}willUpdate(e){var t;(this.options.layout||this.options.layoutId)&&((t=this.visualElement.projection)==null||t.willUpdate())}},F=new WeakMap;function _t(e,t,n){return new CustomEvent(e,{detail:{target:t,isExit:n}})}var vt={syntax:`<angle>`,initialValue:`0deg`,toDefaultUnit:e=>`${e}deg`},yt={translate:{syntax:`<length-percentage>`,initialValue:`0px`,toDefaultUnit:e=>`${e}px`},rotate:vt,scale:{syntax:`<number>`,initialValue:1,toDefaultUnit:nt},skew:vt},bt=[`translate`,`scale`,`rotate`,`skew`],xt=[``,`X`,`Y`,`Z`],St=new Map,Ct=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`];bt.forEach(e=>{xt.forEach(t=>{Ct.push(e+t),St.set(e+t,yt[e])})});var wt=new Set(Ct),Tt=e=>wt.has(e),Et={x:`translateX`,y:`translateY`,z:`translateZ`};function Dt([e],[t]){return Ct.indexOf(e)-Ct.indexOf(t)}function Ot(e,[t,n]){return`${e} ${t}(${n})`}function kt(e){return e.sort(Dt).reduce(Ot,``).trim()}var At={translate:[0,0],rotate:0,scale:1,skew:0,x:0,y:0,z:0},jt=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),I=jt(`deg`),L=jt(`%`),R=jt(`px`),Mt=jt(`vh`),Nt=jt(`vw`),Pt=(()=>({...L,parse:e=>L.parse(e)/100,transform:e=>L.transform(e*100)}))(),z=e=>!!(e&&e.getVelocity),Ft={get:(e,t)=>{let n=tt(t)?e.style.getPropertyValue(t):getComputedStyle(e)[t];if(!n&&n!==`0`){let e=St.get(t);e&&(n=e.initialValue)}return n},set:(e,t,n)=>{tt(t)?e.style.setProperty(t,n):e.style[t]=n}};function It(e){let t={},n=[];for(let r in e){let i=e[r];i=z(i)?i.get():i,Tt(r)&&r in Et&&(r=Et[r]);let a=Array.isArray(i)?i[0]:i,o=St.get(r);o?(a=rt(i)?o.toDefaultUnit?.call(o,i):i,n.push([r,a])):t[r]=a}return n.length&&(t.transform=kt(n)),Object.keys(t).length===0?null:t}var Lt={fill:!0,stroke:!0,opacity:!0,"stroke-width":!0,"fill-opacity":!0,"stroke-opacity":!0,"stroke-linecap":!0,"stroke-linejoin":!0,"stroke-dasharray":!0,"stroke-dashoffset":!0,cx:!0,cy:!0,r:!0,d:!0,x1:!0,y1:!0,x2:!0,y2:!0,points:!0,"path-length":!0,viewBox:!0,width:!0,height:!0,"preserve-aspect-ratio":!0,"clip-path":!0,filter:!0,mask:!0,"stop-color":!0,"stop-opacity":!0,"gradient-transform":!0,"gradient-units":!0,"spread-method":!0,"marker-end":!0,"marker-mid":!0,"marker-start":!0,"text-anchor":!0,"dominant-baseline":!0,"font-family":!0,"font-size":!0,"font-weight":!0,"letter-spacing":!0,"vector-effect":!0};function Rt(e){return e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase()}function zt(e,t,n=1,r=0){e.pathLength=1,delete e[`path-length`],e[`stroke-dashoffset`]=R.transform(-r),e[`stroke-dasharray`]=`${R.transform(t)} ${R.transform(n)}`}function Bt(e){let t={},n={};for(let r in e){let i=Rt(r);if(i in Lt){let n=e[r];t[i]=z(n)?n.get():n}else n[r]=e[r]}return t[`path-length`]!==void 0&&zt(t,t[`path-length`],t[`path-spacing`],t[`path-offset`]),{attrs:t,style:n}}function Vt({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Ht(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Ut(e,t){return Vt(Ht(e.getBoundingClientRect(),t))}var Wt={animation:[`animate`,`variants`,`whileHover`,`whileTap`,`exit`,`whileInView`,`whileFocus`,`whileDrag`],exit:[`exit`],drag:[`drag`,`dragControls`],focus:[`whileFocus`],hover:[`whileHover`,`onHoverStart`,`onHoverEnd`],tap:[`whileTap`,`onTap`,`onTapStart`,`onTapCancel`],pan:[`onPan`,`onPanStart`,`onPanSessionStart`,`onPanEnd`],inView:[`whileInView`,`onViewportEnter`,`onViewportLeave`],layout:[`layout`,`layoutId`]},Gt={};for(let e in Wt)Gt[e]={isEnabled:t=>Wt[e].some(e=>!!t[e])};var Kt=()=>({translate:0,scale:1,origin:0,originPoint:0}),qt=()=>({x:Kt(),y:Kt()}),Jt=()=>({min:0,max:0}),B=()=>({x:Jt(),y:Jt()}),Yt=typeof window<`u`,Xt={current:null},Zt={current:!1};function Qt(){if(Zt.current=!0,Yt)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Xt.current=e.matches;e.addEventListener(`change`,t),t()}else Xt.current=!1}function $t(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function en(e){return typeof e==`string`||Array.isArray(e)}var tn=[`initial`,...[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`]];function nn(e){return $t(e.animate)||tn.some(t=>en(e[t]))}function rn(e){return!!(nn(e)||e.variants)}function an(e,t){e.indexOf(t)===-1&&e.push(t)}function on(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var sn=class{constructor(){this.subscriptions=[]}add(e){return an(this.subscriptions,e),()=>on(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};function cn(e,t){return t?1e3/t*e:0}var ln=30,un=e=>!isNaN(parseFloat(e)),dn={current:void 0},fn=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{var t;let n=j.now();if(this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&((t=this.events.change)==null||t.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=j.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=un(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new sn);let n=this.events[e].add(t);return e===`change`?()=>{n(),O.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;(e=this.events.change)==null||e.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return dn.current&&dn.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=j.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>ln)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,ln);return cn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;(e=this.dependents)==null||e.clear(),(t=this.events.destroy)==null||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function pn(e,t){return new fn(e,t)}function mn(e,t,n){for(let r in t){let i=t[r],a=n[r];if(z(i))e.addValue(r,i);else if(z(a))e.addValue(r,pn(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,pn(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}function hn(e){let t=[{},{}];return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function gn(e,t,n,r){if(typeof t==`function`){let[i,a]=hn(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=hn(r);t=t(n===void 0?e.custom:n,i,a)}return t}function _n(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var V=e=>e*180/Math.PI,vn=e=>bn(V(Math.atan2(e[1],e[0]))),yn={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:vn,rotateZ:vn,skewX:e=>V(Math.atan(e[1])),skewY:e=>V(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},bn=e=>(e%=360,e<0&&(e+=360),e),xn=vn,Sn=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Cn=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),wn={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Sn,scaleY:Cn,scale:e=>(Sn(e)+Cn(e))/2,rotateX:e=>bn(V(Math.atan2(e[6],e[5]))),rotateY:e=>bn(V(Math.atan2(-e[2],e[0]))),rotateZ:xn,rotate:xn,skewX:e=>V(Math.atan(e[4])),skewY:e=>V(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Tn(e){return e.includes(`scale`)?1:0}function En(e,t){if(!e||e===`none`)return Tn(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=wn,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=yn,i=t}if(!i)return Tn(t);let a=r[t],o=i[1].split(`,`).map(On);return typeof a==`function`?a(o):o[a]}var Dn=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return En(n,t)};function On(e){return parseFloat(e.trim())}var kn=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],An=(()=>new Set(kn))(),H=(e,t,n)=>n>t?t:n<e?e:n,jn={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Mn={...jn,transform:e=>H(0,1,e)},Nn={...jn,default:1},Pn=e=>e===jn||e===R,Fn=new Set([`x`,`y`,`z`]),In=kn.filter(e=>!Fn.has(e));function Ln(e){let t=[];return In.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith(`scale`)?1:0))}),t}var U={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>En(t,`x`),y:(e,{transform:t})=>En(t,`y`)};U.translateX=U.x,U.translateY=U.y;var W=new Set,Rn=!1,zn=!1,Bn=!1;function Vn(){if(zn){let e=Array.from(W).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=Ln(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{var r;(r=e.getValue(t))==null||r.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}zn=!1,Rn=!1,W.forEach(e=>e.complete(Bn)),W.clear()}function Hn(){W.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(zn=!0)})}function Un(){Bn=!0,Hn(),Vn(),Bn=!1}var Wn=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(W.add(this),Rn||(Rn=!0,O.read(Hn),O.resolveKeyframes(Vn))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}_n(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),W.delete(this)}cancel(){this.state===`scheduled`&&(W.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},Gn=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Kn=e=>/^0[^.\s]+$/u.test(e),qn=e=>Math.round(e*1e5)/1e5,Jn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Yn(e){return e==null}var Xn=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Zn=(e,t)=>n=>!!(typeof n==`string`&&Xn.test(n)&&n.startsWith(e)||t&&!Yn(n)&&Object.prototype.hasOwnProperty.call(n,t)),Qn=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(Jn);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},$n=e=>H(0,255,e),er={...jn,transform:e=>Math.round($n(e))},G={test:Zn(`rgb`,`red`),parse:Qn(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+er.transform(e)+`, `+er.transform(t)+`, `+er.transform(n)+`, `+qn(Mn.transform(r))+`)`};function tr(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}}var nr={test:Zn(`#`),parse:tr,transform:G.transform},rr={test:Zn(`hsl`,`hue`),parse:Qn(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+L.transform(qn(t))+`, `+L.transform(qn(n))+`, `+qn(Mn.transform(r))+`)`},K={test:e=>G.test(e)||nr.test(e)||rr.test(e),parse:e=>G.test(e)?G.parse(e):rr.test(e)?rr.parse(e):nr.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?G.transform(e):rr.transform(e),getAnimatableNone:e=>{let t=K.parse(e);return t.alpha=0,K.transform(t)}},ir=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function ar(e){return isNaN(e)&&typeof e==`string`&&(e.match(Jn)?.length||0)+(e.match(ir)?.length||0)>0}var or=`number`,sr=`color`,cr=`var`,lr=`var(`,ur="${}",dr=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function fr(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(dr,e=>(K.test(e)?(r.color.push(a),i.push(sr),n.push(K.parse(e))):e.startsWith(lr)?(r.var.push(a),i.push(cr),n.push(e)):(r.number.push(a),i.push(or),n.push(parseFloat(e))),++a,ur)).split(ur),indexes:r,types:i}}function pr(e){return fr(e).values}function mr(e){let{split:t,types:n}=fr(e),r=t.length;return e=>{let i=``;for(let a=0;a<r;a++)if(i+=t[a],e[a]!==void 0){let t=n[a];t===or?i+=qn(e[a]):t===sr?i+=K.transform(e[a]):i+=e[a]}return i}}var hr=e=>typeof e==`number`?0:K.test(e)?K.getAnimatableNone(e):e;function gr(e){let t=pr(e);return mr(e)(t.map(hr))}var q={test:ar,parse:pr,createTransformer:mr,getAnimatableNone:gr},_r={test:e=>e===`auto`,parse:e=>e},vr=e=>t=>t.test(e),yr=[jn,R,L,I,Nt,Mt,_r],br=e=>yr.find(vr(e)),xr=[...yr,K,q],Sr=e=>xr.find(vr(e)),Cr=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function wr(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(Jn)||[];if(!r)return e;let i=n.replace(r,``),a=Cr.has(t)?1:0;return r!==n&&(a*=100),t+`(`+a+i+`)`}var Tr=/\b([a-z-]*)\(.*?\)/gu,Er={...q,getAnimatableNone:e=>{let t=e.match(Tr);return t?t.map(wr).join(` `):e}},Dr={...jn,transform:Math.round},Or={borderWidth:R,borderTopWidth:R,borderRightWidth:R,borderBottomWidth:R,borderLeftWidth:R,borderRadius:R,radius:R,borderTopLeftRadius:R,borderTopRightRadius:R,borderBottomRightRadius:R,borderBottomLeftRadius:R,width:R,maxWidth:R,height:R,maxHeight:R,top:R,right:R,bottom:R,left:R,padding:R,paddingTop:R,paddingRight:R,paddingBottom:R,paddingLeft:R,margin:R,marginTop:R,marginRight:R,marginBottom:R,marginLeft:R,backgroundPositionX:R,backgroundPositionY:R,rotate:I,rotateX:I,rotateY:I,rotateZ:I,scale:Nn,scaleX:Nn,scaleY:Nn,scaleZ:Nn,skew:I,skewX:I,skewY:I,distance:R,translateX:R,translateY:R,translateZ:R,x:R,y:R,z:R,perspective:R,transformPerspective:R,opacity:Mn,originX:Pt,originY:Pt,originZ:R,zIndex:Dr,fillOpacity:Mn,strokeOpacity:Mn,numOctaves:Dr},kr={...Or,color:K,backgroundColor:K,outlineColor:K,fill:K,stroke:K,borderColor:K,borderTopColor:K,borderRightColor:K,borderBottomColor:K,borderLeftColor:K,filter:Er,WebkitFilter:Er},Ar=e=>kr[e];function jr(e,t){let n=Ar(e);return n!==Er&&(n=q),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var{schedule:Mr,cancel:Nr}=Pe(queueMicrotask,!0),Pr=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Fr=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:i,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Wn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify(`Update`,this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=j.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,O.render(this.render,!1,!0))};let{latestValues:s,renderState:c}=a;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=o,this.blockInitialAnimation=!!i,this.isControllingVariants=nn(t),this.isVariantNode=rn(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:l,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in u){let t=u[e];s[e]!==void 0&&z(t)&&t.set(s[e])}}mount(e){var t;this.current=e,F.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),Zt.current||Qt(),this.shouldReduceMotion=this.reducedMotionConfig===`never`?!1:this.reducedMotionConfig===`always`?!0:Xt.current,(t=this.parent)==null||t.addChild(this),this.update(this.props,this.presenceContext)}unmount(){var e;for(let t in this.projection&&this.projection.unmount(),k(this.notifyUpdate),k(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),(e=this.parent)==null||e.removeChild(this),this.events)this.events[t].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();let n=An.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&O.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i(),t.owner&&t.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Gt){let t=Gt[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):B()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Pr.length;t++){let n=Pr[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=mn(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=pn(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(Gn(n)||Kn(n))?n=parseFloat(n):!Sr(n)&&q.test(t)&&(n=jr(e,t)),this.setBaseTarget(e,z(n)?n.get():n)),z(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=gn(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!z(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new sn),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){Mr.render(this.render)}},Ir=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...kn]),Lr=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Rr(e){let t=Lr.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function zr(e,t,n=1){`${e}`;let[r,i]=Rr(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return Gn(e)?parseFloat(e):e}return He(i)?zr(i,t,n+1):i}function Br(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||Kn(e)}var Vr=new Set([`auto`,`none`,`0`]);function Hr(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Vr.has(t)&&fr(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=jr(n,i)}var Ur=class extends Wn{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),He(r))){let i=zr(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Ir.has(n)||e.length!==2)return;let[r,i]=e,a=br(r),o=br(i);if(a!==o)if(Pn(a)&&Pn(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else U[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||Br(e[t]))&&n.push(t);n.length&&Hr(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=U[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=U[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEach(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}},Wr=class extends Fr{constructor(){super(...arguments),this.KeyframeResolver=Ur}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;z(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Gr=(e,t)=>t&&typeof e==`number`?t.transform(e):e,Kr={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},qr=kn.length;function Jr(e,t,n){let r=``,i=!0;for(let a=0;a<qr;a++){let o=kn[a],s=e[o];if(s===void 0)continue;let c=!0;if(c=typeof s==`number`?s===(o.startsWith(`scale`)?1:0):parseFloat(s)===0,!c||n){let e=Gr(s,Or[o]);if(!c){i=!1;let t=Kr[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}return r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function Yr(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(An.has(e)){o=!0;continue}else if(Be(e)){i[e]=n;continue}else{let t=Gr(n,Or[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=Jr(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function Xr(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function Zr(e,{layout:t,layoutId:n}){return An.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!We[e]||e===`opacity`)}function Qr(e,t,n){let{style:r}=e,i={};for(let a in r)(z(r[a])||t.style&&z(t.style[a])||Zr(a,e)||n?.getValue(a)?.liveStyle!==void 0)&&(i[a]=r[a]);return i}function $r(e){return window.getComputedStyle(e)}var ei=class extends Wr{constructor(){super(...arguments),this.type=`html`,this.renderInstance=Xr}readValueFromInstance(e,t){if(An.has(t))return this.projection?.isProjecting?Tn(t):Dn(e,t);{let n=$r(e),r=(Be(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return Ut(e,t)}build(e,t,n){Yr(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Qr(e,t,n)}},ti=e=>e.replace(/([a-z])([A-Z])/gu,`$1-$2`).toLowerCase(),ni={offset:`stroke-dashoffset`,array:`stroke-dasharray`},ri={offset:`strokeDashoffset`,array:`strokeDasharray`};function ii(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ni:ri;e[a.offset]=R.transform(-r);let o=R.transform(t),s=R.transform(n);e[a.array]=`${o} ${s}`}function ai(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(Yr(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox),t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&ii(d,i,a,o,!1)}var oi=new Set([`baseFrequency`,`diffuseConstant`,`kernelMatrix`,`kernelUnitLength`,`keySplines`,`keyTimes`,`limitingConeAngle`,`markerHeight`,`markerWidth`,`numOctaves`,`targetX`,`targetY`,`surfaceScale`,`specularConstant`,`specularExponent`,`stdDeviation`,`tableValues`,`viewBox`,`gradientTransform`,`pathLength`,`startOffset`,`textLength`,`lengthAdjust`]),si=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function ci(e,t,n,r){for(let n in Xr(e,t,void 0,r),t.attrs)e.setAttribute(oi.has(n)?n:ti(n),t.attrs[n])}function li(e,t,n){let r=Qr(e,t,n);for(let n in e)if(z(e[n])||z(t[n])){let t=kn.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var ui=class extends Wr{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=B}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(An.has(t)){let e=Ar(t);return e&&e.default||0}return t=oi.has(t)?t:ti(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return li(e,t,n)}build(e,t,n){ai(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){ci(e,t,n,r)}mount(e){this.isSVGTag=si(e.tagName),super.mount(e)}};function di(e,t){return ot(e)?new ui(t):new ei(t)}function fi(e,t,n,r=0,i=1){let a=Array.from(e),o=a.indexOf(t),s=e.size,c=(s-1)*r,l=typeof n==`function`;return o===a.length-1&&(t.parent.enteringChildren=void 0),l?n(o,s):i===1?o*r:c-o*r}function pi(e){return typeof e==`object`&&!Array.isArray(e)}function mi(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function hi(e,t,n,r){return typeof e==`string`&&pi(t)?mi(e,n,r):e instanceof NodeList?Array.from(e):Array.isArray(e)?e:[e]}function gi(e,t,n){return e*(t+1)}function _i(e,t,n,r){return typeof t==`number`?t:t.startsWith(`-`)||t.startsWith(`+`)?Math.max(0,e+parseFloat(t)):t===`<`?n:t.startsWith(`<`)?Math.max(0,n+parseFloat(t.slice(1))):r.get(t)??e}var J=(e,t,n)=>e+(t-e)*n,vi=(e,t,n)=>{let r=t-e;return((n-e)%r+r)%r+e},yi=e=>Array.isArray(e)&&typeof e[0]!=`number`;function bi(e,t){return yi(e)?e[vi(0,e.length,t)]:e}function xi(e,t,n){for(let r=0;r<e.length;r++){let i=e[r];i.at>t&&i.at<n&&(on(e,i),r--)}}function Si(e,t,n,r,i,a){xi(e,i,a);for(let o=0;o<t.length;o++)e.push({value:t[o],at:J(i,a,r[o]),easing:bi(n,o)})}function Ci(e,t){for(let n=0;n<e.length;n++)e[n]=e[n]/(t+1)}function wi(e,t){return e.at===t.at?e.value===null?1:t.value===null?-1:0:e.at-t.at}var Ti=(e,t,n)=>{let r=t-e;return r===0?1:(n-e)/r};function Ei(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=Ti(0,t,r);e.push(J(n,1,i))}}function Di(e){let t=[0];return Ei(t,e.length-1),t}var Oi=2e4;function ki(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function Ai(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(ki(r),Oi);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:N(i)}}function ji(e){return typeof e==`function`&&`applyToOptions`in e}var Mi=`easeInOut`;function Ni(e,{defaultTransition:t={},...n}={},r,i){let a=t.duration||.3,o=new Map,s=new Map,c={},l=new Map,u=0,d=0,f=0;for(let n=0;n<e.length;n++){let o=e[n];if(typeof o==`string`){l.set(o,d);continue}else if(!Array.isArray(o)){l.set(o.name,_i(d,o.at,u,l));continue}let[p,m,h={}]=o;h.at!==void 0&&(d=_i(d,h.at,u,l));let g=0,_=(e,n,r,o=0,s=0)=>{let c=Ii(e),{delay:l=0,times:u=Di(c),type:p=`keyframes`,repeat:m,repeatType:h,repeatDelay:_=0,...v}=n,{ease:y=t.ease||`easeOut`,duration:b}=n,x=typeof l==`function`?l(o,s):l,S=c.length,ee=ji(p)?p:i?.[p||`keyframes`];if(S<=2&&ee){let e=100;if(S===2&&zi(c)){let t=c[1]-c[0];e=Math.abs(t)}let t={...v};b!==void 0&&(t.duration=M(b));let n=Ai(t,e,ee);y=n.ease,b=n.duration}b??=a;let te=d+x;u.length===1&&u[0]===0&&(u[1]=1);let ne=u.length-c.length;if(ne>0&&Ei(u,ne),c.length===1&&c.unshift(null),m){b=gi(b,m);let e=[...c],t=[...u];y=Array.isArray(y)?[...y]:[y];let n=[...y];for(let r=0;r<m;r++){c.push(...e);for(let i=0;i<e.length;i++)u.push(t[i]+(r+1)),y.push(i===0?`linear`:bi(n,i-1))}Ci(u,m)}let re=te+b;Si(r,c,y,u,te,re),g=Math.max(x+b,g),f=Math.max(re,f)};if(z(p)){let e=Pi(p,s);_(m,h,Fi(`default`,e))}else{let e=hi(p,m,r,c),t=e.length;for(let n=0;n<t;n++){m=m,h=h;let r=e[n],i=Pi(r,s);for(let e in m)_(m[e],Li(h,e),Fi(e,i),n,t)}}u=d,d+=g}return s.forEach((e,r)=>{for(let i in e){let a=e[i];a.sort(wi);let s=[],c=[],l=[];for(let e=0;e<a.length;e++){let{at:t,value:n,easing:r}=a[e];s.push(n),c.push(Ti(0,f,t)),l.push(r||`easeOut`)}c[0]!==0&&(c.unshift(0),s.unshift(s[0]),l.unshift(Mi)),c[c.length-1]!==1&&(c.push(1),s.push(null)),o.has(r)||o.set(r,{keyframes:{},transition:{}});let u=o.get(r);u.keyframes[i]=s,u.transition[i]={...t,duration:f,ease:l,times:c,...n}}}),o}function Pi(e,t){return!t.has(e)&&t.set(e,{}),t.get(e)}function Fi(e,t){return t[e]||(t[e]=[]),t[e]}function Ii(e){return Array.isArray(e)?e:[e]}function Li(e,t){return e&&e[t]?{...e,...e[t]}:{...e}}var Ri=e=>typeof e==`number`,zi=e=>e.every(Ri),Bi=e=>Array.isArray(e);function Vi(e,t,n){let r=e.getProps();return gn(r,t,r.custom,e)}function Hi(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,pn(n))}function Ui(e){return Bi(e)?e[e.length-1]||0:e}function Wi(e,t){let{transitionEnd:n={},transition:r={},...i}=Vi(e,t)||{};for(let t in i={...i,...n},i)Hi(e,t,Ui(i[t]))}function Gi(e){return!!(z(e)&&e.add)}function Ki(e,t){let n=e.getValue(`willChange`);if(Gi(n))return n.add(t);if(!n&&E.WillChange){let n=new E.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}var qi=`data-`+ti(`framerAppearId`);function Ji(e){return e.props[qi]}var Yi=e=>e!==null;function Xi(e,{repeat:t,repeatType:n=`loop`},r){let i=e.filter(Yi),a=t&&n!==`loop`&&t%2==1?0:i.length-1;return!a||r===void 0?i[a]:r}var Zi={type:`spring`,stiffness:500,damping:25,restSpeed:10},Qi=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),$i={type:`keyframes`,duration:.8},ea={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},ta=(e,{keyframes:t})=>t.length>2?$i:An.has(e)?e.startsWith(`scale`)?Qi(t[1]):Zi:ea;function na({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:i,repeat:a,repeatType:o,repeatDelay:s,from:c,elapsed:l,...u}){return!!Object.keys(u).length}function ra(e,t){return e?.[t]??e?.default??e}function ia(e){e.duration=0,e.type}var Y={layout:0,mainThread:0,waapi:0};function aa(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function oa({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=aa(s,r,e+1/3),a=aa(s,r,e),o=aa(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function sa(e,t){return n=>n>0?t:e}var ca=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},la=[nr,G,rr],ua=e=>la.find(t=>t.test(e));function da(e){let t=ua(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===rr&&(n=oa(n)),n}var fa=(e,t)=>{let n=da(e),r=da(t);if(!n||!r)return sa(e,t);let i={...n};return e=>(i.red=ca(n.red,r.red,e),i.green=ca(n.green,r.green,e),i.blue=ca(n.blue,r.blue,e),i.alpha=J(n.alpha,r.alpha,e),G.transform(i))},pa=new Set([`none`,`hidden`]);function ma(e,t){return pa.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}var ha=(e,t)=>n=>t(e(n)),ga=(...e)=>e.reduce(ha);function _a(e,t){return n=>J(e,t,n)}function va(e){return typeof e==`number`?_a:typeof e==`string`?He(e)?sa:K.test(e)?fa:Sa:Array.isArray(e)?ya:typeof e==`object`?K.test(e)?fa:ba:sa}function ya(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>va(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function ba(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=va(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function xa(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Sa=(e,t)=>{let n=q.createTransformer(t),r=fr(e),i=fr(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?pa.has(e)&&!i.values.length||pa.has(t)&&!r.values.length?ma(e,t):ga(ya(xa(r,i),i.values),n):(`${e}${t}`,sa(e,t))};function Ca(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`number`?J(e,t,n):va(e)(e,t)}var wa=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>O.update(t,e),stop:()=>k(t),now:()=>A.isProcessing?A.timestamp:j.now()}},Ta=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},Ea=5;function Da(e,t,n){let r=Math.max(t-Ea,0);return cn(n-e(r),t-r)}var X={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Oa=.001;function ka({duration:e=X.duration,bounce:t=X.bounce,velocity:n=X.velocity,mass:r=X.mass}){let i,a;X.maxDuration;let o=1-t;o=H(X.minDamping,X.maxDamping,o),e=H(X.minDuration,X.maxDuration,N(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=Ma(t,o),c=Math.exp(-i);return Oa-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=Ma(t**2,o);return(-i(t)+Oa>0?-1:1)*((a-s)*c)/l}):(i=t=>{let r=Math.exp(-t*e),i=(t-n)*e+1;return-Oa+r*i},a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=ja(i,a,s);if(e=M(e),isNaN(c))return{stiffness:X.stiffness,damping:X.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var Aa=12;function ja(e,t,n){let r=n;for(let n=1;n<Aa;n++)r-=e(r)/t(r);return r}function Ma(e,t){return e*Math.sqrt(1-t*t)}var Na=[`duration`,`bounce`],Pa=[`stiffness`,`damping`,`mass`];function Fa(e,t){return t.some(t=>e[t]!==void 0)}function Ia(e){let t={velocity:X.velocity,stiffness:X.stiffness,damping:X.damping,mass:X.mass,isResolvedFromDuration:!1,...e};if(!Fa(e,Pa)&&Fa(e,Na))if(e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*H(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:X.mass,stiffness:i,damping:a}}else{let n=ka(e);t={...t,...n,mass:X.mass},t.isResolvedFromDuration=!0}return t}function La(e=X.visualDuration,t=X.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=Ia({...n,velocity:-N(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=N(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?X.restSpeed.granular:X.restSpeed.default,i||=v?X.restDelta.granular:X.restDelta.default;let y;if(h<1){let e=Ma(_,h);y=t=>o-Math.exp(-h*_*t)*((m+h*_*g)/e*Math.sin(e*t)+g*Math.cos(e*t))}else if(h===1)y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e}}let b={calculatedDuration:p&&d||null,next:e=>{let t=y(e);if(p)s.done=e>=d;else{let n=e===0?m:0;h<1&&(n=e===0?M(m):Da(y,e,t));let a=Math.abs(n)<=r,c=Math.abs(o-t)<=i;s.done=a&&c}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(ki(b),Oi),t=Ta(t=>b.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return b}La.applyToOptions=e=>{let t=Ai(e,100,La);return e.ease=t.ease,e.duration=M(t.duration),e.type=`keyframes`,e};function Ra({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,ee=e=>{p(f.value)&&(x=e,S=La({keyframes:[f.value,m(f.value)],velocity:Da(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return ee(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),ee(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function za(e,t,n){let r=[],i=n||E.mix||Ca,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=ga(Array.isArray(t)?t[n]||D:t,a)),r.push(a)}return r}function Ba(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=za(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=Ti(e[r],e[r+1],n);return s[r](i)};return n?t=>l(H(e[0],e[a-1],t)):l}function Va(e,t){return e.map(e=>e*t)}var Ha=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Ua=1e-7,Wa=12;function Ga(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=Ha(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>Ua&&++s<Wa);return o}function Ka(e,t,n,r){if(e===t&&n===r)return D;let i=t=>Ga(t,0,1,e,n);return e=>e===0||e===1?e:Ha(i(e),t,r)}var qa=Ka(.42,0,1,1),Ja=Ka(0,0,.58,1),Ya=Ka(.42,0,.58,1),Xa=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Za=e=>t=>1-e(1-t),Qa=Ka(.33,1.53,.69,.99),$a=Za(Qa),eo=Xa($a),to=e=>(e*=2)<1?.5*$a(e):.5*(2-2**(-10*(e-1))),no=e=>1-Math.sin(Math.acos(e)),ro=Za(no),io=Xa(no),ao=e=>Array.isArray(e)&&typeof e[0]==`number`,oo={linear:D,easeIn:qa,easeInOut:Ya,easeOut:Ja,circIn:no,circInOut:io,circOut:ro,backIn:$a,backInOut:eo,backOut:Qa,anticipate:to},so=e=>typeof e==`string`,co=e=>{if(ao(e)){e.length;let[t,n,r,i]=e;return Ka(t,n,r,i)}else if(so(e))return oo[e],`${e}`,oo[e];return e};function lo(e,t){return e.map(()=>t||Ya).splice(0,e.length-1)}function uo({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=yi(r)?r.map(co):co(r),a={done:!1,value:t[0]},o=Ba(Va(n&&n.length===t.length?n:Di(t),e),t,{ease:Array.isArray(i)?i:lo(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var fo=e=>e!==null;function po(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(fo),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var mo={decay:Ra,inertia:Ra,tween:uo,keyframes:uo,spring:La};function ho(e){typeof e.type==`string`&&(e.type=mo[e.type])}var go=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},_o=e=>e/100,vo=class extends go{constructor(e){super(),this.state=`idle`,this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{var e,t;let{motionValue:n}=this.options;n&&n.updatedAt!==j.now()&&this.tick(j.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),(t=(e=this.options).onStop)==null||t.call(e))},Y.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;ho(e);let{type:t=uo,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||uo;s!==uo&&typeof o[0]!=`number`&&(this.mixKeyframes=ga(_o,Ca(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=ki(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=H(0,1,n)*o}let b=_?{done:!1,value:l[0]}:y.next(v);i&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==Ra&&(b.value=po(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return N(this.calculatedDuration)}get time(){return N(this.currentTime)}set time(e){var t;e=M(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),(t=this.driver)==null||t.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(j.now());let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=N(this.currentTime))}play(){var e,t;if(this.isStopped)return;let{driver:n=wa,startTime:r}=this.options;this.driver||=n(e=>this.tick(e)),(t=(e=this.options).onPlay)==null||t.call(e);let i=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=i):this.holdTime===null?this.startTime||=r??i:this.startTime=i-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(j.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&this.play(),this.state=`finished`,this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state=`finished`,(t=(e=this.options).onComplete)==null||t.call(e)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),(t=(e=this.options).onCancel)==null||t.call(e)}teardown(){this.state=`idle`,this.stopDriver(),this.startTime=this.holdTime=null,Y.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),(t=this.driver)==null||t.stop(),e.observe(this)}},yo=e=>e.startsWith(`--`);function bo(e,t,n){yo(t)?e.style.setProperty(t,n):e.style[t]=n}function xo(e){let t;return()=>(t===void 0&&(t=e()),t)}var So=xo(()=>window.ScrollTimeline!==void 0),Co={};function wo(e,t){let n=xo(e);return()=>Co[t]??n()}var To=wo(()=>{try{document.createElement(`div`).animate({opacity:0},{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),Eo=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Do={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:Eo([0,.65,.55,1]),circOut:Eo([.55,0,1,.45]),backIn:Eo([.31,.01,.66,-.59]),backOut:Eo([.33,1.53,.69,.99])};function Oo(e,t){if(e)return typeof e==`function`?To()?Ta(e,t):`ease-out`:ao(e)?Eo(e):Array.isArray(e)?e.map(e=>Oo(e,t)||Do.easeOut):Do[e]}function ko(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=Oo(s,i);Array.isArray(d)&&(u.easing=d),T.value&&Y.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return T.value&&p.finished.finally(()=>{Y.waapi--}),p}function Ao({type:e,...t}){return ji(e)&&To()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var jo=class extends go{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=Ao(e);this.animation=ko(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=po(r,this.options,o,this.speed);this.updateMotionValue?this.updateMotionValue(e):bo(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;(t=(e=this.animation).finish)==null||t.call(e)}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e,t;this.isPseudoElement||(t=(e=this.animation).commitStyles)==null||t.call(e)}get duration(){var e;let t=((e=this.animation.effect)?.getComputedTiming)?.call(e).duration||0;return N(Number(t))}get time(){return N(Number(this.animation.currentTime)||0)}set time(e){this.finishedTime=null,this.animation.currentTime=M(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`finished`}get startTime(){return Number(this.animation.startTime)}set startTime(e){this.animation.startTime=e}attachTimeline({timeline:e,observe:t}){var n;return this.allowFlatten&&((n=this.animation.effect)==null||n.updateTiming({easing:`linear`})),this.animation.onfinish=null,e&&So()?(this.animation.timeline=e,D):t(this)}},Mo={anticipate:to,backInOut:eo,circInOut:io};function No(e){return e in Mo}function Po(e){typeof e.ease==`string`&&No(e.ease)&&(e.ease=Mo[e.ease])}var Fo=10,Io=class extends jo{constructor(e){Po(e),ho(e),super(e),e.startTime&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new vo({...a,autoplay:!1}),s=M(this.finishedTime??this.time);t.setWithVelocity(o.sample(s-Fo).value,o.sample(s).value,Fo),o.stop()}},Lo=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(q.test(e)||e===`0`)&&!e.startsWith(`url(`));function Ro(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function zo(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Lo(i,t),s=Lo(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Ro(e)||(n===`spring`||ji(n))&&r}var Bo=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Vo=xo(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function Ho(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:s,transformTemplate:c}=t.owner.getProps();return Vo()&&n&&Bo.has(n)&&(n!==`transform`||!c)&&!s&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Uo=40,Wo=class extends go{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){var d;super(),this.stop=()=>{var e,t;this._animation&&(this._animation.stop(),(e=this.stopTimeline)==null||e.call(this)),(t=this.keyframeResolver)==null||t.cancel()},this.createdAt=j.now();let f={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u};this.keyframeResolver=new(l?.KeyframeResolver||Wn)(o,(e,t,n)=>this.onKeyframesResolved(e,t,f,!n),s,c,l),(d=this.keyframeResolver)==null||d.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=j.now(),zo(e,i,a,o)||((E.instantAnimations||!s)&&l?.(po(e,n,t)),e[0]=e[e.length-1],ia(n),n.repeat=0);let u={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Uo?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},d=!c&&Ho(u)?new Io({...u,element:u.motionValue.owner.current}):new vo(u);d.finished.then(()=>this.notifyFinished()).catch(D),this.pendingTimeline&&=(this.stopTimeline=d.attachTimeline(this.pendingTimeline),void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){var e;return this._animation||((e=this.keyframeResolver)==null||e.resume(),Un()),this._animation}get duration(){return this.animation.duration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),(e=this.keyframeResolver)==null||e.cancel()}},Go=(e,t,n,r={},i,a)=>o=>{let s=ra(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=M(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};na(s)||Object.assign(u,ta(e,u)),u.duration&&=M(u.duration),u.repeatDelay&&=M(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(ia(u),u.delay===0&&(d=!0)),(E.instantAnimations||E.skipAnimations)&&(d=!0,ia(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Xi(u.keyframes,s);if(e!==void 0){O.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new vo(u):new Wo(u)};function Ko({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function qo(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a=e.getDefaultTransition(),transitionEnd:o,...s}=t;r&&(a=r);let c=[],l=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||l&&Ko(l,t))continue;let o={delay:n,...ra(a||{},t)},u=r.get();if(u!==void 0&&!r.isAnimating&&!Array.isArray(i)&&i===u&&!o.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let n=Ji(e);if(n){let e=window.MotionHandoffAnimation(n,t,O);e!==null&&(o.startTime=e,d=!0)}}Ki(e,t),r.start(Go(t,r,i,e.shouldReduceMotion&&Ir.has(t)?{type:!1}:o,e,d));let f=r.animation;f&&c.push(f)}return o&&Promise.all(c).then(()=>{O.update(()=>{o&&Wi(e,o)})}),c}function Jo(e,t){return e in t}var Yo=class extends Fr{constructor(){super(...arguments),this.type=`object`}readValueFromInstance(e,t){if(Jo(t,e)){let n=e[t];if(typeof n==`string`||typeof n==`number`)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return B()}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}};function Xo(e){return typeof e==`object`&&!!e}function Zo(e){return Xo(e)&&`ownerSVGElement`in e}function Qo(e){return Zo(e)&&e.tagName===`svg`}function $o(e){let t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=Zo(e)&&!Qo(e)?new ui(t):new ei(t);n.mount(e),F.set(e,n)}function es(e){let t=new Yo({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),F.set(e,t)}function ts(e,t,n){let r=z(e)?e:pn(e);return r.start(Go(``,r,t,n)),r.animation}function ns(e,t){return z(e)||typeof e==`number`||typeof e==`string`&&!pi(t)}function rs(e,t,n,r){let i=[];if(ns(e,t))i.push(ts(e,pi(t)&&t.default||t,n&&(n.default||n)));else{let a=hi(e,t,r),o=a.length;for(let e=0;e<o;e++){let r=a[e],s=r instanceof Element?$o:es;F.has(r)||s(r);let c=F.get(r),l={...n};`delay`in l&&typeof l.delay==`function`&&(l.delay=l.delay(e,o)),i.push(...qo(c,{...t,transition:l},{}))}}return i}function is(e,t,n){let r=[];return Ni(e,t,n,{spring:La}).forEach(({keyframes:e,transition:t},n)=>{r.push(...rs(n,e,t))}),r}var as=class{constructor(e){this.stop=()=>this.runAll(`stop`),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e){let t=this.animations.map(t=>t.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll(`time`)}set time(e){this.setAll(`time`,e)}get speed(){return this.getAll(`speed`)}set speed(e){this.setAll(`speed`,e)}get state(){return this.getAll(`state`)}get startTime(){return this.getAll(`startTime`)}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll(`play`)}pause(){this.runAll(`pause`)}cancel(){this.runAll(`cancel`)}complete(){this.runAll(`complete`)}},os=class extends as{then(e,t){return this.finished.finally(e).then(()=>{})}};function ss(e){return Array.isArray(e)&&e.some(Array.isArray)}function cs(e){function t(t,n,r){let i=[];i=ss(t)?is(t,n,e):rs(t,n,r,e);let a=new os(i);return e&&(e.animations.push(a),a.finished.then(()=>{on(e.animations,a)})),a}return t}var ls=cs(),us=[`initial`,`animate`,`whileInView`,`whileHover`,`whilePress`,`whileDrag`,`whileFocus`,`exit`],ds=class extends P{constructor(e){var t;super(e),this.animateUpdates=({controlActiveState:e,directAnimate:t,directTransition:n,controlDelay:r=0,isExit:i}={})=>{let{reducedMotion:a}=this.state.options.motionConfig;this.state.visualElement.shouldReduceMotion=a===`always`||a===`user`&&!!Xt.current;let o=this.state.target;this.state.target={...this.state.baseTarget};let s={};s=this.resolveStateAnimation({controlActiveState:e,directAnimate:t,directTransition:n}),this.state.finalTransition=s;let c=this.createAnimationFactories(o,s,r),{getChildAnimations:l}=this.setupChildAnimations(s,this.state.activeStates);return this.executeAnimations({factories:c,getChildAnimations:l,transition:s,controlActiveState:e,isExit:i})},this.state.visualElement=di(this.state.options.as,{presenceContext:null,parent:this.state.parent?.visualElement,props:{...this.state.options,whileTap:this.state.options.whilePress},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{...this.state.baseTarget}},reducedMotionConfig:this.state.options.motionConfig.reducedMotion}),(t=this.state.visualElement.parent)==null||t.addChild(this.state.visualElement),this.state.animateUpdates=this.animateUpdates,this.state.isMounted()&&this.state.startAnimation()}updateAnimationControlsSubscription(){let{animate:e}=this.state.options;Ze(e)&&(this.unmountControls=e.subscribe(this.state))}executeAnimations({factories:e,getChildAnimations:t,transition:n,controlActiveState:r,isExit:i=!1}){let a=()=>Promise.all(e.map(e=>e()).filter(Boolean)),o={...this.state.target},s=this.state.element,c=e=>{var t,n;s.dispatchEvent(_t(`motionstart`,o)),(n=(t=this.state.options).onAnimationStart)==null||n.call(t,o),e.then(()=>{var e,t;s.dispatchEvent(_t(`motioncomplete`,o,i)),(t=(e=this.state.options).onAnimationComplete)==null||t.call(e,o)}).catch(D)},l=()=>{let e=n?.when?(n.when===`beforeChildren`?a():t()).then(()=>n.when===`beforeChildren`?t():a()):Promise.all([a(),t()]);return c(e),e};return r?l:l()}setupChildAnimations(e,t){let n=this.state.visualElement;if(!n.variantChildren?.size||!t)return{getChildAnimations:()=>Promise.resolve()};let{staggerChildren:r=0,staggerDirection:i=1,delayChildren:a=0}=e||{},o=n.variantChildren.size,s=(o-1)*r,c=typeof a==`function`,l=c?e=>a(e,o):i===1?(e=0)=>e*r:(e=0)=>s-e*r,u=Array.from(n.variantChildren).map((e,n)=>e.state.animateUpdates({controlActiveState:t,controlDelay:(c?0:a)+l(n)}));return{getChildAnimations:()=>Promise.all(u.map(e=>e()))}}createAnimationFactories(e,t,n){let r=[];return Object.keys(this.state.target).forEach(i=>{var a;if(!$e(e[i],this.state.target[i]))return;(a=this.state.baseTarget)[i]??(a[i]=Ft.get(this.state.element,i));let o=this.state.target[i]===`none`&&fe(At[i])?At[i]:this.state.target[i];r.push(()=>ls(this.state.element,{[i]:o},{...t?.[i]||t,delay:(t?.[i]?.delay||t?.delay||0)+n}))}),r}resolveStateAnimation({controlActiveState:e,directAnimate:t,directTransition:n}){let r=this.state.options.transition,i={},{variants:a,custom:o,transition:s,animatePresenceContext:c}=this.state.options,l=o??c?.custom;return this.state.activeStates={...this.state.activeStates,...e},us.forEach(e=>{if(!this.state.activeStates[e]||Ze(this.state.options[e]))return;let t=this.state.options[e],n=fe(t)?Qe(t,a,l):void 0;if(this.state.visualElement.isVariantNode){let t=Qe(this.state.context[e],a,l);n=t?Object.assign(t||{},n):Object.assign(i,n)}n&&(e!==`initial`&&(r=n.transition||this.state.options.transition||{}),i=Object.assign(i,n))}),t&&(i=Qe(t,a,l),r=i.transition||n||s),Object.entries(i).forEach(([e,t])=>{e!==`transition`&&(this.state.target[e]=t)}),r}mount(){let{element:e}=this.state;mt.set(e,this.state),F.get(e)||(this.state.visualElement.mount(e),F.set(e,this.state.visualElement)),this.state.visualElement.state=this.state,this.updateAnimationControlsSubscription();let t=this.state.visualElement,n=t.parent;if(t.enteringChildren=void 0,this.state.parent?.isMounted()&&!t.isControllingVariants&&(n?.enteringChildren)?.has(t)){let{delayChildren:e}=this.state.parent.finalTransition||{};this.animateUpdates({controlActiveState:this.state.parent.activeStates,controlDelay:fi(n.enteringChildren,t,e)})()}}update(){let{animate:e}=this.state.options,{animate:t}=this.state.visualElement.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;(e=this.unmountControls)==null||e.call(this)}};function fs(e){return Xo(e)&&`offsetHeight`in e}var ps={x:!1,y:!1};function ms(){return ps.x||ps.y}var hs=(e,t)=>t?e===t?!0:hs(e,t.parentElement):!1,gs=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1;function _s(e,t){let n=mi(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}var vs=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function ys(e){return vs.has(e.tagName)||e.tabIndex!==-1}var bs=new WeakSet;function xs(e){return t=>{t.key===`Enter`&&e(t)}}function Ss(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var Cs=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=xs(()=>{if(bs.has(n))return;Ss(n,`down`);let e=xs(()=>{Ss(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>Ss(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function ws(e){return gs(e)&&!ms()}function Ts(e,t,n={}){let[r,i,a]=_s(e,n),o=e=>{let r=e.currentTarget;if(!ws(e))return;bs.add(r);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),bs.has(r)&&bs.delete(r),ws(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||hs(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),fs(e)&&(e.addEventListener(`focus`,e=>Cs(e,i)),!ys(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function Es(e){return{point:{x:e.pageX,y:e.pageY}}}function Ds(e,t,n){let r=e.options;r.whilePress&&e.setActive(`whilePress`,n===`Start`);let i=r[`onPress${n===`End`?``:n}`];i&&O.postRender(()=>i(t,Es(t)))}var Os=class extends P{isActive(){let{whilePress:e,onPress:t,onPressCancel:n,onPressStart:r}=this.state.options;return!!(e||t||n||r)}constructor(e){super(e)}mount(){this.register()}update(){let{whilePress:e,onPress:t,onPressCancel:n,onPressStart:r}=this.state.options;e||t||n||r||this.register()}register(){let e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=Ts(e,(e,t)=>(Ds(this.state,t,`Start`),(e,{success:t})=>Ds(this.state,e,t?`End`:`Cancel`)),{useGlobalTarget:this.state.options.globalPressTarget}))}};function ks(e){return!(e.pointerType===`touch`||ms())}function As(e,t,n={}){let[r,i,a]=_s(e,n),o=e=>{if(!ks(e))return;let{target:n}=e,r=t(n,e);if(typeof r!=`function`||!n)return;let a=e=>{ks(e)&&(r(e),n.removeEventListener(`pointerleave`,a))};n.addEventListener(`pointerleave`,a,i)};return r.forEach(e=>{e.addEventListener(`pointerenter`,o,i)}),a}function js(e,t,n){let r=e.options;r.whileHover&&e.setActive(`whileHover`,n===`Start`);let i=r[`onHover${n}`];i&&O.postRender(()=>i(t,Es(t)))}var Ms=class extends P{isActive(){let{whileHover:e,onHoverStart:t,onHoverEnd:n}=this.state.options;return!!(e||t||n)}constructor(e){super(e)}mount(){this.register()}update(){let{whileHover:e,onHoverStart:t,onHoverEnd:n}=this.state.visualElement.prevProps;e||t||n||this.register()}register(){let e=this.state.element;!e||!this.isActive()||(this.unmount(),this.unmount=As(e,(e,t)=>(js(this.state,t,`Start`),e=>{js(this.state,e,`End`)})))}},Ns={some:0,all:1};function Ps(e,t,{root:n,margin:r,amount:i=`some`}={}){let a=mi(e),o=new WeakMap,s=new IntersectionObserver(e=>{e.forEach(e=>{let n=o.get(e.target);if(e.isIntersecting!==!!n)if(e.isIntersecting){let n=t(e.target,e);typeof n==`function`?o.set(e.target,n):s.unobserve(e.target)}else typeof n==`function`&&(n(e),o.delete(e.target))})},{root:n,rootMargin:r,threshold:typeof i==`number`?i:Ns[i]});return a.forEach(e=>s.observe(e)),()=>s.disconnect()}function Fs(e,t,n){let r=e.options;r.whileInView&&e.setActive(`whileInView`,n===`Enter`);let i=r[`onViewport${n}`];i&&O.postRender(()=>i(t))}var Is=class extends P{isActive(){let{whileInView:e,onViewportEnter:t,onViewportLeave:n}=this.state.options;return!!(e||t||n)}constructor(e){super(e)}startObserver(){let e=this.state.element;if(!e||!this.isActive())return;this.unmount();let{once:t,...n}=this.state.options.inViewOptions||{};this.unmount=Ps(e,(e,n)=>{if(Fs(this.state,n,`Enter`),!t)return e=>{Fs(this.state,n,`Leave`)}},n)}mount(){this.startObserver()}update(){let{props:e,prevProps:t}=this.state.visualElement;[`amount`,`margin`,`root`].some(Ls(e,t))&&this.startObserver()}};function Ls({inViewOptions:e={}},{inViewOptions:t={}}={}){return n=>e[n]!==t[n]}function Rs(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var zs=class extends P{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.state.element.matches(`:focus-visible`)}catch{e=!0}e&&(this.state.setActive(`whileFocus`,!0),this.isActive=!0)}onBlur(){this.isActive&&=(this.state.setActive(`whileFocus`,!1),!1)}mount(){this.unmount=ga(Rs(this.state.element,`focus`,()=>this.onFocus()),Rs(this.state.element,`blur`,()=>this.onBlur()))}},Bs=(e,t)=>e.depth-t.depth,Vs=class{constructor(){this.children=[],this.isDirty=!1}add(e){an(this.children,e),this.isDirty=!0}remove(e){on(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Bs),this.isDirty=!1,this.children.forEach(e)}};function Hs(e){return z(e)?e.get():e}var Us=[`TopLeft`,`TopRight`,`BottomLeft`,`BottomRight`],Ws=Us.length,Gs=e=>typeof e==`string`?parseFloat(e):e,Ks=e=>typeof e==`number`||R.test(e);function qs(e,t,n,r,i,a){i?(e.opacity=J(0,n.opacity??1,Ys(r)),e.opacityExit=J(t.opacity??1,0,Xs(r))):a&&(e.opacity=J(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ws;i++){let a=`border${Us[i]}Radius`,o=Js(t,a),s=Js(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Ks(o)===Ks(s)?(e[a]=Math.max(J(Gs(o),Gs(s),r),0),(L.test(s)||L.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=J(t.rotate||0,n.rotate||0,r))}function Js(e,t){return e[t]===void 0?e.borderRadius:e[t]}var Ys=Zs(0,.5,ro),Xs=Zs(.5,.95,D);function Zs(e,t,n){return r=>r<e?0:r>t?1:n(Ti(e,t,r))}function Qs(e,t){e.min=t.min,e.max=t.max}function Z(e,t){Qs(e.x,t.x),Qs(e.y,t.y)}function $s(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function ec(e){return e===void 0||e===1}function tc({scale:e,scaleX:t,scaleY:n}){return!ec(e)||!ec(t)||!ec(n)}function nc(e){return tc(e)||rc(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rc(e){return ic(e.x)||ic(e.y)}function ic(e){return e&&e!==`0%`}function ac(e,t,n){return n+t*(e-n)}function oc(e,t,n,r,i){return i!==void 0&&(e=ac(e,i,r)),ac(e,n,r)+t}function sc(e,t=0,n=1,r,i){e.min=oc(e.min,t,n,r,i),e.max=oc(e.max,t,n,r,i)}function cc(e,{x:t,y:n}){sc(e.x,t.translate,t.scale,t.originPoint),sc(e.y,n.translate,n.scale,n.originPoint)}var lc=.999999999999,uc=1.0000000000001;function dc(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&mc(e,{x:-a.scroll.offset.x,y:-a.scroll.offset.y}),o&&(t.x*=o.x.scale,t.y*=o.y.scale,cc(e,o)),r&&nc(a.latestValues)&&mc(e,a.latestValues))}t.x<uc&&t.x>lc&&(t.x=1),t.y<uc&&t.y>lc&&(t.y=1)}function fc(e,t){e.min+=t,e.max+=t}function pc(e,t,n,r,i=.5){sc(e,t,n,J(e.min,e.max,i),r)}function mc(e,t){pc(e.x,t.x,t.scaleX,t.scale,t.originX),pc(e.y,t.y,t.scaleY,t.scale,t.originY)}var hc=1e-4,gc=1-hc,_c=1+hc,vc=.01,yc=0-vc,bc=0+vc;function Q(e){return e.max-e.min}function xc(e,t,n){return Math.abs(e-t)<=n}function Sc(e,t,n,r=.5){e.origin=r,e.originPoint=J(t.min,t.max,e.origin),e.scale=Q(n)/Q(t),e.translate=J(n.min,n.max,e.origin)-e.originPoint,(e.scale>=gc&&e.scale<=_c||isNaN(e.scale))&&(e.scale=1),(e.translate>=yc&&e.translate<=bc||isNaN(e.translate))&&(e.translate=0)}function Cc(e,t,n,r){Sc(e.x,t.x,n.x,r?r.originX:void 0),Sc(e.y,t.y,n.y,r?r.originY:void 0)}function wc(e,t,n){e.min=n.min+t.min,e.max=e.min+Q(t)}function Tc(e,t,n){wc(e.x,t.x,n.x),wc(e.y,t.y,n.y)}function Ec(e,t,n){e.min=t.min-n.min,e.max=e.min+Q(t)}function Dc(e,t,n){Ec(e.x,t.x,n.x),Ec(e.y,t.y,n.y)}function Oc(e,t,n,r,i){return e-=t,e=ac(e,1/n,r),i!==void 0&&(e=ac(e,1/i,r)),e}function kc(e,t=0,n=1,r=.5,i,a=e,o=e){if(L.test(t)&&(t=parseFloat(t),t=J(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=J(a.min,a.max,r);e===a&&(s-=t),e.min=Oc(e.min,t,n,s,i),e.max=Oc(e.max,t,n,s,i)}function Ac(e,t,[n,r,i],a,o){kc(e,t[n],t[r],t[i],t.scale,a,o)}var jc=[`x`,`scaleX`,`originX`],Mc=[`y`,`scaleY`,`originY`];function Nc(e,t,n,r){Ac(e.x,t,jc,n?n.x:void 0,r?r.x:void 0),Ac(e.y,t,Mc,n?n.y:void 0,r?r.y:void 0)}function Pc(e){return e.translate===0&&e.scale===1}function Fc(e){return Pc(e.x)&&Pc(e.y)}function Ic(e,t){return e.min===t.min&&e.max===t.max}function Lc(e,t){return Ic(e.x,t.x)&&Ic(e.y,t.y)}function Rc(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function zc(e,t){return Rc(e.x,t.x)&&Rc(e.y,t.y)}function Bc(e){return Q(e.x)/Q(e.y)}function Vc(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}var Hc=class{constructor(){this.members=[]}add(e){an(this.members,e),e.scheduleRender()}remove(e){if(on(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t=this.members.findIndex(t=>e===t);if(t===0)return!1;let n;for(let e=t;e>=0;e--){let t=this.members[e];if(t.isPresent!==!1){n=t;break}}return n?(this.promote(n),!0):!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:r}=e.options;r===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Uc(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotateX(${i}deg) `),a&&(r+=`rotateY(${a}deg) `),o&&(r+=`skewX(${o}deg) `),s&&(r+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}function Wc(e){return[e(`x`),e(`y`)]}var Gc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Kc={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},qc=[``,`X`,`Y`,`Z`],Jc=1e3,Yc=0;function Xc(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Zc(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=Ji(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,O,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Zc(r)}function Qc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Yc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,T.value&&(Kc.nodes=Kc.calculatedTargetDeltas=Kc.calculatedProjections=0),this.nodes.forEach(tl),this.nodes.forEach(cl),this.nodes.forEach(ll),this.nodes.forEach(nl),T.addProjectionMetrics&&T.addProjectionMetrics(Kc)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Vs)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new sn),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=Zo(t)&&!Qo(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;O.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Re(i,250),Gc.hasAnimatedSinceResize&&(Gc.hasAnimatedSinceResize=!1,this.nodes.forEach(sl)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||gl,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!zc(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...ra(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l)}else t||sl(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),k(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ul),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Zc(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(il);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(al);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(ol),this.nodes.forEach($c),this.nodes.forEach(el)):this.nodes.forEach(al),this.clearAllSnapshots();let e=j.now();A.delta=H(0,1e3/60,e-A.timestamp),A.timestamp=e,A.isProcessing=!0,Fe.update.process(A),Fe.preRender.process(A),Fe.render.process(A),A.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Mr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rl),this.sharedNodes.forEach(dl)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,O.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){O.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Q(this.snapshot.measuredBox.x)&&!Q(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutCorrected=B(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Fc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||nc(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),bl(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return B();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Sl))){let{scroll:e}=this.root;e&&(fc(t.x,e.offset.x),fc(t.y,e.offset.y))}return t}removeElementScroll(e){let t=B();if(Z(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Z(t,e),fc(t.x,i.offset.x),fc(t.y,i.offset.y))}return t}applyTransform(e,t=!1){let n=B();Z(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&mc(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),nc(r.latestValues)&&mc(n,r.latestValues)}return nc(this.latestValues)&&mc(n,this.latestValues),n}removeTransform(e){let t=B();Z(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!n.instance||!nc(n.latestValues))continue;tc(n.latestValues)&&n.updateSnapshot();let r=B();Z(r,n.measurePageBox()),Nc(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return nc(this.latestValues)&&Nc(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==A.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;if(!(!this.layout||!(r||i))){if(this.resolvedRelativeTargetAt=A.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B(),this.relativeTargetOrigin=B(),Dc(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=B(),this.targetWithTransforms=B()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Tc(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Z(this.target,this.layout.layoutBox),cc(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&this.animationProgress!==1?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=B(),this.relativeTargetOrigin=B(),Dc(this.relativeTargetOrigin,this.target,e.target),Z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}T.value&&Kc.calculatedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||tc(this.parent.latestValues)||rc(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===A.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||i))return;Z(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;dc(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=B());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():($s(this.prevProjectionDelta.x,this.projectionDelta.x),$s(this.prevProjectionDelta.y,this.projectionDelta.y)),Cc(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Vc(this.projectionDelta.x,this.prevProjectionDelta.x)||!Vc(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),T.value&&Kc.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if((t=this.options.visualElement)==null||t.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=qt(),this.projectionDelta=qt(),this.projectionDeltaWithTransform=qt()}setAnimationOrigin(e,t=!1){let n=this.snapshot,r=n?n.latestValues:{},i={...this.latestValues},a=qt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let o=B(),s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),l=!c||c.members.length<=1,u=!!(s&&!l&&this.options.crossfade===!0&&!this.path.some(hl));this.animationProgress=0;let d;this.mixTargetDelta=t=>{let n=t/1e3;fl(a.x,e.x,n),fl(a.y,e.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Dc(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),ml(this.relativeTarget,this.relativeTargetOrigin,o,n),d&&Lc(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||=B(),Z(d,this.relativeTarget)),s&&(this.animationValues=i,qs(i,r,this.latestValues,n,u,l)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){var t,n;this.notifyListeners(`animationStart`),(t=this.currentAnimation)==null||t.stop(),(n=this.resumingFrom?.currentAnimation)==null||n.stop(),this.pendingAnimation&&=(k(this.pendingAnimation),void 0),this.pendingAnimation=O.update(()=>{Gc.hasAnimatedSinceResize=!0,Y.layout++,this.motionValue||=pn(0),this.currentAnimation=ts(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Y.layout--},onComplete:()=>{Y.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Jc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&xl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||B();let t=Q(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Q(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Z(t,n),mc(t,i),Cc(this.projectionDeltaWithTransform,this.layoutCorrected,t,i)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Hc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Xc(`z`,e,r,this.animationValues);for(let t=0;t<qc.length;t++)Xc(`rotate${qc[t]}`,e,r,this.animationValues),Xc(`skew${qc[t]}`,e,r,this.animationValues);for(let t in e.render(),r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=Hs(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=Hs(t?.pointerEvents)||``),this.hasProjected&&!nc(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=Uc(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit,We){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=We[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?Hs(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(il),this.root.sharedNodes.clear()}}}function $c(e){e.updateLayout()}function el(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;i===`size`?Wc(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Q(r);r.min=n[e].min,r.max=r.min+i}):xl(i,t.layoutBox,n)&&Wc(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Q(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=qt();Cc(o,n,t.layoutBox);let s=qt();a?Cc(s,e.applyTransform(r,!0),t.measuredBox):Cc(s,n,t.layoutBox);let c=!Fc(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=B();Dc(o,t.layoutBox,i.layoutBox);let s=B();Dc(s,n,a.layoutBox),zc(o,s)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=o,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function tl(e){T.value&&Kc.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function nl(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function rl(e){e.clearSnapshot()}function il(e){e.clearMeasurements()}function al(e){e.isLayoutDirty=!1}function ol(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function sl(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function cl(e){e.resolveTargetDelta()}function ll(e){e.calcProjection()}function ul(e){e.resetSkewAndRotation()}function dl(e){e.removeLeadSnapshot()}function fl(e,t,n){e.translate=J(t.translate,0,n),e.scale=J(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function pl(e,t,n,r){e.min=J(t.min,n.min,r),e.max=J(t.max,n.max,r)}function ml(e,t,n,r){pl(e.x,t.x,n.x,r),pl(e.y,t.y,n.y,r)}function hl(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var gl={duration:.45,ease:[.4,0,.1,1]},_l=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),vl=_l(`applewebkit/`)&&!_l(`chrome/`)?Math.round:D;function yl(e){e.min=vl(e.min),e.max=vl(e.max)}function bl(e){yl(e.x),yl(e.y)}function xl(e,t,n){return e===`position`||e===`preserve-aspect`&&!xc(Bc(t),Bc(n),.2)}function Sl(e){return e!==e.root&&e.scroll?.wasRoot}function Cl(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var wl=Qc({attachResizeListener:(e,t)=>Cl(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Tl={current:void 0},El=Qc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Tl.current){let e=new wl({});e.mount(window),e.setOptions({layoutScroll:!0}),Tl.current=e}return Tl.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`});function Dl(e){if(e)return e.options.allowProjection===!1?Dl(e.parent):e.projection}function Ol(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var kl={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(R.test(e))e=parseFloat(e);else return e;return`${Ol(e,t.target.x)}% ${Ol(e,t.target.y)}%`}},Al={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=q.parse(e);if(i.length>5)return r;let a=q.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=J(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},jl={borderRadius:{...kl,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:kl,borderTopRightRadius:kl,borderBottomLeftRadius:kl,borderBottomRightRadius:kl,boxShadow:Al};function Ml(e){return typeof e==`object`&&!!e&&`nodeType`in e}var Nl=class extends P{constructor(e){super(e),Ge(jl)}initProjection(){let e=this.state.options;this.state.visualElement.projection=new El(this.state.visualElement.latestValues,e[`data-framer-portal-id`]?void 0:Dl(this.state.visualElement.parent)),this.state.visualElement.projection.isPresent=!0,this.setOptions()}beforeMount(){this.initProjection()}setOptions(){let e=this.state.options;this.state.visualElement.projection.setOptions({layout:e.layout,layoutId:e.layoutId,alwaysMeasureLayout:!!e.drag||e.dragConstraints&&Ml(e.dragConstraints),visualElement:this.state.visualElement,animationType:typeof e.layout==`string`?e.layout:`both`,layoutRoot:e.layoutRoot,layoutScroll:e.layoutScroll,crossfade:e.crossfade,onExitComplete:()=>{if(!this.state.visualElement.projection?.isPresent){let e=ct.get(this.state.element);this.state.isSafeToRemove=!0,e&&e({detail:{isExit:!0}},!0)}}})}update(){this.setOptions()}mount(){var e;(e=this.state.visualElement.projection)==null||e.mount(this.state.element)}};function Pl(e){return e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1}function Fl(e,t=`page`){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function Il(e){return t=>Pl(t)&&e(t,Fl(t))}function Ll(e,t,n,r){return Rs(e,t,Il(n),r)}function Rl(e){let t=null;return()=>t===null?(t=e,()=>{t=null}):!1}var zl=Rl(`dragHorizontal`),Bl=Rl(`dragVertical`);function Vl(e){let t=!1;if(e===`y`)t=Bl();else if(e===`x`)t=zl();else{let e=zl(),n=Bl();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Hl(e){return e.max-e.min}function Ul(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?J(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?J(n,e,r.max):Math.min(e,n)),e}var Wl=.35;function Gl(e,{top:t,left:n,bottom:r,right:i}){return{x:Kl(e.x,n,i),y:Kl(e.y,t,r)}}function Kl(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function ql(e=Wl){return e===!1?e=0:e===!0&&(e=Wl),{x:Jl(e,`left`,`right`),y:Jl(e,`top`,`bottom`)}}function Jl(e,t,n){return{min:Yl(e,t),max:Yl(e,n)}}function Yl(e,t){return typeof e==`number`?e:e[t]||0}function Xl(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}function Zl(e,t){return{x:Ql(e.x,t.x),y:Ql(e.y,t.y)}}function Ql(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function $l(e,t){let n=.5,r=Hl(e),i=Hl(t);return i>r?n=Ti(t.min,t.max-r,e.min):r>i&&(n=Ti(e.min,e.max-i,t.min)),H(0,1,n)}var eu=(e,t)=>Math.abs(e-t);function tu(e,t){let n=eu(e.x,t.x),r=eu(e.y,t.y);return Math.sqrt(n**2+r**2)}var nu=class{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=au(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=tu(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=A;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ru(t,this.transformPagePoint),O.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if(this.dragSnapToOrigin&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=au(e.type===`pointercancel`?this.lastMoveEventInfo:ru(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Pl(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;let a=ru(Fl(e),this.transformPagePoint),{point:o}=a,{timestamp:s}=A;this.history=[{...o,timestamp:s}];let{onSessionStart:c}=t;c&&c(e,au(a,this.history)),this.removeListeners=ga(Ll(this.contextWindow,`pointermove`,this.handlePointerMove),Ll(this.contextWindow,`pointerup`,this.handlePointerUp),Ll(this.contextWindow,`pointercancel`,this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),k(this.updatePoint)}};function ru(e,t){return t?{point:t(e.point)}:e}function iu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function au({point:e},t){return{point:e,delta:iu(e,su(t)),offset:iu(e,ou(t)),velocity:cu(t,.1)}}function ou(e){return e[0]}function su(e){return e[e.length-1]}function cu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=su(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>M(t)));)n--;if(!r)return{x:0,y:0};let a=N(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}var lu=()=>({min:0,max:0});function uu(){return{x:lu(),y:lu()}}function $(e){return[e(`x`),e(`y`)]}function du(e){return!!(z(e)&&e.add)}function fu(e,t){let n=e.getValue(`willChange`);if(du(n))return n.add(t)}function pu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function mu(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function hu({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function gu(e,t){e.min+=t,e.max+=t}function _u(e,t){return pu(mu(e.getBoundingClientRect(),t))}function vu(e,t,n){let r=_u(e,n),{scroll:i}=t;return i&&(gu(r.x,i.offset.x),gu(r.y,i.offset.y)),r}function yu(e){return!ct.has(e.current)}function bu({current:e}){return e?e.ownerDocument.defaultView:null}var xu=new WeakMap,Su=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=uu(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){if(!yu(this.visualElement))return;let n=e=>{let{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Fl(e,`page`).point)},r=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Vl(n),!this.openGlobalLock)||(this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),$(e=>{let t=this.getAxisMotionValue(e).get()||0;if(L.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Hl(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&O.postRender(()=>i(e,t)),fu(this.visualElement,`transform`),this.visualElement.state.setActive(`whileDrag`,!0))},i=(e,t)=>{let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openGlobalLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=wu(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&a(e,t)},a=(e,t)=>this.stop(e,t),o=()=>$(e=>this.getAnimationState(e)===`paused`&&this.getAxisMotionValue(e).animation?.play()),{dragSnapToOrigin:s}=this.getProps();this.panSession=new nu(e,{onSessionStart:n,onStart:r,onMove:i,onSessionEnd:a,resumeAnimation:o},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,contextWindow:bu(this.visualElement)})}stop(e,t){let n=this.isDragging;if(this.cancel(),!n)return;let{velocity:r}=t;this.startAnimation(r);let{onDragEnd:i}=this.getProps();i&&O.postRender(()=>i(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),this.visualElement.state.setActive(`whileDrag`,!1)}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Cu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Ul(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&Ml(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Gl(n.layoutBox,e):this.constraints=!1,this.elastic=ql(t),r!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&$(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Xl(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Ml(e))return!1;let n=e,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let i=vu(n,r.root,this.visualElement.getTransformPagePoint()),a=Zl(r.layout.layoutBox,i);if(t){let e=t(hu(a));this.hasMutatedConstraints=!!e,e&&(a=pu(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=$(o=>{if(!Cu(o,t,this.currentDirection))return;let c=s&&s[o]||{};a&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return fu(this.visualElement,e),n.start(Go(e,n,0,t,this.visualElement,!1))}stopAnimation(){yu(this.visualElement)&&$(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){$(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){$(t=>{let{drag:n}=this.getProps();if(!Cu(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t];i.set(e[t]-J(n,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Ml(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};$(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=$l({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),$(t=>{if(!Cu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(J(i,a,r[t]))})}addListeners(){if(!this.visualElement.current)return;xu.set(this.visualElement,this);let e=this.visualElement.current,t=Ll(e,`pointerdown`,e=>{let{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),n=()=>{let{dragConstraints:e}=this.getProps();Ml(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener(`measure`,n);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),O.read(n);let a=Rs(window,`resize`,()=>this.scalePositionWithinConstraints()),o=r.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&($(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{a(),t(),i(),o&&o()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Wl,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Cu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function wu(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Tu=class extends P{constructor(e){super(e),this.removeGroupControls=D,this.removeListeners=D,this.controls=new Su(e.visualElement)}mount(){let{dragControls:e}=this.state.options;e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||D}unmount(){this.removeGroupControls(),this.removeListeners()}},Eu=class extends P{constructor(e){super(e),Ge(jl)}beforeUpdate(){this.state.willUpdate(`beforeUpdate`)}update(){this.didUpdate()}didUpdate(){var e;(this.state.options.layout||this.state.options.layoutId||this.state.options.drag)&&((e=this.state.visualElement.projection?.root)==null||e.didUpdate())}mount(){var e;let t=this.state.options,n=this.state.options.layoutGroup;if(t.layout||t.layoutId){let t=this.state.visualElement.projection;t&&(t.promote(),(e=n?.group)==null||e.add(t)),Gc.hasEverUpdated=!0}this.didUpdate()}beforeUnmount(){let e=this.state.visualElement.projection;e&&(this.state.willUpdate(`beforeUnmount`),this.state.options.layoutId?(e.isPresent=!1,e.relegate()):this.state.options.layout&&(this.state.isSafeToRemove=!0))}unmount(){let e=this.state.options.layoutGroup,t=this.state.visualElement.projection;t&&(e?.group&&(this.state.options.layout||this.state.options.layoutId)&&e.group.remove(t),this.didUpdate())}};function Du(e){return(t,n)=>{e&&O.postRender(()=>e(t,n))}}var Ou=[ds,Os,Ms,Is,zs,Nl,class extends P{constructor(){super(...arguments),this.removePointerDownListener=D}onPointerDown(e){this.session=new nu(e,this.createPanHandlers(),{transformPagePoint:this.state.visualElement.getTransformPagePoint(),contextWindow:bu(this.state.visualElement)})}createPanHandlers(){return{onSessionStart:Du((e,t)=>{let{onPanSessionStart:n}=this.state.options;n&&n(e,t)}),onStart:Du((e,t)=>{let{onPanStart:n}=this.state.options;n&&n(e,t)}),onMove:(e,t)=>{let{onPan:n}=this.state.options;n&&n(e,t)},onEnd:(e,t)=>{let{onPanEnd:n}=this.state.options;delete this.session,n&&O.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=Ll(this.state.element,`pointerdown`,this.onPointerDown.bind(this))}update(){}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},Tu,Eu],ku={reducedMotion:`never`,transition:void 0,nonce:void 0},[Au,ju]=Ke(`MotionConfig`);function Mu(){return Au(be(()=>ku))}function Nu(e){let t=new WeakMap,n=Mu();function r(r){if(e.mode!==`popLayout`)return;let i=r.element,a=i.offsetParent,o=a instanceof HTMLElement&&a.offsetWidth||0,s={height:i.offsetHeight||0,width:i.offsetWidth||0,top:i.offsetTop,left:i.offsetLeft,right:0};s.right=o-s.width-s.left;let c=e.anchorX===`left`?`left: ${s.left}`:`right: ${s.right}`;r.element.dataset.motionPopId=r.id;let l=document.createElement(`style`);n.value.nonce&&(l.nonce=n.value.nonce),t.set(r,l),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`
|
|
2
|
-
[data-motion-pop-id="${r.id}"] {
|
|
3
|
-
position: absolute !important;
|
|
4
|
-
width: ${s.width}px !important;
|
|
5
|
-
height: ${s.height}px !important;
|
|
6
|
-
top: ${s.top}px !important;
|
|
7
|
-
${c}px !important;
|
|
8
|
-
}
|
|
9
|
-
`)}function i(e){let n=t.get(e);n&&(t.delete(e),O.render(()=>{document.head.removeChild(n)}))}return{addPopStyle:r,removePopStyle:i,styles:t}}function Pu(e){return Promise.resolve().then(()=>{e()})}var Fu=se({name:`AnimatePresence`,inheritAttrs:!0,__name:`AnimatePresence`,props:{mode:{default:`sync`},initial:{type:Boolean,default:!0},as:{},custom:{},onExitComplete:{},anchorX:{default:`left`}},setup(e){let t=e;ft(t);let{addPopStyle:n,removePopStyle:r,styles:i}=Nu(t);function a(e){let t=e;for(;t;){if(mt.get(t))return t;t=t.firstElementChild}return null}function s(e){let t=mt.get(e);t&&(r(t),t.isVShow=!0,lt(e),Pu(()=>{t.setActive(`exit`,!1)}))}let c=new Map;ae(()=>{c.clear()});function l(e,o){var s;let l=a(e),u=mt.get(l);if(!l||!u){o(),c.size===0&&((s=t.onExitComplete)==null||s.call(t));return}c.set(l,!0),lt(l),n(u);function d(e){var n;if(e?.detail?.isExit){if(u.visualElement.projection?.animationProgress>0&&!u.isSafeToRemove&&!u.isVShow)return;lt(l),c.delete(l),c.size===0&&((n=t.onExitComplete)==null||n.call(t)),i.has(u)?r(u):u.willUpdate(`done`),o(),l.isConnected||u.unmount(!0)}}Pu(()=>{u.setActive(`exit`,!0),ct.set(l,d),l.addEventListener(`motioncomplete`,d)})}let d=be(()=>t.mode===`wait`?{mode:t.mode===`wait`?`out-in`:void 0}:{tag:t.as});return(e,t)=>(b(),C(o(e.mode===`wait`?u:te),ve({css:!1},d.value,{appear:``,onEnter:s,onLeave:l}),{default:h(()=>[x(e.$slots,`default`)]),_:3},16))}});function Iu(e){if(e)return e.nodeType===3||e.nodeType===8?Iu(e.nextSibling):e}var[Lu,Ru]=Ke(`LazyMotionContext`);function zu(e){let t=qe(null),n=Ye({}),r=Mu(),a=ut({}),o=Lu({features:_([]),strict:!1}),s=i();function c(){return n.id&&e.layoutId?`${n.id}-${e.layoutId}`:e.layoutId||void 0}function l(){return{...e,lazyMotionContext:o,layoutId:c(),transition:e.transition??r.value.transition,layoutGroup:n,motionConfig:r.value,inViewOptions:e.inViewOptions??r.value.inViewOptions,animatePresenceContext:a,initial:a.initial===!1?a.initial:e.initial===!0?void 0:e.initial}}function u(){return{...s,...l()}}let d=new gt(u(),t);Je(d);function f(){let t=d.type===`svg`,n={...s};Object.keys(s).forEach(e=>{z(s[e])&&(n[e]=s[e].get())});let r={...e.style,...t?{}:d.visualElement?.latestValues||d.baseTarget};if(t){let{attrs:e,style:t}=Bt({...d.isMounted()?d.target:d.baseTarget,...r});(t.transform||e.transformOrigin)&&(t.transformOrigin=e.transformOrigin??`50% 50%`,delete e.transformOrigin),t.transform&&(t.transformBox=t.transformBox??`fill-box`,delete e.transformBox),Object.assign(n,e),r=t}e.drag&&e.dragListener!==!1&&Object.assign(r,{userSelect:`none`,WebkitUserSelect:`none`,WebkitTouchCallout:`none`,touchAction:e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`});let i=It(r);return i&&(n.style=i),n}let p=ge().proxy;return pe(()=>{d.beforeMount()}),Te(()=>{d.mount(Iu(p.$el),u(),Vu(p))}),ne(()=>d.beforeUnmount()),ae(()=>{Iu(p.$el)?.isConnected||d.unmount()}),Se(()=>{d.beforeUpdate()}),Ce(()=>{d.update(u())}),{getProps:l,getAttrs:f,layoutGroup:n,state:d}}var Bu={ignoreStrict:{type:Boolean},forwardMotionProps:{type:Boolean,default:!1},asChild:{type:Boolean,default:!1},hover:{type:[String,Array,Object]},press:{type:[String,Array,Object]},inView:{type:[String,Array,Object]},focus:{type:[String,Array,Object]},whileDrag:{type:[String,Array,Object]},whileHover:{type:[String,Array,Object],default:({hover:e})=>e},whilePress:{type:[String,Array,Object],default:({press:e})=>e},whileInView:{type:[String,Array,Object],default:({inView:e})=>e},whileFocus:{type:[String,Array,Object],default:({focus:e})=>e},custom:{type:[String,Number,Object,Array]},initial:{type:[String,Array,Object,Boolean],default:void 0},animate:{type:[String,Array,Object],default:void 0},exit:{type:[String,Array,Object]},variants:{type:Object},inherit:{type:Boolean},style:{type:Object},transformTemplate:{type:Function},transition:{type:Object},layoutGroup:{type:Object},motionConfig:{type:Object},onAnimationComplete:{type:Function},onUpdate:{type:Function},layout:{type:[Boolean,String],default:!1},layoutId:{type:String,default:void 0},layoutScroll:{type:Boolean,default:!1},layoutRoot:{type:Boolean,default:!1},"data-framer-portal-id":{type:String},crossfade:{type:Boolean,default:!0},layoutDependency:{type:null},onBeforeLayoutMeasure:{type:Function},onLayoutMeasure:{type:Function},onLayoutAnimationStart:{type:Function},onLayoutAnimationComplete:{type:Function},globalPressTarget:{type:Boolean},onPressStart:{type:Function},onPress:{type:Function},onPressCancel:{type:Function},onHoverStart:{type:Function},onHoverEnd:{type:Function},inViewOptions:{type:Object},onViewportEnter:{type:Function},onViewportLeave:{type:Function},drag:{type:[Boolean,String]},dragSnapToOrigin:{type:Boolean},dragDirectionLock:{type:Boolean},dragPropagation:{type:Boolean},dragConstraints:{type:[Boolean,Object]},dragElastic:{type:[Boolean,Number,Object],default:.5},dragMomentum:{type:Boolean,default:!0},dragTransition:{type:Object},dragListener:{type:Boolean,default:!0},dragControls:{type:Object},onDragStart:{type:Function},onDragEnd:{type:Function},onDrag:{type:Function},onDirectionLock:{type:Function},onDragTransitionEnd:{type:Function},onMeasureDragConstraints:{type:Function},onPanSessionStart:{type:Function},onPanStart:{type:Function},onPan:{type:Function},onPanEnd:{type:Function}};function Vu(e){let t=Iu(e.$el)?.style.display===`none`;return e.$.vnode.transition&&t}var Hu=new Map,Uu=new Map;function Wu(e){if(!Array.isArray(e))return[e];let t=[];for(let n of e)Array.isArray(n)?t.push(...n):t.push(n);return t}var Gu=[`area`,`img`,`input`];function Ku(e,t,n){var r;if(typeof e==`string`&&Gu.includes(e))return ce(e,t);if(e===`template`){if(!n.default)return null;let e=Wu(n.default()),i=e.findIndex(e=>e.type!==v);if(i===-1)return e;let a=e[i];(r=a.props)==null||delete r.ref;let o=a.props?ve(t,a.props):t;t.class&&a.props?.class&&delete a.props.class;let s=le(a,o);for(let e in o)e.startsWith(`on`)&&(s.props||={},s.props[e]=o[e]);return e.length===1?s:(e[i]=s,e)}return null}function qu(e,t={}){let n=typeof e==`string`,r=n?e:e.name||``,i=t.features?.length>0?Hu:Uu;if(n&&i?.has(e))return i.get(e);let a=se({inheritAttrs:!1,props:{...Bu,features:{type:Object,default:()=>t.features||[]},as:{type:[String,Object],default:e||`div`}},name:r?`motion.${r}`:`Motion`,setup(e,{slots:n}){let{getProps:r,getAttrs:i,state:a}=zu(e);function o(){let t=a.element;if((typeof e.as!=`object`||e.asChild)&&t){let{style:e}=i();if(e)for(let[n,r]of Object.entries(e))t.style[n]=r}}return()=>{let a=r(),s=i(),c=e.asChild?`template`:e.as,l={...t.forwardMotionProps||e.forwardMotionProps?a:{},...s,onVnodeUpdated:o},u=Ku(c,l,n);return u===null?ce(c,{...l},n):u}}});return n&&i?.set(e,a),a}function Ju(e=[]){return new Proxy({},{get(t,n){return n===`create`?(t,n)=>qu(t,{...n,features:e}):qu(n,{features:e})}})}var Yu=Ju(Ou).create(`div`),Xu={slots:{base:`rounded-md w-full`,overlay:`fixed inset-0 bg-default/75 backdrop-blur-sm will-change-opacity`,content:`fixed inset-0 flex items-center justify-center cursor-zoom-out focus:outline-none`,zoomedImage:`w-full h-auto max-w-[95vw] max-h-[95vh] object-contain rounded-md`},variants:{zoom:{true:`will-change-transform`},open:{true:``}},compoundVariants:[{zoom:!0,open:!1,class:`cursor-zoom-in`}]},Zu=[`onClick`],Qu=Object.assign({inheritAttrs:!1},{__name:`ProseImg`,props:{src:{type:String,required:!0},alt:{type:String,required:!0},width:{type:[String,Number],required:!1},height:{type:[String,Number],required:!1},class:{type:null,required:!1},zoom:{type:Boolean,required:!1,default:!0},ui:{type:null,required:!1}},setup(e){let n=e,r=f(),[i,a]=ue(),[s,u]=ue(),m=_(!1),v=be(()=>oe({extend:oe(Xu),...r.ui?.prose?.img||{}})({zoom:n.zoom,open:m.value})),y=be(()=>{if(n.src?.startsWith(`/`)&&!n.src.startsWith(`//`)){let e=c(d(S().app.baseURL));if(e!==`/`&&!n.src.startsWith(e))return ee(e,n.src)}return n.src}),x=be(()=>`${y.value}::${g()}`);return n.zoom&&_e(window,`scroll`,()=>{m.value=!1}),(r,c)=>(b(),re(t,null,[w(l(i),null,{default:h(()=>[(b(),C(o(l(ye)),ve({src:y.value,alt:e.alt,width:e.width,height:e.height},r.$attrs,{class:v.value.base({class:[n.ui?.base,n.class]})}),null,16,[`src`,`alt`,`width`,`height`,`class`]))]),_:1}),w(l(s),null,{default:h(()=>[(b(),C(o(l(ye)),ve({src:y.value,alt:e.alt},r.$attrs,{class:v.value.zoomedImage({class:[n.ui?.zoomedImage]})}),null,16,[`src`,`alt`,`class`]))]),_:1}),e.zoom?(b(),C(l(Oe),{key:0,open:m.value,"onUpdate:open":c[0]||=e=>m.value=e,modal:!1},{default:h(({close:e})=>[w(l(Ae),{"as-child":``},{default:h(()=>[w(l(Yu),{"layout-id":x.value,"as-child":``,transition:{type:`spring`,bounce:.15,duration:.5,ease:`easeInOut`}},{default:h(()=>[w(l(a))]),_:1},8,[`layout-id`])]),_:1}),w(l(ke),null,{default:h(()=>[w(l(Fu),null,{default:h(()=>[m.value?(b(),C(l(Yu),{key:0,initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},class:p(v.value.overlay({class:[n.ui?.overlay]}))},null,8,[`class`])):me(``,!0),m.value?(b(),re(`div`,{key:1,class:p(v.value.content({class:[n.ui?.content]})),onClick:e},[w(l(Yu),{"as-child":``,"layout-id":x.value,transition:{type:`spring`,bounce:.15,duration:.5,ease:`easeInOut`}},{default:h(()=>[w(l(u))]),_:1},8,[`layout-id`])],10,Zu)):me(``,!0)]),_:2},1024)]),_:2},1024)]),_:1},8,[`open`])):(b(),C(l(a),{key:1}))],64))}});export{Qu as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,nt as o,tt as s}from"./asVu8S_S.js";var c={slots:{root:`relative my-5 overflow-x-auto`,base:`w-full border-separate border-spacing-0 rounded-md`}},l={__name:`ProseTable`,props:{class:{type:null,required:!1},ui:{type:null,required:!1}},setup(l){let u=l,d=e(),f=s(()=>a({extend:a(c),...d.ui?.prose?.table||{}})());return(e,a)=>(n(),i(`div`,{class:t(f.value.root({class:[u.ui?.root,u.class]}))},[o(`table`,{class:t(f.value.base({class:u.ui?.base}))},[r(e.$slots,`default`)],2)],2))}};export{l as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:``},c={__name:`ProseEm`,props:{class:{type:String,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.em||{}}));return(e,a)=>(n(),i(`em`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:`bg-muted`},c={__name:`ProseThead`,props:{class:{type:null,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.thead||{}}));return(e,a)=>(n(),i(`thead`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{F as e,Vt as t}from"./asVu8S_S.js";var n=t({default:()=>a,subtitle:()=>i,title:()=>r});const r=`Nuxt Ignis`,i=`Una configuración lista para usar para su próxima aplicación en Nuxt`;var a={title:r,subtitle:i};function o(){return{"../i18n/locales/en.json":e,"../i18n/locales/es.json":n}}function s(){let e=o(),t={};for(let n in e){let r=n.match(/\/([^/]+)\.json$/);r&&r[1]&&(t[r[1]]=e[n])}return t}function c(){let e=o(),t=[];for(let n in e){let e=n.match(/\/([^/]+)\.json$/);e&&e[1]&&t.push(e[1])}return t}var l={}.NUXT_PUBLIC_IGNIS_I18N_DEFAULT||`en`,u=()=>({legacy:!1,locale:l,locales:c(),defaultLocale:l,fallbackLocale:l,messages:s(),warnHtmlMessage:!1});export{u as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{H as e,L as t,St as n,it as r,rt as i,s as a,tt as o}from"./asVu8S_S.js";var s={"package.json":`i-vscode-icons-file-type-node`,"tsconfig.json":`i-vscode-icons-file-type-tsconfig`,".npmrc":`i-vscode-icons-file-type-npm`,".editorconfig":`i-vscode-icons-file-type-editorconfig`,".eslintrc":`i-vscode-icons-file-type-eslint`,".eslintrc.cjs":`i-vscode-icons-file-type-eslint`,".eslintignore":`i-vscode-icons-file-type-eslint`,"eslint.config.js":`i-vscode-icons-file-type-eslint`,"eslint.config.mjs":`i-vscode-icons-file-type-eslint`,"eslint.config.cjs":`i-vscode-icons-file-type-eslint`,".gitignore":`i-vscode-icons-file-type-git`,"yarn.lock":`i-vscode-icons-file-type-yarn`,".env":`i-vscode-icons-file-type-dotenv`,".env.example":`i-vscode-icons-file-type-dotenv`,".vscode/settings.json":`i-vscode-icons-file-type-vscode`,nuxt:`i-vscode-icons-file-type-nuxt`,".nuxtrc":`i-vscode-icons-file-type-nuxt`,".nuxtignore":`i-vscode-icons-file-type-nuxt`,"nuxt.config.js":`i-vscode-icons-file-type-nuxt`,"nuxt.config.ts":`i-vscode-icons-file-type-nuxt`,"nuxt.schema.ts":`i-vscode-icons-file-type-nuxt`,"tailwind.config.js":`i-vscode-icons-file-type-tailwind`,"tailwind.config.ts":`i-vscode-icons-file-type-tailwind`,vue:`i-vscode-icons-file-type-vue`,ts:`i-vscode-icons-file-type-typescript`,tsx:`i-vscode-icons-file-type-typescript`,mjs:`i-vscode-icons-file-type-js`,cjs:`i-vscode-icons-file-type-js`,js:`i-vscode-icons-file-type-js`,jsx:`i-vscode-icons-file-type-js`,md:`i-vscode-icons-file-type-markdown`,py:`i-vscode-icons-file-type-python`,cs:`i-vscode-icons-file-type-csharp`,asm:`i-vscode-icons-file-type-assembly`,f:`i-vscode-icons-file-type-fortran`,hs:`i-vscode-icons-file-type-haskell`,fs:`i-vscode-icons-file-type-fsharp`,kt:`i-vscode-icons-file-type-kotlin`,rs:`i-vscode-icons-file-type-rust`,rb:`i-vscode-icons-file-type-ruby`,lsp:`i-vscode-icons-file-type-lisp`,ps1:`i-vscode-icons-file-type-powershell`,psd1:`i-vscode-icons-file-type-powershell`,psm1:`i-vscode-icons-file-type-powershell`,go:`i-vscode-icons-file-type-go`,gleam:`i-vscode-icons-file-type-gleam`,bicep:`i-vscode-icons-file-type-bicep`,bicepparam:`i-vscode-icons-file-type-bicep`,exs:`i-vscode-icons-file-type-elixir`,erl:`i-vscode-icons-file-type-erlang`,sbt:`i-vscode-icons-file-type-scala`,h:`i-vscode-icons-file-type-cppheader`,ino:`i-vscode-icons-file-type-arduino`,pl:`i-vscode-icons-file-type-perl`,jl:`i-vscode-icons-file-type-julia`,dart:`i-vscode-icons-file-type-dartlang`,ico:`i-vscode-icons-file-type-favicon`,npm:`i-vscode-icons-file-type-npm`,pnpm:`i-vscode-icons-file-type-pnpm`,npx:`i-vscode-icons-file-type-npm`,yarn:`i-vscode-icons-file-type-yarn`,bun:`i-vscode-icons-file-type-bun`,yml:`i-vscode-icons-file-type-yaml`,terminal:`i-lucide-terminal`},c={__name:`ProseCodeIcon`,props:{icon:{type:null,required:!1},filename:{type:String,required:!1}},setup(c){let l=c,u=t(),d=o(()=>e(u.ui?.prose?.codeIcon||{},s)),f=o(()=>{if(l.icon)return l.icon;if(!l.filename)return;let e=l.filename.replace(/\s*\(.*\)\s*$/,``),t=e.includes(`.`)&&e.split(`.`).pop(),n=e.split(`/`).pop();return(n&&d.value[n.toLowerCase()])??(t&&(d.value[t]??`i-vscode-icons-file-type-${t}`))});return(e,t)=>f.value?(n(),i(a,{key:0,name:f.value},null,8,[`name`])):r(``,!0)}};export{c as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,St as t,Tt as n,U as r,at as i,tt as a}from"./asVu8S_S.js";var o=[`id`],s=[`href`],c={__name:`ProseH5`,props:{id:{type:String,required:!1}},setup(c){let l=c,{headings:u}=r().public.mdc,d=a(()=>l.id&&(typeof u?.anchorLinks==`boolean`&&u?.anchorLinks===!0||typeof u?.anchorLinks==`object`&&u?.anchorLinks?.h5));return(r,a)=>(t(),i(`h5`,{id:l.id},[l.id&&e(d)?(t(),i(`a`,{key:0,href:`#${l.id}`},[n(r.$slots,`default`)],8,s)):n(r.$slots,`default`,{key:1})],8,o))}};export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{I as e,N as t,St as n,rt as r}from"./asVu8S_S.js";var i={};function a(e,i){let a=t;return n(),r(a,{content:`Features`})}var o=e(i,[[`render`,a]]);export{o as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:`list-decimal ps-6 my-5 marker:text-muted`},c={__name:`ProseOl`,props:{class:{type:null,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.ol||{}}));return(e,a)=>(n(),i(`ol`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bt as e,I as t,St as n,V as r,at as i,nt as a}from"./asVu8S_S.js";var o={class:`antialiased bg-white dark:bg-[#020420] dark:text-white font-sans grid min-h-screen overflow-hidden place-content-center text-[#020420] tracking-wide`},s={class:`max-w-520px text-center`},c=[`textContent`],l=[`textContent`],u=[`textContent`],d=t({__name:`error-500`,props:{appName:{type:String,default:`Nuxt`},statusCode:{type:Number,default:500},statusMessage:{type:String,default:`Internal server error`},description:{type:String,default:`This page is temporarily unavailable.`},refresh:{type:String,default:`Refresh this page`}},setup(t){let d=t;return r({title:`${d.statusCode} - ${d.statusMessage} | ${d.appName}`,script:[{innerHTML:`!function(){const e=document.createElement("link").relList;if(!(e&&e.supports&&e.supports("modulepreload"))){for(const e of document.querySelectorAll('link[rel="modulepreload"]'))r(e);new MutationObserver(e=>{for(const o of e)if("childList"===o.type)for(const e of o.addedNodes)"LINK"===e.tagName&&"modulepreload"===e.rel&&r(e)}).observe(document,{childList:!0,subtree:!0})}function r(e){if(e.ep)return;e.ep=!0;const r=function(e){const r={};return e.integrity&&(r.integrity=e.integrity),e.referrerPolicy&&(r.referrerPolicy=e.referrerPolicy),"use-credentials"===e.crossOrigin?r.credentials="include":"anonymous"===e.crossOrigin?r.credentials="omit":r.credentials="same-origin",r}(e);fetch(e.href,r)}}();`}],style:[{innerHTML:`*,:after,:before{border-color:var(--un-default-border-color,#e5e7eb);border-style:solid;border-width:0;box-sizing:border-box}:after,:before{--un-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{line-height:inherit;margin:0}h1,h2{font-size:inherit;font-weight:inherit}h1,h2,p{margin:0}*,:after,:before{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 transparent;--un-ring-shadow:0 0 transparent;--un-shadow-inset: ;--un-shadow:0 0 transparent;--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgba(147,197,253,.5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }`}]}),(r,d)=>(n(),i(`div`,o,[a(`div`,s,[a(`h1`,{class:`font-semibold leading-none mb-4 sm:text-[110px] tabular-nums text-[80px]`,textContent:e(t.statusCode)},null,8,c),a(`h2`,{class:`font-semibold mb-2 sm:text-3xl text-2xl`,textContent:e(t.statusMessage)},null,8,l),a(`p`,{class:`mb-4 px-2 text-[#64748B] text-md`,textContent:e(t.description)},null,8,u)])]))}},[[`__scopeId`,`data-v-7cca6502`]]);export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bt as e,It as t,L as n,Lt as r,St as i,Tt as a,at as o,c as s,it as c,l,mt as u,nt as d,p as f,st as p,t as m,tt as h}from"./asVu8S_S.js";import{t as g}from"./CxMUMwzI.js";var _={slots:{root:`relative my-5 group`,header:`flex items-center gap-1.5 border border-muted bg-default border-b-0 relative rounded-t-md px-4 py-3`,filename:`text-default text-sm/6`,icon:`size-4 shrink-0`,copy:`absolute top-[11px] right-[11px] lg:opacity-0 lg:group-hover:opacity-100 transition`,base:`group font-mono text-sm/6 border border-muted bg-muted rounded-md px-4 py-3 whitespace-pre-wrap break-words overflow-x-auto focus:outline-none`},variants:{filename:{true:{root:`[&>pre]:rounded-t-none [&>pre]:my-0 my-5`}}}},v={__name:`ProsePre`,props:{icon:{type:null,required:!1},code:{type:String,required:!1},language:{type:String,required:!1},filename:{type:String,required:!1},highlights:{type:Array,required:!1},hideHeader:{type:Boolean,required:!1},meta:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(v){let y=v,{t:b}=l(),{copy:x,copied:S}=f(),C=n(),w=h(()=>s({extend:s(_),...C.ui?.prose?.pre||{}})());return(n,s)=>(i(),o(`div`,{class:r(w.value.root({class:[y.ui?.root],filename:!!v.filename}))},[v.filename&&!v.hideHeader?(i(),o(`div`,{key:0,class:r(w.value.header({class:y.ui?.header}))},[p(g,{icon:v.icon,filename:v.filename,class:r(w.value.icon({class:y.ui?.icon}))},null,8,[`icon`,`filename`,`class`]),d(`span`,{class:r(w.value.filename({class:y.ui?.filename}))},e(v.filename),3)],2)):c(``,!0),p(m,{icon:t(S)?t(C).ui.icons.copyCheck:t(C).ui.icons.copy,color:`neutral`,variant:`outline`,size:`sm`,"aria-label":t(b)(`prose.pre.copy`),class:r(w.value.copy({class:y.ui?.copy})),tabindex:`-1`,onClick:s[0]||=e=>t(x)(y.code||``)},null,8,[`icon`,`aria-label`,`class`]),d(`pre`,u({class:w.value.base({class:[y.ui?.base,y.class]})},n.$attrs),[a(n.$slots,`default`)],16)],2))}};export{v as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,L as t,Lt as n,Mt as r,St as i,Tt as a,b as o,c as s,rt as c,tt as l}from"./asVu8S_S.js";var u={base:`my-5 divide-y divide-default *:not-last:pb-5`},d={__name:`ProseFieldGroup`,props:{as:{type:null,required:!1},class:{type:null,required:!1}},setup(d){let f=d,p=t(),m=l(()=>s({extend:s(u),...p.ui?.prose?.fieldGroup||{}}));return(t,s)=>(i(),c(e(o),{as:d.as,class:n(m.value({class:f.class}))},{default:r(()=>[a(t.$slots,`default`)]),_:3},8,[`as`,`class`]))}};export{d as default};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,L as t,Mt as n,St as r,rt as i}from"./asVu8S_S.js";import{t as a}from"./COPw3T3p.js";import{t as o}from"./DQKS5ddY.js";var s={__name:`ProseNote`,setup(s){let c=t();return(t,s)=>(r(),i(o,{color:`info`,icon:e(c).ui.icons.info},{default:n(()=>[a(t.$slots,`default`,{mdcUnwrap:`p`})]),_:3},8,[`icon`]))}};export{s as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,U as i,at as a,c as o,tt as s}from"./asVu8S_S.js";var c={slots:{base:`text-lg text-highlighted font-bold mt-6 mb-2 scroll-mt-[calc(24px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(24px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary`,link:``}},l=[`id`],u=[`href`],d={__name:`ProseH4`,props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(d){let f=d,p=e(),{headings:m}=i().public?.mdc||{},h=s(()=>o({extend:o(c),...p.ui?.prose?.h4||{}})()),g=s(()=>f.id&&typeof m?.anchorLinks==`object`&&m.anchorLinks.h4);return(e,i)=>(n(),a(`h4`,{id:d.id,class:t(h.value.base({class:f.class}))},[d.id&&g.value?(n(),a(`a`,{key:0,href:`#${d.id}`,class:t(h.value.link({class:f.ui?.link}))},[r(e.$slots,`default`)],10,u)):r(e.$slots,`default`,{key:1})],10,l))}};export{d as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./cjlVjclE.js";import"./ZDbum-dK.js";import"./DP_txrAq.js";import{a as e,i as t,n,r,t as i}from"./CDT62st6.js";import{$ as a,At as o,Bt as s,Et as c,It as l,L as u,Lt as d,Mt as f,Pt as p,St as m,at as h,c as g,jt as _,kt as v,nt as y,pt as b,rt as x,st as S,tt as C,vt as w,wt as T,yt as E,z as D}from"./asVu8S_S.js";import{t as O}from"./CxMUMwzI.js";var k={slots:{root:`relative group *:not-first:!my-0 *:not-first:!static my-5`,list:`relative flex items-center gap-1 border border-muted bg-default border-b-0 rounded-t-md overflow-x-auto p-2`,indicator:`absolute left-0 inset-y-2 w-(--reka-tabs-indicator-size) translate-x-(--reka-tabs-indicator-position) transition-[translate,width] duration-200 bg-elevated rounded-md shadow-xs`,trigger:[`relative inline-flex items-center gap-1.5 text-default data-[state=active]:text-highlighted hover:bg-elevated/50 px-2 py-1.5 text-sm rounded-md disabled:cursor-not-allowed disabled:opacity-75 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary focus:outline-none`,`transition-colors`],triggerIcon:`size-4 shrink-0`,triggerLabel:`truncate`}},A={__name:`ProseCodeGroup`,props:b({defaultValue:{type:String,required:!1,default:`0`},sync:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},{modelValue:{type:String},modelModifiers:{}}),emits:[`update:modelValue`],setup(b){let A=b,j=o(),M=v(b,`modelValue`),N=u(),P=C(()=>g({extend:g(k),...N.ui?.prose?.codeGroup||{}})()),F=p(1),I=C(()=>(F.value,j.default?.()?.flatMap(L).filter(Boolean)||[]));function L(e,t){return typeof e.type==`symbol`?e.children?.map(L):{label:e.props?.filename||e.props?.label||`${t}`,icon:e.props?.icon,component:e}}return E(()=>{if(A.sync){let e=`code-group-${A.sync}`,t=D(e,()=>localStorage.getItem(e));_(t,()=>{t.value&&(M.value=t.value)},{immediate:!0}),_(M,()=>{M.value&&(t.value=M.value,localStorage.setItem(e,M.value))})}}),w(()=>F.value++),(o,u)=>(m(),x(l(e),{modelValue:M.value,"onUpdate:modelValue":u[0]||=e=>M.value=e,"default-value":b.defaultValue,"unmount-on-hide":!1,class:d(P.value.root({class:[A.ui?.root,A.class]}))},{default:f(()=>[S(l(n),{class:d(P.value.list({class:A.ui?.list}))},{default:f(()=>[S(l(r),{class:d(P.value.indicator({class:A.ui?.indicator}))},null,8,[`class`]),(m(!0),h(a,null,T(I.value,(e,t)=>(m(),x(l(i),{key:t,value:String(t),class:d(P.value.trigger({class:A.ui?.trigger}))},{default:f(()=>[S(O,{icon:e.icon,filename:e.label,class:d(P.value.triggerIcon({class:A.ui?.triggerIcon}))},null,8,[`icon`,`filename`,`class`]),y(`span`,{class:d(P.value.triggerLabel({class:A.ui?.triggerLabel}))},s(e.label),3)]),_:2},1032,[`value`,`class`]))),128))]),_:1},8,[`class`]),(m(!0),h(a,null,T(I.value,(e,n)=>(m(),x(l(t),{key:n,value:String(n),"as-child":``},{default:f(()=>[(m(),x(c(e.component),{"hide-header":``,tabindex:`-1`}))]),_:2},1032,[`value`]))),128))]),_:1},8,[`modelValue`,`default-value`,`class`]))}};export{A as default};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,L as t,Lt as n,St as r,Tt as i,U as a,at as o,c as s,nt as c,s as l,st as u,tt as d}from"./asVu8S_S.js";var f={slots:{base:[`relative text-xl text-highlighted font-bold mt-8 mb-3 scroll-mt-[calc(32px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(32px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-lg/6 [&>a>code]:font-bold`,`[&>a>code]:transition-colors`],leading:[`absolute -ms-8 top-0.5 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted`,`transition`],leadingIcon:`size-4 shrink-0`,link:`group lg:ps-2 lg:-ms-2`}},p=[`id`],m=[`href`],h={__name:`ProseH3`,props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(h){let g=h,_=t(),{headings:v}=a().public?.mdc||{},y=d(()=>s({extend:s(f),..._.ui?.prose?.h3||{}})()),b=d(()=>g.id&&typeof v?.anchorLinks==`object`&&v.anchorLinks.h3);return(t,a)=>(r(),o(`h3`,{id:h.id,class:n(y.value.base({class:g.class}))},[h.id&&b.value?(r(),o(`a`,{key:0,href:`#${h.id}`,class:n(y.value.link({class:g.ui?.link}))},[c(`span`,{class:n(y.value.leading({class:g.ui?.leading}))},[u(l,{name:e(_).ui.icons.hash,class:n(y.value.leadingIcon({class:g.ui?.leadingIcon}))},null,8,[`name`,`class`])],2),i(t.$slots,`default`)],10,m)):i(t.$slots,`default`,{key:1})],10,p))}};export{h as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./cjlVjclE.js";import{t}from"./ZDbum-dK.js";import{E as n,Ft as r,It as i,M as a,Mt as o,Pt as s,St as c,Tt as l,b as u,bt as d,ct as f,ht as p,j as m,rt as h,st as g,tt as _,v,yt as y}from"./asVu8S_S.js";var b=`rovingFocusGroup.onEntryFocus`,x={bubbles:!1,cancelable:!0},S={ArrowLeft:`prev`,ArrowUp:`prev`,ArrowRight:`next`,ArrowDown:`next`,PageUp:`first`,Home:`first`,PageDown:`last`,End:`last`};function C(e,t){return t===`rtl`?e===`ArrowLeft`?`ArrowRight`:e===`ArrowRight`?`ArrowLeft`:e:e}function w(e,t,n){let r=C(e.key,n);if(!(t===`vertical`&&[`ArrowLeft`,`ArrowRight`].includes(r))&&!(t===`horizontal`&&[`ArrowUp`,`ArrowDown`].includes(r)))return S[r]}function T(e,t=!1){let n=m();for(let r of e)if(r===n||(r.focus({preventScroll:t}),m()!==n))return}function E(e,t){return e.map((n,r)=>e[(t+r)%e.length])}var[D,O]=a(`RovingFocusGroup`),k=f({__name:`RovingFocusGroup`,props:{orientation:{type:String,required:!1,default:void 0},dir:{type:String,required:!1},loop:{type:Boolean,required:!1,default:!1},currentTabStopId:{type:[String,null],required:!1},defaultCurrentTabStopId:{type:String,required:!1},preventScrollOnEntryFocus:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:[`entryFocus`,`update:currentTabStopId`],setup(t,{expose:a,emit:d}){let f=t,p=d,{loop:m,orientation:_,dir:y}=r(f),S=e(y),C=n(f,`currentTabStopId`,p,{defaultValue:f.defaultCurrentTabStopId,passive:f.currentTabStopId===void 0}),w=s(!1),E=s(!1),D=s(0),{getItems:k,CollectionSlot:A}=v({isProvider:!0});function j(e){let t=!E.value;if(e.currentTarget&&e.target===e.currentTarget&&t&&!w.value){let t=new CustomEvent(b,x);if(e.currentTarget.dispatchEvent(t),p(`entryFocus`,t),!t.defaultPrevented){let e=k().map(e=>e.ref).filter(e=>e.dataset.disabled!==``);T([e.find(e=>e.getAttribute(`data-active`)===``),e.find(e=>e.getAttribute(`data-highlighted`)===``),e.find(e=>e.id===C.value),...e].filter(Boolean),f.preventScrollOnEntryFocus)}}E.value=!1}function M(){setTimeout(()=>{E.value=!1},1)}return a({getItems:k}),O({loop:m,dir:S,orientation:_,currentTabStopId:C,onItemFocus:e=>{C.value=e},onItemShiftTab:()=>{w.value=!0},onFocusableItemAdd:()=>{D.value++},onFocusableItemRemove:()=>{D.value--}}),(e,t)=>(c(),h(i(A),null,{default:o(()=>[g(i(u),{tabindex:w.value||D.value===0?-1:0,"data-orientation":i(_),as:e.as,"as-child":e.asChild,dir:i(S),style:{outline:`none`},onMousedown:t[0]||=e=>E.value=!0,onMouseup:M,onFocus:j,onBlur:t[1]||=e=>w.value=!1},{default:o(()=>[l(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`as`,`as-child`,`dir`])]),_:3}))}}),A=f({__name:`RovingFocusItem`,props:{tabStopId:{type:String,required:!1},focusable:{type:Boolean,required:!1,default:!0},active:{type:Boolean,required:!1},allowShiftKey:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`span`}},setup(e){let n=e,r=D(),a=t(),s=_(()=>n.tabStopId||a),f=_(()=>r.currentTabStopId.value===s.value),{getItems:m,CollectionItem:b}=v();y(()=>{n.focusable&&r.onFocusableItemAdd()}),d(()=>{n.focusable&&r.onFocusableItemRemove()});function x(e){if(e.key===`Tab`&&e.shiftKey){r.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=w(e,r.orientation.value,r.dir.value);if(t!==void 0){if(e.metaKey||e.ctrlKey||e.altKey||!n.allowShiftKey&&e.shiftKey)return;e.preventDefault();let i=[...m().map(e=>e.ref).filter(e=>e.dataset.disabled!==``)];if(t===`last`)i.reverse();else if(t===`prev`||t===`next`){t===`prev`&&i.reverse();let n=i.indexOf(e.currentTarget);i=r.loop.value?E(i,n+1):i.slice(n+1)}p(()=>T(i))}}return(e,t)=>(c(),h(i(b),null,{default:o(()=>[g(i(u),{tabindex:f.value?0:-1,"data-orientation":i(r).orientation.value,"data-active":e.active?``:void 0,"data-disabled":e.focusable?void 0:``,as:e.as,"as-child":e.asChild,onMousedown:t[0]||=t=>{e.focusable?i(r).onItemFocus(s.value):t.preventDefault()},onFocus:t[1]||=e=>i(r).onItemFocus(s.value),onKeydown:x},{default:o(()=>[l(e.$slots,`default`)]),_:3},8,[`tabindex`,`data-orientation`,`data-active`,`data-disabled`,`as`,`as-child`])]),_:3}))}});export{k as n,S as r,A as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,L as t,Lt as n,Mt as r,St as i,at as a,c as o,it as s,mt as c,n as l,nt as u,rt as d,s as f,tt as p}from"./asVu8S_S.js";import{t as m}from"./COPw3T3p.js";var h={slots:{base:[`group relative block px-4 py-3 rounded-md text-sm/6 my-5 last:mb-0 [&_code]:text-xs/5 [&_code]:bg-default [&_pre]:bg-default [&>div]:my-2.5 [&_ul]:my-2.5 [&_ol]:my-2.5 [&>*]:last:!mb-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:my-0`,`transition-colors`],icon:[`size-4 shrink-0 align-sub me-1.5 inline-block`,`transition-colors`],externalIcon:[`size-4 align-top absolute right-2 top-2 pointer-events-none`,`transition-colors`]},variants:{color:{primary:{base:`border border-primary/25 bg-primary/10 text-primary-600 dark:text-primary-300 [&_a]:text-primary [&_a]:hover:border-primary [&_code]:text-primary-600 dark:[&_code]:text-primary-300 [&_code]:border-primary/25 [&_a]:hover:[&>code]:border-primary [&_a]:hover:[&>code]:text-primary [&>ul]:marker:text-primary/50`,icon:`text-primary`,externalIcon:`text-primary-600 dark:text-primary-300`},secondary:{base:`border border-secondary/25 bg-secondary/10 text-secondary-600 dark:text-secondary-300 [&_a]:text-secondary [&_a]:hover:border-secondary [&_code]:text-secondary-600 dark:[&_code]:text-secondary-300 [&_code]:border-secondary/25 [&_a]:hover:[&>code]:border-secondary [&_a]:hover:[&>code]:text-secondary [&>ul]:marker:text-secondary/50`,icon:`text-secondary`,externalIcon:`text-secondary-600 dark:text-secondary-300`},success:{base:`border border-success/25 bg-success/10 text-success-600 dark:text-success-300 [&_a]:text-success [&_a]:hover:border-success [&_code]:text-success-600 dark:[&_code]:text-success-300 [&_code]:border-success/25 [&_a]:hover:[&>code]:border-success [&_a]:hover:[&>code]:text-success [&>ul]:marker:text-success/50`,icon:`text-success`,externalIcon:`text-success-600 dark:text-success-300`},info:{base:`border border-info/25 bg-info/10 text-info-600 dark:text-info-300 [&_a]:text-info [&_a]:hover:border-info [&_code]:text-info-600 dark:[&_code]:text-info-300 [&_code]:border-info/25 [&_a]:hover:[&>code]:border-info [&_a]:hover:[&>code]:text-info [&>ul]:marker:text-info/50`,icon:`text-info`,externalIcon:`text-info-600 dark:text-info-300`},warning:{base:`border border-warning/25 bg-warning/10 text-warning-600 dark:text-warning-300 [&_a]:text-warning [&_a]:hover:border-warning [&_code]:text-warning-600 dark:[&_code]:text-warning-300 [&_code]:border-warning/25 [&_a]:hover:[&>code]:border-warning [&_a]:hover:[&>code]:text-warning [&>ul]:marker:text-warning/50`,icon:`text-warning`,externalIcon:`text-warning-600 dark:text-warning-300`},error:{base:`border border-error/25 bg-error/10 text-error-600 dark:text-error-300 [&_a]:text-error [&_a]:hover:border-error [&_code]:text-error-600 dark:[&_code]:text-error-300 [&_code]:border-error/25 [&_a]:hover:[&>code]:border-error [&_a]:hover:[&>code]:text-error [&>ul]:marker:text-error/50`,icon:`text-error`,externalIcon:`text-error-600 dark:text-error-300`},neutral:{base:`border border-muted bg-muted text-default`,icon:`text-highlighted`,externalIcon:`text-dimmed`}},to:{true:`border-dashed`}},compoundVariants:[{color:`primary`,to:!0,class:{base:`hover:border-primary`,externalIcon:`group-hover:text-primary`}},{color:`secondary`,to:!0,class:{base:`hover:border-secondary`,externalIcon:`group-hover:text-secondary`}},{color:`success`,to:!0,class:{base:`hover:border-success`,externalIcon:`group-hover:text-success`}},{color:`info`,to:!0,class:{base:`hover:border-info`,externalIcon:`group-hover:text-info`}},{color:`warning`,to:!0,class:{base:`hover:border-warning`,externalIcon:`group-hover:text-warning`}},{color:`error`,to:!0,class:{base:`hover:border-error`,externalIcon:`group-hover:text-error`}},{color:`neutral`,to:!0,class:{base:`hover:border-inverted`,externalIcon:`group-hover:text-highlighted`}}],defaultVariants:{color:`neutral`}},g=Object.assign({inheritAttrs:!1},{__name:`ProseCallout`,props:{to:{type:null,required:!1},target:{type:[String,Object,null],required:!1},icon:{type:null,required:!1},color:{type:null,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(g){let _=g,v=t(),y=p(()=>o({extend:o(h),...v.ui?.prose?.callout||{}})({color:_.color,to:!!_.to})),b=p(()=>_.target||(_.to&&typeof _.to==`string`&&_.to.startsWith(`http`)?`_blank`:void 0));return(t,o)=>(i(),a(`div`,{class:n(y.value.base({class:_.class}))},[g.to?(i(),d(l,c({key:0},{to:g.to,target:b.value,...t.$attrs},{class:`focus:outline-none`,tabindex:`-1`,raw:``}),{default:r(()=>[...o[0]||=[u(`span`,{class:`absolute inset-0`,"aria-hidden":`true`},null,-1)]]),_:1},16)):s(``,!0),g.icon?(i(),d(f,{key:1,name:g.icon,class:n(y.value.icon({class:_.ui?.icon}))},null,8,[`name`,`class`])):s(``,!0),g.to&&b.value===`_blank`?(i(),d(f,{key:2,name:e(v).ui.icons.external,class:n(y.value.externalIcon({class:_.ui?.externalIcon}))},null,8,[`name`,`class`])):s(``,!0),m(t.$slots,`default`,{mdcUnwrap:`p`})],2))}});export{g as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{t as e}from"./cjlVjclE.js";import{t}from"./ZDbum-dK.js";import{n,r,t as i}from"./7N8aGG8C.js";import{$ as a,A as o,At as s,B as c,Bt as l,C as u,E as d,Et as f,Ft as p,It as m,L as h,Lt as g,M as _,Mt as v,Pt as y,S as b,St as x,Tt as S,X as C,_ as ee,at as w,b as T,c as E,ct as D,d as O,it as k,mt as A,nt as j,ot as M,rt as N,s as P,st as F,tt as I,u as L,vt as R,wt as z}from"./asVu8S_S.js";function B(e,t){return o(e)?!1:Array.isArray(e)?e.some(e=>c(e,t)):c(e,t)}var V=[`INPUT`,`TEXTAREA`];function H(e,t,n,r={}){if(!t||r.enableIgnoredElement&&V.includes(t.nodeName))return null;let{arrowKeyOptions:i=`both`,attributeName:a=`[data-reka-collection-item]`,itemsArray:o=[],loop:s=!0,dir:c=`ltr`,preventScroll:l=!0,focus:u=!1}=r,[d,f,p,m,h,g]=[e.key===`ArrowRight`,e.key===`ArrowLeft`,e.key===`ArrowUp`,e.key===`ArrowDown`,e.key===`Home`,e.key===`End`],_=p||m,v=d||f;if(!h&&!g&&(!_&&!v||i===`vertical`&&v||i===`horizontal`&&_))return null;let y=n?Array.from(n.querySelectorAll(a)):o;if(!y.length)return null;l&&e.preventDefault();let b=null;return v||_?b=U(y,t,{goForward:_?m:c===`ltr`?d:f,loop:s}):h?b=y.at(0)||null:g&&(b=y.at(-1)||null),u&&b?.focus(),b}function U(e,t,n,r=e.length){if(--r===0)return null;let i=e.indexOf(t),a=n.goForward?i+1:i-1;if(!n.loop&&(a<0||a>=e.length))return null;let o=e[(a+e.length)%e.length];return o?o.hasAttribute(`disabled`)&&o.getAttribute(`disabled`)!==`false`?U(e,o,n,r):o:null}function W({type:e,defaultValue:t,modelValue:n}){let r=n||t;return n!==void 0||t!==void 0?Array.isArray(r)?`multiple`:`single`:e??`single`}function G({type:e,defaultValue:t,modelValue:n}){return e||W({type:e,defaultValue:t,modelValue:n})}function K({type:e,defaultValue:t}){return t===void 0?e===`single`?void 0:[]:t}function q(e,t){let n=I(()=>G(e)),r=d(e,`modelValue`,t,{defaultValue:K(e),passive:e.modelValue===void 0,deep:!0});function i(e){if(n.value===`single`)r.value=c(e,r.value)?void 0:e;else{let t=Array.isArray(r.value)?[...r.value||[]]:[r.value].filter(Boolean);if(B(t,e)){let n=t.findIndex(t=>c(t,e));t.splice(n,1)}else t.push(e);r.value=t}}return{modelValue:r,changeModelValue:i,isSingle:I(()=>n.value===`single`)}}var[J,Y]=_(`AccordionRoot`),X=D({__name:`AccordionRoot`,props:{collapsible:{type:Boolean,required:!1,default:!1},disabled:{type:Boolean,required:!1,default:!1},dir:{type:String,required:!1},orientation:{type:String,required:!1,default:`vertical`},unmountOnHide:{type:Boolean,required:!1,default:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},type:{type:String,required:!1},modelValue:{type:null,required:!1},defaultValue:{type:null,required:!1}},emits:[`update:modelValue`],setup(t,{emit:n}){let r=t,i=n,{dir:a,disabled:o,unmountOnHide:s}=p(r),c=e(a),{modelValue:l,changeModelValue:d,isSingle:f}=q(r,i),{forwardRef:h,currentElement:g}=u();return Y({disabled:o,direction:c,orientation:r.orientation,parentElement:g,isSingle:f,collapsible:r.collapsible,modelValue:l,changeModelValue:d,unmountOnHide:s}),(e,t)=>(x(),N(m(T),{ref:m(h),"as-child":e.asChild,as:e.as},{default:v(()=>[S(e.$slots,`default`,{modelValue:m(l)})]),_:3},8,[`as-child`,`as`]))}}),Z=function(e){return e.Open=`open`,e.Closed=`closed`,e}(Z||{}),[Q,te]=_(`AccordionItem`),ne=D({__name:`AccordionItem`,props:{disabled:{type:Boolean,required:!1},value:{type:String,required:!0},unmountOnHide:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e,{expose:t}){let n=e,i=J(),a=I(()=>i.isSingle.value?n.value===i.modelValue.value:Array.isArray(i.modelValue.value)&&i.modelValue.value.includes(n.value)),o=I(()=>i.disabled.value||n.disabled),s=I(()=>o.value?``:void 0),c=I(()=>a.value?Z.Open:Z.Closed);t({open:a,dataDisabled:s});let{currentRef:l,currentElement:d}=u();te({open:a,dataState:c,disabled:o,dataDisabled:s,triggerId:``,currentRef:l,currentElement:d,value:I(()=>n.value)});function f(e){let t=e.target;if(Array.from(i.parentElement.value?.querySelectorAll(`[data-reka-collection-item]`)??[]).findIndex(e=>e===t)===-1)return null;H(e,t,i.parentElement.value,{arrowKeyOptions:i.orientation,dir:i.direction.value,focus:!0})}return(e,t)=>(x(),N(m(r),{"data-orientation":m(i).orientation,"data-disabled":s.value,"data-state":c.value,disabled:o.value,open:a.value,as:n.as,"as-child":n.asChild,"unmount-on-hide":m(i).unmountOnHide.value,onKeydown:C(f,[`up`,`down`,`left`,`right`,`home`,`end`])},{default:v(()=>[S(e.$slots,`default`,{open:a.value})]),_:3},8,[`data-orientation`,`data-disabled`,`data-state`,`disabled`,`open`,`as`,`as-child`,`unmount-on-hide`]))}}),$=D({__name:`AccordionContent`,props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let t=e,r=J(),i=Q();return u(),(e,a)=>(x(),N(m(n),{role:`region`,"as-child":t.asChild,as:e.as,"force-mount":t.forceMount,"aria-labelledby":m(i).triggerId,"data-state":m(i).dataState.value,"data-disabled":m(i).dataDisabled.value,"data-orientation":m(r).orientation,style:{"--reka-accordion-content-width":`var(--reka-collapsible-content-width)`,"--reka-accordion-content-height":`var(--reka-collapsible-content-height)`},onContentFound:a[0]||=e=>m(r).changeModelValue(m(i).value.value)},{default:v(()=>[S(e.$slots,`default`)]),_:3},8,[`as-child`,`as`,`force-mount`,`aria-labelledby`,`data-state`,`data-disabled`,`data-orientation`]))}}),re=D({__name:`AccordionHeader`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:`h3`}},setup(e){let t=e,n=J(),r=Q();return u(),(e,i)=>(x(),N(m(T),{as:t.as,"as-child":t.asChild,"data-orientation":m(n).orientation,"data-state":m(r).dataState.value,"data-disabled":m(r).dataDisabled.value},{default:v(()=>[S(e.$slots,`default`)]),_:3},8,[`as`,`as-child`,`data-orientation`,`data-state`,`data-disabled`]))}}),ie=D({__name:`AccordionTrigger`,props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(e){let n=e,r=J(),a=Q();a.triggerId||=t(void 0,`reka-accordion-trigger`);function o(){let e=r.isSingle.value&&a.open.value&&!r.collapsible;a.disabled.value||e||r.changeModelValue(a.value.value)}return(e,t)=>(x(),N(m(i),{id:m(a).triggerId,ref:m(a).currentRef,"data-reka-collection-item":``,as:n.as,"as-child":n.asChild,"aria-disabled":m(a).disabled.value||void 0,"aria-expanded":m(a).open.value||!1,"data-disabled":m(a).dataDisabled.value,"data-orientation":m(r).orientation,"data-state":m(a).dataState.value,disabled:m(a).disabled.value,onClick:o},{default:v(()=>[S(e.$slots,`default`)]),_:3},8,[`id`,`as`,`as-child`,`aria-disabled`,`aria-expanded`,`data-disabled`,`data-orientation`,`data-state`,`disabled`]))}}),ae={slots:{root:`w-full`,item:`border-b border-default last:border-b-0`,header:`flex`,trigger:`group flex-1 flex items-center gap-1.5 font-medium text-sm py-3.5 focus-visible:outline-primary min-w-0`,content:`data-[state=open]:animate-[accordion-down_200ms_ease-out] data-[state=closed]:animate-[accordion-up_200ms_ease-out] overflow-hidden focus:outline-none`,body:`text-sm pb-3.5`,leadingIcon:`shrink-0 size-5`,trailingIcon:`shrink-0 size-5 ms-auto group-data-[state=open]:rotate-180 transition-transform duration-200`,label:`text-start break-words`},variants:{disabled:{true:{trigger:`cursor-not-allowed opacity-75`}}}},oe={__name:`UAccordion`,props:{as:{type:null,required:!1},items:{type:Array,required:!1},trailingIcon:{type:null,required:!1},labelKey:{type:null,required:!1,default:`label`},class:{type:null,required:!1},ui:{type:null,required:!1},collapsible:{type:Boolean,required:!1,default:!0},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1},type:{type:String,required:!1,default:`single`},disabled:{type:Boolean,required:!1},unmountOnHide:{type:Boolean,required:!1,default:!0}},emits:[`update:modelValue`],setup(e,{emit:t}){let n=e,r=t,i=s(),o=h(),c=b(ee(n,`as`,`collapsible`,`defaultValue`,`disabled`,`modelValue`,`unmountOnHide`),r),u=I(()=>E({extend:E(ae),...o.ui?.accordion||{}})({disabled:n.disabled}));return(t,r)=>(x(),N(m(X),A(m(c),{type:e.type,"data-slot":`root`,class:u.value.root({class:[n.ui?.root,n.class]})}),{default:v(()=>[(x(!0),w(a,null,z(n.items,(r,a)=>(x(),N(m(ne),{key:a,value:r.value||String(a),disabled:r.disabled,"data-slot":`item`,class:g(u.value.item({class:[n.ui?.item,r.ui?.item,r.class]}))},{default:v(({open:s})=>[F(m(re),{as:`div`,"data-slot":`header`,class:g(u.value.header({class:[n.ui?.header,r.ui?.header]}))},{default:v(()=>[F(m(ie),{"data-slot":`trigger`,class:g(u.value.trigger({class:[n.ui?.trigger,r.ui?.trigger],disabled:r.disabled}))},{default:v(()=>[S(t.$slots,`leading`,{item:r,index:a,open:s,ui:u.value},()=>[r.icon?(x(),N(P,{key:0,name:r.icon,"data-slot":`leadingIcon`,class:g(u.value.leadingIcon({class:[n.ui?.leadingIcon,r?.ui?.leadingIcon]}))},null,8,[`name`,`class`])):k(``,!0)]),m(L)(r,n.labelKey)||i.default?(x(),w(`span`,{key:0,"data-slot":`label`,class:g(u.value.label({class:[n.ui?.label,r.ui?.label]}))},[S(t.$slots,`default`,{item:r,index:a,open:s},()=>[M(l(m(L)(r,n.labelKey)),1)])],2)):k(``,!0),S(t.$slots,`trailing`,{item:r,index:a,open:s,ui:u.value},()=>[F(P,{name:r.trailingIcon||e.trailingIcon||m(o).ui.icons.chevronDown,"data-slot":`trailingIcon`,class:g(u.value.trailingIcon({class:[n.ui?.trailingIcon,r.ui?.trailingIcon]}))},null,8,[`name`,`class`])])]),_:2},1032,[`class`])]),_:2},1032,[`class`]),r.content||i.content||r.slot&&i[r.slot]||i.body||r.slot&&i[`${r.slot}-body`]?(x(),N(m($),{key:0,"data-slot":`content`,class:g(u.value.content({class:[n.ui?.content,r.ui?.content]}))},{default:v(()=>[S(t.$slots,r.slot||`content`,{item:r,index:a,open:s,ui:u.value},()=>[j(`div`,{"data-slot":`body`,class:g(u.value.body({class:[n.ui?.body,r.ui?.body]}))},[S(t.$slots,r.slot?`${r.slot}-body`:`body`,{item:r,index:a,open:s,ui:u.value},()=>[M(l(r.content),1)])],2)])]),_:2},1032,[`class`])):k(``,!0)]),_:2},1032,[`value`,`disabled`,`class`]))),128))]),_:3},16,[`type`,`class`]))}},se={slots:{root:`my-5`,trigger:`text-base`}},ce={__name:`ProseAccordion`,props:{type:{type:String,required:!1,default:`multiple`},class:{type:null,required:!1},ui:{type:void 0,required:!1}},setup(e){let t=e,n=s(),r=h(),i=I(()=>E({extend:E(se),...r.ui?.prose?.accordion||{}})),a=y(1),o=I(()=>(a.value,n.default?.()?.flatMap(c).filter(Boolean)||[]));function c(e,t){return typeof e.type==`symbol`?e.children?.map(c):{index:t,label:e.props?.label||`${t}`,description:e.props?.description,icon:e.props?.icon,component:e}}return R(()=>a.value++),(n,r)=>(x(),N(oe,{type:e.type,items:o.value,"unmount-on-hide":!1,class:g(t.class),ui:m(O)(i.value(),t.ui)},{content:v(({item:e})=>[(x(),N(f(e.component)))]),_:1},8,[`type`,`items`,`class`,`ui`]))}};export{ce as default};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{It as e,L as t,Lt as n,St as r,Tt as i,U as a,at as o,c as s,nt as c,s as l,st as u,tt as d}from"./asVu8S_S.js";var f={slots:{base:[`relative text-2xl text-highlighted font-bold mt-12 mb-6 scroll-mt-[calc(48px+45px+var(--ui-header-height))] lg:scroll-mt-[calc(48px+var(--ui-header-height))] [&>a]:focus-visible:outline-primary [&>a>code]:border-dashed hover:[&>a>code]:border-primary hover:[&>a>code]:text-primary [&>a>code]:text-xl/7 [&>a>code]:font-bold`,`[&>a>code]:transition-colors`],leading:[`absolute -ms-8 top-1 opacity-0 group-hover:opacity-100 group-focus:opacity-100 p-1 bg-elevated hover:text-primary rounded-md hidden lg:flex text-muted`,`transition`],leadingIcon:`size-4 shrink-0`,link:`group lg:ps-2 lg:-ms-2`}},p=[`id`],m=[`href`],h={__name:`ProseH2`,props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(h){let g=h,_=t(),{headings:v}=a().public?.mdc||{},y=d(()=>s({extend:s(f),..._.ui?.prose?.h2||{}})()),b=d(()=>g.id&&typeof v?.anchorLinks==`object`&&v.anchorLinks.h2);return(t,a)=>(r(),o(`h2`,{id:h.id,class:n(y.value.base({class:g.class}))},[h.id&&b.value?(r(),o(`a`,{key:0,href:`#${h.id}`,class:n(y.value.link({class:g.ui?.link}))},[c(`span`,{class:n(y.value.leading({class:g.ui?.leading}))},[u(l,{name:e(_).ui.icons.hash,class:n(y.value.leadingIcon({class:g.ui?.leadingIcon}))},null,8,[`name`,`class`])],2),i(t.$slots,`default`)],10,m)):i(t.$slots,`default`,{key:1})],10,p))}};export{h as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{P as e}from"./asVu8S_S.js";export{e as default};
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:`py-3 px-4 text-sm text-left align-top border-e border-b first:border-s border-muted [&_code]:text-xs/5 [&_p]:my-0 [&_p]:leading-6 [&_ul]:my-0 [&_ol]:my-0 [&_ul]:ps-4.5 [&_ol]:ps-4.5 [&_li]:leading-6 [&_li]:my-0.5`},c={__name:`ProseTd`,props:{class:{type:null,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.td||{}}));return(e,a)=>(n(),i(`td`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,U as i,at as a,c as o,tt as s}from"./asVu8S_S.js";var c={slots:{base:`text-4xl text-highlighted font-bold mb-8 scroll-mt-[calc(45px+var(--ui-header-height))] lg:scroll-mt-(--ui-header-height)`,link:`inline-flex items-center gap-2`}},l=[`id`],u=[`href`],d={__name:`ProseH1`,props:{id:{type:String,required:!1},class:{type:null,required:!1},ui:{type:null,required:!1}},setup(d){let f=d,p=e(),{headings:m}=i().public?.mdc||{},h=s(()=>o({extend:o(c),...p.ui?.prose?.h1||{}})()),g=s(()=>f.id&&typeof m?.anchorLinks==`object`&&m.anchorLinks.h1);return(e,i)=>(n(),a(`h1`,{id:d.id,class:t(h.value.base({class:f.class}))},[d.id&&g.value?(n(),a(`a`,{key:0,href:`#${d.id}`,class:t(h.value.link({class:f.ui?.link}))},[r(e.$slots,`default`)],10,u)):r(e.$slots,`default`,{key:1})],10,l))}};export{d as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:`my-5 leading-7 text-pretty`},c={__name:`ProseP`,props:{class:{type:null,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.p||{}}));return(e,a)=>(n(),i(`p`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
File without changes
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,St as n,Tt as r,at as i,c as a,tt as o}from"./asVu8S_S.js";var s={base:`[&:first-child>th:first-child]:rounded-tl-md [&:first-child>th:last-child]:rounded-tr-md [&:last-child>td:first-child]:rounded-bl-md [&:last-child>td:last-child]:rounded-br-md`},c={__name:`ProseTr`,props:{class:{type:null,required:!1}},setup(c){let l=c,u=e(),d=o(()=>a({extend:a(s),...u.ui?.prose?.tr||{}}));return(e,a)=>(n(),i(`tr`,{class:t(d.value({class:l.class}))},[r(e.$slots,`default`)],2))}};export{c as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Bt as e,L as t,Lt as n,St as r,Tt as i,at as a,c as o,ot as s,tt as c}from"./asVu8S_S.js";var l={base:`pb-4 text-muted *:first:mt-0 *:last:mb-0 *:my-1.5`},u={__name:`ProseAccordionItem`,props:{label:{type:String,required:!0},description:{type:String,required:!1},class:{type:null,required:!1}},setup(u){let d=u,f=t(),p=c(()=>o({extend:o(l),...f.ui?.prose?.accordionItem||{}}));return(t,o)=>(r(),a(`div`,{class:n(p.value({class:d.class}))},[i(t.$slots,`default`,{},()=>[s(e(u.description),1)])],2))}};export{u as default};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{L as e,Lt as t,Mt as n,St as r,Tt as i,c as a,n as o,rt as s,tt as c}from"./asVu8S_S.js";var l={base:[`text-primary border-b border-transparent hover:border-primary font-medium focus-visible:outline-primary [&>code]:border-dashed hover:[&>code]:border-primary hover:[&>code]:text-primary`,`transition-colors [&>code]:transition-colors`]},u={__name:`ProseA`,props:{href:{type:String,required:!1},target:{type:null,required:!1},class:{type:null,required:!1}},setup(u){let d=e(),f=c(()=>a({extend:a(l),...d.ui?.prose?.a||{}})),p=u;return(e,a)=>(r(),s(o,{href:u.href,target:u.target,class:t(f.value({class:p.class})),raw:``},{default:n(()=>[i(e.$slots,`default`)]),_:3},8,[`href`,`target`,`class`]))}};export{u as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"./COPw3T3p.js";import{t as e}from"./DQKS5ddY.js";export{e as default};
|
|
File without changes
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ot as e,k as t,q as n}from"./asVu8S_S.js";var r=0;function i(i,a=`reka`){if(i)return i;if(`useId`in n)return`${a}-${e?.()}`;let o=t({useId:void 0});return o.useId?`${a}-${o.useId()}`:`${a}-${++r}`}export{i as t};
|
|
File without changes
|