Skip to content

Instantly share code, notes, and snippets.

@voluntadpear
Last active July 26, 2023 09:10
Show Gist options
  • Save voluntadpear/f4bdc408e7eafb15d7cb588c39c7c0f6 to your computer and use it in GitHub Desktop.
Save voluntadpear/f4bdc408e7eafb15d7cb588c39c7c0f6 to your computer and use it in GitHub Desktop.
remoteEntry
!function(){"use strict";var n,t,e,r,u,o,i,f,c,a,s,l,p,h,d,v,g,m,y,b,x,w,S,E,j,O,k,C,T,P,A,$,N,I,L,_,R,B,F,M,U={7226:function(n,t,e){var r={"./noop":function(){return e.e(810).then(function(){return function(){return e(3810)}})},"./button":function(){return e.e(377).then(function(){return function(){return e(3377)}})},"./text":function(){return e.e(478).then(function(){return function(){return e(6478)}})}},u=function(n,t){return e.R=t,t=e.o(r,n)?r[n]():Promise.resolve().then(function(){throw Error('Module "'+n+'" does not exist in container.')}),e.R=void 0,t},o=function(n,t){if(e.S){var r="default",u=e.S[r];if(u&&u!==n)throw Error("Container initialization failed as it has already been initialized with a different share scope");return e.S[r]=n,e.I(r,t)}};e.d(t,{get:function(){return u},init:function(){return o}})}},q={};function z(n){var t=q[n];if(void 0!==t)return t.exports;var e=q[n]={exports:{}},r=!0;try{U[n](e,e.exports,z),r=!1}finally{r&&delete q[n]}return e.exports}z.m=U,z.c=q,n=[],z.O=function(t,e,r,u){if(e){u=u||0;for(var o=n.length;o>0&&n[o-1][2]>u;o--)n[o]=n[o-1];n[o]=[e,r,u];return}for(var i=1/0,o=0;o<n.length;o++){for(var e=n[o][0],r=n[o][1],u=n[o][2],f=!0,c=0;c<e.length;c++)i>=u&&Object.keys(z.O).every(function(n){return z.O[n](e[c])})?e.splice(c--,1):(f=!1,u<i&&(i=u));if(f){n.splice(o--,1);var a=r();void 0!==a&&(t=a)}}return t},z.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return z.d(t,{a:t}),t},z.d=function(n,t){for(var e in t)z.o(t,e)&&!z.o(n,e)&&Object.defineProperty(n,e,{enumerable:!0,get:t[e]})},z.f={},z.e=function(n){return Promise.all(Object.keys(z.f).reduce(function(t,e){return z.f[e](n,t),t},[]))},z.u=function(n){return"static/chunks/"+n+"."+({8:"98c70f138b39864f",152:"b3a4beb22b3b6191",298:"721e00be764ef65a",377:"edd4872f1c57f2d1",465:"b03bf6bfadfa525e",478:"9833122436593c7f",675:"0c78a18951b3c174",806:"998d6a5cb0756277",810:"fbd3c0064a53bfb6",893:"e151a5697fab0aaf"})[n]+".js"},z.miniCssF=function(n){return"static/css/d451731a457785c4.css"},z.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(n){if("object"==typeof window)return window}}(),z.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},t={},e="next2:",z.l=function(n,r,u,o){if(t[n]){t[n].push(r);return}if(void 0!==u)for(var i,f,c=document.getElementsByTagName("script"),a=0;a<c.length;a++){var s=c[a];if(s.getAttribute("src")==n||s.getAttribute("data-webpack")==e+u){i=s;break}}i||(f=!0,(i=document.createElement("script")).charset="utf-8",i.timeout=120,z.nc&&i.setAttribute("nonce",z.nc),i.setAttribute("data-webpack",e+u),i.src=z.tu(n)),t[n]=[r];var l=function(e,r){i.onerror=i.onload=null,clearTimeout(p);var u=t[n];if(delete t[n],i.parentNode&&i.parentNode.removeChild(i),u&&u.forEach(function(n){return n(r)}),e)return e(r)},p=setTimeout(l.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=l.bind(null,i.onerror),i.onload=l.bind(null,i.onload),f&&document.head.appendChild(i)},z.r=function(n){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r={},u={},z.f.remotes=function(n,t){z.o(r,n)&&r[n].forEach(function(n){var e=z.R;e||(e=[]);var r=u[n];if(!(e.indexOf(r)>=0)){if(e.push(r),r.p)return t.push(r.p);var o=function(t){t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+='\nwhile loading "'+r[1]+'" from '+r[2]),z.m[n]=function(){throw t},r.p=0},i=function(n,e,u,i,f,c){try{var a=n(e,u);if(!a||!a.then)return f(a,i,c);var s=a.then(function(n){return f(n,i)},o);if(!c)return s;t.push(r.p=s)}catch(n){o(n)}},f=function(n,t,u){return i(t.get,r[1],e,0,c,u)},c=function(t){r.p=1,z.m[n]=function(n){n.exports=t()}};i(z,r[2],0,0,function(n,t,e){return n?i(z.I,r[0],0,n,f,e):o()},1)}})},o={},i={},z.f.remotes=function(n,t){z.o(o,n)&&o[n].forEach(function(n){var e=z.R;e||(e=[]);var r=i[n];if(!(e.indexOf(r)>=0)){if(e.push(r),r.p)return t.push(r.p);var u=function(t){t||(t=Error("Container missing")),"string"==typeof t.message&&(t.message+='\nwhile loading "'+r[1]+'" from '+r[2]),z.m[n]=function(){throw t},r.p=0},o=function(n,e,o,i,f,c){try{var a=n(e,o);if(!a||!a.then)return f(a,i,c);var s=a.then(function(n){return f(n,i)},u);if(!c)return s;t.push(r.p=s)}catch(n){u(n)}},f=function(n,t,u){return o(t.get,r[1],e,0,c,u)},c=function(t){r.p=1,z.m[n]=function(n){n.exports=t()}};o(z,r[2],0,0,function(n,t,e){return n?o(z.I,r[0],0,n,f,e):u()},1)}})},z.S={},f={},c={},z.I=function(n,t){t||(t=[]);var e=c[n];if(e||(e=c[n]={}),!(t.indexOf(e)>=0)){if(t.push(e),f[n])return f[n];z.o(z.S,n)||(z.S[n]={});var r=z.S[n],u="next2",o=function(n,t,e,o){var i=r[n]=r[n]||{},f=i[t];(!f||!f.loaded&&(!o!=!f.eager?o:u>f.from))&&(i[t]={get:e,from:u,eager:!!o})},i=[];return"default"===n&&(o("react/jsx-runtime","18.2.0",function(){return z.e(893).then(function(){return function(){return z(5893)}})}),o("styled-jsx/style","5.1.1",function(){return z.e(465).then(function(){return function(){return z(6465)}})}),o("styled-jsx","5.1.1",function(){return z.e(806).then(function(){return function(){return z(4806)}})})),i.length?f[n]=Promise.all(i).then(function(){return f[n]=1}):f[n]=1}},z.tt=function(){return void 0===a&&(a={createScriptURL:function(n){return n}},"undefined"!=typeof trustedTypes&&trustedTypes.createPolicy&&(a=trustedTypes.createPolicy("nextjs#bundler",a))),a},z.tu=function(n){return z.tt().createScriptURL(n)},function(){z.g.importScripts&&(n=z.g.location+"");var n,t=z.g.document;if(!n&&t&&(t.currentScript&&(n=t.currentScript.src),!n)){var e=t.getElementsByTagName("script");if(e.length)for(var r=e.length-1;r>-1&&!n;)n=e[r--].src}if(!n)throw Error("Automatic publicPath is not supported in this browser");n=n.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),z.p=n+"../../"}(),s=function(n){var t=function(n){return n.split(".").map(function(n){return+n==n?+n:n})},e=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(n),r=e[1]?t(e[1]):[];return e[2]&&(r.length++,r.push.apply(r,t(e[2]))),e[3]&&(r.push([]),r.push.apply(r,t(e[3]))),r},l=function(n,t){n=s(n),t=s(t);for(var e=0;;){if(e>=n.length)return e<t.length&&"u"!=(typeof t[e])[0];var r=n[e],u=(typeof r)[0];if(e>=t.length)return"u"==u;var o=t[e],i=(typeof o)[0];if(u!=i)return"o"==u&&"n"==i||"s"==i||"u"==u;if("o"!=u&&"u"!=u&&r!=o)return r<o;e++}},p=function(n){var t=n[0],e="";if(1===n.length)return"*";if(t+.5){e+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var r=1,u=1;u<n.length;u++)r--,e+="u"==(typeof(i=n[u]))[0]?"-":(r>0?".":"")+(r=2,i);return e}var o=[];for(u=1;u<n.length;u++){var i=n[u];o.push(0===i?"not("+f()+")":1===i?"("+f()+" || "+f()+")":2===i?o.pop()+" "+o.pop():p(i))}return f();function f(){return o.pop().replace(/^\((.+)\)$/,"$1")}},h=function(n,t){if(0 in n){t=s(t);var e=n[0],r=e<0;r&&(e=-e-1);for(var u=0,o=1,i=!0;;o++,u++){var f,c,a=o<n.length?(typeof n[o])[0]:"";if(u>=t.length||"o"==(c=(typeof(f=t[u]))[0]))return!i||("u"==a?o>e&&!r:""==a!=r);if("u"==c){if(!i||"u"!=a)return!1}else if(i){if(a==c){if(o<=e){if(f!=n[o])return!1}else{if(r?f>n[o]:f<n[o])return!1;f!=n[o]&&(i=!1)}}else if("s"!=a&&"n"!=a){if(r||o<=e)return!1;i=!1,o--}else{if(o<=e||c<a!=r)return!1;i=!1}}else"s"!=a&&"n"!=a&&(i=!1,o--)}}var l=[],p=l.pop.bind(l);for(u=1;u<n.length;u++){var d=n[u];l.push(1==d?p()|p():2==d?p()&p():d?h(d,t):!p())}return!!p()},d=function(n,t){var e=n[t];return Object.keys(e).reduce(function(n,t){return!n||!e[n].loaded&&l(n,t)?t:n},0)},v=function(n,t,e,r){var u=d(n,e);return g(n[e][u])},g=function(n){return n.loaded=1,n.get()},m=function(n,t,e,r){return t&&z.o(t,e)?v(t,n,e):r()},y=function(n,t,e,r){var u=z.I(n);return u&&u.then?u.then(m.bind(m,n,z.S[n],t,e,r)):m(n,z.S[n],t,e,r)},b={},x={2807:function(){return y("default","react/jsx-runtime",function(){return z.e(893).then(function(){return function(){return z(5893)}})})},3027:function(){return y("default","react",function(){return function(){return z(7294)}})},5042:function(){return y("default","react-dom",function(){return function(){return z(3935)}})}},[3027,5042].forEach(function(n){z.m[n]=function(t){b[n]=0,delete z.c[n];var e=x[n]();if("function"!=typeof e)throw Error("Shared module is not available for eager consumption: "+n);t.exports=e()}}),w={377:[2807],478:[2807]},z.f.consumes=function(n,t){z.o(w,n)&&w[n].forEach(function(n){if(z.o(b,n))return t.push(b[n]);var e=function(t){b[n]=0,z.m[n]=function(e){delete z.c[n],e.exports=t()}},r=function(t){delete b[n],z.m[n]=function(e){throw delete z.c[n],t}};try{var u=x[n]();u.then?t.push(b[n]=u.then(e).catch(r)):e(u)}catch(n){r(n)}})},S=function(n){var t=function(n){return n.split(".").map(function(n){return+n==n?+n:n})},e=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(n),r=e[1]?t(e[1]):[];return e[2]&&(r.length++,r.push.apply(r,t(e[2]))),e[3]&&(r.push([]),r.push.apply(r,t(e[3]))),r},E=function(n,t){n=S(n),t=S(t);for(var e=0;;){if(e>=n.length)return e<t.length&&"u"!=(typeof t[e])[0];var r=n[e],u=(typeof r)[0];if(e>=t.length)return"u"==u;var o=t[e],i=(typeof o)[0];if(u!=i)return"o"==u&&"n"==i||"s"==i||"u"==u;if("o"!=u&&"u"!=u&&r!=o)return r<o;e++}},j=function(n){var t=n[0],e="";if(1===n.length)return"*";if(t+.5){e+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var r=1,u=1;u<n.length;u++)r--,e+="u"==(typeof(i=n[u]))[0]?"-":(r>0?".":"")+(r=2,i);return e}var o=[];for(u=1;u<n.length;u++){var i=n[u];o.push(0===i?"not("+f()+")":1===i?"("+f()+" || "+f()+")":2===i?o.pop()+" "+o.pop():j(i))}return f();function f(){return o.pop().replace(/^\((.+)\)$/,"$1")}},O=function(n,t){if(0 in n){t=S(t);var e=n[0],r=e<0;r&&(e=-e-1);for(var u=0,o=1,i=!0;;o++,u++){var f,c,a=o<n.length?(typeof n[o])[0]:"";if(u>=t.length||"o"==(c=(typeof(f=t[u]))[0]))return!i||("u"==a?o>e&&!r:""==a!=r);if("u"==c){if(!i||"u"!=a)return!1}else if(i){if(a==c){if(o<=e){if(f!=n[o])return!1}else{if(r?f>n[o]:f<n[o])return!1;f!=n[o]&&(i=!1)}}else if("s"!=a&&"n"!=a){if(r||o<=e)return!1;i=!1,o--}else{if(o<=e||c<a!=r)return!1;i=!1}}else"s"!=a&&"n"!=a&&(i=!1,o--)}}var s=[],l=s.pop.bind(s);for(u=1;u<n.length;u++){var p=n[u];s.push(1==p?l()|l():2==p?l()&l():p?O(p,t):!l())}return!!l()},k=function(n,t){var e=n[t];return Object.keys(e).reduce(function(n,t){return!n||!e[n].loaded&&E(n,t)?t:n},0)},C=function(n,t,e,r){var u=k(n,e);return T(n[e][u])},T=function(n){return n.loaded=1,n.get()},P=function(n,t,e,r){return t&&z.o(t,e)?C(t,n,e):r()},A=function(n,t,e,r){var u=z.I(n);return u&&u.then?u.then(P.bind(P,n,z.S[n],t,e,r)):P(n,z.S[n],t,e,r)},$={},N={2807:function(){return A("default","react/jsx-runtime",function(){return z.e(893).then(function(){return function(){return z(5893)}})})},3027:function(){return A("default","react",function(){return function(){return z(7294)}})},5042:function(){return A("default","react-dom",function(){return function(){return z(3935)}})}},[3027,5042].forEach(function(n){z.m[n]=function(t){$[n]=0,delete z.c[n];var e=N[n]();if("function"!=typeof e)throw Error("Shared module is not available for eager consumption: "+n);t.exports=e()}}),I={377:[2807],478:[2807]},z.f.consumes=function(n,t){z.o(I,n)&&I[n].forEach(function(n){if(z.o($,n))return t.push($[n]);var e=function(t){$[n]=0,z.m[n]=function(e){delete z.c[n],e.exports=t()}},r=function(t){delete $[n],z.m[n]=function(e){throw delete z.c[n],t}};try{var u=N[n]();u.then?t.push($[n]=u.then(e).catch(r)):e(u)}catch(n){r(n)}})},L=function(n,t,e,r){var u=document.createElement("link");return u.rel="stylesheet",u.type="text/css",u.onerror=u.onload=function(o){if(u.onerror=u.onload=null,"load"===o.type)e();else{var i=o&&("load"===o.type?"missing":o.type),f=o&&o.target&&o.target.href||t,c=Error("Loading CSS chunk "+n+" failed.\n("+f+")");c.code="CSS_CHUNK_LOAD_FAILED",c.type=i,c.request=f,u.parentNode.removeChild(u),r(c)}},u.href=t,document.head.appendChild(u),u},_=function(n,t){for(var e=document.getElementsByTagName("link"),r=0;r<e.length;r++){var u=e[r],o=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(o===n||o===t))return u}for(var i=document.getElementsByTagName("style"),r=0;r<i.length;r++){var u=i[r],o=u.getAttribute("data-href");if(o===n||o===t)return u}},R={259:0,272:0},z.f.miniCss=function(n,t){R[n]?t.push(R[n]):0!==R[n]&&({377:1})[n]&&t.push(R[n]=new Promise(function(t,e){var r=z.miniCssF(n),u=z.p+r;if(_(r,u))return t();L(n,u,t,e)}).then(function(){R[n]=0},function(t){throw delete R[n],t}))},B={259:0,272:0},z.f.j=function(n,t){var e=z.o(B,n)?B[n]:void 0;if(0!==e){if(e)t.push(e[2]);else{var r=new Promise(function(t,r){e=B[n]=[t,r]});t.push(e[2]=r);var u=z.p+z.u(n),o=Error();z.l(u,function(t){if(z.o(B,n)&&(0!==(e=B[n])&&(B[n]=void 0),e)){var r=t&&("load"===t.type?"missing":t.type),u=t&&t.target&&t.target.src;o.message="Loading chunk "+n+" failed.\n("+r+": "+u+")",o.name="ChunkLoadError",o.type=r,o.request=u,e[1](o)}},"chunk-"+n,n)}}},z.O.j=function(n){return 0===B[n]},F=function(n,t){var e,r,u=t[0],o=t[1],i=t[2],f=0;if(u.some(function(n){return 0!==B[n]})){for(e in o)z.o(o,e)&&(z.m[e]=o[e]);if(i)var c=i(z)}for(n&&n(t);f<u.length;f++)r=u[f],z.o(B,r)&&B[r]&&B[r][0](),B[r]=0;return z.O(c)},(M=self.webpackChunknext2=self.webpackChunknext2||[]).forEach(F.bind(null,0)),M.push=F.bind(null,M.push.bind(M));var D=z(7226);D=z.O(D),window.next2=D}();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment