1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="dc5ff50f-e30b-805e-22b6-c42a48162d4e")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,16433,e=>{"use strict";function t(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"calc(100vw - 40px)",r=t=>Math.ceil(t*e);return[`(min-width: 1280px) ${r(1216)}px`,`(min-width: 1024px) ${r(960)}px`,`(min-width: 768px) ${r(704)}px`,t].join(", ")}let r={lead:t(.75),half:t(.5),third:t(1/3),quarter:t(.25),full:"100vw",articleHero:"(min-width: 1280px) 710px, (min-width: 1024px) 560px, (min-width: 768px) 528px, 100vw",articleSideHero:"(min-width: 1280px) 507px, (min-width: 1024px) 400px, (min-width: 768px) 294px, 100vw",editionCover:"(min-width: 1024px) 256px, (min-width: 768px) 235px, calc(100vw - 40px)",editionCoverLead:"(min-width: 768px) 256px, calc(100vw - 40px)",bandCover:t(1/3)};e.s(["IMAGE_SIZES",0,r,"containerSizes",0,t])},274662,e=>{"use strict";var t=e.i(408536),r=e.i(736542);e.s(["useSize",0,function(e){let[o,n]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,o;if(!Array.isArray(t)||!t.length)return;let i=t[0];if("borderBoxSize"in i){let e=i.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,o=t.blockSize}else r=e.offsetWidth,o=e.offsetHeight;n({width:r,height:o})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}n(void 0)},[e]),o}])},220388,e=>{"use strict";var t=e.i(854401),r=e.i(34522),o=e.i(408536),n=e.i(291967),i=e.i(221977),a=e.i(359687),l=e.i(688996),s=e.i(901206),u=e.i(198588),c=e.i(871598),d=e.i(905412),p=e.i(270546),h=e.i(241687),f=e.i(934093),m=e.i(890446),g=e.i(975946),v=e.i(73772),y=e.i(38850),C="Popover",[w,x]=(0,a.createContextScope)(C,[d.createPopperScope]),b=(0,d.createPopperScope)(),[S,P]=w(C),T=e=>{let{__scopePopover:r,children:n,open:i,defaultOpen:a,onOpenChange:l,modal:s=!1}=e,u=b(r),p=o.useRef(null),[h,f]=o.useState(!1),[m,v]=(0,g.useControllableState)({prop:i,defaultProp:a??!1,onChange:l,caller:C});return(0,t.jsx)(d.Root,{...u,children:(0,t.jsx)(S,{scope:r,contentId:(0,c.useId)(),triggerRef:p,open:m,onOpenChange:v,onOpenToggle:o.useCallback(()=>v(e=>!e),[v]),hasCustomAnchor:h,onCustomAnchorAdd:o.useCallback(()=>f(!0),[]),onCustomAnchorRemove:o.useCallback(()=>f(!1),[]),modal:s,children:n})})};T.displayName=C;var D="PopoverAnchor",M=o.forwardRef((e,r)=>{let{__scopePopover:n,...i}=e,a=P(D,n),l=b(n),{onCustomAnchorAdd:s,onCustomAnchorRemove:u}=a;return o.useEffect(()=>(s(),()=>u()),[s,u]),(0,t.jsx)(d.Anchor,{...l,...i,ref:r})});M.displayName=D;var _="PopoverTrigger",U=o.forwardRef((e,r)=>{let{__scopePopover:o,...a}=e,l=P(_,o),s=b(o),u=(0,i.useComposedRefs)(r,l.triggerRef),c=(0,t.jsx)(f.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":l.open,"aria-controls":l.contentId,"data-state":L(l.open),...a,ref:u,onClick:(0,n.composeEventHandlers)(e.onClick,l.onOpenToggle)});return l.hasCustomAnchor?c:(0,t.jsx)(d.Anchor,{asChild:!0,...s,children:c})});U.displayName=_;var k="PopoverPortal",[A,R]=w(k,{forceMount:void 0}),O=e=>{let{__scopePopover:r,forceMount:o,children:n,container:i}=e,a=P(k,r);return(0,t.jsx)(A,{scope:r,forceMount:o,children:(0,t.jsx)(h.Presence,{present:o||a.open,children:(0,t.jsx)(p.Portal,{asChild:!0,container:i,children:n})})})};O.displayName=k;var N="PopoverContent",$=o.forwardRef((e,r)=>{let o=R(N,e.__scopePopover),{forceMount:n=o.forceMount,...i}=e,a=P(N,e.__scopePopover);return(0,t.jsx)(h.Presence,{present:n||a.open,children:a.modal?(0,t.jsx)(I,{...i,ref:r}):(0,t.jsx)(Z,{...i,ref:r})})});$.displayName=N;var j=(0,m.createSlot)("PopoverContent.RemoveScroll"),I=o.forwardRef((e,r)=>{let a=P(N,e.__scopePopover),l=o.useRef(null),s=(0,i.useComposedRefs)(r,l),u=o.useRef(!1);return o.useEffect(()=>{let e=l.current;if(e)return(0,v.hideOthers)(e)},[]),(0,t.jsx)(y.RemoveScroll,{as:j,allowPinchZoom:!0,children:(0,t.jsx)(E,{...e,ref:s,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{var t;e.preventDefault(),u.current||null==(t=a.triggerRef.current)||t.focu
2s()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;u.current=2===t.button||r},{checkForDefaultPrevented:!1}),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),Z=o.forwardRef((e,r)=>{let n=P(N,e.__scopePopover),i=o.useRef(!1),a=o.useRef(!1);return(0,t.jsx)(E,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{var r,o;null==(r=e.onCloseAutoFocus)||r.call(e,t),t.defaultPrevented||(i.current||null==(o=n.triggerRef.current)||o.focus(),t.preventDefault()),i.current=!1,a.current=!1},onInteractOutside:t=>{var r,o;null==(r=e.onInteractOutside)||r.call(e,t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let l=t.target;(null==(o=n.triggerRef.current)?void 0:o.contains(l))&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),E=o.forwardRef((e,r)=>{let{__scopePopover:o,trapFocus:n,onOpenAutoFocus:i,onCloseAutoFocus:a,disableOutsidePointerEvents:c,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:f,onInteractOutside:m,...g}=e,v=P(N,o),y=b(o);return(0,s.useFocusGuards)(),(0,t.jsx)(u.FocusScope,{asChild:!0,loop:!0,trapped:n,onMountAutoFocus:i,onUnmountAutoFocus:a,children:(0,t.jsx)(l.DismissableLayer,{asChild:!0,disableOutsidePointerEvents:c,onInteractOutside:m,onEscapeKeyDown:p,onPointerDownOutside:h,onFocusOutside:f,onDismiss:()=>v.onOpenChange(!1),children:(0,t.jsx)(d.Content,{"data-state":L(v.open),role:"dialog",id:v.contentId,...y,...g,ref:r,style:{...g.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),F="PopoverClose",q=o.forwardRef((e,r)=>{let{__scopePopover:o,...i}=e,a=P(F,o);return(0,t.jsx)(f.Primitive.button,{type:"button",...i,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});q.displayName=F;var z=o.forwardRef((e,r)=>{let{__scopePopover:o,...n}=e,i=b(o);return(0,t.jsx)(d.Arrow,{...i,...n,ref:r})});function L(e){return e?"open":"closed"}z.displayName="PopoverArrow",e.s(["Anchor",0,M,"Arrow",0,z,"Close",0,q,"Content",0,$,"Popover",0,T,"PopoverAnchor",0,M,"PopoverArrow",0,z,"PopoverClose",0,q,"PopoverContent",0,$,"PopoverPortal",0,O,"PopoverTrigger",0,U,"Portal",0,O,"Root",0,T,"Trigger",0,U,"createPopoverScope",0,x],889635);var H=e.i(889635),H=H,B=e.i(690923);e.s(["Popover",0,function(e){let o,n,i=(0,r.c)(4);return i[0]!==e?({...o}=e,i[0]=e,i[1]=o):o=i[1],i[2]!==o?(n=(0,t.jsx)(H.Root,{"data-slot":"popover",...o}),i[2]=o,i[3]=n):n=i[3],n},"PopoverAnchor",0,function(e){let o,n,i=(0,r.c)(4);return i[0]!==e?({...o}=e,i[0]=e,i[1]=o):o=i[1],i[2]!==o?(n=(0,t.jsx)(H.Anchor,{"data-slot":"popover-anchor",...o}),i[2]=o,i[3]=n):n=i[3],n},"PopoverArrow",0,function(e){let o,n,i=(0,r.c)(4);return i[0]!==e?({...o}=e,i[0]=e,i[1]=o):o=i[1],i[2]!==o?(n=(0,t.jsx)(H.Arrow,{"data-slot":"popover-arrow",...o}),i[2]=o,i[3]=n):n=i[3],n},"PopoverClose",0,function(e){let o,n,i=(0,r.c)(4);return i[0]!==e?({...o}=e,i[0]=e,i[1]=o):o=i[1],i[2]!==o?(n=(0,t.jsx)(H.Close,{"data-slot":"popover-close",...o}),i[2]=o,i[3]=n):n=i[3],n},"PopoverContent",0,function(e){let o,n,i,a,l,s,u=(0,r.c)(12);u[0]!==e?({className:o,align:i,sideOffset:a,...n}=e,u[0]=e,u[1]=o,u[2]=n,u[3]=i,u[4]=a):(o=u[1],n=u[2],i=u[3],a=u[4]);let c=void 0===i?"center":i,d=void 0===a?4:a;return u[5]!==o?(l=(0,B.cn)("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border border-gray-200 bg-white p-4 text-gray-950 shadow-md outline-hidden data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 dark:border-gray-800 dark:bg-gray-950 dark:text-gray-50",o),u[5]=o,u[6]=l):l=u[6],u[7]!==c||u[8]!==n||u[9]!==d||u[10]!==l?(s=(0,t.jsx)(H.Portal,{children:(0,t.jsx)(H.Content,{"data-slot":"popover-content",align:c,sideOffset:d,className:l,...n})}),u[7]=c,u[8]=n,u[9]=d,u[10]=l,u[11]=s):s=u[11],s},"PopoverDescription",0,function(e){let o,n,i,a,l=(0,r.c)(8);return l[0]!==e?({className:o,...n}=e,l[0]=e,l[1]=o,l[2]=n):(o=l[1],n=l[2]),l[3]!==o?(i=(0,B.cn)("text-gray-500 dark:text-gray-400",o),l[3]=o,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(a=(0,t.jsx)("p",{"data-slot":"popover-description",className:i,...n}),l[5]=n,l[6]=i,l[7]=a):a=l[7],a},"PopoverHeader",0,function(e){let o,n,i,a,l=(0,r.c)(8);return l[0]!==e?({className:o,...n}=e,l[0]=e,l[1]=o,l[2]=n):(o=l[1],n=l[2]),l[3]!==o?(i=(0,B.cn)("flex flex-col gap-1 text-sm",o),l[3]=o,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(a=(0,t.jsx)("div",{"data-slot":"popover-header",className:i,...n}),l[5]=n,l[6]=i,l[7]=a):a=l[7],a},"PopoverTitle",0,function(e){let o,n,i,a,l=(0,r.c)(8);return l[0]!==e?({className:o,...n}=e,l[0]=e,l[1]=o,l[2]=n):(o=l[1],n=l[2]),l[3]!==o?(i=(0,B.cn)("font-medium",o),l[3]=o,l[4]=i):i=l[4],l[5]!==n||l[6]!==i?(a=(0,t.jsx)("div",{"data-slot":"popover-title",className:i,...n}),l[5]=n,l[6]=i,l[7]=a):a=l[7],a},"PopoverTrigger",0,function(e){let o,n,i=(0,r.c)(4);return i[0]!==e?({...o}=e,i[0]=e,i[1]=o):o=i[1],i[2]!==o?(n=(0,t.jsx)(H.Trigger,{"data-slot":"popover-trigger",...o}),i[2]=o,i[3]=n):n=i[3],n}],220388)},437316,e=>{"use strict";e.s(["getURL",0,function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t="https://ilmanifesto.it";t=(t=t.replace(/\/+$/,"")).includes("http")?t:`https://${t}`;let r=e.replace(/^\/+/,"");return r?`${t}/${r}`:t}])},293585,e=>{"use strict";let t=(0,e.i(89718).default)("gift",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M20 11v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-8",key:"1sqzm4"}],["path",{d:"M7.5 7a1 1 0 0 1 0-5A4.8 8 0 0 1 12 7a4.8 8 0 0 1 4.5-5 1 1 0 0 1 0 5",key:"kc0143"}],["rect",{x:"3",y:"7",width:"18",height:"4",rx:"1",key:"1hberx"}]]);e.s(["Gift",0,t],293585)},43105,532940,e=>{"use strict";var t=e.i(854401),r=e.i(34522);async function o(e){let{provider:t,url:r,title:o,text:n}=e;switch(t){case"twitter":return window.open(`https://twitter.com/intent/tweet/?url=${encodeURI(r)}${n?`&text=${n}`:""}${o?`&hashtags=${o}`:""}`);case"facebook":return window.open(`https://www.facebook.com/sharer/sharer.php?display=popup&u=${encodeURI(r)}`);case"linkedin":return window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURI(r)}`);case"mail":return window.open(`mailto:?body=${encodeURI(r)}&subject=${o}`);default:return navigator.share({title:o,text:n,url:r})}}e.s(["Forward2",0,function(e){let o,n,i=(0,r.c)(3);return i[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,t.jsx)("path",{d:"M21.707 11.7928L13.707 3.79279C13.5671 3.65298 13.389 3.55777 13.195 3.5192C13.0011 3.48064 12.8 3.50044 12.6173 3.57611C12.4346 3.65178 12.2785 3.77992 12.1686 3.94433C12.0587 4.10874 12 4.30204 12 4.49979V8.04479C9.26829 8.29758 6.72923 9.56065 4.87969 11.5868C3.03015 13.613 2.00327 16.2564 2 18.9998V20.4998C2.00016 20.7074 2.06491 20.9098 2.18527 21.0789C2.30564 21.248 2.47565 21.3755 2.67173 21.4436C2.8678 21.5118 3.08022 21.5172 3.27953 21.4592C3.47883 21.4011 3.65514 21.2825 3.784 21.1198C4.76385 19.9549 5.96594 18.9969 7.3201 18.3017C8.67426 17.6065 10.1533 17.1881 11.671 17.0708C11.721 17.0648 11.846 17.0548 12 17.0448V20.4998C12 20.6975 12.0587 20.8908 12.1686 21.0552C12.2785 21.2197 12.4346 21.3478 12.6173 21.4235C12.8 21.4991 13.0011 21.5189 13.195 21.4804C13.389 21.4418 13.5671 21.3466 13.707 21.2068L21.707 13.2068C21.8945 13.0193 21.9998 12.765 21.9998 12.4998C21.9998 12.2346 21.8945 11.9803 21.707 11.7928ZM14 18.0858V15.9998C14 15.7346 13.8946 15.4802 13.7071 15.2927C13.5196 15.1051 13.2652 14.9998 13 14.9998C12.745 14.9998 11.704 15.0498 11.438 15.0848C8.74279 15.3328 6.17727 16.3568 4.052 18.0328C4.29324 15.8272 5.33954 13.7881 6.99055 12.3059C8.64157 10.8238 10.7813 10.0026 13 9.99979C13.2652 9.99979 13.5196 9.89443 13.7071 9.70689C13.8946 9.51936 14 9.265 14 8.99979V6.91379L19.586 12.4998L14 18.0858Z",fill:"currentColor"}),i[0]=o):o=i[0],i[1]!==e?(n=(0,t.jsx)("svg",{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:o}),i[1]=e,i[2]=n):n=i[2],n}],43105),e.s(["share",0,o],532940)},704772,e=>{"use strict";var t=e.i(34522),r=e.i(506253),o=e.i(422470),n=e.i(751593),i=e.i(920348),a=e.i(438735);
2let l=(0,a.createServerReference)("40361f173431368afc884651f3e6f04d77d356b253",a.callServer,void 0,a.findSourceMapURL,"addUserBookmark"),s=(0,a.createServerReference)("40ef704dfe8651cd921c46370bc0247d9445bae259",a.callServer,void 0,a.findSourceMapURL,"getCurrentUserBookmark"),u=(0,a.createServerReference)("404b104a6e5f432da721f752e35592bf5d398e95cb",a.callServer,void 0,a.findSourceMapURL,"removeUserBookmark");e.i(37736);var c=e.i(709897);async function d(e){let{articleId:t,action:r}=e,{error:o}="add"===r?await l(t):await u(t);if(o)throw(0,i.deserializeError)(o)}e.s(["useBookmark",0,function(e,r){var n,i,a,l;let u,d,p,h,f=(0,t.c)(12),m=c.authClient.useSession(),g=null==(i=m.data)||null==(n=i.user)?void 0:n.id;f[0]!==g?(u={userId:g},f[0]=g,f[1]=u):u=f[1],f[2]!==e||f[3]!==u?(d=["user","users","bookmarks",e,u],f[2]=e,f[3]=u,f[4]=d):d=f[4],f[5]!==e?(p=async()=>s(e),f[5]=e,f[6]=p):p=f[6];let v=!!e&&!!(null==(l=m.data)||null==(a=l.user)?void 0:a.id)&&((null==r?void 0:r.enabled)??!0);return f[7]!==r||f[8]!==d||f[9]!==p||f[10]!==v?(h={...r,queryKey:d,queryFn:p,enabled:v},f[7]=r,f[8]=d,f[9]=p,f[10]=v,f[11]=h):h=f[11],(0,o.useQuery)(h)},"useMutateBookmark",0,function(e){let o,i,a=(0,t.c)(5),l=(0,n.useQueryClient)();return a[0]!==l?(o=async(e,t)=>{let{articleId:r}=t;await l.invalidateQueries({queryKey:["user","users","bookmarks",r]})},a[0]=l,a[1]=o):o=a[1],a[2]!==e||a[3]!==o?(i={...e,mutationFn:d,onSuccess:o},a[2]=e,a[3]=o,a[4]=i):i=a[4],(0,r.useMutation)(i)}],704772)},316417,e=>{"use strict";var t=e.i(854401),r=e.i(34522),o=e.i(408536);let n=(0,o.createContext)(null);function i(e){let o,i=(0,r.c)(3),{article:a,children:l}=e;return i[0]!==a||i[1]!==l?(o=(0,t.jsx)(n.Provider,{value:a,children:l}),i[0]=a,i[1]=l,i[2]=o):o=i[2],o}function a(e){let o,n=(0,r.c)(3),{children:a,article:l}=e;return n[0]!==l||n[1]!==a?(o=(0,t.jsx)(i,{article:l,children:a}),n[0]=l,n[1]=a,n[2]=o):o=n[2],o}e.s(["PostContextMenu",0,a,"PostContextMenuProvider",0,i,"default",0,a,"usePostContextMenu",0,function(){let e=(0,o.useContext)(n);if(null===e)throw Error("usePostContextMenu hook must be used inside the PostContextMenuProvider");return e}])},119643,571015,e=>{"use strict";let t={},r={};function o(e,o){try{let n=(t[e]||=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"longOffset"}).format)(o).split("GMT")[1];if(n in r)return r[n];return i(n,n.split(":"))}catch{if(e in r)return r[e];let t=null==e?void 0:e.match(n);if(t)return i(e,t.slice(1));return NaN}}let n=/([+-]\d\d):?(\d\d)?/;function i(e,t){let o=+(t[0]||0),n=+(t[1]||0),i=(t[2]||0)/60;return r[e]=60*o+n>0?60*o+n+i:60*o-n-i}class a extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(o(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),u(this,e)):this.setTime(Date.now())}static tz(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.length?new a(...r,e):new a(Date.now(),e)}withTimeZone(e){return new a(+this,e)}getTimezoneOffset(){let e=-o(this.timeZone,this);return e>0?Math.floor(e):Math.ceil(e)}setTime(e){return Date.prototype.setTime.apply(this,arguments),s(this),+this}[Symbol.for("constructDateFrom")](e){return new a(+new Date(e),this.timeZone)}}let l=/^(get|set)(?!UTC)/;function s(e){e.internal.setTime(+e),e.internal.setUTCSeconds(e.internal.getUTCSeconds()-Math.round(-(60*o(e.timeZone,e))))}function u(e,t){var r;let n=Array.isArray(t)?Date.UTC((r=t)[0],r.length>1?r[1]:0,r.length>2?r[2]:1,...r.slice(3)):+e.internal,i=o(e.timeZone,e),a=i>0?Math.floor(i):Math.ceil(i),l=new Date(+e);l.setUTCHours(l.getUTCHours()-1);let u=-new Date(+e).getTimezoneOffset(),d=-new Date(+l).getTimezoneOffset(),p=u;if(u-d&&u!==a&&Date.prototype.getHours.apply(e)!==(Array.isArray(t)?t[3]||0:e.internal.getUTCHours())){let t=new Date(+e),r=u-a;r&&t.setUTCMinutes(t.getUTCMinutes()+r);let n=o(e.timeZone,t);(n>0?Math.floor(n):Math.ceil(n))===a&&(p=d)}let h=p-a;h&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+h);let f=new Date(+e);f.setUTCSeconds(0);let m=u>0?f.getSeconds():(f.getSeconds()-60)%60,g=Math.round(-(60*o(e.timeZone,e)))%60;(g||m)&&Date.prototype.setUTCSeconds.call(e,Date.prototype.getUTCSeconds.call(e)+g+m);let v=o(e.timeZone,e),y=v>0?Math.floor(v):Math.ceil(v),C=-new Date(+e).getTimezoneOffset()-y-h,w=y-a,x=w>0&&c(e)-n==60*w*1e3&&c(e,n-60*y*1e3)!==n;if(y!==a&&C&&!x){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+C);let t=o(e.timeZone,e),r=y-(t>0?Math.floor(t):Math.ceil(t));r&&C<0&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+r)}s(e);let b=(t?n:n+1e3*g)-e.internal;b&&18e5>Math.abs(b)&&(Date.prototype.setTime.call(e,+e+b),s(e))}function c(e,t){let r=new Date(t??+e);return r.setUTCSeconds(r.getUTCSeconds()-Math.round(-(60*o(e.timeZone,r)))),+r}
2Object.getOwnPropertyNames(Date.prototype).forEach(e=>{if(!l.test(e))return;let t=e.replace(l,"$1UTC");a.prototype[t]&&(e.startsWith("get")?a.prototype[e]=function(){return this.internal[t]()}:(a.prototype[e]=function(){var e;return Date.prototype[t].apply(this.internal,arguments),e=this,Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),u(e),+this},a.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),s(this),+this}))});class d extends a{static tz(e){for(var t=arguments.length,r=Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return r.length?new d(...r,e):new d(Date.now(),e)}toISOString(){let[e,t,r]=this.tzComponents(),o=`${e}${t}:${r}`;return this.internal.toISOString().slice(0,-1)+o}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){let[e,t,r,o]=this.internal.toUTCString().split(" ");return`${null==e?void 0:e.slice(0,-1)} ${r} ${t} ${o}`}
2toTimeString(){let e=this.internal.toUTCString().split(" ")[4],[t,r,o]=this.tzComponents();return`${e} GMT${t}${r}${o} (${function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"long";return new Intl.DateTimeFormat("en-US",{hour:"numeric",timeZone:e,timeZoneName:r}).format(t).split(/\s/g).slice(2).join(" ")}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}tzComponents(){let e=this.getTimezoneOffset(),t=String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),r=String(Math.abs(e)%60).padStart(2,"0");return[e>0?"-":"+",t,r]}withTimeZone(e){return new d(+this,e)}[Symbol.for("constructDateFrom")](e){return new d(+new Date(e),this.timeZone)}}e.s(["TZDate",0,d],571015),e.s([],119643)},270209,e=>{"use strict";e.i(119643);var t=e.i(571015);let r="Europe/Rome",o=/^(\d{4})-(\d{2})-(\d{2})$/;e.s(["EDITORIAL_TIME_ZONE",0,r,"romeStartOfDay",0,function(e){let n=e.match(o);if(!n)return null;let[,i,a,l]=n,s=new t.TZDate(Number(i),Number(a)-1,Number(l),0,0,0,0,r).getTime();return Number.isNaN(s)?null:new Date(s).toISOString()}])},822244,e=>{"use strict";var t=e.i(793455),r=e.i(813038),o=e.i(235807),n=e.i(766847),i=e.i(654995);e.i(119643);var a=e.i(571015),l=e.i(270209);let s=["year(datePublished)","month(datePublished)","day(datePublished)","hour(datePublished)"];function u(e,t){return String(e).padStart(t,"0")}function c(e,t){if(Number.isNaN(e))return null;let r=new a.TZDate(e,l.EDITORIAL_TIME_ZONE),o=u(r.getFullYear(),4);if("year"===t)return o;let n=u(r.getMonth()+1,2);return"month"===t?`${o}-${n}`:`${o}-${n}-${u(r.getDate(),2)}`}let d=["reviewItemType",{authors:[{authors_id:["id","slug","firstName","lastName",{avatar:["id","alternativeText","caption",{image:["id","width","height","filename_disk"]}]}]}],relatedArticles:["related_articles_id"]}],p=(0,n.extendArticleFields)(d);function h(e,t){let r="number"==typeof t||/^\d+$/.test(t),o=String(t);switch(e){case"sections":return r?{articleSection:{syncSourceId:{_eq:o}}}:{articleSection:{_eq:o}};case"tags":return r?{tags:{tags_id:{syncSourceId:{_eq:o}}}}:{tags:{tags_id:{_eq:o}}};case"topics":return r?{topics:{topics_id:{syncSourceId:{_eq:o}}}}:{topics:{topics_id:{_eq:o}}};case"collections":return r?{collections:{collections_id:{syncSourceId:{_eq:o}}}}:{collections:{collections_id:{_eq:o}}};case"mema_entities":return{memaEntities:{mema_entities_id:{_eq:o}}}}}async function f(e,r,o){let{page:n=1,limit:a=4,filter:l}=o;return(0,t.readItemsPaginated)(i.directus,"articles",{...o,page:n,limit:a,sort:["-datePublished"],filter:{_and:[...l?[l]:[],{status:{_eq:"published"}},h(e,r)]},fields:p})}async function m(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"day",{page:d=1,limit:f=20,filter:m}=n,g=(d-1)*f,v={_and:[...m?[m]:[],{status:{_eq:"published"}},{datePublished:{_nnull:!0}},h(e,t)]},y=function(e,t){let r=new Map;for(let o of e){let e=Number(o.datePublished_year),n=Number(o.datePublished_month),i=Number(o.datePublished_day),a=Number(o.datePublished_hour);if(![e,n,i,a].every(Number.isFinite))continue;let l=c(Date.UTC(e,n-1,i,a),t);l&&r.set(l,(r.get(l)??0)+Number(o.count??0))}return[...r].map(e=>{let[t,r]=e;return{key:t,count:r}}).sort((e,t)=>e.key<t.key?1:e.key>t.key?-1:0)}(await i.directus.request((0,r.aggregate)("articles",{aggregate:{count:"*"},groupBy:s,query:{filter:v,limit:-1}})),a),C=y.length,w=Math.ceil(C/f),x=y.slice(g,g+f),b=function(e,t){var r;if(0===e.length)return null;let o=e[0],n=(r=e[e.length-1].key,"year"===t?(0,l.romeStartOfDay)(`${r}-01-01`):"month"===t?(0,l.romeStartOfDay)(`${r}-01`):(0,l.romeStartOfDay)(r)),i=function(e,t){let[r,o,n]=e.split("-").map(Number);if("year"===t)return(0,l.romeStartOfDay)(`${u(r+1,4)}-01-01`);if("month"===t){let e=new Date(Date.UTC(r,o,1));return(0,l.romeStartOfDay)(e.toISOString().slice(0,7).concat("-01"))}let i=new Date(Date.UTC(r,o-1,n+1));return(0,l.romeStartOfDay)(i.toISOString().slice(0,10))}(o.key,t);return n&&i?{_gte:n,_lt:i}:null}(x,a);if(!b)return{data:[],total:C,totalPages:w,page:d,perPage:f};let S=x.reduce((e,t)=>
2e+t.count,0),P=await i.directus.request((0,o.readItems)("articles",{fields:p,filter:{_and:[v,{datePublished:b}]},sort:["-datePublished"],limit:Math.max(S,1)}));return{data:x.map(e=>({groupDate:e.key,articles:P.filter(t=>{var r;return r=t.datePublished,(r?c(new Date(r).getTime(),a):null)===e.key})})),total:C,totalPages:w,page:d,perPage:f}}e.s(["TERM_ARTICLE_FIELDS",0,p,"fetchTermArticles",0,f,"fetchTermGroupedArticles",0,m],822244)},19885,e=>{"use strict";var t=e.i(34522),r=e.i(550227),o=e.i(822244);e.s(["useTermArticles",0,function(e,n,i,a){let l,s,u,c,d,p=(0,t.c)(19);p[0]!==i||p[1]!==n?(l={termId:n,query:i},p[0]=i,p[1]=n,p[2]=l):l=p[2],p[3]!==l||p[4]!==e?(s=["term_articles",e,l],p[3]=l,p[4]=e,p[5]=s):s=p[5],p[6]!==i||p[7]!==e||p[8]!==n?(u=async t=>{let{pageParam:r}=t;return(0,o.fetchTermArticles)(e,n,{...i,page:r,limit:(null==i?void 0:i.limit)??4})},p[6]=i,p[7]=e,p[8]=n,p[9]=u):u=p[9];let h=(null==a?void 0:a.initialPageParam)??1;p[10]!==(null==i?void 0:i.limit)?(c=(e,t,r)=>r*((null==i?void 0:i.limit)??4)<e.total?r+1:null,p[10]=null==i?void 0:i.limit,p[11]=c):c=p[11];let f=!!e&&!!n;return p[12]!==a||p[13]!==s||p[14]!==u||p[15]!==h||p[16]!==c||p[17]!==f?(d={...a,queryKey:s,queryFn:u,initialPageParam:h,getNextPageParam:c,enabled:f},p[12]=a,p[13]=s,p[14]=u,p[15]=h,p[16]=c,p[17]=f,p[18]=d):d=p[18],(0,r.useInfiniteQuery)(d)},"useTermGroupedArticles",0,function(e,n,i,a){let l,s,u,c,d,p=(0,t.c)(19);p[0]!==i||p[1]!==n?(l={termId:n,query:i},p[0]=i,p[1]=n,p[2]=l):l=p[2],p[3]!==l||p[4]!==e?(s=["term_grouped_articles",e,l],p[3]=l,p[4]=e,p[5]=s):s=p[5],p[6]!==i||p[7]!==e||p[8]!==n?(u=async t=>{let{pageParam:r}=t;return(0,o.fetchTermGroupedArticles)(e,n,{...i,page:r,limit:(null==i?void 0:i.limit)??20})},p[6]=i,p[7]=e,p[8]=n,p[9]=u):u=p[9];let h=(null==a?void 0:a.initialPageParam)??1;p[10]!==(null==i?void 0:i.limit)?(c=(e,t,r)=>r*((null==i?void 0:i.limit)??20)<e.total?r+1:null,p[10]=null==i?void 0:i.limit,p[11]=c):c=p[11];let f=!!e&&!!n;return p[12]!==a||p[13]!==s||p[14]!==u||p[15]!==h||p[16]!==c||p[17]!==f?(d={...a,queryKey:s,queryFn:u,initialPageParam:h,getNextPageParam:c,enabled:f},p[12]=a,p[13]=s,p[14]=u,p[15]=h,p[16]=c,p[17]=f,p[18]=d):d=p[18],(0,r.useInfiniteQuery)(d)}])}]); 3 4//# debugId=dc5ff50f-e30b-805e-22b6-c42a48162d4e
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.