PageSourceSearch

https://www.avvenire.it/_nuxt/2BBd8zvU.js

js avvenire.it collected 2026-09-24 08:43:16 UTC 2,524 bytes, 1 lines download raw bytes

1import{u as N}from"./97VStiZ4.js";import{C as P,c as E,u as g,aq as j,k as c,al as n,P as S,U as T,a9 as p,j as w,N as M,f as u,a3 as f}from"./tu1LtYy3.js";function x(e,r={}){return!V(e,r)}function V(e,r={}){return q(e?.(r))}function q(e){return!e||U(e).every(r=>r.type===P||r.type===E&&!r.children?.length)}function U(e){return Array.isArray(e)?e:e!==null?[e]:[]}const G=200,H=g({inheritAttrs:!1,__name:"Shoulders",props:{order:{default:()=>["center"]},shoulderFixedSize:{default:void 0},breakpoint:{default:"md"},customSxClass:{default:""},customCenterClass:{default:""},customDxClass:{default:""},forceCountCenter:{type:Boolean,default:!0},dxOnTop:{type:Boolean},sxOnTop:{type:Boolean},allOnTop:{type:Boolean}},setup(e){function r(t,l,D){return Math.min(Math.max(t,l),D)}const o=e,a=j(),{currentStyle:z,smallerThanComponentBP:v,computeClass:s}=N(o.breakpoint),k=u(()=>d.value===2?z.value:400),m={1:"w-full",2:s(["w-1/3"],"w-full"),3:s(["w-1/4"],"w-full")},i=[s(["order-none"],"order-1"),s(["order-none"],"order-2"),s(["order-none"],"order-3")],B={1:"w-full",2:s(["w-2/3"],"w-full"),3:s(["w-1/2"],"w-full")},F=s(["flex-row"]),d=u(()=>{let t=o.forceCountCenter||x(a.center)?1:0;return x(a.sx)&&!o.sxOnTop&&(t+=1),x(a.dx)&&!o.dxOnTop&&(t+=1),t}),b=u(()=>o.sxOnTop?o.breakpoint+":w-full":o.shoulderFixedSize?"":m[d.value-(o.dxOnTop?1:0)]),$=u(()=>o.dxOnTop?o.breakpoint+":w-full":o.shoulderFixedSize?"":m[d.value-(o.sxOnTop?1:0)]),y=u(()=>o.shoulderFixedSize?"":m[d.value]),A=u(()=>o.shoulderFixedSize?s(["w-min"],"grow w-full"):B[d.value]),O=u(()=>o.shoulderFixedSize&&!v.value?{width:`${r(o.shoulderFixedSize,G,k.value)||o.shoulderFixedSize}px;`}:"");function C(t){let l=o.order.indexOf(t);return l!=-1||([...o.order],o.order.indexOf("center")!=-1,o.order.indexOf("sx")!=-1,o.order.indexOf("dx")!=-1,l=o.order.indexOf(t),l!=-1)?i[l]:i[i.length-1]}function h(t){return x(t)}return(t,l)=>(f(),c("div",M({class:["relative flex w-full flex-col",[n(F),e.sxOnTop||e.dxOnTop?"flex-wrap":""]]},t.$attrs),[h(n(a).sx)?(f(),c("div",{key:0,style:T(n(O)),class:S([e.dxOnTop?n(y):n(b),e.sxOnTop?"order-[-1]":C("sx"),e.customSxClass])},[p(t.$slots,"sx")],6)):w("",!0),h(n(a).center)||e.forceCountCenter?(f(),c("div",{key:1,class:S([n(A),C("center"),e.customCenterClass])},[p(t.$slots,"center")],2)):w("",!0),h(n(a).dx)?(f(),c("div",{key:2,style:T(n(O)),class:S([e.sxOnTop?n(y):n($),e.dxOnTop?"order-[-1]":C("dx"),e.customDxClass])},[p(t.$slots,"dx")],6)):w("",!0)],16))}}),K=Object.assign(H,{__name:"ContainerShoulders"});export{K as _};

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.