1"use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([["dialogs-LivestreamDialog"],{97622:(t,e,n)=>{n.d(e,{Z:()=>v});var o,r,i=n(30168),a=(n(3650),n(67294)),c=n(70394),s=n(45007),p=n(54483),u=n.n(p),l=n(94184),f=n.n(l),d=n(27046),h=n(74737),m=n(13408),g=n(63070),x=n(85893),y=(0,c.F4)(["0%{transform:translateX(100%);}100%{transform:translateX(0%);}"]),w=c.ZP.div.withConfig({displayName:"Dialog__StyledDialog",componentId:"oufk16-0"})(["z-index:","px;font-weight:300;background:",";animation:"," 0.4s ease-in;position:fixed;left:0;top:0;bottom:0;width:100%;height:100%;margin-top:50px;> .dialogEntry{position:static;left:0;top:0;width:100%;overflow-x:auto;height:calc(100% - 50px);z-index:","px;-webkit-overflow-scrolling:touch;> header{position:relative;width:100%;height:25px;left:0;top:0;z-index:","px;}> section{width:100%;padding:0 13px 20px;}> section > h1{font-size:",";font-weight:500;text-align:center;margin:0 auto;padding-bottom:20px;}> section > .introText{text-align:center;margin-bottom:20px;}textarea,input[type='text'],input[type='number'],input[type='email'],input[type='password']{font-size:",";}.Dialog-footer{margin-top:25px;text-align:right;& > .Dialog-footer-info{text-align:left;padding-top:","px;font-size:",";color:",";.Link{display:block;cursor:pointer;}}}}.introText{font-size:",";font-weight:300;strong{font-weight:400;}}h2.introHead{text-align:center;font-size:",";font-weight:400;margin:20px 0 15px;}"," "," &.-in-i-frame{animation:none;overflow:auto;> .dialogEntry{height:100%;overflow:auto;section{padding:0 40px 40px;}}}"],(function(t){return t.theme.header.zIndex+3}),(function(t){return t.theme.color.bodyBackground}),y,(function(t){return t.theme.header.zIndex+2}),(function(t){return t.theme.header.zIndex+3}),(function(t){return t.theme.fontSize.xxl}),(function(t){return t.theme.fontSize.l}),(function(t){return t.theme.gutter}),(function(t){return t.theme.fontSize.xs}),(function(t){return t.theme.color.fontHint}),(function(t){return t.theme.fontSize.default}),(function(t){return t.theme.fontSize.default}),g.BC.mobile2(o||(o=(0,i.Z)(["\n > .dialogEntry {\n section {\n padding: 0 40px;\n }\n\n .Dialog-footer {\n margin-top: 20px;\n }\n }\n\n .Recaptcha {\n margin-top: 15px;\n }\n "]))),g.BC.tablet(r||(r=(0,i.Z)(["\n animation: none;\n position: relative;\n margin: 72px auto 0;\n height: auto;\n max-width: 440px;\n\n > .dialogEntry {\n position: static; //don't change positions, else there is a repaint bug with the url bar and header\n overflow: auto; // don't reserve space for scroll bar\n height: 100%;\n section {\n padding-bottom: 40px;\n }\n }\n\n &.NewsletterSubscriptionDialog {\n max-width: 730px;\n }\n\n "]))));const v=(0,s.$j)(null,(function(t){return{closeDialog:function(){return t((0,d.gk)())},closeMenu:function(){return t((0,h.setHeaderState)({menu:"closed"}))}}}))((function(t){var e=t.title,n=t.className,o=t.children,r=t.closeDialog,i=t.onClose,c=t.showHeader,s=void 0===c||c,p=t.closeMenu,l=!1;return"undefined"!=typeof window&&window.self!==window.top&&(l=!0),a.useEffect((function(){p()}),[]),(0,x.jsx)(u(),{children:(0,x.jsx)(w,{className:f()("Dialog",n,{"-in-i-frame":l}),children:(0,x.jsxs)("div",{className:"dialogEntry",children:[s&&(0,x.jsx)("header",{children:(0,x.jsx)(m.Z,{onClick:function(){parent&&parent.postMessage&&parent.postMessage({name:"iframe-close"},"*"),i&&i(),r()}})}),(0,x.jsxs)("section",{children:[e&&(0,x.jsx)("h1",{children:e}),o]})]})})})}))},87443:(t,e,n)=>{n.r(e),n.d(e,{LivestreamDialog:()=>g,default:()=>x});var o,r=n(70394),i=n(45007),a=n(67294),c=n(17563),s=n(16428),p=(o=function(t,e){return o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var n in e)e.hasOwnProperty(n)&&(t[n]=e[n])},o(t,e)},function(t,e){function n(){this.constructor=t}o(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}),u=function(){return u=Object.assign||function(t){for(var e,n=1,o=arguments.length;n<o;n++)for(var r in e=arguments[n])Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t},u.apply(this,arguments)};const l=function(t){function e(e){var n=t.call(this,e)||this;return n.request=null,n.cancel=function(){n.request&&n.request.cancel()},n.handleFetchSuccess=function(t){n.props.onSuccess&&n.props.onSuccess(t),n.setState({html:t.html},(function(){window.instgrm.Embeds.process(),n.props.onAfterRender&&n.props.onAfterRender()}))},n.handleFetchFailure=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];clearTimeout(n.timer),n.props.onFailure&&n.props.onFailure(t)},n.createRequestPromise=function(t){var e={};return e.promise=new s((function(n,o){var r=fetch(t).then((function(t){return t.json()})).then((function(t){return n(t)})).catch((function(t){return o(t)}));return e.cancel=function(){return o(new Error("Cancelled"))},r})),e},n.state={html:null},n}return p(e,t),e.prototype.componentDidMount=function(){var t=this;window.instgrm?this.fetchEmbed(this.getQueryParams(this.props)):(this.props.injectScript&&!document.getElementById("react-instagram-embed-script")&&this.injectScript(),this.checkAPI().then((function(){t.fetchEmbed(t.getQueryParams(t.props))})))},e.prototype.componentDidUpdate=function(t){var e=this.props,n=e.url,o=e.hideCaption,r=e.maxWidth,i=e.containerTagName;t.url===n&&t.hideCaption===o&&t.maxWidth===r&&t.containerTagName===i||(this.request.cancel(),this.fetchEmbed(this.getQueryParams(this.props)))},e.prototype.componentWillUnmount=function(){this.cancel()},e.prototype.render=function(){var t=this.props.containerTagName;return a.createElement(t,u({},this.omitComponentProps(),{dangerouslySetInnerHTML:{__html:this.state.html||""}}))},e.prototype.fetchEmbed=function(t){this.request=this.createRequestPromise("https://graph.facebook.com/v8.0/instagram_oembed/?"+t),this.props.onLoading&&this.props.onLoading(),this.request.promise.then(this.handleFetchSuccess).catch(this.handleFetchFailure)},e.prototype.omitComponentProps=function(){var t=this.props;return t.url,t.clientAccessToken,t.hideCaption,t.maxWidth,t.containerTagName,t.onLoading,t.onSuccess,t.onAfterRender,t.onFailure,t.protocol,t.injectScript,function(t,e){var n={};for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&e.indexOf(o)<0&&(n[o]=t[o
1]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(o=Object.getOwnPropertySymbols(t);r<o.length;r++)e.indexOf(o[r])<0&&Object.prototype.propertyIsEnumerable.call(t,o[r])&&(n[o[r]]=t[o[r]])}return n}(t,["url","clientAccessToken","hideCaption","maxWidth","containerTagName","onLoading","onSuccess","onAfterRender","onFailure","protocol","injectScript"])},e.prototype.injectScript=function(){var t=0===window.location.protocol.indexOf("file")?this.props.protocol:"",e=document.createElement("script");e.async=e.defer=!0,e.src=t+"//platform.instagram.com/en_US/embeds.js",e.id="react-instagram-embed-script";var n=document.body;n&&n.appendChild(e)},e.prototype.checkAPI=function(){var t=this;return new s((function(e){!function t(n){n.timer=window.setTimeout((function(){window.instgrm?(clearTimeout(n.timer),e()):t(n)}),20)}(t)}))},e.prototype.getQueryParams=function(t){var e=t.url,n=t.clientAccessToken,o=t.hideCaption,r=t.maxWidth;return c.Pz({url:e,access_token:n,hidecaption:o,maxwidth:"number"==typeof r&&r>=320?r:void 0,omitscript:!0})},e.defaultProps={hideCaption:!1,containerTagName:"div",protocol:"https:",injectScript:!0},e}(a.PureComponent);var f=n(27046),d=n(97622),h=n(85893),m=r.ZP.div.withConfig({displayName:"LivestreamDialog__EmbedContainer",componentId:"sc-40accf-0"})(["width:100%;display:flex;justify-content:center;"]),g=function(t){var e=t.className,n=t.url,o=t.onClose;return(0,h.jsx)(d.Z,{className:e,onClose:o,children:(0,h.jsx)(m,{children:(0,h.jsx)(l,{url:n,clientAccessToken:"85376025691|738ec08a3e1ad64b34943373f34abfe9",maxWidth:320,hideCaption:!1,containerTagName:"div"})})})};const x=(0,i.$j)(null,{closeDialog:f.gk})(g)},44020:t=>{var e="%[a-f0-9]{2}",n=new RegExp("("+e+")|([^%]+?)","gi"),o=new RegExp("("+e+")+","gi");function r(t,e){try{return[decodeURIComponent(t.join(""))]}catch(t){}if(1===t.length)return t;e=e||1;var n=t.slice(0,e),o=t.slice(e);return Array.prototype.concat.call([],r(n),r(o))}function i(t){try{return decodeURIComponent(t)}catch(i){for(var e=t.match(n)||[],o=1;o<e.length;o++)e=(t=r(e,o).join("")).match(n)||[];return t}}t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof t+"`");try{return t=t.replace(/\+/g," "),decodeURIComponent(t)}catch(e){return function(t){for(var e={"%FE%FF":"��","%FF%FE":"��"},n=o.exec(t);n;){try{e[n[0]]=decodeURIComponent(n[0])}catch(t){var r=i(n[0]);r!==n[0]&&(e[n[0]]=r)}n=o.exec(t)}e["%C2"]="�";for(var a=Object.keys(e),c=0;c<a.length;c++){var s=a[c];t=t.replace(new RegExp(s,"g"),e[s])}return t}(t)}}},17563:(t,e,n)=>{var o=n(70610),r=n(27418);n(44020);function i(t,e){return e.encode?e.strict?o(t):encodeURIComponent(t):t}e.Pz=function(t,e){!1===(e=r({encode:!0,strict:!0,arrayFormat:"none"},e)).sort&&(e.sort=function(){});var n=function(t){switch(t.arrayFormat){case"index":return function(e,n,o){return null===n?[i(e,t),"[",o,"]"].join(""):[i(e,t),"[",i(o,t),"]=",i(n,t)].join("")};case"bracket":return function(e,n){return null===n?i(e,t):[i(e,t),"[]=",i(n,t)].join("")};default:return function(e,n){return null===n?i(e,t):[i(e,t),"=",i(n,t)].join("")}}}(e);return t?Object.keys(t).sort(e.sort).map((function(o){var r=t[o];if(void 0===r)return"";if(null===r)return i(o,e);if(Array.isArray(r)){var a=[];return r.slice().forEach((function(t){void 0!==t&&a.push(n(o,t,a.length))})),a.join("&")}return i(o,e)+"="+i(r,e)})).filter((function(t){return t.length>0})).join("&"):""}},70610:t=>{t.exports=function(t){return encodeURIComponent(t).replace(/[!'()*]/g,(function(t){return"%"+t.charCodeAt(0).toString(16).toUpperCase()}))}}}]);
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.