PageSourceSearch

https://www.mythology.com/_next/static/wFNvWDrAqvhHlb27dqG2S/pages/_app.js

js mythology.com collected 2026-09-27 21:41:02 UTC 8,804 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([["f496"],{"8Bbg":function(t,e,n){t.exports=n("B5Ud")},B5Ud:function(t,e,n){"use strict";var r=n("KI45"),o=r(n("eVuF")),a=r(n("UXZV")),u=r(n("/HRN")),c=r(n("WaGi")),i=r(n("ZDA2")),s=r(n("/+P4")),l=r(n("N9n2")),f=function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e},d=function(t){return t&&t.__esModule?t:{default:t}};Object.defineProperty(e,"__esModule",{value:!0});var p=f(n("q1tI")),h=d(n("17x9")),v=n("Bu4q"),m=n("nOHt"),y=function(t){function e(){return(0,u.default)(this,e),(0,i.default)(this,(0,s.default)(e).apply(this,arguments))}return(0,l.default)(e,t),(0,c.default)(e,[{key:"getChildContext",value:function(){return{router:m.makePublicRouterInstance(this.props.router)}}},{key:"componentDidCatch",value:function(t){throw t}},{key:"render",value:function(){var t=this.props,e=t.router,n=t.Component,r=t.pageProps,o=S(e);return p.default.createElement(g,null,p.default.createElement(n,(0,a.default)({},r,{url:o})))}}],[{key:"getInitialProps",value:function(t){var e=t.Component,n=(t.router,t.ctx);try{return o.default.resolve(v.loadGetInitialProps(e,n)).then(function(t){return{pageProps:t}})}catch(r){return o.default.reject(r)}}}]),e}(p.Component);y.childContextTypes={router:h.default.object},e.default=y;var g=function(t){function e(){return(0,u.default)(this,e),(0,i.default)(this,(0,s.default)(e).apply(this,arguments))}return(0,l.default)(e,t),(0,c.default)(e,[{key:"componentDidMount",value:function(){this.scrollToHash()}},{key:"componentDidUpdate",value:function(){this.scrollToHash()}},{key:"scrollToHash",value:function(){var t=window.location.hash;if(t=!!t&&t.substring(1)){var e=document.getElementById(t);e&&setTimeout(function(){return e.scrollIntoView()},0)}}},{key:"render",value:function(){return this.props.children}}]),e}(p.Component);e.Container=g;var _=v.execOnce(function(){0});function S(t){var e=t.pathname,n=t.asPath,r=t.query;return{get query(){return _(),r},get pathname(){return _(),e},get asPath(){return _(),n},back:function(){_(),t.back()},push:function(e,n){return _(),t.push(e,n)},pushTo:function(e,n){_();var r=n?e:null,o=n||e;return t.push(r,o)},replace:function(e,n){return _(),t.replace(e,n)},replaceTo:function(e,n){_();var r=n?e:null,o=n||e;return t.replace(r,o)}}}e.createUrl=S},J5xr:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){var t=n("YNMu");return{page:t.default||t}}])},YNMu:function(t,e,n){"use strict";var r=n("KI45"),o=n("Jo+v"),a=n("G4HQ"),u=n("TRZx"),c=n("Bhuq"),i=n("SqZg"),s=n("Z7t5"),l=n("hfKm"),f=n("pbKT");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var d=r(n("eVuF")),p=r(n("8+Nu")),h=r(n("+oT+")),v=r(n("htGi")),m=r(n("/HRN")),y=r(n("WaGi")),g=r(n("ZDA2")),_=r(n("/+P4")),S=r(n("N9n2")),b=r(n("xHqa")),w=r(n("q1tI")),C=function(t,e){if("function"==typeof a)var n=new a,r=new a;return function(t,e){if(!e&&t&&t.__esModule)return t;var a,u,c={__proto__:null,default:t};if(null===t||"object"!=typeof t&&"function"!=typeof t)return c;if(a=e?r:n){if(a.has(t))return a.get(t);a.set(t,c)}for(var i in t)"default"!==i&&{}.hasOwnProperty.call(t,i)&&((u=(a=l)&&o(t,i))&&(u.get||u.set)?a(c,i,u):c[i]=t[i]);return c}(t,e)}(n("8Bbg")),F=n("VjyN"),E=n("z/o8"),T=n("8cHP"),P=n("sE/c");function I(){var t,e,n="function"==typeof s?s:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function a(n,r,o,a){var u=r&&r.prototype instanceof f?r:f,c=i(u.prototype);return k(c,"_invoke",function(n,r,o){var a,u,c,i=0,s=o||[],f=!1,d={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return a=e,u=0,c=t,d.n=n,l}};function p(n,r){for(u=n,c=r,e=0;!f&&i&&!o&&e<s.length;e++){var o,a=s[e],p=d.p,h=a[2];n>3?(o=h===r)&&(c=a[(u=a[4])?5:(u=3,3)],a[4]=a[5]=t):a[0]<=p&&((o=n<2&&p<a[1])?(u=0,d.v=r,d.n=a[1]):p<h&&(o=n<3||a[0]>r||r>h)&&(a[4]=n,a[5]=r,d.n=h,u=0))}if(o||n>1)return l;throw f=!0,r}return function(o,s,h){if(i>1)throw TypeError("Generator is already running");for(f&&1===s&&p(s,h),u=s,c=h;(e=u<2?t:c)||!f;){a||(u?u<3?(u>1&&(d.n=-1),p(u,c)):d.n=c:d.v=c);try{if(i=2,a){if(u||(o="next"),e=a[o]){if(!(e=e.call(a,c)))throw TypeError("iterator result is not an object");
1if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=a.return)&&e.call(a),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);a=t}else if((e=(f=d.n<0)?c:n.call(r,d))!==l)break}catch(e){a=t,u=1,c=e}finally{i=1}}return{value:e,done:f}}}(n,o,a),!0),c}var l={};function f(){}function d(){}function p(){}e=c;var h=[][r]?e(e([][r]())):(k(e={},r,function(){return this}),e),v=p.prototype=f.prototype=i(h);function m(t){return u?u(t,p):(t.__proto__=p,k(t,o,"GeneratorFunction")),t.prototype=i(v),t}return d.prototype=p,k(v,"constructor",p),k(p,"constructor",d),d.displayName="GeneratorFunction",k(p,o,"GeneratorFunction"),k(v),k(v,o,"Generator"),k(v,r,function(){return this}),k(v,"toString",function(){return"[object Generator]"}),(I=function(){return{w:a,m:m}})()}function k(t,e,n,r){var o=l;try{o({},"",{})}catch(t){o=0}(k=function(t,e,n,r){function a(e,n){k(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(a("next",0),a("throw",1),a("return",2))})(t,e,n,r)}function N(t,e,n){return e=(0,_.default)(e),(0,g.default)(t,function(){try{var t=!Boolean.prototype.valueOf.call(f(Boolean,[],function(){}))}catch(t){}return function(){return!!t}()}()?f(e,n||[],(0,_.default)(t).constructor):e.apply(t,n))}var B=(0,F.createClient)({environment:P.CTF_ENVIRONMENT_ID,space:P.CTF_SPACE_ID,accessToken:P.CTF_API_TOKEN}),x=function(){if(P.RB2B_SCRIPT_KEY){var t="".concat("https://s3-us-west-2.amazonaws.com/b2bjsstore/b/").concat(P.RB2B_SCRIPT_KEY,"/").concat(P.RB2B_SCRIPT_KEY,".js.gz"),e=document.getElementById("rb2b-script");e&&e.remove();var n=document.createElement("script");n.id="rb2b-script",n.src=t,n.async=!0,document.body.appendChild(n)}};T.Router.events.on("routeChangeStart",function(t){window.location.pathname!==t&&E.gsap.to("body",{opacity:0,duration:.3})}),T.Router.events.on("routeChangeComplete",function(){x(),E.gsap.to("body",{opacity:1,duration:1})});var R=function(t){function e(t){var n;return(0,m.default)(this,e),n=N(this,e,[t]),(0,b.default)(n,"setScrollSnapOverflow",function(){var t=n.props.router;document.querySelector("html").className="/Index"===t.route?"scroll-snap-overflow":"",document.querySelector("body").className="/Index"===t.route?"scroll-snap-overflow":""}),(0,b.default)(n,"setContactFormLoadingStatus",function(){n.setState({contactFormSendLoading:!0})}),(0,b.default)(n,"setContactFormSuccessfully",function(){n.setState({contactFormSuccess:!0})}),(0,b.default)(n,"resetContactFormSuccess",function(){n.setState({contactFormSuccess:!1})}),(0,b.default)(n,"resetContactFormLoading",function(){n.setState({contactFormSendLoading:!1})}),(0,b.default)(n,"setContactFormError",function(){n.setState({contactFormError:!0})}),n.state={contactFormSuccess:!1,contactFormSendLoading:!1,contactFormError:!1},n}return(0,S.default)(e,t),(0,y.default)(e,[{key:"componentDidMount",value:function(){x(),this.setScrollSnapOverflow()}},{key:"componentDidUpdate",value:function(){this.setScrollSnapOverflow()}},{key:"render",value:function(){var t=this.props,e=t.Component,n=t.pageProps,r=t.contentfulGlobals,o=t.about,a=t.awardBanner,u=t.footer,c=t.headers,i=t.router;return w.default.createElement(C.Container,null,w.default.createElement("div",null,w.default.createElement(e,(0,v.default)({},n,{contentfulGlobals:r,about:o,awardBanner:a,footer:u,router:i,headers:c,contactFormSuccess:this.state.contactFormSuccess,contactFormSendLoading:this.state.contactFormSendLoading,contactFormError:this.state.contactFormError,setContactFormSuccessfully:this.setContactFormSuccessfully,resetContactFormSuccess:this.resetContactFormSuccess,setContactFormLoadingStatus:this.setContactFormLoadingStatus,resetContactFormLoading:this.resetContactFormLoading,setContactFormError:this.setContactFormError}))))}}],[{key:"getInitialProps",value:function(){var t=(0,h.default)(I().m(function t(e){var n,r,o,a,u,c,i,s,l,f,h;return I().w(function(t){for(;;)switch(t.n){case 0:if(n=e.Component,r=e.ctx,o={},!n.getInitialProps){t.n=2;break}return t.n=1,n.getInitialProps(r);case 1:o=t.v;case 2:return a=r.req||window.__NEXT_DATA__.props,u=a.headers,t.n=3,d.default.all([B.getEntry("4i1qV0WIeC1p2DTzMpsqrf"),B.getEntries({"sys.id":"3obaQSxf38JGcF33M0iZoN",include:2}),B.getEntry("piUWjNxbHPSEhAKILRmbT"),B.getEntry("3jW7aZUa1a99J1URhRxRIf")]);case 3:return c=t.v,i=(0,p.default)(c,4),s=i[0],l=i[1],f=i[2],h=i[3],t.a(2,{pageProps:o,headers:u,contentfulGlobals:s,about:l,awardBanner:f,footer
1:h})}},t)}));return function(e){return t.apply(this,arguments)}}()}])}(C.default);e.default=R}},[["J5xr","5d41","9da1"]]]);

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.