PageSourceSearch

https://santorini-gatsby-prismic.netlify.app/9320-1b99eecccbf20178e796.js

js santorini-gatsby-prismic.netlify.app collected 2026-10-03 11:23:45 UTC 6,477 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunksantorini_gatsby=self.webpackChunksantorini_gatsby||[]).push([[9320],{2322:function(e,n,t){t.d(n,{v:function(){return w}});var r=t(5893);const l=(...e)=>(...n)=>{for(let t=0;t<e.length;t++){const r=e[t];if(r){const e=r(...n);if(null!=e)return e}}},i="list-item",o="o-list-item",s="group-list-item",a="group-o-list-item",c="span",d={[i]:"listItem",[o]:"oListItem",[s]:"list",[a]:"oList"},h=e=>(n,t,r,l,i)=>{const o=e[d[n]||n];if(o)return o({type:n,node:t,text:r,children:l,key:i})};var p=t(7294);const u=()=>(++u.i).toString();u.i=0;const m=(e,n=[])=>({key:u(),type:e.type,text:"text"in e?e.text:void 0,node:e,children:n}),k=e=>m({type:c,text:e,spans:[]}),y=e=>{const n=e.slice(0);for(let t=0;t<n.length;t++){const e=n[t];if(e.type===i||e.type===o){const r=[e];for(;n[t+1]&&n[t+1].type===e.type;)r.push(n[t+1]),n.splice(t,1);e.type===i?n[t]={type:s,items:r}:n[t]={type:a,items:r}}}return n},x=e=>{if("text"in e)return m(e,f(e.spans,e));if("items"in e){const n=[];for(let t=0;t<e.items.length;t++)n.push(x(e.items[t]));return m(e,n)}return m(e)},f=(e,n,t)=>{if(!e.length)return[k(n.text)];const r=e.slice(0);r.sort(((e,n)=>e.start-n.start||n.end-e.end));const l=[];for(let i=0;i<r.length;i++){const e=r[i],o=t&&t.start||0,s=e.start-o,a=e.end-o,c=n.text.slice(s,a),d=[];for(let n=i;n<r.length;n++){const t=r[n];t!==e&&(t.start>=e.start&&t.end<=e.end?(d.push(t),r.splice(n,1),n--):t.start<e.end&&t.end>e.start&&(d.push({...t,end:e.end}),r[n]={...t,start:e.end}))}0===i&&s>0&&l.push(k(n.text.slice(0,s)));const h={...e,text:c};l.push(m(h,f(d,{...n,text:c},e))),a<n.text.length&&l.push(k(n.text.slice(a,r[i+1]?r[i+1].start-o:void 0)))}return l},g=(e,n)=>v((e=>{const n=y(e),t=[];for(let r=0;r<n.length;r++)t.push(x(n[r]));return{key:u(),children:t}})(e).children,n),v=(e,n)=>{const t=[];for(let r=0;r<e.length;r++){const l=e[r],i=n(l.type,l.node,l.text,v(l.children,n),l.key);null!=i&&t.push(i)}return t},j="Document",b="Media",C="Web",L=(e,...n)=>{if(!e)return null;const t="link_type"in e?e:{link_type:j,id:(r=e).id,uid:r.uid||void 0,type:r.type,tags:r.tags,lang:r.lang,url:null==r.url?void 0:r.url,slug:null==(l=r.slugs)?void 0:l[0],...r.data&&Object.keys(r.data).length>0?{data:r.data}:{}};var r,l;const[i]=n;let o;switch(o="function"==typeof i||null==i?{linkResolver:i}:{...i},t.link_type){case b:case C:return"url"in t?t.url:null;case j:if("id"in t&&o.linkResolver){const e=o.linkResolver(t);if(null!=e)return e}return"url"in t&&t.url?t.url:null;default:return null}},_=e=>null!=e,R=(e,n={})=>{if(e&&("link_type"in e?_(t=e)&&("id"in t||"url"in t):e)){const t="target"in e?e.target:void 0,r=L(e,n.linkResolver),l=null==r?void 0:r,i="string"==typeof l&&!(e=>{const n=/^(\/(?!\/)|#)/.test(e),t=!n&&!/^https?:\/\//.test(e);return n&&!t})(l),o=n.rel?n.rel({href:l,isExternal:i,target:t}):i?"noreferrer":void 0;return{href:l,target:t,rel:null==o?void 0:o}}var t;return{}},T=p.forwardRef((function({field:e,document:n,linkResolver:t,internalComponent:l,externalComponent:i,...o},s){const{href:a,rel:c,...d}=R(e??n,{linkResolver:t,rel:"function"==typeof o.rel?o.rel:void 0});let h=c;"rel"in o&&"function"!=typeof o.rel&&(h=o.rel);const p=("href"in o?o.href:a)||"",u=l||"a",m=i||"a",k=p&&(e=>{const n=/^(\/(?!\/)|#)/.test(e),t=!n&&!/^https?:\/\//.test(e);return n&&!t})(p)?u:m;return(0,r.jsx)(k,{ref:s,...d,...o,href:p,rel:h})}));function E({linkResolver:e,field:n,fallback:t,components:i,externalLinkComponent:o,internalLinkComponent:s,...a}){return p.useMemo((()=>{if((e=>!!_(e)&&(1===e.length&&"text"in e[0]?!!e[0].text:!!e.length))(n)){const t=l("object"==typeof i?h(i):i,(a={linkResolver:e,internalLinkComponent:s,externalLinkComponent:o},h({heading1:({children:e,key:n})=>(0,r.jsx)("h1",{children:e},n),heading2:({children:e,key:n})=>(0,r.jsx)("h2",{children:e},n),heading3:({children:e,key:n})=>(0,r.jsx)("h3",{children:e},n),heading4:({children:e,key:n})=>(0,r.jsx)("h4",{children:e},n),heading5:({children:e,key:n})=>(0,r.jsx)("h5",{children:e},n),heading6:({children:e,key:n})=>(0,r.jsx)("h6",{children:e},n),paragraph:({children:e,key:n})=>(0,r.jsx)("p",{children:e}
1,n),preformatted:({node:e,key:n})=>(0,r.jsx)("pre",{children:e.text},n),strong:({children:e,key:n})=>(0,r.jsx)("strong",{children:e},n),em:({children:e,key:n})=>(0,r.jsx)("em",{children:e},n),listItem:({children:e,key:n})=>(0,r.jsx)("li",{children:e},n),oListItem:({children:e,key:n})=>(0,r.jsx)("li",{children:e},n),list:({children:e,key:n})=>(0,r.jsx)("ul",{children:e},n),oList:({children:e,key:n})=>(0,r.jsx)("ol",{children:e},n),image:({node:e,key:n})=>{const t=(0,r.jsx)("img",{src:e.url,alt:e.alt??void 0,"data-copyright":e.copyright?e.copyright:void 0});return(0,r.jsx)("p",{className:"block-img",children:e.linkTo?(0,r.jsx)(T,{linkResolver:a.linkResolver,internalComponent:a.internalLinkComponent,externalComponent:a.externalLinkComponent,field:e.linkTo,children:t}):t},n)},embed:({node:e,key:n})=>(0,r.jsx)("div",{"data-oembed":e.oembed.embed_url,"data-oembed-type":e.oembed.type,"data-oembed-provider":e.oembed.provider_name,dangerouslySetInnerHTML:{__html:e.oembed.html??""}},n),hyperlink:({node:e,children:n,key:t})=>(0,r.jsx)(T,{field:e.data,linkResolver:a.linkResolver,internalComponent:a.internalLinkComponent,externalComponent:a.externalLinkComponent,children:n},t),label:({node:e,children:n,key:t})=>(0,r.jsx)("span",{className:e.data.label,children:n},t),span:({text:e,key:n})=>{const t=[];let l=0;for(const i of e.split("\n"))l>0&&t.push((0,r.jsx)("br",{},`${l}__break`)),t.push((0,r.jsx)(p.Fragment,{children:i},`${l}__line`)),l++;return(0,r.jsx)(p.Fragment,{children:t},n)}}))),c=g(n,((e,n,r,l,i)=>{const o=t(e,n,r,l,i);return p.isValidElement(o)&&null==o.key?p.cloneElement(o,{key:i}):o}));return(0,r.jsx)(r.Fragment,{children:c})}return null!=t?(0,r.jsx)(r.Fragment,{children:t}):null;var a}),[n,s,o,i,e,t])}var I=t(3696);const w=function({components:e,...n}){const t=p.useContext(I.Z)||{},i=l("object"==typeof e?h(e):e,"object"==typeof t.richTextComponents?h(t.richTextComponents):t.richTextComponents);return(0,r.jsx)(E,{components:i,internalLinkComponent:t.internalLinkComponent,externalLinkComponent:t.externalLinkComponent,...n})}},9320:function(e,n,t){t.r(n);var r=t(7294),l=t(2322);const i=e=>{let{slice:n}=e;return r.createElement("div",{className:"paragraph",style:{marginTop:`${n.primary.padding}px`}},r.createElement(l.v,{field:n.primary.paragraph.richText}))};n.default=(0,r.memo)(i)}}]);
2//# sourceMappingURL=9320-1b99eecccbf20178e796.js.map

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.