(function (widget,cId,vids){ var _ONND_URL_EMBED = "https://video.onnetwork.tv" ; var _ONND_URL_CDN_EMBED = "https://cdn.onnetwork.tv" ; var overwrites = "" var iid=Date.now() * Math.floor( 1 + Math.random() * 100 ) + "1710" ; var uid="id"+iid; var playerLoaded = false ; var reelToStart = 0 ; var wConfig = {"playlistitems":[{"mid":"1729068","id":"1729068","length":"36","title":"Zegarek LegendDiver Longines w nowej wersji","adddatesec":"1730727846","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729068_1.jpg","mposter_url":""},{"mid":"1908396","id":"1908396","length":"55","title":"Backstage sesji z Orina Krajewska","adddatesec":"1744876743","poster_url":"https://cdnt.onnetwork.tv/poster/1/9/1908396_1.jpg","mposter_url":""},{"mid":"1729072","id":"1729072","length":"89","title":"27. gala rozdania TeleKamer Teletygodnia","adddatesec":"1730727908","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729072_1.jpg","mposter_url":""},{"mid":"1927679","id":"1927679","length":"54","title":"Backstage sesji ok\u0142adkowej TS z Jolant\u0105 Kwa\u015bniewsk\u0105","adddatesec":"1746696708","poster_url":"https://cdnt.onnetwork.tv/poster/1/9/1927679_2.jpg","mposter_url":""},{"mid":"1730316","id":"1730316","length":"26","title":"Zapraszamy na podcast Narodziny gwiazd","adddatesec":"1730815957","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1730316_3.jpg","mposter_url":""},{"mid":"1729037","id":"1729037","length":"68","title":"Maja Ostaszewska dla Twojego STYLU","adddatesec":"1730726384","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729037_4.jpg","mposter_url":""},{"mid":"1729050","id":"1729050","length":"27","title":"Triki makija\u017cowe Eryki Sok\u00f3lskiej","adddatesec":"1730726959","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729050_4.jpg","mposter_url":""},{"mid":"1729055","id":"1729055","length":"86","title":"Backstage sesji PANI z Katarzyn\u0105 Herman","adddatesec":"1730727149","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729055_6.jpg","mposter_url":""},{"mid":"1729053","id":"1729053","length":"60","title":"Martyna Wojciechowska gwiazd\u0105 sesji PANI","adddatesec":"1730727040","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729053_5.jpg","mposter_url":""},{"mid":"1729048","id":"1729048","length":"23","title":"Spos\u00f3b Adriana W\u0142asiuka na mi\u0119kkie fale","adddatesec":"1730726851","poster_url":"https://cdnt.onnetwork.tv/poster/1/7/1729048_5.jpg","mposter_url":""},{"mid":"1941671","id":"1941671","length":"72","title":"Kulisy sesji ok\u0142adkowej do magazynu PANI z Mart\u0105 \u017bmud\u0105-Trzebiatowsk\u0105.","adddatesec":"1747905042","poster_url":"https://cdnt.onnetwork.tv/poster/1/9/1941671_6.jpg","mposter_url":""}],"frid":1729068,"widgetId":1710,"devicetype":"desktop","firstmidvideo":"MTcyOTA2OCw5eDE2LDAsNTAsNDY3OSwxNjk3NSwwLDAsMSw1MCwwLDAsMCwwLDEsMSwwLDAsNCwwLDAsMCwwLDAsMCwwLDAsMDswOy0xOy0xO1RMOzA7MDswOzU2LDAsMCwwLDAsMCwwOzA7MDswOzA7MDswLDA=","defsd":{"playlist":"4679","reelType":"0","reelRows":"2","reelColumns":"2","reelHeight":"300px","reelClosureButton":"25","reelListBackgroundColor":"rgba(255, 255, 255, 0)","reelListBackgroundImage":"","reelBackgroundColor":"rgba(245, 244, 240, 1)","reelBackgroundImage":"","reelBackgroundImageCustomCss":"","reelPosition":"0","reelMax":"15","reelMargin":"1px","reelBorder":"1px solid #000","reelBorderRad":"0%","reelMarginList":"0px 10px 0px 0px","reelPadding":"1px","reelBorderList":"2px solid #f5f4f0","reelBorderRadList":"0px","reelTitlePosition":"1","reelTitleCustomCss":"","reelPaddingList":"","reelTitleColor":"rgba(255, 255, 255, 1)","reelTitleFont":"\"Crimson Text\", sans-serif","reelTitleFontSize":"8","reelTitleHeight":"20%","reelTimerPosition":"3","reelTimerCustomCss":"border-radius:4px","reelTimerColor":"rgba(255, 255, 255, 1)","reelTimerBackground":"rgba(0,0,0,1)","reelTimerFont":"","reelTimerFontSize":"6","reelTimerMargin":"0px","reelTimerPadding":"1px 4px","reelTitleMargin":"0px 0","reelTitlePadding":"6%","reelTitleBackground":"rgba(13,12,12,0.8)","reelBehaviourMPosterUse":"1","reelBehaviourMPosterVisibilityThreshold":"80","reelBehaviourChangeThreshold":"20","reelBehaviourMPosterMode":"1","reelBehaviourWidgetScrollMode":"0","reelBehaviourWidgetIdleScrollBy":"100","reelBehaviourWidgetIdleInterval":"2000","reelTouchScrollAxis":"Y","reelBehaviourShowFirstReelMode":"0","reelNoNextPosterSwipe":"1","ads_emission_selectr":"0","widgets_emission_preroll_select_first_ad":"1","widgets_emission_preroll_list":"","widgets_emission_preroll_select_another_ad":"2","widgets_emission_midroll_select_first_ad":"","widgets_emission_midroll_list":"","widgets_emission_midroll_select_another_ad":"","widgets_emission_periodic_first_ad_number":"1","widgets_emission_periodic_first_ad_seconds":"","widgets_emission_periodic_next_ads_number_interval":"1","widgets_emission_periodic_next_ads_seconds_interval":"","reelListPlayButtonURL":"https://twojstyl.pl/build/images/m-video.6a47ffa9.svg","reelListPlayButtonCustomCss":"max-width: 60px; margin: -16%;","reelListPlayButtonSvgShow":"0","reelListPlayButtonSvgWidth":"48","reelListPlayButtonSvgTop":"50","reelListPlayButtonSvgLeft":"50","reelListPlayButtonSvgFill":"rgba(255,255,255,0)","reelListPlayButtonSvgWcpCircleStroke":"rgba(255,255,255,0.8)","reelListPlayButtonSvgWcpTriangleFill":"rgba(255,255,255,0.8)"},"classToAdd":"carousel","addcss":"","isProduction":true,"debugReelsWidget":false} ; var isMobile = 0; var useNewDesktop = 0; var desktopStylingCss = ``; var desktopStylingJs = ``; var widgetClass = 'wid' + widget ; if (!useNewDesktop) { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:1000;display:none; }' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+', #totalcontainerdesktop'+uid+' div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:1000;display:none; }' + ' #totalcontainerdesktop'+uid+' { height: 100%; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = '
' + ' ' ; } else { var nstylet = (isMobile ? 'body.ONNovhByReel { overflow: hidden !important; position: fixed !important;}' : '') + ' div.totalcontainerexs.'+widgetClass+'{ position:relative;display:flex;flex-direction:column;justify-content:center;width:100%;margin:0px;height:auto;box-sizing:border-box;align-items:stretch; background-color:transparent;}' + ' #playerPreviewContainer div.playercontainerexs.'+widgetClass+'{ position:absolute;top:0;left:0;z-index:1000;display:none; }' + ' div.widgetcontainerexs.'+widgetClass+'{ width:100%;height:auto;display:block; }' + ' div.widgetcontainerexs.'+widgetClass+'>div{ position:relative;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden;}' + ' div.widgetcontainerexs.'+widgetClass+'>div>div{ position:absolute;display:block;width:100%;height:100%;left:0px;top:0px;border:none;margin:0px;padding:0px;overflow:hidden; }' + ' .playercontainerexs.'+widgetClass+' > div > div, .playercontainerexs.'+widgetClass+' > div > div > iframe { box-sizing: border-box !important; }' + ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:100% !important;min-width:100% !important;min-height:100% !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition0 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:100% !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-start; align-items: stretch; }' + ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition1 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: center; align-items: stretch; }' + ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition2 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' { flex-direction: column; justify-content: flex-end; align-items: stretch; }' + ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important; }'+ ' .reelPosition3 > .playercontainerexs.'+widgetClass+' > div > div > iframe { width:100% !important;height:auto !important;min-width:100% !important;min-height:auto !important;'+ ' max-width:100% !important;max-height:100% !important;padding:0 !important;margin:0 !important; }' ; var nefrag = ' ' ; if (isMobile) { nstylet += ' div.playercontainerexs.'+widgetClass+'{ width:100%;height:100%;position:fixed;top:0;left:0;z-index:1000;display:none; }'; nefrag = '' + nefrag; } else { nstylet += ' div.playercontainerexswrapper{ width:auto;height:100%;position:fixed;top:0;left:0;z-index:1000;display:none;}' + ' div.playercontainerexs.'+widgetClass+'{ z-index:1001;display:none; aspect-ratio: 9/16; }'; nefrag = '