vendor: 24,049 bytes, line 1
1try{!function(){var t="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="2e10acf8-ff24-422b-b38b-9cf8a7d43fb7",t._sentryDebugIdIdentifier="sentry-dbid-2e10acf8-ff24-422b-b38b-9cf8a7d43fb7")}()}catch(t){}!function(){try{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"d90ac16e0aec0a5eeda665985099a5735ab0bd5b"}}catch(t){}}(),(self.webpackChunkstaylive_partnerplatform=self.webpackChunkstaylive_partnerplatform||[]).push([[3886],{38267:(t,e,n)=>{n.d(e,{Ay:()=>Zt,DU:()=>Xt});var r=n(5207),o=n.n(r),i=n(58226),a=n.n(i),s=n(96540),c=n(17103),u=n(44363),l=n(41811),d=(n(5556),n(40961),n(65218)),p=function(t,e){for(var n=[t[0]],r=0,o=e.length;r<o;r+=1)n.push(e[r],t[r+1]);return n},f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},h=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},y=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),m=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},v=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)},g=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e},b=function(t){return"object"===(void 0===t?"undefined":f(t))&&t.constructor===Object},I=Object.freeze([]),S=Object.freeze({});function C(t){return"function"==typeof t}function w(t){return t.displayName||t.name||"Component"}function E(t){return t&&"string"==typeof t.styledComponentId}var j={NODE_ENV:"production",SENTRY_DSN:"https://82b31171caea3762d077e7386b21afd8@o4510311784710144.ingest.de.sentry.io/4510312771551312",PREVIEW_DEPLOYMENT:"false",DEFAULT_STAYLIVE_API:"https://api.staylive.tv/",DEFAULT_API:"https://api.staylive.tv/",LIVECHAT_URL:"https://party-livechat-prod.stayliveio.workers.dev",AUTH0_DOMAIN:"auth.staylive.io",AUTH0_AUDIENCE:"api.staylive.tv",MUX_ENV_KEY:"jhkofogd7o2vmq7tsethc4c6t",STRIPE_PUBLISHABLE_TOKEN:"pk_live_MIQTt7csOGrdY5qigTlFyNIr",WATCH_HISTORY_WORKER:"https://prod.watch-history.staylive.cloud",IS_DEMO:"false",LIVE_MESSAGING_WS_URL:"https://livestream-messaging-service.prod.staylive.cloud"}.SC_ATTR||"data-styled",A="data-styled-version",O="undefined"!=typeof window&&"HTMLElement"in window,T="boolean"==typeof SC_DISABLE_SPEEDY&&SC_DISABLE_SPEEDY||!1,N={},R=function(t){function e(n){h(this,e);for(var r=arguments.length,o=Array(r>1?r-1:0),i=1;i<r;i++)o[i-1]=arguments[i];var a=g(this,t.call(this,"An error occurred. See https://github.com/styled-components/styled-components/blob/master/packages/styled-components/src/utils/errors.md#"+n+" for more information. "+(o?"Additional arguments: "+o.join(", "):"")));return g(a)}return v(e,t),e}(Error),_=/^[^\S\n]*?\/\* sc-component-id:\s*(\S+)\s+\*\//gm,x=function(t){var e=""+(t||""),n=[];return e.replace(_,(function(t,e,r){return n.push({componentId:e,matchIndex:r}),t})),n.map((function(t,r){var o=t.componentId,i=t.matchIndex,a=n[r+1];return{componentId:o,cssFromDOM:a?e.slice(i,a.matchIndex):e.slice(i)}}))},M=/^\s*\/\/.*$/gm,k=new(o())({global:!1,cascade:!0,keyframe:!1,prefix:!1,compress:!1,semicolon:!0}),P=new(o())({global:!1,cascade:!0,keyframe:!1,prefix:!0,compress:!1,semicolon:!1}),D=[],L=function(t){if(-2===t){var e=D;return D=[],e}},H=a()((function(t){D.push(t)})),F=void 0,G=void 0,U=void 0,$=function(t,e,n){return e>0&&-1!==n.slice(0,e).indexOf(G)&&n.slice(e-G.length,e)!==G?"."+F:t};P.use([function(t,e,n){2===t&&n.length&&n[0].lastIndexOf(G)>0&&(n[0]=n[0].replace(U,$))},H,L]),k.use([H,L]);var B=function(t){return k("",t)};function Y(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"&",o=t.join("").replace(M,""),i=e&&n?n+" "+e+" { "+o+" }":o;return F=r,G=e,U=new RegExp("\\"+G+"\\b","g"),P(n||!e?"":e,i)}var V,W=function(){return n.nc},q=function(t,e,n){n&&((t[e]||(t[e]=Object.create(null)))[n]=!0)},K=function(t,e){t[e]=Object.create(null)},z=function(t){return function(e,n){return void 0!==t[e]&&t[e][n]}},J=function(t){var e="";for(var n in t)e+=Object.keys(t[n]).join(" ")+" ";return e.trim()},Q=function(t){if(t.sheet)return t.sheet;for(var e=document.styleSheets.length,n=0;n<e;n+=1){var r=document.styleSheets[n];if(r.ownerNode===t)return r}throw new R(10)},X=function(t,e,n){if(!e)return!1;var r=t.cssRules.length;try{t.insertRule(e,n<=r?n:r)}catch(t){return!1}return!0},Z=function(t){return"\n/* sc-component-id: "+t+" */\n"},tt=function(t,e){for(var n=0,r=0;r<=e;r+=1)n+=t[r];return n},et=function(t,e){return function(n){var r=W();return"<style "+[r&&'nonce="'+r+'"',j+'="'+J(e)+'"',A+'="4.2.0"',n].filter(Boolean).join(" ")+">"+t()+"</style>"}},nt=function(t,e){return function(){var n,r=((n={})[j]=J(e),n[A]="4.2.0",n),o=W();return o&&(r.nonce=o),s.createElement("style",m({},r,{dangerouslySetInnerHTML:{__html:t()}}))}},rt=function(t){return function(){return Object.keys(t)}},ot=function(t){return document.createTextNode(Z(t))},it=function t(e,n){var r=void 0===e?Object.create(null):e,o=void 0===n?Object.create(null):n,i=function(t){var e=o[t];return void 0!==e?e:o[t]=[""]},a=function(){var t="";for(var e in o){var n=o[e][0];n&&(t+=Z(e)+n)}return t};return{clone:function(){var e=function(t){var e=Object.create(null);for(var n in t)e[n]=m({},t[n]);return e}(r),n=Object.create(null);for(var i in o)n[i]=[o[i][0]];return t(e,n)},css:a,getIds:rt(o),hasNameForId:z(r),insertMarker:i,insertRules:function(t,e,n){i(t)[0]+=e.join(" "),q(r,t,n)},removeRules:function(t){var e=o[t];void 0!==e&&(e[0]="",K(r,t))},sealed:!1,styleTag:null,toElement:nt(a,r),toHTML:et(a,r)}},at=function(t,e,n,r,o){if(O&&!n){var i=function(t,e,n){var r=document.createElement("style");r.setAttribute(j,""),r.setAttribute(A,"4.2.0");var o=W();if(o&&r.setAttribute("nonce",o),r.appendChild(document.createTextNode("")),t&&!e)t.appendChild(r);else{if(!e||!t||!e.parentNode)throw new R(6);e.parentNode.insertBefore(r,n?e:e.nextSibling)}return r}(t,e,r);return T?function(t,e){var n=Object.create(null),r=Object.create(null),o=void 0!==e,i=!1,a=function(e){var o=r[e];return void 0!==o?o:(r[e]=ot(e),t.appendChild(r[e]),n[e]=Object.create(null),r[e])},s=function(){var t="";for(var e in r)t+=r[e].data;return t};return{clone:function(){throw new R(5)},css:s,getIds:rt(r),hasNameForId:z(n),insertMarker:a,insertRules:function(t,r,s){for(var c=a(t),u=[],l=r.length,d=0;d<l;d+=1){var p=r[d],f=o;if(f&&-1!==p.indexOf("@import"))u.push(p);else{f=!1;var h=d===l-1?"":" ";c.appendData(""+p+h)}}q(n,t,s),o&&u.length>0&&(i=!0,e().insertRules(t+"-import",u))},removeRules:function(a){var s=r[a];if(void 0!==s){var c=ot(a);t.replaceChild(c,s),r[a]=c,K(n,a),o&&i&&e().removeRules(a+"-import")}},sealed:!1,styleTag:t,toElement:nt(s,n),toHTML:et(s,n)}}(i,o):function(t,e){var n=Object.create(null),r=Object.create(null),o=[],i=void 0!==e,a=!1,s=function(t){var e=r[t];return void 0!==e?e:(r[t]=o.length,o.push(0),K(n,t),r[t])},c=function(){var e=Q(t).cssRules,n="";for(var i in r){n+=Z(i);for(var a=r[i],s=tt(o,a),c=s-o[a];c<s;c+=1){var u=e[c];void 0!==u&&(n+=u.cssText)}}return n};return{clone:function(){throw new R(5)},css:c,getIds:rt(r),hasNameForId:z(n),insertMarker:s,insertRules:function(r,c,u){for(var l=s(r),d=Q(t),p=tt(o,l),f=0,h=[],y=c.length,m=0;m<y;m+=1){var v=c[m],g=i;g&&-1!==v.indexOf("@import")?h.push(v):X(d,v,p+f)&&(g=!1,f+=1)}i&&h.length>0&&(a=!0,e().insertRules(r+"-import",h)),o[l]+=f,q(n,r,u)},removeRules:function(s){var c=r[s];if(void 0!==c){var u=o[c];!function(t,e,n){for(var r=e-n,o=e;o>r;o-=1)t.deleteRule(o)}(Q(t),tt(o,c)-1,u),o[c]=0,K(n,s),i&&a&&e().removeRules(s+"-import")}},sealed:!1,styleTag:t,toElement:nt(c,n),toHTML:et(c,n)}}(i,o)}return it()},st=/\s+/;V=O?T?40:1e3:-1;var ct=0,ut=void 0,lt=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O?document.head:null,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1];h(this,t),this.getImportRuleTag=function(){var t=e.importRuleTag;if(void 0!==t)return t;var n=e.tags[0];return e.importRuleTag=at(e.target,n?n.styleTag:null,e.forceServer,!0)},ct+=1,this.id=ct,this.forceServer=r,this.target=r?null:n,this.tagMap={},this.deferred={},this.rehydratedNames={},this.ignoreRehydratedNames={},this.tags=[],this.capacity=1,this.clones=[]}return t.prototype.rehydrate=function(){if(!O||this.forceServer)return this;var t=[],e=[],n=!1,r=document.querySelectorAll("style["+j+"]["+A+'="4.2.0"]'),o=r.length;if(!o)return this;for(var i=0;i<o;i+=1){var a=r[i];n||(n=!!a.getAttribute("data-styled-streamed"));for(var s,c=(a.getAttribute(j)||"").trim().split(st),u=c.length,l=0;l<u;l+=1)s=c[l],this.rehydratedNames[s]=!0;e.push.apply(e,x(a.textContent)),t.push(a)}var d=e.length;if(!d)return this;var p=this.makeTag(null);!function(t,e,n){for(var r=0,o=n.length;r<o;r+=1){var i=n[r],a=i.componentId,s=i.cssFromDOM,c=B(s);t.insertRules(a,c)}for(var u=0,l=e.length;u<l;u+=1){var d=e[u];d.parentNode&&d.parentNode.removeChild(d)}}(p,t,e),this.capacity=Math.max(1,V-d),this.tags.push(p);for(var f=0;f<d;f+=1)this.tagMap[e[f].componentId]=p;return this},t.reset=function(){ut=new t(void 0,arguments.length>0&&void 0!==arguments[0]&&arguments[0]).rehydrate()},t.prototype.clone=function(){var e=new t(this.target,this.forceServer);return this.clones.push(e),e.tags=this.tags.map((function(t){for(var n=t.getIds(),r=t.clone(),o=0;o<n.length;o+=1)e.tagMap[n[o]]=r;return r})),e.rehydratedNames=m({},this.rehydratedNames),e.deferred=m({},this.deferred),e},t.prototype.sealAllTags=function(){this.capacity=1,this.tags.forEach((function(t){t.sealed=!0}))},t.prototype.makeTag=function(t){var e=t?t.styleTag:null;return at(this.target,e,this.forceServer,!1,this.getImportRuleTag)},t.prototype.getTagForId=function(t){var e=this.tagMap[t];if(void 0!==e&&!e.sealed)return e;var n=this.tags[this.tags.length-1];return this.capacity-=1,0===this.capacity&&(this.capacity=V,n=this.makeTag(n),this.tags.push(n)),this.tagMap[t]=n},t.prototype.hasId=function(t){return void 0!==this.tagMap[t]},t.prototype.hasNameForId=function(t,e){if(void 0===this.ignoreRehydratedNames[t]&&this.rehydratedNames[e])return!0;var n=this.tagMap[t];return void 0!==n&&n.hasNameForId(t,e)},t.prototype.deferredInject=function(t,e){if(void 0===this.tagMap[t]){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].deferredInject(t,e);this.getTagForId(t).insertMarker(t),this.deferred[t]=e}},t.prototype.inject=function(t,e,n){for(var r=this.clones,o=0;o<r.length;o+=1)r[o].inject(t,e,n);var i=this.getTagForId(t);if(void 0!==this.deferred[t]){var a=this.deferred[t].concat(e);i.insertRules(t,a,n),this.deferred[t]=void 0}else i.insertRules(t,e,n)},t.prototype.remove=function(t){var e=this.tagMap[t];if(void 0!==e){for(var n=this.clones,r=0;r<n.length;r+=1)n[r].remove(t);e.removeRules(t),this.ignoreRehydratedNames[t]=!0,this.deferred[t]=void 0}},t.prototype.toHTML=function(){return this.tags.map((function(t){return t.toHTML()})).join("")},t.prototype.toReactElements=function(){var t=this.id;return this.tags.map((function(e,n){var r="sc-"+t+"-"+n;return(0,s.cloneElement)(e.toElement(),{key:r})}))},y(t,null,[{key:"master",get:function(){return ut||(ut=(new t).rehydrate())}},{key:"instance",get:function(){return t.master}}]),t}(),dt=function(){function t(e,n){var r=this;h(this,t),this.inject=function(t){t.hasNameForId(r.id,r.name)||t.inject(r.id,r.rules,r.name)},this.toString=function(){throw new R(12,String(r.name))},this.name=e,this.rules=n,this.id="sc-keyframes-"+e}return t.prototype.getName=function(){return this.name},t}(),pt=/([A-Z])/g,ft=/^ms-/,ht=function(t){return null==t||!1===t||""===t},yt=function t(e,n){var r=Object.keys(e).filter((function(t){return!ht(e[t])})).map((function(n){return b(e[n])?t(e[n],n):n.replace(pt,"-$1").toLowerCase().replace(ft,"-ms-")+": "+(r=n,(null==(o=e[n])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in c.A?String(o).trim():o+"px")+";");var r,o})).join(" ");return n?n+" {\n "+r+"\n}":r};function mt(t,e,n){if(Array.isArray(t)){for(var r,o=[],i=0,a=t.length;i<a;i+=1)null!==(r=mt(t[i],e,n))&&(Array.isArray(r)?o.push.apply(o,r):o.push(r));return o}return ht(t)?null:E(t)?"."+t.styledComponentId:C(t)?"function"!=typeof(s=t)||s.prototype&&s.prototype.isReactComponent||!e?t:mt(t(e),e,n):t instanceof dt?n?(t.inject(n),t.getName()):t:b(t)?yt(t):t.toString();var s}function vt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return C(t)||b(t)?mt(p(I,[t].concat(n))):mt(p(t,n))}function gt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S;if(!(0,u.isValidElementType)(e))throw new R(1,String(e));var r=function(){return t(e,n,vt.apply(void 0,arguments))};return r.withConfig=function(r){return gt(t,e,m({},n,r))},r.attrs=function(r){return gt(t,e,m({},n,{attrs:Array.prototype.concat(n.attrs,r).filter(Boolean)}))},r}function bt(t){for(var e,n=0|t.length,r=0|n,o=0;n>=4;)e=1540483477*(65535&(e=255&t.charCodeAt(o)|(255&t.charCodeAt(++o))<<8|(255&t.charCodeAt(++o))<<16|(255&t.charCodeAt(++o))<<24))+((1540483477*(e>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(e=1540483477*(65535&(e^=e>>>24))+((1540483477*(e>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&t.charCodeAt(o+2))<<16;case 2:r^=(255&t.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&t.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return((r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16))^r>>>15)>>>0}var It=function(t){return String.fromCharCode(t+(t>25?39:97))};function St(t,e){for(var n=0;n<t.length;n+=1){var r=t[n];if(Array.isArray(r)&&!St(r,e))return!1;if(C(r)&&!E(r))return!1}return!e.some((function(t){return C(t)||function(t){for(var e in t)if(C(t[e]))return!0;return!1}(t)}))}var Ct,wt=function(t){return function(t){var e="",n=void 0;for(n=t;n>52;n=Math.floor(n/52))e=It(n%52)+e;return It(n%52)+e}(bt(t))},Et=function(){function t(e,n,r){h(this,t),this.rules=e,this.isStatic=St(e,n),this.componentId=r,lt.master.hasId(r)||lt.master.deferredInject(r,[])}return t.prototype.generateAndInjectStyles=function(t,e){var n=this.isStatic,r=this.componentId,o=this.lastClassName;if(O&&n&&"string"==typeof o&&e.hasNameForId(r,o))return o;var i=mt(this.rules,t,e),a=wt(this.componentId+i.join(""));return e.hasNameForId(r,a)||e.inject(this.componentId,Y(i,"."+a,void 0,r),a),this.lastClassName=a,a},t.generateName=function(t){return wt(t)},t}(),jt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:S,r=!!n&&t.theme===n.theme;return t.theme&&!r?t.theme:e||n.theme},At=/[[\].#*$><+~=|^:(),"'`-]+/g,Ot=/(^-|-$)/g;function Tt(t){return t.replace(At,"-").replace(Ot,"")}function Nt(t){return"string"==typeof t&&!0}var Rt={childContextTypes:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDerivedStateFromProps:!0,propTypes:!0,type:!0},_t={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},xt=((Ct={})[u.ForwardRef]={$$typeof:!0,render:!0},Ct),Mt=Object.defineProperty,kt=Object.getOwnPropertyNames,Pt=Object.getOwnPropertySymbols,Dt=void 0===Pt?function(){return[]}:Pt,Lt=Object.getOwnPropertyDescriptor,Ht=Object.getPrototypeOf,Ft=Object.prototype,Gt=Array.prototype;function Ut(t,e,n){if("string"!=typeof e){var r=Ht(e);r&&r!==Ft&&Ut(t,r,n);for(var o=Gt.concat(kt(e),Dt(e)),i=xt[t.$$typeof]||Rt,a=xt[e.$$typeof]||Rt,s=o.length,c=void 0,u=void 0;s--;)if(u=o[s],!(_t[u]||n&&n[u]||a&&a[u]||i&&i[u])&&(c=Lt(e,u)))try{Mt(t,u,c)}catch(t){}return t}return t}var $t=(0,s.createContext)(),Bt=$t.Consumer,Yt=(function(t){function e(n){h(this,e);var r=g(this,t.call(this,n));return r.getContext=(0,l.A)(r.getContext.bind(r)),r.renderInner=r.renderInner.bind(r),r}v(e,t),e.prototype.render=function(){return this.props.children?s.createElement($t.Consumer,null,this.renderInner):null},e.prototype.renderInner=function(t){var e=this.getContext(this.props.theme,t);return s.createElement($t.Provider,{value:e},s.Children.only(this.props.children))},e.prototype.getTheme=function(t,e){if(C(t))return t(e);if(null===t||Array.isArray(t)||"object"!==(void 0===t?"undefined":f(t)))throw new R(8);return m({},e,t)},e.prototype.getContext=function(t,e){return this.getTheme(t,e)}}(s.Component),function(){function t(){h(this,t),this.masterSheet=lt.master,this.instance=this.masterSheet.clone(),this.sealed=!1}t.prototype.seal=function(){if(!this.sealed){var t=this.masterSheet.clones.indexOf(this.instance);this.masterSheet.clones.splice(t,1),this.sealed=!0}},t.prototype.collectStyles=function(t){if(this.sealed)throw new R(2);return s.createElement(Wt,{sheet:this.instance},t)},t.prototype.getStyleTags=function(){return this.seal(),this.instance.toHTML()},t.prototype.getStyleElement=function(){return this.seal(),this.instance.toReactElements()},t.prototype.interleaveWithNodeStream=function(t){throw new R(3)}}(),(0,s.createContext)()),Vt=Yt.Consumer,Wt=function(t){function e(n){h(this,e);var r=g(this,t.call(this,n));return r.getContext=(0,l.A)(r.getContext),r}return v(e,t),e.prototype.getContext=function(t,e){if(t)return t;if(e)return new lt(e);throw new R(4)},e.prototype.render=function(){var t=this.props,e=t.children,n=t.sheet,r=t.target;return s.createElement(Yt.Provider,{value:this.getContext(n,r)},e)},e}(s.Component),qt=(new Set,{}),Kt=function(t){function e(){h(this,e);var n=g(this,t.call(this));return n.attrs={},n.renderOuter=n.renderOuter.bind(n),n.renderInner=n.renderInner.bind(n),n}return v(e,t),e.prototype.render=function(){return s.createElement(Vt,null,this.renderOuter)},e.prototype.renderOuter=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:lt.master;return this.styleSheet=t,this.props.forwardedComponent.componentStyle.isStatic?this.renderInner():s.createElement(Bt,null,this.renderInner)},e.prototype.renderInner=function(t){var e,n=this.props.forwardedComponent,r=n.componentStyle,o=n.defaultProps,i=(n.displayName,n.foldedComponentIds),a=n.styledComponentId,c=n.target;e=r.isStatic?this.generateAndInjectStyles(S,this.props):void 0!==t?this.generateAndInjectStyles(jt(this.props,t,o),this.props):this.generateAndInjectStyles(this.props.theme||S,this.props);var u=this.props.as||this.attrs.as||c,l=Nt(u),p={},f=m({},this.attrs,this.props),h=void 0;for(h in f)"forwardedComponent"!==h&&"as"!==h&&"suppressClassNameWarning"!==h&&("forwardedRef"===h?p.ref=f[h]:l&&!(0,d.A)(h)||(p[h]=f[h]));return this.props.style&&this.attrs.style&&(p.style=m({},this.attrs.style,this.props.style)),p.className=Array.prototype.concat(i,this.props.className,a,this.attrs.className,e).filter(Boolean).join(" "),(0,s.createElement)(u,p)},e.prototype.buildExecutionContext=function(t,e,n){var r=this,o=m({},e,{theme:t});return n.length?(this.attrs={},n.forEach((function(t){var e,n=t,i=!1,a=void 0,s=void 0;for(s in C(n)&&(n=n(o),i=!0),n)a=n[s],i||!C(a)||(e=a)&&e.prototype&&e.prototype.isReactComponent||E(a)||(a=a(o)),r.attrs[s]=a,o[s]=a})),o):o},e.prototype.generateAndInjectStyles=function(t,e){var n=e.forwardedComponent,r=n.attrs,o=n.componentStyle;return n.warnTooManyClasses,o.isStatic&&!r.length?o.generateAndInjectStyles(S,this.styleSheet):o.generateAndInjectStyles(this.buildExecutionContext(t,e,r),this.styleSheet)},e}(s.Component);function zt(t,e,n){var r=E(t),o=!Nt(t),i=e.displayName,a=void 0===i?function(t){return Nt(t)?"styled."+t:"Styled("+w(t)+")"}(t):i,c=e.componentId,u=void 0===c?function(t,e,n){var r="string"!=typeof e?"sc":Tt(e),o=(qt[r]||0)+1;qt[r]=o;var i=r+"-"+t.generateName(r+o);return n?n+"-"+i:i}(Et,e.displayName,e.parentComponentId):c,l=e.ParentComponent,d=void 0===l?Kt:l,p=e.attrs,f=void 0===p?I:p,h=e.displayName&&e.componentId?Tt(e.displayName)+"-"+e.componentId:e.componentId||u,y=r&&t.attrs?Array.prototype.concat(t.attrs,f).filter(Boolean):f,v=new Et(r?t.componentStyle.rules.concat(n):n,y,h),g=s.forwardRef((function(t,e){return s.createElement(d,m({},t,{forwardedComponent:g,forwardedRef:e}))}));return g.attrs=y,g.componentStyle=v,g.displayName=a,g.foldedComponentIds=r?Array.prototype.concat(t.foldedComponentIds,t.styledComponentId):I,g.styledComponentId=h,g.target=r?t.target:t,g.withComponent=function(t){var r=e.componentId,o=function(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}(e,["componentId"]),i=r&&r+"-"+(Nt(t)?t:Tt(w(t)));return zt(t,m({},o,{attrs:y,componentId:i,ParentComponent:d}),n)},g.toString=function(){return"."+g.styledComponentId},o&&Ut(g,t,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,styledComponentId:!0,target:!0,withComponent:!0}),g}var Jt=function(t){return gt(zt,t)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){Jt[t]=Jt(t)}));var Qt=function(){function t(e,n){h(this,t),this.rules=e,this.componentId=n,this.isStatic=St(e,I),lt.master.hasId(n)||lt.master.deferredInject(n,[])}return t.prototype.createStyles=function(t,e){var n=Y(mt(this.rules,t,e),"");e.inject(this.componentId,n)},t.prototype.removeStyles=function(t){var e=this.componentId;t.hasId(e)&&t.remove(e)},t.prototype.renderStyles=function(t,e){this.removeStyles(e),this.createStyles(t,e)},t}();function Xt(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var o=vt.apply(void 0,[t].concat(n)),i="sc-global-"+bt(JSON.stringify(o)),a=new Qt(o,i),c=function(t){function e(n){h(this,e);var r=g(this,t.call(this,n)),o=r.constructor,i=o.globalStyle,a=o.styledComponentId;return O&&(window.scCGSHMRCache[a]=(window.scCGSHMRCache[a]||0)+1),r.state={globalStyle:i,styledComponentId:a},r}return v(e,t),e.prototype.componentWillUnmount=function(){window.scCGSHMRCache[this.state.styledComponentId]&&(window.scCGSHMRCache[this.state.styledComponentId]-=1),0===window.scCGSHMRCache[this.state.styledComponentId]&&this.state.globalStyle.removeStyles(this.styleSheet)},e.prototype.render=function(){var t=this;return s.createElement(Vt,null,(function(e){t.styleSheet=e||lt.master;var n=t.state.globalStyle;return n.isStatic?(n.renderStyles(N,t.styleSheet),null):s.createElement(Bt,null,(function(e){var r=t.constructor.defaultProps,o=m({},t.props);return void 0!==e&&(o.theme=jt(t.props,e,r)),n.renderStyles(o,t.styleSheet),null}))}))},e}(s.Component);return c.globalStyle=a,c.styledComponentId=i,c}O&&(window.scCGSHMRCache={});const Zt=Jt}}]);
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.