PageSourceSearch

https://www.elgato.com/_next/static/chunks/pages/account/orders/[...view]-0007b72145e9807d.js

js elgato.com collected 2026-10-01 08:43:12 UTC 10,000 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[119],{93248:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/account/orders/[...view]",function(){return n(39144)}])},13923:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var o=n(85893),c=n(60913),r=n(70723),a=n(54735),i=n(26803),u=n(65649),l=n(9132);let s=()=>({event:"accountLogout"});n(77092);var d=n(38015);n(59956);var _=n(12921),m=n.n(_),b=n(93967),p=n.n(b),h=n(79841),g=n(11163),f=n(67294),v=n(59046);let y={className:"small-copy",variant:"tertiary",Component:"button"},A=e=>{var t,n;let{onContentFocus:_}=e,{t:b}=(0,h.$G)(["account"]),{customer:A}=(0,i.aF)(),{t:x}=(0,h.$G)(["common"]),w=(0,g.useRouter)(),k=(0,a.d7)(),{logout:j}=(0,i.aU)(),E=(0,f.useMemo)(()=>[{name:b("account||sidebar|Account Dashboard"),path:"/account",enable:!0},{name:b("account||sidebar|Account Information"),path:"/account/account-information",enable:!0},{name:b("account||sidebar|Address Book"),path:"/account/address",enable:!(null==A?void 0:A.isB2B)},{name:b("account||sidebar|My Orders"),path:"/account/orders",enable:!0},{name:b("account||sidebar|My Returns"),path:"/account/my-returns",enable:!0}],[b,k.base.wishlist.enabled,A]),N=(0,f.useCallback)(e=>{let t=e.replace("/account/","");return -1!==w.pathname.replace("/account/","").indexOf(t)},[w.pathname]),S=async()=>{try{let e="".concat(k.base.shopifyUrl,"account/logout"),t=await (0,d.PV)({shopifyUrl:k.base.shopifyUrl,postLogoutRedirectUri:e});if(await j(),t){w.push(t);return}w.push(e);let n=s();(0,l.y)(n),(0,u.YV)()}catch(e){console.log("error during logout : ".concat(e))}},q=(0,f.useMemo)(()=>E.map(e=>(null==e?void 0:e.enable)&&(0,o.jsx)("li",{className:p()({[m().activeSidebarLink]:N(e.path),"current-active-sidebar":N(e.path)}),children:(0,o.jsx)("a",{href:e.path,onClick:t=>{t.preventDefault(),w.push(e.path)},onKeyDown:t=>T(t,e.path),"aria-label":"".concat(e.name," - ").concat(x("ada|Opens in the current Tab")),children:e.name})},e.name)),[N,E]),T=(e,t)=>{("Enter"===e.key||" "===e.key)&&(e.preventDefault(),w.push({pathname:t,query:{focus:"true"}}))};return(0,f.useEffect)(()=>{if("true"===w.query.focus){let{focus:e,...t}=w.query;w.replace({pathname:w.pathname,query:t},void 0,{shallow:!0}),_()}},[w.query]),(0,o.jsxs)("div",{className:m()["myaccount-sidebar"],children:[(0,o.jsx)("h5",{className:m()["myaccount-sidebar-h5"],children:b("account|My Account")}),(0,o.jsxs)("ul",{className:m()["sidebar-list"],children:[q,(0,o.jsxs)("li",{className:"border-t border-light-grey-1 mt-32px",children:[(null==A?void 0:A.isB2B)&&(0,o.jsxs)("a",{className:"flex items-center gap-2",href:"mailto:".concat(null==k?void 0:null===(n=k.base)||void 0===n?void 0:null===(t=n.b2b)||void 0===t?void 0:t.supportEmail),target:"_blank",rel:"noreferrer",children:[b("account|Contact Support"),(0,o.jsx)(v.Z,{size:22})]}),(0,o.jsxs)(r.z,{...y,onClick:S,className:"logout-btn","aria-label":b("account|Sign Out"),children:[(0,o.jsx)(c.Z,{size:22}),b("account|Sign Out")]})]})]})]})};var x=n(70285),w=e=>{let{children:t,showSidebar:n=!0}=e,c=(0,f.useRef)(null),r=e=>{let t=document.querySelector(".logout-btn");if("Tab"===e.key&&!e.shiftKey&&document.activeElement===t){e.preventDefault();let n=Array.from(document.querySelectorAll('a[href], button, textarea, input, select, [tabindex]:not([tabindex="-1"])')).filter(e=>{var t;return!(null===(t=c.current)||void 0===t?void 0:t.contains(e))}),o=n.indexOf(t)+1;o<n.length&&n[o].focus()}};return(0,f.useEffect)(()=>{var e;let t=null===(e=c.current)||void 0===e?void 0:e.querySelectorAll("button.btn, a.btn");null==t||t.forEach(e=>{let t=e.innerHTML;e.setAttribute("aria-label",t)})},[c.current]),(0,f.useEffect)(()=>(document.addEventListener("keydown",r),()=>{document.removeEventListener("keydown",r)}),[]),(0,o.jsx)(x.W,{children:(0,o.jsxs)("div",{className:m()["account-grid-container"],children:[n&&(0,o.jsx)(A,{onContentFocus:()=>{if(c.current){let e=document.querySelector(".sidebar-content-header");null==e||e.focus()}}}),(0,o.jsx)("div",{className:m()["account-container"],ref:c,role:"presentation",onKeyDown:e=>{var t,n;let o=Array.from((null===(t=c.current)||void 0===t?void 0:t.querySelectorAll('a[href]:not(.md\\:hidden a):not(dialog a):not(.gigya-container a):not(.gigya-visible-when a), button:not(.md\\:hidden button):not(dialog button):not(.gigya-container button):not(.gigya-visible-when button), textarea:not(.md\\:hidden textarea):not(dialog textarea):not(.gigya-container textarea):not(.gigya-visible-when textarea), input:not(.md\\:hidden input):not(dialog input):not(.gigya-container input):not(.gigya-visible-when input), select:not(.md\\:hidden select):not(dialog select):not(.gigya-container select):not(.gigya-visible-when select), [tabindex]:not
1([tabindex="-1"]):not(.md\\:hidden [tabindex]):not(dialog [tabindex]):not(.gigya-container [tabindex]):not(.gigya-visible-when [tabindex])'))||[]),r=document.querySelector(".current-active-sidebar > a"),a=document.querySelector(".sidebar-content-header");if("Escape"===e.key&&(null==r||r.focus()),0===o.length){"Tab"!==e.key||e.shiftKey||(e.preventDefault(),null==r||r.focus());return}let i=o[0],u=o[o.length-1];if("Tab"===e.key){if(!(null===(n=c.current)||void 0===n?void 0:n.contains(document.activeElement)))return;e.shiftKey&&document.activeElement===i||e.shiftKey&&document.activeElement===a?(e.preventDefault(),null==r||r.focus()):e.shiftKey||document.activeElement!==u||(e.preventDefault(),null==r||r.focus())}},children:t})]})})}},44795:function(e,t,n){"use strict";n.d(t,{m:function(){return i}});var o=n(85893),c=n(79841),r=n(41664),a=n.n(r);let i=()=>{let{t:e}=(0,c.$G)(["common"]);return(0,o.jsxs)("div",{className:"page-error-container",children:[(0,o.jsx)("h2",{children:e("Something went wrong!")}),(0,o.jsxs)("p",{children:[e("Please")," ",(0,o.jsx)(a(),{href:"/","aria-label":"".concat(e("to continue shopping.")," - ").concat(e("ada|Opens in a new Tab")),legacyBehavior:!0,children:e("return to our homepage")})," ",e("to continue shopping.")]})]})}},57669:function(e,t,n){"use strict";n.d(t,{D:function(){return c}});var o=n(11163);let c=e=>{var t,n;let{locale:c="en"}=(0,o.useRouter)(),r=null==c?void 0:null===(t=c.split("-"))||void 0===t?void 0:t[0],a=e?JSON.parse(e):{en:""};return null!==(n=null==a?void 0:a[r])&&void 0!==n?n:""}},39144:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSG:function(){return p},default:function(){return h}});var o=n(85893),c=n(13923),r=n(30681),a=n(10941),i=n(12921),u=n.n(i),l=n(93967),s=n.n(l),d=n(64225),_=n.n(d),m=n(59249),b=n.n(m),p=!0;function h(e){let{view:t}=e;return(0,o.jsx)(c.Z,{children:(0,o.jsx)("div",{className:s()(u()["myaccount-content"],_().root,b().root),children:(0,o.jsx)(r.R,{view:t,project:"ELGATO"})})})}h.Protected=!0,h.Layout=a.Z},64225:function(e){e.exports={root:"Forms_root__Hf7TP"}},59249:function(e){e.exports={root:"Table_root__KQNLc","order-items-body-table":"Table_order-items-body-table__JgBR2",content:"Table_content__8GM6t"}},12921:function(e){e.exports={"account-container":"Account_account-container__gvSpd","account-block":"Account_account-block__2rvN9","account-block-grid":"Account_account-block-grid__Wkmbh","account-grid-container":"Account_account-grid-container__Q0biw","account-grid":"Account_account-grid__bJNGJ","account-page":"Account_account-page__wpCkf","myaccount-content":"Account_myaccount-content__r6Z5z","myaccount-sidebar":"Account_myaccount-sidebar__HNmOf","myaccount-sidebar-h5":"Account_myaccount-sidebar-h5__7x9j4","sidebar-list":"Account_sidebar-list___sOhk",activeSidebarLink:"Account_activeSidebarLink__QWjSE","sidebar-title":"Account_sidebar-title__0RWKE","address-list":"Account_address-list__pgOH1","address-list__table":"Account_address-list__table__Y9Tqf","address-button":"Account_address-button__8NslP","address-list__actions":"Account_address-list__actions___l4wT",dialog:"Account_dialog__TR5i5","address-row":"Account_address-row__xv4m4",address:"Account_address__XW2h7","remove-button":"Account_remove-button__4qdqU","order-list-card-mobile":"Account_order-list-card-mobile__Xve8E","order-items":"Account_order-items__4qDiZ","order-list-table":"Account_order-list-table__aWlYD","order-items-body-table":"Account_order-items-body-table___TJnE","price-totals":"Account_price-totals__30jyQ","order-details-contianer":"Account_order-details-contianer__7EQQ_","order-date":"Account_order-date__7wjEz","order-number-title":"Account_order-number-title__e92CZ",divider:"Account_divider__Q5ZSL","order-number":"Account_order-number__iAMuh","billing-info-header":"Account_billing-info-header__tRb53","address-label":"Account_address-label___TZoF","order-block-grid":"Account_order-block-grid__KioJr","orderd-items-container":"Account_orderd-items-container__qutOO","orderitem-bunde-list":"Account_orderitem-bunde-list__Y38Pp","order-list-table-header":"Account_order-list-table-header__ZlKJm",cimg:"Account_cimg__osyVc","order-data-tab":"Account_order-data-tab__YBN_d","item-totals":"Account_item-totals__zR8oQ","order-items-body-collumn":"Account_order-items-body-collumn__27ifD","ordercancel-item-collumn":"Account_ordercancel-item-collumn__5GVA8","product-item-wrapper":"Account_product-item-wrapper__Xu3VR","product-name-wrapper":"Account_product-name-wrapper__oIPgD","product-info-wrapper":"Account_product-info-wrapper__0jHAT","item-status-custom":"Account_item-status-custom___4VL1","item-cancelqty-custom":"Account_item-cancelqty-custom__L2MsN","item-reason-custom":"Account_item-reason-custom__7nndm","title-block-common":"Account_title-block-common__3BedK","ordercancel-confirm-item-collumn":"Account_ordercancel-confirm-item-collumn__CF_d9","msg-promo-campaign":"Account_msg-promo-campaign__R1cbN","msg-promo-campaign__txt":"Account_msg-promo-campaign__txt__7b9lW","btn-b2b-cancel":"Account_btn-b2b-cancel__bGzIh","order-list-mobile":"Account_order-list-mobile__xQBvG","txt-b2b-message":"Account_txt-b2b-message___IE67"}}},function(e){e.O(0,[9709,7160,9350,7729,557,6893,2888,9774,179],function(){return e(e.s=93248)}),_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.