PageSourceSearch

https://lbm.co/_nuxt/CCyQRraD.js

js lbm.co collected 2026-10-09 23:15:31 UTC 9,846 bytes, 29 lines download raw bytes

1import{C as e,t}from"./C-jl1tqw.js";import{n}from"./bd8v118n.js";t();var r=[{name:`default`,minWidth:0},{name:`sm`,minWidth:640},{name:`md`,minWidth:768},{name:`lg`,minWidth:1024},{name:`xl`,minWidth:1280},{name:`2xl`,minWidth:1536}];function i(e){return e==null?null:Number.isNaN(Number(e))?e.toString():`${e}px`}function a(e){let t={};if(e.position!==void 0&&e.position!==null&&e.position!==``&&(t.position=e.position),e.padding!==void 0&&e.padding!==null){let{top:n,right:r,bottom:a,left:o}=e.padding;if(n!=null&&!(typeof n==`string`&&n.startsWith(`-`))){let e=i(n);e!==null&&e!==``&&(t[`padding-top`]=e)}if(r!=null&&!(typeof r==`string`&&r.startsWith(`-`))){let e=i(r);e!==null&&e!==``&&(t[`padding-right`]=e)}if(a!=null&&!(typeof a==`string`&&a.startsWith(`-`))){let e=i(a);e!==null&&e!==``&&(t[`padding-bottom`]=e)}if(o!=null&&!(typeof o==`string`&&o.startsWith(`-`))){let e=i(o);e!==null&&e!==``&&(t[`padding-left`]=e)}}if(e.margin!==void 0&&e.margin!==null){let{top:n,right:r,bottom:a,left:o}=e.margin;if(n!=null){let e=i(n);e!==null&&e!==``&&(t[`margin-top`]=e)}if(r!=null){let e=i(r);e!==null&&e!==``&&(t[`margin-right`]=e)}if(a!=null){let e=i(a);e!==null&&e!==``&&(t[`margin-bottom`]=e)}if(o!=null){let e=i(o);e!==null&&e!==``&&(t[`margin-left`]=e)}}e.color!==void 0&&e.color!==null&&e.color!==``&&(t.color=e.color),e.backgroundColor!==void 0&&e.backgroundColor!==null&&e.backgroundColor!==``&&(t[`background-color`]=e.backgroundColor),e.opacity!==void 0&&e.opacity!==null&&(t.opacity=e.opacity.toString()),e.zIndex!==void 0&&e.zIndex!==null&&(t[`z-index`]=e.zIndex.toString(),(t.position===void 0||t.position===``)&&(t.position=`relative`));let n=e;if(n.displayMode!==void 0&&n.displayMode!==null&&n.displayMode!==``&&(t.display=n.displayMode),n.maxWidth!==void 0&&n.maxWidth!==null){let e=i(n.maxWidth);e!==null&&e!==``&&(t[`max-width`]=e)}if(n.displayMode===`flex`&&n.flex!==void 0&&n.flex!==null){let{direction:e,wrap:r,justify:i,align:a}=n.flex;e!=null&&e!==``&&(t[`flex-direction`]=e),r!=null&&r!==``&&(t[`flex-wrap`]=r),i!=null&&i!==``&&(t[`justify-content`]=i),a!=null&&a!==``&&(t[`align-items`]=a)}if(n.displayMode===`grid`&&n.grid!==void 0&&n.grid!==null){let{columns:e,gap:r,gapX:a,gapY:o,unifiedGap:s}=n.grid;if(e!=null&&e!==0&&(t[`grid-template-columns`]=`repeat(${e}, minmax(0, 1fr))`),(s===!0||s===`1`||s===`true`)&&r!=null){let e=i(r);e!==null&&e!==``&&(t.gap=e)}else{if(a!=null){let e=i(a);e!==null&&e!==``&&(t[`column-gap`]=e)}if(o!=null){let e=i(o);e!==null&&e!==``&&(t[`row-gap`]=e)}}}return t}function o(e,t,n,i){if(t.length===0)return``;let o=i??r,s=new Map;o.forEach(e=>{s.set(e.name,e.minWidth)});let c=[...t].sort((e,t)=>(s.get(e.breakpoint)??0)-(s.get(t.breakpoint)??0)),l=new Map,u=new Set;for(let e of c){let t=e.breakpoint,n=a(e);if(e.contain===!0){n.width=`100%`;let e=s.get(t);e!==void 0&&e>0&&n[`max-width`]===void 0&&(n[`max-width`]=`${e}px`)}l.set(t,n);for(let e of Object.keys(n))u.add(e)}let d=l.get(`default`)??{},f={};for(let e of u)d[e]===void 0&&(f[e]=`revert`);let p=[],m=n!==void 0&&n!==``?`#${e} ${n}`:`#${e}`,h={...f,...d};if(Object.keys(h).length>0){let e=Object.entries(h).map(([e,t])=>`  ${e}: ${t};`).join(`
2`);p.push(`${m} {
3${e}
4}`)}for(let e of c){let t=s.get(e.breakpoint);if(t===void 0||t===0)continue;let n=l.get(e.breakpoint)??{};if(Object.keys(n).length===0)continue;let r=Object.entries(n).map(([e,t])=>`  ${e}: ${t};`).join(`
5`);p.push(`@media (min-width: ${t}px) {
6  ${m} {
7  ${r}
8  }
9}`)}return p.join(`
10
11`)}function s(t,r,i){let a=typeof t==`function`?t:()=>t,s=typeof r==`function`?r:()=>r,c=e(()=>{let e=a(),t=s();return e===``||t==null||t.length===0?``:o(e,t,i)});n({style:[{key:e(()=>`voix-responsive-${a()}`),innerHTML:c}]})}function c(t,a){let o=typeof t==`function`?t:()=>t,s=typeof a==`function`?a:()=>a,c=new Map;r.forEach(e=>{c.set(e.name,e.minWidth)});let l=e(()=>{let e=o(),t=s();if(e===``||t==null||t.length===0)return``;let n=[...t].sort((e,t)=>(c.get(e.breakpoint)??0)-(c.get(t.breakpoint)??0)),r=new Map,a=new Map,l=new Set,u=new Set;for(let e of n){let t=e.breakpoint,n={},o={};if(e.position!==void 0&&e.position!==null&&e.position!==``&&(n.position=e.position),e.padding!==void 0&&e.padding!==null){let{top:t,right:r,bottom:a,left
11:o}=e.padding;if(t!=null&&!(typeof t==`string`&&t.startsWith(`-`))){let e=i(t);e!==null&&e!==``&&(n[`padding-top`]=e)}if(r!=null&&!(typeof r==`string`&&r.startsWith(`-`))){let e=i(r);e!==null&&e!==``&&(n[`padding-right`]=e)}if(a!=null&&!(typeof a==`string`&&a.startsWith(`-`))){let e=i(a);e!==null&&e!==``&&(n[`padding-bottom`]=e)}if(o!=null&&!(typeof o==`string`&&o.startsWith(`-`))){let e=i(o);e!==null&&e!==``&&(n[`padding-left`]=e)}}if(e.margin!==void 0&&e.margin!==null){let{top:t,right:r,bottom:a,left:o}=e.margin;if(t!=null){let e=i(t);e!==null&&e!==``&&(n[`margin-top`]=e)}if(r!=null){let e=i(r);e!==null&&e!==``&&(n[`margin-right`]=e)}if(a!=null){let e=i(a);e!==null&&e!==``&&(n[`margin-bottom`]=e)}if(o!=null){let e=i(o);e!==null&&e!==``&&(n[`margin-left`]=e)}}e.color!==void 0&&e.color!==null&&e.color!==``&&(n.color=e.color),e.backgroundColor!==void 0&&e.backgroundColor!==null&&e.backgroundColor!==``&&(n[`background-color`]=e.backgroundColor),e.opacity!==void 0&&e.opacity!==null&&(n.opacity=e.opacity.toString()),e.zIndex!==void 0&&e.zIndex!==null&&(n[`z-index`]=e.zIndex.toString(),(n.position===void 0||n.position===``)&&(n.position=`relative`));let s=e;if(s.displayMode!==void 0&&s.displayMode!==null&&s.displayMode!==``&&(o.display=s.displayMode),s.maxWidth!==void 0&&s.maxWidth!==null){let e=i(s.maxWidth);e!==null&&e!==``&&(o[`max-width`]=e)}if(s.displayMode===`flex`&&s.flex!==void 0&&s.flex!==null){let{direction:e,wrap:t,justify:n,align:r}=s.flex;e!=null&&e!==``&&(o[`flex-direction`]=e),t!=null&&t!==``&&(o[`flex-wrap`]=t),n!=null&&n!==``&&(o[`justify-content`]=n),r!=null&&r!==``&&(o[`align-items`]=r)}if(s.displayMode===`grid`&&s.grid!==void 0&&s.grid!==null){let{columns:e,gap:t,gapX:n,gapY:r,unifiedGap:a}=s.grid;if(e!=null&&e!==0&&(o[`grid-template-columns`]=`repeat(${e}, minmax(0, 1fr))`),(a===!0||a===`1`||a===`true`)&&t!=null){let e=i(t);e!==null&&e!==``&&(o.gap=e)}else{if(n!=null){let e=i(n);e!==null&&e!==``&&(o[`column-gap`]=e)}if(r!=null){let e=i(r);e!==null&&e!==``&&(o[`row-gap`]=e)}}}r.set(t,n),a.set(t,o);for(let e of Object.keys(n))l.add(e);for(let e of Object.keys(o))u.add(e)}let d=r.get(`default`)??{},f=a.get(`default`)??{},p={},m={};for(let e of l)d[e]===void 0&&(p[e]=`revert`);for(let e of u)f[e]===void 0&&(m[e]=`revert`);let h=[],g={...p,...d},_={...m,...f};if(Object.keys(g).length>0){let t=Object.entries(g).map(([e,t])=>`  ${e}: ${t};`).join(`
12`);h.push(`#${e} {
13${t}
14}`)}if(Object.keys(_).length>0){let t=Object.entries(_).map(([e,t])=>`  ${e}: ${t};`).join(`
15`);h.push(`#${e} .voix-group {
16${t}
17}`)}for(let t of n){let n=c.get(t.breakpoint);if(n===void 0||n===0)continue;let i=r.get(t.breakpoint)??{},o=a.get(t.breakpoint)??{};if(Object.keys(i).length>0){let t=Object.entries(i).map(([e,t])=>`  ${e}: ${t};`).join(`
18`);h.push(`@media (min-width: ${n}px) {
19  #${e} {
20  ${t}
21  }
22}`)}if(Object.keys(o).length>0){let t=Object.entries(o).map(([e,t])=>`  ${e}: ${t};`).join(`
23`);h.push(`@media (min-width: ${n}px) {
24  #${e} .voix-group {
25  ${t}
26  }
27}`)}}return h.join(`
28
29`)});n({style:[{key:e(()=>`voix-responsive-${o()}`),innerHTML:l}]})}function l(e,t,n){return n!==void 0&&(e=u(e,t,n)),e}function u(e,t,n){return Number.isNaN(Number(n))?e!==void 0&&(n?e[t]=n:delete e[t]):e[t]=`${n}px`,e}function d(e,t){return t.color!==void 0&&(e.color=t.color),t.backgroundColor!==void 0&&(e.backgroundColor=t.backgroundColor),e}function f(e,t){if(t.padding!==void 0){if(t.padding.top!==void 0){let n=t.padding.top;!Number.isNaN(Number(n))&&Number(n)<0||typeof n==`string`&&n[0]===`-`?delete e.paddingTop:e=l(e,`paddingTop`,t.padding.top?.toString())}if(t.padding.bottom!==void 0){let n=t.padding.bottom;!Number.isNaN(Number(n))&&Number(n)<0||typeof n==`string`&&n[0]===`-`?delete e.paddingBottom:e=l(e,`paddingBottom`,t.padding.bottom?.toString())}if(t.padding.left!==void 0){let n=t.padding.left;!Number.isNaN(Number(n))&&Number(n)<0||typeof n==`string`&&n[0]===`-`?delete e.paddingLeft:e=l(e,`paddingLeft`,t.padding.left?.toString())}if(t.padding.right!==void 0){let n=t.padding.right;!Number.isNaN(Number(n))&&Number(n)<0||typeof n==`string`&&n[0]===`-`?delete e.paddingRight:e=l(e,`paddingRight`,t.padding.right?.toString())}}return e}function p(e,t){return t.margin!==void 0&&(t.margin.top!==void 0&&(e=l(e,`marginTop`,t.margin.top?.toString())),t.margin.bottom!==void 0&&(e=l(e,`marginBottom`,t.margin.bottom?.toString())),t.margin.left!==void 0&&(e=l(e,`marginLeft`,t.margin.left?.toString())),t.margin.right!==void 0&&(e=l(e,`marginRight`,t.margin.right?.toString()))),e}function m(e,t){return t.displayMode===`flex`&&t.flex&&(e===void 0&&(e={}),e.flexDirection=t.flex.direction===void 0?`row`:t.flex.direction,e.flexWrap=t.flex.wrap===void 0?`nowrap`:t.flex.wrap,e.justifyContent=t.flex.justify===void 0?`flex-start`:t.flex.justify,e.alignItems=t.flex.align===void 0?`stretch`:t.flex.align),e}function h(e,t){return t.displayMode===`grid`&&t.grid&&(e===void 0&&(e={}
29),e.columns=t.grid.columns===void 0?`1`:t.grid.columns.toString(),e.gridTemplateColumns=`repeat(${e.columns}, minmax(0, ${e.columns}fr))`,t.grid.unifiedGap===!0||t.grid.unifiedGap===`1`||t.grid.unifiedGap===`true`?e=l(e,`gap`,t.grid.gap?.toString()):(e=l(e,`columnGap`,t.grid.gapX?.toString()),e=l(e,`rowGap`,t.grid.gapY?.toString()))),e}function g(e,t){return t!==void 0&&t.maxWidth!==void 0&&t.maxWidth!==null&&(e=l(e,`maxWidth`,t.maxWidth.toString())),e}function _(e,t){return t.opacity!==void 0&&t.opacity!==null&&(e.opacity=t.opacity),t.zIndex!==void 0&&t.zIndex!==null&&(e.zIndex=t.zIndex,e.position===void 0&&(e.position=`relative`)),e}export{p as a,c,_ as i,s as l,m as n,g as o,h as r,f as s,d 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.