").addClass("eagleplayer-advertisement-banner eplayer-skin-component eplayer-skin-fullsize eplayer-skin-shiftable").attr("data-banner","").css({pointerEvents:t}).hide()}onAdvertisementEnded(e){"banner"!==e.blockType&&this.showBanner()}showBanner(){var e;this.currentBlockParams||null===(e=this.$bannerContainer)||void 0===e||e.show()}hideBanner(){var e;null===(e=this.$bannerContainer)||void 0===e||e.hide()}startBanner(){if(!this.enabled||this.currentBannerParams)return;const e=this.params.banner,t=null==e?void 0:e.sources;e&&Array.isArray(t)&&(null==t?void 0:t[0])&&(this.currentBannerParams=e,this.requestBanner(t[0]))}requestBanner(e){var t,i,n;const o=M.overlayPlaybacks.find(t=>t.canPlay(e));if(this.bannerSourcesIndex++,!o){const t=this.createError({code:`${d.VAST_UNEXPECTED_AD_SOURCE}`,description:"no ad playback found for such sources",level:s.Mk.Levels.WARN,raw:Object.assign(Object.assign({},e),{code:d.VAST_UNEXPECTED_AD_SOURCE})});return void this.onBannerError(t)}this.destroyBanner();const{core:a}=this;this.$bannerContainer||(this.$bannerContainer=this.createBannerContainer(e),"universal"===(null===(t=this.options.mediaControl)||void 0===t?void 0:t.skinName)?null===(i=this.mediaControl)||void 0===i||i.$el.append(this.$bannerContainer.get(0)):a.$el.prepend(this.$bannerContainer.get(0)));const l={muted:(null==e?void 0:e.mute)||(null===(n=this.mediaControl)||void 0===n?void 0:n.muted),containerElement:this.$bannerContainer.get(0),get videoElement(){return a.activePlayback.el}};this.banner=new o(l,a),this.listenToOnce(this.banner,r.s.ADPLAYBACK_READY,this.onBannerReady),this.listenToOnce(this.banner,r.s.ADPLAYBACK_LOADED,this.onBannerLoaded),this.listenToOnce(this.banner,r.s.ADPLAYBACK_ERROR,this.onBannerError),this.listenTo(this.banner,r.s.ADPLAYBACK_USER_CLOSE,this.hideBanner),this.triggerBannerEvent(r.s.ADVERTISEMENT_LOADING,e),this.banner.load(e)}onBannerReady(){var e;null===(e=this.banner)||void 0===e||e.start()}onBannerLoaded(e){this.triggerBannerEvent(r.s.ADVERTISEMENT_LOADED,e),this.showBanner()}onBannerError(e){var t,i,s;const n=this.params.banner;null!==(t=e.raw)&&void 0!==t||(e.raw={}),e.raw.blockType=null==n?void 0:n.blockType,e.raw.originalBlockType=null==n?void 0:n.originalBlockType,e.raw.index=this.bannerSourcesIndex,e.raw.requestCount=1,e.raw.adPlayback=null===(i=this.ad)||void 0===i?void 0:i.name,e.raw.adType=null===(s=this.banner)||void 0===s?void 0:s.getAdType(),this.trigger(r.s.ADVERTISEMENT_ERROR,e);const o=null==n?void 0:n.sources,a=Array.isArray(o)&&o.slice(this.bannerSourcesIndex);Array.isArray(a)&&(null==a?void 0:a[0])?this.requestBanner(a[0]):this.closeBanner()}closeBanner(){var e,t;(null===(e=this.$bannerContainer)||void 0===e?void 0:e.is(":visible"))&&(this.hideBanner(),this.triggerBannerEvent(r.s.ADVERTISEMENT_ENDED,null===(t=this.banner)||void 0===t?void 0:t.sources)),this.bannerSourcesIndex=0,this.lastBannerStartTime=0,this.destroyBanner(),delete this.params.banner,delete this.currentBannerParams}pause(){var e;null===(e=this.ad)||void 0===e||e.pause()}play(){var e;null===(e=this.ad)||void 0===e||e.resume()}hideControls(){this.$clickArea.hide().css("pointer-events",""),this.$el.find("iframe").css("opacity","")}addFadeIn(){var e,t,i;const n=null===(t=null===(e=this.ad)||void 0===e?void 0:e.sources)||void 0===t?void 0:t.provider;if("YANDEX"===n||"ADFOX"===n)return;const r=null===(i=this.currentBlockParams)||void 0===i?void 0:i.blockType;r&&this.isPreRollWithStartTime(r)&&(0,s.$)(".eagleplayer-advertisement").parent(".eagleplayer-container").addClass("fade")}render(){var e;if(!this.core.$el.parents().length||this.rendered)return this;const{playList:t}=this.core.options;return this.$el.html(this.template({preview:(null==t?void 0:t.snapshot)||"none",title:null!==(e=null==t?void 0:t.title)&&void 0!==e?e:"",duration:t?(0,o.V1)(t.duration):""})),this.$adContainer=this.$el.find("[data-ad-container]"),this.$clickArea=this.$el.find("[data-ad-click]"),this.$el.hide(),this.hideControls(),this.rendered=!0,this.core.$el.prepend(this.el),this}destroyAd(){this.ad&&(this.stopListening(this.ad,r.s.ADPLAYBACK_READY,this.onAdReady),this.stopListening(this.ad,r.s.ADPLAYBACK_LOADED,this.onAdLoaded),this.stopListening(this.ad,r.s.ADPLAYBACK_STARTED,this.onAdStarted),this.stopListening(this.ad,r.s.ADPLAYBACK_IMPRESSION,this.onAdImpression),this.stopListening(this.ad,r.s.ADPLAYBACK_RESUMED,this.onAdResumed),this.stopListening(this.ad,r.s.ADPLAYBACK_PAUSED,this.onAdPaused),this.stopListening(this.ad,r.s.ADPLAYBACK_COMPLETE,this.onAdComplete),this.stopListening(this.ad,r.s.ADPLAYBACK_PROGRESS,this.onAdProgress),this.stopListening(this.ad,r.s.ADPLAYBACK_CLICK,this.onAdClick),this.stopListening(this.ad,r.s.ADPLAYBACK_WARNING,this.onAdWarning),this.stopListening(this.ad,r.s.ADPLAYBACK_ERROR,this.onAdError),this.stopListening(this.ad,r.s.ADPLAYBACK_CONTENT_RESUME_REQUESTED,this.onAdContentResumeRequested),this.ad.destroy()),delete this.ad}destroyBanner(){this.banner&&(this.stopListening(this.banner,r.s.ADPLAYBACK_READY,this.onBannerReady),this.stopListening(this.banner,r.s.ADPLAYBACK_LOADED,this.onBannerLoaded),this.stopListening(this.banner,r.s.ADPLAYBACK_ERROR,this.onBannerError),this.stopListening(this.banner,r.s.ADPLAYBACK_USER_CLOSE,this.hideBanner),this.banner.destroy()),delete this.banner}stopListening(e,t,i){return i||clearTimeout(this.viewabilityTimeout),super.stopListening(e,t,i)}destroy(){var e;this.destroyAd(),this.destroyBanner(),M.inStreamPlaybacks.forEach(e=>e.destroy()),M.overlayPlaybacks.forEach(e=>e.destroy()),null===(e=this.$bannerContainer)||void 0===e||e.remove(),delete this.$bannerContainer,super.destroy()}}M.VIEWABILITY_TIMEOUT=2e3,M.MIN_VIEWABILITY_HEIGHT=.5,M.PUID3={preRoll:6,middleRoll:7,postRoll:15,pseudostreaming:7},M.BLOCK_TIME={preRoll:240,middleRoll:900,postRoll:900},M.VOLUME=10,M.loaded=!1,M.lastPseudoStreamingStartTime=0,M.inStreamPlaybacks=[],M.overlayPlaybacks=[]},997:(e,t,i)=>{"use strict";i.d(t,{DU:()=>n,Ro:()=>s,_U:()=>r});const s=(e,t,i)=>{const{length:s}=e.toString();return`${st).join(""):""}${e}`},n=()=>`${(Number(new Date)/1e3).toString()}-${Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString()}`,r=(e,t)=>e.replace(/\{(.*?)\}/g,(e,i)=>{var s;return null!==(s=t[i.trim()])&&void 0!==s?s:""})},1113:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},1162:(e,t,i)=>{"use strict";i.d(t,{Pn:()=>n,n$:()=>o,n4:()=>r,nT:()=>s});const s=16/9,n=400,r="unknown",o=-1},1169:(e,t,i)=>{"use strict";i.d(t,{D7:()=>l,aF:()=>h,dZ:()=>c});var s=i(2452),n=i(9371);const r=(e,t)=>{var i;return e.url=t?null===(i=e.url)||void 0===i?void 0:i.replace(/puid3=\d+/g,`puid3=${t}`):e.url,e};let o;const a=(e,t)=>{if(!t.sspJparams)return e;try{const i=(0,s.al)(e),n=JSON.parse(i.jparams),r=t.sspJparams,{puid6:o}=r,a=function(e,t){var i={};for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&t.indexOf(s)<0&&(i[s]=e[s]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(s=Object.getOwnPropertySymbols(e);n{var i;const n=a(e.replace(/^\/\//,"https://"),t),{provider:r,sspUserId:l,sspUserIdScope:c}=t;o||(o=await(null===(i=null==r?void 0:r.getFingerPrintUserId)||void 0===i?void 0:i.call(r)));const d=Object.assign(Object.assign(Object.assign({videoplayer:"@rambler-vp/player",videoplayerver:"1.152.0",outstreamvideo:0},o?{fpruid:o}:{}),l?{publisher_uid:l}:{}),c?{publisher_uid_scope:c}:{});return(0,s.JT)(n,d)},c=480,d=(e,t=0)=>n.Pw.isMobile||Number(e.width)>=c||t>2?e:{width:c,height:Number(e.height)*c/Number(e.width)},h=[{name:"ssp.rambler.ru",allowBlock:!1,reloadFailedAdTag:!0,showRemainingTimeToEnd:!0,addUrlParams:l,getSize:d},{name:"(ad.mail.ru|(adfox.ru|yandex.ru/ads/adfox)/378150)",allowBlock:void 0,showBlockNumber:!0,maxBlockLength:2,reloadFailedAdTag:!0,showRemainingTimeToEnd:!0,addUrlParams:a,getSize:d,getNextAdBlockSources:r},{name:"(adfox.ru|yandex.ru/ads/adfox).*(eid1=6806|puid30=6806)",allowBlock:!0,showBlockNumber:!0,getSkipTime:e=>(e.skipTime2>=0&&(e.skipTime=e.skipTime2),e),getNextAdBlockSources(e,t){const i=r(e,t);return i.url=i.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),i}},{name:"(adfox.ru|yandex.ru/ads/adfox).*(eid1=11761|puid30=11761|puid6=2)",allowBlock:!0,showBlockNumber:!0,getSkipTime:e=>(e.skipTime2>=0&&(e.skipTime=e.skipTime2),e),getNextAdBlockSources(e,t){const i=r(e,t);return i.url=i.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),i}},{name:"(adfox.ru|yandex.ru/ads/adfox).*(eid1=6798|puid30=6798)",allowBlock:!0,showBlockNumber:!0,getSkipTime:e=>(e.skipTime2>=0&&(e.skipTime=e.skipTime2),e),getNextAdBlockSources(e,t){const i=r(e,t);return i.url=i.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),i}},{name:"(adfox.ru|yandex.ru/ads/adfox)",allowBlock:!1,showBlockNumber:!0,getSkipTime:e=>(e.skipTime2>=0&&(e.skipTime=e.skipTime2),e)},{name:"muz-tv.ru",allowBlock:!1,showBlockNumber:!0,getSkipTime:e=>(e.skipTime2>=0&&(e.skipTime=e.skipTime2),e)}]},1354:e=>{"use strict";e.exports=function(e){var t=e[1],i=e[3];if(!i)return t;if("function"==typeof btoa){var s=btoa(unescape(encodeURIComponent(JSON.stringify(i)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(s),r="/*# ".concat(n," */");return[t].concat([r]).join("\n")}return[t].join("\n")}},1582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e,t){if(t instanceof Error){var i={};return Object.getOwnPropertyNames(t).forEach(function(e){i[e]=t[e]}),i}return t};t.parse=JSON.parse.bind(JSON),t.stringify=function(e){return JSON.stringify(e,i)}},1669:(e,t,i)=>{"use strict";i.d(t,{A:()=>a});var s=i(1354),n=i.n(s),r=i(6314),o=i.n(r)()(n());o.push([e.id,".eagleplayer-container{width:100%;height:100%;position:relative;text-align:left}.eagleplayer-container *{box-sizing:initial}.eagleplayer-container.fade{animation:fadein 2s}@keyframes fadein{from{opacity:0}to{opacity:1}}.eplayer-poster{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.eplayer-skin{z-index:2}.eagleplayer-advertisement{z-index:3}.eagleplayer-info{color:#fff;z-index:3;position:absolute;width:100%;height:100%;left:0;display:table}video::-webkit-media-controls-enclosure{display:none !important}.container canvas{position:relative}.eagleplayer-fullscreen{width:100% !important;height:100% !important}.eplayer-ios-noskin *::-webkit-media-controls-panel{display:none !important;-webkit-appearance:none}.eplayer-ios-noskin *::-webkit-media-controls-start-playback-button{display:none !important;-webkit-appearance:none}","",{version:3,sources:["webpack://./src/common/components/player/styles.scss"],names:[],mappings:"AAAA,uBACE,UAAA,CACA,WAAA,CACA,iBAAA,CACA,eAAA,CAEA,yBACE,kBAAA,CAGF,4BACE,mBAAA,CAEA,kBACE,KACE,SAAA,CAGF,GACE,SAAA,CAAA,CAUR,gBACE,iBAAA,CACA,KAAA,CACA,MAAA,CACA,UAAA,CACA,WAAA,CACA,SAAA,CAGF,cACE,SAAA,CAGF,2BACE,SAAA,CAGF,kBACE,UAAA,CACA,SAAA,CACA,iBAAA,CACA,UAAA,CACA,WAAA,CACA,MAAA,CACA,aAAA,CAGF,wCACE,uBAAA,CAIA,kBACE,iBAAA,CAIJ,wBACE,qBAAA,CACA,sBAAA,CAIA,oDACE,uBAAA,CACA,uBAAA,CAGF,oEACE,uBAAA,CACA,uBAAA",sourcesContent:[".eagleplayer-container {\n width: 100%;\n height: 100%;\n position: relative;\n text-align: left;\n\n * {\n box-sizing: initial;\n }\n\n &.fade {\n animation: fadein 2s;\n\n @keyframes fadein {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n }\n }\n}\n\n.eagleplayer-loader {\n //background: black url(load.gif) no-repeat center center;\n}\n\n.eplayer-poster {\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n}\n\n.eplayer-skin {\n z-index: 2;\n}\n\n.eagleplayer-advertisement {\n z-index: 3;\n}\n\n.eagleplayer-info {\n color: white;\n z-index: 3;\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n display: table;\n}\n\nvideo::-webkit-media-controls-enclosure {\n display: none !important;\n}\n\n.container {\n canvas {\n position: relative;\n }\n}\n\n.eagleplayer-fullscreen {\n width: 100% !important;\n height: 100% !important;\n}\n\n.eplayer-ios-noskin {\n *::-webkit-media-controls-panel {\n display: none !important;\n -webkit-appearance: none;\n }\n\n *::-webkit-media-controls-start-playback-button {\n display: none !important;\n -webkit-appearance: none;\n }\n}\n"],sourceRoot:""}]),o.locals={};const a=o},1687:(e,t,i)=>{"use strict";var s=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};for(var n in d(this,e),this.id=this.parseId(),this.config=t,this.properties={},this.provider=null,s)if(s.hasOwnProperty(n)){var o=s[n];this.properties[n]="function"==typeof o?o.bind(this):o,void 0===this[n]&&(this[n]=this.properties[n])}this.transport=new r.Consumer(this.id,"*",this.externalizeAsConsumer()),this.resizer=new h(this.transport),this.consumer=this.transport.consumer,this.transport.once("ready",function(){i.provider=i.transport.provider,i.parentUrl=i.provider.url;var e=new URL(i.parentUrl),t=e.protocol,s=e.host;i.parentOrigin=t+"//"+s})}return n(e,[{key:"parseId",value:function(){return new URLSearchParams(window.location.hash.slice(1)).get("widgetId")}},{key:"externalizeAsConsumer",value:function(){var e=this;return s({},this.config.externalizeAsConsumer?this.config.externalizeAsConsumer.call(this):this.properties,{initialize:function(){return e.config.initialize.call(e,e.provider)},externalizedProps:this.externalize(),getSize:function(){return e.resizer.getSize()},watchSize:function(){return e.resizer.watchSize()},resize:function(t){e.resizer.resize(t)}})}},{key:"externalize",value:function(){return this.config.externalize?this.config.externalize.call(this):this.properties}}]),e}()},1724:(e,t,i)=>{"use strict";i.d(t,{E9:()=>l,Kh:()=>a,V1:()=>o});var s=i(997),n=i(4474);const r=3600,o=(e,t={})=>{const i=e%1e3,n=(e-i)/1e3,o=(0,s.Ro)(Math.floor(n/r),"0",2),a=(0,s.Ro)(Math.floor(n%r/60),"0",2),l=(0,s.Ro)(Math.floor(n%r%60),"0",2);let c="";return(t.hours||"00"!==o)&&(c+=`${o}:`),c+=`${a}:${l}`,t.ms&&(c+=`.${(0,s.Ro)(i,"0",3)}`),c},a=e=>{const[t="0",i="0",s="0"]=e.split(":").reverse(),n=parseFloat(s)*r+60*parseFloat(i)+parseFloat(t);return isNaN(n)?-1:n},l=e=>{if(null==e)return-1;if((0,n.E)(e))return parseInt(e,10);const[t,i,s=""]=e.split(":");if(!s)return-1;const[o,a="0"]=s.split(/[.,]/),l=parseFloat(t)*r+60*parseFloat(i)+parseFloat(o)+parseFloat(a)/1e3;return isNaN(l)?-1:l}},1978:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Docking:()=>c,Plugin:()=>c});var s=i(181),n=i.n(s),r=i(9371),o=i(6121),a=i(9200),l=i(8644);class c extends r.rV{constructor(){super(...arguments),this.playbackStarted=!1,this.dockingRequested=!1,this.isFullscreen=!1,this.onFullscreenChange=n()(e=>{e||(this.isFullscreen=!1)},c.FULLSCREEN_THROTTLE_TIMEOUT),this.onEnforceStart=e=>{const{playerId:t}=this.core.options;e!==t&&this.undock()},this.onShown=async()=>{if(this.provider){const e=await this.provider.getEmbedVisibleArea();this.onPageScroll(e)}},this.onPageScroll=async e=>{if(!this.provider||!c.parentOffsetHeight)return;const{dockingDirection:t,parentElement:i}=this.options,{minPlayingVisibleHeight:s=.5}=this.core.options,n=await this.provider.getClientHeight(),r=e.height/Math.min(c.parentOffsetHeight,n);if(e.top>=0&&r+e.top/c.parentOffsetHeight>=s&&(c.inViewportOrBelow=!0),!c.inViewportOrBelow)return;const o=e.top<=0&&"down"===t;o&&!this.isDocked()||this.isFullscreen||(r=s||o)&&this.isDocked()&&this.undock())},this.undock=async()=>{var e,t,i;if(!this.isDocked()||this.dockingRequested||!this.provider)return;const{playerId:s,dockingParentId:n,[a.gM]:r,[a.yN]:l,enforceStartWhenPlayingInParent:d}=this.core.options;this.dockingRequested=!0,this.cancelWaitDocking(),await this.waitDockingChanged(()=>{var e;return null===(e=this.provider)||void 0===e?void 0:e.undock()}),!(null===(e=this.multiPlayer)||void 0===e?void 0:e.isNextRecordRequested())&&(!this.isPlaying()||!r&&!l)&&!d&&(null===(i=null===(t=this.provider)||void 0===t?void 0:t.mediator)||void 0===i||i.stopPlaying(s,n)),c.docked=!1,this.dockingRequested=!1,this.waitDocking=window.setTimeout(()=>{this.cancelWaitDocking(),this.trigger(o.s.DOCKING_CHANGED,!1)},c.WAIT_DOCKING_TIMEOUT)},this.disable=async(e=!1)=>{var t,i;c.disabled||(e&&(c.disabled=!0,null===(i=null===(t=this.provider)||void 0===t?void 0:t.mediator)||void 0===i||i.disableDocking()),super.disable(),await this.undock())},this.enable=()=>{c.disabled||super.enable()}}get name(){return"docking"}get supportedVersion(){return{min:"0.5.0"}}get provider(){return this.core.options.provider}get advertisement(){return this.core.getPlugin("advertisement")}get multiPlayer(){return this.core.getPlugin("multiplayer")}get canPlay(){var e;return(null===(e=this.core.activePlayback)||void 0===e?void 0:e.getPlaybackType())!==r.YZ.NO_OP}isDocked(){return c.docked}isDockingRequested(){return this.dockingRequested}isDockingAwaited(){return Boolean(this.waitDocking)}getEmbedSize(){return this.embedSize}configure(){var e,t;this.options.docking?this.enable():(this.disable(),this.stopListening(this.core,o.s.CORE_OPTIONS_CHANGE,this.configure),null===(t=null===(e=this.provider)||void 0===e?void 0:e.mediator)||void 0===t||t.once("disableDocking",this.disable),this.listenTo(this.core,o.s.CORE_OPTIONS_CHANGE,this.configure))}bindEvents(){var e,t;if(c.disabled)return void this.disable();if(null===(t=null===(e=this.provider)||void 0===e?void 0:e.mediator)||void 0===t||t.once("disableDocking",this.disable),!this.options.docking)return void this.configure();super.stopListening(this.core,o.s.CORE_OPTIONS_CHANGE,this.configure),this.listenTo(this.core,o.s.CORE_OPTIONS_CHANGE,this.configure),this.core.isReady?this.onReady():this.listenToOnce(this.core,o.s.CORE_READY,this.onReady),this.listenTo(this.core,o.s.CORE_ACTIVE_CONTAINER_CHANGED,this.onActiveContainerChange),this.listenTo(this.core,o.s.CORE_RESIZE,this.onResize),this.listenTo(this.core,o.s.CORE_FULLSCREEN,this.onFullscreenChange);const{activeContainer:i,activePlayback:s}=this.core;i&&this.listenTo(i,o.s.CONTAINER_ERROR,this.onError),s&&this.listenToOnce(s,o.s.PLAYBACK_PLAY_INTENT,this.onInitialPlay);const n=this.core.getPlugin("mediaControl");n&&this.listenTo(n,o.s.MEDIACONTROL_FULLSCREEN,this.onRequestFullscreen)}stopListening(e,t,i){var s,n,r,o;return i||(this.cancelWaitDocking(),this.unsubscribePageScroll(),null===(n=null===(s=this.provider)||void 0===s?void 0:s.mediator)||void 0===n||n.removeListener("disableDocking",this.disable),this.onEnforceStart&&(null===(o=null===(r=this.provider)||void 0===r?void 0:r.mediator)||void 0===o||o.removeListener("enforceStart",this.onEnforceStart))),super.stopListening(e,t,i)}onActiveContainerChange(){this.stopListening(),this.bindEvents()}onResize(e){var t,i;this.isDocked()||this.dockingRequested||this.isDockingAwaited()||(this.embedSize=e,c.parentOffsetHeight=null!==(i=null===(t=this.options.parentElement)||void 0===t?void 0:t.offsetHeight)&&void 0!==i?i:0)}onRequestFullscreen(){this.isFullscreen=!0}onError(){this.isDocked()&&this.undock()}onInitialPlay(){this.playbackStarted=!0}async onReady(){var e,t,i,s;this.isFullscreen=this.core.isFullscreen(),this.canPlay&&this.provider&&(this.provider.once("widgetShown",this.onShown),null===(t=null===(e=this.provider)||void 0===e?void 0:e.mediator)||void 0===t||t.on("enforceStart",this.onEnforceStart),this.unsubscribePageScroll=await this.provider.subscribePageScroll(this.onPageScroll)),this.isDocked()||this.dockingRequested||(c.parentOffsetHeight=null!==(s=null===(i=this.options.parentElement)||void 0===i?void 0:i.offsetHeight)&&void 0!==s?s:0),this.embedSize={width:this.core.el.offsetWidth,height:this.core.el.offsetHeight}}unsubscribePageScroll(){}isPlaying(){var e;return this.core.activeContainer.isPlaying()||!!(null===(e=this.advertisement)||void 0===e?void 0:e.isPlaying())}isPlayingOrPaused(){var e;return!!this.playbackStarted&&(this.isPlaying()||(null===(e=this.core.activePlayback)||void 0===e?void 0:e.el).paused)}isStartWithAutoPlay(){const{autoPlay:e,[a.gM]:t,[a.yN]:i}=this.options;return!this.playbackStarted&&!!(e||t||i)}async waitDockingChanged(e){var t;const{parentElement:i}=this.core.options,s=(null==i?void 0:i.offsetWidth)===(null===(t=this.embedSize)||void 0===t?void 0:t.width);await new Promise(t=>{s?setTimeout(t,60):this.listenToOnce(this.core,o.s.CORE_RESIZE,t),e()})}cancelWaitDocking(){clearTimeout(this.waitDocking),delete this.waitDocking}async dock(){var e,t,i;if(c.disabled||this.isDocked()||this.dockingRequested||!this.provider)return;const{docking:s,dockingWidth:n,dockingOffset:a,dockingOffsetX:d=a,dockingOffsetY:h=a,dockingCloseDelay:u,dockingParentId:f,playerId:p,mediaControl:g}=this.options;if(this.dockingRequested=!0,this.cancelWaitDocking(),!1!==await(null===(t=null===(e=this.provider)||void 0===e?void 0:e.mediator)||void 0===t?void 0:t.canPlay(p,f))){const e=(0,l.Rv)((0,l.dA)(null!==(i=null==g?void 0:g.foregroundColor)&&void 0!==i?i:0),1),t="universal"===(null==g?void 0:g.skinName)?{buttonSize:40,buttonGap:10,buttonHoverable:!r.Pw.isMobile,buttonStyle:{padding:"10px",fill:"#343b4c","box-shadow":"0 10px 10px -10px rgba(52, 59, 76, 0.4)",background:"#fff"}}:{buttonSize:36,buttonGap:10,buttonHoverable:!r.Pw.isMobile,buttonStyle:{padding:"8px",fill:"rgba(255, 255, 255, 1.00)"===e?"black":e,filter:"drop-shadow(-2px 2px 10px rgba(102, 116, 166, 0.2))",background:"#fff"}};await this.waitDockingChanged(()=>{var e;null===(e=this.provider)||void 0===e||e.dock(Object.assign({docking:s,dockingWidth:n,dockingOffsetX:d,dockingOffsetY:h,dockingCloseDelay:u,dockingParentId:f,onCloseClick:()=>this.disable(!0)},t))}),c.docked=!0,this.trigger(o.s.DOCKING_CHANGED,!0)}this.dockingRequested=!1}}c.WAIT_DOCKING_TIMEOUT=150,c.FULLSCREEN_THROTTLE_TIMEOUT=500,c.inViewportOrBelow=!1,c.docked=!1,c.disabled=!1,c.parentOffsetHeight=0},2039:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var s=function(){function e(e,t){for(var i=0;i{"use strict";i.d(t,{hD:()=>o});var s,n,r=(s=function(e,t){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},s(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}s(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}),o=function(e){function t(i){var s,n=e.call(this)||this;return n.name="ApiError",n.message=i.message.toString().toLowerCase(),n.code=null!==(s=i.code)&&void 0!==s?s:"unknown",n.details=i.details,Object.setPrototypeOf(n,t.prototype),n}return r(t,e),t}(Error);n=Error,r(function e(t){var i=n.call(this)||this;return i.name="SubmissionError",i.message="failed: ".concat(Object.keys(t)),i.errors=t,Object.setPrototypeOf(i,e.prototype),i},n),function(e){r(function t(i){var s=e.call(this)||this;return s.no=i,s.code="error",Object.setPrototypeOf(s,t.prototype),s},e)}(Error)},2452:(e,t,i)=>{"use strict";i.d(t,{J1:()=>n,JT:()=>o,al:()=>r,rT:()=>a});const s=e=>{const t={};return Object.keys(e).forEach(i=>{null!=e[i]&&(t[i]=e[i])}),t},n=e=>{const{protocol:t,host:i,pathname:n,query:r}=e;let o;if(r&&"object"==typeof r){const e=s(r);o=new URLSearchParams(e).toString()}else o=r;return(t?`${t}//`:"")+(i??"")+n+(o?`?${o}`:"")},r=e=>{const t={},{searchParams:i}=new URL(e);return i.forEach((e,i)=>{t[i]=e}),t},o=(e,t,i)=>{if(!(Object.keys(t).length||i&&Object.keys(i).length))return e;const{protocol:n,host:o,pathname:a}=new URL(e),l=r(e),c=s({...l,...t}),d=new URLSearchParams(c).toString(),h=d?`?${d}`:"",u=(e=>{const t={},{hash:i}=new URL(e);return new URLSearchParams(i.substring(1)).forEach((e,i)=>{t[i]=e}),t})(e),f=s({...u,...i}),p=new URLSearchParams(f).toString();return`${n}//${o}${a}${h}${p?`#${p}`:""}`},a=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16)}`)},2522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function e(t,s,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;n=n||"",Array.isArray(t)?function(t,i,s,n){var r="";t.forEach(function(t,o,a){r=s?s+"."+o:o.toString(),!1!==i.call(a,t,o,a,r,n)&&e(a[o],i,r,n+1)})}(t,s,n,r):!t||"object"!==(void 0===t?"undefined":i(t))||t instanceof Error||function(t,i,s,n){for(var r in t){var o=s?s+"."+r:r;!1!==i.call(t,t[r],r,t,o,n)&&e(t[r],i,o,n+1)}}(t,s,n,r)}},2633:(e,t,i)=>{"use strict";i.d(t,{x:()=>n});var s=i(4474);const n=e=>(0,s.E)(e)?e:(0,s.K)(e)&&e.length?/^\d+$/.test(e)?Number(e):e:void 0},2706:e=>{e.exports=""},2717:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Timer=void 0;var i=function(){function e(e){this.start=Date.now(),this.labelMap={},e.start&&(this.start=e.start),e.labelMap&&(this.labelMap=e.labelMap),this.histogram=e.histogram}return e.prototype.observeDuration=function(){var e=Date.now()-this.start;this.histogram.observe(e/1e3,this.labelMap)},e}();t.Timer=i},2737:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.convertSamplesToText=t.hashLabelMap=t.isValidLabels=t.isValidCollectorName=void 0,t.isValidCollectorName=function(e){return!!e&&/[a-zA-Z_:][a-zA-Z0-9_:]*/.test(e)},t.isValidLabels=function(e){return e.every(function(e){return/[a-zA-Z_][a-zA-Z0-9_]*/.test(e)})},t.hashLabelMap=function(e){var t=Object.keys(e),i="";return t.length>0&&(i=(t=t.sort()).map(function(t){return"".concat(t,":").concat(e[t])}).join("|")),i},t.convertSamplesToText=function(e){for(var t=[],i=0,s=e;i0?"".concat(n.name,"{").concat(r,"} ").concat(n.value,"\n"):"".concat(n.name," ").concat(n.value,"\n");t.push(o)}return t}},2996:e=>{var t,i=function(){var e,t,i,s,n,r,o=[],a=o.concat,l=o.filter,c=o.slice,d=window.document,h={},u={},f={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},p=/^\s*<(\w+|!)[^>]*>/,g=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,m=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,v=/^(?:body|html)$/i,y=/([A-Z])/g,A=["val","css","html","text","data","width","height","offset"],E=d.createElement("table"),T=d.createElement("tr"),b={tr:d.createElement("tbody"),tbody:E,thead:E,tfoot:E,td:T,th:T,"*":d.createElement("div")},S=/complete|loaded|interactive/,_=/^[\w-]*$/,C={},I=C.toString,R={},L=d.createElement("div"),k={tabindex:"tabIndex",readonly:"readOnly",for:"htmlFor",class:"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},w=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):C[I.call(e)]||"object"}function O(e){return"function"==P(e)}function D(e){return null!=e&&e==e.window}function N(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function x(e){return"object"==P(e)}function M(e){return x(e)&&!D(e)&&Object.getPrototypeOf(e)==Object.prototype}function F(e){var t=!!e&&"length"in e&&e.length,s=i.type(e);return"function"!=s&&!D(e)&&("array"==s||0===t||"number"==typeof t&&t>0&&t-1 in e)}function B(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()}function U(e){return e in u?u[e]:u[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function $(e,t){return"number"!=typeof t||f[B(e)]?t:t+"px"}function V(e){return"children"in e?c.call(e.children):i.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function G(e,t){var i,s=e?e.length:0;for(i=0;i$2>")),s===e&&(s=p.test(t)&&RegExp.$1),s in b||(s="*"),(a=b[s]).innerHTML=""+t,r=i.each(c.call(a.childNodes),function(){a.removeChild(this)})),M(n)&&(o=i(r),i.each(n,function(e,t){A.indexOf(e)>-1?o[e](t):o.attr(e,t)})),r},R.Z=function(e,t){return new G(e,t)},R.isZ=function(e){return e instanceof R.Z},R.init=function(t,s){var n,r;if(!t)return R.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&p.test(t))n=R.fragment(t,RegExp.$1,s),t=null;else{if(s!==e)return i(s).find(t);n=R.qsa(d,t)}else{if(O(t))return i(d).ready(t);if(R.isZ(t))return t;if(w(t))r=t,n=l.call(r,function(e){return null!=e});else if(x(t))n=[t],t=null;else if(p.test(t))n=R.fragment(t.trim(),RegExp.$1,s),t=null;else{if(s!==e)return i(s).find(t);n=R.qsa(d,t)}}return R.Z(n,t)},(i=function(e,t){return R.init(e,t)}).extend=function(e){var t,i=c.call(arguments,1);return"boolean"==typeof e&&(t=e,e=i.shift()),i.forEach(function(i){K(e,i,t)}),e},R.qsa=function(e,t){var i,s="#"==t[0],n=!s&&"."==t[0],r=s||n?t.slice(1):t,o=_.test(r);return e.getElementById&&o&&s?(i=e.getElementById(r))?[i]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:c.call(o&&!s&&e.getElementsByClassName?n?e.getElementsByClassName(r):e.getElementsByTagName(t):e.querySelectorAll(t))},i.contains=d.documentElement.contains?function(e,t){return e!==t&&e.contains(t)}:function(e,t){for(;t&&(t=t.parentNode);)if(t===e)return!0;return!1},i.type=P,i.isFunction=O,i.isWindow=D,i.isArray=w,i.isPlainObject=M,i.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},i.isNumeric=function(e){var t=Number(e),i=typeof e;return null!=e&&"boolean"!=i&&("string"!=i||e.length)&&!isNaN(t)&&isFinite(t)||!1},i.inArray=function(e,t,i){return o.indexOf.call(t,e,i)},i.camelCase=n,i.trim=function(e){return null==e?"":String.prototype.trim.call(e)},i.uuid=0,i.support={},i.expr={},i.noop=function(){},i.map=function(e,t){var s,n,r,o,a=[];if(F(e))for(n=0;n0?i.fn.concat.apply([],o):o},i.each=function(e,t){var i,s;if(F(e)){for(i=0;i=0?t:t+this.length]},toArray:function(){return this.get()},size:function(){return this.length},remove:function(){return this.each(function(){null!=this.parentNode&&this.parentNode.removeChild(this)})},each:function(e){return o.every.call(this,function(t,i){return!1!==e.call(t,i,t)}),this},filter:function(e){return O(e)?this.not(this.not(e)):i(l.call(this,function(t){return R.matches(t,e)}))},add:function(e,t){return i(r(this.concat(i(e,t))))},is:function(e){return this.length>0&&R.matches(this[0],e)},not:function(t){var s=[];if(O(t)&&t.call!==e)this.each(function(e){t.call(this,e)||s.push(this)});else{var n="string"==typeof t?this.filter(t):F(t)&&O(t.item)?c.call(t):i(t);this.forEach(function(e){n.indexOf(e)<0&&s.push(e)})}return i(s)},has:function(e){return this.filter(function(){return x(e)?i.contains(this,e):i(this).find(e).size()})},eq:function(e){return-1===e?this.slice(e):this.slice(e,+e+1)},first:function(){var e=this[0];return e&&!x(e)?e:i(e)},last:function(){var e=this[this.length-1];return e&&!x(e)?e:i(e)},find:function(e){var t=this;return e?"object"==typeof e?i(e).filter(function(){var e=this;return o.some.call(t,function(t){return i.contains(t,e)})}):1==this.length?i(R.qsa(this[0],e)):this.map(function(){return R.qsa(this,e)}):i()},closest:function(e,t){var s=[],n="object"==typeof e&&i(e);return this.each(function(i,r){for(;r&&!(n?n.indexOf(r)>=0:R.matches(r,e));)r=r!==t&&!N(r)&&r.parentNode;r&&s.indexOf(r)<0&&s.push(r)}),i(s)},parents:function(e){for(var t=[],s=this;s.length>0;)s=i.map(s,function(e){if((e=e.parentNode)&&!N(e)&&t.indexOf(e)<0)return t.push(e),e});return j(t,e)},parent:function(e){return j(r(this.pluck("parentNode")),e)},children:function(e){return j(this.map(function(){return V(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||c.call(this.childNodes)})},siblings:function(e){return j(this.map(function(e,t){return l.call(V(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return i.map(this,function(t){return t[e]})},show:function(){return this.each(function(){var e,t,i;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(e=this.nodeName,h[e]||(t=d.createElement(e),d.body.appendChild(t),i=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==i&&(i="block"),h[e]=i),h[e]))})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=O(e);if(this[0]&&!t)var s=i(e).get(0),n=s.parentNode||this.length>1;return this.each(function(r){i(this).wrapAll(t?e.call(this,r):n?s.cloneNode(!0):s)})},wrapAll:function(e){if(this[0]){var t;for(i(this[0]).before(e=i(e));(t=e.children()).length;)e=t.first();i(e).append(this)}return this},wrapInner:function(e){var t=O(e);return this.each(function(s){var n=i(this),r=n.contents(),o=t?e.call(this,s):e;r.length?r.wrapAll(o):n.append(o)})},unwrap:function(){return this.parent().each(function(){i(this).replaceWith(i(this).children())}),this},clone:function(){return this.map(function(){return this.cloneNode(!0)})},hide:function(){return this.css("display","none")},toggle:function(t){return this.each(function(){var s=i(this);(t===e?"none"==s.css("display"):t)?s.show():s.hide()})},prev:function(e){return i(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return i(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var s=this.innerHTML;i(this).empty().append(H(this,e,t,s))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var i=H(this,e,t,this.textContent);this.textContent=null==i?"":""+i}):0 in this?this.pluck("textContent").join(""):null},attr:function(i,s){var n;return"string"!=typeof i||1 in arguments?this.each(function(e){if(1===this.nodeType)if(x(i))for(t in i)Y(this,t,i[t]);else Y(this,i,H(this,s,e,this.getAttribute(i)))}):0 in this&&1==this[0].nodeType&&null!=(n=this[0].getAttribute(i))?n:e},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){Y(this,e)},this)})},prop:function(e,t){return e=k[e]||e,1 in arguments?this.each(function(i){this[e]=H(this,t,i,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=k[e]||e,this.each(function(){delete this[e]})},data:function(t,i){var s="data-"+t.replace(y,"-$1").toLowerCase(),n=1 in arguments?this.attr(s,i):this.attr(s);return null!==n?z(n):e},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=H(this,e,t,this.value)})):this[0]&&(this[0].multiple?i(this[0]).find("option").filter(function(){return this.selected}).pluck("value"):this[0].value)},offset:function(e){if(e)return this.each(function(t){var s=i(this),n=H(this,e,t,s.offset()),r=s.offsetParent().offset(),o={top:n.top-r.top,left:n.left-r.left};"static"==s.css("position")&&(o.position="relative"),s.css(o)});if(!this.length)return null;if(d.documentElement!==this[0]&&!i.contains(d.documentElement,this[0]))return{top:0,left:0};var t=this[0].getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,width:Math.round(t.width),height:Math.round(t.height)}},css:function(e,s){if(arguments.length<2){var r=this[0];if("string"==typeof e){if(!r)return;return r.style[n(e)]||getComputedStyle(r,"").getPropertyValue(e)}if(w(e)){if(!r)return;var o={},a=getComputedStyle(r,"");return i.each(e,function(e,t){o[t]=r.style[n(t)]||a.getPropertyValue(t)}),o}}var l="";if("string"==P(e))s||0===s?l=B(e)+":"+$(e,s):this.each(function(){this.style.removeProperty(B(e))});else for(t in e)e[t]||0===e[t]?l+=B(t)+":"+$(t,e[t])+";":this.each(function(){this.style.removeProperty(B(t))});return this.each(function(){this.style.cssText+=";"+l})},index:function(e){return e?this.indexOf(i(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&o.some.call(this,function(e){return this.test(W(e))},U(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){s=[];var n=W(this);H(this,e,t,n).split(/\s+/g).forEach(function(e){i(this).hasClass(e)||s.push(e)},this),s.length&&W(this,n+(n?" ":"")+s.join(" "))}}):this},removeClass:function(t){return this.each(function(i){if("className"in this){if(t===e)return W(this,"");s=W(this),H(this,t,i,s).split(/\s+/g).forEach(function(e){s=s.replace(U(e)," ")}),W(this,s.trim())}})},toggleClass:function(t,s){return t?this.each(function(n){var r=i(this);H(this,t,n,W(this)).split(/\s+/g).forEach(function(t){(s===e?!r.hasClass(t):s)?r.addClass(t):r.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var i="scrollTop"in this[0];return t===e?i?this[0].scrollTop:this[0].pageYOffset:this.each(i?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var i="scrollLeft"in this[0];return t===e?i?this[0].scrollLeft:this[0].pageXOffset:this.each(i?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),s=this.offset(),n=v.test(t[0].nodeName)?{top:0,left:0}:t.offset();return s.top-=parseFloat(i(e).css("margin-top"))||0,s.left-=parseFloat(i(e).css("margin-left"))||0,n.top+=parseFloat(i(t[0]).css("border-top-width"))||0,n.left+=parseFloat(i(t[0]).css("border-left-width"))||0,{top:s.top-n.top,left:s.left-n.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||d.body;e&&!v.test(e.nodeName)&&"static"==i(e).css("position");)e=e.offsetParent;return e})}},i.fn.detach=i.fn.remove,["width","height"].forEach(function(t){var s=t.replace(/./,function(e){return e[0].toUpperCase()});i.fn[t]=function(n){var r,o=this[0];return n===e?D(o)?o["inner"+s]:N(o)?o.documentElement["scroll"+s]:(r=this.offset())&&r[t]:this.each(function(e){(o=i(this)).css(t,H(this,n,e,o[t]()))})}}),["after","prepend","before","append"].forEach(function(t,s){var n=s%2;i.fn[t]=function(){var t,r,o=i.map(arguments,function(s){var n=[];return"array"==(t=P(s))?(s.forEach(function(t){return t.nodeType!==e?n.push(t):i.zepto.isZ(t)?n=n.concat(t.get()):void(n=n.concat(R.fragment(t)))}),n):"object"==t||null==s?s:R.fragment(s)}),a=this.length>1;return o.length<1?this:this.each(function(e,t){r=n?t:t.parentNode,t=0==s?t.nextSibling:1==s?t.firstChild:2==s?t:null;var l=i.contains(d.documentElement,r);o.forEach(function(e){if(a)e=e.cloneNode(!0);else if(!r)return i(e).remove();r.insertBefore(e,t),l&&q(e,function(e){if(!(null==e.nodeName||"SCRIPT"!==e.nodeName.toUpperCase()||e.type&&"text/javascript"!==e.type||e.src)){var t=e.ownerDocument?e.ownerDocument.defaultView:window;t.eval.call(t,e.innerHTML)}})})})},i.fn[n?t+"To":"insert"+(s?"Before":"After")]=function(e){return i(e)[t](this),this}}),R.Z.prototype=G.prototype=i.fn,R.uniq=r,R.deserializeValue=z,i.zepto=R,i}();window.Zepto=i,void 0===window.$&&(window.$=i),function(e){var t,i,s=+new Date,n=window.document,r=/