@unocss/runtime 66.7.2-beta.1 → 66.7.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@unocss/runtime",
3
3
  "type": "module",
4
- "version": "66.7.2-beta.1",
4
+ "version": "66.7.3",
5
5
  "description": "CSS-in-JS Runtime for UnoCSS",
6
6
  "author": "Anthony Fu <anthonyfu117@hotmail.com>",
7
7
  "license": "MIT",
@@ -36,9 +36,9 @@
36
36
  ],
37
37
  "dependencies": {
38
38
  "@iconify/utils": "^3.1.3",
39
- "@unocss/core": "66.7.2-beta.1",
40
- "@unocss/preset-uno": "66.7.2-beta.1",
41
- "@unocss/preset-attributify": "66.7.2-beta.1"
39
+ "@unocss/preset-attributify": "66.7.3",
40
+ "@unocss/core": "66.7.3",
41
+ "@unocss/preset-uno": "66.7.3"
42
42
  },
43
43
  "scripts": {
44
44
  "build": "tsdown",
@@ -1 +1 @@
1
- (function(){let e=Object.freeze({left:0,top:0,width:16,height:16}),t=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),n=Object.freeze({...e,...t}),r=Object.freeze({...n,body:``,hidden:!1}),i=Object.freeze({width:null,height:null}),a=Object.freeze({...i,...t});function o(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function s(e,n){let i=o(e,n);for(let a in r)a in t?a in e&&!(a in i)&&(i[a]=t[a]):a in n?i[a]=n[a]:a in e&&(i[a]=e[a]);return i}function c(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function l(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=s(r[e]||i[e],a)}return o(t),n.forEach(o),s(e,a)}function u(e,t){if(e.icons[t])return l(e,t,[]);let n=c(e,[t])[t];return n?l(e,t,n):null}let d=/(-?[0-9.]*[0-9]+[0-9.]*)/g,f=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function p(e,t,n){if(t===1)return e;if(n||=100,typeof e==`number`)return Math.ceil(e*t*n)/n;if(typeof e!=`string`)return e;let r=e.split(d);if(r===null||!r.length)return e;let i=[],a=r.shift(),o=f.test(a);for(;;){if(o){let e=parseFloat(a);isNaN(e)?i.push(a):i.push(Math.ceil(e*t*n)/n)}else i.push(a);if(a=r.shift(),a===void 0)return i.join(``);o=!o}}function m(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function h(e,t){return e?`<defs>`+e+`</defs>`+t:t}function g(e,t,n){let r=m(e);return h(r.defs,t+r.content+n)}let _=e=>e===`unset`||e===`undefined`||e===`none`;function v(e,t){let r={...n,...e},i={...a,...t},o={left:r.left,top:r.top,width:r.width,height:r.height},s=r.body;[r,i].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,i=e.rotate;n?r?i+=2:(t.push(`translate(`+(o.width+o.left).toString()+` `+(0-o.top).toString()+`)`),t.push(`scale(-1 1)`),o.top=o.left=0):r&&(t.push(`translate(`+(0-o.left).toString()+` `+(o.height+o.top).toString()+`)`),t.push(`scale(1 -1)`),o.top=o.left=0);let a;switch(i<0&&(i-=Math.floor(i/4)*4),i%=4,i){case 1:a=o.height/2+o.top,t.unshift(`rotate(90 `+a.toString()+` `+a.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(o.width/2+o.left).toString()+` `+(o.height/2+o.top).toString()+`)`);break;case 3:a=o.width/2+o.left,t.unshift(`rotate(-90 `+a.toString()+` `+a.toString()+`)`);break}i%2==1&&(o.left!==o.top&&(a=o.left,o.left=o.top,o.top=a),o.width!==o.height&&(a=o.width,o.width=o.height,o.height=a)),t.length&&(s=g(s,`<g transform="`+t.join(` `)+`">`,`</g>`))});let c=i.width,l=i.height,u=o.width,d=o.height,f,m;c===null?(m=l===null?`1em`:l===`auto`?d:l,f=p(m,u/d)):(f=c===`auto`?u:c,m=l===null?p(f,d/u):l===`auto`?d:l);let h={},v=(e,t)=>{_(t)||(h[e]=t.toString())};v(`width`,f),v(`height`,m);let y=[o.left,o.top,u,d];return h.viewBox=y.join(` `),{attributes:h,viewBox:y,body:s}}function y(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function b(e){let t=e.startsWith(`<svg>`)?e.replace(`<svg>`,`<svg >`):e;return!t.includes(` xmlns:xlink=`)&&t.includes(` xlink:`)&&(t=t.replace(`<svg `,`<svg xmlns:xlink="http://www.w3.org/1999/xlink" `)),t.includes(` xmlns=`)||(t=t.replace(`<svg `,`<svg xmlns="http://www.w3.org/2000/svg" `)),y(t)}function x(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,`$1 $2`).replace(/(["';{}><])\s*\n\s*/g,`$1`).replace(/\s*\n\s*/g,` `).replace(/\s+"/g,`"`).replace(/="\s+/g,`="`).replace(/(\s)+\/>/g,`/>`).trim()}let S=/\swidth\s*=\s*["']([^"']+)["']/,C=/\sheight\s*=\s*["']([^"']+)["']/,w=/\sviewBox\s*=\s*["']([^"']+)["']/,T=/<svg\s+/,E=`__iconify_loader_width`,D=`__iconify_loader_height`;function O(e){return e===void 0?e:e.toString()}function k(e,t){return typeof t==`number`?t>0?O(p(e??`1em`,t)):void 0:e}function A(e,t){let n=t.viewBox??w.exec(e)?.[1];if(!n)return;let r=n.trim().split(/[\s,]+/).map(e=>parseFloat(e));if(r.length!==4||r.some(e=>!Number.isFinite(e)))return;let i=r[2],a=r[3];if(!(i<=0||a<=0))return i/a}function j(e,t,n){let r=e.slice(0,e.indexOf(`>`)),i=S.test(r),a=C.test(r),o=t.__iconify_loader_width??S.exec(r)?.[1],s=t.__iconify_loader_height??C.exec(r)?.[1],c=A(r,t);delete t[E],delete t[D];let l=t.width,u=t.height,d=!!l||_(l),f=!!u||_(u);if(d||f)d?_(l)&&(delete t.width,(!f||_(u))&&delete t.height):_(u)?(delete t.width,delete t.height):c?(t.width=O(p(u,c)),t.height=u):delete t.width,f?_(u)&&delete t.height:_(l)?delete t.height:c?(t.height=O(p(l,1/c)),t.width=l):delete t.height;else{let e=k(o,n),r=k(s,n);e&&(t.width=e),r&&(t.height=r)}return[i,a]}async function M(e,t,n,r,i,a){let{scale:o,addXmlNs:s=!1}=r??{},{additionalProps:c={},iconCustomizer:l}=r?.customizations??{},u=await i?.()??{};await l?.(t,n,u),Object.keys(c).forEach(e=>{let t=c[e];t!=null&&(u[e]=t)}),a?.(u);let[d,f]=j(e,u,o);s&&(!e.includes(`xmlns=`)&&!u.xmlns&&(u.xmlns=`http://www.w3.org/2000/svg`),!e.includes(`xmlns:xlink=`)&&e.includes(`xlink:`)&&!u[`xmlns:xlink`]&&(u[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`));let p=Object.keys(u).map(e=>e===`width`&&d||e===`height`&&f?null:`${e}="${u[e]}"`).filter(e=>e!=null);if(p.length&&(e=e.replace(T,`<svg ${p.join(` `)} `)),r){let{defaultStyle:t,defaultClass:n}=r;n&&!e.includes(`class=`)&&(e=e.replace(T,`<svg class="${n}" `)),t&&!e.includes(`style=`)&&(e=e.replace(T,`<svg style="${t}" `))}let m=r?.usedProps;return m&&(Object.keys(c).forEach(e=>{let t=u[e];t!=null&&(m[e]=t)}),u.width!==void 0&&u.width!==null&&(m.width=u.width),u.height!==void 0&&u.height!==null&&(m.height=u.height)),e}async function N(e,t,n,r){let i;try{if(typeof e==`function`)i=await e(n);else{let t=e[n];i=typeof t==`function`?await t():t}}catch(e){console.warn(`Failed to load custom icon "${n}" in "${t}":`,e);return}if(i){let e=i.indexOf(`<svg`);e>0&&(i=i.slice(e));let{transform:a}=r?.customizations??{};return i=typeof a==`function`?await a(i,t,n):i,i.startsWith(`<svg`)?await M(r?.customizations?.trimCustomSvg===!0?x(i):i,t,n,r,void 0):(console.warn(`Custom icon "${n}" in "${t}" is not a valid SVG`),i)}}async function P(e,t,n,r){let i,{customize:o}=r?.customizations??{};for(let s of n)if(i=u(e,s),i){let e={...a};typeof o==`function`&&(i=Object.assign({},i),e=o(e,i,`${t}:${s}`)??e);let{attributes:{width:n,height:c,...l},body:u}=v(i,e);return await M(`<svg >${u}</svg>`,t,s,r,()=>({...l,...n?{[E]:n}:{},...c?{[D]:c}:{}}))}}let F=async(e,t,n)=>{let r=n?.customCollections?.[e];if(r)if(typeof r==`function`){let i;try{i=await r(t)}catch(n){console.warn(`Failed to load custom icon "${t}" in "${e}":`,n);return}if(i){if(typeof i==`string`)return await N(()=>i,e,t,n);if(`icons`in i){let r=[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)];return await P(i,e,r,n)}}}else return await N(r,e,t,n)},I=new Set;function L(e){I.has(e)||(console.warn(`[unocss]`,e),I.add(e))}function R(e){return e}function z(){let e=typeof process<`u`&&process.stdout;return{isNode:e,isVSCode:e&&!!process.env.VSCODE_CWD,isESLint:e&&!!process.env.ESLINT}}var B=`academicons.akar-icons.ant-design.arcticons.at-icons.basil.bi.bitcoin-icons.boxicons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.gcp.geo.gg.ginetex.gis.glyphs-poly.glyphs.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pinhead.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wordpress.wpf.zmdi.zondicons`.split(`.`);function V(e){return R((t={})=>{let{scale:n=1,mode:r=`auto`,prefix:i=`i-`,warn:a=!1,iconifyCollectionsNames:o,collections:s,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:f=`icons`,unit:p,processor:m}=t,h=z(),g={addXmlNs:!0,scale:n,customCollections:s,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,r){await l.iconCustomizer?.(e,t,r),p&&(r.width||=`${n}${p}`,r.height||=`${n}${p}`)}}},_;return{name:`@unocss/preset-icons`,enforce:`pre`,options:t,layers:{icons:-30},api:{encodeSvgForCss:b,parseIconWithLoader:H},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,s,c=r]=n;_||=await e(t);let l={},u=await H(s,_,{...g,usedProps:l},o);if(!u){a&&!h.isESLint&&L(`failed to load icon "${i}"`);return}let d,f=`url("data:image/svg+xml;utf8,${b(u.svg)}")`;return c===`auto`&&(c=u.svg.includes(`currentColor`)?`mask`:`bg`),d=c===`mask`?{"--un-icon":f,"-webkit-mask":`var(--un-icon) no-repeat`,mask:`var(--un-icon) no-repeat`,"-webkit-mask-size":`100% 100%`,"mask-size":`100% 100%`,"background-color":`currentColor`,color:`inherit`,...l}:{background:`${f} no-repeat`,"background-size":`100% 100%`,"background-color":`transparent`,...l},m?.(d,{...u,icon:u.name,mode:c}),d},{layer:f,prefix:i}]]}})}async function H(e,t,n={},r=[]){let i=``,a=``,o,s=new Set([...B,...r,...Object.keys(n.customCollections||{})]);if(e.includes(`:`)){if([i,a]=e.split(`:`),!s.has(i))return;o=await t(i,a,n)}else{let r=e.split(/-/g);for(let e=3;e>=1&&(i=r.slice(0,e).join(`-`),!(s.has(i)&&(a=r.slice(e).join(`-`),o=await t(i,a,n),o)));e--);}if(o)return{collection:i,name:a,svg:o}}var U=`academicons.akar-icons.ant-design.arcticons.at-icons.basil.bi.bitcoin-icons.boxicons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.gcp.geo.gg.ginetex.gis.glyphs-poly.glyphs.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pinhead.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wordpress.wpf.zmdi.zondicons`.split(`.`);function W(e,t,n=new Map){function r(r){if(U.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(e,t,n)=>{let i=await F(e,t,n);if(i)return i;let a=await r(e);return a&&(i=await P(a,e,[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)],n)),i}}window.__unocss_runtime=window.__unocss_runtime??{},window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=V(async e=>{let t=e?.customFetch??(e=>fetch(e).then(e=>e.json())),n=e?.cdn;return n?W(t,n):F});return{presetIcons:t=>e(t)}})())})();
1
+ (function(){function e(e){return e.replace(/(['"])\s*\n\s*([^>\\/\s])/g,`$1 $2`).replace(/(["';{}><])\s*\n\s*/g,`$1`).replace(/\s*\n\s*/g,` `).replace(/\s+"/g,`"`).replace(/="\s+/g,`="`).replace(/(\s)+\/>/g,`/>`).trim()}let t=/(-?[0-9.]*[0-9]+[0-9.]*)/g,n=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function r(e,r,i){if(r===1)return e;if(i||=100,typeof e==`number`)return Math.ceil(e*r*i)/i;if(typeof e!=`string`)return e;let a=e.split(t);if(a===null||!a.length)return e;let o=[],s=a.shift(),c=n.test(s);for(;;){if(c){let e=parseFloat(s);isNaN(e)?o.push(s):o.push(Math.ceil(e*r*i)/i)}else o.push(s);if(s=a.shift(),s===void 0)return o.join(``);c=!c}}let i=Object.freeze({left:0,top:0,width:16,height:16}),a=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),o=Object.freeze({...i,...a}),s=Object.freeze({...o,body:``,hidden:!1}),c=Object.freeze({width:null,height:null}),l=Object.freeze({...c,...a});function u(e,t=`defs`){let n=``,r=e.indexOf(`<`+t);for(;r>=0;){let i=e.indexOf(`>`,r),a=e.indexOf(`</`+t);if(i===-1||a===-1)break;let o=e.indexOf(`>`,a);if(o===-1)break;n+=e.slice(i+1,a).trim(),e=e.slice(0,r).trim()+e.slice(o+1)}return{defs:n,content:e}}function d(e,t){return e?`<defs>`+e+`</defs>`+t:t}function f(e,t,n){let r=u(e);return d(r.defs,t+r.content+n)}let p=e=>e===`unset`||e===`undefined`||e===`none`;function m(e,t){let n={...o,...e},i={...l,...t},a={left:n.left,top:n.top,width:n.width,height:n.height},s=n.body;[n,i].forEach(e=>{let t=[],n=e.hFlip,r=e.vFlip,i=e.rotate;n?r?i+=2:(t.push(`translate(`+(a.width+a.left).toString()+` `+(0-a.top).toString()+`)`),t.push(`scale(-1 1)`),a.top=a.left=0):r&&(t.push(`translate(`+(0-a.left).toString()+` `+(a.height+a.top).toString()+`)`),t.push(`scale(1 -1)`),a.top=a.left=0);let o;switch(i<0&&(i-=Math.floor(i/4)*4),i%=4,i){case 1:o=a.height/2+a.top,t.unshift(`rotate(90 `+o.toString()+` `+o.toString()+`)`);break;case 2:t.unshift(`rotate(180 `+(a.width/2+a.left).toString()+` `+(a.height/2+a.top).toString()+`)`);break;case 3:o=a.width/2+a.left,t.unshift(`rotate(-90 `+o.toString()+` `+o.toString()+`)`);break}i%2==1&&(a.left!==a.top&&(o=a.left,a.left=a.top,a.top=o),a.width!==a.height&&(o=a.width,a.width=a.height,a.height=o)),t.length&&(s=f(s,`<g transform="`+t.join(` `)+`">`,`</g>`))});let c=i.width,u=i.height,d=a.width,m=a.height,h,g;c===null?(g=u===null?`1em`:u===`auto`?m:u,h=r(g,d/m)):(h=c===`auto`?d:c,g=u===null?r(h,m/d):u===`auto`?m:u);let _={},v=(e,t)=>{p(t)||(_[e]=t.toString())};v(`width`,h),v(`height`,g);let y=[a.left,a.top,d,m];return _.viewBox=y.join(` `),{attributes:_,viewBox:y,body:s}}let h=/\swidth\s*=\s*["']([^"']+)["']/,g=/\sheight\s*=\s*["']([^"']+)["']/,_=/\sviewBox\s*=\s*["']([^"']+)["']/,v=/<svg\s+/,y=`__iconify_loader_width`,b=`__iconify_loader_height`;function x(e){return e===void 0?e:e.toString()}function S(e,t){return typeof t==`number`?t>0?x(r(e??`1em`,t)):void 0:e}function C(e,t){let n=t.viewBox??_.exec(e)?.[1];if(!n)return;let r=n.trim().split(/[\s,]+/).map(e=>parseFloat(e));if(r.length!==4||r.some(e=>!Number.isFinite(e)))return;let i=r[2],a=r[3];if(!(i<=0||a<=0))return i/a}function w(e,t,n){let i=e.slice(0,e.indexOf(`>`)),a=h.test(i),o=g.test(i),s=t.__iconify_loader_width??h.exec(i)?.[1],c=t.__iconify_loader_height??g.exec(i)?.[1],l=C(i,t);delete t[y],delete t[b];let u=t.width,d=t.height,f=!!u||p(u),m=!!d||p(d);if(f||m)f?p(u)&&(delete t.width,(!m||p(d))&&delete t.height):p(d)?(delete t.width,delete t.height):l?(t.width=x(r(d,l)),t.height=d):delete t.width,m?p(d)&&delete t.height:p(u)?delete t.height:l?(t.height=x(r(u,1/l)),t.width=u):delete t.height;else{let e=S(s,n),r=S(c,n);e&&(t.width=e),r&&(t.height=r)}return[a,o]}async function T(e,t,n,r,i,a){let{scale:o,addXmlNs:s=!1}=r??{},{additionalProps:c={},iconCustomizer:l}=r?.customizations??{},u=await i?.()??{};await l?.(t,n,u),Object.keys(c).forEach(e=>{let t=c[e];t!=null&&(u[e]=t)}),a?.(u);let[d,f]=w(e,u,o);s&&(!e.includes(`xmlns=`)&&!u.xmlns&&(u.xmlns=`http://www.w3.org/2000/svg`),!e.includes(`xmlns:xlink=`)&&e.includes(`xlink:`)&&!u[`xmlns:xlink`]&&(u[`xmlns:xlink`]=`http://www.w3.org/1999/xlink`));let p=Object.keys(u).map(e=>e===`width`&&d||e===`height`&&f?null:`${e}="${u[e]}"`).filter(e=>e!=null);if(p.length&&(e=e.replace(v,`<svg ${p.join(` `)} `)),r){let{defaultStyle:t,defaultClass:n}=r;n&&!e.includes(`class=`)&&(e=e.replace(v,`<svg class="${n}" `)),t&&!e.includes(`style=`)&&(e=e.replace(v,`<svg style="${t}" `))}let m=r?.usedProps;return m&&(Object.keys(c).forEach(e=>{let t=u[e];t!=null&&(m[e]=t)}),u.width!==void 0&&u.width!==null&&(m.width=u.width),u.height!==void 0&&u.height!==null&&(m.height=u.height)),e}async function E(t,n,r,i){let a;try{if(typeof t==`function`)a=await t(r);else{let e=t[r];a=typeof e==`function`?await e():e}}catch(e){console.warn(`Failed to load custom icon "${r}" in "${n}":`,e);return}if(a){let t=a.indexOf(`<svg`);t>0&&(a=a.slice(t));let{transform:o}=i?.customizations??{};return a=typeof o==`function`?await o(a,n,r):a,a.startsWith(`<svg`)?await T(i?.customizations?.trimCustomSvg===!0?e(a):a,n,r,i,void 0):(console.warn(`Custom icon "${r}" in "${n}" is not a valid SVG`),a)}}function D(e,t){let n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);let r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function O(e,t){let n=D(e,t);for(let r in s)r in a?r in e&&!(r in n)&&(n[r]=a[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function k(e,t){let n=e.icons,r=e.aliases||Object.create(null),i=Object.create(null);function a(e){if(n[e])return i[e]=[];if(!(e in i)){i[e]=null;let t=r[e]&&r[e].parent,n=t&&a(t);n&&(i[e]=[t].concat(n))}return i[e]}return(t||Object.keys(n).concat(Object.keys(r))).forEach(a),i}function A(e,t,n){let r=e.icons,i=e.aliases||Object.create(null),a={};function o(e){a=O(r[e]||i[e],a)}return o(t),n.forEach(o),O(e,a)}function j(e,t){if(e.icons[t])return A(e,t,[]);let n=k(e,[t])[t];return n?A(e,t,n):null}async function M(e,t,n,r){let i,{customize:a}=r?.customizations??{};for(let o of n)if(i=j(e,o),i){let e={...l};typeof a==`function`&&(i=Object.assign({},i),e=a(e,i,`${t}:${o}`)??e);let{attributes:{width:n,height:s,...c},body:u}=m(i,e);return await T(`<svg >${u}</svg>`,t,o,r,()=>({...c,...n?{[y]:n}:{},...s?{[b]:s}:{}}))}}let N=async(e,t,n)=>{let r=n?.customCollections?.[e];if(r)if(typeof r==`function`){let i;try{i=await r(t)}catch(n){console.warn(`Failed to load custom icon "${t}" in "${e}":`,n);return}if(i){if(typeof i==`string`)return await E(()=>i,e,t,n);if(`icons`in i){let r=[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)];return await M(i,e,r,n)}}}else return await E(r,e,t,n)},P=new Set;function F(e){P.has(e)||(console.warn(`[unocss]`,e),P.add(e))}function I(e){return e}function L(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function R(e){let t=e.startsWith(`<svg>`)?e.replace(`<svg>`,`<svg >`):e;return!t.includes(` xmlns:xlink=`)&&t.includes(` xlink:`)&&(t=t.replace(`<svg `,`<svg xmlns:xlink="http://www.w3.org/1999/xlink" `)),t.includes(` xmlns=`)||(t=t.replace(`<svg `,`<svg xmlns="http://www.w3.org/2000/svg" `)),L(t)}function z(){let e=typeof process<`u`&&process.stdout;return{isNode:e,isVSCode:e&&!!process.env.VSCODE_CWD,isESLint:e&&!!process.env.ESLINT}}var B=`academicons.akar-icons.ant-design.arcticons.at-icons.basil.bi.bitcoin-icons.boxicons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.gcp.geo.gg.ginetex.gis.glyphs-poly.glyphs.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.osmic.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pinhead.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.selfhst.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wordpress.wpf.zmdi.zondicons`.split(`.`);function V(e){return I((t={})=>{let{scale:n=1,mode:r=`auto`,prefix:i=`i-`,warn:a=!1,iconifyCollectionsNames:o,collections:s,extraProperties:c={},customizations:l={},autoInstall:u=!1,collectionsNodeResolvePath:d,layer:f=`icons`,unit:p,processor:m}=t,h=z(),g={addXmlNs:!0,scale:n,customCollections:s,autoInstall:u,cwd:d,warn:void 0,customizations:{...l,additionalProps:{...c},trimCustomSvg:!0,async iconCustomizer(e,t,r){await l.iconCustomizer?.(e,t,r),p&&(r.width||=`${n}${p}`,r.height||=`${n}${p}`)}}},_;return{name:`@unocss/preset-icons`,enforce:`pre`,options:t,layers:{icons:-30},api:{encodeSvgForCss:R,parseIconWithLoader:H},rules:[[/^([\w:-]+)(?:\?(mask|bg|auto))?$/,async n=>{let[i,s,c=r]=n;_||=await e(t);let l={},u=await H(s,_,{...g,usedProps:l},o);if(!u){a&&!h.isESLint&&F(`failed to load icon "${i}"`);return}let d,f=`url("data:image/svg+xml;utf8,${R(u.svg)}")`;return c===`auto`&&(c=u.svg.includes(`currentColor`)?`mask`:`bg`),d=c===`mask`?{"--un-icon":f,"-webkit-mask":`var(--un-icon) no-repeat`,mask:`var(--un-icon) no-repeat`,"-webkit-mask-size":`100% 100%`,"mask-size":`100% 100%`,"background-color":`currentColor`,color:`inherit`,...l}:{background:`${f} no-repeat`,"background-size":`100% 100%`,"background-color":`transparent`,...l},m?.(d,{...u,icon:u.name,mode:c}),d},{layer:f,prefix:i}]]}})}async function H(e,t,n={},r=[]){let i=``,a=``,o,s=new Set([...B,...r,...Object.keys(n.customCollections||{})]);if(e.includes(`:`)){if([i,a]=e.split(`:`),!s.has(i))return;o=await t(i,a,n)}else{let r=e.split(/-/g);for(let e=3;e>=1&&(i=r.slice(0,e).join(`-`),!(s.has(i)&&(a=r.slice(e).join(`-`),o=await t(i,a,n),o)));e--);}if(o)return{collection:i,name:a,svg:o}}var U=`academicons.akar-icons.ant-design.arcticons.at-icons.basil.bi.bitcoin-icons.boxicons.bpmn.brandico.bubbles.bx.bxl.bxs.bytesize.carbon.catppuccin.cbi.charm.ci.cib.cif.cil.circle-flags.circum.clarity.codex.codicon.covid.cryptocurrency-color.cryptocurrency.cuida.dashicons.devicon-line.devicon-original.devicon-plain.devicon.dinkie-icons.duo-icons.ei.el.emblemicons.emojione-monotone.emojione-v1.emojione.entypo-social.entypo.eos-icons.ep.et.eva.f7.fa-brands.fa-regular.fa-solid.fa.fa6-brands.fa6-regular.fa6-solid.fa7-brands.fa7-regular.fa7-solid.fad.famicons.fe.feather.file-icons.flag.flagpack.flat-color-icons.flat-ui.flowbite.fluent-color.fluent-emoji-flat.fluent-emoji-high-contrast.fluent-emoji.fluent-mdl2.fluent.fontelico.fontisto.formkit.foundation.fxemoji.gala.game-icons.garden.gcp.geo.gg.ginetex.gis.glyphs-poly.glyphs.gravity-ui.gridicons.grommet-icons.guidance.healthicons.heroicons-outline.heroicons-solid.heroicons.hugeicons.humbleicons.ic.icomoon-free.icon-park-outline.icon-park-solid.icon-park-twotone.icon-park.iconamoon.iconoir.icons8.il.ion.iwwa.ix.jam.la.lets-icons.line-md.lineicons.logos.ls.lsicon.lucide-lab.lucide.mage.majesticons.maki.map.marketeq.material-icon-theme.material-symbols-light.material-symbols.mdi-light.mdi.medical-icon.memory.meteocons.meteor-icons.mi.mingcute.mono-icons.mynaui.nimbus.nonicons.noto-v1.noto.nrk.octicon.oi.ooui.openmoji.osmic.oui.pajamas.pepicons-pencil.pepicons-pop.pepicons-print.pepicons.ph.picon.pinhead.pixel.pixelarticons.prime.proicons.ps.qlementine-icons.quill.radix-icons.raphael.ri.rivet-icons.roentgen.selfhst.si-glyph.si.sidekickicons.simple-icons.simple-line-icons.skill-icons.solar.stash.streamline-block.streamline-color.streamline-cyber-color.streamline-cyber.streamline-emojis.streamline-flex-color.streamline-flex.streamline-freehand-color.streamline-freehand.streamline-guidance.streamline-kameleon-color.streamline-logos.streamline-pixel.streamline-plump-color.streamline-plump.streamline-sharp-color.streamline-sharp.streamline-stickies-color.streamline-ultimate-color.streamline-ultimate.streamline.subway.svg-spinners.system-uicons.tabler.tdesign.teenyicons.temaki.token-branded.token.topcoat.twemoji.typcn.uil.uim.uis.uit.uiw.unjs.vaadin.vs.vscode-icons.websymbol.weui.whh.wi.wordpress.wpf.zmdi.zondicons`.split(`.`);function W(e,t,n=new Map){function r(r){if(U.includes(r))return n.has(r)||n.set(r,e(`${t}@iconify-json/${r}/icons.json`)),n.get(r)}return async(e,t,n)=>{let i=await N(e,t,n);if(i)return i;let a=await r(e);return a&&(i=await M(a,e,[t,t.replace(/([a-z])([A-Z])/g,`$1-$2`).toLowerCase(),t.replace(/([a-z])(\d+)/g,`$1-$2`)],n)),i}}window.__unocss_runtime=window.__unocss_runtime??{},window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},(()=>{let e=V(async e=>{let t=e?.customFetch??(e=>fetch(e).then(e=>e.json())),n=e?.cdn;return n?W(t,n):N});return{presetIcons:t=>e(t)}})())})();
@@ -1 +1 @@
1
- (function(){function e(e=[]){return Array.isArray(e)?e:[e]}function t(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function n(e){return e&&typeof e==`object`&&!Array.isArray(e)}function r(e,t,i=!1){let a=e,o=t;if(Array.isArray(o))return i&&Array.isArray(o)?[...a,...o]:[...o];let s={...a};return n(a)&&n(o)&&Object.keys(o).forEach(e=>{n(a[e])&&n(o[e])||Array.isArray(a[e])&&Array.isArray(o[e])?s[e]=r(a[e],o[e],i):Object.assign(s,{[e]:o[e]})}),s}function i(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r==`object`?i(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:i(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?i(r):r;return n}return e}function a(e){return e}let o={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,noScope:`$$symbol-no-scope`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`},s=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],c=[`%alpha`,`<alpha-value>`],l=new RegExp(c.map(e=>t(e)).join(`|`),`g`);function u(e,t){if(typeof e==`string`)return e.replace(l,`${t??1}`);let{components:n}=e,{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),[`hsla`,`rgba`].includes(i)?`${i}(${n.join(`, `)}${r==null?``:`, ${r}`})`:(r=r==null?``:` / ${r}`,s.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}RegExp(`^(${s.join(`|`)})\\((.+)\\)$`,`i`);let d=`__pseudo_placeholder__`,f=Object.fromEntries([[`first-letter`,`::first-letter`],[`first-line`,`::first-line`],`any-link`,`link`,`visited`,`target`,[`open`,`[open]`],`default`,`checked`,`indeterminate`,`placeholder-shown`,`autofill`,`optional`,`required`,`valid`,`invalid`,`user-valid`,`user-invalid`,`in-range`,`out-of-range`,`read-only`,`read-write`,`empty`,`focus-within`,`hover`,`focus`,`focus-visible`,`active`,`enabled`,`disabled`,`popover-open`,`root`,`empty`,[`even-of-type`,`:nth-of-type(even)`],[`even`,`:nth-child(even)`],[`odd-of-type`,`:nth-of-type(odd)`],[`odd`,`:nth-child(odd)`],[`nth`,`:nth-child(${d})`],[`nth-last`,`:nth-last-child(${d})`],[`nth-last-of-type`,`:nth-last-of-type(${d})`],[`nth-of-type`,`:nth-of-type(${d})`],`first-of-type`,[`first`,`:first-child`],`last-of-type`,[`last`,`:last-child`],`only-child`,`only-of-type`,[`backdrop-element`,`::backdrop`],[`placeholder`,`::placeholder`],[`before`,`::before`],[`after`,`::after`],[`file`,`::file-selector-button`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),p=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`])),m=[`not`,`is`,`where`,`has`],h=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]);Object.entries(f).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(p).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),m.join(`|`),Object.keys(h).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(f).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(p).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);let g=[[`headings`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`th`],[`h1`],[`h2`],[`h3`],[`h4`],[`h5`],[`h6`],[`p`],[`a`],[`blockquote`],[`figure`],[`figcaption`],[`strong`],[`em`],[`kbd`],[`code`],[`pre`],[`ol`],[`ul`],[`li`],[`table`],[`thead`],[`tr`],[`th`],[`td`],[`img`],[`video`],[`hr`]],_={body:[700,300],headings:[900,`white`],lead:[600,400],links:[900,`white`],bold:[900,`white`],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,`white`],"kbd-shadows":[900,`white`],code:[900,`white`],"pre-code":[200,300],"pre-bg":[800,`rgb(0 0 0 / 50%)`],"th-borders":[300,600],"td-borders":[200,700]},v=e=>e.toFixed(7).replace(/0+$/,``).replace(/\.$/,``),y=e=>`${v(e/16)}rem`,b=(e,t)=>`${v(e/t)}em`,x={color:`var(--un-prose-body)`,"max-width":`65ch`,p:{},'[class~="lead"]':{color:`var(--un-prose-lead)`},a:{color:`var(--un-prose-links)`,"text-decoration":`underline`,"font-weight":`500`},strong:{color:`var(--un-prose-bold)`,"font-weight":`600`},"a strong":{color:`inherit`},"blockquote strong":{color:`inherit`},"thead th strong":{color:`inherit`},ol:{"list-style-type":`decimal`},'ol[type="A"]':{"list-style-type":`upper-alpha`},'ol[type="a"]':{"list-style-type":`lower-alpha`},'ol[type="A" s]':{"list-style-type":`upper-alpha`},'ol[type="a" s]':{"list-style-type":`lower-alpha`},'ol[type="I"]':{"list-style-type":`upper-roman`},'ol[type="i"]':{"list-style-type":`lower-roman`},'ol[type="I" s]':{"list-style-type":`upper-roman`},'ol[type="i" s]':{"list-style-type":`lower-roman`},'ol[type="1"]':{"list-style-type":`decimal`},ul:{"list-style-type":`disc`},"ol > li::marker":{"font-weight":`400`,color:`var(--un-prose-counters)`},"ul > li::marker":{color:`var(--un-prose-bullets)`},dt:{color:`var(--un-prose-headings)`,"font-weight":`600`},hr:{"border-color":`var(--un-prose-hr)`,"border-top-width":`1px`},blockquote:{"font-weight":`500`,"font-style":`italic`,color:`var(--un-prose-quotes)`,"border-inline-start-width":`0.25rem`,"border-inline-start-color":`var(--un-prose-quote-borders)`,quotes:`"\\201C""\\201D""\\2018""\\2019"`},"blockquote p:first-of-type::before":{content:`open-quote`},"blockquote p:last-of-type::after":{content:`close-quote`},h1:{color:`var(--un-prose-headings)`,"font-weight":`800`},"h1 strong":{"font-weight":`900`,color:`inherit`},h2:{color:`var(--un-prose-headings)`,"font-weight":`700`},"h2 strong":{"font-weight":`800`,color:`inherit`},h3:{color:`var(--un-prose-headings)`,"font-weight":`600`},"h3 strong":{"font-weight":`700`,color:`inherit`},h4:{color:`var(--un-prose-headings)`,"font-weight":`600`},"h4 strong":{"font-weight":`700`,color:`inherit`},img:{},picture:{display:`block`},video:{},kbd:{"font-weight":`500`,"font-family":`inherit`,color:`var(--un-prose-kbd)`,"box-shadow":`0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)`},code:{color:`var(--un-prose-code)`,"font-weight":`600`},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:`inherit`},"h1 code":{color:`inherit`},"h2 code":{color:`inherit`},"h3 code":{color:`inherit`},"h4 code":{color:`inherit`},"blockquote code":{color:`inherit`},"thead th code":{color:`inherit`},pre:{color:`var(--un-prose-pre-code)`,"background-color":`var(--un-prose-pre-bg)`,"overflow-x":`auto`,"font-weight":`400`},"pre code":{"background-color":`transparent`,"border-width":`0`,"border-radius":`0`,padding:`0`,"font-weight":`inherit`,color:`inherit`,"font-size":`inherit`,"font-family":`inherit`,"line-height":`inherit`},"pre code::before":{content:`none`},"pre code::after":{content:`none`},table:{width:`100%`,"table-layout":`auto`,"margin-top":b(32,16),"margin-bottom":b(32,16)},thead:{"border-bottom-width":`1px`,"border-bottom-color":`var(--un-prose-th-borders)`},"thead th":{color:`var(--un-prose-headings)`,"font-weight":`600`,"vertical-align":`bottom`},"tbody tr":{"border-bottom-width":`1px`,"border-bottom-color":`var(--un-prose-td-borders)`},"tbody tr:last-child":{"border-bottom-width":`0`},"tbody td":{"vertical-align":`baseline`},tfoot:{"border-top-width":`1px`,"border-top-color":`var(--un-prose-th-borders)`},"tfoot td":{"vertical-align":`top`},"th, td":{"text-align":`start`},"figure > *":{},figcaption:{color:`var(--un-prose-captions)`}},S={sm:{"font-size":y(14),"line-height":v(24/14),p:{"margin-top":b(16,14),"margin-bottom":b(16,14)},'[class~="lead"]':{"font-size":b(18,14),"line-height":v(28/18),"margin-top":b(16,18),"margin-bottom":b(16,18)},blockquote:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(20,18)},h1:{"font-size":b(30,14),"margin-top":`0`,"margin-bottom":b(24,30),"line-height":v(36/30)},h2:{"font-size":b(20,14),"margin-top":b(32,20),"margin-bottom":b(16,20),"line-height":v(28/20)},h3:{"font-size":b(18,14),"margin-top":b(28,18),"margin-bottom":b(8,18),"line-height":v(28/18)},h4:{"margin-top":b(20,14),"margin-bottom":b(8,14),"line-height":v(20/14)},img:{"margin-top":b(24,14),"margin-bottom":b(24,14)},picture:{"margin-top":b(24,14),"margin-bottom":b(24,14)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(24,14),"margin-bottom":b(24,14)},kbd:{"font-size":b(12,14),"border-radius":y(5),"padding-top":b(2,14),"padding-inline-end":b(5,14),"padding-bottom":b(2,14),"padding-inline-start":b(5,14)},code:{"font-size":b(12,14)},"h2 code":{"font-size":b(18,20)},"h3 code":{"font-size":b(16,18)},pre:{"font-size":b(12,14),"line-height":v(20/12),"margin-top":b(20,12),"margin-bottom":b(20,12),"border-radius":y(4),"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},ol:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},ul:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},li:{"margin-top":b(4,14),"margin-bottom":b(4,14)},"ol > li":{"padding-inline-start":b(6,14)},"ul > li":{"padding-inline-start":b(6,14)},"> ul > li p":{"margin-top":b(8,14),"margin-bottom":b(8,14)},"> ul > li > p:first-child":{"margin-top":b(16,14)},"> ul > li > p:last-child":{"margin-bottom":b(16,14)},"> ol > li > p:first-child":{"margin-top":b(16,14)},"> ol > li > p:last-child":{"margin-bottom":b(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(8,14),"margin-bottom":b(8,14)},dl:{"margin-top":b(16,14),"margin-bottom":b(16,14)},dt:{"margin-top":b(16,14)},dd:{"margin-top":b(4,14),"padding-inline-start":b(22,14)},hr:{"margin-top":b(40,14),"margin-bottom":b(40,14)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(12,14),"line-height":v(18/12)},"thead th":{"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(24,14),"margin-bottom":b(24,14)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(12,14),"line-height":v(16/12),"margin-top":b(8,12)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},base:{"font-size":y(16),"line-height":v(28/16),p:{"margin-top":b(20,16),"margin-bottom":b(20,16)},'[class~="lead"]':{"font-size":b(20,16),"line-height":v(32/20),"margin-top":b(24,20),"margin-bottom":b(24,20)},blockquote:{"margin-top":b(32,20),"margin-bottom":b(32,20),"padding-inline-start":b(20,20)},h1:{"font-size":b(36,16),"margin-top":`0`,"margin-bottom":b(32,36),"line-height":v(40/36)},h2:{"font-size":b(24,16),"margin-top":b(48,24),"margin-bottom":b(24,24),"line-height":v(32/24)},h3:{"font-size":b(20,16),"margin-top":b(32,20),"margin-bottom":b(12,20),"line-height":v(32/20)},h4:{"margin-top":b(24,16),"margin-bottom":b(8,16),"line-height":v(24/16)},img:{"margin-top":b(32,16),"margin-bottom":b(32,16)},picture:{"margin-top":b(32,16),"margin-bottom":b(32,16)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(32,16),"margin-bottom":b(32,16)},kbd:{"font-size":b(14,16),"border-radius":y(5),"padding-top":b(3,16),"padding-inline-end":b(6,16),"padding-bottom":b(3,16),"padding-inline-start":b(6,16)},code:{"font-size":b(14,16)},"h2 code":{"font-size":b(21,24)},"h3 code":{"font-size":b(18,20)},pre:{"font-size":b(14,16),"line-height":v(24/14),"margin-top":b(24,14),"margin-bottom":b(24,14),"border-radius":y(6),"padding-top":b(12,14),"padding-inline-end":b(16,14),"padding-bottom":b(12,14),"padding-inline-start":b(16,14)},ol:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},ul:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},li:{"margin-top":b(8,16),"margin-bottom":b(8,16)},"ol > li":{"padding-inline-start":b(6,16)},"ul > li":{"padding-inline-start":b(6,16)},"> ul > li p":{"margin-top":b(12,16),"margin-bottom":b(12,16)},"> ul > li > p:first-child":{"margin-top":b(20,16)},"> ul > li > p:last-child":{"margin-bottom":b(20,16)},"> ol > li > p:first-child":{"margin-top":b(20,16)},"> ol > li > p:last-child":{"margin-bottom":b(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(12,16),"margin-bottom":b(12,16)},dl:{"margin-top":b(20,16),"margin-bottom":b(20,16)},dt:{"margin-top":b(20,16)},dd:{"margin-top":b(8,16),"padding-inline-start":b(26,16)},hr:{"margin-top":b(48,16),"margin-bottom":b(48,16)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(14,16),"line-height":v(24/14)},"thead th":{"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(8,14)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(8,14),"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(32,16),"margin-bottom":b(32,16)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(14,16),"line-height":v(20/14),"margin-top":b(12,14)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},lg:{"font-size":y(18),"line-height":v(32/18),p:{"margin-top":b(24,18),"margin-bottom":b(24,18)},'[class~="lead"]':{"font-size":b(22,18),"line-height":v(32/22),"margin-top":b(24,22),"margin-bottom":b(24,22)},blockquote:{"margin-top":b(40,24),"margin-bottom":b(40,24),"padding-inline-start":b(24,24)},h1:{"font-size":b(48,18),"margin-top":`0`,"margin-bottom":b(40,48),"line-height":v(48/48)},h2:{"font-size":b(30,18),"margin-top":b(56,30),"margin-bottom":b(32,30),"line-height":v(40/30)},h3:{"font-size":b(24,18),"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":v(36/24)},h4:{"margin-top":b(32,18),"margin-bottom":b(8,18),"line-height":v(28/18)},img:{"margin-top":b(32,18),"margin-bottom":b(32,18)},picture:{"margin-top":b(32,18),"margin-bottom":b(32,18)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(32,18),"margin-bottom":b(32,18)},kbd:{"font-size":b(16,18),"border-radius":y(5),"padding-top":b(4,18),"padding-inline-end":b(8,18),"padding-bottom":b(4,18),"padding-inline-start":b(8,18)},code:{"font-size":b(16,18)},"h2 code":{"font-size":b(26,30)},"h3 code":{"font-size":b(21,24)},pre:{"font-size":b(16,18),"line-height":v(28/16),"margin-top":b(32,16),"margin-bottom":b(32,16),"border-radius":y(6),"padding-top":b(16,16),"padding-inline-end":b(24,16),"padding-bottom":b(16,16),"padding-inline-start":b(24,16)},ol:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},ul:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},li:{"margin-top":b(12,18),"margin-bottom":b(12,18)},"ol > li":{"padding-inline-start":b(8,18)},"ul > li":{"padding-inline-start":b(8,18)},"> ul > li p":{"margin-top":b(16,18),"margin-bottom":b(16,18)},"> ul > li > p:first-child":{"margin-top":b(24,18)},"> ul > li > p:last-child":{"margin-bottom":b(24,18)},"> ol > li > p:first-child":{"margin-top":b(24,18)},"> ol > li > p:last-child":{"margin-bottom":b(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,18),"margin-bottom":b(16,18)},dl:{"margin-top":b(24,18),"margin-bottom":b(24,18)},dt:{"margin-top":b(24,18)},dd:{"margin-top":b(12,18),"padding-inline-start":b(28,18)},hr:{"margin-top":b(56,18),"margin-bottom":b(56,18)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(16,18),"line-height":v(24/16)},"thead th":{"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(12,16)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(12,16),"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(32,18),"margin-bottom":b(32,18)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(16,18),"line-height":v(24/16),"margin-top":b(16,16)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},xl:{"font-size":y(20),"line-height":v(36/20),p:{"margin-top":b(24,20),"margin-bottom":b(24,20)},'[class~="lead"]':{"font-size":b(24,20),"line-height":v(36/24),"margin-top":b(24,24),"margin-bottom":b(24,24)},blockquote:{"margin-top":b(48,30),"margin-bottom":b(48,30),"padding-inline-start":b(32,30)},h1:{"font-size":b(56,20),"margin-top":`0`,"margin-bottom":b(48,56),"line-height":v(56/56)},h2:{"font-size":b(36,20),"margin-top":b(56,36),"margin-bottom":b(32,36),"line-height":v(40/36)},h3:{"font-size":b(30,20),"margin-top":b(48,30),"margin-bottom":b(20,30),"line-height":v(40/30)},h4:{"margin-top":b(36,20),"margin-bottom":b(12,20),"line-height":v(32/20)},img:{"margin-top":b(40,20),"margin-bottom":b(40,20)},picture:{"margin-top":b(40,20),"margin-bottom":b(40,20)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(40,20),"margin-bottom":b(40,20)},kbd:{"font-size":b(18,20),"border-radius":y(5),"padding-top":b(5,20),"padding-inline-end":b(8,20),"padding-bottom":b(5,20),"padding-inline-start":b(8,20)},code:{"font-size":b(18,20)},"h2 code":{"font-size":b(31,36)},"h3 code":{"font-size":b(27,30)},pre:{"font-size":b(18,20),"line-height":v(32/18),"margin-top":b(36,18),"margin-bottom":b(36,18),"border-radius":y(8),"padding-top":b(20,18),"padding-inline-end":b(24,18),"padding-bottom":b(20,18),"padding-inline-start":b(24,18)},ol:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},ul:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},li:{"margin-top":b(12,20),"margin-bottom":b(12,20)},"ol > li":{"padding-inline-start":b(8,20)},"ul > li":{"padding-inline-start":b(8,20)},"> ul > li p":{"margin-top":b(16,20),"margin-bottom":b(16,20)},"> ul > li > p:first-child":{"margin-top":b(24,20)},"> ul > li > p:last-child":{"margin-bottom":b(24,20)},"> ol > li > p:first-child":{"margin-top":b(24,20)},"> ol > li > p:last-child":{"margin-bottom":b(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,20),"margin-bottom":b(16,20)},dl:{"margin-top":b(24,20),"margin-bottom":b(24,20)},dt:{"margin-top":b(24,20)},dd:{"margin-top":b(12,20),"padding-inline-start":b(32,20)},hr:{"margin-top":b(56,20),"margin-bottom":b(56,20)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(18,20),"line-height":v(28/18)},"thead th":{"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(12,18)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(16,18),"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(40,20),"margin-bottom":b(40,20)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(18,20),"line-height":v(28/18),"margin-top":b(18,18)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},"2xl":{"font-size":y(24),"line-height":v(40/24),p:{"margin-top":b(32,24),"margin-bottom":b(32,24)},'[class~="lead"]':{"font-size":b(30,24),"line-height":v(44/30),"margin-top":b(32,30),"margin-bottom":b(32,30)},blockquote:{"margin-top":b(64,36),"margin-bottom":b(64,36),"padding-inline-start":b(40,36)},h1:{"font-size":b(64,24),"margin-top":`0`,"margin-bottom":b(56,64),"line-height":v(64/64)},h2:{"font-size":b(48,24),"margin-top":b(72,48),"margin-bottom":b(40,48),"line-height":v(52/48)},h3:{"font-size":b(36,24),"margin-top":b(56,36),"margin-bottom":b(24,36),"line-height":v(44/36)},h4:{"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":v(36/24)},img:{"margin-top":b(48,24),"margin-bottom":b(48,24)},picture:{"margin-top":b(48,24),"margin-bottom":b(48,24)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(48,24),"margin-bottom":b(48,24)},kbd:{"font-size":b(20,24),"border-radius":y(6),"padding-top":b(6,24),"padding-inline-end":b(8,24),"padding-bottom":b(6,24),"padding-inline-start":b(8,24)},code:{"font-size":b(20,24)},"h2 code":{"font-size":b(42,48)},"h3 code":{"font-size":b(32,36)},pre:{"font-size":b(20,24),"line-height":v(36/20),"margin-top":b(40,20),"margin-bottom":b(40,20),"border-radius":y(8),"padding-top":b(24,20),"padding-inline-end":b(32,20),"padding-bottom":b(24,20),"padding-inline-start":b(32,20)},ol:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},ul:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},li:{"margin-top":b(12,24),"margin-bottom":b(12,24)},"ol > li":{"padding-inline-start":b(10,24)},"ul > li":{"padding-inline-start":b(10,24)},"> ul > li p":{"margin-top":b(20,24),"margin-bottom":b(20,24)},"> ul > li > p:first-child":{"margin-top":b(32,24)},"> ul > li > p:last-child":{"margin-bottom":b(32,24)},"> ol > li > p:first-child":{"margin-top":b(32,24)},"> ol > li > p:last-child":{"margin-bottom":b(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,24),"margin-bottom":b(16,24)},dl:{"margin-top":b(32,24),"margin-bottom":b(32,24)},dt:{"margin-top":b(32,24)},dd:{"margin-top":b(12,24),"padding-inline-start":b(38,24)},hr:{"margin-top":b(72,24),"margin-bottom":b(72,24)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(20,24),"line-height":v(28/20)},"thead th":{"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(12,20)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(16,20),"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(48,24),"margin-bottom":b(48,24)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(20,24),"line-height":v(32/20),"margin-top":b(20,20)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}}};function C(t){let n=i(_);if(t)for(let r in t){let[i,a]=e(t[r]),[o,s]=n[r];n[r]=[i??o,a??s]}return n}function w(e){return e?r(S,e):S}function T(e,t){let n=t.selectorName||`prose`,r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,i=t.important===!0,a=``;for(let[t,n]of Object.entries(e))if(typeof n!=`object`)a+=`${t}:${n}${i?` !important`:``};`;else{let[e,o]=t.split(`::`),s=`:where(${e})${r}${o?`::${o}`:``}`;a+=`${s} {`;for(let[e,t]of Object.entries(n))a+=`${e}:${t}${i?` !important`:``};`;a+=`}`}return a}function E(e){for(let[t,...n]of g)if(t===e)return n.length>0?n:[t]}let D=a(e=>{let t=e?.selectorName??`prose`,n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,i=e?.cssVarPrefix??`--un-prose`,a=C(e?.colorScheme),s=w(e?.sizeScheme),l=(t,n)=>{let i=r(t,(typeof e?.cssExtend==`function`?e?.cssExtend(n):e?.cssExtend)??{});for(let e in i){let t=i[e];(t==null||typeof t==`object`&&Object.keys(t).length===0)&&delete i[e]}return i},d=t=>(typeof e?.important==`string`&&(t=`${e.important} ${t}`),e?.compatibility?.noColonIs||(t=`:is(${t})`),t),f=RegExp(`^${t}-default$`),p=RegExp(`^${t}-([-\\w]+)$`),m=RegExp(`^${t}-(${Object.keys(s).join(`|`)})$`);return{name:`@unocss/preset-typography`,enforce:`post`,layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:`typography`}]],rules:[[f,(t,{symbols:n,theme:i})=>{let a=T(l(r(x,S.base),i),e??{});return{[n.body]:a,[n.selector]:d}},{layer:`typography`,autocomplete:`prose`,internal:!0}],[p,([,e],{theme:t,symbols:n})=>{let r=t.colors?.[e];if(!(!r||typeof r!=`object`))return[`red`,`orange`,`amber`,`yellow`,`lime`,`green`,`emerald`,`teal`,`cyan`,`sky`,`blue`,`indigo`,`violet`,`purple`,`fuchsia`,`pink`,`rose`].includes(e)?{[`${i}-links`]:r[600],[`${i}-invert-links`]:r[500],[n.selector]:d}:Object.entries(a).reduce((e,[n,a])=>{let[o,s]=a,l=e=>r[e]??t[e]??e,d=l(o),f=l(s),p=`${i}-${n}`,m=`${i}-invert-${n}`;e[p]=u(d,`var(${p}-opacity)`),e[m]=u(f,`var(${m}-opacity)`);for(let[t,n]of[[d,`${p}-opacity`],[f,`${m}-opacity`]])c.some(e=>t.includes(e))&&(e[n]=`1`);return e},{[n.selector]:d})},{layer:`typography`,autocomplete:`${t}-$colors`}],[m,([,t],{symbols:n,theme:r})=>{let i=T(l(s[t],r),e??{});return{[n.body]:i,[n.selector]:d}},{layer:`typography`,autocomplete:`${t}-(${Object.keys(s).join(`|`)})`}],[`${t}-invert`,[{[`${i}-body`]:`var(${i}-invert-body)`,[`${i}-headings`]:`var(${i}-invert-headings)`,[`${i}-lead`]:`var(${i}-invert-lead)`,[`${i}-links`]:`var(${i}-invert-links)`,[`${i}-bold`]:`var(${i}-invert-bold)`,[`${i}-counters`]:`var(${i}-invert-counters)`,[`${i}-bullets`]:`var(${i}-invert-bullets)`,[`${i}-hr`]:`var(${i}-invert-hr)`,[`${i}-quotes`]:`var(${i}-invert-quotes)`,[`${i}-quote-borders`]:`var(${i}-invert-quote-borders)`,[`${i}-captions`]:`var(${i}-invert-captions)`,[`${i}-kbd`]:`var(${i}-invert-kbd)`,[`${i}-kbd-shadows`]:`var(${i}-invert-kbd-shadows)`,[`${i}-code`]:`var(${i}-invert-code)`,[`${i}-pre-code`]:`var(${i}-invert-pre-code)`,[`${i}-pre-bg`]:`var(${i}-invert-pre-bg)`,[`${i}-th-borders`]:`var(${i}-invert-th-borders)`,[`${i}-td-borders`]:`var(${i}-invert-td-borders)`,[o.selector]:d}],{layer:`typography`}]],variants:[{name:`typography element modifiers`,match:e=>{if(e.startsWith(`${t}-`)){let r=RegExp(`^${t}-(\\w+)[:-].+$`),i=e.match(r)?.[1];if(i){let r=E(i);if(r?.length)return{matcher:e.slice(t.length+i.length+2),selector:e=>{let i=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?r.map(t=>`${e} ${t}`).join(`,`):`${e} :is(:where(${r})${i})`}}}}},autocomplete:`${t}-(${g.map(e=>`${e[0]}:`).join(`|`)})`}]}});window.__unocss_runtime=window.__unocss_runtime??{},window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetTypography:e=>D(e)})})();
1
+ (function(){function e(e=[]){return Array.isArray(e)?e:[e]}function t(e){return e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)}function n(e){return e&&typeof e==`object`&&!Array.isArray(e)}function r(e,t,i=!1){let a=e,o=t;if(Array.isArray(o))return i&&Array.isArray(o)?[...a,...o]:[...o];let s={...a};return n(a)&&n(o)&&Object.keys(o).forEach(e=>{n(a[e])&&n(o[e])||Array.isArray(a[e])&&Array.isArray(o[e])?s[e]=r(a[e],o[e],i):Object.assign(s,{[e]:o[e]})}),s}function i(e){let t,n,r;if(Array.isArray(e)){for(n=Array.from({length:t=e.length});t--;)n[t]=(r=e[t])&&typeof r==`object`?i(r):r;return n}if(Object.prototype.toString.call(e)===`[object Object]`){for(t in n={},e)t===`__proto__`?Object.defineProperty(n,t,{value:i(e[t]),configurable:!0,enumerable:!0,writable:!0}):n[t]=(r=e[t])&&typeof r==`object`?i(r):r;return n}return e}function a(e){return e}let o={shortcutsNoMerge:`$$symbol-shortcut-no-merge`,noMerge:`$$symbol-no-merge`,noScope:`$$symbol-no-scope`,variants:`$$symbol-variants`,parent:`$$symbol-parent`,selector:`$$symbol-selector`,layer:`$$symbol-layer`,sort:`$$symbol-sort`,body:`$$symbol-body`},s=[`hsl`,`hsla`,`hwb`,`lab`,`lch`,`oklab`,`oklch`,`rgb`,`rgba`],c=[`%alpha`,`<alpha-value>`],l=new RegExp(c.map(e=>t(e)).join(`|`),`g`);function u(e,t){if(typeof e==`string`)return e.replace(l,`${t??1}`);let{components:n}=e,{alpha:r,type:i}=e;return r=t??r,i=i.toLowerCase(),[`hsla`,`rgba`].includes(i)?`${i}(${n.join(`, `)}${r==null?``:`, ${r}`})`:(r=r==null?``:` / ${r}`,s.includes(i)?`${i}(${n.join(` `)}${r})`:`color(${i} ${n.join(` `)}${r})`)}RegExp(`^(${s.join(`|`)})\\((.+)\\)$`,`i`);let d=`__pseudo_placeholder__`,f=Object.fromEntries([[`first-letter`,`::first-letter`],[`first-line`,`::first-line`],`any-link`,`link`,`visited`,`target`,[`open`,`[open]`],`default`,`checked`,`indeterminate`,`placeholder-shown`,`autofill`,`optional`,`required`,`valid`,`invalid`,`user-valid`,`user-invalid`,`in-range`,`out-of-range`,`read-only`,`read-write`,`empty`,`focus-within`,`hover`,`focus`,`focus-visible`,`active`,`enabled`,`disabled`,`popover-open`,`root`,`empty`,[`even-of-type`,`:nth-of-type(even)`],[`even`,`:nth-child(even)`],[`odd-of-type`,`:nth-of-type(odd)`],[`odd`,`:nth-child(odd)`],[`nth`,`:nth-child(${d})`],[`nth-last`,`:nth-last-child(${d})`],[`nth-last-of-type`,`:nth-last-of-type(${d})`],[`nth-of-type`,`:nth-of-type(${d})`],`first-of-type`,[`first`,`:first-child`],`last-of-type`,[`last`,`:last-child`],`only-child`,`only-of-type`,[`backdrop-element`,`::backdrop`],[`placeholder`,`::placeholder`],[`before`,`::before`],[`after`,`::after`],[`file`,`::file-selector-button`],[`details-content`,`::details-content`]].map(e=>Array.isArray(e)?e:[e,`:${e}`]));Object.keys(f);let p=Object.fromEntries([[`backdrop`,`::backdrop`]].map(e=>Array.isArray(e)?e:[e,`:${e}`]));Object.keys(p);let m=[`not`,`is`,`where`,`has`],h=Object.fromEntries([[`selection`,[`::selection`,` *::selection`]],[`marker`,[`::marker`,` *::marker`]]]);Object.entries(f).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(p).filter(([,e])=>!e.startsWith(`::`)).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),m.join(`|`),Object.keys(h).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(f).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`),Object.entries(p).map(([e])=>e).sort((e,t)=>t.length-e.length).join(`|`);let g=[[`headings`,`h1`,`h2`,`h3`,`h4`,`h5`,`h6`,`th`],[`h1`],[`h2`],[`h3`],[`h4`],[`h5`],[`h6`],[`p`],[`a`],[`blockquote`],[`figure`],[`figcaption`],[`strong`],[`em`],[`kbd`],[`code`],[`pre`],[`ol`],[`ul`],[`li`],[`table`],[`thead`],[`tr`],[`th`],[`td`],[`img`],[`video`],[`hr`]],_={body:[700,300],headings:[900,`white`],lead:[600,400],links:[900,`white`],bold:[900,`white`],counters:[500,400],bullets:[300,600],hr:[200,700],quotes:[900,100],"quote-borders":[200,700],captions:[500,400],kbd:[900,`white`],"kbd-shadows":[900,`white`],code:[900,`white`],"pre-code":[200,300],"pre-bg":[800,`rgb(0 0 0 / 50%)`],"th-borders":[300,600],"td-borders":[200,700]},v=e=>e.toFixed(7).replace(/0+$/,``).replace(/\.$/,``),y=e=>`${v(e/16)}rem`,b=(e,t)=>`${v(e/t)}em`,x={color:`var(--un-prose-body)`,"max-width":`65ch`,p:{},'[class~="lead"]':{color:`var(--un-prose-lead)`},a:{color:`var(--un-prose-links)`,"text-decoration":`underline`,"font-weight":`500`},strong:{color:`var(--un-prose-bold)`,"font-weight":`600`},"a strong":{color:`inherit`},"blockquote strong":{color:`inherit`},"thead th strong":{color:`inherit`},ol:{"list-style-type":`decimal`},'ol[type="A"]':{"list-style-type":`upper-alpha`},'ol[type="a"]':{"list-style-type":`lower-alpha`},'ol[type="A" s]':{"list-style-type":`upper-alpha`},'ol[type="a" s]':{"list-style-type":`lower-alpha`},'ol[type="I"]':{"list-style-type":`upper-roman`},'ol[type="i"]':{"list-style-type":`lower-roman`},'ol[type="I" s]':{"list-style-type":`upper-roman`},'ol[type="i" s]':{"list-style-type":`lower-roman`},'ol[type="1"]':{"list-style-type":`decimal`},ul:{"list-style-type":`disc`},"ol > li::marker":{"font-weight":`400`,color:`var(--un-prose-counters)`},"ul > li::marker":{color:`var(--un-prose-bullets)`},dt:{color:`var(--un-prose-headings)`,"font-weight":`600`},hr:{"border-color":`var(--un-prose-hr)`,"border-top-width":`1px`},blockquote:{"font-weight":`500`,"font-style":`italic`,color:`var(--un-prose-quotes)`,"border-inline-start-width":`0.25rem`,"border-inline-start-color":`var(--un-prose-quote-borders)`,quotes:`"\\201C""\\201D""\\2018""\\2019"`},"blockquote p:first-of-type::before":{content:`open-quote`},"blockquote p:last-of-type::after":{content:`close-quote`},h1:{color:`var(--un-prose-headings)`,"font-weight":`800`},"h1 strong":{"font-weight":`900`,color:`inherit`},h2:{color:`var(--un-prose-headings)`,"font-weight":`700`},"h2 strong":{"font-weight":`800`,color:`inherit`},h3:{color:`var(--un-prose-headings)`,"font-weight":`600`},"h3 strong":{"font-weight":`700`,color:`inherit`},h4:{color:`var(--un-prose-headings)`,"font-weight":`600`},"h4 strong":{"font-weight":`700`,color:`inherit`},img:{},picture:{display:`block`},video:{},kbd:{"font-weight":`500`,"font-family":`inherit`,color:`var(--un-prose-kbd)`,"box-shadow":`0 0 0 1px rgb(var(--un-prose-kbd-shadows) / 10%), 0 3px 0 rgb(var(--un-prose-kbd-shadows) / 10%)`},code:{color:`var(--un-prose-code)`,"font-weight":`600`},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:`inherit`},"h1 code":{color:`inherit`},"h2 code":{color:`inherit`},"h3 code":{color:`inherit`},"h4 code":{color:`inherit`},"blockquote code":{color:`inherit`},"thead th code":{color:`inherit`},pre:{color:`var(--un-prose-pre-code)`,"background-color":`var(--un-prose-pre-bg)`,"overflow-x":`auto`,"font-weight":`400`},"pre code":{"background-color":`transparent`,"border-width":`0`,"border-radius":`0`,padding:`0`,"font-weight":`inherit`,color:`inherit`,"font-size":`inherit`,"font-family":`inherit`,"line-height":`inherit`},"pre code::before":{content:`none`},"pre code::after":{content:`none`},table:{width:`100%`,"table-layout":`auto`,"margin-top":b(32,16),"margin-bottom":b(32,16)},thead:{"border-bottom-width":`1px`,"border-bottom-color":`var(--un-prose-th-borders)`},"thead th":{color:`var(--un-prose-headings)`,"font-weight":`600`,"vertical-align":`bottom`},"tbody tr":{"border-bottom-width":`1px`,"border-bottom-color":`var(--un-prose-td-borders)`},"tbody tr:last-child":{"border-bottom-width":`0`},"tbody td":{"vertical-align":`baseline`},tfoot:{"border-top-width":`1px`,"border-top-color":`var(--un-prose-th-borders)`},"tfoot td":{"vertical-align":`top`},"th, td":{"text-align":`start`},"figure > *":{},figcaption:{color:`var(--un-prose-captions)`}},S={sm:{"font-size":y(14),"line-height":v(24/14),p:{"margin-top":b(16,14),"margin-bottom":b(16,14)},'[class~="lead"]':{"font-size":b(18,14),"line-height":v(28/18),"margin-top":b(16,18),"margin-bottom":b(16,18)},blockquote:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(20,18)},h1:{"font-size":b(30,14),"margin-top":`0`,"margin-bottom":b(24,30),"line-height":v(36/30)},h2:{"font-size":b(20,14),"margin-top":b(32,20),"margin-bottom":b(16,20),"line-height":v(28/20)},h3:{"font-size":b(18,14),"margin-top":b(28,18),"margin-bottom":b(8,18),"line-height":v(28/18)},h4:{"margin-top":b(20,14),"margin-bottom":b(8,14),"line-height":v(20/14)},img:{"margin-top":b(24,14),"margin-bottom":b(24,14)},picture:{"margin-top":b(24,14),"margin-bottom":b(24,14)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(24,14),"margin-bottom":b(24,14)},kbd:{"font-size":b(12,14),"border-radius":y(5),"padding-top":b(2,14),"padding-inline-end":b(5,14),"padding-bottom":b(2,14),"padding-inline-start":b(5,14)},code:{"font-size":b(12,14)},"h2 code":{"font-size":b(18,20)},"h3 code":{"font-size":b(16,18)},pre:{"font-size":b(12,14),"line-height":v(20/12),"margin-top":b(20,12),"margin-bottom":b(20,12),"border-radius":y(4),"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},ol:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},ul:{"margin-top":b(16,14),"margin-bottom":b(16,14),"padding-inline-start":b(22,14)},li:{"margin-top":b(4,14),"margin-bottom":b(4,14)},"ol > li":{"padding-inline-start":b(6,14)},"ul > li":{"padding-inline-start":b(6,14)},"> ul > li p":{"margin-top":b(8,14),"margin-bottom":b(8,14)},"> ul > li > p:first-child":{"margin-top":b(16,14)},"> ul > li > p:last-child":{"margin-bottom":b(16,14)},"> ol > li > p:first-child":{"margin-top":b(16,14)},"> ol > li > p:last-child":{"margin-bottom":b(16,14)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(8,14),"margin-bottom":b(8,14)},dl:{"margin-top":b(16,14),"margin-bottom":b(16,14)},dt:{"margin-top":b(16,14)},dd:{"margin-top":b(4,14),"padding-inline-start":b(22,14)},hr:{"margin-top":b(40,14),"margin-bottom":b(40,14)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(12,14),"line-height":v(18/12)},"thead th":{"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(8,12),"padding-inline-end":b(12,12),"padding-bottom":b(8,12),"padding-inline-start":b(12,12)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(24,14),"margin-bottom":b(24,14)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(12,14),"line-height":v(16/12),"margin-top":b(8,12)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},base:{"font-size":y(16),"line-height":v(28/16),p:{"margin-top":b(20,16),"margin-bottom":b(20,16)},'[class~="lead"]':{"font-size":b(20,16),"line-height":v(32/20),"margin-top":b(24,20),"margin-bottom":b(24,20)},blockquote:{"margin-top":b(32,20),"margin-bottom":b(32,20),"padding-inline-start":b(20,20)},h1:{"font-size":b(36,16),"margin-top":`0`,"margin-bottom":b(32,36),"line-height":v(40/36)},h2:{"font-size":b(24,16),"margin-top":b(48,24),"margin-bottom":b(24,24),"line-height":v(32/24)},h3:{"font-size":b(20,16),"margin-top":b(32,20),"margin-bottom":b(12,20),"line-height":v(32/20)},h4:{"margin-top":b(24,16),"margin-bottom":b(8,16),"line-height":v(24/16)},img:{"margin-top":b(32,16),"margin-bottom":b(32,16)},picture:{"margin-top":b(32,16),"margin-bottom":b(32,16)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(32,16),"margin-bottom":b(32,16)},kbd:{"font-size":b(14,16),"border-radius":y(5),"padding-top":b(3,16),"padding-inline-end":b(6,16),"padding-bottom":b(3,16),"padding-inline-start":b(6,16)},code:{"font-size":b(14,16)},"h2 code":{"font-size":b(21,24)},"h3 code":{"font-size":b(18,20)},pre:{"font-size":b(14,16),"line-height":v(24/14),"margin-top":b(24,14),"margin-bottom":b(24,14),"border-radius":y(6),"padding-top":b(12,14),"padding-inline-end":b(16,14),"padding-bottom":b(12,14),"padding-inline-start":b(16,14)},ol:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},ul:{"margin-top":b(20,16),"margin-bottom":b(20,16),"padding-inline-start":b(26,16)},li:{"margin-top":b(8,16),"margin-bottom":b(8,16)},"ol > li":{"padding-inline-start":b(6,16)},"ul > li":{"padding-inline-start":b(6,16)},"> ul > li p":{"margin-top":b(12,16),"margin-bottom":b(12,16)},"> ul > li > p:first-child":{"margin-top":b(20,16)},"> ul > li > p:last-child":{"margin-bottom":b(20,16)},"> ol > li > p:first-child":{"margin-top":b(20,16)},"> ol > li > p:last-child":{"margin-bottom":b(20,16)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(12,16),"margin-bottom":b(12,16)},dl:{"margin-top":b(20,16),"margin-bottom":b(20,16)},dt:{"margin-top":b(20,16)},dd:{"margin-top":b(8,16),"padding-inline-start":b(26,16)},hr:{"margin-top":b(48,16),"margin-bottom":b(48,16)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(14,16),"line-height":v(24/14)},"thead th":{"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(8,14)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(8,14),"padding-inline-end":b(8,14),"padding-bottom":b(8,14),"padding-inline-start":b(8,14)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(32,16),"margin-bottom":b(32,16)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(14,16),"line-height":v(20/14),"margin-top":b(12,14)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},lg:{"font-size":y(18),"line-height":v(32/18),p:{"margin-top":b(24,18),"margin-bottom":b(24,18)},'[class~="lead"]':{"font-size":b(22,18),"line-height":v(32/22),"margin-top":b(24,22),"margin-bottom":b(24,22)},blockquote:{"margin-top":b(40,24),"margin-bottom":b(40,24),"padding-inline-start":b(24,24)},h1:{"font-size":b(48,18),"margin-top":`0`,"margin-bottom":b(40,48),"line-height":v(48/48)},h2:{"font-size":b(30,18),"margin-top":b(56,30),"margin-bottom":b(32,30),"line-height":v(40/30)},h3:{"font-size":b(24,18),"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":v(36/24)},h4:{"margin-top":b(32,18),"margin-bottom":b(8,18),"line-height":v(28/18)},img:{"margin-top":b(32,18),"margin-bottom":b(32,18)},picture:{"margin-top":b(32,18),"margin-bottom":b(32,18)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(32,18),"margin-bottom":b(32,18)},kbd:{"font-size":b(16,18),"border-radius":y(5),"padding-top":b(4,18),"padding-inline-end":b(8,18),"padding-bottom":b(4,18),"padding-inline-start":b(8,18)},code:{"font-size":b(16,18)},"h2 code":{"font-size":b(26,30)},"h3 code":{"font-size":b(21,24)},pre:{"font-size":b(16,18),"line-height":v(28/16),"margin-top":b(32,16),"margin-bottom":b(32,16),"border-radius":y(6),"padding-top":b(16,16),"padding-inline-end":b(24,16),"padding-bottom":b(16,16),"padding-inline-start":b(24,16)},ol:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},ul:{"margin-top":b(24,18),"margin-bottom":b(24,18),"padding-inline-start":b(28,18)},li:{"margin-top":b(12,18),"margin-bottom":b(12,18)},"ol > li":{"padding-inline-start":b(8,18)},"ul > li":{"padding-inline-start":b(8,18)},"> ul > li p":{"margin-top":b(16,18),"margin-bottom":b(16,18)},"> ul > li > p:first-child":{"margin-top":b(24,18)},"> ul > li > p:last-child":{"margin-bottom":b(24,18)},"> ol > li > p:first-child":{"margin-top":b(24,18)},"> ol > li > p:last-child":{"margin-bottom":b(24,18)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,18),"margin-bottom":b(16,18)},dl:{"margin-top":b(24,18),"margin-bottom":b(24,18)},dt:{"margin-top":b(24,18)},dd:{"margin-top":b(12,18),"padding-inline-start":b(28,18)},hr:{"margin-top":b(56,18),"margin-bottom":b(56,18)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(16,18),"line-height":v(24/16)},"thead th":{"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(12,16)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(12,16),"padding-inline-end":b(12,16),"padding-bottom":b(12,16),"padding-inline-start":b(12,16)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(32,18),"margin-bottom":b(32,18)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(16,18),"line-height":v(24/16),"margin-top":b(16,16)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},xl:{"font-size":y(20),"line-height":v(36/20),p:{"margin-top":b(24,20),"margin-bottom":b(24,20)},'[class~="lead"]':{"font-size":b(24,20),"line-height":v(36/24),"margin-top":b(24,24),"margin-bottom":b(24,24)},blockquote:{"margin-top":b(48,30),"margin-bottom":b(48,30),"padding-inline-start":b(32,30)},h1:{"font-size":b(56,20),"margin-top":`0`,"margin-bottom":b(48,56),"line-height":v(56/56)},h2:{"font-size":b(36,20),"margin-top":b(56,36),"margin-bottom":b(32,36),"line-height":v(40/36)},h3:{"font-size":b(30,20),"margin-top":b(48,30),"margin-bottom":b(20,30),"line-height":v(40/30)},h4:{"margin-top":b(36,20),"margin-bottom":b(12,20),"line-height":v(32/20)},img:{"margin-top":b(40,20),"margin-bottom":b(40,20)},picture:{"margin-top":b(40,20),"margin-bottom":b(40,20)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(40,20),"margin-bottom":b(40,20)},kbd:{"font-size":b(18,20),"border-radius":y(5),"padding-top":b(5,20),"padding-inline-end":b(8,20),"padding-bottom":b(5,20),"padding-inline-start":b(8,20)},code:{"font-size":b(18,20)},"h2 code":{"font-size":b(31,36)},"h3 code":{"font-size":b(27,30)},pre:{"font-size":b(18,20),"line-height":v(32/18),"margin-top":b(36,18),"margin-bottom":b(36,18),"border-radius":y(8),"padding-top":b(20,18),"padding-inline-end":b(24,18),"padding-bottom":b(20,18),"padding-inline-start":b(24,18)},ol:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},ul:{"margin-top":b(24,20),"margin-bottom":b(24,20),"padding-inline-start":b(32,20)},li:{"margin-top":b(12,20),"margin-bottom":b(12,20)},"ol > li":{"padding-inline-start":b(8,20)},"ul > li":{"padding-inline-start":b(8,20)},"> ul > li p":{"margin-top":b(16,20),"margin-bottom":b(16,20)},"> ul > li > p:first-child":{"margin-top":b(24,20)},"> ul > li > p:last-child":{"margin-bottom":b(24,20)},"> ol > li > p:first-child":{"margin-top":b(24,20)},"> ol > li > p:last-child":{"margin-bottom":b(24,20)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,20),"margin-bottom":b(16,20)},dl:{"margin-top":b(24,20),"margin-bottom":b(24,20)},dt:{"margin-top":b(24,20)},dd:{"margin-top":b(12,20),"padding-inline-start":b(32,20)},hr:{"margin-top":b(56,20),"margin-bottom":b(56,20)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(18,20),"line-height":v(28/18)},"thead th":{"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(12,18)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(16,18),"padding-inline-end":b(12,18),"padding-bottom":b(16,18),"padding-inline-start":b(12,18)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(40,20),"margin-bottom":b(40,20)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(18,20),"line-height":v(28/18),"margin-top":b(18,18)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}},"2xl":{"font-size":y(24),"line-height":v(40/24),p:{"margin-top":b(32,24),"margin-bottom":b(32,24)},'[class~="lead"]':{"font-size":b(30,24),"line-height":v(44/30),"margin-top":b(32,30),"margin-bottom":b(32,30)},blockquote:{"margin-top":b(64,36),"margin-bottom":b(64,36),"padding-inline-start":b(40,36)},h1:{"font-size":b(64,24),"margin-top":`0`,"margin-bottom":b(56,64),"line-height":v(64/64)},h2:{"font-size":b(48,24),"margin-top":b(72,48),"margin-bottom":b(40,48),"line-height":v(52/48)},h3:{"font-size":b(36,24),"margin-top":b(56,36),"margin-bottom":b(24,36),"line-height":v(44/36)},h4:{"margin-top":b(40,24),"margin-bottom":b(16,24),"line-height":v(36/24)},img:{"margin-top":b(48,24),"margin-bottom":b(48,24)},picture:{"margin-top":b(48,24),"margin-bottom":b(48,24)},"picture > img":{"margin-top":`0`,"margin-bottom":`0`},video:{"margin-top":b(48,24),"margin-bottom":b(48,24)},kbd:{"font-size":b(20,24),"border-radius":y(6),"padding-top":b(6,24),"padding-inline-end":b(8,24),"padding-bottom":b(6,24),"padding-inline-start":b(8,24)},code:{"font-size":b(20,24)},"h2 code":{"font-size":b(42,48)},"h3 code":{"font-size":b(32,36)},pre:{"font-size":b(20,24),"line-height":v(36/20),"margin-top":b(40,20),"margin-bottom":b(40,20),"border-radius":y(8),"padding-top":b(24,20),"padding-inline-end":b(32,20),"padding-bottom":b(24,20),"padding-inline-start":b(32,20)},ol:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},ul:{"margin-top":b(32,24),"margin-bottom":b(32,24),"padding-inline-start":b(38,24)},li:{"margin-top":b(12,24),"margin-bottom":b(12,24)},"ol > li":{"padding-inline-start":b(10,24)},"ul > li":{"padding-inline-start":b(10,24)},"> ul > li p":{"margin-top":b(20,24),"margin-bottom":b(20,24)},"> ul > li > p:first-child":{"margin-top":b(32,24)},"> ul > li > p:last-child":{"margin-bottom":b(32,24)},"> ol > li > p:first-child":{"margin-top":b(32,24)},"> ol > li > p:last-child":{"margin-bottom":b(32,24)},"ul ul, ul ol, ol ul, ol ol":{"margin-top":b(16,24),"margin-bottom":b(16,24)},dl:{"margin-top":b(32,24),"margin-bottom":b(32,24)},dt:{"margin-top":b(32,24)},dd:{"margin-top":b(12,24),"padding-inline-start":b(38,24)},hr:{"margin-top":b(72,24),"margin-bottom":b(72,24)},"hr + *":{"margin-top":`0`},"h2 + *":{"margin-top":`0`},"h3 + *":{"margin-top":`0`},"h4 + *":{"margin-top":`0`},table:{"font-size":b(20,24),"line-height":v(28/20)},"thead th":{"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(12,20)},"thead th:first-child":{"padding-inline-start":`0`},"thead th:last-child":{"padding-inline-end":`0`},"tbody td, tfoot td":{"padding-top":b(16,20),"padding-inline-end":b(12,20),"padding-bottom":b(16,20),"padding-inline-start":b(12,20)},"tbody td:first-child, tfoot td:first-child":{"padding-inline-start":`0`},"tbody td:last-child, tfoot td:last-child":{"padding-inline-end":`0`},figure:{"margin-top":b(48,24),"margin-bottom":b(48,24)},"figure > *":{"margin-top":`0`,"margin-bottom":`0`},figcaption:{"font-size":b(20,24),"line-height":v(32/20),"margin-top":b(20,20)},"> :first-child":{"margin-top":`0`},"> :last-child":{"margin-bottom":`0`}}};function C(t){let n=i(_);if(t)for(let r in t){let[i,a]=e(t[r]),[o,s]=n[r];n[r]=[i??o,a??s]}return n}function w(e){return e?r(S,e):S}function T(e,t){let n=t.selectorName||`prose`,r=`:not(:where([class~="not-${n}"],[class~="not-${n}"] *))`,i=t.important===!0,a=``;for(let[t,n]of Object.entries(e))if(typeof n!=`object`)a+=`${t}:${n}${i?` !important`:``};`;else{let[e,o]=t.split(`::`),s=`:where(${e})${r}${o?`::${o}`:``}`;a+=`${s} {`;for(let[e,t]of Object.entries(n))a+=`${e}:${t}${i?` !important`:``};`;a+=`}`}return a}function E(e){for(let[t,...n]of g)if(t===e)return n.length>0?n:[t]}let D=a(e=>{let t=e?.selectorName??`prose`,n=e?.compatibility?.noColonNot||e?.compatibility?.noColonWhere,i=e?.cssVarPrefix??`--un-prose`,a=C(e?.colorScheme),s=w(e?.sizeScheme),l=(t,n)=>{let i=r(t,(typeof e?.cssExtend==`function`?e?.cssExtend(n):e?.cssExtend)??{});for(let e in i){let t=i[e];(t==null||typeof t==`object`&&Object.keys(t).length===0)&&delete i[e]}return i},d=t=>(typeof e?.important==`string`&&(t=`${e.important} ${t}`),e?.compatibility?.noColonIs||(t=`:is(${t})`),t),f=RegExp(`^${t}-default$`),p=RegExp(`^${t}-([-\\w]+)$`),m=RegExp(`^${t}-(${Object.keys(s).join(`|`)})$`);return{name:`@unocss/preset-typography`,enforce:`post`,layers:{typography:-20},shortcuts:[[t,[`${t}-default`,`${t}-gray`],{layer:`typography`}]],rules:[[f,(t,{symbols:n,theme:i})=>{let a=T(l(r(x,S.base),i),e??{});return{[n.body]:a,[n.selector]:d}},{layer:`typography`,autocomplete:`prose`,internal:!0}],[p,([,e],{theme:t,symbols:n})=>{let r=t.colors?.[e];if(!(!r||typeof r!=`object`))return[`red`,`orange`,`amber`,`yellow`,`lime`,`green`,`emerald`,`teal`,`cyan`,`sky`,`blue`,`indigo`,`violet`,`purple`,`fuchsia`,`pink`,`rose`].includes(e)?{[`${i}-links`]:r[600],[`${i}-invert-links`]:r[500],[n.selector]:d}:Object.entries(a).reduce((e,[n,a])=>{let[o,s]=a,l=e=>r[e]??t[e]??e,d=l(o),f=l(s),p=`${i}-${n}`,m=`${i}-invert-${n}`;e[p]=u(d,`var(${p}-opacity)`),e[m]=u(f,`var(${m}-opacity)`);for(let[t,n]of[[d,`${p}-opacity`],[f,`${m}-opacity`]])c.some(e=>t.includes(e))&&(e[n]=`1`);return e},{[n.selector]:d})},{layer:`typography`,autocomplete:`${t}-$colors`}],[m,([,t],{symbols:n,theme:r})=>{let i=T(l(s[t],r),e??{});return{[n.body]:i,[n.selector]:d}},{layer:`typography`,autocomplete:`${t}-(${Object.keys(s).join(`|`)})`}],[`${t}-invert`,[{[`${i}-body`]:`var(${i}-invert-body)`,[`${i}-headings`]:`var(${i}-invert-headings)`,[`${i}-lead`]:`var(${i}-invert-lead)`,[`${i}-links`]:`var(${i}-invert-links)`,[`${i}-bold`]:`var(${i}-invert-bold)`,[`${i}-counters`]:`var(${i}-invert-counters)`,[`${i}-bullets`]:`var(${i}-invert-bullets)`,[`${i}-hr`]:`var(${i}-invert-hr)`,[`${i}-quotes`]:`var(${i}-invert-quotes)`,[`${i}-quote-borders`]:`var(${i}-invert-quote-borders)`,[`${i}-captions`]:`var(${i}-invert-captions)`,[`${i}-kbd`]:`var(${i}-invert-kbd)`,[`${i}-kbd-shadows`]:`var(${i}-invert-kbd-shadows)`,[`${i}-code`]:`var(${i}-invert-code)`,[`${i}-pre-code`]:`var(${i}-invert-pre-code)`,[`${i}-pre-bg`]:`var(${i}-invert-pre-bg)`,[`${i}-th-borders`]:`var(${i}-invert-th-borders)`,[`${i}-td-borders`]:`var(${i}-invert-td-borders)`,[o.selector]:d}],{layer:`typography`}]],variants:[{name:`typography element modifiers`,match:e=>{if(e.startsWith(`${t}-`)){let r=RegExp(`^${t}-(\\w+)[:-].+$`),i=e.match(r)?.[1];if(i){let r=E(i);if(r?.length)return{matcher:e.slice(t.length+i.length+2),selector:e=>{let i=`:not(:where([class~="not-${t}"],[class~="not-${t}"] *))`;return n?r.map(t=>`${e} ${t}`).join(`,`):`${e} :is(:where(${r})${i})`}}}}},autocomplete:`${t}-(${g.map(e=>`${e[0]}:`).join(`|`)})`}]}});window.__unocss_runtime=window.__unocss_runtime??{},window.__unocss_runtime.presets=Object.assign(window.__unocss_runtime?.presets??{},{presetTypography:e=>D(e)})})();