PageSourceSearch

https://www.theverge.com/_next/static/chunks/1tdv6w7nct8dd.js

js theverge.com collected 2026-10-01 07:49:44 UTC 50,166 bytes, 5 lines download raw bytes

1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="3222884d-3a5a-7f25-f728-f36d78e05617")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,349766,t=>{"use strict";t.s(["followButton",0,"fv263x2","followButtonError",0,"fv263x3","followInstructions",0,"fv263x1","seeMore",0,"fv263x5","seeMoreContainer",0,"fv263x4"])},458188,64996,t=>{"use strict";var e=t.i(478902),r=t.i(197649),n=t.i(389959);t.i(7004);var o=t.i(177440);t.i(128634);var i=t.i(489027);t.i(585701);var a=t.i(69867),s=t.i(933322),l=t.i(315),u=t.i(80687),f=t.i(229722),c=t.i(13334),h=t.i(767636);t.i(807738);var p=t.i(738886);t.i(162228);var d=t.i(303460),g=t.i(184503),y=t.i(349766);t.s(["default",0,({path:t,category:m,metaVariation:w,gaComponentName:v,screenType:E})=>{let[b,k]=(0,n.useState)(!1),[_,x]=(0,n.useState)(null),j=(0,c.useCategoryListByName)(m),O=t=>{x((0,h.getFollowsErrorMessage)(t))},C=(0,l.useIsFollowing)(j?.id||""),{canFollow:S,followResource:q,unfollowResource:L}=(0,l.useFollows)(),A=(0,e.jsx)(i.default,{metaVariation:w,text:m,following:C}),T=v;void 0!==E&&(T=`${v}_${E}`),(0,n.useEffect)(()=>{S&&j?.id&&(0,u.isFollowRedirectTriggeredByComponent)(j.slug,T)&&((0,u.clearFollowQueryParam)(),q({resourceId:j.id,name:m,type:"category",gaComponentName:v}).then(()=>{let t=document.getElementById((0,u.getFollowId)("category",j.id,v,E));t&&(t.scrollIntoView({behavior:"smooth",block:"center"}),k(!0))}).catch(O))},[j,m,S,q,v,T,E]);let B=(0,n.useCallback)(()=>x(null),[]);return j?(0,e.jsx)("div",{id:(0,u.getFollowId)("category",j.id,v,E),children:(0,e.jsx)(a.default,{title:m,buttonContent:A,initialOpen:b,popoverId:`popover-${j.id}-${v}`,onPopoverChange:B,popoverClassname:g.default,popoverContent:(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("p",{className:y.followInstructions,children:"Posts from this topic will be added to your daily email digest and your homepage feed."}),(0,e.jsx)(p.default,{text:C?"Following":"Follow",className:(0,r.default)(y.followButton,_&&y.followButtonError),iconLeft:C?(0,e.jsx)(f.default,{title:"Unfollow",height:20,width:20}):(0,e.jsx)(s.default,{height:20,width:20}),fullWidth:!0,onClick:()=>{if(x(null),S&&C)L({resourceId:j.id,type:"category",name:m,gaComponentName:v}).catch(O);else{if(!S)return(0,u.loginAndFollow)(j.slug,T);q({resourceId:j.id,name:m,type:"category",gaComponentName:v}).catch(O)}}}),_&&(0,e.jsx)(o.default,{msg:_}),(0,e.jsx)("p",{className:y.seeMoreContainer,children:(0,e.jsxs)(d.default,{className:y.seeMore,href:t||"#",children:["See All ",m]})})]})})}):A}],64996),t.s([],458188)},7004,177440,933322,t=>{"use strict";var e=t.i(478902),r=t.i(197649);t.s(["default",0,({msg:t,className:n})=>(0,e.jsx)("p",{className:(0,r.default)("_1wh05fc0",n),children:t})],177440),t.s([],7004),t.s(["default",0,({className:t="",fill:r="currentColor",width:n="100%",height:o="100%",title:i="Follow"})=>(0,e.jsxs)("svg",{width:n,height:o,viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,"aria-label":"Follow",children:[(0,e.jsx)("title",{children:i}),(0,e.jsx)("path",{d:"M11.5 3H9.5V8.99999H3.5V11L9.5 11V17H11.5V11L17.5 11V9H11.5V3Z",fill:r})]})],933322)},128634,489027,t=>{"use strict";var e=t.i(478902),r=t.i(197649),n=t.i(753511),o=t.i(478225),i=t.i(180144),a={articleMetaStandard:"_1618ekm1 _1uf8q814 _19wv7tc5 _1618ekm0",articleMetaStandardDarkSurface:"_1618ekm2 _1uf8q814 _19wv7tc5 _1618ekm0",articleMetaFeature:"_1618ekm3 _1uf8q815 _19wv7tc5 _1618ekm0",articleMetaFeatureSplit:"_1618ekm4 _1uf8q816 _19wv7tc5 _1618ekm0",articleMetaSpecial:"_1618ekm5 _1uf8q817 _19wv7tc5 _1618ekm0",articleMetaSpecialSplit:"_1618ekm6 _1uf8q818 _19wv7tc5 _1618ekm0",articleMetaSpecialOverlay:"_1618ekm7 _1uf8q814 _19wv7tc5 _1618ekm0",pageHeader:"_1618ekm8 _1uf8q81b _19wv7tc7 _19wv7tc5 _1618ekm0"};t.s(["default",0,({text:t,following:s,metaVariation:l="articleMetaStandard"})=>(0,e.jsxs)("span",{className:(0,r.default)(n.followItemHoverGroup,a[l]),children:[s?(0,e.jsx)(o.default,{layout:l}):(0,e.jsx)(i.default,{layout:l}),(0,e.jsx)("span",{className:"_1618ekm9",children:t})]})],489027),t.s([],128634)},585701,69867,13334,t=>{"use strict";var e=t.i(478902),r=t.i(912953),n=t.i(561646),o=t.i(197649),i=t.i(298660),a=t.i(533066),s=t.i(389959),l=t.i(401262),u=t.i(391228),f=t.i(961026),c=t.i(822442),h=t.i(648448),p="_1wu3rm2";
2t.s(["default",0,({buttonContent:t,title:d,titleClassName:g,topContent:y,popoverContent:m,popoverId:w,onPopoverChange:v,initialOpen:E=!1,buttonType:b="button",popoverClassname:k})=>{let[_,x]=(0,s.useState)(E),{refs:j,floatingStyles:O,update:C}=(0,n.useFloating)({middleware:[(0,r.offset)(10),(0,r.shift)(),(0,r.flip)()]}),S=(0,s.useCallback)(t=>{t&&C(),v&&v(),x(t)},[v,C]),q={};"button"!==b&&(q={role:"button",tabIndex:0,onKeyDown:t=>{("Enter"===t.key||"Space"===t.code)&&S(!_)}}),(0,s.useEffect)(()=>{S(E)},[E,S]);let L=(0,c.useIsSmallerThanBreakpoint)(f.BREAKPOINTS.tablet),A=(0,s.useRef)(null);return(0,s.useEffect)(()=>{function t(t){j.floating.current?.contains(t.target)||j.reference.current.contains(t.target)||S(!1)}let e=window.scrollY,r=(0,a.default)(()=>{Math.abs(window.scrollY-e)>50&&!E&&t(new Event("scroll")),e=window.scrollY},100);return document.addEventListener("click",t),document.addEventListener("scroll",r),()=>{document.removeEventListener("click",t),document.removeEventListener("scroll",r)}},[j.floating,j.reference,E,S]),(0,h.useScrollLock)(_&&L),(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(b,{onClick:()=>S(!_),ref:j.setReference,"aria-expanded":_,"aria-haspopup":"true",...q,children:t}),(0,e.jsx)(l.CSSTransition,{in:_&&L,timeout:0,nodeRef:A,classNames:{enterDone:p},unmountOnExit:!0,children:(0,e.jsx)("div",{ref:A,className:"_1wu3rm6"})}),(0,e.jsx)(l.CSSTransition,{in:_,timeout:0,nodeRef:j.floating,classNames:{enterDone:p},children:(0,e.jsx)(i.FocusTrap,{active:_,focusTrapOptions:{fallbackFocus:`#${w}`,escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0},children:(0,e.jsx)("aside",{id:w,style:{...L?{}:O,visibility:_?"visible":"hidden"},ref:j.setFloating,className:(0,o.default)("_1wu3rm0",k),"aria-hidden":!_,children:(0,e.jsxs)("div",{className:"_1wu3rm
21",children:[(0,e.jsx)("button",{className:"_1wu3rm3",onClick:()=>S(!1),children:(0,e.jsx)(u.default,{className:"_1wu3rm4",width:16,height:16})}),y,(0,e.jsx)("div",{className:(0,o.default)("_1wu3rm5",g),children:d}),m]})})})})]})}],69867),t.s([],585701),t.i(591370),t.i(386687);var d=t.i(865935);t.i(174508),t.i(754734),t.s(["useCategoryListByName",0,t=>(0,d.useCategoryList)()?.find(e=>e.title===t)],13334)},753511,t=>{"use strict";t.s(["followItemHoverGroup",0,"gnx4pm0"])},478225,180144,t=>{"use strict";var e=t.i(478902),r={articleMetaStandard:"_1ajq89ke _1ajq89k1 _1ajq89k0",articleMetaStandardDarkSurface:"_1ajq89kf _1ajq89k1 _1ajq89k0",homepageFollowChip:"_1ajq89kg _1ajq89k1 _1ajq89k0",articleMetaFeature:"_1ajq89kh _1ajq89ka _1ajq89k1 _1ajq89k0",articleMetaFeatureSplit:"_1ajq89ki _1ajq89k1 _1ajq89k0",articleMetaSpecial:"_1ajq89kj _1ajq89k6 _1ajq89k1 _1ajq89k0",articleMetaSpecialSplit:"_1ajq89kk _1ajq89k6 _1ajq89k1 _1ajq89k0",articleMetaSpecialOverlay:"_1ajq89kl _1ajq89k1 _1ajq89k0",pageHeader:"_1ajq89km _1ajq89k1 _1ajq89k0",checkoutOnBoarding:"_1ajq89kn _1ajq89k1 _1ajq89k0"},n={articleMetaStandard:"_1ajq89ko _1ajq89k4 _1ajq89k3 ftptba0",articleMetaStandardDarkSurface:"_1ajq89kp _1ajq89k4 _1ajq89k3 ftptba0",homepageFollowChip:"_1ajq89kq _1ajq89k4 _1ajq89k3 ftptba0",articleMetaFeature:"_1ajq89kr _1ajq89kb _1ajq89k4 _1ajq89k3 ftptba0",articleMetaFeatureSplit:"_1ajq89ks _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecial:"_1ajq89kt _1ajq89k7 _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecialSplit:"_1ajq89ku _1ajq89k7 _1ajq89k4 _1ajq89k3 ftptba0",articleMetaSpecialOverlay:"_1ajq89kv _1ajq89k4 _1ajq89k3 ftptba0",pageHeader:"_1ajq89kw _1ajq89k4 _1ajq89k3 ftptba0",checkoutOnBoarding:"_1ajq89kx _1ajq89k4 _1ajq89k3 ftptba0"},o={articleMetaStandard:"_1ajq89ky _1ajq89k2 _1ajq89k0",articleMetaStandardDarkSurface:"_1ajq89kz _1ajq89k2 _1ajq89k0",homepageFollowChip:"_1ajq89k10 _1ajq89k2 _1ajq89k0",articleMetaFeature:"_1ajq89k11 _1ajq89kc _1ajq89k2 _1ajq89k0",articleMetaFeatureSplit:"_1ajq89k12 _1ajq89k2 _1ajq89k0",articleMetaSpecial:"_1ajq89k13 _1ajq89k8 _1ajq89k2 _1ajq89k0",articleMetaSpecialSplit:"_1ajq89k14 _1ajq89k8 _1ajq89k2 _1ajq89k0",articleMetaSpecialOverlay:"_1ajq89k15 _1ajq89k2 _1ajq89k0",pageHeader:"_1ajq89k16 _1ajq89k2 _1ajq89k0",checkoutOnBoarding:"_1ajq89k17 _1ajq89k2 _1ajq89k0"},i={articleMetaStandard:"_1ajq89k18 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaStandardDarkSurface:"_1ajq89k19 _1ajq89k5 _1ajq89k3 ftptba0",homepageFollowChip:"_1ajq89k1a _1ajq89k5 _1ajq89k3 ftptba0",articleMetaFeature:"_1ajq89k1b _1ajq89kd _1ajq89k5 _1ajq89k3 ftptba0",articleMetaFeatureSplit:"_1ajq89k1c _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecial:"_1ajq89k1d _1ajq89k9 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecialSplit:"_1ajq89k1e _1ajq89k9 _1ajq89k5 _1ajq89k3 ftptba0",articleMetaSpecialOverlay:"_1ajq89k1f _1ajq89k5 _1ajq89k3 ftptba0",pageHeader:"_1ajq89k1g _1ajq89k5 _1ajq89k3 ftptba0",checkoutOnBoarding:"_1ajq89k1h _1ajq89k5 _1ajq89k3 ftptba0"};t.s(["default",0,({layout:t,tooltipRef:r})=>(0,e.jsx)("span",{ref:r,className:o[t],children:(0,e.jsxs)("svg",{className:i[t],width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Following",children:[(0,e.jsx)("title",{children:"Following"}),(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.8004 1.78498L3.604 7.79332L0.599609 5.14239L1.39356 4.24259L3.48917 6.09166L7.89276 1L8.8004 1.78498Z"})]})})],478225),t.s(["default",0,({layout:t,tooltipRef:o})=>(0,e.jsx)("span",{ref:o,className:r[t],children:(0,e.jsx)("svg",{className:n[t],width:"9",height:"9",viewBox:"0 0 9 9",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":"Follow",children:(0,e.jsx)("path",{d:"M5 0H4V4H0V5H4V9H5V5H9V4H5V0Z"})})})],180144)},767636,t=>{"use strict";let e={FOLLOW_CATEGORY:"Error: Could not follow this topic. Try again.",UNFOLLOW_CATEGORY:"Error: Could not unfollow this topic. Try again.",FOLLOW_AUTHOR:"Error: Could not follow this author. Try again.",UNFOLLOW_AUTHOR:"Error: Could not unfollow this author. Try again.",MAX_FOLLOWS_REACHED:"Error: You have reached the maximum number of follows.",DEFAULT:"Error: An error occurred. Please try again."};
2t.s(["ERRORS",0,e,"FollowsError",0,class extends Error{code;originalError;constructor(t,e){super(),this.name="FollowsError",this.code=t,this.originalError=e}},"getFollowsErrorMessage",0,t=>{let r=e[t.code]||null;return console.error(`FOLLOWS ERROR: ${r}`," ORIGINAL:",!t.originalError&&t.message?t.message:t.originalError),r}])},315,t=>{"use strict";var e=t.i(478902),r=t.i(389959),n=t.i(80687),o=t.i(767636),i=t.i(210982),a=t.i(597406);let s=(0,r.createContext)({followResource:async()=>!0,unfollowResource:async()=>!0,sendAnalyticsEvent:()=>{},canFollow:!1,loading:!0});t.s(["FollowsProvider",0,({children:t})=>{let[l,u]=(0,r.useState)(null),[f,c]=(0,r.useState)(!0),[h,p]=(0,r.useState)(!1),{user:d}=(0,a.useAuth)(),g=(0,i.useAnalytics)();(0,r.useEffect)(()=>{window.location.search.match("errorTestMode")&&p(!0)},[]),(0,r.useEffect)(()=>{var t;if(!d)return;let e=(t=d.uid,`user:${t.slice(0,6)}:production:follows`),r=localStorage.getItem(e);r&&u(JSON.parse(r)),(0,n.getFollows)({userId:d.uid}).then(t=>{u(t),c(!1);try{localStorage.setItem(e,JSON.stringify(t))}catch{}}).catch(()=>u(null))},[d]);let y=(0,r.useCallback)(t=>{u({categories:l?.categories||[],authors:t})},[l]),m=(0,r.useCallback)(t=>{u({authors:l?.authors||[],categories:t})},[l]),w=(0,r.useCallback)(({eventType:t,type:e,name:r,gaComponentName:n})=>{g?.emit({event:t,[t]:{click_text:r.toLowerCase(),type:"author"===e?"author":"topic",position:n}})},[g]),v=(0,r.useCallback)(async({resourceId:t,name:e,type:r,gaComponentName:i})=>{if(h)throw new o.FollowsError("author"===r?"FOLLOW_AUTHOR":"FOLLOW_CATEGORY","TEST: FOLLOW");if(!d)return!1;let a="author"===r?y:m,s="author"===r?"authors":"categories",u=[...l?.[s]||[]];if(u.find(e=>e.id===t))return!1;if((l?.authors||[]).length+(l?.categories||[]).length>=40)throw new o.FollowsError("MAX_FOLLOWS_REACHED","");a([...u,{id:t,metadata:{name:e}}]);try{let e=await (0,n.follow)({userId:d.uid,resourceId:t,type:r});a(e)}catch(t){throw a(u),new o.FollowsError("author"===r?"FOLLOW_AUTHOR":"FOLLOW_CATEGORY",t)}return w({eventType:"follow",type:r,name:e,gaComponentName:i}),!0},[l,d,m,y,h,w]),E=(0,r.useCallback)(async({resourceId:t,name:e,type:r,gaComponentName:i})=>{if(h)throw new o.FollowsError("author"===r?"UNFOLLOW_AUTHOR":"UNFOLLOW_CATEGORY","TEST: UNFOLLOW");if(!d)return!1;let a="author"===r?y:m,s="author"===r?"authors":"categories",u=[...l?.[s]||[]];a(u.filter(e=>e.id!==t));try{let e=await (0,n.unfollow)({userId:d.uid,resourceId:t,type:r});a(e)}catch(t){throw a(u),new o.FollowsError("author"===r?"UNFOLLOW_AUTHOR":"UNFOLLOW_CATEGORY",t)}return w({eventType:"unfollow",type:r,name:e,gaComponentName:i}),!0},[l,d,m,y,h,w]);return(0,e.jsx)(s.Provider,{value:{...l,followResource:v,unfollowResource:E,sendAnalyticsEvent:w,canFollow:!!d,loading:f},children:t})},"useFollows",0,()=>(0,r.useContext)(s),"useIsFollowing",0,t=>{let e=(0,r.useContext)(s),n=e.authors?.find(e=>e.id===t);return!!(n=e.categories?.find(e=>e.id===t)||n)}])},80687,t=>{"use strict";let e=async(t,e)=>{if(e.ok)return(await e.json()).data;throw Error(`Unable to complete ${t} action, HTTP ${e.status} response`)},r=t=>({id:t.id,metadata:{name:t.name}}),n=async({userId:t,action:r,resourceId:n,type:o})=>{let i=await fetch(`/api/follows/latest/${encodeURIComponent(t)}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({action:r,resource:{id:n,type:o}})});return await e(r,i)},o=async({userId:t,resourceId:e,type:o})=>(await n({userId:t,action:"follow",resourceId:e,type:o}))["author"===o?"authors":"categories"].map(r),i=async({userId:t,resourceId:e,type:o})=>(await n({userId:t,action:"unfollow",resourceId:e,type:o}))["author"===o?"authors":"categories"].map(r),a=async({userId:t})=>{let n,o=await fetch(`/api/follows/latest/${encodeURIComponent(t)}`,{method:"GET"});return{authors:(n=await e("get follows",o)).authors.map(r),categories:n.categories.map(r)}},s="followItem",l="followItemSource";t.s(["clearFollowQueryParam",0,()=>{let t=new URL(window.location.href);t.search="",window.history.replaceState({},"",t)},"follow",0,o,"getFollowId",0,(t,e,r,n)=>`follow-${t}-${r}${n?`_${n}`:""}-${e}`,"getFollows",0,a,"isFollowRedirectTriggeredByComponent",0,(t,e)=>{let r,n,o=(r=new URLSearchParams(window.location.search)).has(s)?r.get(s):null;return((n=new URLSearchParams(window.location.search)).has(l)?n.get(l):null)===e&&o===t},"loginAndFollow",0,(t,e,r)=>{let n=new URLSearchParams({[s]:t,[l]:e});r&&n.set("followOnboarding","1");let o=encodeURIComponent(`${window.location.pathname}?${n.toString()}`);window.location.href=`/auth/login?returnPath=${o}&itm_campaign=follow&itm_medium=site`},"unfollow",0,i])},229722,t=>{"use strict";var e=t.i(478902);t.s(["default",0,({className:t="",fill:r="currentColor",width:n=24,height:o=24,title:i="Checkmark"})=>(0,e.jsxs)("svg",{className:t,width:n,height:o,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,e.jsx)("title",{children:i}),(0,e.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M20.4077 6.78505L10.0149 18.8017L4.0061 13.4999L5.594 11.7003L9.78522 15.3984L18.5924 5.21509L20.4077 6.78505Z",fill:r})]})])},136817,t=>{"use strict";function e(){return(e=Object.assign.bind()).apply(null,arguments)}t.s(["default",()=>e])},653892,730098,t=>{"use strict";function e(t,r){return(e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,r)}t.s(["default",0,function(t,e){if(null==t)return{};var r={};for(var n in t)if(({}).hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}],653892),t.s(["default",0,function(t,r){t.prototype=Object.create(r.prototype),t.prototype.constructor=t,e(t,r)}],730098)},253876,13736,t=>{"use strict";function e(t,e){return t.replace(RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}t.s(["default",0,function(t,e){if(t.classList)t.classList.add(e);else(t.classList?e&&t.classList.contains(e):-1!==(" "+(t.className.baseVal||t.className)+" ").indexOf(" "+e+" "))||("string"==typeof t.className?t.className=t.className+" "+e:t.setAttribute("class",(t.className&&t.className.baseVal||"")+" "+e))}],253876),t.s(["default",0,function(t,r){t.classList?t.classList.remove(r):"string"==typeof t.className?t.className=e(t.className,r):t.setAttribute("class",e(t.className&&t.className.baseVal||"",r))}],13736)},386687,(t,e,r)=>{"use strict";
2Object.defineProperty(r,"__esModule",{value:!0});let n=t=>{let e=t.method;return e&&({GET:" -X GET",POST:" -X POST",PUT:" -X PUT",PATCH:" -X PATCH",DELETE:" -X DELETE",HEAD:" -X HEAD",OPTIONS:" -X OPTIONS"})[e.toUpperCase()]||""},o=t=>"function"==typeof Headers&&t instanceof Headers,i=(t,e)=>` -H "${t}: ${`${e}`.replace(/(\\|")/g,"\\$1")}"`,a=(t={})=>{let{headers:e}=t,r=!1,n="";return o(e)?e.forEach((t,e)=>{"content-length"!==e.toLocaleLowerCase()&&(n+=i(e,t)),"accept-encoding"===e.toLocaleLowerCase()&&(r=!0)}):e&&Object.keys(e).map(t=>{"content-length"!==t.toLocaleLowerCase()&&(n+=i(t,e[t])),"accept-encoding"===t.toLocaleLowerCase()&&(r=!0)}),{params:n,isEncode:r}};function s(t){return"string"==typeof t?t.replace(/'/g,"'\\''"):t}function l(t){return t?"object"==typeof t?` --data-binary '${s(JSON.stringify(t))}'`:` --data-binary '${s(t)}'`:""}function u(t){return t?" --compressed":""}let f=(t,e)=>{let r,o;"string"==typeof t||t instanceof URL?(r=t,o=e||{}):(r=(t||{}).url,o=t||{});let{body:i}=o,s=a(o);return`curl '${r}'${n(o)}${s.params||""}${l(i)}${u(s.isEncode)}`};r.default=f,r.escapeBody=s,r.fetchToCurl=f,r.generateBody=l,r.generateCompress=u,r.generateHeader=a,r.generateMethod=n,r.isInstanceOfHeaders=o},332070,(t,e,r)=>{var n={872:function(t,e){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return(r+n)*3/4-n},e.toByteArray=function(t){var e,r,i=l(t),a=i[0],s=i[1],u=new o((a+s)*3/4-s),f=0,c=s>0?a-4:a;for(r=0;r<c;r+=4)e=n[t.charCodeAt(r)]<<18|n[t.charCodeAt(r+1)]<<12|n[t.charCodeAt(r+2)]<<6|n[t.charCodeAt(r+3)],u[f++]=e>>16&255,u[f++]=e>>8&255,u[f++]=255&e;return 2===s&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[f++]=255&e),1===s&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[f++]=e>>8&255,u[f++]=255&e),u},e.fromByteArray=function(t){for(var e,n=t.length,o=n%3,i=[],a=0,s=n-o;a<s;a+=16383)i.push(function(t,e,n){for(var o,i=[],a=e;a<n;a+=3)o=(t[a]<<16&0xff0000)+(t[a+1]<<8&65280)+(255&t[a+2]),i.push(r[o>>18&63]+r[o>>12&63]+r[o>>6&63]+r[63&o]);return i.join("")}(t,a,a+16383>s?s:a+16383));return 1===o?i.push(r[(e=t[n-1])>>2]+r[e<<4&63]+"=="):2===o&&i.push(r[(e=(t[n-2]<<8)+t[n-1])>>10]+r[e>>4&63]+r[e<<2&63]+"="),i.join("")};for(var r=[],n=[],o="u">typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function l(t){var e=t.length;if(e%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");-1===r&&(r=e);var n=r===e?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},230:function(t,e,r){"use strict";var n=r(872),o=r(321),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function a(t){if(t>0x7fffffff)throw RangeError('The value "'+t+'" is invalid for option "size"');var e=new Uint8Array(t);return Object.setPrototypeOf(e,s.prototype),e}function s(t,e,r){if("number"==typeof t){if("string"==typeof e)throw TypeError('The "string" argument must be of type string. Received type number');return f(t)}return l(t,e,r)}function l(t,e,r){if("string"==typeof t){var n=t,o=e;if(("string"!=typeof o||""===o)&&(o="utf8"),!s.isEncoding(o))throw TypeError("Unknown encoding: "+o);var i=0|p(n,o),l=a(i),u=l.write(n,o);return u!==i&&(l=l.slice(0,u)),l}if(ArrayBuffer.isView(t))return c(t);if(null==t)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t);if(q(t,ArrayBuffer)||t&&q(t.buffer,ArrayBuffer)||"u">typeof SharedArrayBuffer&&(q(t,SharedArrayBuffer)||t&&q(t.buffer,SharedArrayBuffer)))return function(t,e,r){var n;if(e<0||t.byteLength<e)throw RangeError('"offset" is outside of buffer bounds');if(t.byteLength<e+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===e&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,e):new Uint8Array(t,e,r),s.prototype),n}(t,e,r);if("number"==typeof t)throw TypeError('The "value" argument must not be of type number. Received type number');var f=t.valueOf&&t.valueOf();if(null!=f&&f!==t)return s.from(f,e,r);var d=function(t){if(s.isBuffer(t)){var e=0|h(t.length),r=a(e);return 0===r.length||t.copy(r,0,0,e),r}return void 0!==t.length?"number"!=typeof t.length||function(t){return t!=t}(t.length)?a(0):c(t):"Buffer"===t.type&&Array.isArray(t.data)?c(t.data):void 0}(t);if(d)return d;if("u">typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof t[Symbol.toPrimitive])return s.from(t[Symbol.toPrimitive]("string"),e,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof t)}function u(t){if("number"!=typeof t)throw TypeError('"size" argument must be of type number');
vendor: 16,509 bytes, line 2
2if(t<0)throw RangeError('The value "'+t+'" is invalid for option "size"')}function f(t){return u(t),a(t<0?0:0|h(t))}function c(t){for(var e=t.length<0?0:0|h(t.length),r=a(e),n=0;n<e;n+=1)r[n]=255&t[n];return r}e.Buffer=s,e.SlowBuffer=function(t){return+t!=t&&(t=0),s.alloc(+t)},e.INSPECT_MAX_BYTES=50,e.kMaxLength=0x7fffffff,s.TYPED_ARRAY_SUPPORT=function(){try{var t=new Uint8Array(1),e={foo:function(){return 42}};return Object.setPrototypeOf(e,Uint8Array.prototype),Object.setPrototypeOf(t,e),42===t.foo()}catch(t){return!1}}(),!s.TYPED_ARRAY_SUPPORT&&"u">typeof console&&"function"==typeof console.error&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}}),s.poolSize=8192,s.from=function(t,e,r){return l(t,e,r)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array),s.alloc=function(t,e,r){return(u(t),t<=0)?a(t):void 0!==e?"string"==typeof r?a(t).fill(e,r):a(t).fill(e):a(t)},s.allocUnsafe=function(t){return f(t)},s.allocUnsafeSlow=function(t){return f(t)};function h(t){if(t>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|t}function p(t,e){if(s.isBuffer(t))return t.length;if(ArrayBuffer.isView(t)||q(t,ArrayBuffer))return t.byteLength;if("string"!=typeof t)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof t);var r=t.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return j(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return C(t).length;default:if(o)return n?-1:j(t).length;e=(""+e).toLowerCase(),o=!0}}function d(t,e,r){var o,i,a,s=!1;if((void 0===e||e<0)&&(e=0),e>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(e>>>=0)))return"";for(t||(t="utf8");;)switch(t){case"hex":return function(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=e;i<r;++i)o+=L[t[i]];return o}(this,e,r);case"utf8":case"utf-8":return w(this,e,r);case"ascii":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(127&t[o]);return n}(this,e,r);case"latin1":case"binary":return function(t,e,r){var n="";r=Math.min(t.length,r);for(var o=e;o<r;++o)n+=String.fromCharCode(t[o]);return n}(this,e,r);case"base64":return o=this,i=e,a=r,0===i&&a===o.length?n.fromByteArray(o):n.fromByteArray(o.slice(i,a));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(t,e,r){for(var n=t.slice(e,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}(this,e,r);default:if(s)throw TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),s=!0}}function g(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function y(t,e,r,n,o){var i;if(0===t.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(i=r*=1)!=i&&(r=o?0:t.length-1),r<0&&(r=t.length+r),r>=t.length)if(o)return -1;else r=t.length-1;else if(r<0)if(!o)return -1;else r=0;if("string"==typeof e&&(e=s.from(e,n)),s.isBuffer(e))return 0===e.length?-1:m(t,e,r,n,o);if("number"==typeof e){if(e&=255,"function"==typeof Uint8Array.prototype.indexOf)if(o)return Uint8Array.prototype.indexOf.call(t,e,r);else return Uint8Array.prototype.lastIndexOf.call(t,e,r);return m(t,[e],r,n,o)}throw TypeError("val must be string, number or Buffer")}function m(t,e,r,n,o){var i,a=1,s=t.length,l=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return -1;a=2,s/=2,l/=2,r/=2}function u(t,e){return 1===a?t[e]:t.readUInt16BE(e*a)}if(o){var f=-1;for(i=r;i<s;i++)if(u(t,i)===u(e,-1===f?0:i-f)){if(-1===f&&(f=i),i-f+1===l)return f*a}else -1!==f&&(i-=i-f),f=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var c=!0,h=0;h<l;h++)if(u(t,i+h)!==u(e,h)){c=!1;break}if(c)return i}return -1}s.isBuffer=function(t){return null!=t&&!0===t._isBuffer&&t!==s.prototype},s.compare=function(t,e){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),q(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(t)||!s.isBuffer(e))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(t===e)return 0;for(var r=t.length,n=e.length,o=0,i=Math.min(r,n);o<i;++o)if(t[o]!==e[o]){r=t[o],n=e[o];break}return r<n?-1:+(n<r)},s.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},s.concat=function(t,e){if(!Array.isArray(t))throw TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return s.alloc(0);if(void 0===e)for(r=0,e=0;r<t.length;++r)e+=t[r].length;var r,n=s.allocUnsafe(e),o=0;for(r=0;r<t.length;++r){var i=t[r];if(q(i,Uint8Array)&&(i=s.from(i)),!s.isBuffer(i))throw TypeError('"list" argument must be an Array of Buffers');i.copy(n,o),o+=i.length}return n},s.byteLength=p,s.prototype._isBuffer=!0,s.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)g(this,e,e+1);return this},s.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)g(this,e,e+3),g(this,e+1,e+2);return this},s.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)g(this,e,e+7),g(this,e+1,e+6),g(this,e+2,e+5),g(this,e+3,e+4);return this},s.prototype.toString=function(){var t=this.length;return 0===t?"":0==arguments.length?w(this,0,t):d.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(t){if(!s.isBuffer(t))throw TypeError("Argument must be a Buffer");return this===t||0===s.compare(this,t)},s.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return t=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(t+=" ... "),"<Buffer "+t+">"},i&&(s.prototype[i]=s.prototype.inspect),s.prototype.compare=function(t,e,r,n,o){if(q(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(t))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof t);if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),e<0||r>t.length||n<0||o>this.length)throw RangeError("out of range index");if(n>=o&&e>=r)return 0;if(n>=o)return -1;if(e>=r)return 1;if(e>>>=0,r>>>=0,n>>>=0,o>>>=0,this===t)return 0;for(var i=o-n,a=r-e,l=Math.min(i,a),u=this.slice(n,o),f=t.slice(e,r),c=0;c<l;++c)if(u[c]!==f[c]){i=u[c],a=f[c];break}return i<a?-1:+(a<i)},s.prototype.includes=function(t,e,r){return -1!==this.indexOf(t,e,r)},s.prototype.indexOf=function(t,e,r){return y(this,t,e,r,!0)},s.prototype.lastIndexOf=function(t,e,r){return y(this,t,e,r,!1)};function w(t,e,r){r=Math.min(t.length,r);for(var n=[],o=e;o<r;){var i,a,s,l,u=t[o],f=null,c=u>239?4:u>223?3:u>191?2:1;if(o+c<=r)switch(c){case 1:u<128&&(f=u);break;case 2:(192&(i=t[o+1]))==128&&(l=(31&u)<<6|63&i)>127&&(f=l);break;case 3:i=t[o+1],a=t[o+2],(192&i)==128&&(192&a)==128&&(l=(15&u)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(f=l);break;case 4:i=t[o+1],a=t[o+2],s=t[o+3],(192&i)==128&&(192&a)==128&&(192&s)==128&&(l=(15&u)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(f=l)}null===f?(f=65533,c=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),o+=c}var h=n,p=h.length;if(p<=4096)return String.fromCharCode.apply(String,h);for(var d="",g=0;g<p;)d+=String.fromCharCode.apply(String,h.slice(g,g+=4096));return d}function v(t,e,r){if(t%1!=0||t<0)throw RangeError("offset is not uint");if(t+e>r)throw RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,o,i){if(!s.isBuffer(t))throw TypeError('"buffer" argument must be a Buffer instance');if(e>o||e<i)throw RangeError('"value" argument is out of bounds');if(r+n>t.length)throw RangeError("Index out of range")}function b(t,e,r,n,o,i){if(r+n>t.length||r<0)throw RangeError("Index out of range")}function k(t,e,r,n,i){return e*=1,r>>>=0,i||b(t,e,r,4,34028234663852886e22,-34028234663852886e22),o.write(t,e,r,n,23,4),r+4}function _(t,e,r,n,i){return e*=1,r>>>=0,i||b(t,e,r,8,17976931348623157e292,-17976931348623157e292),o.write(t,e,r,n,52,8),r+8}s.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else if(isFinite(e))e>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var o,i,a,s,l,u,f,c,h=this.length-e;if((void 0===r||r>h)&&(r=h),t.length>0&&(r<0||e<0)||e>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var p=!1;;)switch(n){case"hex":return function(t,e,r,n){r=Number(r)||0;var o=t.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=e.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s,l=parseInt(e.substr(2*a,2),16);if((s=l)!=s)break;t[r+a]=l}return a}(this,t,e,r);case"utf8":case"utf-8":return o=e,i=r,S(j(t,this.length-o),this,o,i);case"ascii":return a=e,s=r,S(O(t),this,a,s);case"latin1":case"binary":return function(t,e,r,n){return S(O(e),t,r,n)}(this,t,e,r);case"base64":return l=e,u=r,S(C(t),this,l,u);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return f=e,c=r,S(function(t,e){for(var r,n,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,o.push(r%256),o.push(n);return o}(t,this.length-f),this,f,c);default:if(p)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),p=!0}},s.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},s.prototype.slice=function(t,e){var r=this.length;t=~~t,e=void 0===e?r:~~e,t<0?(t+=r)<0&&(t=0):t>r&&(t=r),e<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t);var n=this.subarray(t,e);return Object.setPrototypeOf(n,s.prototype),n},s.prototype.readUIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n},s.prototype.readUIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t+--e],o=1;e>0&&(o*=256);)n+=this[t+--e]*o;return n},s.prototype.readUInt8=function(t,e){return t>>>=0,e||v(t,1,this.length),this[t]},s.prototype.readUInt16LE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]|this[t+1]<<8},s.prototype.readUInt16BE=function(t,e){return t>>>=0,e||v(t,2,this.length),this[t]<<8|this[t+1]},s.prototype.readUInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+0x1000000*this[t+3]},s.prototype.readUInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),0x1000000*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},s.prototype.readIntLE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=this[t],o=1,i=0;++i<e&&(o*=256);)n+=this[t+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*e)),n},s.prototype.readIntBE=function(t,e,r){t>>>=0,e>>>=0,r||v(t,e,this.length);for(var n=e,o=1,i=this[t+--n];n>0&&(o*=256);)i+=this[t+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*e)),i},s.prototype.readInt8=function(t,e){return(t>>>=0,e||v(t,1,this.length),128&this[t])?-((255-this[t]+1)*1):this[t]},s.prototype.readInt16LE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt16BE=function(t,e){t>>>=0,e||v(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?0xffff0000|r:r},s.prototype.readInt32LE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},s.prototype.readInt32BE=function(t,e){return t>>>=0,e||v(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},s.prototype.readFloatLE=function(t,e){return t>>>=0,e||v(t,4,this.length),o.read(this,t,!0,23,4)},s.prototype.readFloatBE=function(t,e){return t>>>=0,e||v(t,4,this.length),o.read(this,t,!1,23,4)},s.prototype.readDoubleLE=function(t,e){return t>>>=0,e||v(t,8,this.length),o.read(this,t,!0,52,8)},s.prototype.readDoubleBE=function(t,e){return t>>>=0,e||v(t,8,this.length),o.read(this,t,!1,52,8)},s.prototype.writeUIntLE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=1,a=0;for(this[e]=255&t;++a<r&&(i*=256);)this[e+a]=t/i&255;return e+r},s.prototype.writeUIntBE=function(t,e,r,n){if(t*=1,e>>>=0,r>>>=0,!n){var o=Math.pow(2,8*r)-1;E(this,t,e,r,o,0)}var i=r-1,a=1;for(this[e+i]=255&t;--i>=0&&(a*=256);)this[e+i]=t/a&255;return e+r},s.prototype.writeUInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,255,0),this[e]=255&t,e+1},s.prototype.writeUInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeUInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,65535,0),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeUInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t,e+4},s.prototype.writeUInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0xffffffff,0),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeIntLE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=0,a=1,s=0;for(this[e]=255&t;++i<r&&(a*=256);)t<0&&0===s&&0!==this[e+i-1]&&(s=1),this[e+i]=(t/a|0)-s&255;return e+r},s.prototype.writeIntBE=function(t,e,r,n){if(t*=1,e>>>=0,!n){var o=Math.pow(2,8*r-1);E(this,t,e,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[e+i]=255&t;--i>=0&&(a*=256);)t<0&&0===s&&0!==this[e+i+1]&&(s=1),this[e+i]=(t/a|0)-s&255;return e+r},s.prototype.writeInt8=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,1,127,-128),t<0&&(t=255+t+1),this[e]=255&t,e+1},s.prototype.writeInt16LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=255&t,this[e+1]=t>>>8,e+2},s.prototype.writeInt16BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,2,32767,-32768),this[e]=t>>>8,this[e+1]=255&t,e+2},s.prototype.writeInt32LE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24,e+4},s.prototype.writeInt32BE=function(t,e,r){return t*=1,e>>>=0,r||E(this,t,e,4,0x7fffffff,-0x80000000),t<0&&(t=0xffffffff+t+1),this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t,e+4},s.prototype.writeFloatLE=function(t,e,r){return k(this,t,e,!0,r)},s.prototype.writeFloatBE=function(t,e,r){return k(this,t,e,!1,r)},s.prototype.writeDoubleLE=function(t,e,r){return _(this,t,e,!0,r)},s.prototype.writeDoubleBE=function(t,e,r){return _(this,t,e,!1,r)},s.prototype.copy=function(t,e,r,n){if(!s.isBuffer(t))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r||0===t.length||0===this.length)return 0;if(e<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var o=n-r;if(this===t&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(e,r,n);else if(this===t&&r<e&&e<n)for(var i=o-1;i>=0;--i)t[i+e]=this[i+r];else Uint8Array.prototype.set.call(t,this.subarray(r,n),e);return o},s.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!s.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===t.length){var o,i=t.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(t=i)}}else"number"==typeof t?t&=255:"boolean"==typeof t&&(t=Number(t));if(e<0||this.length<e||this.length<r)throw RangeError("Out of range index");if(r<=e)return this;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var a=s.isBuffer(t)?t:s.from(t,n),l=a.length;
2if(0===l)throw TypeError('The value "'+t+'" is invalid for argument "value"');for(o=0;o<r-e;++o)this[o+e]=a[o%l]}return this};var x=/[^+/0-9A-Za-z-_]/g;function j(t,e){e=e||1/0;for(var r,n=t.length,o=null,i=[],a=0;a<n;++a){if((r=t.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319||a+1===n){(e-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(e-=3)>-1&&i.push(239,191,189),o=r;continue}r=(o-55296<<10|r-56320)+65536}else o&&(e-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((e-=1)<0)break;i.push(r)}else if(r<2048){if((e-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((e-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return i}function O(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}function C(t){return n.toByteArray(function(t){if((t=(t=t.split("=")[0]).trim().replace(x,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function S(t,e,r,n){for(var o=0;o<n&&!(o+r>=e.length)&&!(o>=t.length);++o)e[o+r]=t[o];return o}function q(t,e){return t instanceof e||null!=t&&null!=t.constructor&&null!=t.constructor.name&&t.constructor.name===e.name}var L=function(){for(var t="0123456789abcdef",e=Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)e[n+o]=t[r]+t[o];return e}()},321:function(t,e){e.read=function(t,e,r,n,o){var i,a,s=8*o-n-1,l=(1<<s)-1,u=l>>1,f=-7,c=r?o-1:0,h=r?-1:1,p=t[e+c];for(c+=h,i=p&(1<<-f)-1,p>>=-f,f+=s;f>0;i=256*i+t[e+c],c+=h,f-=8);for(a=i&(1<<-f)-1,i>>=-f,f+=n;f>0;a=256*a+t[e+c],c+=h,f-=8);if(0===i)i=1-u;else{if(i===l)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=u}return(p?-1:1)*a*Math.pow(2,i-n)},e.write=function(t,e,r,n,o,i){var a,s,l,u=8*i-o-1,f=(1<<u)-1,c=f>>1,h=5960464477539062e-23*(23===o),p=n?0:i-1,d=n?1:-1,g=+(e<0||0===e&&1/e<0);for(isNaN(e=Math.abs(e))||e===1/0?(s=+!!isNaN(e),a=f):(a=Math.floor(Math.log(e)/Math.LN2),e*(l=Math.pow(2,-a))<1&&(a--,l*=2),a+c>=1?e+=h/l:e+=h*Math.pow(2,1-c),e*l>=2&&(a++,l/=2),a+c>=f?(s=0,a=f):a+c>=1?(s=(e*l-1)*Math.pow(2,o),a+=c):(s=e*Math.pow(2,c-1)*Math.pow(2,o),a=0));o>=8;t[r+p]=255&s,p+=d,s/=256,o-=8);for(a=a<<o|s,u+=o;u>0;t[r+p]=255&a,p+=d,a/=256,u-=8);t[r+p-d]|=128*g}}},o={};function i(t){var e=o[t];if(void 0!==e)return e.exports;var r=o[t]={exports:{}},a=!0;try{n[t](r,r.exports,i),a=!1}finally{a&&delete o[t]}return r.exports}i.ab="/ROOT/node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected][email protected][email protected]/node_modules/next/dist/compiled/buffer/",e.exports=i(230)},401262,t=>{"use strict";var e=t.i(136817),r=t.i(653892),n=t.i(730098),o=t.i(253876),i=t.i(13736),a=t.i(389959),s=t.i(351981),l=t.i(861644),u=function(t,e){return t&&e&&e.split(" ").forEach(function(e){return(0,i.default)(t,e)})},f=function(t){function i(){for(var e,r=arguments.length,n=Array(r),o=0;o<r;o++)n[o]=arguments[o];return(e=t.call.apply(t,[this].concat(n))||this).appliedClasses={appear:{},enter:{},exit:{}},e.onEnter=function(t,r){var n=e.resolveArguments(t,r),o=n[0],i=n[1];e.removeClasses(o,"exit"),e.addClass(o,i?"appear":"enter","base"),e.props.onEnter&&e.props.onEnter(t,r)},e.onEntering=function(t,r){var n=e.resolveArguments(t,r),o=n[0],i=n[1];e.addClass(o,i?"appear":"enter","active"),e.props.onEntering&&e.props.onEntering(t,r)},e.onEntered=function(t,r){var n=e.resolveArguments(t,r),o=n[0],i=n[1]?"appear":"enter";e.removeClasses(o,i),e.addClass(o,i,"done"),e.props.onEntered&&e.props.onEntered(t,r)},e.onExit=function(t){var r=e.resolveArguments(t)[0];e.removeClasses(r,"appear"),e.removeClasses(r,"enter"),e.addClass(r,"exit","base"),e.props.onExit&&e.props.onExit(t)},e.onExiting=function(t){var r=e.resolveArguments(t)[0];e.addClass(r,"exit","active"),e.props.onExiting&&e.props.onExiting(t)},e.onExited=function(t){var r=e.resolveArguments(t)[0];e.removeClasses(r,"exit"),e.addClass(r,"exit","done"),e.props.onExited&&e.props.onExited(t)},e.resolveArguments=function(t,r){return e.props.nodeRef?[e.props.nodeRef.current,t]:[t,r]},e.getClassNames=function(t){var r=e.props.classNames,n="string"==typeof r,o=n&&r?r+"-":"",i=n?""+o+t:r[t],a=n?i+"-active":r[t+"Active"],s=n?i+"-done":r[t+"Done"];return{baseClassName:i,activeClassName:a,doneClassName:s}},e}(0,n.default)(i,t);var f=i.prototype;return f.addClass=function(t,e,r){var n,i=this.getClassNames(e)[r+"ClassName"],a=this.getClassNames("enter").doneClassName;"appear"===e&&"done"===r&&a&&(i+=" "+a),"active"===r&&t&&(0,l.forceReflow)(t),i&&(this.appliedClasse
2s[e][r]=i,n=i,t&&n&&n.split(" ").forEach(function(e){return(0,o.default)(t,e)}))},f.removeClasses=function(t,e){var r=this.appliedClasses[e],n=r.base,o=r.active,i=r.done;this.appliedClasses[e]={},n&&u(t,n),o&&u(t,o),i&&u(t,i)},f.render=function(){var t=this.props,n=(t.classNames,(0,r.default)(t,["classNames"]));return a.default.createElement(s.default,(0,e.default)({},n,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},i}(a.default.Component);f.defaultProps={classNames:""},f.propTypes={},t.s(["CSSTransition",0,f],401262)},351981,170175,861644,t=>{"use strict";var e=t.i(653892),r=t.i(730098),n=t.i(389959),o=t.i(971131);let i=n.default.createContext(null);t.s(["default",0,i],170175);var a=function(t){return t.scrollTop};t.s(["forceReflow",0,a],861644);var s="unmounted",l="exited",u="entering",f="entered",c="exiting",h=function(t){function h(e,r){var n,o=t.call(this,e,r)||this,i=r&&!r.isMounting?e.enter:e.appear;return o.appearStatus=null,e.in?i?(n=l,o.appearStatus=u):n=f:n=e.unmountOnExit||e.mountOnEnter?s:l,o.state={status:n},o.nextCallback=null,o}(0,r.default)(h,t),h.getDerivedStateFromProps=function(t,e){return t.in&&e.status===s?{status:l}:null};var p=h.prototype;return p.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},p.componentDidUpdate=function(t){var e=null;if(t!==this.props){var r=this.state.status;this.props.in?r!==u&&r!==f&&(e=u):(r===u||r===f)&&(e=c)}this.updateStatus(!1,e)},p.componentWillUnmount=function(){this.cancelNextCallback()},p.getTimeouts=function(){var t,e,r,n=this.props.timeout;return t=e=r=n,null!=n&&"number"!=typeof n&&(t=n.exit,e=n.enter,r=void 0!==n.appear?n.appear:e),{exit:t,enter:e,appear:r}},p.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===u){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:o.default.findDOMNode(this);r&&a(r)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===l&&this.setState({status:s})},p.performEnter=function(t){var e=this,r=this.props.enter,n=this.context?this.context.isMounting:t,i=this.props.nodeRef?[n]:[o.default.findDOMNode(this),n],a=i[0],s=i[1],l=this.getTimeouts(),c=n?l.appear:l.enter;(t||r)&&1?(this.props.onEnter(a,s),this.safeSetState({status:u},function(){e.props.onEntering(a,s),e.onTransitionEnd(c,function(){e.safeSetState({status:f},function(){e.props.onEntered(a,s)})})})):this.safeSetState({status:f},function(){e.props.onEntered(a)})},p.performExit=function(){var t=this,e=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:o.default.findDOMNode(this);e?(this.props.onExit(n),this.safeSetState({status:c},function(){t.props.onExiting(n),t.onTransitionEnd(r.exit,function(){t.safeSetState({status:l},function(){t.props.onExited(n)})})})):this.safeSetState({status:l},function(){t.props.onExited(n)})},p.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},p.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},p.setNextCallback=function(t){var e=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,e.nextCallback=null,t(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},p.onTransitionEnd=function(t,e){this.setNextCallback(e);var r=this.props.nodeRef?this.props.nodeRef.current:o.default.findDOMNode(this),n=null==t&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=t&&setTimeout(this.nextCallback,t)},p.render=function(){var t=this.state.status;if(t===s)return null;var r=this.props,o=r.children,a=(r.in,r.mountOnEnter,r.unmountOnExit,r.appear,r.enter,r.exit,r.timeout,r.addEndListener,r.onEnter,r.onEntering,r.onEntered,r.onExit,r.onExiting,r.onExited,r.nodeRef,(0,e.default)(r,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return n.default.createElement(i.Provider,{value:null},"function"==typeof o?o(t,a):n.default.cloneElement(n.default.Children.only(o),a))},h}(n.default.Component);function p(){}h.contextType=i,h.propTypes={},h.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
2:!0,exit:!0,onEnter:p,onEntering:p,onEntered:p,onExit:p,onExiting:p,onExited:p},h.UNMOUNTED=s,h.EXITED=l,h.ENTERING=u,h.ENTERED=f,h.EXITING=c,t.s(["default",0,h],351981)},865935,t=>{"use strict";var e=t.i(389959);let r=(0,e.createContext)(null);t.s(["default",0,r,"useAuthorList",0,()=>{let t=(0,e.useContext)(r);return t&&t.authorList||null},"useCategoryList",0,()=>{let t=(0,e.useContext)(r);return t&&t.categoryList||null}])},659899,t=>{"use strict";t.i(668885),t.s([])},391228,t=>{"use strict";var e=t.i(478902);t.s(["default",0,({className:t,width:r=20,height:n=19,fill:o="currentColor",strokeWidth:i=2})=>(0,e.jsxs)("svg",{className:t,width:r,height:n,viewBox:"0 0 20 19",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,e.jsx)("title",{children:"Close"}),(0,e.jsx)("line",{x1:"1.70711",y1:"0.831956",x2:"18.6483",y2:"17.7731",stroke:o,strokeWidth:i}),(0,e.jsx)("line",{x1:"1.35149",y1:"17.7734",x2:"18.2927",y2:"0.832185",stroke:o,strokeWidth:i})]})])},961026,t=>{"use strict";t.s(["BREAKPOINTS",0,{mobile:0,productCard:335,productCardDesktop:550,river:700,narrowRiver:600,tablet:768,navigation:901,desktop:1180}])},184503,t=>{"use strict";t.s(["default",0,"_1se63890"])},754734,t=>{"use strict";var e=t.i(505284);let r=(0,t.i(73018).default)({base:void 0,browser:{write(t){try{console.log(JSON.stringify(t))}catch(t){t instanceof Error&&console.log(JSON.stringify(t,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:e.default.env.LOG_LEVEL||"true"===e.default.env.DEBUG_ENABLED?"debug":"info",customLevels:{highVisDebug:20}});function n(t,e){let n=`${o.red}--------->`,i=`${n} ${o.reset}`;r.debug({},i),r.debug({},`${n} ${t}${o.reset}`),r.debug({},i),e&&r.debug(e)}r.highVisDebug=(t,e)=>{"string"==typeof t?n(t):e?n(e,JSON.stringify(t,null,2)):n("HIGH VIS DEBUG",JSON.stringify(t,null,2))};let o={red:"\x1b[31m",reset:"\x1b[0m"};t.s(["getExecutionDuration",0,(t,e="ms")=>{let r="u">typeof performance?performance.now()-t:Date.now()-t,n="s"===e;return(n?r/1e3:r).toFixed(2*!!n)},"getLoggerBindings",0,(t,e)=>{let r="The Verge";return Object.assign(Object.assign({name:t},["2",r].filter(Boolean).length>0&&{network:Object.assign(Object.assign({},{networkId:"2"}),r&&{networkName:r})}),e)},"isomorphicTimer",0,()=>"u">typeof performance?performance.now():Date.now(),"log",0,r])},822442,648448,t=>{"use strict";var e=t.i(533066),r=t.i(389959);t.s(["useIsSmallerThanBreakpoint",0,t=>{let[n,o]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let r=(0,e.default)(()=>o(window.innerWidth<t),100);return r(),window.addEventListener("resize",r),()=>{window.removeEventListener("resize",r)}},[t]),n}],822442);let n=0;t.s(["useScrollLock",0,t=>{(0,r.useEffect)(()=>{if(t)return n+=1,document.body.style.overflow="hidden",()=>{0==(n-=1)&&(document.body.style.overflow="unset")}},[t])}],648448)}]);
3
4//# debugId=3222884d-3a5a-7f25-f728-f36d78e05617
5//# sourceMappingURL=2x_e62r9cuxs4.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.