1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2563],{5573:(e,t,a)=>{"use strict";a.d(t,{Av:()=>r,Fm:()=>n});let n=[{key:"left",stored:"start",matches:["","left","start"],label:{uk:"Ðо лÑÐ²Ð¾Ð¼Ñ ÐºÑаÑ",en:"Align left"}},{key:"center",stored:"center",matches:["center"],label:{uk:"Ðо ÑенÑÑÑ",en:"Align centre"}},{key:"right",stored:"right",matches:["right","end"],label:{uk:"Ðо пÑÐ°Ð²Ð¾Ð¼Ñ ÐºÑаÑ",en:"Align right"}}];function r(e){var t;return null==(t=n.find(t=>t.matches.includes(e)))?void 0:t.key}},41032:(e,t,a)=>{"use strict";a.d(t,{o:()=>o});let n=({apiPath:e,data:t,endpoint:a,serverURL:n})=>fetch(`${n}${e}/${a}`,{body:JSON.stringify(t),credentials:"include",headers:{"Content-Type":"application/json","X-Payload-HTTP-Method-Override":"GET"},method:"POST"}),r=async e=>{let{apiRoute:t,collectionSlug:a,depth:r,globalSlug:i,incomingData:s,initialData:l,locale:o,serverURL:d}=e,u=e.requestHandler||n;return await u({apiPath:t||"/api",data:{data:s,depth:r,flattenLocales:!1,locale:o},endpoint:encodeURI(`${i?"globals/":""}${a??i}${a?`/${l.id}`:""}`),serverURL:d}).then(e=>e.json())},i={previousData:void 0},s=async e=>{let{apiRoute:t,depth:a,event:n,initialData:s,requestHandler:l,serverURL:o}=e;if(((e,t)=>e.origin===t&&e.data&&"object"==typeof e.data&&"payload-live-preview"===e.data.type)(n,o)){let{collectionSlug:e,data:d,globalSlug:u,locale:c}=n.data;if(!e&&!u)return s;let p=await r({apiRoute:t,collectionSlug:e,depth:a,globalSlug:u,incomingData:d,initialData:i?.previousData||s,locale:c,requestHandler:l,serverURL:o});return i.previousData=p,p}return i.previousData||(i.previousData=s),i.previousData};var l=a(545);let o=e=>{let{apiRoute:t,depth:a,initialData:n,requestHandler:r,serverURL:o}=e,[d,u]=(0,l.useState)(n),[c,p]=(0,l.useState)(!0),f=(0,l.useRef)(!1),v=(0,l.useCallback)(e=>{u(e),p(!1)},[]);return(0,l.useEffect)(()=>{let e=(e=>{let{apiRoute:t,callback:a,depth:n,initialData:r,requestHandler:l,serverURL:o}=e;i.previousData=void 0;let d=async e=>{a(await s({apiRoute:t,depth:n,event:e,initialData:r,requestHandler:l,serverURL:o}))};return"undefined"!=typeof window&&window.addEventListener("message",d),d})({apiRoute:t,callback:v,depth:a,initialData:n,requestHandler:r,serverURL:o});return f.current||(f.current=!0,(e=>{let{serverURL:t}=e;if("undefined"!=typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:o})),()=>{"undefined"!=typeof window&&window.removeEventListener("message",e)}},[o,v,a,n,t,r]),{data:d,isLoading:c}}},47125:(e,t,a)=>{"use strict";a.d(t,{BU:()=>l,Kt:()=>s}),a(5573).Fm.map(e=>{let{key:t,label:a}=e;return{value:t,label:a}});let n={left:"text-left",center:"text-center",right:"text-right"},r={left:"justify-start",center:"justify-center",right:"justify-end"},i=(e,t)=>"string"==typeof e&&e in n?e:t,s=(e,t)=>n[i(e,t)],l=(e,t)=>
1r[i(e,t)]},92969:(e,t,a)=>{Promise.resolve().then(a.t.bind(a,5269,23)),Promise.resolve().then(a.bind(a,7517)),Promise.resolve().then(a.bind(a,27938))}},e=>{e.O(0,[8568,5269,522,4555,2588,1457,8473,2185,612,4042,642,6995,4867,7358],()=>e(e.s=92969)),_N_E=e.O()}]);
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.