(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2358],{22677:function(l,e,o){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[page]",function(){return o(91500)}])},94939:function(l,e,o){"use strict";var n=o(67294);e.Z=function(l){return n.createElement("svg",Object.assign({viewBox:"0 0 24 24",fill:"none"},l),n.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M14.7071 6.29289C15.0976 6.68342 15.0976 7.31658 14.7071 7.70711L10.4142 12L14.7071 16.2929C15.0976 16.6834 15.0976 17.3166 14.7071 17.7071C14.3166 18.0976 13.6834 18.0976 13.2929 17.7071L8.29289 12.7071C7.90237 12.3166 7.90237 11.6834 8.29289 11.2929L13.2929 6.29289C13.6834 5.90237 14.3166 5.90237 14.7071 6.29289Z",fill:"currentColor"}))}},91500:function(l,e,o){"use strict";o.r(e),o.d(e,{__N_SSG:function(){return k},default:function(){return Generic}});var n=o(85893),i=o(67294),a=o(33523),t=o(93967),d=o.n(t),r=o(30587),c=o(24043),s=o(63182),u=o(94939),v=o(84224),m=o(75595);function LinkBlock(l){var e=l.block,o=l.mobile?"a":m.Z;return(0,n.jsxs)(i.Fragment,{children:[(0,n.jsx)("h2",{className:"thd-body-lg text-grey-6 mb-24",children:e.heading}),(0,n.jsx)("ul",{className:"mb-32",children:e.linkBlock.map(function(l){return(0,n.jsx)("li",{className:"mb-24 lg:mb-8",children:(0,n.jsx)(o,{className:"no-underline current:underline thd-focus-thin",href:l.link,variant:"secondary",children:l.copy})},l._id)})})]},e._id)}function Submenu(l){var e=l.legalData,o=(0,c._)(function(){var l=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=(0,c._)((0,i.useState)(l),2),o=e[0],n=e[1];return[o,(0,i.useCallback)(function(){n(function(l){return!l})},[])]}(),2),a=o[0],t=o[1];return(0,n.jsxs)("details",{className:d()(a?"thd-h-screen cursor-pointer":void 0,"thd-sticky thd-sticky-bar"),id:"legal-menu",onToggle:t,children:[(0,n.jsx)("summary",{className:"thd-summary-accordion relative bg-thd-color-violet-60 text-white px-fluid-base text-21 py-md w-full z-10",children:(0,n.jsxs)("div",{className:d()(!a&&"justify-between","flex items-center rounded-sm"),children:[a&&(0,n.jsx)("span",{className:"mr-8",children:(0,n.jsx)(v.Z,{color:"white",icon:(0,n.jsx)(u.Z,{})})}),(0,n.jsx)("span",{children:a?"Close":"Terms"}),!a&&(0,n.jsx)(v.Z,{color:"white",icon:(0,n.jsx)(s.Z,{})})]})}),e&&(0,n.jsx)("div",{className:"thd-modal-outer overflow-y-scroll flex items-center",children:(0,n.jsx)("nav",{className:"thd-modal-inner px-fluid-base pt-80",children:e.group.map(function(l){return(0,n.jsx)(LinkBlock,{block:l,mobile:!0,setToggleOn:t},l._id)})})})]})}var h=o(11841);function LegalPage(l){var e,o,i=l.data,a=l.legalNavData,t=(0,r.ZP)("(min-width: 1024px)"),c=(0,r.ZP)("(min-height: 1080px)");return(0,n.jsxs)(n.Fragment,{children:[!t&&(0,n.jsx)(Submenu,{legalData:a}),(0,n.jsx)("section",{className:"bg-thd-color-violet-10 top-[-50px] pt-fluid-lg pb-24 md:pb-32 lg:py-fluid-sm relative lg:static z-0",children:(0,n.jsx)("div",{className:"lm-constrain-x",children:(0,n.jsx)("p",{className:"thd-overline-lg text-thd-color-violet-90 lg:text-center",children:"Loom Terms & Policies"})})}),(0,n.jsxs)("section",{className:"lm-section flex items-start z-0 relative",children:[t&&(0,n.jsx)("nav",{className:d()(c?"thd-sticky thd-sticky-float":void 0,"rounded-lg thd-shadow max-w-1/3 w-full lg:p-64 xl:p-72 mr-90 xl:mr-128 bg-white -mt-32"),children:null==a?void 0:null===(e=a.group)||void 0===e?void 0:e.map(function(l){return(0,n.jsx)(LinkBlock,{block:l},null==l?void 0:l._id)})}),(0,n.jsxs)("div",{className:"w-full",children:[(null==i?void 0:null===(o=i.meta)||void 0===o?void 0:o.seoTitle)&&(0,n.jsx)("h1",{className:"thd-heading-md mb-xl mt-fluid-md",children:i.meta.seoTitle}),(null==i?void 0:i.legalContent)&&(0,n.jsx)("div",{className:"lm-longform thd-body-md",children:(0,n.jsx)(h.Z,{content:null==i?void 0:i.legalContent,themeColor:"grey-10"})})]})]})]})}var g=o(2031),x=o(51770),f=o(19428),p=o(18135),j=o(92673);function SEOPage(l){var e,o,i,a,t,d,r,c,s,u,v,m,h,g,k=l.data,b=null!==(g=null==k?void 0:k.pageColor)&&void 0!==g?g:"violet";return(0,n.jsxs)(n.Fragment,{children:[(null==k?void 0:k.heroBlock)&&(0,n.jsx)(f.Z,{bgColor:null===(e=(0,j.b)("".concat(b,"-90")))||void 0===e?void 0:e.bg,header:null==k?void 0:null===(o=k.heroBlock)||void 0===o?void 0:o.header,image:null==k?void 0:null===(i=k.heroBlock)||void 0===i?void 0:i.image,loom:null==k?void 0:null===(a=k.heroBlock)||void 0===a?void 0:a.loomObj,media:null==k?void 0:null===(t=k.heroBlock)||void 0===t?void 0:t.heroType,primaryCta:null==k?void 0:null===(d=k.heroBlock)||void 0===d?void 0:d.primaryCta,secondaryCta:null==k?void 0:null===(r=k.heroBlock)||void 0===r?void 0:r.secondaryCta,themeColor:b,layoutIsStacked:null==k?void 0:null===(c=k.heroBlock)||void 0===c?void 0:c.layoutIsStacked,heroGradient:null==k?void 0:null===(s=k.heroBlock)||void 0===s?void 0:s.heroGradient}),null==k?void 0:null===(u=k.content)||void 0===u?void 0:u.map(function(l,e){return(0,n.jsx)(p.O,{block:l,index:e,themeColor:b},l._key)}),(null==k?void 0:null===(v=k.endOfPageModule)||void 0===v?void 0:v.cta)?(0,n.jsx)(x.Z,{cta:null==k?void 0:null===(m=k.endOfPageModule)||void 0===m?void 0:m.cta,heading:null==k?void 0:null===(h=k.endOfPageModule)||void 0===h?void 0:h.heading}):(0,n.jsx)("div",{className:"h-fluid-lg thd-prefooter",style:{"--footer-bg":"var(--thd-color-violet-10)"}})]})}var k=!0;function Generic(l){var e,o,i,t,d=l.accountNavData,r=l.initialData,c=l.footerNavData,s=l.navData,u=l.legalNavData;return(0,n.jsxs)(a.Z,{accountNavData:d,color:(null==r?void 0:r.pageType)=="legal"?"white":void 0,footerNavData:c,name:"Generic"+(null==r?void 0:null===(o=r.meta)||void 0===o?void 0:null===(e=o.slug)||void 0===e?void 0:e.current),navData:s,children:[(0,n.jsx)(g.Z,{data:null==r?void 0:r.meta,url:"https://patgrady.indiedemos.com/".concat(null==r?void 0:null===(t=r.meta)||void 0===t?void 0:null===(i=t.slug)||void 0===i?void 0:i.current)}),(null==r?void 0:r.pageType)=="legal"?(0,n.jsx)(LegalPage,{data:r,legalNavData:u}):(0,n.jsx)(SEOPage,{data:r})]})}}},function(l){l.O(0,[2786,2673,3358,37,9267,476,5153,5142,3687,3222,900,7702,3523,562,4387,1792,54,2389,9774,2888,179],function(){return l(l.s=22677)}),_N_E=l.O()}]);