1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8891],{122694:(e,t,r)=>{"use strict";r.d(t,{default:()=>x});var a=r(249738),s=r(723370),n=r(111239),o=r(362095),l=r(211729),i=r(826043),d=r(705922),c=r(477570),u=r(434927),f=r(295398),m=r(242573),p=r(63008),h=r(249174),g=r(798557);function x(e){var t,r,x;let{account:b,theme:v,pages:y,admin:w,domain:j}=e,N=(0,i.usePathname)(),P=y.filter(e=>e.enabled).sort((e,t)=>e.sort-t.sort),C=[{id:"home",slug:"",name:(0,a.jsx)(o.default,{size:24}),href:w?"/admin/content":j?"/":"/".concat(b.username)},...P.slice(0,3).map(e=>({id:e.id,slug:e.slug,name:e.name,href:w?"/admin/content/".concat(e.slug):j?"/".concat(e.slug):"/".concat(b.username,"/").concat(e.slug)}))],L=C.findIndex(e=>N===e.href),[k,_]=(0,d.useState)(null),z=(0,d.useRef)(null),I=(0,d.useRef)([]),[S,R]=(0,d.useState)({left:0,top:0});(0,d.useEffect)(()=>{if(z.current){let e=window.getComputedStyle(z.current);R({left:parseFloat(e.paddingLeft),top:parseFloat(e.paddingTop)})}},[]),(0,d.useEffect)(()=>{I.current=I.current.slice(0,C.length)},[C.length]);let M=null==(t=z.current)?void 0:t.getBoundingClientRect(),E=-1!==L?null==(r=I.current[L])?void 0:r.getBoundingClientRect():null,A=null!==k?null==(x=I.current[k])?void 0:x.getBoundingClientRect():null;return(0,a.jsxs)("div",{ref:z,onPointerLeave:()=>_(null),className:(0,s.cn)("relative mx-auto flex w-full max-w-2xl shrink-0 items-center gap-3 overflow-x-auto border border-user-tertiary-color bg-user-secondary-color p-2",n.zI[v.profile.design.corner_radius].class,n.C4[v.profile.design.shadow].class),style:{fontFamily:v.profile.design.font},id:"base-navigation",children:[(0,a.jsxs)(c.N,{children:[E&&M&&!A&&(0,a.jsx)(u.P.div,{className:(0,s.cn)("absolute z-10 bg-user-primary-color",n.zI[v.profile.design.corner_radius].class),initial:{x:E.left-M.left-S.left,y:E.top-M.top-S.top,width:E.width,height:E.height},animate:{x:E.left-M.left-S.left,y:E.top-M.top-S.top,width:E.width,height:E.height,transition:{type:"tween",ease:"easeOut",duration:.2}}}),A&&M&&(0,a.jsx)(u.P.div,{className:(0,s.cn)("absolute z-10 bg-user-primary-color",n.zI[v.profile.design.corner_radius].class),initial:{x:A.left-M.left-S.left,y:A.top-M.top-S.top,width:A.width,height:A.height},animate:{x:A.left-M.left-S.left,y:A.top-M.top-S.top,width:A.width,height:A.height,transition:{type:"tween",ease:"easeOut",duration:.2}}})]}),(0,a.jsx)("div",{className:"flex h-10 w-full items-center gap-2 overflow-x-auto",onScroll:()=>{_(k)},children:C.map((e,t)=>(0,a.jsx)("a",{ref:e=>{I.current[t]=e},href:e.href,onPointerEnter:()=>_(t),className:(0,s.cn)("relative z-20 flex items-center gap-2 text-nowrap p-2 font-semibold",k===t||L===t?"text-user-primary-text-color":"text-user-secondary-text-color"),children:e.name},e.id))}),(0,a.jsx)("div",{className:"flex w-8 items-center gap-2",children:(0,a.jsxs)(f.rI,{children:[(0,a.jsx)(f.ty,{asChild:!0,children:(0,a.jsx)(m.$,{size:"icon",className:(0,s.cn)("ml-auto h-auto w-auto p-1 transition-all duration-100 hover:scale-105",n.zI[v.profile.design.corner_radius].class),style:{background:v.profile.colors.primary,color:v.profile.colors.primary_text},id:"user-navigation-button",children:(0,a.jsx)(l.default,{size:24})})}),(0,a.jsxs)(f.SQ,{className:"min-w-60 max-w-96 border border-user-tertiary-color text-xl shadow-xl",side:"top",sideOffset:18,style:{background:v.profile.colors.secondary||v.profile.colors.primary,color:v.profile.colors.primary_text,fontFamily:v.profile.design.font},id:"user-navigation-content",children:[(0,a.jsx)(f.lp,{className:"flex flex-col items-start justify-start gap-1 text-xl",children:(0,a.jsxs)("div",{className:"flex items-center gap-1",children:[(0,a.jsx)(h.JZ,{account:b,className:"size-10",theme:v}),(0,a.jsx)("p",{className:"truncate",children:b.displayname})]})}),(0,a.jsx)(f.mB,{}),(0,a.jsx)(f.lp,{className:(0,s.cn)("justify-normal gap-1",0==y.length&&"hidden"),children:0==y.length?null:(0,a.jsx)("p",{className:"truncate",children:"My Pages"})}),(0,a.jsxs)("div",{className:"max-h-48 w-full overflow-auto",children:[(0,a.jsx)(p.g,{href:w?"/admin/content":j?"/":"/".concat(b.username),className:"flex px-2 py-1 text-lg hover:underline",children:(0,a.jsx)("p",{className:"truncate",children:"Home"})}),P.map((e,t)=>(0,a.jsx)(p.g,{href:w?"/admin/content/".concat(e.slug):j?"/".concat(e.slug):"/".concat(b.username,"/").concat(e.slug),className:"flex px-2 py-1 text-lg hover:underline",children:(0,a.jsx)("p",{className:"truncate",children:e.name})},t)),(0,a.jsx)("div",{className:"!visible rounded-md !bg-card !text-foreground",children:(0,a.jsx)(p.g,{href:"https://doras.to/report?user=".concat(b.id),className:"flex px-2 py-1 text-lg hover:underline",children:(0,a.jsx)("p",{className:"truncate",children:"Report"})})})]}),!1==b.settings.branding&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(f.mB,{}),(0,a.jsx)("div",{className:"flex flex-col items-center",children:(0,a.jsx)("a",{href:null==b.affiliate?"https://doras.to/":"https://doras.to/?aff="+b.affiliate,target:"_blank",children:(0,a.jsxs)(m.$,{className:"gap-3 bg-user-primary-color font-bold text-user-primary-text-color",children:[(0,a.jsx)(g.A,{size:24,color:"var(--user-primary-text-color)"}),"Create your profile"]})})})]})]})]})})]})}},242573:(e,t,r)=>{"use strict";r.d(t,{$:()=>d,r:()=>i});var a=r(249738),s=r(705922),n=r(647188),o=r(477405),l=r(723370);let i=(0,o.F)("inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-20",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/70",success:"bg-success/80 text-primary-foreground shadow hover:bg-success/50",cc:"bg-accent text-primary-foreground shadow data-[state=open]:bg-muted hover:bg-primary/70 !h-auto !text-xs",navigation:"bg-transparent text-copy-lighter hover:text-foreground hover:bg-accent items-center justify-start flex gap-1",navigationAccent:"bg-accent text-foreground hover:bg-popover items-center justify-start flex gap-1",destructive:"bg-destructive text-foreground shadow-sm hover:bg-destructive/90",outline:"border bg-transparent shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",tertiary:" bg-tertiary text-foreground shadow-sm hover:bg-tertiary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"underline-offset-4 underline hover:text-primary",staffbar:"inline-flex items-center rounded-md border !px-2.5 !py-0.5 text-xs font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 bg-card text-foreground capitalize border-accent hover:bg-accent !h-auto",sidebar_active:"bg-muted text-primary-foreground shadow hover:bg-accent justify-start gap-1",sidebar_inactive:"bg-transparent text-muted-foreground shadow hover:bg-accent justify-start gap-1"},size:{default:"h-9 px-4 py-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-auto w-auto p-1",navigation:"px-0 pl-2 pr-9 py-2 h-auto",link:"px-0 py-0 h-auto text-inherit",sidenav:"p-2 h-auto"}},defaultVariants:{variant:"default",size:"default"}}),d=s.forwardRef((e,t)=>
1{let{className:r,variant:s,size:o,asChild:d=!1,...c}=e,u=d?n.DX:"button";return(0,a.jsx)(u,{className:(0,l.cn)(i({size:o,variant:s,className:r})),ref:t,...c})});d.displayName="Button"},295398:(e,t,r)=>{"use strict";r.d(t,{Hr:()=>m,Ht:()=>v,I:()=>c,M5:()=>h,SQ:()=>g,_2:()=>x,dc:()=>u,hO:()=>b,lp:()=>y,lv:()=>f,mB:()=>w,nV:()=>p,rI:()=>i,ty:()=>d});var a=r(249738),s=r(705922),n=r(883405),o=r(414136),l=r(723370);let i=n.bL,d=n.l9,c=n.YJ,u=n.ZL,f=n.Pb,m=n.z6,p=s.forwardRef((e,t)=>{let{className:r,inset:s,children:i,...d}=e;return(0,a.jsxs)(n.ZP,{ref:t,className:(0,l.cn)("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-none ring-offset-0 focus-within:ring-0 focus:bg-accent focus-visible:ring-0 data-[state=open]:bg-accent",s&&"pl-8",r),...d,children:[i,(0,a.jsx)(o.vKP,{className:"ml-auto h-4 w-4"})]})});p.displayName=n.ZP.displayName;let h=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.G5,{ref:t,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-lg data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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",r),...s})});h.displayName=n.G5.displayName;let g=s.forwardRef((e,t)=>{let{className:r,sideOffset:s=4,...o}=e;return(0,a.jsx)(n.ZL,{children:(0,a.jsx)(n.UC,{ref:t,sideOffset:s,className:(0,l.cn)("z-50 min-w-[8rem] overflow-hidden rounded-md border bg-muted p-1 text-popover-foreground shadow-md","data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 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",r),...o})})});g.displayName=n.UC.displayName;let x=s.forwardRef((e,t)=>{let{className:r,inset:s,...o}=e;return(0,a.jsx)(n.q7,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center justify-between gap-4 rounded-sm px-2 py-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",s&&"pl-8",r),...o})});x.displayName=n.q7.displayName;let b=s.forwardRef((e,t)=>{let{className:r,children:s,checked:i,...d}=e;return(0,a.jsxs)(n.H_,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),checked:i,...d,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(o.Srz,{className:"h-4 w-4"})})}),s]})});b.displayName=n.H_.displayName;let v=s.forwardRef((e,t)=>{let{className:r,children:s,...i}=e;return(0,a.jsxs)(n.hN,{ref:t,className:(0,l.cn)("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none transition-colors focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",r),...i,children:[(0,a.jsx)("span",{className:"absolute left-2 flex h-3.5 w-3.5 items-center justify-center",children:(0,a.jsx)(n.VF,{children:(0,a.jsx)(o.RiX,{className:"h-4 w-4 fill-current"})})}),s]})});v.displayName=n.hN.displayName;let y=s.forwardRef((e,t)=>{let{className:r,inset:s,...o}=e;return(0,a.jsx)(n.JU,{ref:t,className:(0,l.cn)("flex items-center justify-between gap-4 px-2 py-1.5 text-sm font-semibold",s&&"pl-8",r),...o})});y.displayName=n.JU.displayName;let w=s.forwardRef((e,t)=>{let{className:r,...s}=e;return(0,a.jsx)(n.wv,{ref:t,className:(0,l.cn)("-mx-1 my-1 h-px bg-border",r),...s})});w.displayName=n.wv.displayName},301882:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(705922);function s(e){let{account:t,page:r}=e;return!function(e){let{user:t,pageId:r}=e,[s,n]=(0,a.useState)({totalTimeSpentSeconds:0,scrollDepthReached:0,linkClicks:[],shareClicks:[]}),o=(0,a.useRef)(!1),l=(0,a.useRef)(s);(0,a.useEffect)(()=>{l.current=s},[s]);let i=(0,a.useRef)(Date.now()),d=(0,a.useCallback)(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n(r=>{let a={...r};switch(e){case"unload":a.totalTimeSpentSeconds=Math.max(r.totalTimeSpentSeconds,void 0!==t.time_spent_seconds?Math.floor(t.time_spent_seconds):r.totalTimeSpentSeconds);break;case"scroll":a.scrollDepthReached<=t.percentage&&(a.scrollDepthReached=t.percentage);break;case"shareClick":let s=t.platform,n=a.shareClicks.findIndex(e=>e.platform===s);-1!==n?a.shareClicks=a.shareClicks.map((e,t)=>t===n?{...e,count:e.count+1}:e):a.shareClicks=[...a.shareClicks,{platform:s,count:1}]}return a})},[]);(0,a.useEffect)(()=>
1{o.current||(d("view"),o.current=!0,console.log("ANALYTICS (INITIAL LOAD) - View logged."));let e=()=>{let e=(Date.now()-i.current)/1e3,a={...l.current,totalTimeSpentSeconds:Math.floor(e)};navigator.sendBeacon("/api/user-stats",JSON.stringify({userId:null==t?void 0:t.id,pageId:r,...a}))};return window.addEventListener("beforeunload",e),()=>{window.removeEventListener("beforeunload",e),d("unload",{time_spent_seconds:(Date.now()-i.current)/1e3}),console.log("ANALYTICS (Component Unmount) - Unload logged.")}},[null==t?void 0:t.id,d]),(0,a.useEffect)(()=>{let e=document.getElementById("root-profile");if(e){var t;let r,a,s=(t=()=>{let e=document.getElementById("root-profile");if(!e)return;let{scrollTop:t,scrollHeight:r,clientHeight:a}=e,s=r-a;if(s>0){let e=Math.min(100,Math.round(t/s*100));e>=25&&d("scroll",{percentage:25}),e>=50&&d("scroll",{percentage:50}),e>=75&&d("scroll",{percentage:75}),100===e&&d("scroll",{percentage:100})}},function(){for(var e=arguments.length,s=Array(e),n=0;n<e;n++)s[n]=arguments[n];return r||(r=!0,setTimeout(()=>r=!1,200),a=t(...s)),a});return e.addEventListener("scroll",s),()=>{e.removeEventListener("scroll",s)}}},[d]),(0,a.useEffect)(()=>{let e=new AbortController;return window.addEventListener("user-profile-share-click-track",e=>{e.detail&&d("shareClick",{platform:e.detail.platform})},{signal:e.signal}),()=>{e.abort()}})}({user:t,pageId:(null==r?void 0:r.id)||null}),null}},357192:(e,t,r)=>{Promise.resolve().then(r.bind(r,635562)),Promise.resolve().then(r.bind(r,569788)),Promise.resolve().then(r.bind(r,122694)),Promise.resolve().then(r.bind(r,560095)),Promise.resolve().then(r.bind(r,516431)),Promise.resolve().then(r.bind(r,344366)),Promise.resolve().then(r.bind(r,125706)),Promise.resolve().then(r.bind(r,21787)),Promise.resolve().then(r.bind(r,203185)),Promise.resolve().then(r.bind(r,330935)),Promise.resolve().then(r.bind(r,323728)),Promise.resolve().then(r.bind(r,457578)),Promise.resolve().then(r.bind(r,566640)),Promise.resolve().then(r.bind(r,711526)),Promise.resolve().then(r.bind(r,676904)),Promise.resolve().then(r.bind(r,518231)),Promise.resolve().then(r.bind(r,692674)),Promise.resolve().then(r.bind(r,647892)),Promise.resolve().then(r.bind(r,703107)),Promise.resolve().then(r.bind(r,53047)),Promise.resolve().then(r.bind(r,166719)),Promise.resolve().then(r.bind(r,209670)),Promise.resolve().then(r.bind(r,76618)),Promise.resolve().then(r.bind(r,516480)),Promise.resolve().then(r.bind(r,325159)),Promise.resolve().then(r.bind(r,992444)),Promise.resolve().then(r.bind(r,609605)),Promise.resolve().then(r.bind(r,741633)),Promise.resolve().then(r.bind(r,971299)),Promise.resolve().then(r.bind(r,317783)),Promise.resolve().then(r.bind(r,889204)),Promise.resolve().then(r.bind(r,295269)),Promise.resolve().then(r.bind(r,301882)),Promise.resolve().then(r.bind(r,909251)),Promise.resolve().then(r.bind(r,887064)),Promise.resolve().then(r.bind(r,296449))},723370:(e,t,r)=>{"use strict";r.d(t,{IM:()=>j,JP:()=>y,Ls:()=>b,Ob:()=>d,QR:()=>g,Zg:()=>h,cn:()=>n,fB:()=>N,hI:()=>x,iv:()=>m,mK:()=>i,r7:()=>p,sg:()=>u,xS:()=>w,xq:()=>v,zk:()=>f});var a=r(852613),s=r(852550);function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.QP)((0,a.$)(t))}let o=e=>{let t=parseInt(e.slice(1),16);return[t>>16&255,t>>8&255,255&t]};function l(e){let t=e.toString(16);return 1==t.length?"0"+t:t}function i(e){if((null==e?void 0:e.includes("radial-gradient"))||(null==e?void 0:e.includes("linear-gradient")))return e;let t=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/);if(t){let e=parseInt(t[1]),r=parseInt(t[2]),a=parseInt(t[3]),s=e/255,n=r/255,o=a/255,l=Math.max(s,n,o),i=Math.min(s,n,o),d=l-i,c=0;0!==d&&(c=(l===s?(n-o)/d+6*(n<o):l===n?(o-s)/d+2:(s-n)/d+4)*60);let u=(l+i)/2,f=0;return 0!==d&&(f=d/(1-Math.abs(2*u-1))),"".concat(Math.round(c)," ").concat(Math.round(100*f),"% ").concat(Math.round(100*u),"%")}{let t=parseInt((e=e.replace(/^#/,"")).slice(0,2),16),r=parseInt(e.slice(2,4),16),a=parseInt(e.slice(4,6),16),s=Math.max(t/=255,r/=255,a/=255),n=Math.min(t,r,a),o=s-n,l=0;0!==o&&(l=(s===t?(r-a)/o+6*(r<a):s===r?(a-t)/o+2:(t-r)/o+4)*60);let i=(s+n)/2,d=0;return 0!==o&&(d=o/(1-Math.abs(2*i-1))),"".concat(Math.round(l)," ").concat(Math.round(100*d),"% ").concat(Math.round(100*i),"%")}}function d(e){let t=e.match(/\d+/g);if(!t||3!==t.length)return e.replace("#","");let r=parseInt(t[0]),a=parseInt(t[1]),s=parseInt(t[2]);return"#"+l(r)+l(a)+l(s)}let c=/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/;function u(e){if((null==e?void 0:e.includes("radial-gradient"))||(null==e?void 0:e.includes("linear-gradient"))){let t=(e.match(/rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)/g)||[]).map(e=>{let[,t,r,a]=e.match(/(\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})/).map(Number);return"#".concat((0x1000000+(t<<16)+(r<<8)+a).toString(16).slice(1).toUpperCase())}),r=e.match(/#[0-9A-Fa-f]{6}/g)||t;return 0===r.length||r.reduce((e,t)=>
1{var r;let[a,s,n]=c.test(t)?null==(r=c.exec(t))?void 0:r.slice(1).map(Number):o(t);return e+(.299*a+.587*s+.114*n)},0)/r.length>128?"black":"white"}{var t;let[r,a,s]=c.test(e)?null==(t=c.exec(e))?void 0:t.slice(1).map(Number):o(e);return .299*r+.587*a+.114*s>128?"black":"white"}}function f(e){return"CustomAsset"+e.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join("")}function m(e){return/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i.test(e.split(".")[0])}function p(e){switch(e){case 0:return null;case 25:return"shadow-sm";case 50:return"shadow-md";case 50:return"shadow-lg";case 75:return"shadow-xl"}}function h(e){return e.startsWith("https://")}function g(e){return e=e.replace(/^[a-zA-Z]+:\/\//,""),"https://".concat(e)}function x(e){let t=e.match(/@import[^;]+;/g)||[],r=e.match(/@keyframes\s+[^{]+\s*{(?:[^{}]*{[^{}]*})*[^{}]*}/g)||[],a=e.replace(/@import[^;]+;/g,"").replace(/@keyframes\s+[^{]+\s*{(?:[^{}]*{[^{}]*})*[^{}]*}/g,"").replace(/([^;]+);(?=[^}]*\})/g,"$1 !important;");return[...t,...r.map(e=>e.replace(/\s*!important\s*;/g,";")),a].join("\n")}let b={bplus:215344,bpro:410772},v=[{type:"bplus",variant:b.bplus,url_id:"5186954a-857c-459b-abd2-ef81b60d0b95?enabled="+b.bplus},{type:"bpro",variant:b.bpro,url_id:"848065e9-6d45-4e6f-add2-d3347fd80e0e?enabled="+b.bpro}];function y(e){return e.toLowerCase().replace(/[^a-z0-9\s-.]/g,"").replace(/^-|-$/g,"").replace(/\s+/g,"-")}let w=(e,t,r)=>t.feature_flags[e]?t.feature_flags[e]:(null==r?void 0:r.feature_flags[e])||!1,j=e=>e.split(" ").map(e=>e[0]).join("").toUpperCase().slice(0,2);function N(e){let t=e.replace(/-/g,"").substring(0,6).padEnd(6,"0");return"#".concat(t)}},749026:(e,t,r)=>{"use strict";r.d(t,{a:()=>s});var a=r(705922);function s(){let[e,t]=a.useState(void 0);return a.useEffect(()=>{let e=window.matchMedia("(max-width: ".concat(767,"px)")),r=()=>{t(window.innerWidth<768)};return e.addEventListener("change",r),t(window.innerWidth<768),()=>e.removeEventListener("change",r)},[]),!!e}},798557:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(249738);r(705922);let s=e=>{let{size:t=24,color:r="rgb(31,31,31)",className:s="",...n}=e,o="number"==typeof t?"".concat(t,"px"):t;return(0,a.jsx)("svg",{width:o,height:o,viewBox:"0 0 1500 1500",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",xmlSpace:"preserve",className:s,style:{fillRule:"evenodd",clipRule:"evenodd",strokeLinejoin:"round",strokeMiterlimit:2},...n,children:(0,a.jsx)("path",{d:"M574.314,0.002C257.129,0.002 0,257.132 0,574.318L0,779.766L345.832,779.766L345.832,574.318C345.832,448.131 448.127,345.836 574.314,345.836L1154.17,345.836L1154.17,666.67L1154.15,666.67L1154.15,980.131C1154.1,1026.27 1135.76,1070.51 1103.13,1103.14C1070.45,1135.81 1026.14,1154.17 979.926,1154.17L345.832,1154.17L345.832,961.314L0,961.314L0,1301.85C0,1411.25 88.655,1499.94 198.041,1500L980.164,1500C1118.01,1499.94 1250.2,1445.16 1347.68,1347.68C1442.91,1252.44 1497.26,1124.02 1499.76,989.588L1500,989.588L1500,198.16C1500,88.721 1411.28,0.002 1301.85,0.002L574.314,0.002Z",fill:r})})}},909251:(e,t,r)=>{"use strict";r.d(t,{default:()=>d});var a=r(249738),s=r(296449),n=r(174186),o=r(798557),l=r(723370),i=r(111239);function d(e){let{account:t,theme:r}=e;return t.settings.branding?null:(0,a.jsx)("div",{id:"doras-branding-root",className:"relative z-50 mx-auto mt-auto flex w-full max-w-2xl flex-1 flex-col gap-4 px-3 pt-6 md:px-6",children:null==t.affiliate?(0,a.jsx)("a",{href:"https://doras.to",className:"group mx-auto my-16 flex w-fit flex-col items-center gap-2",children:(0,a.jsxs)("div",{className:(0,l.cn)("mx-auto flex w-fit items-center gap-3 border border-user-tertiary-color bg-background px-6 py-4 text-foreground transition-all duration-200 group-hover:scale-105",i.zI[r.profile.design.corner_radius].class),style:{background:r.profile.colors.primary,color:r.profile.colors.primary_text},children:[(0,a.jsx)(o.A,{className:"h-8 w-8",color:r.profile.colors.primary_text}),(0,a.jsx)(s.Label,{variant:"headingtoggle",className:"cursor-pointer text-2xl font-bold",style:{color:r.profile.colors.primary_text},children:"Doras.to"}),(0,a.jsx)(n.Separator,{orientation:"vertical",className:"h-6",style:{background:r.profile.colors.primary_text}}),(0,a.jsx)(s.Label,{variant:"headingtoggle",className:"mx-auto cursor-pointer text-center font-bold",style:{color:r.profile.colors.primary_text},children:"Create your profile today"})]})}):(0,a.jsxs)("a",{id:"affiliate-doras-branding-root",href:"https://doras.to?aff=".concat(t.affiliate),className:(0,l.cn)("group relative mx-auto my-16 flex w-full flex-col items-center gap-2 overflow-hidden border border-user-tertiary-color py-3 transition-all duration-300 hover:scale-110",i.zI[r.profile.design.corner_radius].class,i.C4[r.profile.design.shadow].class,"text-secondary-primary-color bg-user-primary-color"),children:[(0,a.jsx)("img",{id:"affiliate-doras-branding-img",src:t.pic,
1className:"absolute -bottom-5 -right-6 size-36 -rotate-12",alt:"Doras Logo"}),(0,a.jsxs)(s.Label,{id:"affiliate-doras-branding-label",variant:"headingtoggle",className:"z-50 mx-auto cursor-pointer text-center text-xl font-bold text-inherit",style:{color:r.profile.colors.primary_text},children:["Join ",t.displayname," on"]}),(0,a.jsxs)("div",{className:"z-50 mx-auto flex w-fit items-center gap-3 text-foreground transition-all duration-200 group-hover:scale-105",children:[(0,a.jsx)("img",{src:"https://cdn.doras.to/doras/icon-white.svg",className:"h-8 w-8",alt:"Doras Logo"}),(0,a.jsx)(s.Label,{variant:"headingtoggle",className:"cursor-pointer text-2xl font-bold text-inherit",id:"affiliate-doras-branding-label",style:{color:r.profile.colors.primary_text},children:"Doras"})]})]})})}}}]); 2//# sourceMappingURL=8891-48095b1b2559f8f1.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.