1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1296],{6160:(e,t,o)=>{"use strict";o.d(t,{A:()=>n});var i=o(37876),a=o(14232),r=o(73255);let n=e=>function(t){let{presto:o,userinfo:n,urlFull:l}=t;return(0,a.useEffect)(()=>{if(n&&r.A.userInfoSet(n),o&&r.A.prestoSet(o),l){r.A.urlFullSet(l);let e=l.split("/");r.A.rootPathSet(e[3])}window.common=r.A},[o,n,l]),(0,i.jsx)(e,{...t})}},18847:(e,t,o)=>{e.exports=o(75808)},28747:(e,t,o)=>{"use strict";o.d(t,{Ay:()=>j,FR:()=>y,vT:()=>w});var i=o(37876),a=o(14232),r=o(34440),n=o(76187),l=o(25268),s=o(82567),c=o(69671),d=o(95427),p=o(7766),u=o.n(p),m=o(59204),f=o(49229);function h(e){let{didClick:t,url_target:o="_self",url:r,ctaLabel:n="OPEN",menu:d=[],data:p,ctaDisable:u}=e,m=(0,a.useRef)(),[f,h]=(0,a.useState)(!1);return(0,i.jsxs)(g,{ref:m,onClick:e=>e.stopPropagation(),onPointerDown:e=>e.stopPropagation(),children:[(0,i.jsxs)("div",{className:"ui-wrapper",children:[(0,i.jsx)(l.Ay,{small:!0,softColor:!0,didClick:e=>{t&&t({data:p,event:e})},target:o,disable:u,href:r,children:n}),d.length>0&&(0,i.jsx)(s.In,{icon:"more",didClick:e=>{e.stopPropagation(),h(!f)}})]}),f&&(0,i.jsx)(c.A,{style:{bottom:30},itemClicked:function(e,t){e.callback(e,t),h(!1)},bodyClicked:function(e){m.current.contains(e)||h(!1)},data:p,list:d})]})}let g=r.default.div.withConfig({componentId:"sc-642eab7-0"})(["position:relative;width:100%;.ui-wrapper{display:flex;justify-content:space-between;margin:0;align-items:center;.prequilt-cta{flex:1 1 auto;margin:0;}button.icon{margin:0 3px;width:25px;height:25px;border-radius:50%;background-color:transparent;&:hover{background-color:",";color:white;}}}ul.menuFooter li{padding:7px 4px;}"],e=>e.theme.color_purple);function x(e){let{crop:t,size:o="big",label:r,url:n,image:l,div:c,className:p,lock:g=!1,footNote:x,onErrorImage:b,spinner:w,overlayThumb:j,overlay:_,bodyDidClick:v,cardDidClick:k,hideFooter:C=!1}=e,[P,N]=(0,a.useState)(),A=(0,a.useRef)();async function q(){let e=A.current;if(!e)return;if(e.decode)try{await e.decode()}catch{}let o=u()(t,"north",0),i=u()(t,"south",0),a=u()(t,"east",0),r=u()(t,"west",0);N((0,m.A)(e,{north:o,south:i,east:a,west:r}))}(0,a.useEffect)(()=>{A.current&&t&&l&&q()},[l,t?.north,t?.south,t?.east,t?.west]),(0,a.useEffect)(()=>{N(null)},[l]);let E=g||w||_,z=!!(k&&n),S=p?`QuiltCard ${p}`:"QuiltCard";return(0,i.jsxs)(y,{$bodyClickable:!!v,$cardClickable:!!k,crop:t,size:o,url:n,className:S,hasCropped:!!P,as:z?"a":"div",href:z?n:void 0,onClick:e=>{!k||z&&(0,f.l)(e)||(z&&e.preventDefault(),k(e))},onKeyDown:e=>{!z&&k&&("Enter"===e.key||" "===e.key)&&(e.preventDefault(),k(e))},role:z?void 0:k?"button":void 0,tabIndex:z?void 0:k?0:void 0,children:[(0,i.jsx)("h2",{className:"title",children:r}),(0,i.jsxs)("div",{className:"cardBody",onClick:v,children:[l&&(0,i.jsx)("img",{ref:A,crossOrigin:"anonymous",className:"image-nocrop normal",decoding:"async",loading:"lazy",layout:"fill",onLoad:()=>{t&&A.current&&q()},onError:()=>{b&&b()},alt:"quilt",src:l}),P&&(0,i.jsx)("img",{className:"image-cropped",src:P}),j&&(0,i.jsx)("div",{className:"overlayThumb",children:j}),c]}),!C&&(0,i.jsxs)("div",{className:"quiltCardFooter",children:[x&&(0,i.jsx)("div",{className:"footNote",children:x}),!g&&(0,i.jsx)(h,{...e})]}),E&&(0,i.jsxs)("div",{className:"overlay",children:[g&&(0,i.jsxs)("div",{className:"lock",children:[(0,i.jsx)(s.In,{fontSize:28,icon:"lock"}),(0,i.jsx)("p",{children:g})]}),w&&(0,i.jsx)(d.y$,{center:!0,fontSize:33,color:"white"}),_&&_]})]})}let b={xsmall:{w_desktop:100,w_phone:100},big:{w_desktop:175,w_phone:130},small:{w_desktop:125,w_phone:130}},y=r.default.div.withConfig({componentId:"sc-642eab7-1"})(["overflow:hidden;box-shadow:0 0 3px rgba(0,0,0,0.3);padding:5px;padding-top:8px;padding-bottom:50px;border-radius:5px;margin:0 8px;min-height:200px;display:block;color:inherit;text-decoration:none;width:","px;&.selected{border:2px solid ",";}margin-bottom:20px;background-color:white;flex-shrink:0;flex-grow:0;position:relative;cursor:",";&:focus-visible{outline:",";outline-offset:3px;}.overlay{position:absolute;width:100%;height:100%;top:0;left:0;background-color:rgba(0,0,0,0.3);display:flex;justify-content:center;align-items:center;}& > div.cardChildren{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;padding-bottom:0;cursor:pointer;}"," "," .cardBody{cursor:",";overflow:hidden;display:flex;align-items:center;padding:8px;height:150px;justify-content:center;position:relative;img.image-nocrop{display:",";}.overlayThumb{width:100%;height:100%;background-color:rgba(0,0,0,0.6);position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;color:white;}}& >
1 h2.title{max-height:28px;overflow:hidden;}h2{text-align:center;font-weight:400;font-size:11px;margin-bottom:4px;line-height:14px;min-height:20px;}img,canvas{max-width:100%;max-height:100%;}a.cardBody{pointer-events:",";margin-bottom:15px;}.lock{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,0.2);display:flex;justify-content:center;align-items:center;flex-direction:column;color:white;& > button{color:white;margin-bottom:0px;}& > p{text-decoration:none;font-size:10px;padding:5px 12px;border-radius:500px;cursor:pointer;color:black;pointer-events:all;background-color:",";}}.quiltCardFooter{width:100%;padding:0px 5px;position:absolute;bottom:5px;left:0px;"," .footNote{width:100%;font-size:11px;text-align:center;padding-bottom:3px;}p.copy-small{font-size:12px;line-height:14px;padding-bottom:6px;}","}"],e=>b[e.size||"big"].w_desktop,e=>e.theme.color_bright,e=>e.$cardClickable?"pointer":"default",e=>e.$cardClickable?`3px solid ${e.theme.color_skin_1}`:"none",n.mq.tablet` 2 width: ${e=>b[e.size||"big"].w_desktop}px; 3 4 margin: 0 7px; 5 margin-bottom: 20px; 6 `,n.mq.phone` 7 width: ${e=>b[e.size||"big"].w_phone}px; 8 margin: 0 5px; 9 margin-bottom: 20px; 10 `,e=>e.$bodyClickable||e.$cardClickable?"pointer":"default",e=>e.hasCropped?"none":"block",e=>!e.url&&"none",e=>e.theme.color_bright,n.mq.phone` 11 padding: 0 3px; 12 `,n.mq.tablet` 13 justify-content: center; 14 align-items: center; 15 `);function w({model:e,ctaLabel:t,didClick:o,footNote:a}){let{image_digital:r,quiltLabel:n,className_:l}=e;return(0,i.jsx)(x,{className:l,footNote:a,image:r,label:n,size:"small",ctaLabel:t,didClick:o})}let j=x},29479:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return u}});let i=o(64252)._(o(14232)),a=o(41413),r=[],n=[],l=!1;function s(e){let t=e(),o={loading:!0,loaded:null,error:null};return o.promise=t.then(e=>(o.loading=!1,o.loaded=e,e)).catch(e=>{throw o.loading=!1,o.error=e,e}),o}class c{constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}}function d(e){return function(e,t){let o=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),r=null;function s(){if(!r){let t=new c(e,o);r={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return r.promise()}if(!l){let e=o.webpack&&1?o.webpack():o.modules;e&&n.push(t=>{for(let o of e)if(t.includes(o))return s()})}function d(e,t){let n;s(),(n=i.default.useContext(a.LoadableContext))&&Array.isArray(o.modules)&&o.modules.forEach(e=>{n(e)});let l=i.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return i.default.useImperativeHandle(t,()=>({retry:r.retry}),[]),i.default.useMemo(()=>{var t;return l.loading||l.error?i.default.createElement(o.loading,{isLoading:l.loading,pastDelay:l.pastDelay,timedOut:l.timedOut,error:l.error,retry:r.retry}):l.loaded?i.default.createElement((t=l.loaded)&&t.default?t.default:t,e):null},[e,l])}return d.preload=()=>s(),d.displayName="LoadableComponent",i.default.forwardRef(d)}(s,e)}function p(e,t){let o=[];for(;e.length;){let i=e.pop();o.push(i(t))}return Promise.all(o).then(()=>
15{if(e.length)return p(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{p(r).then(e,t)}),d.preloadReady=(e=[])=>new Promise(t=>{let o=()=>(l=!0,t());p(n,e).then(o,o)}),window.__NEXT_PRELOADREADY=d.preloadReady;let u=d},32843:(e,t,o)=>{"use strict";o.r(t),o.d(t,{__N_SSP:()=>y,default:()=>w});var i=o(37876),a=o(34440),r=o(28747),n=o(43982),l=o(76187),s=o(82567),c=o(72675),d=o(7766),p=o.n(d),u=o(73255),m=o(6160),f=o(47822),h=o(14232);let g=a.default.div.withConfig({componentId:"sc-4e53763f-0"})(["background-color:white;display:flex;justify-content:center;align-items:center;padding:36px 20px;margin-bottom:22px;width:100%;z-index:1;box-shadow:0 3px 3px rgba(0,0,0,0.05);"," "," .avatar{margin-right:50px;"," "," .img{display:block;margin-bottom:11px;width:110px;height:110px;background-image:url(",");background-size:cover;background-repeat:no-repeat;border-radius:50%;overflow:hidden;flex:0 0 110px;","}}.copy{line-height:22px;flex:0 0 620px;"," h2{font-size:21px;margin-bottom:7px;color:#f96b6b;}p{font-size:14px;margin-bottom:14px;}a{display:block;margin-bottom:4px;font-size:13px;button.icon{position:relative;left:-8px;top:-5px;}}}"],l.mq.tablet` 16 justify-content: flex-start; 17 padding: 20px 10px; 18 `,l.mq.phone` 19 flex-direction: column; 20 `,l.mq.tablet` 21 margin-right: 10px; 22 display: flex; 23 justify-content: center; 24 align-item: center; 25 flex: 0 0 80px; 26 `,l.mq.phone` 27 margin: 0; 28 margin-bottom: 20px; 29 `,e=>e.src,l.mq.tablet` 30 flex: 0 0 80px; 31 margin: 0; 32 33 height: 80px; 34 `,l.mq.tablet` 35 flex-basis: auto; 36 flex: 0 0 auto; 37 `),x=a.default.div.withConfig({componentId:"sc-4e53763f-1"})(["display:flex;flex-wrap:wrap;position:relative;z-index:0;justify-content:center;padding:30px 0;"]),b=a.default.div.withConfig({componentId:"sc-4e53763f-2"})(["display:flex;flex-direction:column;"]);var y=!0;let w=(0,m.A)(function({about:e,urlFull:t,quiltsFromSSR:o,slug:a}){let[l,d]=(0,h.useState)(!1);(0,h.useEffect)(()=>{d(u.A.isLive)},[]);let m={tagTitle:"PreQuilt App",title:"PreQuilt App",description:`Profile of ${e.displayName}. Take a look at all my quilt designs.`,image:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Fcoloringpages-meta.jpg?alt=media&token=076f2f4c-af5a-420a-89af-745c8c4be098",url:t},{bio:y,displayName:w,firstname:j,lastname:_,photoURL:v,instagram:k}=e,C=function(e){if(!e)return"";let t=String(e).trim().replace(/^(?:https?:\/\/)?(?:www\.)?instagram\.com\//i,"").replace(/^(?:https?:\/\/)?(?:www\.)?instagram\.com\//i,"").replace(/^@+/,"").replace(/^\/+|\/+$/g,"");return t?`https://www.instagram.com/${t}/`:""}(k),P=p()(e,"website",null);P&&!P.includes("https")&&(P.includes("www.")&&(P=P.replace("www.","")),P=`https://${P}`);let N=(0,h.useMemo)(()=>l?o.filter(e=>e.isPublic):o,[l,o]),A=(()=>{if(!e)return w;let{firstname:t,lastname:o,companyName:i}=e,a=t?`${t}${o?` ${o}`:""}`:"";return i||a||w})();return(0,i.jsx)(f.Ay,{render:()=>(0,i.jsxs)(b,{children:[(0,i.jsx)(n.A,{...m}),(0,i.jsxs)(g,{src:(0,c.jY)(v,600),children:[(0,i.jsx)("div",{className:"avatar",children:(0,i.jsx)("div",{className:"img"})}),(0,i.jsxs)("div",{className:"copy",children:[(0,i.jsx)("h2",{children:A}),(0,i.jsx)("p",{dangerouslySetInnerHTML:(0,c.QC)(y)}),P&&(0,i.jsx)("a",{href:P,children:P.replace("https://","")}),C&&(0,i.jsx)("a",{href:C,children:(0,i.jsx)(s.In,{icon:"instagram",fontSize:22})})]})]}),(0,i.jsx)(x,{children:N.map((e,t)=>{let{quiltLabel:o,owner:n,url_quilt_name:l,image_digital:s}=e,c=`/public/${a}/${l}`;return(0,i.jsx)(r.Ay,{url:c,url_target:"_self",label:o,image:s},l)})})]})})})},41413:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return i}});let i=o(64252)._(o(14232)).default.createContext(null)},43982:(e,t,o)=>{"use strict";o.d(t,{A:()=>u});var i=o(37876),a=o(76510),r=o(34440),n=o(77328),l=o.n(n),s=o(7766),c=o.n(s);let d=r.default.div.withConfig({componentId:"sc-bc7e1d78-0"})(["display:flex;"]),p=function({socialTags:e,meta:t}){return(0,i.jsx)(d,{children:(0,i.jsxs)(l(),{children:[(0,i.jsx)("title",{children:c()(t,"tagTitle","PreQuilt")}),(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("meta",{name:"msapplication-TileColor",content:"#da532c"}),(0,i.jsx)("meta",{name:"theme-color",content:"#ffffff"}),(0,i.jsx)("meta",{name:"viewport",content:"user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1, minimal-ui"}),(0,i.jsx)("meta",{name:"theme-color",content:"#000000"}),(0,i.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Fapple-touch-icon.png?alt=media&token=21da9542-0820-4179-9cec-42a08e1f8704"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Ffavicon-32x32.png?alt=media&token=7c5ae9bc-aeb8-453d-a815-edda092a5a06"}),(0,i.jsx)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Ffavicon-16x16.png?alt=media&token=83b3b34c-14cb-42ff-a3cc-4c8a15be4ac2"}),(0,i.jsx)("link",{rel:"manifest",href:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Fsite.webmanifest?alt=media&token=b907e956-24c5-4476-ad7d-cafd945cad94"}),(0,i.jsx)("link",{rel:"mask-icon",href:"https://firebasestorage.googleapis.com/v0/b/prequilt.appspot.com/o/meta%2Fsafari-pinned-tab.svg?alt=media&token=2f912185-5b87-468b-bf87-8d7d886cd31d",color:"#5bbad5"}),(0,i.jsx)("link",{rel:"canonical",href:"https://prequilt.com"}),t&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("meta",{property:"fb:app_id",content:"221152548694285"}),(0,i.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:title",content:t.title}),(0,i.jsx)("meta",{property:"og:description",content:t.description}),(0,i.jsx)("meta",{property:"og:url",content:t.url}),(0,i.jsx)("meta",{property:"og:site_name",content:"app.prequilt.com"}),(0,i.jsx)("meta",{property:"og:image",content:t.image}),(0,i.jsx)("meta",{property:"og:image:secure_url",content:t.image}
37),(0,i.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,i.jsx)("meta",{property:"og:image:height",content:"630"}),(0,i.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,i.jsx)("meta",{name:"twitter:description",content:t.description}),(0,i.jsx)("meta",{name:"twitter:title",content:t.title}),(0,i.jsx)("meta",{name:"twitter:site",content:t.url}),(0,i.jsx)("meta",{name:"twitter:image",content:`${t.image}`})]})]},"somekey")})},u=({tagTitle:e="PreQuilt App",title:t="PreQuilt Is A Design Tool For Quilters.",description:o="Don't just wing it, use PreQuilt to design and test all sort of layouts and colours before you cut your fabric. It's FREE to try!",image:r=a.Ux.images.social,url:n="https://prequilt.com"})=>(0,i.jsx)(p,{meta:{tagTitle:e,title:t,description:o,image:r,url:n}})},57403:(e,t,o)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/public/[url_username]",function(){return o(32843)}])},59204:(e,t,o)=>{"use strict";o.d(t,{A:()=>i});let i=function(e,{north:t=0,east:o=0,south:i=0,west:a=0}){if(1e-4>Math.abs(t+o+i+a))return null;t=Math.round(t),i=Math.round(i),o=Math.round(o),a=Math.round(a);let r=e.naturalWidth,n=e.naturalHeight,l=r-o-a,s=n-t-i;if(l<=0||s<=0)return null;let c=document.createElement("canvas");c.width=l,c.height=s,c.getContext("2d").drawImage(e,a,t,l,s,0,0,l,s);try{return c.toDataURL("image/jpeg",.92)}catch(e){return null}}},75808:(e,t,o)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i={default:function(){return c},noSSR:function(){return s}};for(var a in i)Object.defineProperty(t,a,{enumerable:!0,get:i[a]});let r=o(64252);o(37876),o(14232);let n=r._(o(29479));function l(e){return{default:e?.default||e}}function s(e,t){return delete t.webpack,delete t.modules,e(t)}function c(e,t){let o=n.default,i={loading:({error:e,isLoading:t,pastDelay:o})=>null};e instanceof Promise?i.loader=()=>e:"function"==typeof e?i.loader=e:"object"==typeof e&&(i={...i,...e});let a=(i={...i,...t}).loader;return(i.loadableGenerated&&(i={...i,...i.loadableGenerated},delete i.loadableGenerated),"boolean"!=typeof i.ssr||i.ssr)?o({...i,loader:()=>null!=a?a().then(l):Promise.resolve(l(()=>null))}):(delete i.webpack,delete i.modules,s(o,i))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},77328:(e,t,o)=>{e.exports=o(88005)}},e=>{e.O(0,[6671,6699,7788,4745,2366,4440,8220,1040,7766,789,4162,8362,5683,573,5268,1800,7617,636,6593,8792],()=>e(e.s=57403)),_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.