").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,n,r;const o=x.overlayPlaybacks.find(t=>t.canPlay(e));if(this.bannerSourcesIndex++,!o){const t=this.createError({code:`${u.VAST_UNEXPECTED_AD_SOURCE}`,description:"no ad playback found for such sources",level:i.Mk.Levels.WARN,raw:Object.assign(Object.assign({},e),{code:u.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===(n=this.mediaControl)||void 0===n||n.$el.append(this.$bannerContainer.get(0)):a.$el.prepend(this.$bannerContainer.get(0)));const l={muted:(null==e?void 0:e.mute)||(null===(r=this.mediaControl)||void 0===r?void 0:r.muted),containerElement:this.$bannerContainer.get(0),get videoElement(){return a.activePlayback.el}};this.banner=new o(l,a),this.listenToOnce(this.banner,s.s.ADPLAYBACK_READY,this.onBannerReady),this.listenToOnce(this.banner,s.s.ADPLAYBACK_LOADED,this.onBannerLoaded),this.listenToOnce(this.banner,s.s.ADPLAYBACK_ERROR,this.onBannerError),this.listenTo(this.banner,s.s.ADPLAYBACK_USER_CLOSE,this.hideBanner),this.triggerBannerEvent(s.s.ADVERTISEMENT_LOADING,e),this.banner.load(e)}onBannerReady(){var e;null===(e=this.banner)||void 0===e||e.start()}onBannerLoaded(e){this.triggerBannerEvent(s.s.ADVERTISEMENT_LOADED,e),this.showBanner()}onBannerError(e){var t,n,i;const r=this.params.banner;null!==(t=e.raw)&&void 0!==t||(e.raw={}),e.raw.blockType=null==r?void 0:r.blockType,e.raw.originalBlockType=null==r?void 0:r.originalBlockType,e.raw.index=this.bannerSourcesIndex,e.raw.requestCount=1,e.raw.adPlayback=null===(n=this.ad)||void 0===n?void 0:n.name,e.raw.adType=null===(i=this.banner)||void 0===i?void 0:i.getAdType(),this.trigger(s.s.ADVERTISEMENT_ERROR,e);const o=null==r?void 0:r.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(s.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,n;const r=null===(t=null===(e=this.ad)||void 0===e?void 0:e.sources)||void 0===t?void 0:t.provider;if("YANDEX"===r||"ADFOX"===r)return;const s=null===(n=this.currentBlockParams)||void 0===n?void 0:n.blockType;s&&this.isPreRollWithStartTime(s)&&(0,i.$)(".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,s.s.ADPLAYBACK_READY,this.onAdReady),this.stopListening(this.ad,s.s.ADPLAYBACK_LOADED,this.onAdLoaded),this.stopListening(this.ad,s.s.ADPLAYBACK_STARTED,this.onAdStarted),this.stopListening(this.ad,s.s.ADPLAYBACK_IMPRESSION,this.onAdImpression),this.stopListening(this.ad,s.s.ADPLAYBACK_RESUMED,this.onAdResumed),this.stopListening(this.ad,s.s.ADPLAYBACK_PAUSED,this.onAdPaused),this.stopListening(this.ad,s.s.ADPLAYBACK_COMPLETE,this.onAdComplete),this.stopListening(this.ad,s.s.ADPLAYBACK_PROGRESS,this.onAdProgress),this.stopListening(this.ad,s.s.ADPLAYBACK_CLICK,this.onAdClick),this.stopListening(this.ad,s.s.ADPLAYBACK_WARNING,this.onAdWarning),this.stopListening(this.ad,s.s.ADPLAYBACK_ERROR,this.onAdError),this.stopListening(this.ad,s.s.ADPLAYBACK_CONTENT_RESUME_REQUESTED,this.onAdContentResumeRequested),this.ad.destroy()),delete this.ad}destroyBanner(){this.banner&&(this.stopListening(this.banner,s.s.ADPLAYBACK_READY,this.onBannerReady),this.stopListening(this.banner,s.s.ADPLAYBACK_LOADED,this.onBannerLoaded),this.stopListening(this.banner,s.s.ADPLAYBACK_ERROR,this.onBannerError),this.stopListening(this.banner,s.s.ADPLAYBACK_USER_CLOSE,this.hideBanner),this.banner.destroy()),delete this.banner}stopListening(e,t,n){return n||clearTimeout(this.viewabilityTimeout),super.stopListening(e,t,n)}destroy(){var e;this.destroyAd(),this.destroyBanner(),x.inStreamPlaybacks.forEach(e=>e.destroy()),x.overlayPlaybacks.forEach(e=>e.destroy()),null===(e=this.$bannerContainer)||void 0===e||e.remove(),delete this.$bannerContainer,super.destroy()}}x.VIEWABILITY_TIMEOUT=2e3,x.MIN_VIEWABILITY_HEIGHT=.5,x.PUID3={preRoll:6,middleRoll:7,postRoll:15,pseudostreaming:7},x.BLOCK_TIME={preRoll:240,middleRoll:900,postRoll:900},x.VOLUME=10,x.loaded=!1,x.lastPseudoStreamingStartTime=0,x.inStreamPlaybacks=[],x.overlayPlaybacks=[]},997:(e,t,n)=>{"use strict";n.d(t,{DU:()=>r,Ro:()=>i,_U:()=>s});const i=(e,t,n)=>{const{length:i}=e.toString();return`${it).join(""):""}${e}`},r=()=>`${(Number(new Date)/1e3).toString()}-${Math.round(Math.random()*Number.MAX_SAFE_INTEGER).toString()}`,s=(e,t)=>e.replace(/\{(.*?)\}/g,(e,n)=>{var i;return null!==(i=t[n.trim()])&&void 0!==i?i:""})},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,n)=>{"use strict";n.d(t,{Pn:()=>r,n$:()=>o,n4:()=>s,nT:()=>i});const i=16/9,r=400,s="unknown",o=-1},1169:(e,t,n)=>{"use strict";n.d(t,{D7:()=>l,aF:()=>d,dZ:()=>c});var i=n(2452),r=n(9371);const s=(e,t)=>{var n;return e.url=t?null===(n=e.url)||void 0===n?void 0:n.replace(/puid3=\d+/g,`puid3=${t}`):e.url,e};let o;const a=(e,t)=>{if(!t.sspJparams)return e;try{const n=(0,i.al)(e),r=JSON.parse(n.jparams),s=t.sspJparams,{puid6:o}=s,a=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r{var n;const r=a(e.replace(/^\/\//,"https://"),t),{provider:s,sspUserId:l,sspUserIdScope:c}=t;o||(o=await(null===(n=null==s?void 0:s.getFingerPrintUserId)||void 0===n?void 0:n.call(s)));const u=Object.assign(Object.assign(Object.assign({videoplayer:"@rambler-vp/player",videoplayerver:"1.154.0",outstreamvideo:0},o?{fpruid:o}:{}),l?{publisher_uid:l}:{}),c?{publisher_uid_scope:c}:{});return(0,i.JT)(r,u)},c=480,u=(e,t=0)=>r.Pw.isMobile||Number(e.width)>=c||t>2?e:{width:c,height:Number(e.height)*c/Number(e.width)},d=[{name:"ssp.rambler.ru",allowBlock:!1,reloadFailedAdTag:!0,showRemainingTimeToEnd:!0,addUrlParams:l,getSize:u},{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:u,getNextAdBlockSources:s},{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 n=s(e,t);return n.url=n.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),n}},{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 n=s(e,t);return n.url=n.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),n}},{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 n=s(e,t);return n.url=n.url.replace(/eid1=6806/g,"eid1=10620").replace(/puid6=1/g,"puid6=2").replace(/puid30=6806/g,"puid30=10620"),n}},{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],n=e[3];if(!n)return t;if("function"==typeof btoa){var i=btoa(unescape(encodeURIComponent(JSON.stringify(n)))),r="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),s="/*# ".concat(r," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},1582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e,t){if(t instanceof Error){var n={};return Object.getOwnPropertyNames(t).forEach(function(e){n[e]=t[e]}),n}return t};t.parse=JSON.parse.bind(JSON),t.stringify=function(e){return JSON.stringify(e,n)}},1669:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var i=n(1354),r=n.n(i),s=n(6314),o=n.n(s)()(r());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,n)=>{"use strict";var i=Object.assign||function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};for(var r in u(this,e),this.id=this.parseId(),this.config=t,this.properties={},this.provider=null,i)if(i.hasOwnProperty(r)){var o=i[r];this.properties[r]="function"==typeof o?o.bind(this):o,void 0===this[r]&&(this[r]=this.properties[r])}this.transport=new s.Consumer(this.id,"*",this.externalizeAsConsumer()),this.resizer=new d(this.transport),this.consumer=this.transport.consumer,this.transport.once("ready",function(){n.provider=n.transport.provider,n.parentUrl=n.provider.url;var e=new URL(n.parentUrl),t=e.protocol,i=e.host;n.parentOrigin=t+"//"+i})}return r(e,[{key:"parseId",value:function(){return new URLSearchParams(window.location.hash.slice(1)).get("widgetId")}},{key:"externalizeAsConsumer",value:function(){var e=this;return i({},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,n)=>{"use strict";n.d(t,{E9:()=>l,Kh:()=>a,V1:()=>o});var i=n(997),r=n(4474);const s=3600,o=(e,t={})=>{const n=e%1e3,r=(e-n)/1e3,o=(0,i.Ro)(Math.floor(r/s),"0",2),a=(0,i.Ro)(Math.floor(r%s/60),"0",2),l=(0,i.Ro)(Math.floor(r%s%60),"0",2);let c="";return(t.hours||"00"!==o)&&(c+=`${o}:`),c+=`${a}:${l}`,t.ms&&(c+=`.${(0,i.Ro)(n,"0",3)}`),c},a=e=>{const[t="0",n="0",i="0"]=e.split(":").reverse(),r=parseFloat(i)*s+60*parseFloat(n)+parseFloat(t);return isNaN(r)?-1:r},l=e=>{if(null==e)return-1;if((0,r.E)(e))return parseInt(e,10);const[t,n,i=""]=e.split(":");if(!i)return-1;const[o,a="0"]=i.split(/[.,]/),l=parseFloat(t)*s+60*parseFloat(n)+parseFloat(o)+parseFloat(a)/1e3;return isNaN(l)?-1:l}},1886:(e,t,n)=>{"use strict";n.d(t,{F:()=>s,S:()=>r});var i=n(9371);const r=async(e={})=>{var{muted:t}=e,n=function(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);rnew Promise(t=>i.Aq.canAutoPlayMedia(t,Object.assign({inline:!0,muted:e},n)))));return o?"unmuted":s?"muted":"notAllowed"},s=e=>null!=e.audioTracks?e.audioTracks.length>0:null!=e.mozHasAudio?!0===e.mozHasAudio:null!=e.webkitAudioDecodedByteCount?e.webkitAudioDecodedByteCount>0:void 0},1978:(e,t,n)=>{"use strict";n.r(t),n.d(t,{Docking:()=>c,Plugin:()=>c});var i=n(181),r=n.n(i),s=n(9371),o=n(6121),a=n(9200),l=n(8644);class c extends s.rV{constructor(){super(...arguments),this.playbackStarted=!1,this.dockingRequested=!1,this.isFullscreen=!1,this.onFullscreenChange=r()(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:n}=this.options,{minPlayingVisibleHeight:i=.5}=this.core.options,r=await this.provider.getClientHeight(),s=e.height/Math.min(c.parentOffsetHeight,r);if(e.top>=0&&s+e.top/c.parentOffsetHeight>=i&&(c.inViewportOrBelow=!0),!c.inViewportOrBelow)return;const o=e.top<=0&&"down"===t;o&&!this.isDocked()||this.isFullscreen||(s=i||o)&&this.isDocked()&&this.undock())},this.undock=async()=>{var e,t,n;if(!this.isDocked()||this.dockingRequested||!this.provider)return;const{playerId:i,dockingParentId:r,[a.gM]:s,[a.yN]:l,enforceStartWhenPlayingInParent:u}=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()||!s&&!l)&&!u&&(null===(n=null===(t=this.provider)||void 0===t?void 0:t.mediator)||void 0===n||n.stopPlaying(i,r)),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,n;c.disabled||(e&&(c.disabled=!0,null===(n=null===(t=this.provider)||void 0===t?void 0:t.mediator)||void 0===n||n.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())!==s.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:n,activePlayback:i}=this.core;n&&this.listenTo(n,o.s.CONTAINER_ERROR,this.onError),i&&this.listenToOnce(i,o.s.PLAYBACK_PLAY_INTENT,this.onInitialPlay);const r=this.core.getPlugin("mediaControl");r&&this.listenTo(r,o.s.MEDIACONTROL_FULLSCREEN,this.onRequestFullscreen)}stopListening(e,t,n){var i,r,s,o;return n||(this.cancelWaitDocking(),this.unsubscribePageScroll(),null===(r=null===(i=this.provider)||void 0===i?void 0:i.mediator)||void 0===r||r.removeListener("disableDocking",this.disable),this.onEnforceStart&&(null===(o=null===(s=this.provider)||void 0===s?void 0:s.mediator)||void 0===o||o.removeListener("enforceStart",this.onEnforceStart))),super.stopListening(e,t,n)}onActiveContainerChange(){this.stopListening(),this.bindEvents()}onResize(e){var t,n;this.isDocked()||this.dockingRequested||this.isDockingAwaited()||(this.embedSize=e,c.parentOffsetHeight=null!==(n=null===(t=this.options.parentElement)||void 0===t?void 0:t.offsetHeight)&&void 0!==n?n:0)}onRequestFullscreen(){this.isFullscreen=!0}onError(){this.isDocked()&&this.undock()}onInitialPlay(){this.playbackStarted=!0}async onReady(){var e,t,n,i;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!==(i=null===(n=this.options.parentElement)||void 0===n?void 0:n.offsetHeight)&&void 0!==i?i: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]:n}=this.options;return!this.playbackStarted&&!!(e||t||n)}async waitDockingChanged(e){var t;const{parentElement:n}=this.core.options,i=(null==n?void 0:n.offsetWidth)===(null===(t=this.embedSize)||void 0===t?void 0:t.width);await new Promise(t=>{i?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,n;if(c.disabled||this.isDocked()||this.dockingRequested||!this.provider)return;const{docking:i,dockingWidth:r,dockingOffset:a,dockingOffsetX:u=a,dockingOffsetY:d=a,dockingCloseDelay:h,dockingParentId:p,playerId:g,mediaControl:f}=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(g,p))){const e=(0,l.Rv)((0,l.dA)(null!==(n=null==f?void 0:f.foregroundColor)&&void 0!==n?n:0),1),t="universal"===(null==f?void 0:f.skinName)?{buttonSize:40,buttonGap:10,buttonHoverable:!s.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:!s.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:i,dockingWidth:r,dockingOffsetX:u,dockingOffsetY:d,dockingCloseDelay:h,dockingParentId:p,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,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n{"use strict";n.d(t,{hD:()=>o});var i,r,s=(i=function(e,t){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},i(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 n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=function(e){function t(n){var i,r=e.call(this)||this;return r.name="ApiError",r.message=n.message.toString().toLowerCase(),r.code=null!==(i=n.code)&&void 0!==i?i:"unknown",r.details=n.details,Object.setPrototypeOf(r,t.prototype),r}return s(t,e),t}(Error);r=Error,s(function e(t){var n=r.call(this)||this;return n.name="SubmissionError",n.message="failed: ".concat(Object.keys(t)),n.errors=t,Object.setPrototypeOf(n,e.prototype),n},r),function(e){s(function t(n){var i=e.call(this)||this;return i.no=n,i.code="error",Object.setPrototypeOf(i,t.prototype),i},e)}(Error)},2452:(e,t,n)=>{"use strict";n.d(t,{J1:()=>r,JT:()=>o,al:()=>s,rT:()=>a});const i=e=>{const t={};return Object.keys(e).forEach(n=>{null!=e[n]&&(t[n]=e[n])}),t},r=e=>{const{protocol:t,host:n,pathname:r,query:s}=e;let o;if(s&&"object"==typeof s){const e=i(s);o=new URLSearchParams(e).toString()}else o=s;return(t?`${t}//`:"")+(n??"")+r+(o?`?${o}`:"")},s=e=>{const t={},{searchParams:n}=new URL(e);return n.forEach((e,n)=>{t[n]=e}),t},o=(e,t,n)=>{if(!(Object.keys(t).length||n&&Object.keys(n).length))return e;const{protocol:r,host:o,pathname:a}=new URL(e),l=s(e),c=i({...l,...t}),u=new URLSearchParams(c).toString(),d=u?`?${u}`:"",h=(e=>{const t={},{hash:n}=new URL(e);return new URLSearchParams(n.substring(1)).forEach((e,n)=>{t[n]=e}),t})(e),p=i({...h,...n}),g=new URLSearchParams(p).toString();return`${r}//${o}${a}${d}${g?`#${g}`:""}`},a=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16)}`)},2522:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="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,i,r){var s=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;r=r||"",Array.isArray(t)?function(t,n,i,r){var s="";t.forEach(function(t,o,a){s=i?i+"."+o:o.toString(),!1!==n.call(a,t,o,a,s,r)&&e(a[o],n,s,r+1)})}(t,i,r,s):!t||"object"!==(void 0===t?"undefined":n(t))||t instanceof Error||function(t,n,i,r){for(var s in t){var o=i?i+"."+s:s;!1!==n.call(t,t[s],s,t,o,r)&&e(t[s],n,o,r+1)}}(t,i,r,s)}},2633:(e,t,n)=>{"use strict";n.d(t,{x:()=>r});var i=n(4474);const r=e=>(0,i.E)(e)?e:(0,i.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 n=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=n},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),n="";return t.length>0&&(n=(t=t.sort()).map(function(t){return"".concat(t,":").concat(e[t])}).join("|")),n},t.convertSamplesToText=function(e){for(var t=[],n=0,i=e;n0?"".concat(r.name,"{").concat(s,"} ").concat(r.value,"\n"):"".concat(r.name," ").concat(r.value,"\n");t.push(o)}return t}},2996:e=>{var t,n=function(){var e,t,n,i,r,s,o=[],a=o.concat,l=o.filter,c=o.slice,u=window.document,d={},h={},p={"column-count":1,columns:1,"font-weight":1,"line-height":1,opacity:1,"z-index":1,zoom:1},g=/^\s*<(\w+|!)[^>]*>/,f=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,v=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,A=/^(?:body|html)$/i,m=/([A-Z])/g,E=["val","css","html","text","data","width","height","offset"],y=u.createElement("table"),b=u.createElement("tr"),_={tr:u.createElement("tbody"),tbody:y,thead:y,tfoot:y,td:b,th:b,"*":u.createElement("div")},T=/complete|loaded|interactive/,C=/^[\w-]*$/,S={},w=S.toString,O={},I=u.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"},R=Array.isArray||function(e){return e instanceof Array};function P(e){return null==e?String(e):S[w.call(e)]||"object"}function N(e){return"function"==P(e)}function L(e){return null!=e&&e==e.window}function D(e){return null!=e&&e.nodeType==e.DOCUMENT_NODE}function M(e){return"object"==P(e)}function x(e){return M(e)&&!L(e)&&Object.getPrototypeOf(e)==Object.prototype}function B(e){var t=!!e&&"length"in e&&e.length,i=n.type(e);return"function"!=i&&!L(e)&&("array"==i||0===t||"number"==typeof t&&t>0&&t-1 in e)}function V(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 h?h[e]:h[e]=new RegExp("(^|\\s)"+e+"(\\s|$)")}function F(e,t){return"number"!=typeof t||p[V(e)]?t:t+"px"}function j(e){return"children"in e?c.call(e.children):n.map(e.childNodes,function(e){if(1==e.nodeType)return e})}function $(e,t){var n,i=e?e.length:0;for(n=0;n$2>")),i===e&&(i=g.test(t)&&RegExp.$1),i in _||(i="*"),(a=_[i]).innerHTML=""+t,s=n.each(c.call(a.childNodes),function(){a.removeChild(this)})),x(r)&&(o=n(s),n.each(r,function(e,t){E.indexOf(e)>-1?o[e](t):o.attr(e,t)})),s},O.Z=function(e,t){return new $(e,t)},O.isZ=function(e){return e instanceof O.Z},O.init=function(t,i){var r,s;if(!t)return O.Z();if("string"==typeof t)if("<"==(t=t.trim())[0]&&g.test(t))r=O.fragment(t,RegExp.$1,i),t=null;else{if(i!==e)return n(i).find(t);r=O.qsa(u,t)}else{if(N(t))return n(u).ready(t);if(O.isZ(t))return t;if(R(t))s=t,r=l.call(s,function(e){return null!=e});else if(M(t))r=[t],t=null;else if(g.test(t))r=O.fragment(t.trim(),RegExp.$1,i),t=null;else{if(i!==e)return n(i).find(t);r=O.qsa(u,t)}}return O.Z(r,t)},(n=function(e,t){return O.init(e,t)}).extend=function(e){var t,n=c.call(arguments,1);return"boolean"==typeof e&&(t=e,e=n.shift()),n.forEach(function(n){Y(e,n,t)}),e},O.qsa=function(e,t){var n,i="#"==t[0],r=!i&&"."==t[0],s=i||r?t.slice(1):t,o=C.test(s);return e.getElementById&&o&&i?(n=e.getElementById(s))?[n]:[]:1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType?[]:c.call(o&&!i&&e.getElementsByClassName?r?e.getElementsByClassName(s):e.getElementsByTagName(t):e.querySelectorAll(t))},n.contains=u.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},n.type=P,n.isFunction=N,n.isWindow=L,n.isArray=R,n.isPlainObject=x,n.isEmptyObject=function(e){var t;for(t in e)return!1;return!0},n.isNumeric=function(e){var t=Number(e),n=typeof e;return null!=e&&"boolean"!=n&&("string"!=n||e.length)&&!isNaN(t)&&isFinite(t)||!1},n.inArray=function(e,t,n){return o.indexOf.call(t,e,n)},n.camelCase=r,n.trim=function(e){return null==e?"":String.prototype.trim.call(e)},n.uuid=0,n.support={},n.expr={},n.noop=function(){},n.map=function(e,t){var i,r,s,o,a=[];if(B(e))for(r=0;r0?n.fn.concat.apply([],o):o},n.each=function(e,t){var n,i;if(B(e)){for(n=0;n=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,n){return!1!==e.call(t,n,t)}),this},filter:function(e){return N(e)?this.not(this.not(e)):n(l.call(this,function(t){return O.matches(t,e)}))},add:function(e,t){return n(s(this.concat(n(e,t))))},is:function(e){return this.length>0&&O.matches(this[0],e)},not:function(t){var i=[];if(N(t)&&t.call!==e)this.each(function(e){t.call(this,e)||i.push(this)});else{var r="string"==typeof t?this.filter(t):B(t)&&N(t.item)?c.call(t):n(t);this.forEach(function(e){r.indexOf(e)<0&&i.push(e)})}return n(i)},has:function(e){return this.filter(function(){return M(e)?n.contains(this,e):n(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&&!M(e)?e:n(e)},last:function(){var e=this[this.length-1];return e&&!M(e)?e:n(e)},find:function(e){var t=this;return e?"object"==typeof e?n(e).filter(function(){var e=this;return o.some.call(t,function(t){return n.contains(t,e)})}):1==this.length?n(O.qsa(this[0],e)):this.map(function(){return O.qsa(this,e)}):n()},closest:function(e,t){var i=[],r="object"==typeof e&&n(e);return this.each(function(n,s){for(;s&&!(r?r.indexOf(s)>=0:O.matches(s,e));)s=s!==t&&!D(s)&&s.parentNode;s&&i.indexOf(s)<0&&i.push(s)}),n(i)},parents:function(e){for(var t=[],i=this;i.length>0;)i=n.map(i,function(e){if((e=e.parentNode)&&!D(e)&&t.indexOf(e)<0)return t.push(e),e});return H(t,e)},parent:function(e){return H(s(this.pluck("parentNode")),e)},children:function(e){return H(this.map(function(){return j(this)}),e)},contents:function(){return this.map(function(){return this.contentDocument||c.call(this.childNodes)})},siblings:function(e){return H(this.map(function(e,t){return l.call(j(t.parentNode),function(e){return e!==t})}),e)},empty:function(){return this.each(function(){this.innerHTML=""})},pluck:function(e){return n.map(this,function(t){return t[e]})},show:function(){return this.each(function(){var e,t,n;"none"==this.style.display&&(this.style.display=""),"none"==getComputedStyle(this,"").getPropertyValue("display")&&(this.style.display=(e=this.nodeName,d[e]||(t=u.createElement(e),u.body.appendChild(t),n=getComputedStyle(t,"").getPropertyValue("display"),t.parentNode.removeChild(t),"none"==n&&(n="block"),d[e]=n),d[e]))})},replaceWith:function(e){return this.before(e).remove()},wrap:function(e){var t=N(e);if(this[0]&&!t)var i=n(e).get(0),r=i.parentNode||this.length>1;return this.each(function(s){n(this).wrapAll(t?e.call(this,s):r?i.cloneNode(!0):i)})},wrapAll:function(e){if(this[0]){var t;for(n(this[0]).before(e=n(e));(t=e.children()).length;)e=t.first();n(e).append(this)}return this},wrapInner:function(e){var t=N(e);return this.each(function(i){var r=n(this),s=r.contents(),o=t?e.call(this,i):e;s.length?s.wrapAll(o):r.append(o)})},unwrap:function(){return this.parent().each(function(){n(this).replaceWith(n(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 i=n(this);(t===e?"none"==i.css("display"):t)?i.show():i.hide()})},prev:function(e){return n(this.pluck("previousElementSibling")).filter(e||"*")},next:function(e){return n(this.pluck("nextElementSibling")).filter(e||"*")},html:function(e){return 0 in arguments?this.each(function(t){var i=this.innerHTML;n(this).empty().append(K(this,e,t,i))}):0 in this?this[0].innerHTML:null},text:function(e){return 0 in arguments?this.each(function(t){var n=K(this,e,t,this.textContent);this.textContent=null==n?"":""+n}):0 in this?this.pluck("textContent").join(""):null},attr:function(n,i){var r;return"string"!=typeof n||1 in arguments?this.each(function(e){if(1===this.nodeType)if(M(n))for(t in n)z(this,t,n[t]);else z(this,n,K(this,i,e,this.getAttribute(n)))}):0 in this&&1==this[0].nodeType&&null!=(r=this[0].getAttribute(n))?r:e},removeAttr:function(e){return this.each(function(){1===this.nodeType&&e.split(" ").forEach(function(e){z(this,e)},this)})},prop:function(e,t){return e=k[e]||e,1 in arguments?this.each(function(n){this[e]=K(this,t,n,this[e])}):this[0]&&this[0][e]},removeProp:function(e){return e=k[e]||e,this.each(function(){delete this[e]})},data:function(t,n){var i="data-"+t.replace(m,"-$1").toLowerCase(),r=1 in arguments?this.attr(i,n):this.attr(i);return null!==r?W(r):e},val:function(e){return 0 in arguments?(null==e&&(e=""),this.each(function(t){this.value=K(this,e,t,this.value)})):this[0]&&(this[0].multiple?n(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 i=n(this),r=K(this,e,t,i.offset()),s=i.offsetParent().offset(),o={top:r.top-s.top,left:r.left-s.left};"static"==i.css("position")&&(o.position="relative"),i.css(o)});if(!this.length)return null;if(u.documentElement!==this[0]&&!n.contains(u.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,i){if(arguments.length<2){var s=this[0];if("string"==typeof e){if(!s)return;return s.style[r(e)]||getComputedStyle(s,"").getPropertyValue(e)}if(R(e)){if(!s)return;var o={},a=getComputedStyle(s,"");return n.each(e,function(e,t){o[t]=s.style[r(t)]||a.getPropertyValue(t)}),o}}var l="";if("string"==P(e))i||0===i?l=V(e)+":"+F(e,i):this.each(function(){this.style.removeProperty(V(e))});else for(t in e)e[t]||0===e[t]?l+=V(t)+":"+F(t,e[t])+";":this.each(function(){this.style.removeProperty(V(t))});return this.each(function(){this.style.cssText+=";"+l})},index:function(e){return e?this.indexOf(n(e)[0]):this.parent().children().indexOf(this[0])},hasClass:function(e){return!!e&&o.some.call(this,function(e){return this.test(G(e))},U(e))},addClass:function(e){return e?this.each(function(t){if("className"in this){i=[];var r=G(this);K(this,e,t,r).split(/\s+/g).forEach(function(e){n(this).hasClass(e)||i.push(e)},this),i.length&&G(this,r+(r?" ":"")+i.join(" "))}}):this},removeClass:function(t){return this.each(function(n){if("className"in this){if(t===e)return G(this,"");i=G(this),K(this,t,n,i).split(/\s+/g).forEach(function(e){i=i.replace(U(e)," ")}),G(this,i.trim())}})},toggleClass:function(t,i){return t?this.each(function(r){var s=n(this);K(this,t,r,G(this)).split(/\s+/g).forEach(function(t){(i===e?!s.hasClass(t):i)?s.addClass(t):s.removeClass(t)})}):this},scrollTop:function(t){if(this.length){var n="scrollTop"in this[0];return t===e?n?this[0].scrollTop:this[0].pageYOffset:this.each(n?function(){this.scrollTop=t}:function(){this.scrollTo(this.scrollX,t)})}},scrollLeft:function(t){if(this.length){var n="scrollLeft"in this[0];return t===e?n?this[0].scrollLeft:this[0].pageXOffset:this.each(n?function(){this.scrollLeft=t}:function(){this.scrollTo(t,this.scrollY)})}},position:function(){if(this.length){var e=this[0],t=this.offsetParent(),i=this.offset(),r=A.test(t[0].nodeName)?{top:0,left:0}:t.offset();return i.top-=parseFloat(n(e).css("margin-top"))||0,i.left-=parseFloat(n(e).css("margin-left"))||0,r.top+=parseFloat(n(t[0]).css("border-top-width"))||0,r.left+=parseFloat(n(t[0]).css("border-left-width"))||0,{top:i.top-r.top,left:i.left-r.left}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||u.body;e&&!A.test(e.nodeName)&&"static"==n(e).css("position");)e=e.offsetParent;return e})}},n.fn.detach=n.fn.remove,["width","height"].forEach(function(t){var i=t.replace(/./,function(e){return e[0].toUpperCase()});n.fn[t]=function(r){var s,o=this[0];return r===e?L(o)?o["inner"+i]:D(o)?o.documentElement["scroll"+i]:(s=this.offset())&&s[t]:this.each(function(e){(o=n(this)).css(t,K(this,r,e,o[t]()))})}}),["after","prepend","before","append"].forEach(function(t,i){var r=i%2;n.fn[t]=function(){var t,s,o=n.map(arguments,function(i){var r=[];return"array"==(t=P(i))?(i.forEach(function(t){return t.nodeType!==e?r.push(t):n.zepto.isZ(t)?r=r.concat(t.get()):void(r=r.concat(O.fragment(t)))}),r):"object"==t||null==i?i:O.fragment(i)}),a=this.length>1;return o.length<1?this:this.each(function(e,t){s=r?t:t.parentNode,t=0==i?t.nextSibling:1==i?t.firstChild:2==i?t:null;var l=n.contains(u.documentElement,s);o.forEach(function(e){if(a)e=e.cloneNode(!0);else if(!s)return n(e).remove();s.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)}})})})},n.fn[r?t+"To":"insert"+(i?"Before":"After")]=function(e){return n(e)[t](this),this}}),O.Z.prototype=$.prototype=n.fn,O.uniq=s,O.deserializeValue=W,n.zepto=O,n}();window.Zepto=n,void 0===window.$&&(window.$=n),function(e){var t,n,i=+new Date,r=window.document,s=/