wilddragon-site/node_modules/next/dist/compiled/postcss-modules-local-by-default/index.js

2 lines
71 KiB
JavaScript
Raw Normal View History

2026-04-17 15:51:01 -04:00
(()=>{var e={441:e=>{"use strict";
/*! https://mths.be/cssesc v3.0.0 by @mathias */var t={};var r=t.hasOwnProperty;var n=function merge(e,t){if(!e){return t}var n={};for(var i in t){n[i]=r.call(e,i)?e[i]:t[i]}return n};var i=/[ -,\.\/:-@\[-\^`\{-~]/;var s=/[ -,\.\/:-@\[\]\^`\{-~]/;var o=/['"\\]/;var a=/(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g;var u=function cssesc(e,t){t=n(t,cssesc.options);if(t.quotes!="single"&&t.quotes!="double"){t.quotes="single"}var r=t.quotes=="double"?'"':"'";var o=t.isIdentifier;var u=e.charAt(0);var c="";var l=0;var f=e.length;while(l<f){var p=e.charAt(l++);var d=p.charCodeAt();var h=void 0;if(d<32||d>126){if(d>=55296&&d<=56319&&l<f){var v=e.charCodeAt(l++);if((v&64512)==56320){d=((d&1023)<<10)+(v&1023)+65536}else{l--}}h="\\"+d.toString(16).toUpperCase()+" "}else{if(t.escapeEverything){if(i.test(p)){h="\\"+p}else{h="\\"+d.toString(16).toUpperCase()+" "}}else if(/[\t\n\f\r\x0B]/.test(p)){h="\\"+d.toString(16).toUpperCase()+" "}else if(p=="\\"||!o&&(p=='"'&&r==p||p=="'"&&r==p)||o&&s.test(p)){h="\\"+p}else{h=p}}c+=h}if(o){if(/^-[-\d]/.test(c)){c="\\-"+c.slice(1)}else if(/\d/.test(u)){c="\\3"+u+" "+c.slice(1)}}c=c.replace(a,(function(e,t,r){if(t&&t.length%2){return e}return(t||"")+r}));if(!o&&t.wrap){return r+c+r}return c};u.options={escapeEverything:false,isIdentifier:false,quotes:"single",wrap:false};u.version="3.0.0";e.exports=u},742:(e,t,r)=>{"use strict";const n=r(133);const i=r(45);const{extractICSS:s}=r(903);const o="cssmodules-pure-no-check";const a="cssmodules-pure-ignore";const isSpacing=e=>e.type==="combinator"&&e.value===" ";const isPureCheckDisabled=e=>{for(const t of e.nodes){if(t.type!=="comment"){return false}if(t.text.trim().startsWith(o)){return true}}return false};function getIgnoreComment(e){if(!e.parent){return}const t=e.parent.index(e);for(let r=t-1;r>=0;r--){const t=e.parent.nodes[r];if(t.type==="comment"){if(t.text.trimStart().startsWith(a)){return t}}else{break}}}function normalizeNodeArray(e){const t=[];e.forEach((e=>{if(Array.isArray(e)){normalizeNodeArray(e).forEach((e=>{t.push(e)}))}else if(e){t.push(e)}}));if(t.length>0&&isSpacing(t[t.length-1])){t.pop()}return t}const u=Symbol("is-pure-selector");function localizeNode(e,t,r){const transform=(t,i)=>{if(i.ignoreNextSpacing&&!isSpacing(t)){throw new Error("Missing whitespace after "+i.ignoreNextSpacing)}if(i.enforceNoSpacing&&isSpacing(t)){throw new Error("Missing whitespace before "+i.enforceNoSpacing)}let s;switch(t.type){case"root":{let e;i.hasPureGlobals=false;s=t.nodes.map((r=>{const n={global:i.global,lastWasSpacing:true,hasLocals:false,explicit:false};r=transform(r,n);if(typeof e==="undefined"){e=n.global}else if(e!==n.global){throw new Error('Inconsistent rule global/local result in rule "'+t+'" (multiple selectors must result in the same mode for the rule)')}if(!n.hasLocals){i.hasPureGlobals=true}return r}));i.global=e;t.nodes=normalizeNodeArray(s);break}case"selector":{s=t.map((e=>transform(e,i)));t=t.clone();t.nodes=normalizeNodeArray(s);break}case"combinator":{if(isSpacing(t)){if(i.ignoreNextSpacing){i.ignoreNextSpacing=false;i.lastWasSpacing=false;i.enforceNoSpacing=false;return null}i.lastWasSpacing=true;return t}break}case"pseudo":{let e;const r=!!t.length;const o=t.value===":local"||t.value===":global";const a=t.value===":import"||t.value===":export";if(a){i.hasLocals=true}else if(r){if(o){if(t.nodes.length===0){throw new Error(`${t.value}() can't be empty`)}if(i.inside){throw new Error(`A ${t.value} is not allowed inside of a ${i.inside}(...)`)}e={global:t.value===":global",inside:t.value,hasLocals:false,explicit:true};s=t.map((t=>transform(t,e))).reduce(((e,t)=>e.concat(t.nodes)),[]);if(s.length){const{before:e,after:r}=t.spaces;const n=s[0];const i=s[s.length-1];n.spaces={before:e,after:n.spaces.after};i.spaces={before:i.spaces.before,after:r}}t=s;break}else{e={global:i.global,inside:i.inside,lastWasSpacing:true,hasLocals:false,explicit:i.explicit};s=t.map((t=>{const r={...e,enforceNoSpacing:false};const n=transform(t,r);e.global=r.global;e.hasLocals=r.hasLocals;return n}));t=t.clone();t.nodes=normalizeNodeArray(s);if(e.hasLoc