PageSourceSearch

https://supersaas.dev/_nuxt/BCLtDbFw2.js

js supersaas.dev collected 2026-10-04 00:31:10 UTC 5,532 bytes, 6 lines download raw bytes

1import{n as e}from"./hePW80VL.js";import{o as t}from"./CQtAXI_i.js";import{B as n,Ht as r,g as i,k as a}from"./Ib1jYPSS.js";import{r as o}from"./B5tEj6Uj.js";import"./4xapfqFu.js";import{a as s,l as c,n as l,o as u,s as d,t as f}from"./iaKbPwXn.js";import{a as p,n as m,r as h,t as g}from"./fxB6ffdb2.js";function _(e){let[t,n,r,i]=e;if(r!==i){let e=Math.max(r,i);return[t-(e-r)/2,n-(e-i)/2,e,e]}return e}function v(e){return e.replace(/"/g,`'`).replace(/%/g,`%25`).replace(/#/g,`%23`).replace(/</g,`%3C`).replace(/>/g,`%3E`).replace(/\s+/g,` `)}function y(e){return`data:image/svg+xml,`+v(e)}function b(e){return`url("`+y(e)+`")`}function x(e){let t={display:`inline-block`,width:`1em`,height:`1em`},n=e.varName;switch(e.pseudoSelector&&(t.content=`''`),e.mode){case`background`:n&&(t[`background-image`]=`var(--`+n+`)`),t[`background-repeat`]=`no-repeat`,t[`background-size`]=`100% 100%`;break;case`mask`:t[`background-color`]=`currentColor`,n&&(t[`mask-image`]=t[`-webkit-mask-image`]=`var(--`+n+`)`),t[`mask-repeat`]=t[`-webkit-mask-repeat`]=`no-repeat`,t[`mask-size`]=t[`-webkit-mask-size`]=`100% 100%`}return t}function S(e,t){let n={},r=t.varName,i=m(e),a=i.viewBox;a[2]!==a[3]&&(t.forceSquare?a=_(a):n.width=h(`1em`,a[2]/a[3]));let o=b(g(i.body.replace(/currentColor/g,t.color||`black`),{viewBox:`${a[0]} ${a[1]} ${a[2]} ${a[3]}`,width:`${a[2]}`,height:`${a[3]}`}));if(r)n[`--`+r]=o;else switch(t.mode){case`background`:n[`background-image`]=o;break;case`mask`:n[`mask-image`]=n[`-webkit-mask-image`]=o;break}return n}var C={selectorStart:{compressed:`{`,compact:` {`,expanded:` {`},selectorEnd:{compressed:`}`,compact:`; }
2`,expanded:`;
3}
4`},rule:{compressed:`{key}:`,compact:` {key}: `,expanded:`
5  {key}: `}};function w(e,t=`expanded`){let n=[];for(let r=0;r<e.length;r++){let{selector:i,rules:a}=e[r],o=(i instanceof Array?i.join(t===`compressed`?`,`:`, `):i)+C.selectorStart[t],s=!0;for(let e in a)s||(o+=`;`),o+=C.rule[t].replace(`{key}`,e)+a[e],s=!1;o+=C.selectorEnd[t],n.push(o)}return n.join(t===`compressed`?``:`
6`)}function T(e,t={}){let n=t.customise?t.customise(e.body):e.body,r=t.mode||(t.color||!n.includes(`currentColor`)?`background`:`mask`),i=t.varName;i===void 0&&r===`mask`&&(i=`svg`);let a={...t,mode:r,varName:i};r===`background`&&delete a.varName;let o={...t.rules,...x(a),...S({...p,...e,body:n},a)};return w([{selector:t.iconSelector||`.icon`,rules:o}],a.format)}async function E(e,t){if(!e)return null;f(s);let n=u(e);if(n)return n;let r,i=d(e).catch(()=>(console.warn(`[Icon] failed to load icon \`${e}\``),null));return t>0?await Promise.race([i,new Promise(n=>{r=setTimeout(()=>{console.warn(`[Icon] loading icon \`${e}\` timed out after ${t}ms`),n()},t)})]).finally(()=>clearTimeout(r)):await i,u(e)}function D(e){let t=o().icon,n=(t.collections||[]).sort((e,t)=>t.length-e.length);return i(()=>{let r=e(),i=r.startsWith(t.cssSelectorPrefix)?r.slice(t.cssSelectorPrefix.length):r,a=t.aliases?.[i]||i;if(!a.includes(`:`)){let e=n.find(e=>a.startsWith(e+`-`));return e?e+`:`+a.slice(e.length+1):a}return a})}function O(e,t){if(e!==!1)return e===!0||e===null?t:e}var k;function A(e){return e.replace(/([^\w-])/g,`\\$1`)}function j(){if(k)return k;k=new Set;let e=e=>{if(e=e.replace(/^:where\((.*)\)$/,`$1`).trim(),e.startsWith(`.`))return e},t=n=>{if(n?.length)for(let r of n){r?.cssRules&&t(r.cssRules);let n=r?.selectorText;if(typeof n==`string`){let t=e(n);t&&k.add(t)}}};if(typeof document<`u`)for(let e of document.styleSheets)try{t(e.cssRules||e.rules)}catch{}return k}var M=a({name:`NuxtIconCss`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e){let a=t(),l=o().icon,d=i(()=>
6{if(!e.name)return``;let t=l.cssSelectorPrefix+e.name;return typeof e.customize==`function`?t+`--customized-`+c(e.customize.toString()):t});function f(e){if(!e)return;let t=u(e);if(t)return t;let n=a.payload?.data?.[e];if(n)return s(e,n),n}let p=i(()=>`.`+A(d.value));function m(t,n=!0){let r=p.value;l.cssWherePseudo&&(r=`:where(${r})`);let i=T(t,{iconSelector:r,format:`compressed`,customise:O(e.customize,l.customize)});return l.cssLayer&&n?`@layer ${l.cssLayer} { ${i} }`:i}{let t=j();async function n(e){if(t.has(p.value)||typeof document>`u`)return;let n=document.createElement(`style`);n.textContent=m(e);let r=document.head.querySelector(`style, link[rel="stylesheet"]`);r?document.head.insertBefore(n,r):document.head.appendChild(n),t.add(p.value)}r(()=>e.name,()=>{if(t.has(p.value))return;let r=f(e.name);r?n(r):E(e.name,-1).then(e=>{e&&n(e)}).catch(()=>null)},{immediate:!0})}return()=>n(`span`,{class:[`iconify`,d.value]})}}),N=a({name:`NuxtIconSvg`,props:{name:{type:String,required:!0},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:r}){let i=t(),a=o().icon,c=D(()=>e.name),u=`i-`+c.value;if(c.value){let e=i.payload.data[u];e?s(c.value,e):f(s)}return()=>n(l,{icon:c.value,ssr:!0,customise:O(e.customize,a.customize)},r)}}),P=e({default:()=>F}),F=a({name:`NuxtIcon`,props:{name:{type:String,required:!0},mode:{type:String,required:!1,default:null},size:{type:[Number,String],required:!1,default:null},customize:{type:[Function,Boolean,null],default:null,required:!1}},setup(e,{slots:r}){let a=t(),s=o().icon,c=D(()=>e.name),l=i(()=>a.vueApp?.component(c.value)||((e.mode||s.mode)===`svg`?N:M)),u=i(()=>{let t=e.size||s.size;return t?{fontSize:Number.isNaN(+t)?t:t+`px`}:null});return()=>n(l.value,{...s.attrs,name:c.value,class:s.class,style:u.value,customize:e.customize},r)}});export{P as n,F as t};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.