PageSourceSearch

https://liberta.it/_nuxt/CAAcx9jb.js

js liberta.it collected 2026-09-24 19:59:46 UTC 2,451 bytes, 1 lines download raw bytes

1var x=Object.defineProperty;var h=(u,t,e)=>t in u?x(u,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):u[t]=e;var s=(u,t,e)=>h(u,typeof t!="symbol"?t+"":t,e);import{O as M}from"./BTuAF-fB.js";const r=class r{constructor(){}static getAllBreakpoints(){return[...r.allBreakpoints]}static getSortedAllBreakpoints(t="asc"){return[...r.getSortedBreakpoints(r.allBreakpoints,t)]}static getSortedBreakpoints(t,e="asc"){return e=="asc"?[...t.sort((n,i)=>r.breakpointWeight[n]-r.breakpointWeight[i])]:[...t.sort((n,i)=>r.breakpointWeight[i]-r.breakpointWeight[n])]}static getAllBreakpointsWeight(){return M.clone(r.breakpointWeight)}static sanitizeInput(t){return t}static decode(t){if(typeof t!="string")return"";const e={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#039;":"'"};return t.replace(/&amp;|&lt;|&gt;|&quot;|&#039;/g,function(n){return e[n]||""})}static encodeSpecialChars(t){if(typeof t!="string")return"";const e={"\\n":"<br/>","\n":"<br/>","\r":"","\\r":"",'\\"':"&quot;","\\'":"&#39;"};return t.replace(/\\"|\\'|\\n|\\r|[\n\r]/g,function(n){return e[n]||""})}static fullSanitizeInput(t){return t=r.encodeSpecialChars(t),t}static getColorWithDelta(t,e){return{red:r.colorMinMax(t.red,e),green:r.colorMinMax(t.green,e),blue:r.colorMinMax(t.blue,e),alpha:t.alpha}}static getRGBAfromColor(t,e){return r.getRGBA(t.red,t.green,t.blue,t.alpha,e)}static getRGBA(t,e,n,i,a){return"rgba("+r.colorMinMax(t,a)+","+r.colorMinMax(e,a)+","+r.colorMinMax(n,a)+","+r.alphaMinMax(i)+" )"}static colorMinMax(t,e){let n=e!=null?t+e:t;return n=Math.min(n,255),n=Math.max(n,0),n}static alphaMinMax(t){let e=t??1;return e=Math.min(e,1),e=Math.max(e,0),e}static backgroundColor(t,e){return t?"background-color: "+r.getRGBAfromColor(t,e):""}static getThemeClass(t){return t||""}static applayCssClass(t,e,n){if(t.length==0)return"";if(t.length==r.allBreakpoints.length)return e;const i=[];t=r.getSortedBreakpoints(t);const a=r.getSortedAllBreakpoints();for(let l=0;l<t.length;l++){const o=t[l];if(l==0){o!="default"&&n&&i.push("fixed-default:"+n),i.push((o=="2xl"?"":"fixed-")+o+":"+e);continue}const p=t[l-1],g=a.findIndex(c=>c===o);if(n&&g>0&&p!=a[g-1])for(let c=a.findIndex(d=>d===p)+1;c<g;c++)i.push((o=="2xl"?"":"fixed-")+a[c]+":"+n);i.push((o=="2xl"?"":"fixed-")+o+":"+e)}return i.join(" ")}};s(r,"allBreakpoints",["default","sm","md","lg","xl","2xl"]),s(r,"breakpointWeight",{default:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536});let f=r;export{f as H};

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.