PageSourceSearch

https://houseofgamers.com.br/_next/static/chunks/pages/my-account/member-get-member-a8ccbed48afc3c98.js

js houseofgamers.com.br collected 2026-10-04 22:31:39 UTC 21,150 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9687],{94184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function s(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var o=s.apply(null,n);o&&e.push(o)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var i in n)r.call(n,i)&&n[i]&&e.push(i)}}}return e.join(" ")}e.exports?(s.default=s,e.exports=s):void 0===(n=function(){return s}.apply(t,[]))||(e.exports=n)}()},54111:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/my-account/member-get-member",function(){return n(22101)}])},22101:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return R}});var r=n(47568),s=n(97582),a=n(85893),o=n(67294),i=n(13488),l=n(86010),c=n(25675),u=n.n(c),d={src:"/_next/static/media/mgm_background_desktop.2509dc9b.png",height:502,width:471,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAMAAADz0U65AAAAhFBMVEWFSZaIgpUXGSnEK4gzFCE7M19bR2FiJyf0UsYMBw3lO7IvGTdLJ0s8JEaKp8EyGSYsHjgjER5KUHM6Iji6PJg3KEbRNZtLO2ljOGyhLHr6dNJ7H2/lU7mSInAOBgwxFCBRPllBOVhZQ3b/V9FDWpOlUZ9kcMC/Zr7WUrWRSJJXZIWDLHWnYzUCAAAAFnRSTlP9KWP75P70Bv7M/cyohkb//////
1//+O7vO0QAAAAlwSFlzAAALEwAACxMBAJqcGAAAAElJREFUeJwFwQUCgCAABLAzsQGlFbv9///cIFTf++IrIbbhzjJbwSrnhsjXMDiuByZEq9dTJ2+DmcmdsTTA1C2t7GKCkVNKeU5+x54FK9WnA3UAAAAASUVORK5CYII=",blurWidth:8,blurHeight:8},m=n(58030),f=function(){return(0,a.jsxs)("section",{className:"flex w-full flex-col items-start justify-start gap-4 border-[1px] border-hog-200 p-4 text-xs max-lg:bg-black/[48%] md:text-sm lg:p-[0.875rem] lg:text-xs lg:font-semibold",children:[(0,a.jsx)("p",{className:"text-xs font-medium md:text-base md:font-semibold lg:text-sm lg:font-medium",children:"Recompensas:"}),(0,a.jsxs)("div",{className:"flex w-full items-start justify-start gap-1",children:[(0,a.jsx)("span",{className:"pt-1.5",children:(0,a.jsx)(m.XN,{className:"h-[0.375rem] w-[0.5rem] fill-none text-hog-500"})}),(0,a.jsxs)("p",{children:["Uma transfer\xeancia gratuita de at\xe9",(0,a.jsx)("span",{className:"font-bold text-hog-500",children:" R$ 30,00 "}),"quando eles se inscreverem com seu link."]})]}),(0,a.jsxs)("div",{className:"flex w-full items-start justify-start gap-1",children:[(0,a.jsx)("span",{className:"pt-1.5",children:(0,a.jsx)(m.XN,{className:"h-[0.375rem] w-[0.5rem] fill-none text-hog-500"})}),(0,a.jsxs)("p",{children:[(0,a.jsx)("span",{className:"font-bold text-hog-500",children:"R$ 80,00 "}),"quando 3 amigos enviarem mais de R$ 800,00 de uma s\xf3 vez."]})]}),(0,a.jsx)("p",{className:"-mt-2 w-full font-normal",children:"OBS.: transa\xe7\xf5es na mesma moeda n\xe3o se aplicam."})]})},h=(0,o.memo)(f),p=n(46616),g=n(16573),x=n(12834),w={backgroundImage:"url(/images/svg/button_active.svg)",backgroundSize:"100% 100%",backgroundPosition:"0% 50%",backgroundRepeat:"no-repeat",transitionDuration:"0.5s",transitionTimingFunction:"ease-out"},b={backgroundImage:"url(/images/svg/button_hover.svg)",backgroundSize:"100% 100%",backgroundPosition:"0% 50%",backgroundRepeat:"no-repeat",transitionDuration:"0.5s",transitiongFunction:"ease-out"},v=function(e){var t=e.mgmLoyaltyLink,n=e.onClickCopyLink,r=e.isCopied,s=(0,o.useState)(!1),i=s[0],l=s[1];return(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-[2.125rem] lg:flex-row lg:justify-start lg:gap-8",children:[(0,a.jsx)("button",{style:i?b:w,onMouseEnter:function(){return l(!0)},onMouseLeave:function(){return l(!1)},type:"button",onClick:n,disabled:Boolean(!t),className:"flex h-12 w-full max-w-[22.75rem] cursor-pointer items-center justify-center gap-2 whitespace-nowrap text-base font-semibold uppercase leading-tight outline-0 lg:h-10 lg:max-w-[21rem] lg:text-sm lg:font-bold",children:r?"link copiado!":"copiar link"}),Boolean(t)&&(0,a.jsxs)("div",{className:"flex items-center justify-center gap-4 sm:gap-12 lg:gap-4",children:[(0,a.jsx)(p.Z,{url:t,children:(0,a.jsx)(m.eS,{className:"h-[1.625rem] w-[1.625rem] fill-none text-hog-500"})}),(0,a.jsx)(g.Z,{url:t,children:(0,a.jsx)(m.HW,{className:"h-[1.6875rem] w-[1.6875rem] fill-none text-hog-500"})}),(0,a.jsx)(x.Z,{url:t,children:(0,a.jsx)(m.xS,{className:"h-[1.6875rem] w-[1.6875rem] fill-none text-hog-500"})})]})]})},y=(0,o.memo)(v),j=function(e){var t,n=e.shareOptions;return(0,a.jsxs)("section",{className:"flex w-full flex-col items-start sm:items-center lg:items-start lg:bg-hog-800/[88%] lg:px-6 lg:py-6 xl:py-8",children:[(0,a.jsxs)("div",{className:"mb-4 flex w-full items-center justify-start gap-2 sm:mb-6 sm:justify-center lg:hidden",children:[(0,a.jsx)("div",{className:"h-1 w-1 rotate-45 bg-hog-500"}),(0,a.jsx)("p",{className:"text-base font-bold uppercase text-hog-500 sm:text-2xl sm:font-bold",children:"Compartilhe"})]}),(0,a.jsx)("p",{className:"mb-4 w-full text-sm font-medium uppercase sm:mb-6 sm:text-center sm:text-lg sm:font-semibold lg:hidden",children:"Receba pr\xeamios exclusivos"}),(0,a.jsxs)("p",{className:"mb-3 hidden w-full text-base font-medium uppercase lg:block",children:["Receba ",(0,a.jsx)("span",{className:"font-semibold",children:"pr\xeamios exclusivos"})]}),(0,a.jsx)("p",{className:"w-full text-left text-xs sm:w-[75%] sm:text-center sm:text-base lg:w-full lg:text-left lg:text-sm",children:"Compartilhe o link abaixo com os amigos e ganhe recompensas na primeira compra que c
1ada um deles fizer!"}),(0,a.jsxs)("div",{className:"mt-0.5 flex w-full items-center justify-start sm:mt-6 sm:justify-center lg:mt-2 lg:justify-start",children:[(0,a.jsx)("p",{className:"w-fit pr-1 text-xs sm:text-sm",children:"Use nossas hashtags:"}),(t=["Lealdade","Teamhog"],(0,a.jsx)("div",{className:"flex w-fit items-center justify-start gap-2 text-xs font-bold text-hog-500 underline underline-offset-2 sm:text-sm lg:text-xs",children:null===t||void 0===t?void 0:t.map((function(e){return(0,a.jsx)("p",{children:"#"+e},e)}))}))]}),(0,a.jsx)("div",{className:"my-10 w-full sm:my-12 lg:my-5",children:(0,a.jsx)(y,{mgmLoyaltyLink:Boolean(null===n||void 0===n?void 0:n.mgmLoyaltyLink)&&(null===n||void 0===n?void 0:n.mgmLoyaltyLink),onClickCopyLink:null===n||void 0===n?void 0:n.onClickCopyLink,isCopied:null===n||void 0===n?void 0:n.isCopied})}),(0,a.jsx)(h,{})]})},k=(0,o.memo)(j),C=function(){return(0,a.jsx)("section",{className:"w-full bg-hog-800/[88%]",children:(0,a.jsxs)("section",{className:"flex w-full animate-pulse flex-col items-start sm:items-center lg:items-start lg:bg-hog-800/[88%] lg:px-6 lg:py-6 xl:py-8",children:[(0,a.jsx)("div",{className:"mb-4 flex w-full items-center justify-start gap-2 sm:mb-6 sm:justify-center lg:hidden",children:(0,a.jsx)("div",{className:"h-5 w-48 bg-[#0D0D0D] dark:bg-[#1C1C1C] sm:h-6"})}),(0,a.jsx)("div",{className:"mb-4 h-5 w-[70%] bg-[#0D0D0D] dark:bg-[#1C1C1C] sm:mb-6 sm:text-center lg:mb-3"}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-start sm:w-[75%] sm:items-center lg:w-full lg:items-start",children:[(0,a.jsx)("div",{className:"mb-1 h-5 w-[95%] bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsx)("div",{className:"h-5 w-[80%] bg-[#0D0D0D] dark:bg-[#1C1C1C]"})]}),(0,a.jsx)("div",{className:"mt-0.5 flex h-5 w-[70%] items-center justify-start bg-[#0D0D0D] dark:bg-[#1C1C1C] sm:mt-6 sm:justify-center lg:mt-2 lg:justify-start"}),(0,a.jsx)("div",{className:"my-10 w-full sm:my-12 lg:my-5",children:(0,a.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-[2.125rem] lg:flex-row lg:justify-start lg:gap-8",children:[(0,a.jsx)("div",{className:"hidden h-[40px] w-full max-w-[336px] bg-[#0D0D0D] dark:bg-[#1C1C1C] lg:block"}),(0,a.jsx)("div",{className:"h-[48px] w-full max-w-[364px] bg-[#0D0D0D] dark:bg-[#1C1C1C] lg:hidden"}),(0,a.jsxs)("div",{className:"flex items-center justify-center gap-4 sm:gap-12 lg:gap-4",children:[(0,a.jsx)("div",{className:"h-6 w-6 bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsx)("div",{className:"h-6 w-6 bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsx)("div",{className:"h-6 w-6 bg-[#0D0D0D] dark:bg-[#1C1C1C]"})]})]})}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-start justify-start gap-4 border-[1px] border-hog-200 p-4 lg:p-[0.875rem]",children:[(0,a.jsx)("div",{className:"h-5 w-[60%] bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-start justify-start gap-1",children:[(0,a.jsx)("div",{className:"h-5 w-full bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsx)("div",{className:"h-5 w-full bg-[#0D0D0D] dark:bg-[#1C1C1C]"})]}),(0,a.jsxs)("div",{className:"flex w-full flex-col items-start justify-start gap-1",children:[(0,a.jsx)("div",{className:"h-5 w-full bg-[#0D0D0D] dark:bg-[#1C1C1C]"}),(0,a.jsx)("div",{className:"h-5 w-full bg-[#0D0D0D] dark:bg-[#1C1C1C]"})]}),(0,a.jsx)("div",{className:"-mt-2 h-5 w-full bg-[#0D0D0D] dark:bg-[#1C1C1C]"})]})]})})},N=(0,o.memo)(C),D=function(e){var t=e.isLoading,n=e.referralToken,r=(0,i.Z)().height,s=(0,o.useState)(null),c=s[0],m=s[1],f=(0,o.useState)(!1),h=f[0],p=f[1];return(0,o.useEffect)((function(){n&&m("".concat("https://houseofgamers.com.br","?mgm=").concat(n))}),[n]),(0,a.jsxs)("div",{className:"h-full w-full",children:[(0,a.jsx)("h1",{className:(0,l.Z)("mb-5 hidden text-base font-medium uppercase full-hd:mb-10",{"full-hd:block":r>=800}),children:"Compartilhe e ganhe"}),(0,a.jsxs)("section",{className:(0,l.Z)("relative mx-auto flex w-full items-center justify-center lg:mx-0 lg:justify-start",{"mt-12 md:mt-[8.75rem] lg:mt-0":r>780}),children:[(0,a.jsx)("div",{className:"z-10 w-full sm:max-w-[38.75rem] lg:absolute lg:right-0 lg:top-1/2 lg:-translate-y-[50%]",children:t?(0,a.jsx)(N,{}):(0,a.jsx)(k,{shareOptions:{onClickCopyLink:function(){return e=c,void navigator.clipboard.writeText(e).then((function(){p(!0),setTimeout((function(){p(!1)}),2e3)}));var e},mgmLoyaltyLink:c,isCopied:h}})}),(0,a.jsx)("div",{className:"relative hidden max-h-[25.9375rem] w-full overflow-hidden lg:block xxl1:max-h-[31.25rem]",children:(0,a.jsx)(u(),{src:d,alt:"background",placeholder:"blur",width:470,height:540})})]})]})},A=(0,o.memo)(D),O=n(7774),S=n(41938),_=n(59437),Z=n(2319),L=n(10553),E=n(66934),P=n.n(E),R=function(){var e=(0,Z.Wu)().setExtraLoadsPercent,t=(0,S.IR)().openDetails,i=(0,o.useState)(null),c=i[0],u=i[1],d=(0,o.useState)(!1),m=d[0],f=d[1],h=function(){var t=(0,r.Z)((function(){var t,r,a,o,i;return(0,s.__generator)(this,(function(s){switch(s.label){case 0:r=null===(t=JSON.parse(localStorage.getItem("customerProfile")))||void 0===t?void 0:t.email,s.label=1;case 1:return s.trys.push([1,3,,5]),f(!0),[4,(0,_.X)()];case 2:return(null===(a=s.sent())||void 0===a?void 0:a.referralToken)&&(u(a.referralToken),f(!1),e(40)),[3,5];case 3:return(null===(o=s.sent())||void 0===o?void 0:o.status)>=500&&(null===L.n||void 0===L.n||L.n.track("error-generic",{code:null===o||void 0===o?void 0:o.status,endpoint:"/member?email=".concat(r),message:null===o||void 0===o||null===(i=o.data)||void 0===i?void 0:i.message})),f(!1),e(40),[4,Promise.all([n.e(1338),n.e(6007)]).then(n.bind(n,63657))];case 4:return s.sent().default.error("Ocorreu um erro inesperado. Confira os dados ou tente novamente mais tarde."),[3,5];case 5:return[2]}}
1))}));return function(){return t.apply(this,arguments)}}();return(0,o.useEffect)((function(){h()}),[]),(0,a.jsxs)("div",{className:"relative h-screen w-full",children:[(0,a.jsx)(O.Z,{children:(0,a.jsx)("div",{className:(0,l.Z)(P().scrollbar,"mx-auto max-h-[calc(100vh-208px)] w-full overflow-y-auto md:max-h-[calc(100vh-224px)] lg:max-h-[calc(100vh-200px)] xxl1:max-h-[calc(100vh-220px)]"),children:(0,a.jsx)(A,{isLoading:m,referralToken:c})})}),(0,a.jsxs)("section",{className:(0,l.Z)("absolute bottom-5 left-0 z-[5] flex max-h-[60%] w-full justify-center overflow-hidden transition-opacity duration-700 ease-in-out sm:bottom-[6.75rem] lg:hidden",{"opacity-0":!t,"opacity-100":t}),children:[(0,a.jsx)("img",{src:"/images/general/mgm_background_tablet.png",alt:"background",placeholder:"blur",className:"mx-auto hidden w-full object-cover min-[540px]:block"}),(0,a.jsx)("img",{src:"/images/general/mgm_background_mobile.png",alt:"background",placeholder:"blur",className:"mx-auto w-full min-[540px]:hidden"}),(0,a.jsx)("div",{className:"absolute top-0 h-full w-full bg-black/[80%]"})]})]})}},59437:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=n(47568),s=n(97582),a=n(9669),o=n.n(a),i=function(){var e=(0,r.Z)((function(){var e,t,n;return(0,s.__generator)(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),[4,o().get("/api/openLoyalty/getMemberWallet",{headers:{"Customer-Access-Token":localStorage.getItem("customerAccessToken")}})];case 1:return[2,{referralToken:(t=r.sent().data).items[0].referralToken,data:null===(e=null===t||void 0===t?void 0:t.items[0])||void 0===e?void 0:e.account}];case 2:throw null===(n=r.sent())||void 0===n?void 0:n.response;case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}()},66934:function(e){e.exports={scrollbar:"style_scrollbar__BaHsY"}},16573:function(e,t,n){"use strict";var r=n(25456),s=n(86459);var a=(0,n(79075).Z)("facebook",(function(e,t){var n=t.quote,a=t.hashtag;return(0,r.Z)(e,"facebook.url"),"https://www.facebook.com/sharer/sharer.php"+(0,s.Z)({u:e,quote:n,hashtag:a})}),(function(e){return{quote:e.quote,hashtag:e.hashtag}}),{windowWidth:550,windowHeight:400});t.Z=a},46616:function(e,t,n){"use strict";var r=n(25456),s=n(86459);var a=(0,n(79075).Z)("twitter",(function(e,t){var n=t.title,a=t.via,o=t.hashtags,i=void 0===o?[]:o,l=t.related,c=void 0===l?[]:l;return(0,r.Z)(e,"twitter.url"),(0,r.Z)(Array.isArray(i),"twitter.hashtags is not an array"),(0,r.Z)(Array.isArray(c),"twitter.related is not an array"),"https://twitter.com/share"+(0,s.Z)({url:e,text:n,via:a,hashtags:i.length>0?i.join(","):void 0,related:c.length>0?c.join(","):void 0})}),(function(e){return{hashtags:e.hashtags,title:e.title,via:e.via,related:e.related}}),{windowWidth:550,windowHeight:400});t.Z=a},12834:function(e,t,n){"use strict";var r=n(25456),s=n(86459);var a=(0,n(79075).Z)("whatsapp",(function(e,t){var n=t.title,a=t.separator;return(0,r.Z)(e,"whatsapp.url"),"https://"+(/(android|iphone|ipad|mobile)/i.test(navigator.userAgent)?"api":"web")+".whatsapp.com/send"+(0,s.Z)({text:n?n+a+e:e})}),(function(e){return{title:e.title,separator:e.separator||" "}}),{windowWidth:550,windowHeight:400});t.Z=a},79075:function(e,t,n){"use strict";n.d(t,{Z:function(){return w}});var r=n(67294),s=n(94184),a=n.n(s),o=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},i.apply(this,arguments)},l=function(e,t,n,r){return new(n||(n=Promise))((function(s,a){function o(e){try{l(r.next(e))}catch(t){a(t)}}function i(e){try{l(r.throw(e))}catch(t){a(t)}}function l(e){var t;e.done?s(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,i)}l((r=r.apply(e,t||[])).next())}))},c=function(e,t){var n,r,s,a,o={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]};return a={next:i(0),throw:i(1),return:i(2)},"function"===typeof Symbol&&(a[Symbol.iterator]=function(){return this}),a;function i(a){return function(i){return function(a){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(s=2&a[0]?r.return:a[0]?r.throw||((s=r.return)&&s.call(r),0):r.next)&&!(s=s.call(r,a[1])).done)return s;switch(r=0,s&&(a=[2&a[0],s.value]),a[0]){case 0:case 1:s=a;break;case 4:return o.label++,{value:a[1],done:!1};case 5:o.label++,r=a[1],a=[0];continue;case 7:a=o.ops.pop(),o.trys.pop();continue;default:if(!(s=(s=o.trys).length>0&&s[s.length-1])&&(6===a[0]||2===a[0])){o=0;continue}if(3===a[0]&&(!s||a[1]>s[0]&&a[1]<s[3])){o.label=a[1];break}if(6===a[0]&&o.label<s[1]){o.label=s[1],s=a;break}if(s&&o.label<s[2]){o.label=s[2],o.ops.push(a);break}s[2]&&o.ops.pop(),o.trys.pop();continue}a=t.call(e,o)}catch(i){a=[6,i],r=0}finally{n=s=0}if(5&a[0])throw a[1];return{value:a[0]?a[1]:void 0,done:!0}}([a,i])}}},u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var s=0;for(r=Object.getOwnPropertySymbols(e);s<r.length;s++)t.indexOf(r[s])<0&&Object.prototype.propertyIsEnumerable.call(e,r[s])&&(n[r[s]]=e[r[s]])}return n},d=function(e){return!!e&&("object"===typeof e||"function"===typeof e)&&"function"===typeof e.then},m=function(e,t){return{left:window.outerWidth/2+(window.screenX||window.screenLeft||0)-e/2,top:window.outerHeight/2+(window.screenY||window.screenTop||0)-t/2}},f=function(e,t){return{top:(window.screen.height-t)/2,left:(window.screen.width-e)/2}};function h(e,t,n){var r=t.height,s=t.width,a=u(t,["height","width"]),o=i({height:r,width:s,location:"no",toolbar:"no",status:"no",directories:"no",menubar:"no",scrollbars:"yes",resizable:"no",centerscreen:"yes",chrome:"yes"},a),l=window.open(e,"",Object.keys(o).map((function(e){return"".concat(e,"=").concat(o[e])})).join(", "));if(n)var c=window.setInterval((function(){try{(null===l||l.closed)&&(window.clearInterval(c),n(l))}catch(e){console.error(e)}}),1e3);return l}var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.openShareDialog=function(e){var n=t.props,r=n.onShareWindowClose,s=n.windowHeight,a=void 0===s?400:s,o=n.windowPosition,l=void 0===o?"windowCenter":o,c=n.windowWidth,u=void 0===c?550:c;h(e,i({height:a,width:u},"windowCenter"===l?m(u,a):f(u,a)),r)},t.handleClick=function(e){return l(t,void 0,void 0,(function(){var t,n,r,s,a,o,i,l,u,m;return c(this,(function(c){switch(c.label){case 0:return t=this.props,n=t.beforeOnClick,r=t.disabled,s=t.networkLink,a=t.onClick,o=t.url,i=t.openShareDialogOnClick,l=t.opts,u=s(o,l),r?[2]:(e.preventDefault(),n?(m=n(),d(m)?[4,m]:[3,2]):[3,2]);case 1:c.sent(),c.label=2;case 2:return i&&this.openShareDialog(u),a&&a(e,u),[2]}}))}))},t}return o(t,e),t.prototype.render=function(){var e=this.props,t=(e.beforeOnClick,e.children),n=e.className,s=e.disabled,o=e.disabledStyle,l=e.forwardedRef,c=(e.networkLink,e.networkName),d=(e.onShareWindowClose,e.openShareDialogOnClick,e.opts,e.resetButtonStyle),m=e.style,f=(e.url,e.windowHeight,e.windowPosition,e.windowWidth,u(e,["beforeOnClick","children","className","disabled","disabledStyle","forwardedRef","networkLink","networkName","onShareWindowClose","openShareDialogOnClick","opts","resetButtonStyle","style","url","windowHeight","windowPosition","windowWidth"])),h=a()("react-share__ShareButton",{"react-share__ShareButton--disabled":!!s,disabled:!!s},n),p=i(i(d?{backgroundColor:"transparent",border:"none",padding:0,font:"inherit",color:"inherit",curs
1or:"pointer"}:{},m),s&&o);return r.createElement("button",i({},f,{"aria-label":f["aria-label"]||c,className:h,onClick:this.handleClick,ref:l,style:p}),t)},t.defaultProps={disabledStyle:{opacity:.6},openShareDialogOnClick:!0,resetButtonStyle:!0},t}(r.Component),g=p,x=function(){return x=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var s in t=arguments[n])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e},x.apply(this,arguments)};var w=function(e,t,n,s){function a(a,o){var i=n(a),l=x({},a);return Object.keys(i).forEach((function(e){delete l[e]})),r.createElement(g,x({},s,l,{forwardedRef:o,networkName:e,networkLink:t,opts:n(a)}))}return a.displayName="ShareButton-".concat(e),(0,r.forwardRef)(a)}},25456:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=function(){var e=function(t,n){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},e(t,n)};return function(t,n){if("function"!==typeof n&&null!==n)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");function r(){this.constructor=t}e(t,n),t.prototype=null===n?Object.create(n):(r.prototype=n.prototype,new r)}}(),s=function(e){function t(t){var n=e.call(this,t)||this;return n.name="AssertionError",n}return r(t,e),t}(Error);function a(e,t){if(!e)throw new s(t)}},86459:function(e,t,n){"use strict";function r(e){var t=Object.entries(e).filter((function(e){var t=e[1];return void 0!==t&&null!==t})).map((function(e){var t=e[0],n=e[1];return"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(n)))}));return t.length>0?"?".concat(t.join("&")):""}n.d(t,{Z:function(){return r}})}},function(e){e.O(0,[9464,3609,7774,9774,2888,179],(function(){return t=54111,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.