@adstage/web-sdk 3.0.2 → 3.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js CHANGED
@@ -1 +1 @@
1
- "use strict";var t,e,n,s,r,i,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(t,e){var n=g();return(f=function(t,e){return n[t-=183]})(t,e)}function g(){var t=["200650KqbkVD","WEB","4167teKeMU","POPUP","NATIVE","99zGqqtx","VIEWABLE","DESKTOP","MOBILE","TABLET","484448TUequc","INTERSTITIAL","14664gxGthU","TEXT","VIDEO","2574768acdQJe","CLICK","BANNER","1455890wxwqin","734270UryxdT","1743GInoVf","98Xbgkxy"];return(g=function(){return t})()}function m(){const t=["loading","ms (","appendChild","safeRemoveEventListener","getDocumentProperty","safeGetComputedStyle","pow","canUseDOM","safeRemoveChild","safeAddEventListener","7zQytTt","safeQuerySelectorAll","forEach",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"waitForElements","innerHeight","25ffDJFQ","referrer","location","classList","safeWindowOpen","✅ 컨테이너 즉시 발견: ","isBrowser","waitForElement"," (최대 ","ms)","7081686tdnTpd","remove","pageXOffset","documentElement","devicePixelRatio","safeApplyStyles","safeQuerySelector","번째 시도, ","pageYOffset","getElementById","✅ 컨테이너 발견: ","undefined","readyState","innerHTML","href","safeAddClass","15101660csXFWt","addEventListener","DOM을 사용할 수 없는 환경입니다.","safeAppendChild","add","all","6DwOLLf",'❌ 컨테이너를 찾을 수 없습니다: "',"map","2583730pYaAfE","waitForDOM","3680252JIgsYB","scrollTop","removeChild","6GNUWdm","getPageInfo","entries","safeSetTextContent","title","log","12971384pPADcE","safeSetInnerHTML","getWindowProperty","textContent",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"error","isDOMReady","ms 경과)","37874947KAAJFz","createElement","min","querySelectorAll","open","ceil","style","146906WTCRks","getComputedStyle","getScrollInfo"];return(m=function(){return t})()}!function(){for(var t=f,e=g();;)try{if(472965===-parseInt(t(192))/1+parseInt(t(191))/2*(-parseInt(t(194))/3)+-parseInt(t(202))/4+parseInt(t(189))/5+-parseInt(t(185))/6+parseInt(t(190))/7*(-parseInt(t(204))/8)+parseInt(t(197))/9*(parseInt(t(188))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),e=t||(t={}),n=f,e.BANNER=n(187),e[n(195)]=n(195),e[n(203)]=n(203),e[n(196)]=n(196),e.VIDEO=n(184),e[n(183)]="TEXT",(r=s||(s={}))[(i=f)(193)]=i(193),r.MOBILE="MOBILE",(a=o||(o={}))[(c=f)(198)]=c(198),a[c(186)]=c(186),l=d||(d={}),u=f,l.DESKTOP=u(199),l[u(200)]=u(200),l[u(201)]="TABLET";const I=v;function v(t,e){const n=m();return(v=function(t,e){return n[t-=329]})(t,e)}!function(){const t=v,e=m();for(;;)try{if(959069===-parseInt(t(329))/1*(parseInt(t(390))/2)+parseInt(t(369))/3*(-parseInt(t(366))/4)+-parseInt(t(364))/5*(-parseInt(t(361))/6)+parseInt(t(403))/7*(-parseInt(t(375))/8)+parseInt(t(339))/9+parseInt(t(355))/10+parseInt(t(383))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static[I(335)](){return"undefined"!=typeof window&&typeof document!==I(350)}static isSSR(){return!this.isBrowser()}static canUseDOM(){const t=I;return this[t(335)]()&&void 0!==document[t(351)]}static safeGetElementById(t){const e=I;return this[e(400)]()?document[e(348)](t):null}static[I(345)](t){return this[I(400)]()?document.querySelector(t):null}static[I(404)](t){const e=I;return this.canUseDOM()?Array.from(document[e(386)](t)):[]}static safeCreateElement(t){const e=I;return this.canUseDOM()?document[e(384)](t):null}static[I(402)](t,e,n,s){const r=I;this.canUseDOM()&&t&&t[r(356)](e,n,s)}static[I(396)](t,e,n,s){this.canUseDOM()&&t&&t.removeEventListener(e,n,s)}static getWindowProperty(t,e){return this[I(335)]()?window[t]??e:e}static[I(397)](t,e){return this[I(400)]()?document[t]??e:e}static[I(333)](t,e,n){const s=I;return this[s(335)]()?window[s(387)](t,e,n):null}static[I(398)](t){const e=I;return this[e(335)]()&&t?window[e(391)](t):null}static[I(381)](){const t=I;return!!this.canUseDOM()&&document.readyState!==t(393)}static[I(365)](){return new Promise(t=>{const e=v;this[e(400)]()?this[e(381)]()?t():this[e(402)](document,"DOMContentLoaded",()=>t()):t()})}static[I(344)](t,e){const n=I;this.canUseDOM()&&t&&Object[n(371)](e)[n(405)](([e,s])=>{t[n(389)].setProperty(e,s)})}static[I(354)](t,e){const n=I;this[n(400)]()&&t&&t[n(332)][n(359)](e)}static safeRemoveClass(t,e){const n=I;this[n(400)]()&&t&&t[n(332)][n(340)](e)}static[I(372)](t,e){const n=I;this[n(400)]()&&t&&(t[n(378)]=e)}static[I(376)](t,e){const n=I;this[n(400)]()&&t&&(t[n(352)]=e)}static[I(358)](t,e){const n=I;this[n(400)]()&&t&&e&&t[n(395)](e)}static[I(401)](t,e){const n=I;this.canUseDOM()&&t&&e&&t[n(368)](e)}static[I(370)](){const t=I;return{url:this.getWindowProperty(t(331),{href:""})[t(353)],title:this.getDocumentProperty(t(373),""),referrer:this.getDocumentProperty(t(330),"")}}static getViewportInfo(){const t=I;return{width:this[t(377)]("innerWidth",0),height:this[t(377)](t(408),0),pixelRatio:this.getWindowProperty(t(343),1)}}static[I(392)](){const t=I;return{scrollTop:this[t(400)]()?window[t(347)]||document[t(342)][t(367)]:0,scrollLeft:this[t(377)](t(341),0)}}static async[I(336)](t,e={}){const n=I,{timeout:s=3e3,retryInterval:r=100,debug:i=!1}=e;if(!this[n(400)]())throw new Error(n(357));const o=document[n(348)](t);return o?(i&&console[n(374)](n(334)+t),o):(i&&console[n(374)]("⏳ 컨테이너 대기 시작: "+t+n(337)+s+n(338)),new Promise((e,o)=>{const a=n;let c=0;const d=Math[a(388)](s/r),l=()=>{const n=a;c++;const u=document.getElementById(t);if(u)return i&&console[n(374)](n(349)+t+" ("+c+n(346)+c*r+n(382)),void e(u);if(c>=d){const e=n(362)+t+n(406)+t+n(379)+s+n(394)+c+"번 시도)";return i&&console[n(380)](e),void o(new Error(e))}i&&c%10==0&&console[n(374)]("⏳ 컨테이너 대기 중: "+t+" ("+c+"/"+d+")");const p=Math[n(385)](r*Math[n(399)](1.2,c),500);setTimeout(l,p)};setTimeout(l,r)}))}static async[I(407)](t,e={}){const n=I,s=t[n(363)](t=>this[n(336)](t,e));return Promise[n(360)](s)}}function b(t,e){const n=w();return(b=function(t,e){return n[t-=367]})(t,e)}function w(){const t=["2244524hMhSJI","1040280XHHGNQ","userAgent","25342JLKgjq","2296446fPmKEH","115926RCJieG","10fpmIRs","73496kqKWec","61lfLpvA","602ZhCrZW","275krZuGs","7250949fjKAyG","AdStageSDK/"];return(w=function(){return t})()}!function(){const t=b,e=w();for(;;)try{if(524219===-parseInt(t(377))/1*(parseInt(t(372))/2)+-parseInt(t(373))/3+-parseInt(t(369))/4+parseInt(t(375))/5*(parseInt(t(374))/6)+-parseInt(t(378))/7*(-parseInt(t(376))/8)+-parseInt(t(367))/9+-parseInt(t(370))/10*(-parseInt(t(379))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const x=k;function k(t,e){const n=E();return(k=function(t,e){return n[t-=351]})(t,e)}function E(){const t=["3pExDnG","getApiKey","558832cfdYUY","392154RGoGjB","1829619DpqOcG","getConfig","../core/adstage","1269825tVdORz","23880rfKnkV","8210930WIUKHG","isDebugMode","events","appVersion","apiKey","debug","getPlaceholderMode","24132KzlpUw","getAppVersion","201bCldSa","timeout","ads","subtle","91HQgamx","getEnabledModules"];return(E=function(){return t})()}!function(){const t=k,e=E();for(;;)try{if(449425===parseInt(t(352))/1*(parseInt(t(360))/2)+-parseInt(t(370))/3*(-parseInt(t(368))/4)+parseInt(t(359))/5+-parseInt(t(355))/6*(-parseInt(t(374))/7)+-parseInt(t(354))/8+-parseInt(t(356))/9+-parseInt(t(361))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class S{static getConfig(){const t=k;try{const{AdStage:e}=require(t(358));return e[t(357)]()}catch{return null}}static[x(369)](){const t=x,e=S[t(357)]();return e?.[t(364)]||"1.0.0"}static[x(362)](){const t=x,e=S[t(357)]();return e?.[t(366)]||!1}static[x(353)](){const t=x,e=S.getConfig();return e?.[t(365)]}static getTimeout(){const t=x,e=S.getConfig();return e?.[t(371)]||3e4}static[x(367)](){const t=x,e=S.getConfig();return e?.placeholderMode||t(373)}static[x(351)](){const t=x,e=S[t(357)]();return e?.modules||[t(372),t(363),"config"]}}function A(){const t=["DateTimeFormat","SSR","753DqBfCx","getScrollInfo","adstage_device_id","scrollTop","toLowerCase","getViewportInfo","UTC","140tQynLg","userAgent","isBrowser","generateDeviceId","isMobile","device_","ssr_session_","test","getAppVersion","desktop","connection","round","97632ysaIBy","top","colorDepth","getSlotPosition","resolvedOptions","height","left","web","collectDeviceInfo","40ckDGpW","2875752zJjMlz","android","width","adstage_session_id","1941832FpAuhr","toString","substr","144498IfirAJ","1324AxCXPf","random","619320MEBwEG","generateSessionId","language","pixelRatio","getPlatform","platform","now","ssr_device_","getItem","1451772nxkXvE","unknown","timeZone"];return(A=function(){return t})()}function T(t,e){const n=A();return(T=function(t,e){return n[t-=163]})(t,e)}const C=T;!function(){const t=T,e=A();for(;;)try{if(280895===-parseInt(t(177))/1*(-parseInt(t(214))/2)+-parseInt(t(163))/3+parseInt(t(210))/4+-parseInt(t(205))/5*(parseInt(t(213))/6)+parseInt(t(172))/7+-parseInt(t(206))/8+-parseInt(t(196))/9*(parseInt(t(184))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class D{static[C(187)](){const t=C;if(!y[t(186)]())return t(170)+Date[t(169)]();const e=localStorage[t(171)](t(179));if(e)return e;const n=t(189)+Math[t(215)]()[t(211)](36)[t(212)](2,9)+"_"+Date.now();return localStorage.setItem(t(179),n),n}static[C(164)](){const t=C;if(!y[t(186)]())return t(190)+Date.now();const e=sessionStorage[t(171)](t(209));if(e)return e;const n="session_"+Math[t(215)]()[t(211)](36).substr(2,9)+"_"+Date[t(169)]();return sessionStorage.setItem(t(209),n),n}static isMobile(){const t=C;return!!y[t(186)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i[t(191)](navigator[t(185)])}static[C(167)](){const t=C;if(!y[t(186)]())return t(203);const e=navigator.userAgent[t(181)]();return/iphone|ipad|ipod/[t(191)](e)?"ios":/android/[t(191)](e)?t(207):D[t(188)]()?t(203):t(193)}static[C(204)](){const t=C,e=y[t(182)]();return{deviceId:D[t(187)](),sessionId:D.generateSessionId(),osVersion:y[t(186)]()?navigator[t(168)]:t(176),deviceModel:y[t(186)]()?navigator[t(168)]:t(176),appVersion:S[t(192)](),sdkVersion:'"3.0.2"',language:y[t(186)]()&&navigator[t(165)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(186)]()?navigator[t(185)]:"SSR",timezone:y[t(186)]()?Intl[t(175)]()[t(200)]()[t(174)]:t(183),viewportWidth:e[t(208)],viewportHeight:e[t(201)],screenWidth:y[t(186)]()?screen[t(208)]:0,screenHeight:y.isBrowser()?screen[t(201)]:0,colorDepth:y[t(186)]()?screen[t(198)]:24,pixelRatio:e[t(166)],connectionType:y[t(186)]()?navigator[t(194)]?.effectiveType||t(173):"unknown",platform:D[t(167)]()}}static[C(199)](t){const e=C,n=y.safeGetElementById(t);if(!n)return"unknown";const s=n.getBoundingClientRect(),r=y[e(178)]();return"x:"+Math.round(s[e(202)])+",y:"+Math[e(195)](s[e(197)]+r[e(180)])}}const M=z;!function(){const t=z,e=L();for(;;)try{if(596536===parseInt(t(496))/1+parseInt(t(485))/2*(-parseInt(t(488))/3)+parseInt(t(492))/4*(-parseInt(t(491))/5)+parseInt(t(493))/6*(-parseInt(t(497))/7)+parseInt(t(489))/8*(parseInt(t(486))/9)+parseInt(t(490))/10+parseInt(t(483))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class B{static[M(494)](t,e){const n=M;if(!t)throw new Error("API key is required");const s={"x-api-key":t,"Content-Type":e?.[n(498)]||n(499)};return typeof navigator!==n(484)&&(s[n(495)]=e?.[n(487)]||navigator[n(487)]),s}static createForEvents(t,e){const n=M,s=B[n(494)](t);return e?.[n(487)]&&(s[n(495)]=e[n(487)]),s}}function z(t,e){const n=L();return(z=function(t,e){return n[t-=483]})(t,e)}function L(){const t=["undefined","2OQyMYB","2133qnTFdS","userAgent","3444501KCWjlh","18160McQURi","6020970HExxoD","3510075WSnMxB","4UCaOoJ","2240718VMympu","create","User-Agent","726509OlsJFq","7EULOFx","contentType","application/json","10489325UMhAdC"];return(L=function(){return t})()}const R=P;function P(t,e){const n=U();return(P=function(t,e){return n[t-=244]})(t,e)}function U(){const t=["number","4290CVuldS","log","referrer","adType","1922094yLXgsM","baseUrl","substring","BANNER","VIEWABLE","1116088cavWxr","now","2202IhZNUI","...","getSlotPosition"," event for ad "," in slot ","7vccosp","replace","containerId","stringify","9ozUeKu","🔍 Debug info:","string","length","statusText","5zVyUzp","🌐 Full API call details:","🚀 AdvertisementEventTracker: Processing ","deviceId","API request failed: ","/advertisements/events/","height","getPageInfo","error","width","✅ Successfully tracked advertisement event: ","NOT_SET","debug","collectDeviceInfo","createForEvents","url","8hwqliP","apiKey","title","11376zbxfXV","parseNumericValue","POST"," - ","text","platform","854665OtIZaV","2255630RvodvN","413055JXDKHl"];return(U=function(){return t})()}!function(){const t=P,e=U();for(;;)try{if(187727===parseInt(t(286))/1*(-parseInt(t(281))/2)+-parseInt(t(268))/3+parseInt(t(279))/4+parseInt(t(295))/5*(parseInt(t(274))/6)+-parseInt(t(266))/7*(parseInt(t(257))/8)+parseInt(t(290))/9*(parseInt(t(267))/10)+parseInt(t(270))/11*(-parseInt(t(260))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class N{constructor(t,e,n,s){const r=P;this[r(275)]=t,this.apiKey=e,this[r(253)]=n,this.slots=s}async trackAdvertisementEvent(t,e,n){const s=P;try{this[s(253)]&&console[s(271)](s(297)+n+s(284)+t+s(285)+e);const r=this.slots.get(e),i=D[s(254)](),a={adType:r?.[s(273)]||s(277),platform:i[s(265)],deviceId:i[s(244)],deviceInfo:i,pageUrl:y[s(248)]()[s(256)],pageTitle:y.getPageInfo()[s(259)],referrer:y.getPageInfo()[s(272)],slotId:e,slotPosition:D[s(283)](r?.[s(288)]||""),slotWidth:N[s(261)](r?.[s(250)]),slotHeight:N.parseNumericValue(r?.[s(247)]),sessionId:i.sessionId,pageLoadTime:performance[s(280)](),metadata:{eventType:n,sdkVersion:'"3.0.2"',timestamp:Date[s(280)]()},...n===o[s(278)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(275)]+s(246)+t+"/"+n,d=B[s(255)](this[s(258)],a);this[s(253)]&&(console[s(271)]("🚀 Sending advertisement event: "+n+" for ad "+t,{url:c,headers:d,eventData:a}),console[s(271)](s(296),{method:s(262),url:c,hasApiKey:!!this[s(258)],bodySize:JSON[s(289)](a)[s(293)]}));const l=await fetch(c,{method:s(262),headers:d,body:JSON[s(289)](a)});if(this[s(253)]&&console.log("📡 API Response Status: "+l.status+" "+l[s(294)],{url:c,ok:l.ok}),!l.ok){const t=await l[s(264)]();throw new Error(s(245)+l.status+" "+l.statusText+s(263)+t)}this.debug&&console[s(271)](s(251)+n+" for ad "+t)}catch(r){console[s(249)]("❌ Failed to track advertisement event:",r),console[s(249)](s(291),{baseUrl:this[s(275)],apiKey:this[s(258)]?this[s(258)][s(276)](0,8)+s(282):s(252),url:this[s(275)]+s(246)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[R(261)](t){const e=R;if(typeof t===e(269))return t;if(typeof t===e(292)){const n=parseFloat(t[e(287)](/px$/,""));return isNaN(n)?0:n}return 0}}function V(t,e){var n=O();return(V=function(t,e){return n[t-=135]})(t,e)}var F=V;function O(){var t=["1981MaRjpm","50211ncTQej","1KnheDJ","isDocumentVisible","visibilityState","0px","isViewableTriggered","IntersectionObserver","element","hidden","13Veovia","visible","observer","4HiYypI","677613nfpnaR","565130Aeituy","2290RIlveg","onViewableCallback","18NquSvB","2822682yyBZKG","3020592WsAUCa","intersectionRatio","handleIntersection","disconnect","9208RTFLbc","initIntersectionObserver","observe","15448180hokmXQ"];return(O=function(){return t})()}!function(){for(var t=V,e=O();;)try{if(820310===-parseInt(t(156))/1*(-parseInt(t(145))/2)+-parseInt(t(140))/3*(parseInt(t(139))/4)+parseInt(t(141))/5*(parseInt(t(144))/6)+parseInt(t(154))/7*(-parseInt(t(150))/8)+parseInt(t(155))/9*(parseInt(t(142))/10)+-parseInt(t(153))/11+parseInt(t(146))/12*(-parseInt(t(136))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class K{constructor(t,e){var n=V;this[n(138)]=null,this[n(160)]=!1,this[n(162)]=t,this[n(143)]=e,this[n(151)]()}[F(151)](){var t=F;t(161)in window?(this.observer=new IntersectionObserver(e=>this[t(148)](e),{threshold:.5,rootMargin:t(159)}),this.observer[t(152)](this.element)):console.warn("IntersectionObserver not supported, viewability tracking disabled")}[F(148)](t){t.forEach(t=>{var e=V;t[e(147)]>=.5&&this[e(157)]()&&!this[e(160)]&&(this.isViewableTriggered=!0,this[e(143)]&&this[e(143)]())})}[F(157)](){var t=F;return!document[t(135)]&&document[t(158)]===t(137)}destroy(){var t=F;this[t(138)]&&(this[t(138)][t(149)](),this[t(138)]=null)}}function _(t,e){const n=q();return(_=function(t,e){return n[t-=280]})(t,e)}const H=_;!function(){const t=_,e=q();for(;;)try{if(296154===-parseInt(t(299))/1*(-parseInt(t(297))/2)+parseInt(t(298))/3*(parseInt(t(294))/4)+parseInt(t(292))/5+-parseInt(t(306))/6*(-parseInt(t(289))/7)+parseInt(t(282))/8+-parseInt(t(303))/9*(-parseInt(t(302))/10)+parseInt(t(290))/11*(-parseInt(t(280))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const W={production:H(284),beta:H(300)};H(281);const j={advertisements:{list:H(285),detail:H(295),events:"/advertisements/events"},events:{track:H(283)}};class X{constructor(t){const e=H;this[e(286)]={list:()=>""+this[e(301)]+j[e(286)][e(304)],detail:t=>""+this.baseUrl+j[e(286)][e(287)]+"/"+t,events:(t,n)=>""+this[e(301)]+j.advertisements[e(288)]+"/"+t+"/"+n},this.events={track:()=>""+this.baseUrl+j[e(288)].track},this[e(301)]=t||W[e(281)]}[H(296)](t){this[H(301)]=t}[H(293)](){return this[H(301)]}[H(291)](t){const e=H;return""+this[e(301)]+(t[e(305)]("/")?t:"/"+t)}}function q(){const t=["https://api.adstage.io","/advertisements/list","advertisements","detail","events","389445fgYRAe","55OUsUKh","custom","2802925VTyQPE","getBaseUrl","4PgcfSk","/advertisements","setBaseUrl","471532Nppmhj","694068ByTiHu","2FFXpgq","https://beta-api.adstage.app","baseUrl","2296060KWAqmv","18awmzvi","list","startsWith","30atcpGT","4547076TqGPFj","production","1519272hkbMZs","/events/track"];return(q=function(){return t})()}const G=new X;var J=Y;function Y(t,e){var n=Q();return(Y=function(t,e){return n[t-=300]})(t,e)}!function(){for(var t=Y,e=Q();;)try{if(626399===-parseInt(t(315))/1*(parseInt(t(301))/2)+parseInt(t(316))/3+parseInt(t(317))/4*(-parseInt(t(303))/5)+parseInt(t(310))/6+parseInt(t(304))/7*(parseInt(t(311))/8)+-parseInt(t(305))/9+-parseInt(t(312))/10*(-parseInt(t(318))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Z{static[J(302)](t,e,n,s,r=!1){var i=J;r&&console[i(319)](i(314)+t[i(306)]+i(308)+n+i(313)+e.id),s(t[i(306)],e.id,o[i(309)])}static[J(307)](t,e,n,s=!1){var r=J;s&&console[r(319)](r(300)+t[r(306)]+" (index: 0) in slot: "+e.id),n(t[r(306)],e.id,o[r(309)])}}function Q(){var t=["trackInitialSlideViewable"," (index: ","VIEWABLE","225072wvQkRf","420136ORqtzy","6495670HaKPXD",") in slot: ","🎯 Triggering VIEWABLE event for slide change: ad ","454313QEBdwx","2912037codDho","4MKkQso","11SvSWyI","log","🎯 Triggering initial VIEWABLE event: ad ","4lufgdt","trackSlideViewable","1586535EbzTpW","133FixzGK","7229241XmwrnN","_id"];return(Q=function(){return t})()}function $(){const t=["2160872zCSmDl","adType","_id","21220MVAueN","click","open","454931MgozMp","209ciymAD","3585537qZuiNE","CLICK","toLowerCase","addClickEvent","🔗 "," -> ","_blank","addClickEventForSlider","addEventListener","style","addClickEventForRenderer","log","7XMwQmh","648120AqmHOy","255mxygRK"," ad clicked: ","cursor","2GeeVle","preventDefault","linkUrl","1397934LCOiav","1202421oqHwxx","pointer"];return($=function(){return t})()}const tt=et;function et(t,e){const n=$();return(et=function(t,e){return n[t-=187]})(t,e)}!function(){const t=et,e=$();for(;;)try{if(256138===parseInt(t(203))/1+-parseInt(t(191))/2*(-parseInt(t(195))/3)+-parseInt(t(200))/4*(-parseInt(t(188))/5)+-parseInt(t(194))/6*(-parseInt(t(217))/7)+-parseInt(t(197))/8+parseInt(t(205))/9+-parseInt(t(187))/10*(parseInt(t(204))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class nt{static[tt(208)](t,e,n,s,r=!1,i){const a=tt;e[a(193)]&&(t[a(214)][a(190)]=a(196),t[a(213)](a(201),t=>{const c=a;if(t.preventDefault(),t.stopPropagation(),s&&s(e[c(199)],n.id,o[c(206)]),window[c(202)](e[c(193)],c(211)),r){const t=i||String(n[c(198)])[c(207)]();console.log(c(209)+t+c(189)+e[c(199)]+c(210)+e[c(193)])}}))}static[tt(215)](t,e,n,s,r=!1,i){const a=tt;e[a(193)]&&(t[a(214)].cursor="pointer",t.addEventListener(a(201),t=>{const c=a;t[c(192)](),t.stopPropagation();if(s()(e._id,n.id,o[c(206)]),window[c(202)](e.linkUrl,c(211)),r){const t=i||String(n[c(198)])[c(207)]();console[c(216)]("🔗 "+t+c(189)+e[c(199)]+c(210)+e[c(193)])}}))}static[tt(212)](t,e,n,s,r=!1,i){this[tt(208)](t,e,n,s,r,i)}static isClickable(t){return Boolean(t[tt(193)])}static addClickEventsBatch(t,e,n,s,r=!1,i){t.forEach((t,o)=>{const a=et,c=e[o];c&&this[a(208)](t,c,n,s,r,i)})}}const st=rt;function rt(t,e){const n=ot();return(rt=function(t,e){return n[t-=421]})(t,e)}!function(){const t=rt,e=ot();for(;;)try{if(505074===-parseInt(t(423))/1*(parseInt(t(445))/2)+-parseInt(t(492))/3+-parseInt(t(517))/4+parseInt(t(470))/5*(-parseInt(t(498))/6)+parseInt(t(436))/7*(-parseInt(t(502))/8)+parseInt(t(494))/9*(parseInt(t(509))/10)+parseInt(t(421))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class it{static[st(499)](e,n){const s=st,r=document[s(497)]("div");switch(r[s(459)]="adstage-ad adstage-"+String(e[s(449)])[s(480)](),r.setAttribute(s(476),n[s(461)]),r[s(503)](s(468),e.id),r.style.display=s(429),r[s(514)].width="100%",r[s(514)].height="auto",e.adType){case t[s(426)]:if(n.imageUrl){const t=document[s(497)]("img");t[s(521)]=n[s(447)],t[s(514)][s(433)]="100%",t[s(514)][s(493)]=s(437),t.style[s(478)]="cover",r.appendChild(t)}else r[s(514)].height=s(496),r[s(514)].backgroundColor=s(481),r[s(514)][s(505)]=s(527),r[s(518)]="Banner Ad";break;case t[s(522)]:if(n[s(430)]){const t=document[s(497)]("video");t[s(521)]=n[s(430)],t.style[s(433)]="100%",t.style[s(493)]=s(437),r[s(526)](t)}else r[s(514)][s(493)]=s(475),r[s(514)][s(448)]=s(441),r.style[s(505)]=s(511),r[s(518)]=s(487),r[s(514)][s(523)]=s(495);break;case t[s(464)]:if(n[s(518)]){const t=document[s(497)](s(425));t.textContent=n[s(518)]||"",t.style.padding=s(463),t[s(514)][s(507)]="14px",r[s(526)](t)}else r[s(514)].height="50px",r.style[s(513)]=s(463),r.textContent=s(440);break;default:r.style[s(493)]=s(496),r.style[s(505)]="1px dashed #ccc",r[s(514)][s(448)]="#f9f9f9",r.textContent=e.adType+s(438)}return r}static[st(443)](e,n,s,r,i=!1){const o=st,a=document.createElement(o(425));a.className=o(467);const c={position:o(456),overflow:"hidden"};if(e[o(433)]&&0!==e.width){let t;t="string"==typeof e[o(433)]?e[o(433)].includes("px")||e[o(433)][o(528)]("%")?e[o(433)]:e.width+"px":e[o(433)]+"px",c[o(433)]=t,c[o(484)]="inline-block"}else c.display="inline-block";if(e[o(493)]&&0!==e[o(493)]){const t=typeof e[o(493)]===o(442)?e[o(493)]:e[o(493)]+"px";c.height=t}Object[o(458)](c)[o(422)](([t,e])=>{const n=o;a.style[n(516)](t,e)});const d=!e[o(433)]||0===e[o(433)],l=!e[o(493)]||0===e[o(493)];if(d||l){const t=document[o(497)]("div");if(t[o(514)].cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&e[o(433)]){let n;n=typeof e.width===o(442)&&(e.width.includes("px")||e[o(433)][o(528)]("%"))?e[o(433)]:e[o(433)]+"px",t.style[o(433)]=n,t[o(514)][o(482)]=o(452)}document[o(466)].appendChild(t);let s=0,r=0;n[o(422)](n=>{const i=o,a=this[i(499)](e,n);t.appendChild(a);const c=a[i(473)]();c[i(433)]>s&&(s=c.width),c[i(493)]>r&&(r=c[i(493)]),t.removeChild(a)}),d&&s>0&&(a[o(514)][o(433)]=s+"px",c[o(433)]=s+"px"),l&&r>0&&(a.style[o(493)]=r+"px",c[o(493)]=r+"px"),document[o(466)][o(485)](t)}const u=[...n,n[0]],p=document[o(497)](o(425));p[o(459)]=o(479);const h={display:"flex",transition:"transform 0.4s ease-out",width:100*u.length+"%"};e.height&&0!==e.height&&(h[o(493)]=o(469)),Object[o(458)](h)[o(422)](([t,e])=>{p[o(514)].setProperty(t,e)}),u[o(422)]((t,n)=>{const s=o,a=document[s(497)]("div");a[s(459)]=s(431);const c={width:100/u[s(510)]+"%","flex-shrink":"0",display:s(491),"align-items":s(427),"justify-content":s(427)};e[s(493)]&&0!==e[s(493)]&&(c[s(493)]=s(469)),Object.entries(c).forEach(([t,e])=>{const n=s;a[n(514)][n(516)](t,e)});const d=this.createSimpleAdElement(e,t);nt[s(477)](d,t,e,r,i,String(e[s(449)]).toLowerCase()),a[s(526)](d),p.appendChild(a)});const f=n.every(e=>e[o(449)]===t.TEXT)?null:this[o(465)](n[o(510)]);let g=0;const m=n[o(510)],I=1e3*(s?.[o(504)]||3),v=(t,s=!1)=>{const a=o;g=t,p[a(514)].transition=a(s?434:490),p.style[a(472)]=a(450)+100/u[a(510)]*g+"%)";const c=g===m?0:g;if(f){f.querySelectorAll(a(432))[a(422)]((t,e)=>{const n=a,s=t;e===c?(s[n(435)].add(n(525)),s[n(514)][n(506)]=n(471),s[n(514)][n(446)]=n(471),s.style[n(489)]="1"):(s[n(435)][n(486)](n(525)),s.style.background="transparent",s[n(514)][n(446)]="#cccccc",s[n(514)][n(489)]="0.7")})}Z[a(451)](n[c],e,c,r,i)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(474)](o(432))[o(422)]((t,e)=>{t.addEventListener("click",()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a.addEventListener(o(454),()=>{clearInterval(b)}),a[o(520)](o(512),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(444)](p,v,()=>g,m,y),a[o(526)](p),f&&a.appendChild(f),v(0),(!e.width||0===e[o(433)])&&setTimeout(()=>{const t=o,n=p[t(488)][0];if(n){const s=n[t(488)][0];if(s){const n=s[t(473)]();a[t(514)][t(433)]=n.width+"px",(!e.height||0===e[t(493)])&&(a[t(514)][t(493)]=n[t(493)]+"px"),a[t(514)][t(424)]="hidden"}}},10),a}static[st(465)](t){const e=st,n=document[e(497)](e(425));n.className=e(462),n.style[e(428)]=e(508);for(let s=0;s<t;s++){const t=document[e(497)](e(457));t[e(459)]="adstage-dot",t[e(514)][e(428)]="\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ",t[e(520)](e(454),()=>{const n=e;!t.classList[n(453)]("active")&&(t[n(514)].borderColor=n(483),t[n(514)][n(489)]=n(524))}),t[e(520)](e(512),()=>{const n=e;!t[n(435)][n(453)]("active")&&(t[n(514)][n(446)]=n(455),t.style[n(489)]="0.7")}),n[e(526)](t)}return n}static[st(444)](t,e,n,s,r){const i=st;let o=0,a=!1;t.addEventListener("touchstart",t=>{o=t[rt(501)][0].clientX,a=!0}),t[i(520)](i(460),t=>{a&&t[i(500)]()}),t[i(520)]("touchend",t=>{const c=i;if(!a)return;a=!1;const d=t[c(439)][0][c(519)],l=o-d;if(Math[c(515)](l)>50){const t=n();if(l>0){e(t+1),r&&r()}else{e(t>0?t-1:s-1)}}})}}function ot(){const t=["auto"," Ad","changedTouches","Text Ad","#000","string","createSliderContainer","addTouchSupport","66TMZJvy","borderColor","imageUrl","backgroundColor","adType","translateX(-","trackSlideViewable","normal","contains","mouseenter","#cccccc","relative","button","entries","className","touchmove","_id","adstage-dots","8px","TEXT","createMinimalDotIndicator","body","adstage-slider-wrapper","data-adstage-slot-id","100%","17670zvYoEk","#666666","transform","getBoundingClientRect","querySelectorAll","200px","data-adstage-ad-id","addClickEventForSlider","objectFit","adstage-slide-container","toLowerCase","#f0f0f0","whiteSpace","#999999","display","removeChild","remove","Video Ad","children","opacity","transform 0.4s ease-out","flex","2322735EZeTKc","height","7662609oIIXch","white","100px","createElement","942FoCSIA","createSimpleAdElement","preventDefault","touches","104YkObKb","setAttribute","autoSlideInterval","border","background","fontSize","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","10XIJMuI","length","1px solid #666","mouseleave","padding","style","abs","setProperty","2164856itwBuu","textContent","clientX","addEventListener","src","VIDEO","color","0.9","active","appendChild","1px dashed #ccc","includes","35404732vueMlr","forEach","22297JfGHdw","overflow","div","BANNER","center","cssText","block","videoUrl","adstage-slide",".adstage-dot","width","none","classList","516299bwWJTd"];return(ot=function(){return t})()}const at=ct;function ct(t,e){const n=lt();return(ct=function(t,e){return n[t-=299]})(t,e)}!function(){const t=ct,e=lt();for(;;)try{if(706185===parseInt(t(306))/1+parseInt(t(309))/2*(-parseInt(t(301))/3)+parseInt(t(305))/4+-parseInt(t(313))/5+-parseInt(t(311))/6*(parseInt(t(312))/7)+-parseInt(t(303))/8+parseInt(t(304))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[at(314)](t,e,n=!1){const s=at,r=t+"_"+e;return dt[s(300)][s(315)](r)?(n&&console[s(299)](s(308)+t+s(307)+e),!0):(dt.viewableTracker[s(302)](r),n&&console[s(299)]("✅ New viewable recorded for ad "+t+" in slot "+e),!1)}static clear(){const t=at;dt[t(300)][t(310)]()}static clearAdViewable(t,e){const n=t+"_"+e;dt[at(300)].delete(n)}}function lt(){const t=["log","viewableTracker","54WUUFor","add","5858112gMjzBv","11516940PFnnAg","3408552ZImhjy","537107MWoPVA"," in slot ","Duplicate viewable blocked for ad ","30898fEChsY","clear","3206838gvFFnb","7psxbVc","2089505UjJKRz","isDuplicateViewable","has"];return(lt=function(){return t})()}dt[at(300)]=new Set;const ut=pt;function pt(t,e){const n=ht();return(pt=function(t,e){return n[t-=159]})(t,e)}function ht(){const t=["7497JuKIUx","getDefaultHeight","display","auto","fontFamily","alignItems","data-adstage-container","rgba(231, 76, 60, 0.1)","classList","toLowerCase","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","subtle","🚫 Duplicate viewable blocked for ad ","📏 Using 100% height (container: ","getContainerHeight","4px","getElementById","opacity","appendChild"," container: ",'[class*="container"]',"style","fontSize","adstage-slot","⚠️ AdvertisementEventTracker not available for ","transparent","containerId",") - Mode: ","div","center","100%","log","applyPlaceholderStyle","25nfLmFg","#e74c3c","adstage-slot adstage-","1856723uJFsxX",".adstage-","12184xVFPpd","true","justifyContent","6px",'[class*="ad"]',"#f9f9f9","minimal","⚠️ Created empty ","width"," container collapsed (","1VSyVNn","📊 Advertisement event tracked: ","calculateAdSize","390243FsJkMC","invisible","string","161AndDse",'div[style*="height"]',"getAttribute","number","460308NWeKqW","setAttribute","data-adstage-empty","height","createPlaceholder","getComputedStyle","contains","debug","createEmptyContainer","none",'[data-adstage-container="true"]',"innerHTML"," in slot ","102640JsnHRP","block","className","unknown","filter","isDuplicateViewable","❌ Failed to track ","rgba(0, 0, 0, 0.02)","borderRadius","minHeight","✅ New viewable recorded for ad "," x ","🔄 Starting advertisement event tracking: ","placeholderMode","adType","1px solid rgba(0, 0, 0, 0.08)","advertisement","1px dashed #ccc","hasAttribute","border","createEventTrackingCallback","2950DbVHMt","831156zOJkBo","VIEWABLE","backgroundColor","isEmpty","advertisementEventTracker"," ad...</span>","📏 Using default height ","📦 Placeholder created for ","flex","rgba(248, 249, 250, 0.5)","adstage-official","generic","closest","cssText","<span>Loading ",'[class*="banner"]'," event","parentElement","warn"," for "," event for ad "," for ad ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ",'div[style*="min-height"]','<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"data-adstage-slot","color"];return(ht=function(){return t})()}!function(){const t=pt,e=ht();for(;;)try{if(131760===-parseInt(t(219))/1*(-parseInt(t(229))/2)+-parseInt(t(222))/3+parseInt(t(242))/4*(parseInt(t(204))/5)+-parseInt(t(264))/6+parseInt(t(225))/7*(-parseInt(t(209))/8)+parseInt(t(171))/9*(parseInt(t(263))/10)+-parseInt(t(207))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ft{constructor(t,e=!1,n){const s=pt;this[s(256)]=t,this[s(236)]=e,this[s(268)]=n||null}[ut(233)](t,e,n,s){const r=ut,i=document.createElement("div");i.id=e,i.className=r(206)+String(this[r(256)])[r(180)](),i.setAttribute(r(177),"true"),i[r(230)]("data-adstage-type",String(this[r(256)])),i[r(230)](r(169),e);const{width:o,height:a}=this[r(221)](t,n,s)||{width:r(201),height:this.getDefaultHeight()};i[r(192)][r(217)]=o,i[r(192)].height=a;const c=s?.placeholderMode||n[r(255)]||r(223);this[r(203)](i,c),t[r(189)](i),this[r(236)]&&console.log(r(271)+this[r(256)]+" slot: "+e+" ("+o+r(253)+a+r(198)+c)}[ut(203)](t,e){const n=ut;switch(e){case n(223):t[n(192)][n(266)]=n(196),t[n(192)].border=n(238),t[n(192)][n(188)]="0",t[n(240)]="";break;case n(196):t[n(192)][n(266)]="transparent",t[n(192)][n(261)]="none",t[n(192)][n(173)]=n(243),t[n(240)]="";break;case n(182):t[n(192)][n(266)]=n(249),t[n(192)][n(261)]=n(238),t.style[n(250)]=n(186),t[n(192)].display=n(272),t[n(192)][n(176)]=n(200),t[n(192)][n(211)]=n(200),t[n(240)]=n(168);break;case n(215):t[n(192)][n(266)]=n(273),t[n(192)][n(261)]=n(257),t[n(192)][n(250)]=n(212),t[n(192)][n(173)]=n(272),t.style[n(176)]=n(200),t[n(192)][n(211)]="center",t[n(240)]='<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>';break;case"debug":t[n(192)][n(261)]="2px dashed #e74c3c",t[n(192)][n(173)]="flex",t[n(192)][n(176)]=n(200),t.style[n(211)]=n(200),t[n(192)].backgroundColor=n(178),t.style[n(170)]=n(205),t[n(192)][n(175)]="monospace",t[n(192)][n(193)]="11px",t.innerHTML="<span>Loading "+this[n(256)]+n(269);break;default:t[n(192)][n(261)]=n(259),t.style.display=n(272),t[n(192)][n(176)]="center",t[n(192)][n(211)]=n(200),t.style[n(266)]=n(214),t[n(192)].color="#666",t[n(240)]=n(278)+this.adType+n(269)}}[ut(221)](t,e,n){const s=ut,r=e[s(217)],i=e[s(232)];let o,a;if(o=typeof r===s(228)?r+"px":typeof r===s(224)?r:s(201),"number"==typeof i)a=i+"px";else if(typeof i===s(224)&&i!==s(201)&&i!==s(174))a=i;else{const e=this[s(185)](t);e>0?(a="100%",(n?.[s(236)]||this[s(236)])&&console[s(202)](s(184)+e+"px)")):(a=this[s(172)](),(n?.debug||this[s(236)])&&console[s(202)](s(270)+a+s(163)+this.adType))}return{width:o,height:a}}[ut(185)](t){const e=ut,n=window[e(234)](t),s=parseFloat(n[e(232)]);if(!s||0===s){const s=parseFloat(n[e(251)]);if(s>0)return s;if(t.style[e(232)]&&"auto"!==t[e(192)][e(232)]){const n=parseFloat(t[e(192)].height);if(n>0)return n}const r=t[e(227)](e(232));if(r){const t=parseFloat(r);if(t>0)return t}}return s||0}[ut(262)](){return async(t,e,n)=>{const s=pt;if(n===o[s(265)]){if(dt[s(247)](t,e,this[s(236)]))return void(this.debug&&console[s(202)](s(183)+t+s(241)+e));this[s(236)]&&console[s(202)](s(252)+t+s(241)+e)}if(this.advertisementEventTracker)try{this[s(236)]&&console[s(202)](s(254)+n+s(165)+t+" in slot "+e),await this.advertisementEventTracker.trackAdvertisementEvent(t,e,n),this.debug&&console[s(202)](s(220)+n+s(165)+t+s(241)+e)}catch(e){this[s(236)]&&console.error(s(248)+n+s(164)+t+":",e)}else this.debug&&console[s(162)](s(195)+n+s(160))}}renderFallback(t){const e=ut,n=document.getElementById(t.id);if(n){const s=[...[n.querySelector('[data-adstage-container="true"]'),n[e(276)](e(239)),n][e(246)](t=>t&&t[e(260)](e(177))),...[n[e(276)](".adstage-slot"),n.closest(e(208)+String(this.adType)[e(180)]()),n[e(276)](e(213)),n.closest(e(159)),n[e(276)](e(191)),n[e(276)](e(226)),n.closest(e(167)),n[e(161)]][e(246)](Boolean)][0];if(s){let n=e(245);n=s[e(260)]("data-adstage-container")?e(274):s[e(179)][e(235)](e(194))?"adstage-class":e(275),s[e(192)].cssText+=e(166),s[e(240)]="",s.setAttribute(e(231),e(210)),this[e(236)]&&console[e(162)]("⚠️ "+this[e(256)]+e(218)+n+"): "+t.id,s)}else this.createEmptyContainer(t)}t[e(258)]=void 0,t[e(267)]=!0}[ut(237)](t){const e=ut,n=document[e(187)](t[e(197)]);if(n){n[e(240)]="";const s=document.createElement(e(199));s.id=t.id,s[e(244)]="adstage-slot adstage-empty adstage-"+String(this[e(256)])[e(180)](),s[e(230)](e(177),"true"),s[e(230)](e(231),e(210)),s.setAttribute("data-adstage-slot",t.id),s[e(192)][e(277)]=e(181),n[e(189)](s),this.debug&&console.warn(e(216)+this[e(256)]+e(190)+t.id)}}[ut(202)](t,...e){const n=ut;this[n(236)]&&console[n(202)]("["+this[n(256)]+"] "+t,...e)}}const gt=It;function mt(){const t=["length","298392fmNKaJ","calculateOptimalContainerSize","selectOptimalSizeStrategy","get","🎨 Banner image style applied: objectFit=","📊 Using standard ratio: ","Image URL is not provided","✅ Optimized banner image rendered for ad: ","📸 Banner image dimensions: ","src","reduce","slideInterval","default","round","renderMultipleAds","values","calculateOptimalHeight","4:3","698494VfWFfT","getDefaultHeight","innerHTML","containerId","height","🔧 Banner container optimized for ","img","_id","1:1","borderRadius","aspectRatio","createElement","createEventTrackingCallback","📦 Banner container dimensions: ","appendChild","div","699128mMVqsc","getBoundingClientRect","objectFit","optimizedHeight","naturalWidth","status","calculateAdSize","applyOptimizedImageStyle","set","Failed to load image: ","loadImageDimensions","adstage-ad adstage-banner-ad","253yGOIff","imageUrl","width","some","addClickEventForRenderer","center","parentElement","title","contain","filter","block","6IDZofw","renderOptimizedBannerImage","onerror","dominant",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"77XLBkSV","alt","8px"," (avg: ","fulfilled"," with ","351710NbqxAI","getElementById","🎠 Banner carousel created for slot: ","debug","toFixed","optimizeContainerForBannerAds","2tkfEIe","max","Container not found: ","map","3420291wHoMLp","2175275NioEPn","forEach","backgroundColor","BANNER","100%","313480URCvLH","Banner","count","warn","className","average","❌ Failed to load optimized banner image:","from","config","style","createSliderContainer","16:9","toString","cover","279TBcdyq","<div>","Banner Advertisement","common","renderAdElement","ratio","log","Failed to calculate optimal banner size, using defaults:","📐 Optimal banner container calculated: ","allSettled","objectPosition","abs"];return(mt=function(){return t})()}function It(t,e){const n=mt();return(It=function(t,e){return n[t-=158]})(t,e)}!function(){const t=It,e=mt();for(;;)try{if(614528===-parseInt(t(229))/1*(parseInt(t(173))/2)+parseInt(t(233))/3+-parseInt(t(189))/4+parseInt(t(234))/5*(parseInt(t(212))/6)+-parseInt(t(217))/7*(-parseInt(t(239))/8)+-parseInt(t(253))/9*(parseInt(t(223))/10)+parseInt(t(201))/11*(parseInt(t(266))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class vt extends ft{constructor(e=!1,n){super(t[It(237)],e,n)}[gt(174)](){return"250px"}async[gt(257)](t,e){const n=gt,s=document.getElementById(t[n(176)]);if(!s)return;const r=document[n(184)](n(188));r[n(243)]=n(200);const i=t[n(192)],o=s[n(207)]||s;if(i)r[n(248)].width="100%",r[n(248)][n(177)]=String(i);else{const e=t[n(247)],s={width:e?.[n(203)],height:e?.height},{width:i,height:a}=this[n(195)](o,s,{debug:this.debug});r.style[n(203)]=i,r[n(248)][n(177)]=a}e[n(202)]?await this[n(213)](r,e,t):r[n(175)]=n(254)+(e[n(208)]||"Banner Ad")+"</div>",nt.addClickEventForRenderer(r,e,t,()=>this[n(185)](),this[n(226)],n(240)),s[n(175)]="",s.appendChild(r)}async[gt(169)](t,e){const n=gt,s=document[n(224)](t[n(176)]);if(!s)throw new Error(n(231)+t.containerId);await this[n(228)](t,e);const r=this.createEventTrackingCallback(),i={autoSlideInterval:(t[n(247)]?.[n(166)]||5e3)/1e3,...t[n(247)],optimizedHeight:t[n(192)],aspectRatio:t[n(183)]},o=it[n(249)](t,e,i,r,this[n(226)]);o&&(s[n(175)]="",s[n(187)](o),this.debug&&console[n(259)](n(225)+t.id+n(222)+e[n(265)]+" ads (optimized: "+(t.optimizedHeight||n(167))+")"))}async[gt(267)](t,e){const n=gt;if(!t[n(265)])return{width:n(238),height:this[n(174)](),aspectRatio:16/9};try{const s=(await Promise[n(262)](t[n(210)](t=>t[n(202)])[n(232)](t=>this[n(199)](t[n(202)]))))[n(210)](t=>t[n(194)]===n(221))[n(232)](t=>t.value);if(0===s[n(265)])return{width:n(238),height:this[n(174)](),aspectRatio:16/9};const r=this[n(268)](s),i=this[n(171)](s,e,r);return this.debug&&console.log(n(261)+e+"x"+i+" (strategy: "+r+")"),{width:"100%",height:i+"px",aspectRatio:e/i}}catch(t){return console[n(242)](n(260),t),{width:"100%",height:this[n(174)](),aspectRatio:16/9}}}async optimizeContainerForBannerAds(t,e){const n=gt;try{const s=document[n(224)](t[n(176)]),r=document[n(224)](t.id);if(!s||!r)return;const i=s[n(190)]()[n(203)]||300,o=await this.calculateOptimalContainerSize(e,i);r[n(248)][n(177)]=o[n(177)],t[n(192)]=o[n(177)],t[n(183)]=o[n(183)],this[n(226)]&&console[n(259)](n(178)+e[n(265)]+" ads: "+o.height)}catch(t){console.warn("Banner container optimization failed, using default size:",t)}}selectOptimalSizeStrategy(t){const e=gt,n=t[e(232)](t=>t[e(203)]/t.height),s=new Map;n[e(235)](t=>{const n=e,r=(Math[n(168)](10*t)/10).toString();s[n(197)](r,(s[n(158)](r)||0)+1)});const r=Math[e(230)](...s[e(170)]()),i=t[e(265)];if(r/i>=.7)return e(215);const o=[16/9,4/3,1,1.5],a=n[e(210)](t=>o[e(204)](n=>Math[e(264)](t-n)<.1))[e(265)];return e(a/i>=.5?256:244)}[gt(171)](t,e,n){const s=gt,r=t[s(232)](t=>t.width/t[s(177)]);switch(n){case s(215):{const t=new Map;r.forEach(e=>{const n=s,r=Math.round(10*e)/10,i=r[n(251)](),o=t.get(i);o?o[n(241)]++:t[n(197)](i,{ratio:r,count:1})});const n=Array[s(246)](t[s(170)]())[s(165)]((t,e)=>e[s(241)]>t[s(241)]?e:t);return Math[s(168)](e/n.ratio)}case s(256):{const t=[{ratio:16/9,name:s(250)},{ratio:4/3,name:s(172)},{ratio:1,name:s(181)},{ratio:1.5,name:"3:2"}],n=r.reduce((t,e)=>t+e,0)/r.length,i=t[s(165)]((t,e)=>Math[s(264)](e[s(258)]-n)<Math[s(264)](t[s(258)]-n)?e:t);return this.debug&&console[s(259)](s(160)+i.name+s(220)+n[s(227)](2)+")"),Math[s(168)](e/i.ratio)}case s(244):default:{const t=r[s(165)]((t,e)=>t+e,0)/r[s(265)];return Math[s(168)](e/t)}}}loadImageDimensions(t){return new Promise((e,n)=>{const s=It,r=new Image;r.onload=()=>{e({width:r[It(193)],height:r.naturalHeight})},r[s(214)]=()=>{n(new Error(s(198)+t))},r[s(164)]=t})}applyOptimizedImageStyle(t,e,n){const s=gt,r=e/n;Math.abs(r-1)<.1?(t.style[s(191)]="cover",t[s(248)][s(263)]=s(206)):r>1.3?(t[s(248)][s(191)]=s(209),t[s(248)][s(263)]=s(206),t[s(248)][s(236)]="#f0f0f0"):r<.7?(t[s(248)][s(191)]=s(252),t[s(248)][s(263)]="center"):(t.style[s(191)]=s(252),t[s(248)][s(263)]=s(206)),this[s(226)]&&console.log(s(159)+t[s(248)].objectFit+", ratio="+r[s(227)](2))}async[gt(213)](t,e,n){const s=gt,r=document[s(184)](s(179));r[s(248)].width=s(238),r.style[s(177)]="100%",r[s(248)].display=s(211),r[s(248)][s(182)]=s(219),r[s(218)]=e[s(208)]||s(255),t[s(175)]=s(216);try{if(!e.imageUrl)throw new Error(s(161));const i=await this.loadImageDimensions(e[s(202)]),o=t[s(190)](),a=o[s(203)],c=o[s(177)];this[s(226)]&&(console[s(259)](s(163)+i[s(203)]+"x"+i.height),console[s(259)](s(186)+a+"x"+c));const d=i[s(203)]/i.height,l=a/c;return this[s(196)](r,d,l),r[s(164)]=e[s(202)],t[s(175)]="",t[s(187)](r),nt[s(205)](r,e,n,()=>this[s(185)](),this.debug,s(240)),this[s(226)]&&console[s(259)](s(162)+e[s(180)]),r}catch(i){return console.error(s(245),i),e[s(202)]&&(r[s(164)]=e[s(202)],r[s(248)].objectFit="cover",r[s(248)][s(263)]=s(206),t[s(175)]="",t.appendChild(r),nt[s(205)](r,e,n,()=>this[s(185)](),this[s(226)],"Banner")),r}}}function yt(t,e){const n=wt();return(yt=function(t,e){return n[t-=405]})(t,e)}const bt=yt;function wt(){const t=["1806278OImXaH","1097477UtzKrA","1653464dJILCM","24FMtKxz","63JLacWb","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","textContent","7LvdzWf","221835Wtoxal","21825120TnmMsZ","setTextAdContent","944286bvPzkw","2847780TqxrEE"];return(wt=function(){return t})()}!function(){const t=yt,e=wt();for(;;)try{if(739208===parseInt(t(406))/1+parseInt(t(405))/2+-parseInt(t(417))/3+parseInt(t(408))/4*(parseInt(t(413))/5)+parseInt(t(416))/6*(parseInt(t(412))/7)+parseInt(t(407))/8*(parseInt(t(409))/9)+-parseInt(t(414))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xt{static createTextAdStyles(t=!1){return yt(410)}static[bt(415)](t,e){const n=bt,s=e[n(411)]||e.title||"";t[n(411)]=s}}const kt=Et;function Et(t,e){const n=At();return(Et=function(t,e){return n[t-=215]})(t,e)}!function(){const t=Et,e=At();for(;;)try{if(293317===parseInt(t(244))/1*(-parseInt(t(256))/2)+-parseInt(t(277))/3+-parseInt(t(274))/4*(-parseInt(t(246))/5)+parseInt(t(257))/6+-parseInt(t(259))/7*(-parseInt(t(263))/8)+-parseInt(t(278))/9*(parseInt(t(240))/10)+-parseInt(t(250))/11*(-parseInt(t(217))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static createSimpleAdElement(t,e){const n=Et,s=document.createElement(n(215));return s.className=n(224)+String(t[n(227)])[n(255)](),s[n(233)](n(268),e[n(230)]),s[n(233)](n(282),t.id),s[n(280)][n(253)]=xt[n(286)](!0),xt[n(273)](s,e),s}static[kt(276)](t,e,n,s,r=!1){const i=kt,o=t.height&&0!==t.height&&t[i(262)]!==i(226),a=document[i(254)]("div");a[i(251)]="adstage-fade-slider-wrapper";const c={position:i(292),overflow:i(249),display:"block"};if(!o&&(c[i(262)]="auto",c.minHeight="fit-content"),t.width&&0!==t[i(275)]){let e;e=typeof t[i(275)]===i(291)&&(t[i(275)].includes("px")||t[i(275)][i(283)]("%"))?t.width:t[i(275)]+"px",c[i(275)]=e}if(t[i(262)]&&0!==t[i(262)]&&"auto"!==t[i(262)]&&o){let e;e=typeof t[i(262)]===i(291)&&(t[i(262)][i(283)]("px")||t[i(262)][i(283)]("%"))?t[i(262)]:t[i(262)]+"px",c[i(262)]=e}Object[i(269)](c)[i(260)](([t,e])=>{const n=i;a.style[n(234)](t,e)});const d=document[i(254)]("div");d[i(251)]=i(247),d.style[i(253)]=i(266)+(o?"height: 100%;":"height: auto; min-height: fit-content;")+i(279);let l=null;const u=!t[i(275)]||0===t[i(275)],p=!t.height||0===t.height||void 0===t[i(262)]||t[i(262)]===i(226);if(u||p&&o){if(l=document[i(254)]("div"),l[i(280)].cssText=i(222),!u&&t[i(275)]){let e;e=typeof t[i(275)]===i(291)&&(t.width[i(283)]("px")||t[i(275)].includes("%"))?t[i(275)]:t[i(275)]+"px",l[i(280)][i(275)]=e,l[i(280)][i(220)]=i(216)}document[i(241)][i(237)](l);let n=0,s=0;e[i(260)](e=>{const r=i,o=this[r(289)](t,e);l[r(237)](o);const a=o[r(290)]();a.width>n&&(n=a.width),a[r(262)]>s&&(s=a[r(262)]),l.removeChild(o)}),u&&n>0&&(a[i(280)].width=n+"px"),p&&s>0&&o&&(a[i(280)][i(262)]=s+"px"),document[i(241)].removeChild(l)}const h=[];e.forEach((e,n)=>{const a=i,c=document[a(254)](a(215));c[a(251)]="adstage-fade-slide";const l=o?"absolute":0===n?a(292):"absolute";c[a(280)][a(253)]="\n position: "+l+a(288)+("absolute"===l?"0":a(226))+a(219)+(l===a(231)?"0":a(226))+a(218)+(o?"height: 100%;":a(242))+"\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: "+(0===n?"1":"0")+a(272)+(0===n?"0":"20px")+a(243)+(0===n?"2":"1")+a(235);const u=this.createSimpleAdElement(t,e);nt[a(229)](u,e,t,s,r,a(267)),c[a(237)](u),d.appendChild(c),h[a(261)](c)});let f=0;const g=e.length,m=1e3*(n?.autoSlideInterval||4),I=n=>{const a=i;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c[a(280)].position===a(292)&&(c[a(280)][a(284)]=a(231),c.style[a(285)]="0",c.style[a(271)]="0"),d[a(280)][a(284)]=a(292),d.style[a(285)]="auto",d[a(280)][a(271)]=a(226)),c[a(280)][a(232)]="0",c[a(280)][a(228)]="translateY(-20px)",c[a(280)][a(265)]="1",d[a(280)][a(232)]="1",d[a(280)][a(228)]="translateY(0)",d[a(280)].zIndex="2",h[a(260)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(280)][s(232)]="0",t[s(280)][s(228)]=s(270),t[s(280)].zIndex="1",!o&&"relative"===t[s(280)].position&&(t[s(280)][s(284)]="absolute",t[s(280)][s(285)]="0",t.style[s(271)]="0"))}),f=n,Z[a(245)](e[f],t,f,s,r)};let v=setInterval(()=>{I(f+1)},m);return a[i(281)](i(239),()=>{clearInterval(v)}),a[i(281)](i(264),()=>{v=setInterval(()=>{I(f+1)},m)}),St[i(225)](a,I,()=>f,g),a[i(237)](d),a}static[kt(225)](t,e,n,s){const r=kt;let i=0,o=0,a=!1;t.addEventListener(r(293),t=>{const e=r;i=t[e(221)][0][e(236)],o=t[e(221)][0][e(252)],a=!0}),t.addEventListener(r(287),t=>{a&&t[r(223)]()}),t.addEventListener(r(258),t=>{const s=r;if(!a)return;a=!1;const c=t[s(248)][0].clientX,d=t[s(248)][0][s(252)],l=i-c,u=o-d;if(Math.abs(l)>Math[s(238)](u)&&Math[s(238)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function At(){const t=["addClickEventForSlider","_id","absolute","opacity","setAttribute","setProperty",";\n ","clientX","appendChild","abs","mouseenter","20hTyFHT","body","height: auto;",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","1lfFRgd","trackSlideViewable","297890IBCaGB","adstage-fade-slide-container","changedTouches","hidden","4430866lOwJHn","className","clientY","cssText","createElement","toLowerCase","473272yMPoDZ","2243190lsLHiC","touchend","14EngFYH","forEach","push","height","100416CpyBMx","mouseleave","zIndex","\n position: relative;\n width: 100%;\n ","Text","data-adstage-ad-id","entries","translateY(20px)","left",";\n transform: translateY(","setTextAdContent","24ZggULW","width","createTextTransitionContainer","1602204dYMcZJ","2241126GPLvaj","\n ","style","addEventListener","data-adstage-slot-id","includes","position","top","createTextAdStyles","touchmove",";\n top: ","createSimpleAdElement","getBoundingClientRect","string","relative","touchstart","div","normal","24nWlMQf",";\n width: 100%;\n ",";\n left: ","whiteSpace","touches","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","preventDefault","adstage-ad adstage-","addTouchSupport","auto","adType","transform"];return(At=function(){return t})()}const Tt=Ct;function Ct(t,e){const n=Dt();return(Ct=function(t,e){return n[t-=309]})(t,e)}function Dt(){const t=["div","✨ Text transition created for slot: ","2763214rSkLyG","_id","12XXgYju","innerHTML","debug","height","hidden","overflow","setTextAdContent","containerId","number","createTextAdStyles","optimizedHeight","adstage-text-content","getElementById","renderMultipleAds","getDefaultHeight"," with ","vertical","aspectRatio","5463Chzdyc","style","appendChild","11170FDNiXX","parentElement","✨ Single text ad rendered: ","100%","createEventTrackingCallback","TEXT","Container not found: "," ads","createTextTransitionContainer","6677886aBZbqT","className","createElement","width","13329288rUGaQJ","60px","Text","config","861115RiOnLb","61756pAvAcu","13726944vGUBaw","webkitLineClamp","addClickEventForRenderer","3VnzcWW","webkitBoxOrient","22BksFPO","log","7bRZaSO","display"];return(Dt=function(){return t})()}!function(){const t=Ct,e=Dt();for(;;)try{if(903407===parseInt(t(354))/1+-parseInt(t(313))/2*(-parseInt(t(358))/3)+parseInt(t(315))/4*(parseInt(t(353))/5)+-parseInt(t(345))/6*(parseInt(t(309))/7)+parseInt(t(349))/8+-parseInt(t(333))/9*(-parseInt(t(336))/10)+-parseInt(t(360))/11*(parseInt(t(355))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Mt extends ft{constructor(e=!1,n){super(t[Ct(341)],e,n)}[Tt(329)](){return Tt(350)}async renderAdElement(t,e){const n=Tt,s=document[n(327)](t[n(322)]);if(!s)return;const r=document.createElement(n(311));r[n(346)]="adstage-ad adstage-text-ad";const i=t[n(325)],o=s[n(337)]||s;if(i)r.style[n(348)]=n(339),r[n(334)][n(318)]=String(i);else{const e=t.config,s={width:e?.width,height:e?.[n(318)]},{width:i,height:a}=this.calculateAdSize(o,s,{debug:this[n(317)]});r[n(334)][n(348)]=i,r[n(334)].height=a}const a=document[n(347)](n(311));a.className=n(326),a[n(334)].cssText=xt[n(324)](!1),xt[n(321)](a,e);const c=t.config?.maxLines;c&&typeof c===n(323)&&(a.style[n(310)]="-webkit-box",a[n(334)][n(356)]=String(c),a[n(334)][n(359)]=n(331),a[n(334)][n(320)]=n(319)),r[n(335)](a),nt[n(357)](r,e,t,()=>this[n(340)](),this[n(317)],n(351)),s[n(316)]="",s[n(335)](r),this[n(317)]&&console[n(361)](n(338)+e[n(314)])}async[Tt(328)](t,e){const n=Tt,s=document[n(327)](t[n(322)]);if(!s)throw new Error(n(342)+t[n(322)]);const r=this.createEventTrackingCallback(),i={autoSlideInterval:(t[n(352)]?.slideInterval||5e3)/1e3,...t[n(352)],optimizedHeight:t[n(325)],aspectRatio:t[n(332)]},o=St[n(344)](t,e,i,r,this[n(317)]);o&&(s.innerHTML="",s.appendChild(o),this[n(317)]&&console[n(361)](n(312)+t.id+n(330)+e.length+n(343)))}}const Bt=Lt;function zt(){const t=["Video load failed:","renderAdElement","warn","setAttribute","adstage-video-container","muted","stopPropagation","canplay","VIEWABLE","16825656LLuSUx","imageUrl","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","error","scale(1.1)","hideRemainingTime","🎬 Trying muted autoplay fallback...","\n video::-webkit-media-controls-play-button {\n display: ","renderVideoElementDirect"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","🎬 Video element created for ad: ","rgba(0, 0, 0, 0.9)","width","objectFit","360px","Video fallback"," (autoplay: ","loop","controls","display","customControls","head","className",", muted: ","unmuted","Video thumbnail","alt","background","innerHTML","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","containerId","2192415iLrsNj","3301nFKLId"," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","🎬 Autoplay completely failed:","renderMultipleAds","Click to mute","contain","appendChild","🎬 Video data loaded, attempting autoplay...","🎬 Video controls setting:","position","play","addClickEventForRenderer","preload",", loop: ","catch","100%","⚠️ No video advertisements available for slot: ","createEventTrackingCallback","335085ZEhcaU","\n pointer-events: none;\n ","334vEpDbu","playsinline","textContent","1744wtyHQp","log","getElementById","VIDEO","videoUrl","block","6785550HitSMb","createElement","img","6MeSJoe","_id","3694090bgwYLC","🎬 Final video settings:","1239gRQSCC","12XdPKMB","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","none","video","🎬 Single video ad rendered: ","div","debug","getDefaultHeight","hideProgressBar","cssText","style","click","scale(1)","addEventListener","relative","adstage-video-default-controls","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","hideFullscreenButton","mouseenter","Video","11tFUWyS","autoplay","hideCurrentTime"," !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: ","hideControls","adstage-video-mute-button"," !important;\n }\n video::-webkit-media-controls-timeline {\n display: ","src","height","🎬 Video config received:","title",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n ',"loadedmetadata","config","enabled","metadata"];return(zt=function(){return t})()}function Lt(t,e){const n=zt();return(Lt=function(t,e){return n[t-=170]})(t,e)}!function(){const t=Lt,e=zt();for(;;)try{if(401518===-parseInt(t(185))/1*(parseInt(t(205))/2)+parseInt(t(203))/3*(parseInt(t(222))/4)+parseInt(t(184))/5*(-parseInt(t(217))/6)+-parseInt(t(221))/7*(-parseInt(t(208))/8)+-parseInt(t(214))/9+parseInt(t(219))/10*(parseInt(t(242))/11)+parseInt(t(267))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt extends ft{constructor(e=!1,n){super(t[Lt(211)],e,n)}[Bt(229)](){return Bt(281)}async[Bt(259)](t,e){const n=Bt,s=document.getElementById(t[n(183)]);if(!s)return;const r=document.createElement(n(227));r[n(175)]="adstage-video-container",r[n(232)][n(231)]=n(238),this.renderVideoElementDirect(r,e,t),s[n(181)]="",s.appendChild(r),this[n(228)]&&console[n(209)](n(226)+e._id)}async[Bt(188)](t,e){const n=Bt,s=document[n(210)](t[n(183)]);if(!s)throw new Error("Container not found: "+t[n(183)]);if(e.length>0){const r=e[0],i=document.createElement(n(227));i[n(175)]=n(262),i[n(232)][n(231)]=n(182),this.renderVideoElementDirect(i,r,t),s[n(181)]="",s.appendChild(i);const a=this.createEventTrackingCallback();setTimeout(()=>{const e=n;a(r._id,t.id,o[e(266)])},100),this[n(228)]&&console[n(209)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+r[n(218)]+")")}else this[n(228)]&&console[n(260)](n(201)+t.id)}[Bt(275)](t,e,n){const s=Bt;t[s(232)][s(194)]=s(236);const r=document[s(215)](s(225));r[s(232)][s(279)]=s(200),r[s(232)][s(250)]="100%",r.style.objectFit=s(190),r[s(197)]=s(257);const i=n[s(255)];if(this[s(228)]&&console.log(s(251),i),r[s(171)]=!1,r.autoplay=!1!==i?.[s(243)],r[s(263)]=!0,r[s(170)]=!1!==i?.[s(170)],this[s(228)]&&console[s(209)](s(220),{autoplay:r[s(243)],muted:r[s(263)],loop:r.loop,controls:r.controls}),!1!==i?.[s(206)]&&r[s(261)](s(206),""),!0===i?.[s(171)]&&(r[s(171)]=!0,this[s(228)]&&console[s(209)]("🎬 User explicitly enabled controls, overriding default")),i?.hideControls)r[s(171)]=!1,r[s(232)][s(231)]+=s(204);else if(i?.customControls){if(r[s(171)]){const t=document[s(215)]("style");t[s(207)]=s(274)+(i[s(173)].hidePlayButton?s(224):s(213))+s(248)+(i[s(173)][s(230)]?s(224):s(213))+s(186)+(i[s(173)][s(244)]?s(224):"block")+s(276)+(i[s(173)][s(272)]?s(224):s(213))+s(245)+(i[s(173)].hideVolumeSlider?s(224):"block")+" !important;\n }\n video::-webkit-media-controls-mute-button {\n display: "+(i.customControls.hideMuteButton?s(224):s(213))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(i[s(173)][s(239)]?s(224):s(213))+" !important;\n }\n ",document[s(174)][s(191)](t)}}else if(r[s(171)]){const t=document.createElement("style");t.id=s(237),t[s(207)]=s(269),!document.getElementById(s(237))&&document[s(174)][s(191)](t)}this.debug&&console[s(209)](s(193),r.controls?s(256):"disabled (default)");const o=document[s(215)]("button");o[s(175)]=s(247),o[s(232)][s(231)]=s(223),i?.[s(246)]&&(o[s(232)][s(172)]="none");const a=()=>{const t=s,e=t(253);o[t(181)]=r[t(263)]?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,o.title=r.muted?"Click to unmute":t(189)};if(a(),o.addEventListener(s(233),t=>{const e=s;t[e(264)](),r[e(263)]=!r[e(263)],a(),this.debug&&console.log("🔊 Video mute toggled: "+(r[e(263)]?e(263):e(177)))}),o[s(235)](s(240),()=>{const t=s;o[t(232)][t(180)]=t(278),o[t(232)].transform=t(271)}),o[s(235)]("mouseleave",()=>{const t=s;o.style[t(180)]="rgba(0, 0, 0, 0.7)",o[t(232)].transform=t(234)}),e[s(212)]){r[s(249)]=e.videoUrl;const t=()=>{const t=s;r[t(243)]&&r[t(263)]&&r.paused&&r[t(195)]()[t(199)](e=>{const n=t;this.debug&&(console[n(260)]("🎬 Auto-play was prevented:",e),console[n(260)](n(273))),r[n(263)]=!0,r[n(195)]()[n(199)](t=>{const e=n;this[e(228)]&&console.error(e(187),t)})})};r[s(235)](s(254),()=>{const e=s;this[e(228)]&&console[e(209)]("🎬 Video metadata loaded, attempting autoplay..."),t()}),r.addEventListener(s(265),()=>{this.debug&&console.log("🎬 Video can play, attempting autoplay..."),t()}),r[s(235)]("loadeddata",()=>{const e=s;this[e(228)]&&console[e(209)](e(192)),t()}),setTimeout(()=>{const e=s;this.debug&&console[e(209)]("🎬 Initial autoplay attempt after timeout..."),t()},100)}else if(e[s(268)]){const n=document[s(215)](s(216));return n.src=e[s(268)],n.style[s(279)]=s(200),n.style[s(250)]=s(200),n.style.objectFit="contain",n[s(179)]=e[s(252)]||s(178),void t[s(191)](n)}nt[s(196)](r,e,n,()=>this[s(202)](),this.debug,s(241)),r.addEventListener("error",r=>{const i=s;if(console[i(270)](i(258),r),e[i(268)]){const s=document[i(215)](i(216));s.src=e.imageUrl,s.style.width="100%",s[i(232)][i(250)]=i(200),s[i(232)][i(280)]=i(190),s[i(179)]=e[i(252)]||i(178),nt[i(196)](s,e,n,()=>this.createEventTrackingCallback(),this[i(228)],i(282)),t[i(181)]="",t[i(191)](s)}}),t.appendChild(r),t[s(191)](o),this[s(228)]&&console[s(209)](s(277)+e._id+s(283)+r[s(243)]+s(176)+r[s(263)]+s(198)+r[s(170)]+")")}}const Pt=Ut;function Ut(t,e){const n=Vt();return(Ut=function(t,e){return n[t-=224]})(t,e)}!function(){const t=Ut,e=Vt();for(;;)try{if(551508===parseInt(t(268))/1+parseInt(t(233))/2+parseInt(t(265))/3+-parseInt(t(250))/4+-parseInt(t(241))/5+parseInt(t(244))/6+-parseInt(t(242))/7*(-parseInt(t(246))/8))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends ft{constructor(e=!1,n){super(t[Ut(247)],e,n)}getDefaultHeight(){return Ut(239)}async[Pt(231)](t,e){const n=Pt,s=document[n(260)](t[n(243)]);if(!s)return;const r=document[n(238)]("div");if(r[n(251)]="adstage-ad adstage-native-ad",r[n(237)][n(240)]=n(234),e[n(249)]){const t=document.createElement("h3");t[n(254)]=e[n(249)],t[n(237)].cssText="\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ",r[n(228)](t)}if(e[n(254)]){const t=document[n(238)]("p");t[n(254)]=e[n(254)],t[n(237)][n(240)]="\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ",r[n(228)](t)}if(e[n(226)]){const t=document[n(238)](n(225));t.style.cssText=n(252);const s=document[n(238)](n(232));s[n(261)]=e[n(226)],s[n(229)]=e[n(249)]||n(245),s[n(237)].cssText="\n width: 100%;\n height: 100%;\n object-fit: cover;\n ",t.appendChild(s),r[n(228)](t)}if(e.linkUrl){const t=document[n(238)](n(270));t.textContent=n(235),t[n(237)][n(240)]=n(271),t[n(248)]("click",()=>{const t=n;this[t(253)]&&console[t(264)](t(263)+e[t(266)]),window.open(e.linkUrl,t(262))}),t[n(248)](n(230),()=>{const e=n;t[e(237)][e(227)]=e(269)}),t[n(248)](n(236),()=>{const e=n;t[e(237)].backgroundColor=e(224)}),r[n(228)](t)}s[n(255)]="",s[n(228)](r),this[n(259)]&&console[n(264)](n(258)+e._id)}async renderMultipleAds(t,e){const n=Pt;e[n(267)]>0?(await this[n(231)](t,e[0]),this[n(259)]&&console.log("🏠 Native ad rendered (first of "+e.length+"): "+t.id)):this[n(259)]&&console[n(257)](n(256)+t.id)}}function Vt(){const t=["NATIVE","addEventListener","title","707100EsDBkk","className","\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ","advertisementEventTracker","textContent","innerHTML","⚠️ No native advertisements available for slot: ","warn","🏠 Single native ad rendered: ","debug","getElementById","src","_blank","Native click tracked for ad: ","log","342423hhXAdM","_id","length","892971rNZYDO","#2563eb","button","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","#3b82f6","div","imageUrl","backgroundColor","appendChild","alt","mouseenter","renderAdElement","img","786840XBcSwi","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","Learn More","mouseleave","style","createElement","200px","cssText","4397670RchjZN","301KgpsIn","containerId","281370pkbqko","Native Advertisement","29840zxyEZn"];return(Vt=function(){return t})()}function Ft(){const t=["6eQnaQj","17388176gVmQIq","#2563eb","parentNode","5597615VTqJrq","appendChild","96BxYbec","closeInterstitial","createElement","head","backgroundColor","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","adstage-interstitial-styles","\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ","#6b7280","style","title","): ","3412012XBcpaW","INTERSTITIAL","debug","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","click","🖼️ Interstitial ad rendered (first of ","Escape","key","\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ","removeEventListener","_id","innerHTML","#3b82f6","2098118JlXxGi","className","124oGMvMY","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","4347vMDERg","20lfieVb","removeChild","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","⚠️ No interstitial advertisements available for slot: ","button","target","6XsktzV","Get Started","addEventListener","containerId","color","imageUrl","animation","textContent","img","cssText","length","Interstitial Advertisement","renderMultipleAds","_blank","open","keydown","linkUrl","3806433VdFvqK","🖼️ Interstitial ad rendered: ","🖼️ Interstitial ad closed","log","35UhJGaV","getElementById","45272knbPFd","src","mouseleave","adstage-interstitial-content","getDefaultHeight","div"];return(Ft=function(){return t})()}function Ot(t,e){const n=Ft();return(Ot=function(t,e){return n[t-=498]})(t,e)}const Kt=Ot;!function(){const t=Ot,e=Ft();for(;;)try{if(946196===parseInt(t(517))/1*(-parseInt(t(515))/2)+-parseInt(t(553))/3*(-parseInt(t(500))/4)+parseInt(t(557))/5*(-parseInt(t(524))/6)+parseInt(t(545))/7*(-parseInt(t(547))/8)+-parseInt(t(541))/9*(-parseInt(t(518))/10)+-parseInt(t(513))/11*(parseInt(t(559))/12)+parseInt(t(554))/13)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _t extends ft{constructor(e=!1,n){super(t[Ot(501)],e,n)}[Kt(551)](){return"400px"}async renderAdElement(t,e){const n=Kt;if(!document[n(546)](t[n(527)]))return;const s=document[n(561)](n(552));s.className="adstage-interstitial-overlay",s.style.cssText=n(503);const r=document[n(561)](n(552));r[n(514)]=n(550),r.style[n(533)]=n(520);const i=document[n(561)](n(522));if(i[n(511)]="×",i[n(568)][n(533)]=n(566),i[n(526)](n(504),()=>{this[n(560)](s)}),i.addEventListener("mouseenter",()=>{const t=n;i[t(568)][t(563)]="#e5e7eb",i[t(568)].color="#374151"}),i[n(526)](n(549),()=>{const t=n;i.style[t(563)]="#f3f4f6",i.style[t(528)]=t(567)}),e[n(529)]){const t=document[n(561)](n(532));t[n(548)]=e[n(529)],t.alt=e[n(498)]||n(535),t[n(568)][n(533)]=n(508),r[n(558)](t)}if(e.title){const t=document.createElement("h2");t[n(531)]=e.title,t[n(568)].cssText=n(564),r[n(558)](t)}if(e.textContent){const t=document.createElement("p");t.textContent=e[n(531)],t[n(568)].cssText="\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ",r[n(558)](t)}if(e[n(540)]){const t=document.createElement(n(522));t[n(531)]=n(525),t.style[n(533)]=n(516),t.addEventListener("click",()=>{const t=n;this.advertisementEventTracker&&console.log("Interstitial click tracked for ad: "+e[t(510)]),window[t(538)](e[t(540)],t(537)),this.closeInterstitial(s)}),t[n(526)]("mouseenter",()=>{const e=n;t[e(568)][e(563)]=e(555)}),t[n(526)]("mouseleave",()=>{const e=n;t.style[e(563)]=e(512)}),r[n(558)](t)}const o=t=>{const e=n;t[e(507)]===e(506)&&(this[e(560)](s),document[e(509)](e(539),o))};if(document[n(526)](n(539),o),s[n(526)](n(504),t=>{t[n(523)]===s&&this.closeInterstitial(s)}),!document[n(546)](n(565))){const t=document[n(561)](n(568));t.id=n(565),t[n(531)]="\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ",document[n(562)].appendChild(t)}r[n(558)](i),s[n(558)](r),document.body.appendChild(s),this[n(502)]&&console[n(544)](n(542)+e[n(510)])}async[Kt(536)](t,e){const n=Kt;e[n(534)]>0?(await this.renderAdElement(t,e[0]),this.debug&&console[n(544)](n(505)+e.length+n(499)+t.id)):this[n(502)]&&console.warn(n(521)+t.id)}[Kt(560)](t){const e=Kt;t[e(568)][e(530)]="fadeOut 0.3s ease-out forwards",setTimeout(()=>{const n=e;t[n(556)]&&t[n(556)][n(519)](t)},300),this.debug&&console[e(544)](e(543))}}const Ht=jt;function Wt(){const t=["VIDEO","isLoaded","renderOptimizedBannerImage is only supported for BANNER ads","8px","src","height","naturalHeight","2263352JJtKdW","getDefaultHeightForAdType","createAdElement","border","cover","100%","_id","config","514209XXFmOB","TEXT","objectFit","data-adstage-slot-id","renderFallback","imageUrl","renderers","naturalWidth","debug","1px dashed #ccc","renderAdElement","toLowerCase","No renderer found for ad type: ","63585DVHOJW","659694XBCVZH","set"," renderers","data-adstage-ad-id","BANNER","#f9f9f9"," Ad","adstage-ad adstage-","adType","get","size","loadImageDimensions","calculateOptimalContainerSize","log","NATIVE","setAttribute","className","getDefaultHeight","940343AgSvkP","block","videoUrl","No advertisement to render","img","renderAdSlider","appendChild","116TwKRwq","calculateAdSize","advertisement","16869402DBnlma","padding","style","🏭 AdRenderer factory initialized with ","createPlaceholder","renderOptimizedBannerImage","textContent","createElement","5993456FWUDPK","backgroundColor","initializeRenderers","div","advertisementEventTracker","INTERSTITIAL","getRenderer","optimizeContainerForBannerAds","width","display","renderMultipleAds","7EGNWLi","onload","⚠️ Container optimization is only supported for BANNER ads, got: "];return(Wt=function(){return t})()}function jt(t,e){const n=Wt();return(jt=function(t,e){return n[t-=480]})(t,e)}!function(){const t=jt,e=Wt();for(;;)try{if(638982===-parseInt(t(517))/1+-parseInt(t(556))/2+-parseInt(t(485))/3+parseInt(t(524))/4*(parseInt(t(498))/5)+parseInt(t(499))/6*(-parseInt(t(546))/7)+parseInt(t(535))/8+parseInt(t(527))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt{constructor(t=!1,e){const n=jt;this[n(491)]=new Map,this.debug=t,this[n(539)]=e||null,this[n(537)]()}[Ht(537)](){const e=Ht;this.renderers.set(t.BANNER,new vt(this[e(493)],this[e(539)])),this[e(491)].set(t[e(486)],new Mt(this[e(493)],this.advertisementEventTracker)),this.renderers[e(500)](t[e(549)],new Rt(this[e(493)],this.advertisementEventTracker)),this[e(491)].set(t[e(513)],new Nt(this[e(493)],this.advertisementEventTracker)),this[e(491)].set(t[e(540)],new _t(this.debug,this[e(539)])),this[e(493)]&&console[e(512)](e(530)+this[e(491)][e(509)]+e(501))}[Ht(558)](e,n){const s=Ht,r=this[s(541)](e[s(507)]),i=document.createElement(s(538));i[s(515)]=s(506)+String(e[s(507)])[s(496)](),i[s(514)](s(502),n[s(483)]),i[s(514)](s(488),e.id);const{width:o,height:a}=r.calculateAdSize(i,e[s(484)]||{},n);switch(i.style[s(543)]=o,i.style.height=a,i.style[s(544)]=s(518),e[s(507)]){case t[s(503)]:if(n[s(490)]){const t=document[s(534)](s(521));t[s(553)]=n.imageUrl,t[s(529)][s(543)]=s(482),t.style[s(554)]="100%",t[s(529)][s(487)]=s(481),i.appendChild(t)}break;case t[s(549)]:if(n[s(519)]){const t=document.createElement("video");t[s(553)]=n[s(519)],t[s(529)][s(543)]=s(482),t[s(529)][s(554)]=s(482),i[s(523)](t)}break;case t.TEXT:if(n.textContent){const t=document.createElement(s(538));t.textContent=n.textContent||"",t[s(529)][s(528)]=s(552),i[s(523)](t)}break;default:i[s(529)][s(480)]=s(494),i.style[s(536)]=s(504),i[s(533)]=e[s(507)]+s(505)}return i}[Ht(541)](t){const e=Ht,n=this[e(491)][e(508)](t);if(!n)throw new Error(e(497)+t);return n}[Ht(531)](t,e,n,s,r){const i=Ht;this[i(541)](n)[i(531)](t,e,s,r)}async[Ht(542)](e,n){const s=Ht;if(e[s(507)]!==t[s(503)])return void(this[s(493)]&&console.warn(s(548)+e[s(507)]));const r=this[s(541)](t.BANNER);await r[s(542)](e,n)}async[Ht(522)](t,e){const n=Ht,s=this.getRenderer(t[n(507)]);await s[n(545)](t,e)}async renderAd(t){const e=Ht;if(!t[e(526)])throw new Error(e(520));const n=this[e(541)](t[e(507)]);await n[e(495)](t,t[e(526)]),t[e(550)]=!0}async[Ht(495)](t,e){const n=Ht,s=this[n(541)](t[n(507)]);await s[n(495)](t,e)}[Ht(489)](t){const e=Ht;this.getRenderer(t[e(507)])[e(489)](t)}[Ht(557)](t){return this[Ht(541)](t).getDefaultHeight()}[Ht(525)](t,e,n,s){const r=Ht;return this[r(541)](e)[r(525)](t,n,s)}[Ht(510)](t){return new Promise((e,n)=>{const s=jt,r=new Image;r[s(547)]=()=>{const t=s;e({width:r[t(492)],height:r[t(555)]})},r.onerror=()=>{n(new Error("Failed to load image: "+t))},r[s(553)]=t})}async[Ht(532)](e,n,s){const r=Ht;if(s.adType!==t[r(503)])throw new Error(r(551));const i=this[r(541)](t[r(503)]);return await i[r(532)](e,n,s)}async[Ht(511)](e,n,s){const r=Ht;if(s!==t[r(503)]){return{width:"100%",height:this[r(541)](s)[r(516)](),aspectRatio:16/9}}const i=this[r(541)](t[r(503)]);return await i.calculateOptimalContainerSize(e,n)}log(t,...e){const n=Ht;this[n(493)]&&console[n(512)]("[AdRenderer] "+t,...e)}}const qt=Gt;function Gt(t,e){const n=Jt();return(Gt=function(t,e){return n[t-=427]})(t,e)}function Jt(){const t=["100%","GET","_isReady","customControls","adId","viewabilityTracker","Container not found: ","handleRemovedElement","set","VIDEO","5cEtOTp","renderFallback","config","광고 생성 중 오류 발생:"," ads automatically","🎯 Ads module initialized (sync mode) with auto-cleanup","🚫 Advertisement not found with ID: ","playsinline","innerHTML",". Retrying in ","string","debug","getAllSlots","trackAdvertisementEvent","_id","fetchAdData","style","498887cfzzeA","getConfig","📊 Fetched ","adType","substr"," (element found)","advertisement","init","language","2066692FqTBNI","apiKey","createAd","660Mwqujm","9013939xFHsJa","auto-","API key not configured","adRenderer","BANNER","body","optimizeContainerForBannerAds"," removed","ms... (attempt ","refreshAdSlot","auto","Failed to fetch ad data: ","📊 Advertisement event tracking enabled for slot: ","undefined","mutationObserver","❌ Failed to track viewable impression:","list","adstage-","delete","9jXkDxA","warn","json","📊 Fetched specific ad with ID: ","error","default","New advertisement viewable tracked for slot:","VIEWABLE","autoplay","467118dwNLPP","[data-adstage-slot-id]","observe","loop","24zPCRPR","🔄 Ad slot refreshed: ","status","data-adstage-slot-id","create","muted","97218pgwPsb","interstitial","width"," (attempt ","refresh","advertisements","get","destroy","Auto-cleanup failed for slot ","Container not found after ","height","❌ Failed to find element for viewability tracking: ","🔍 Auto-cleanup MutationObserver enabled","🗑️ Ads module destroyed"," ads)","country","setupAutoCleanup","append"," attempts: ","detail","slideInterval","onClick","200ZVppKA","isReady","createAdInternal","Ads module not initialized. Call AdStage.init() first.","ELEMENT_NODE","getAttribute","renderAdElement","length","119868YYzlcH","deviceType","getElementById","NATIVE","createAdWithRetry","clear","INTERSTITIAL","_config","from","103806gmmaYi","native","❌ Failed to load ad for slot: ","autoDestroy","startSimpleViewabilityTracking","renderAd","nodeType","createPlaceholder","🎠 Slider will handle VIEWABLE events for ","advertisementEventTracker","ensureReady","autoSlide","Ad slot not found: ","controls","random","toString","TEXT","slots","handleViewableEvent","log","video","getBaseUrl"];return(Jt=function(){return t})()}!function(){const t=Gt,e=Jt();for(;;)try{if(379472===parseInt(t(518))/1+parseInt(t(559))/2*(parseInt(t(550))/3)+parseInt(t(527))/4+parseInt(t(501))/5*(parseInt(t(469))/6)+parseInt(t(460))/7*(-parseInt(t(452))/8)+parseInt(t(430))/9*(parseInt(t(530))/10)+parseInt(t(531))/11*(-parseInt(t(563))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Yt{constructor(){const t=Gt;this._isReady=!1,this[t(467)]=null,this.slots=new Map,this[t(478)]=null,this.adRenderer=null,this.mutationObserver=null}[qt(525)](t){const e=qt;this[e(467)]=t,this[e(478)]=new N(G[e(490)](),t.apiKey,t[e(512)]||!1,this[e(486)]),this[e(534)]=new Xt(t[e(512)]||!1,this[e(478)]),this[e(446)](),this._isReady=!0,t[e(512)]&&console[e(488)](e(506))}[qt(453)](){return this[qt(493)]}[qt(519)](){return this[qt(467)]}banner(e,n){const s=qt;this[s(479)]();const r={width:n?.[s(432)]||s(491),height:n?.height||s(541),autoSlide:n?.autoSlide||!1,slideInterval:n?.[s(450)]||5e3,onClick:n?.[s(451)],adId:n?.[s(495)],language:n?.language,deviceType:n?.[s(461)],country:n?.[s(445)]};return this[s(529)](e,t[s(535)],r)}text(e,n){const s=qt;this[s(479)]();const r={maxLines:n?.maxLines||3,style:n?.[s(517)]||s(555),onClick:n?.[s(451)],adId:n?.[s(495)],language:n?.language,deviceType:n?.deviceType,country:n?.[s(445)]};return this[s(529)](e,t[s(485)],r)}[qt(489)](e,n){const s=qt;this[s(479)]();const r={width:n?.[s(432)]||640,height:n?.[s(440)]||360,autoplay:void 0===n?.[s(558)]||n.autoplay,muted:void 0===n?.muted||n[s(429)],loop:void 0===n?.loop||n[s(562)],playsinline:!1!==n?.[s(508)],controls:void 0!==n?.[s(482)]&&n[s(482)],hideControls:n?.hideControls||!1,customControls:n?.[s(494)],autoSlide:!1,maxAds:1,onClick:n?.[s(451)],...n?.adId&&{adId:n[s(495)]}};return this[s(529)](e,t[s(500)],r)}[qt(470)](e,n){const s=qt;return this[s(479)](),this[s(529)](e,t[s(463)],n||{})}[qt(431)](e,n){const s=qt;return this[s(479)](),this[s(529)](e,t[s(466)],n||{})}[qt(434)](t){const e=qt;this[e(479)]();const n=this[e(486)][e(436)](t);if(!n)throw new Error(e(481)+t);this[e(540)](n),this._config?.[e(512)]&&console[e(488)](e(564)+t)}destroy(t){const e=qt;this[e(479)]();const n=this.slots[e(436)](t);if(!n)throw new Error(e(481)+t);n[e(496)]&&n[e(496)][e(437)]();const s=document[e(462)](n.containerId);s&&(s[e(509)]=""),this[e(486)][e(549)](t),this[e(467)]?.[e(512)]&&console[e(488)]("🗑️ Ad slot destroyed: "+t)}[qt(513)](){const t=qt;return this[t(479)](),Array[t(468)](this[t(486)].values())}getSlotById(t){const e=qt;return this.ensureReady(),this[e(486)][e(436)](t)||null}createAd(t,e,n){const s=qt;if(!this[s(467)]?.[s(528)])throw new Error(s(533));const r=s(548)+e+"-"+Date.now()+"-"+Math[s(483)]().toString(36)[s(522)](2,9);return this[s(464)](t,e,n,r,0),r}async[qt(464)](t,e,n,s,r){const i=qt,o=[0,50,100,200,500];let a,c=null;if(typeof t===i(511)){if(a=t,c=document.getElementById(t),!c)return r<4?(this[i(467)]?.[i(512)]&&console[i(551)](i(497)+t+i(510)+o[r+1]+i(539)+(r+1)+"/5)"),void setTimeout(()=>{this[i(464)](t,e,n,s,r+1)},o[r+1])):void console[i(554)](i(439)+5+i(448)+t)}else c=t,a=c.id||i(532)+s,!c.id&&(c.id=a);try{this[i(454)](a,e,n,s,c)}catch(t){console[i(554)](i(504),t)}}[qt(454)](e,n,s,r,i){const o=qt;i.setAttribute(o(427),r),this[o(534)]?.[o(476)](i,r,n,s,this[o(467)]);const a={id:r,containerId:e,adType:n,width:s[o(432)]||o(491),height:s[o(440)]||(n===t[o(485)]?o(541):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(516)](n,s).then(t=>t[0]||null),render:t=>this[o(534)]?.[o(458)](a,t),refresh:async()=>this[o(540)](a),destroy:()=>this.destroy(r)};this.slots[o(499)](r,a),this.loadAdContentInBackground(a),this[o(478)]&&this._config?.[o(512)]&&console.log(o(543)+r)}async loadAdContentInBackground(e){const n=qt;try{const s=await this.fetchAdData(e.adType,e[n(503)]);if(!s||0===s[n(459)])return void this[n(534)]?.[n(502)](e);e[n(521)]===t[n(535)]&&s.length>0&&await(this[n(534)]?.[n(537)](e,s)),s[n(459)]>1||e[n(503)]?.[n(480)]?(await(this.adRenderer?.renderAdSlider(e,s)),this[n(467)]?.debug&&console.log(n(477)+s[n(459)]+n(505))):(e[n(524)]=s[0],await(this[n(534)]?.renderAdElement(e,s[0])),this[n(473)](e,s[0])),e.isLoaded=!0,this[n(467)]?.[n(512)]&&console.log("✅ Ad loaded for slot: "+e.id+" ("+s.length+n(444))}catch(t){console.error(n(471)+e.id,t),this.adRenderer?.[n(502)](e)}}[qt(473)](t,e){const n=(s=0)=>{const r=Gt,i=document[r(462)](t.id);if(!i)return void(s<5?(setTimeout(()=>n(s+1),300),this[r(467)]?.[r(512)]&&console[r(488)]("🔄 Retrying viewability tracking for slot: "+t.id+r(433)+(s+1)+")")):console[r(551)](r(441)+t.id));const o=new K(i,async()=>{const n=r;await this[n(487)](e,t)});t[r(496)]=o,this[r(467)]?.[r(512)]&&console.log("🎯 Simple viewability tracking started for slot: "+t.id+r(523))};n()}async[qt(487)](t,e){const n=qt;try{this.advertisementEventTracker&&(await this[n(478)][n(514)](t[n(515)],e.id,o[n(557)]),this[n(467)]?.debug&&console[n(488)]("✅ Simple viewable impression tracked for ad "+t._id))}catch(t){console.error(n(546),t)}}async[qt(516)](t,e){const n=qt;if(!this._config?.[n(528)])throw new Error(n(533));if(e[n(495)]){const t=""+G[n(435)][n(449)](e[n(495)]),s=await fetch(t,{method:"GET",headers:B.create(this._config[n(528)])});if(!s.ok){if(404===s[n(565)])return console[n(551)](n(507)+e.adId),[];throw new Error("Failed to fetch ad data: "+s.status)}const r=await s[n(552)]();return this._config?.[n(512)]&&console[n(488)](n(553)+e[n(495)],r),[r]}const s=new URLSearchParams;s[n(447)]("adType",t),e[n(526)]&&s.append(n(526),e[n(526)]),e[n(461)]&&s[n(447)]("deviceType",e[n(461)]),e.country&&s.append("country",e[n(445)]);const r=G[n(435)][n(547)]()+"?"+s[n(484)](),i=await fetch(r,{method:n(492),headers:B[n(428)](this[n(467)].apiKey)});if(!i.ok)throw new Error(n(542)+i[n(565)]);const o=(await i[n(552)]()).advertisements||[];return this._config?.[n(512)]&&console.log(n(520)+o[n(459)]+" ads for type: "+t+", filters:",{language:e[n(526)],deviceType:e[n(461)],country:e.country}),o}async[qt(540)](t){const e=qt;try{const n=await this[e(516)](t[e(521)],t[e(503)]||{});n&&n[e(459)]>0&&(t[e(524)]=n[0],await(this[e(534)]?.[e(474)](t)),this[e(478)]&&console[e(488)](e(556),t.id))}catch(e){console.error("Failed to refresh ad slot: "+t.id,e)}}[qt(479)](){const t=qt;if(!this[t(493)])throw new Error(t(455))}setupAutoCleanup(){const t=qt;"undefined"!=typeof window&&typeof document!==t(544)&&(this[t(545)]&&this[t(545)].disconnect(),this[t(545)]=new MutationObserver(t=>{t.forEach(t=>{t.removedNodes.forEach(t=>{const e=Gt;t[e(475)]===Node[e(456)]&&this[e(498)](t)})})}),this[t(545)][t(561)](document[t(536)],{childList:!0,subtree:!0}),this[t(467)]?.[t(512)]&&console[t(488)](t(442)))}[qt(498)](t){const e=qt,n=t[e(457)](e(427));if(n)return void this.autoDestroy(n);t.querySelectorAll(e(560)).forEach(t=>{const n=e,s=t[n(457)](n(427));s&&this[n(472)](s)})}[qt(472)](t){const e=qt;if(this[e(486)][e(436)](t))try{this[e(486)].delete(t),this._config?.[e(512)]&&console[e(488)]("🧹 Auto-cleanup: slot "+t+e(538))}catch(n){this[e(467)]?.[e(512)]&&console[e(551)](e(438)+t+":",n)}}destroyModule(){const t=qt,e=this[t(467)]?.[t(512)];this[t(545)]&&(this.mutationObserver.disconnect(),this[t(545)]=null),this.slots[t(465)](),this[t(478)]=null,this[t(534)]=null,this[t(493)]=!1,this._config=null,e&&console[t(488)](t(443))}}function Zt(t,e){var n=te();return(Zt=function(t,e){return n[t-=362]})(t,e)}var Qt=Zt;!function(){for(var t=Zt,e=te();;)try{if(731016===parseInt(t(394))/1+parseInt(t(380))/2+-parseInt(t(381))/3*(parseInt(t(395))/4)+parseInt(t(371))/5*(-parseInt(t(387))/6)+-parseInt(t(363))/7*(-parseInt(t(375))/8)+parseInt(t(372))/9+-parseInt(t(379))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){var t=Zt;this[t(390)]=!1,this[t(367)]=null,this._organizationInfo=null}[Qt(391)](t){var e=Qt;this._config={timeout:3e4,debug:!1,modules:["ads",e(370),"config"],...t},t[e(393)]&&G[e(386)](t[e(393)]),this[e(390)]=!0,t[e(374)]&&console[e(383)](e(384),{modules:this[e(367)].modules,endpoint:G[e(376)](),mode:e(378)})}[Qt(368)](){return this[Qt(390)]}[Qt(392)](){return this[Qt(367)]}[Qt(364)](){return this[Qt(385)]}[Qt(373)](){return G[Qt(376)]()}isDebugMode(){var t=Qt;return this[t(367)]?.[t(374)]||!1}[Qt(382)](){var t=Qt;return this[t(367)]?.modules||[]}[Qt(388)](t){var e=Qt;return this.getEnabledModules()[e(362)](t)}updateConfig(t){var e=Qt;if(!this[e(367)])throw new Error("Config module not initialized");this._config={...this[e(367)],...t},this[e(366)]()&&console[e(383)](e(369),t)}[Qt(389)](){var t=Qt;if(!this[t(367)]?.apiKey)throw new Error("API key not available");return B[t(365)](this[t(367)][t(377)])}}function te(){var t=["debug","1312hCthKh","getBaseUrl","apiKey","development","139490McfFvR","1392322LcOeCQ","2559045TfgLlK","getEnabledModules","log","✅ Config module initialized (sync mode)","_organizationInfo","setBaseUrl","6vAGNUb","isModuleEnabled","getApiHeaders","_isReady","init","getConfig","baseUrl","44495opldGt","4umkhQf","includes","23786KNwqOY","getOrganizationInfo","create","isDebugMode","_config","isReady","🔄 Config updated","events","4721975KWjTBJ","11200023koTdlM","getApiEndpoint"];return(te=function(){return t})()}const ee=ne;function ne(t,e){const n=se();return(ne=function(t,e){return n[t-=440]})(t,e)}function se(){const t=["5376876GRBnod","tablet","10787888KKbthx","height","mobile","android","606457YceFRJ","ios","2696841sdudYn","1886853SHjsxA","language","cookieEnabled","ko-KR","desktop-web","getAppVersion","5cpiEaO","SSR","0x0","web","platform","6074968NInUnX","userAgent","getDetailedInfo","width","getDeviceInfo","12055752TGFRrd","other","mapPlatformForEvents","2JKEkwa","getViewportInfo"];return(se=function(){return t})()}!function(){const t=ne,e=se();for(;;)try{if(976407===parseInt(t(444))/1+-parseInt(t(466))/2*(parseInt(t(447))/3)+parseInt(t(458))/4+parseInt(t(453))/5*(-parseInt(t(468))/6)+parseInt(t(446))/7+-parseInt(t(440))/8+parseInt(t(463))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class re{static[ee(462)](){const t=ee;if(!y.isBrowser())return{category:t(464),platform:t(454),model:t(454),appVersion:S[t(452)](),osVersion:t(454)};const e=navigator[t(459)].toLowerCase();let n="desktop";/tablet|ipad/.test(e)?n=t(469):D.isMobile()&&(n=t(442));const s=D.getPlatform();return{category:n,platform:re.mapPlatformForEvents(s),model:navigator.platform,appVersion:S[t(452)](),osVersion:navigator[t(457)]}}static[ee(465)](t){const e=ee;switch(t){case e(445):return e(445);case e(443):return e(443);case e(456):return"mobile-web";case"desktop":return e(451);default:return"unknown"}}static[ee(460)](){const t=ee;if(!y.isBrowser())return{userAgent:t(454),language:t(450),platform:t(454),cookieEnabled:!1,onLine:!0,screenResolution:t(455),viewportSize:"0x0"};const e=y[t(467)]();return{userAgent:navigator[t(459)],language:navigator[t(448)]||t(450),platform:navigator[t(457)],cookieEnabled:navigator[t(449)],onLine:navigator.onLine,screenResolution:screen[t(461)]+"x"+screen[t(441)],viewportSize:e.width+"x"+e[t(441)]}}}const ie=oe;function oe(t,e){const n=ae();return(oe=function(t,e){return n[t-=452]})(t,e)}function ae(){const t=["69882kxtpLP","split","304739bKDejD","UTC","2182584VdRBgw","estimateLocation","clearUserProperties","_userProperties","ko-KR","57NIsYGw","setUserProperties","language","54MWDHSm","resolvedOptions","extractCountryFromLanguage","1605dvaeTD","getUserInfo","414648ZfzBap","7468zXYuyk","3241105KvmsFz","getCurrentUserProperties","24827670NMtYzx","timeZone","getBaseUserInfo","isBrowser"];return(ae=function(){return t})()}!function(){const t=oe,e=ae();for(;;)try{if(703107===-parseInt(t(457))/1+parseInt(t(455))/2*(-parseInt(t(464))/3)+parseInt(t(473))/4*(-parseInt(t(470))/5)+-parseInt(t(459))/6+parseInt(t(474))/7+parseInt(t(472))/8*(-parseInt(t(467))/9)+parseInt(t(476))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ce{static[ie(471)](){return{...ce[ie(453)](),...ce._userProperties}}static[ie(453)](){const t=ie;if(!y.isBrowser())return{language:t(463),country:"KR"};const e=navigator[t(466)]||t(463);return{language:e,country:ce[t(469)](e)}}static extractCountryFromLanguage(t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ie(456)]("-")[0]]||"KR"}static[ie(465)](t){const e=ie;ce[e(462)]={...ce[e(462)],...t}}static setUserProperty(t,e){ce._userProperties[t]=e}static[ie(461)](){ce[ie(462)]={}}static[ie(475)](){return{...ce[ie(462)]}}static[ie(460)](){const t=ie;if(!y[t(454)]())return{timezone:t(458),estimatedCountry:"KR"};const e=Intl.DateTimeFormat()[t(468)]()[t(452)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}function de(t,e){const n=ue();return(de=function(t,e){return n[t-=353]})(t,e)}ce[ie(462)]={};const le=de;function ue(){const t=["getUserId","19809872CSAtGY","5357212bSWxQh","adstage_user_id","1516674SCnPpp","clearUserId","_sessionStartTime","getSessionInfo","getSessionId","removeItem","isSessionExpired","2770362NzyPFX","getSessionStats","adstage_session_start","ssr_session_","_userId","random","session_","now","setItem","adstage_session_id","isBrowser","9hSCkZX","refreshSession","isNewSession","10hBtKwu","substr","1352012POlida","getSessionDuration","toString","getItem","1590138PbqlnB","2636697VNWxeQ"];return(ue=function(){return t})()}!function(){const t=de,e=ue();for(;;)try{if(780566===parseInt(t(375))/1+-parseInt(t(365))/2+parseInt(t(369))/3+parseInt(t(373))/4+parseInt(t(363))/5*(parseInt(t(382))/6)+-parseInt(t(370))/7+parseInt(t(372))/8*(-parseInt(t(360))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class pe{static[le(379)](){const t=le;if(!y.isBrowser())return t(385)+Date.now();const e=sessionStorage[t(368)](t(358));if(e)return e;const n=t(355)+Math[t(354)]()[t(367)](36)[t(364)](2,9)+"_"+Date[t(356)]();return sessionStorage[t(357)](t(358),n),!pe[t(377)]&&(pe[t(377)]=Date[t(356)](),y[t(359)]()&&sessionStorage[t(357)](t(384),String(pe[t(377)]))),n}static setUserId(t){const e=le;pe[e(353)]=t,y[e(359)]()&&localStorage.setItem(e(374),t)}static[le(371)](){const t=le;if(pe[t(353)])return pe[t(353)];if(y[t(359)]()){const e=localStorage.getItem(t(374));if(e)return pe._userId=e,e}}static[le(376)](){const t=le;pe[t(353)]=void 0,y[t(359)]()&&localStorage[t(380)](t(374))}static[le(378)](){const t=le,e=pe[t(379)](),n=pe.getUserId(),s=pe[t(362)]();return{sessionId:e,userId:n,sessionDuration:pe.getSessionDuration(),isNewSession:s}}static[le(362)](){const t=le;if(!y.isBrowser())return!0;const e=sessionStorage.getItem(t(358)),n=sessionStorage.getItem("adstage_session_start");return!e||!n}static[le(366)](){const t=le;if(!y[t(359)]())return 0;const e=sessionStorage.getItem(t(384));return e?Date[t(356)]()-parseInt(e,10):0}static[le(361)](){const t=le;return y[t(359)]()&&(sessionStorage[t(380)](t(358)),sessionStorage.removeItem("adstage_session_start")),pe[t(377)]=void 0,pe.getSessionId()}static isSessionExpired(t=24){return pe[le(366)]()>60*t*60*1e3}static[le(383)](){const t=le,e=pe.getSessionId(),n=pe[t(371)](),s=pe[t(366)](),r=pe[t(381)](),i=pe[t(362)]();let o;if(y[t(359)]()){const e=sessionStorage[t(368)](t(384));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:s,isExpired:r,isNewSession:i}}}const he=ge;function fe(){const t=["📊 Events module initialized","debug","409128fIBMqk","warn","_isReady","3xqokmx","setUserProperties","Events module not initialized. Call AdStage.init() first.","804UgnHMH","68937ZQxXOp","POST","error","sendEventToServer","✅ Event tracked:","getCurrentUserProperties","setUserId","35484eMamDz","👤 User ID set:","18416nYtKNP","getDeviceInfo","track","isReady","_config","getSessionId","status","602PEROxC","getUserId","1846557NgeVeq","Event tracking failed: ","apiKey","300WgIPIA","log","application/json","statusText","Event data:","👤 User properties set:","710LBMaTq","stringify","init","API key not configured for event tracking.","890012tLkyTx"];return(fe=function(){return t})()}function ge(t,e){const n=fe();return(ge=function(t,e){return n[t-=422]})(t,e)}!function(){const t=ge,e=fe();for(;;)try{if(138465===-parseInt(t(461))/1*(-parseInt(t(431))/2)+-parseInt(t(458))/3+-parseInt(t(455))/4+-parseInt(t(445))/5*(parseInt(t(423))/6)+parseInt(t(440))/7*(-parseInt(t(433))/8)+parseInt(t(442))/9+-parseInt(t(451))/10*(-parseInt(t(424))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class me{constructor(){const t=ge;this._isReady=!1,this[t(437)]=null}[he(453)](t){const e=he;this._config=t,this[e(460)]=!0,t[e(457)]&&console[e(446)](e(456))}[he(436)](){return this[he(460)]}getConfig(){return this[he(437)]}setUserId(t){const e=he;pe[e(430)](t),this[e(437)]?.[e(457)]&&console.log(e(432),t)}[he(441)](){return pe[he(441)]()}[he(462)](t){const e=he;ce[e(462)](t),this[e(437)]?.[e(457)]&&console[e(446)](e(450),t)}getUserProperties(){return ce[he(429)]()}async track(t,e){const n=he;if(this[n(460)])if(this[n(437)]?.[n(444)])try{const s={eventName:t,userId:pe[n(441)](),sessionId:pe[n(438)](),sdkVersion:'"3.0.2"',device:re[n(434)](),user:ce.getUserInfo(),params:e||{}};await this[n(427)](s),this[n(437)][n(457)]&&console.log(n(428),t,e)}catch(s){console[n(426)]("❌ Failed to track event:",s),this[n(437)][n(457)]&&console[n(426)](n(449),{eventName:t,properties:e})}else console[n(459)](n(454));else console.warn(n(422))}async[he(427)](t){const e=he,n=await fetch(G.events[e(435)](),{method:e(425),headers:{...B.create(this._config[e(444)]),"Content-Type":e(447)},body:JSON[e(452)](t)});if(!n.ok)throw new Error(e(443)+n[e(439)]+" "+n[e(448)])}}const Ie=ve;function ve(t,e){const n=ye();return(ve=function(t,e){return n[t-=149]})(t,e)}function ye(){const t=["clearAdViewable","3288936GZejaU","baseUrl","isReady","84fnztmX","clear","setBaseUrl","viewableTracker","substring","...","📊 AdStage Debug: 현재 viewable 추적 상태","182021BzUVLS","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","✅ AdStage Debug: 광고 ","from","993366rYXqLS","reset","1193744hioSRT","events","AdStage not initialized. Call AdStage.init() first.","getConfig","init","1066414torNNV","config","2.0.0","_config","log","ads","apiKey","464220EHuZDX","656860nvKPLR","getInstance","debug","🚀 AdStage SDK initialized (sync mode)","instance","function","modules","_isInitialized"];return(ye=function(){return t})()}!function(){const t=ve,e=ye();for(;;)try{if(320954===parseInt(t(182))/1+parseInt(t(175))/2+-parseInt(t(168))/3+parseInt(t(170))/4+parseInt(t(183))/5+-parseInt(t(157))/6*(parseInt(t(164))/7)+-parseInt(t(154))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class be{constructor(){const t=ve;this[t(152)]=!1,this[t(178)]=null,this[t(176)]=new $t,this.ads=new Yt,this[t(171)]=new me}static[Ie(174)](t){const e=Ie;!be[e(149)]&&(be[e(149)]=new be);const n=be[e(149)];if(!t.apiKey)throw new Error("API key is required for AdStage initialization");n[e(178)]={timeout:3e4,debug:!1,modules:["ads","events",e(176)],...t},n[e(178)][e(155)]&&(G[e(159)](n[e(178)].baseUrl),t[e(185)]&&console[e(179)]("🌐 API endpoint configured:",n[e(178)][e(155)]));const s=n[e(178)][e(151)]||[e(180),e(171),e(176)];for(const t of s){const s=n[t];s&&typeof s[e(174)]===e(150)&&s[e(174)](n[e(178)])}n[e(152)]=!0,t[e(185)]&&console.log(e(186),{version:e(177),modules:s,apiKey:t[e(181)][e(161)](0,8)+e(162),mode:"development"})}static[Ie(156)](){const t=Ie;return be[t(149)]?.[t(152)]||!1}static[Ie(173)](){const t=Ie;return be[t(149)]?._config||null}static[Ie(184)](){const t=Ie;if(!be[t(149)])throw new Error(t(172));return be[t(149)]}static get[Ie(180)](){const t=Ie;return be[t(184)]()[t(180)]}static get[Ie(171)](){return be[Ie(184)]().events}static get[Ie(176)](){return be.getInstance().config}static[Ie(169)](){const t=Ie;be[t(149)]&&(be[t(149)][t(152)]=!1,be[t(149)][t(178)]=null)}}function we(t,e){var n=xe();return(we=function(t,e){return n[t-=367]})(t,e)}function xe(){var t=["409007fHjLOw","104SNjDOv","AdStage not initialized. Call AdStage.init() first.","52HgviHR","1032126LFZTDx","warn","isReady","96670cPRnvI","setUserProperties","16334790otiaDK","47173doLstB","1408296MLmaPh","track","2303352yTcXJW","setUserId","9XPJXFk","getUserProperties","getUserId","events"];return(xe=function(){return t})()}be[Ie(185)]={clearAllViewable:()=>{const t=Ie;dt[t(158)](),console[t(179)](t(165))},clearAdViewable:(t,e)=>{const n=Ie;dt[n(153)](t,e),console[n(179)](n(166)+t+"("+e+")의 viewable 추적 초기화됨")},getViewableStatus:()=>{const t=Ie;console[t(179)](t(163),{trackedCount:dt[t(160)].size,trackedItems:Array[t(167)](dt[t(160)])})}},function(){for(var t=we,e=xe();;)try{if(334150===parseInt(t(377))/1+-parseInt(t(381))/2+-parseInt(t(369))/3+-parseInt(t(380))/4*(parseInt(t(384))/5)+-parseInt(t(371))/6+parseInt(t(368))/7*(-parseInt(t(378))/8)+-parseInt(t(373))/9*(-parseInt(t(367))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const ke=h.createContext(null);function Ee(){const t=h.useContext(ke);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Se(t,e){var n=Ae();return(Se=function(t,e){return n[t-=413]})(t,e)}function Ae(){var t=["88720zXrIrC","387160HGTgeR","11rFAYEX","4zzDySw","8vejDxW","144uNGrDl","258167QtCvks","27089616vimjEA","48hPUFTK","1548441bHHuNe","2317050aFxLdU","256712cMKtdW"];return(Ae=function(){return t})()}!function(){for(var t=Se,e=Ae();;)try{if(542940===-parseInt(t(413))/1+parseInt(t(414))/2*(-parseInt(t(422))/3)+parseInt(t(417))/4*(parseInt(t(415))/5)+-parseInt(t(419))/6*(parseInt(t(420))/7)+-parseInt(t(418))/8*(parseInt(t(423))/9)+parseInt(t(424))/10+parseInt(t(416))/11*(parseInt(t(421))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Te=Me;!function(){const t=Me,e=Be();for(;;)try{if(198805===-parseInt(t(337))/1+parseInt(t(324))/2*(parseInt(t(335))/3)+-parseInt(t(338))/4*(-parseInt(t(332))/5)+-parseInt(t(329))/6+-parseInt(t(339))/7*(-parseInt(t(328))/8)+parseInt(t(340))/9+parseInt(t(326))/10*(-parseInt(t(325))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ce=Te(327),De=[Te(333),Te(330),Te(336)];function Me(t,e){const n=Be();return(Me=function(t,e){return n[t-=324]})(t,e)}function Be(){const t=["config","152152BBQHrX","23608UDzQtC","15323hxPgov","2409813hnZSTP","16jhbmkp","77TcdpAg","673270PObwSW","2.0.0","1000yhuMTg","1171416tKFrsW","events","AdStage","170WkGtrl","ads","undefined","103287bZpKjv"];return(Be=function(){return t})()}typeof window!==Te(334)&&(window[Te(331)]=be),exports.AdStage=be,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[r,i]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&be.reset(),be.init(t),i(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),i(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:r,initialize:c,reset:()=>{try{be.reset(),s(!1),i(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(ke.Provider,{value:d,children:t})},exports.SDK_VERSION=Ce,exports.SUPPORTED_MODULES=De,exports.getUserId=function(){var t=we;if(be[t(383)]())return be.events[t(375)]();console[t(382)](t(379))},exports.getUserProperties=function(){var t=we;if(be[t(383)]())return be[t(376)][t(374)]();console.warn(t(379))},exports.setUserId=function(t){var e=we;be.isReady()?be.events[e(372)](t):console.warn("AdStage not initialized. Call AdStage.init() first.")},exports.setUserProperties=function(t){var e=we;be[e(383)]()?be[e(376)][e(385)](t):console[e(382)](e(379))},exports.track=function(t,e){var n=we;return be[n(383)]()?be[n(376)][n(370)](t,e):(console[n(382)]("AdStage not initialized. Call AdStage.init() first."),Promise.resolve())},exports.useAdStageContext=Ee,exports.useAdStageInstance=function(){const{isInitialized:t}=Ee();return t?be:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};
1
+ "use strict";var t,e,n,s,i,r,o,a,c,d,l,u,p=require("react/jsx-runtime"),h=require("react");function f(){var t=["CLICK","TABLET","DESKTOP","48219PHWTFu","WEB","1626835MYVlLL","3610912UDUWJd","NATIVE","52pyFmnz","2BeFODq","TEXT","4041945zysJDJ","709210TdmBmR","18Giyrjt","VIEWABLE","457667hXOILL","POPUP","MOBILE","12527330RhDeJK"];return(f=function(){return t})()}function g(t,e){var n=f();return(g=function(t,e){return n[t-=309]})(t,e)}function m(){const t=["번 시도)","⏳ 컨테이너 대기 시작: ","appendChild","open","2778ynKyKP","from","safeRemoveEventListener","✅ 컨테이너 즉시 발견: ","isDOMReady","devicePixelRatio",'❌ 컨테이너를 찾을 수 없습니다: "',"map","innerWidth","getPageInfo","309071NSldIV","safeQuerySelector","ms (","waitForElements","undefined","getViewportInfo","setProperty","min","querySelector","safeAddEventListener",'"\n \n다음을 확인해보세요:\n1. HTML에 id="',"safeSetTextContent","3042110xVPgkv","waitForElement","958220HwbraU","add","referrer","safeWindowOpen","getDocumentProperty","9zsXlRr","classList","removeEventListener","getElementById",'" 요소가 있는지 확인\n2. React 등에서 컴포넌트가 렌더링된 후 SDK 호출\n3. 철자가 정확한지 확인\n4. 중복된 ID가 없는지 확인\n\n대기 시간: ',"getWindowProperty","pageXOffset","번째 시도, ","href","safeGetElementById","title","1104MJeDfd","createElement","⏳ 컨테이너 대기 중: ","documentElement","innerHTML","style","log","2skbvFT","safeSetInnerHTML","68948lJueBI","DOM을 사용할 수 없는 환경입니다.","3805568PIXpeN","canUseDOM","904BRjTmi","isBrowser","safeQuerySelectorAll","ms)","DOMContentLoaded","addEventListener","waitForDOM","ms 경과)","84pEcxog","180723daGZdi","loading","pow","readyState","safeApplyStyles","✅ 컨테이너 발견: ","safeCreateElement","scrollTop","forEach","safeAddClass","location","pageYOffset","safeRemoveClass"];return(m=function(){return t})()}function I(t,e){const n=m();return(I=function(t,e){return n[t-=247]})(t,e)}!function(){for(var t=g,e=f();;)try{if(296667===-parseInt(t(309))/1*(parseInt(t(322))/2)+-parseInt(t(316))/3*(-parseInt(t(321))/4)+parseInt(t(325))/5*(parseInt(t(326))/6)+-parseInt(t(318))/7+-parseInt(t(319))/8+-parseInt(t(324))/9+parseInt(t(312))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}(),e=t||(t={}),n=g,e.BANNER="BANNER",e[n(310)]=n(310),e.INTERSTITIAL="INTERSTITIAL",e[n(320)]=n(320),e.VIDEO="VIDEO",e.TEXT=n(323),i=s||(s={}),r=g,i.WEB=r(317),i[r(311)]="MOBILE",(a=o||(o={}))[(c=g)(327)]=c(327),a[c(313)]=c(313),l=d||(d={}),u=g,l.DESKTOP=u(315),l[u(311)]="MOBILE",l.TABLET=u(314);const v=I;!function(){const t=I,e=m();for(;;)try{if(394581===parseInt(t(305))/1*(parseInt(t(290))/2)+-parseInt(t(322))/3*(-parseInt(t(296))/4)+-parseInt(t(265))/5+parseInt(t(304))/6*(parseInt(t(253))/7)+parseInt(t(294))/8+parseInt(t(272))/9*(parseInt(t(267))/10)+parseInt(t(292))/11*(-parseInt(t(283))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class y{static isBrowser(){return typeof window!==I(257)&&"undefined"!=typeof document}static isSSR(){return!this[I(297)]()}static[v(295)](){const t=v;return this[t(297)]()&&void 0!==document[t(308)]}static[v(281)](t){const e=v;return this[e(295)]()?document[e(275)](t):null}static[v(254)](t){const e=v;return this.canUseDOM()?document[e(261)](t):null}static[v(298)](t){const e=v;return this[e(295)]()?Array[e(323)](document.querySelectorAll(t)):[]}static[v(311)](t){const e=v;return this[e(295)]()?document[e(284)](t):null}static safeAddEventListener(t,e,n,s){const i=v;this[i(295)]()&&t&&t[i(301)](e,n,s)}static[v(324)](t,e,n,s){const i=v;this[i(295)]()&&t&&t[i(274)](e,n,s)}static[v(277)](t,e){return this[v(297)]()?window[t]??e:e}static[v(271)](t,e){return this[v(295)]()?document[t]??e:e}static[v(270)](t,e,n){const s=v;return this[s(297)]()?window[s(321)](t,e,n):null}static safeGetComputedStyle(t){return this[v(297)]()&&t?window.getComputedStyle(t):null}static[v(247)](){const t=v;return!!this[t(295)]()&&document[t(308)]!==t(306)}static[v(302)](){return new Promise(t=>{const e=I;this.canUseDOM()?this.isDOMReady()?t():this[e(262)](document,e(300),()=>t()):t()})}static[v(309)](t,e){const n=v;this[n(295)]()&&t&&Object.entries(e)[n(313)](([e,s])=>{const i=n;t[i(288)][i(259)](e,s)})}static[v(314)](t,e){const n=v;this[n(295)]()&&t&&t[n(273)][n(268)](e)}static[v(317)](t,e){const n=v;this[n(295)]()&&t&&t[n(273)].remove(e)}static[v(264)](t,e){this[v(295)]()&&t&&(t.textContent=e)}static[v(291)](t,e){const n=v;this[n(295)]()&&t&&(t[n(287)]=e)}static safeAppendChild(t,e){const n=v;this[n(295)]()&&t&&e&&t[n(320)](e)}static safeRemoveChild(t,e){this[v(295)]()&&t&&e&&t.removeChild(e)}static[v(252)](){const t=v;return{url:this.getWindowProperty(t(315),{href:""})[t(280)],title:this[t(271)](t(282),""),referrer:this[t(271)](t(269),"")}}static[v(258)](){const t=v;return{width:this[t(277)](t(251),0),height:this[t(277)]("innerHeight",0),pixelRatio:this[t(277)](t(248),1)}}static getScrollInfo(){const t=v;return{scrollTop:this[t(295)]()?window[t(316)]||document[t(286)][t(312)]:0,scrollLeft:this[t(277)](t(278),0)}}static async[v(266)](t,e={}){const n=v,{timeout:s=3e3,retryInterval:i=100,debug:r=!1}=e;if(!this.canUseDOM())throw new Error(n(293));const o=document[n(275)](t);return o?(r&&console.log(n(325)+t),o):(r&&console.log(n(319)+t+" (최대 "+s+n(299)),new Promise((e,n)=>{let o=0;const a=Math.ceil(s/i),c=()=>{const d=I;o++;const l=document[d(275)](t);if(l)return r&&console[d(289)](d(310)+t+" ("+o+d(279)+o*i+d(303)),void e(l);if(o>=a){const e=d(249)+t+d(263)+t+d(276)+s+d(255)+o+d(318);return r&&console.error(e),void n(new Error(e))}r&&o%10==0&&console.log(d(285)+t+" ("+o+"/"+a+")");const u=Math[d(260)](i*Math[d(307)](1.2,o),500);setTimeout(c,u)};setTimeout(c,i)}))}static async[v(256)](t,e={}){const n=t[v(250)](t=>this.waitForElement(t,e));return Promise.all(n)}}const b=w;function w(t,e){const n=x();return(w=function(t,e){return n[t-=258]})(t,e)}function x(){const t=["104476knfJVI","98sBANjn","11GpwmKS","6aCjaCh","3293784sesXpv","AdStageSDK/","userAgent","683556BeVYwF","444830MUZohx","336582YMhRcQ","undefined",'"3.0.3"',"532990VdyQpr","28RqUdeG","788968aHpspX"];return(x=function(){return t})()}!function(){const t=w,e=x();for(;;)try{if(734347===-parseInt(t(262))/1*(-parseInt(t(259))/2)+parseInt(t(266))/3+parseInt(t(272))/4*(-parseInt(t(267))/5)+-parseInt(t(263))/6+-parseInt(t(260))/7*(-parseInt(t(258))/8)+parseInt(t(268))/9+parseInt(t(271))/10*(-parseInt(t(261))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const k=b(270);function E(){return k}const S=A;function A(t,e){const n=T();return(A=function(t,e){return n[t-=470]})(t,e)}function T(){const t=["1273456zuuTrl","getPlaceholderMode","getTimeout","subtle","placeholderMode","getConfig","8asAFXx","appVersion","1221162ZZaIdh","getEnabledModules","getAppVersion","1.0.0","16160031HtpCXL","378937OLkUAc","62GFReZV","debug","136707mYfgVp","apiKey","config","isDebugMode","events","ads","../core/adstage","716884gfURKP","207995XBhVUF"];return(T=function(){return t})()}!function(){const t=A,e=T();for(;;)try{if(791031===parseInt(t(480))/1+-parseInt(t(481))/2*(parseInt(t(483))/3)+-parseInt(t(492))/4+parseInt(t(491))/5+parseInt(t(475))/6+parseInt(t(490))/7+-parseInt(t(473))/8*(-parseInt(t(479))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class C{static[S(472)](){const t=S;try{const{AdStage:e}=require(t(489));return e[t(472)]()}catch{return null}}static[S(477)](){const t=S,e=C[t(472)]();return e?.[t(474)]||t(478)}static[S(486)](){const t=S,e=C.getConfig();return e?.[t(482)]||!1}static getApiKey(){const t=S,e=C[t(472)]();return e?.[t(484)]}static[S(494)](){const t=C[S(472)]();return t?.timeout||3e4}static[S(493)](){const t=S,e=C[t(472)]();return e?.[t(471)]||t(470)}static[S(476)](){const t=S,e=C.getConfig();return e?.modules||[t(488),t(487),t(485)]}}const R=U;function D(){const t=["252376DBHJrY","getItem","isBrowser","userAgent","toLowerCase","effectiveType","android","getBoundingClientRect","language","UTC","device_","45wROCiz","1445241PaajWd","platform","session_","resolvedOptions","safeGetElementById","getViewportInfo","unknown","toString","12800070vkBrhK","ios","random","87yWaOWW","left","DateTimeFormat","setItem","adstage_session_id","getPlatform","web","1459438lFRiFW","generateSessionId","SSR","width","12336710boHRBj","11qTdJxL","generateDeviceId","56438pjHLRY","substr","test",",y:","30rcJJYR","8UMBBzH","adstage_device_id","height","timeZone","isMobile","round","colorDepth","16047588agMAqn","now","getScrollInfo"];return(D=function(){return t})()}function U(t,e){const n=D();return(U=function(t,e){return n[t-=242]})(t,e)}!function(){const t=U,e=D();for(;;)try{if(922646===parseInt(t(285))/1+parseInt(t(292))/2*(-parseInt(t(278))/3)+parseInt(t(255))/4*(parseInt(t(266))/5)+parseInt(t(244))/6*(parseInt(t(267))/7)+-parseInt(t(245))/8*(parseInt(t(275))/9)+-parseInt(t(289))/10*(parseInt(t(290))/11)+parseInt(t(252))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class M{static[R(291)](){const t=R;if(!y[t(257)]())return"ssr_device_"+Date[t(253)]();const e=localStorage.getItem(t(246));if(e)return e;const n=t(265)+Math[t(277)]()[t(274)](36)[t(293)](2,9)+"_"+Date.now();return localStorage[t(281)](t(246),n),n}static[R(286)](){const t=R;if(!y.isBrowser())return"ssr_session_"+Date[t(253)]();const e=sessionStorage[t(256)](t(282));if(e)return e;const n=t(269)+Math[t(277)]()[t(274)](36)[t(293)](2,9)+"_"+Date[t(253)]();return sessionStorage.setItem(t(282),n),n}static[R(249)](){const t=R;return!!y[t(257)]()&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator[t(258)])}static[R(283)](){const t=R;if(!y[t(257)]())return t(284);const e=navigator[t(258)][t(259)]();return/iphone|ipad|ipod/[t(242)](e)?t(276):/android/.test(e)?t(261):M.isMobile()?t(284):"desktop"}static collectDeviceInfo(){const t=R,e=y[t(272)]();return{deviceId:M[t(291)](),sessionId:M[t(286)](),osVersion:y[t(257)]()?navigator.platform:t(287),deviceModel:y[t(257)]()?navigator[t(268)]:t(287),appVersion:C.getAppVersion(),sdkVersion:E(),language:y[t(257)]()&&navigator[t(263)]||"ko",country:"KR",ipAddress:"",userAgent:y[t(257)]()?navigator.userAgent:"SSR",timezone:y[t(257)]()?Intl[t(280)]()[t(270)]()[t(248)]:t(264),viewportWidth:e[t(288)],viewportHeight:e[t(247)],screenWidth:y[t(257)]()?screen.width:0,screenHeight:y[t(257)]()?screen[t(247)]:0,colorDepth:y[t(257)]()?screen[t(251)]:24,pixelRatio:e.pixelRatio,connectionType:y[t(257)]()?navigator.connection?.[t(260)]||t(273):"unknown",platform:M[t(283)]()}}static getSlotPosition(t){const e=R,n=y[e(271)](t);if(!n)return"unknown";const s=n[e(262)](),i=y[e(254)]();return"x:"+Math[e(250)](s[e(279)])+e(243)+Math[e(250)](s.top+i.scrollTop)}}function B(){const t=["API key is required","4759608yjNmkY","35835620EpTQdk","969GkLOgR","userAgent","application/json","1976358jrPZgF","2466963WgDuYD","2430xZESBs","52LuObPN","16mlYcpG","User-Agent","create","contentType","1329461pYNBnK","58285tFgaSS"];return(B=function(){return t})()}const z=L;function L(t,e){const n=B();return(L=function(t,e){return n[t-=154]})(t,e)}!function(){const t=L,e=B();for(;;)try{if(811350===-parseInt(t(163))/1+-parseInt(t(157))/2*(parseInt(t(168))/3)+-parseInt(t(158))/4*(parseInt(t(164))/5)+parseInt(t(155))/6+-parseInt(t(166))/7+-parseInt(t(159))/8*(parseInt(t(156))/9)+parseInt(t(167))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class P{static[z(161)](t,e){const n=z;if(!t)throw new Error(n(165));const s={"x-api-key":t,"Content-Type":e?.[n(162)]||n(154)};return"undefined"!=typeof navigator&&(s[n(160)]=e?.[n(169)]||navigator.userAgent),s}static createForEvents(t,e){const n=z,s=P[n(161)](t);return e?.userAgent&&(s[n(160)]=e[n(169)]),s}}const N=O;function V(){const t=["getPageInfo","string","POST","text","deviceId","...","60ShdiZo","substring","adType","136599YQYMUn","4778408xeSjTV","VIEWABLE"," - "," in slot ","🚀 Sending advertisement event: ","error","API request failed: ","170410DKVVSU","collectDeviceInfo","baseUrl","referrer","log","🚀 AdvertisementEventTracker: Processing ","debug","title","slots","4734840qDMfia","📡 API Response Status: ","55101cddVVi","replace","/advertisements/events/","status","statusText","get","5273960fFYzir","81204ZJHDjF","🔍 Debug info:","18ImYMNM","url","apiKey","width","14YkBIuX","❌ Failed to track advertisement event:","117QlgJSd"," for ad ","737lhXegu"," event for ad ","✅ Successfully tracked advertisement event: ","parseNumericValue","createForEvents","now","height","platform","length","containerId","stringify","getSlotPosition"];return(V=function(){return t})()}function O(t,e){const n=V();return(O=function(t,e){return n[t-=194]})(t,e)}!function(){const t=O,e=V();for(;;)try{if(928294===parseInt(t(195))/1*(parseInt(t(223))/2)+-parseInt(t(214))/3*(parseInt(t(249))/4)+parseInt(t(220))/5+parseInt(t(212))/6+parseInt(t(227))/7*(-parseInt(t(196))/8)+-parseInt(t(229))/9*(parseInt(t(203))/10)+-parseInt(t(231))/11*(parseInt(t(221))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class F{constructor(t,e,n,s){const i=O;this[i(205)]=t,this[i(225)]=e,this[i(209)]=n,this[i(211)]=s}async trackAdvertisementEvent(t,e,n){const s=O;try{this[s(209)]&&console[s(207)](s(208)+n+s(232)+t+s(199)+e);const i=this[s(211)][s(219)](e),r=M[s(204)](),a={adType:i?.[s(194)]||"BANNER",platform:r[s(238)],deviceId:r[s(247)],deviceInfo:r,pageUrl:y[s(243)]()[s(224)],pageTitle:y[s(243)]()[s(210)],referrer:y[s(243)]()[s(206)],slotId:e,slotPosition:M[s(242)](i?.[s(240)]||""),slotWidth:F[s(234)](i?.[s(226)]),slotHeight:F.parseNumericValue(i?.[s(237)]),sessionId:r.sessionId,pageLoadTime:performance[s(236)](),metadata:{eventType:n,sdkVersion:E(),timestamp:Date[s(236)]()},...n===o[s(197)]&&{isViewable:!0,iabCompliant:!0}},c=this[s(205)]+s(216)+t+"/"+n,d=P[s(235)](this[s(225)],a);this[s(209)]&&(console[s(207)](s(200)+n+s(230)+t,{url:c,headers:d,eventData:a}),console.log("🌐 Full API call details:",{method:s(245),url:c,hasApiKey:!!this.apiKey,bodySize:JSON[s(241)](a)[s(239)]}));const l=await fetch(c,{method:"POST",headers:d,body:JSON[s(241)](a)});if(this.debug&&console[s(207)](s(213)+l[s(217)]+" "+l.statusText,{url:c,ok:l.ok}),!l.ok){const t=await l[s(246)]();throw new Error(s(202)+l.status+" "+l[s(218)]+s(198)+t)}this[s(209)]&&console[s(207)](s(233)+n+s(230)+t)}catch(i){console[s(201)](s(228),i),console[s(201)](s(222),{baseUrl:this[s(205)],apiKey:this[s(225)]?this[s(225)][s(250)](0,8)+s(248):"NOT_SET",url:this.baseUrl+s(216)+t+"/"+n,eventType:n,adId:t,slotId:e})}}static[N(234)](t){const e=N;if("number"==typeof t)return t;if(typeof t===e(244)){const n=parseFloat(t[e(215)](/px$/,""));return isNaN(n)?0:n}return 0}}function _(){var t=["IntersectionObserver","22XGfqJb","2250978itxAEj","7591178Ovhbnf","disconnect","handleIntersection","visible","initIntersectionObserver","11692392yldblW","327368mxpsdw","warn","144jacqKD","1808300ZrYmfy","destroy","isViewableTriggered","IntersectionObserver not supported, viewability tracking disabled","0px","isDocumentVisible","observe","1838kafLQk","hidden","observer","939668eaLfKx","onViewableCallback","forEach","visibilityState","6jlYJHF","252UjUtqz","5DnyMiU"];return(_=function(){return t})()}function H(t,e){var n=_();return(H=function(t,e){return n[t-=142]})(t,e)}var K=H;!function(){for(var t=H,e=_();;)try{if(623259===-parseInt(t(144))/1*(parseInt(t(165))/2)+parseInt(t(143))/3*(-parseInt(t(168))/4)+-parseInt(t(145))/5*(parseInt(t(148))/6)+-parseInt(t(149))/7+-parseInt(t(155))/8*(-parseInt(t(157))/9)+parseInt(t(158))/10+parseInt(t(147))/11*(parseInt(t(154))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class j{constructor(t,e){var n=H;this[n(167)]=null,this[n(160)]=!1,this.element=t,this[n(169)]=e,this.initIntersectionObserver()}[K(153)](){var t=K;t(146)in window?(this[t(167)]=new IntersectionObserver(e=>this[t(151)](e),{threshold:.5,rootMargin:t(162)}),this[t(167)][t(164)](this.element)):console[t(156)](t(161))}[K(151)](t){var e=K;t[e(170)](t=>{var n=e;t.intersectionRatio>=.5&&this[n(163)]()&&!this.isViewableTriggered&&(this[n(160)]=!0,this[n(169)]&&this[n(169)]())})}[K(163)](){var t=K;return!document[t(166)]&&document[t(142)]===t(152)}[K(159)](){var t=K;this.observer&&(this[t(167)][t(150)](),this[t(167)]=null)}}const X=q;!function(){const t=q,e=W();for(;;)try{if(509150===-parseInt(t(141))/1*(-parseInt(t(121))/2)+-parseInt(t(133))/3*(-parseInt(t(129))/4)+parseInt(t(140))/5*(parseInt(t(127))/6)+-parseInt(t(122))/7+parseInt(t(138))/8*(-parseInt(t(123))/9)+-parseInt(t(136))/10*(parseInt(t(120))/11)+parseInt(t(134))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Y={production:X(137),beta:"https://beta-api.adstage.app"};function W(){const t=["4fYDaOY","1842211nKqxWQ","9gccofM","setBaseUrl","production","track","444fWILxf","/advertisements/events","2859112wqvAoa","advertisements","baseUrl","custom","3xEiApl","11395656bUcafh","events","20HRRVpC","https://api.adstage.io","8027704KwxyIM","/advertisements","35300FEaBuO","225068DSlzTv","startsWith","getBaseUrl","/events/track","4736633DhcSik"];return(W=function(){return t})()}X(125);const J={advertisements:{list:"/advertisements/list",detail:X(139),events:X(128)},events:{track:X(144)}};class G{constructor(t){const e=X;this[e(130)]={list:()=>""+this[e(131)]+J[e(130)].list,detail:t=>""+this.baseUrl+J[e(130)].detail+"/"+t,events:(t,n)=>""+this[e(131)]+J[e(130)][e(135)]+"/"+t+"/"+n},this.events={track:()=>""+this[e(131)]+J[e(135)][e(126)]},this[e(131)]=t||Y.production}[X(124)](t){this.baseUrl=t}[X(143)](){return this[X(131)]}[X(132)](t){const e=X;return""+this.baseUrl+(t[e(142)]("/")?t:"/"+t)}}function q(t,e){const n=W();return(q=function(t,e){return n[t-=120]})(t,e)}const Z=new G;var Q=$;function $(t,e){var n=tt();return($=function(t,e){return n[t-=291]})(t,e)}function tt(){var t=["🎯 Triggering initial VIEWABLE event: ad ","5068602voEYhh","1WeVbav","log","trackSlideViewable","🎯 Triggering VIEWABLE event for slide change: ad ","VIEWABLE","173517nxDdeR"," (index: 0) in slot: ","1250xuvNMT","759698UrryUM","772722KEwGzu","2624vchZYj","25PcPVoS","6482640SIeqeR","_id",") in slot: ","21501mePeRY","52byNUGS","73403qWGoXc"," (index: "];return(tt=function(){return t})()}!function(){for(var t=$,e=tt();;)try{if(460852===parseInt(t(299))/1*(parseInt(t(307))/2)+parseInt(t(304))/3*(parseInt(t(294))/4)+parseInt(t(310))/5*(parseInt(t(308))/6)+-parseInt(t(298))/7+parseInt(t(309))/8*(parseInt(t(293))/9)+parseInt(t(306))/10*(-parseInt(t(295))/11)+-parseInt(t(311))/12)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class et{static[Q(301)](t,e,n,s,i=!1){var r=Q;i&&console[r(300)](r(302)+t[r(291)]+r(296)+n+r(292)+e.id),s(t._id,e.id,o[r(303)])}static trackInitialSlideViewable(t,e,n,s=!1){var i=Q;s&&console.log(i(297)+t[i(291)]+i(305)+e.id),n(t._id,e.id,o[i(303)])}}function nt(t,e){const n=it();return(nt=function(t,e){return n[t-=447]})(t,e)}const st=nt;function it(){const t=["🔗 ","forEach","780154mGMtaR","addClickEventForSlider","linkUrl","addEventListener","cursor"," -> ","style","open","_id","63ZqPWEA","isClickable","CLICK","49cXEFNE","addClickEventForRenderer","log","preventDefault","pointer","2889726sZdvnt","addClickEvent","1172856LyDyyC","1729225MLGtiv","10820AmzVrx","3343830kXnVlq","1535886yHSVpD","_blank","1113ygGxbt","toLowerCase","stopPropagation"," ad clicked: "];return(it=function(){return t})()}!function(){const t=nt,e=it();for(;;)try{if(528800===parseInt(t(448))/1+-parseInt(t(471))/2+-parseInt(t(473))/3*(-parseInt(t(469))/4)+parseInt(t(468))/5+parseInt(t(465))/6+-parseInt(t(460))/7*(-parseInt(t(467))/8)+parseInt(t(457))/9*(-parseInt(t(470))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class rt{static[st(466)](t,e,n,s,i=!1,r){const a=st;e[a(450)]&&(t[a(454)][a(452)]=a(464),t[a(451)]("click",t=>{const c=a;if(t[c(463)](),t[c(475)](),s&&s(e[c(456)],n.id,o.CLICK),window[c(455)](e[c(450)],"_blank"),i){const t=r||String(n.adType)[c(474)]();console[c(462)](c(477)+t+c(476)+e[c(456)]+c(453)+e.linkUrl)}}))}static[st(461)](t,e,n,s,i=!1,r){const a=st;e[a(450)]&&(t[a(454)][a(452)]=a(464),t[a(451)]("click",t=>{const c=a;t.preventDefault(),t[c(475)]();if(s()(e._id,n.id,o[c(459)]),window[c(455)](e[c(450)],c(472)),i){const t=r||String(n.adType)[c(474)]();console[c(462)](c(477)+t+c(476)+e._id+" -> "+e[c(450)])}}))}static[st(449)](t,e,n,s,i=!1,r){this[st(466)](t,e,n,s,i,r)}static[st(458)](t){return Boolean(t[st(450)])}static addClickEventsBatch(t,e,n,s,i=!1,r){const o=st;t[o(447)]((t,a)=>{const c=o,d=e[a];d&&this[c(466)](t,d,n,s,i,r)})}}const ot=at;function at(t,e){const n=ct();return(at=function(t,e){return n[t-=190]})(t,e)}function ct(){const t=["div","width","BANNER","children","length","1px solid #666","opacity","1px dashed #ccc","contains","1465675VbRumy","3yVDzCD","img","entries","inline-block","#f9f9f9","includes","#cccccc","fontSize","1015DdSoUc","every","remove","VIDEO","transparent","100px","textContent","Banner Ad","1470VYzHwf","flex","backgroundColor","auto","1psuCDL","1812VTShqn","overflow","addEventListener","background","display","200px","160354sKffXl","height","addTouchSupport","addClickEventForSlider","click","color","className","\n position: absolute;\n bottom: 15px;\n left: 50%;\n transform: translateX(-50%);\n display: flex;\n gap: 12px;\n z-index: 3;\n padding: 8px 16px;\n border-radius: 20px;\n background: rgba(255, 255, 255, 0.1);\n backdrop-filter: blur(10px);\n ","center","50px","createElement","adstage-dot","100%","video","#f0f0f0","forEach","createSimpleAdElement","8px","TEXT","border","getBoundingClientRect","videoUrl","imageUrl","toLowerCase","string","4620xosyDg","adstage-slide","data-adstage-ad-id","setAttribute","setProperty","adstage-slide-container","225jQIfbb","active","mouseleave","transition","style","body","preventDefault","borderColor","block","#666666","hidden","adstage-slider-wrapper","38662PDPQKT","_id",".adstage-dot","14px","createSliderContainer","createMinimalDotIndicator","transform 0.4s ease-out","clientX","60528NgFWPn","appendChild","padding","adstage-dots","autoSlideInterval","add","\n width: 8px;\n height: 8px;\n border-radius: 50%;\n border: 1px solid #cccccc;\n background: transparent;\n cursor: pointer;\n transition: all 0.3s ease;\n outline: none;\n opacity: 0.7;\n padding: 0;\n margin: 0;\n flex-shrink: 0;\n ","touchmove","mouseenter","trackSlideViewable","cover","#999999","removeChild","transform","classList","adType","4030CLvlsy","cssText","querySelectorAll","251276briHlb"];return(ct=function(){return t})()}!function(){const t=at,e=ct();for(;;)try{if(157662===-parseInt(t(265))/1*(-parseInt(t(272))/2)+parseInt(t(245))/3*(-parseInt(t(234))/4)+-parseInt(t(244))/5+parseInt(t(261))/6*(-parseInt(t(253))/7)+parseInt(t(215))/8*(parseInt(t(195))/9)+-parseInt(t(231))/10*(parseInt(t(297))/11)+-parseInt(t(266))/12*(-parseInt(t(207))/13))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class dt{static[ot(288)](e,n){const s=ot,i=document[s(282)](s(235));switch(i[s(278)]="adstage-ad adstage-"+String(e[s(230)]).toLowerCase(),i[s(192)](s(191),n[s(208)]),i[s(192)]("data-adstage-slot-id",e.id),i[s(199)][s(270)]=s(203),i[s(199)][s(236)]=s(284),i[s(199)][s(273)]="auto",e[s(230)]){case t[s(237)]:if(n[s(294)]){const t=document[s(282)](s(246));t.src=n[s(294)],t[s(199)][s(236)]=s(284),t[s(199)][s(273)]=s(264),t.style.objectFit=s(225),i[s(216)](t)}else i.style[s(273)]=s(258),i[s(199)][s(263)]=s(286),i[s(199)][s(291)]=s(242),i[s(259)]=s(260);break;case t[s(256)]:if(n[s(293)]){const t=document[s(282)](s(285));t.src=n.videoUrl,t[s(199)][s(236)]=s(284),t.style.height="auto",i.appendChild(t)}else i[s(199)].height=s(271),i[s(199)][s(263)]="#000",i[s(199)].border=s(240),i.textContent="Video Ad",i[s(199)][s(277)]="white";break;case t[s(290)]:if(n.textContent){const t=document[s(282)](s(235));t[s(259)]=n.textContent||"",t.style[s(217)]=s(289),t[s(199)][s(252)]=s(210),i[s(216)](t)}else i[s(199)].height=s(281),i[s(199)][s(217)]=s(289),i[s(259)]="Text Ad";break;default:i[s(199)].height=s(258),i[s(199)].border=s(242),i[s(199)][s(263)]=s(249),i[s(259)]=e[s(230)]+" Ad"}return i}static[ot(211)](e,n,s,i,r=!1){const o=ot,a=document[o(282)]("div");a[o(278)]=o(206);const c={position:"relative",overflow:o(205)};if(e.width&&0!==e[o(236)]){let t;t=typeof e[o(236)]===o(296)&&(e[o(236)][o(250)]("px")||e[o(236)].includes("%"))?e[o(236)]:e.width+"px",c[o(236)]=t,c[o(270)]=o(248)}else c[o(270)]=o(248);if(e.height&&0!==e.height){const t=typeof e[o(273)]===o(296)?e.height:e[o(273)]+"px";c[o(273)]=t}Object[o(247)](c)[o(287)](([t,e])=>{const n=o;a[n(199)][n(193)](t,e)});const d=!e[o(236)]||0===e.width,l=!e[o(273)]||0===e[o(273)];if(d||l){const t=document[o(282)](o(235));if(t.style.cssText="\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ",!d&&e.width){let n;n="string"==typeof e[o(236)]&&(e[o(236)][o(250)]("px")||e[o(236)][o(250)]("%"))?e[o(236)]:e[o(236)]+"px",t.style.width=n,t[o(199)].whiteSpace="normal"}document.body[o(216)](t);let s=0,i=0;n.forEach(n=>{const r=o,a=this[r(288)](e,n);t.appendChild(a);const c=a[r(292)]();c[r(236)]>s&&(s=c.width),c[r(273)]>i&&(i=c[r(273)]),t[r(227)](a)}),d&&s>0&&(a[o(199)][o(236)]=s+"px",c[o(236)]=s+"px"),l&&i>0&&(a.style[o(273)]=i+"px",c[o(273)]=i+"px"),document[o(200)][o(227)](t)}const u=[...n,n[0]],p=document[o(282)](o(235));p[o(278)]=o(194);const h={display:o(262),transition:o(213),width:100*u[o(239)]+"%"};e[o(273)]&&0!==e[o(273)]&&(h[o(273)]=o(284)),Object.entries(h).forEach(([t,e])=>{const n=o;p[n(199)][n(193)](t,e)}),u[o(287)]((t,n)=>{const s=o,a=document[s(282)](s(235));a[s(278)]=s(190);const c={width:100/u.length+"%","flex-shrink":"0",display:"flex","align-items":s(280),"justify-content":s(280)};e[s(273)]&&0!==e[s(273)]&&(c[s(273)]=s(284)),Object.entries(c)[s(287)](([t,e])=>{a[s(199)].setProperty(t,e)});const d=this.createSimpleAdElement(e,t);rt[s(275)](d,t,e,i,r,String(e[s(230)])[s(295)]()),a.appendChild(d),p[s(216)](a)});const f=n[o(254)](e=>e.adType===t.TEXT)?null:this[o(212)](n[o(239)]);let g=0;const m=n.length,I=1e3*(s?.[o(219)]||3),v=(t,s=!1)=>{const a=o;g=t,s?p[a(199)][a(198)]="none":p[a(199)].transition=a(213),p[a(199)][a(228)]="translateX(-"+100/u.length*g+"%)";const c=g===m?0:g;if(f){f[a(233)](".adstage-dot")[a(287)]((t,e)=>{const n=a,s=t;e===c?(s.classList[n(220)](n(196)),s[n(199)].background=n(204),s[n(199)][n(202)]=n(204),s.style[n(241)]="1"):(s[n(229)][n(255)](n(196)),s[n(199)][n(269)]=n(257),s[n(199)][n(202)]=n(251),s.style.opacity="0.7")})}et[a(224)](n[c],e,c,i,r)},y=()=>{g===m&&setTimeout(()=>{v(0,!0)},400)};if(f){f[o(233)](o(209))[o(287)]((t,e)=>{const n=o;t[n(268)](n(276),()=>v(e))})}let b=setInterval(()=>{v(g+1),y()},I);return a[o(268)](o(223),()=>{clearInterval(b)}),a.addEventListener(o(197),()=>{b=setInterval(()=>{v(g+1),y()},I)}),this[o(274)](p,v,()=>g,m,y),a[o(216)](p),f&&a.appendChild(f),v(0),(!e[o(236)]||0===e.width)&&setTimeout(()=>{const t=o,n=p[t(238)][0];if(n){const s=n[t(238)][0];if(s){const n=s[t(292)]();a.style[t(236)]=n.width+"px",(!e[t(273)]||0===e.height)&&(a[t(199)][t(273)]=n[t(273)]+"px"),a[t(199)][t(267)]=t(205)}}},10),a}static[ot(212)](t){const e=ot,n=document[e(282)](e(235));n[e(278)]=e(218),n[e(199)][e(232)]=e(279);for(let s=0;s<t;s++){const t=document.createElement("button");t.className=e(283),t[e(199)].cssText=e(221),t[e(268)](e(223),()=>{const n=e;!t[n(229)][n(243)]("active")&&(t.style[n(202)]=n(226),t[n(199)][n(241)]="0.9")}),t[e(268)](e(197),()=>{const n=e;!t[n(229)][n(243)](n(196))&&(t[n(199)][n(202)]="#cccccc",t[n(199)][n(241)]="0.7")}),n[e(216)](t)}return n}static[ot(274)](t,e,n,s,i){const r=ot;let o=0,a=!1;t[r(268)]("touchstart",t=>{const e=r;o=t.touches[0][e(214)],a=!0}),t[r(268)](r(222),t=>{a&&t[r(201)]()}),t.addEventListener("touchend",t=>{const c=r;if(!a)return;a=!1;const d=t.changedTouches[0][c(214)],l=o-d;if(Math.abs(l)>50){const t=n();if(l>0){e(t+1),i&&i()}else{e(t>0?t-1:s-1)}}})}}const lt=pt;function ut(){const t=["1493626qMNctw","27568hODwoO","970OZAHnc","3HRICDd","log","3509244tKhGYc","has","1883223pqtRZX","6433ZblYHx","110dtGaWR","4568REHGvC","viewableTracker","617700cJOrPU","151943FjDdJV","clear","✅ New viewable recorded for ad "," in slot ","Duplicate viewable blocked for ad ","add","isDuplicateViewable","delete"];return(ut=function(){return t})()}function pt(t,e){const n=ut();return(pt=function(t,e){return n[t-=380]})(t,e)}!function(){const t=pt,e=ut();for(;;)try{if(416974===-parseInt(t(392))/1+parseInt(t(380))/2*(parseInt(t(383))/3)+-parseInt(t(381))/4*(parseInt(t(389))/5)+-parseInt(t(385))/6+-parseInt(t(388))/7*(parseInt(t(390))/8)+parseInt(t(387))/9+-parseInt(t(382))/10*(-parseInt(t(393))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ht{static[lt(399)](t,e,n=!1){const s=lt,i=t+"_"+e;return ht[s(391)][s(386)](i)?(n&&console[s(384)](s(397)+t+s(396)+e),!0):(ht[s(391)][s(398)](i),n&&console[s(384)](s(395)+t+s(396)+e),!1)}static[lt(394)](){const t=lt;ht[t(391)][t(394)]()}static clearAdViewable(t,e){const n=lt,s=t+"_"+e;ht[n(391)][n(400)](s)}}ht[lt(391)]=new Set;const ft=gt;function gt(t,e){const n=mt();return(gt=function(t,e){return n[t-=193]})(t,e)}function mt(){const t=["\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","1px solid rgba(0, 0, 0, 0.08)",".adstage-","adstage-slot"," container: ","isEmpty","px)","monospace","11px",".adstage-slot","100%","getAttribute","className","debug","advertisementEventTracker",'[data-adstage-container="true"]',"3431012sdCFED","warn","log","placeholderMode","error",'[class*="banner"]'," for ad ","borderRadius"," ad...</span>","372060dNLcSl","VIEWABLE",'<span style="color: rgba(0, 0, 0, 0.4); font-size: 12px; font-family: -apple-system, sans-serif;">•••</span>',"containerId"," in slot ","2136104eXBXHr","flex","color"," event","⚠️ ","rgba(0, 0, 0, 0.02)","2146773iNELAS","appendChild","2px dashed #e74c3c","25492257tZORaa","data-adstage-type","querySelector","🚫 Duplicate viewable blocked for ad ",'<span style="color: rgba(0, 0, 0, 0.3); font-size: 11px; font-family: sans-serif;">•••</span>',"invisible","block","style","minimal","data-adstage-container","✅ New viewable recorded for ad ","4wsJavP","backgroundColor","calculateAdSize","<span>Loading ","adstage-class","⚠️ Created empty ","filter","true","transparent","advertisement","trackAdvertisementEvent"," for ","innerHTML","alignItems","toLowerCase","data-adstage-slot","number","closest","div","data-adstage-empty","getElementById","string","49TelfeV"," slot: ","createElement",") - Mode: ","\n height: 0px !important;\n min-height: 0px !important;\n padding: 0px !important;\n margin: 0px !important;\n border: none !important;\n overflow: hidden !important;\n display: block !important;\n ","none","justifyContent","fontSize","createPlaceholder","cssText"," event for ad "," container collapsed (","auto","getContainerHeight","): ","display","rgba(248, 249, 250, 0.5)","hasAttribute","44734bUBUeb"," x ","📏 Using 100% height (container: ","width","#f9f9f9","border","height","renderFallback","#666","adstage-official","rgba(231, 76, 60, 0.1)","getDefaultHeight","🔄 Starting advertisement event tracking: ","5069470zEVgKE","setAttribute","adstage-slot adstage-","6px",'[class*="ad"]',"adType","center","1px dashed #ccc","📏 Using default height ","applyPlaceholderStyle","createEmptyContainer"];return(mt=function(){return t})()}!function(){const t=gt,e=mt();for(;;)try{if(966679===-parseInt(t(283))/1+parseInt(t(209))/2+-parseInt(t(229))/3+-parseInt(t(243))/4*(parseInt(t(296))/5)+parseInt(t(218))/6+parseInt(t(265))/7*(-parseInt(t(223))/8)+parseInt(t(232))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class It{constructor(t,e=!1,n){const s=gt;this.adType=t,this.debug=e,this[s(207)]=n||null}[ft(273)](t,e,n,s){const i=ft,r=document[i(267)](i(261));r.id=e,r[i(205)]=i(298)+String(this[i(301)])[i(257)](),r[i(297)](i(241),"true"),r[i(297)](i(233),String(this[i(301)])),r[i(297)](i(258),e);const{width:o,height:a}=this[i(245)](t,n,s)||{width:i(203),height:this[i(294)]()};r[i(239)][i(286)]=o,r[i(239)][i(289)]=a;const c=s?.placeholderMode||n[i(212)]||i(237);this[i(305)](r,c),t[i(230)](r),this[i(206)]&&console[i(211)]("📦 Placeholder created for "+this[i(301)]+i(266)+e+" ("+o+i(284)+a+i(268)+c)}[ft(305)](t,e){const n=ft;switch(e){case n(237):t.style[n(244)]=n(251),t[n(239)][n(288)]=n(270),t[n(239)].opacity="0",t[n(255)]="";break;case n(251):t[n(239)][n(244)]=n(251),t[n(239)][n(288)]=n(270),t[n(239)][n(280)]=n(238),t[n(255)]="";break;case"subtle":t[n(239)][n(244)]=n(228),t[n(239)][n(288)]=n(270),t[n(239)].borderRadius="4px",t[n(239)].display=n(224),t[n(239)].alignItems=n(302),t[n(239)].justifyContent=n(302),t.innerHTML=n(236);break;case n(240):t.style[n(244)]=n(281),t[n(239)][n(288)]=n(194),t[n(239)][n(216)]=n(299),t.style[n(280)]=n(224),t[n(239)][n(256)]=n(302),t[n(239)][n(271)]=n(302),t[n(255)]=n(220);break;case n(206):t[n(239)][n(288)]=n(231),t.style[n(280)]=n(224),t[n(239)][n(256)]=n(302),t[n(239)][n(271)]=n(302),t[n(239)][n(244)]=n(293),t[n(239)][n(225)]="#e74c3c",t[n(239)].fontFamily=n(200),t[n(239)][n(272)]=n(201),t.innerHTML="<span>Loading "+this[n(301)]+n(217);break;default:t[n(239)][n(288)]=n(303),t[n(239)][n(280)]=n(224),t[n(239)][n(256)]=n(302),t.style[n(271)]=n(302),t.style[n(244)]=n(287),t[n(239)][n(225)]=n(291),t.innerHTML=n(246)+this[n(301)]+n(217)}}[ft(245)](t,e,n){const s=ft,i=e[s(286)],r=e[s(289)];let o,a;if(o=typeof i===s(259)?i+"px":typeof i===s(264)?i:"100%","number"==typeof r)a=r+"px";else if(typeof r===s(264)&&r!==s(203)&&r!==s(277))a=r;else{const e=this[s(278)](t);e>0?(a=s(203),(n?.[s(206)]||this[s(206)])&&console[s(211)](s(285)+e+s(199))):(a=this[s(294)](),(n?.[s(206)]||this[s(206)])&&console.log(s(304)+a+s(254)+this[s(301)]))}return{width:o,height:a}}[ft(278)](t){const e=ft,n=window.getComputedStyle(t),s=parseFloat(n[e(289)]);if(!s||0===s){const s=parseFloat(n.minHeight);if(s>0)return s;if(t[e(239)].height&&t[e(239)][e(289)]!==e(277)){const n=parseFloat(t.style[e(289)]);if(n>0)return n}const i=t[e(204)](e(289));if(i){const t=parseFloat(i);if(t>0)return t}}return s||0}createEventTrackingCallback(){return async(t,e,n)=>{const s=gt;if(n===o[s(219)]){if(ht.isDuplicateViewable(t,e,this.debug))return void(this[s(206)]&&console.log(s(235)+t+s(222)+e));this[s(206)]&&console[s(211)](s(242)+t+s(222)+e)}if(this[s(207)])try{this[s(206)]&&console[s(211)](s(295)+n+s(215)+t+s(222)+e),await this[s(207)][s(253)](t,e,n),this.debug&&console.log("📊 Advertisement event tracked: "+n+s(215)+t+s(222)+e)}catch(e){this[s(206)]&&console[s(213)]("❌ Failed to track "+n+s(275)+t+":",e)}else this[s(206)]&&console.warn("⚠️ AdvertisementEventTracker not available for "+n+s(226))}}[ft(290)](t){const e=ft,n=document[e(263)](t.id);if(n){const s=[...[n[e(234)](e(208)),n[e(260)]('[data-adstage-container="true"]'),n].filter(t=>t&&t.hasAttribute(e(241))),...[n.closest(e(202)),n[e(260)](e(195)+String(this.adType)[e(257)]()),n[e(260)](e(300)),n[e(260)](e(214)),n[e(260)]('[class*="container"]'),n[e(260)]('div[style*="height"]'),n[e(260)]('div[style*="min-height"]'),n.parentElement][e(249)](Boolean)][0];if(s){let n="unknown";n=s[e(282)](e(241))?e(292):s.classList.contains(e(196))?e(247):"generic",s.style[e(274)]+=e(193),s.innerHTML="",s[e(297)](e(262),e(250)),this[e(206)]&&console.warn(e(227)+this.adType+e(276)+n+e(279)+t.id,s)}else this[e(306)](t)}t[e(252)]=void 0,t[e(198)]=!0}[ft(306)](t){const e=ft,n=document[e(263)](t[e(221)]);if(n){n[e(255)]="";const s=document[e(267)](e(261));s.id=t.id,s.className="adstage-slot adstage-empty adstage-"+String(this[e(301)])[e(257)](),s[e(297)](e(241),"true"),s.setAttribute(e(262),e(250)),s.setAttribute(e(258),t.id),s[e(239)].cssText=e(269),n[e(230)](s),this[e(206)]&&console[e(210)](e(248)+this[e(301)]+e(197)+t.id)}}log(t,...e){const n=ft;this[n(206)]&&console[n(211)]("["+this[n(301)]+"] "+t,...e)}}function vt(t,e){const n=bt();return(vt=function(t,e){return n[t-=330]})(t,e)}const yt=vt;function bt(){const t=["Image URL is not provided","length","reduce","get","optimizeContainerForBannerAds","innerHTML","🔧 Banner container optimized for "," (avg: ","max","debug","8px","📸 Banner image dimensions: ","imageUrl","aspectRatio","calculateOptimalHeight","4fujHrM","style","from","16:9","Banner container optimization failed, using default size:","title","addClickEventForRenderer","config","warn","filter","count","dominant","average","getElementById","objectFit","BANNER","error","363670uuMZlz","block","3655162JlSqOd","adstage-ad adstage-banner-ad","borderRadius","✅ Optimized banner image rendered for ad: ","renderOptimizedBannerImage","round","4:3","689580AtEVvz","createEventTrackingCallback","map","📊 Using standard ratio: ","2464383CbcMUT","selectOptimalSizeStrategy","19106648wQvvxC","🎨 Banner image style applied: objectFit=","center","Banner","📐 Optimal banner container calculated: ","src","createElement","some","parentElement","toString"," ads: ","optimizedHeight","values","getBoundingClientRect","calculateOptimalContainerSize","🎠 Banner carousel created for slot: ","naturalWidth",'<div style="display: flex; align-items: center; justify-content: center; height: 100%; color: #999;">Loading...</div>',"className","getDefaultHeight","width","Container not found: ","applyOptimizedImageStyle","cover","allSettled","objectPosition","ratio","height","renderAdElement","250px","2012650lxcVQU","toFixed","<div>","common","log","containerId","4643490PGkNIp","abs","status"," (strategy: ","alt","fulfilled","contain","value","loadImageDimensions","Banner Ad","backgroundColor","Failed to calculate optimal banner size, using defaults:","onload","set","name","div","100%","forEach","default",", ratio=","appendChild","</div>","❌ Failed to load optimized banner image:","#f0f0f0","renderMultipleAds"];return(bt=function(){return t})()}!function(){const t=vt,e=bt();for(;;)try{if(639766===-parseInt(t(410))/1+-parseInt(t(401))/2+-parseInt(t(414))/3*(-parseInt(t(384))/4)+-parseInt(t(338))/5+-parseInt(t(344))/6+-parseInt(t(403))/7+parseInt(t(416))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class wt extends It{constructor(e=!1,n){super(t[vt(399)],e,n)}[yt(435)](){return yt(337)}async[yt(336)](t,e){const n=yt,s=document[n(397)](t[n(343)]);if(!s)return;const i=document[n(422)](n(359));i[n(434)]=n(404);const r=t[n(427)],o=s[n(424)]||s;if(r)i.style[n(436)]=n(360),i[n(385)][n(335)]=String(r);else{const e=t[n(391)],s={width:e?.[n(436)],height:e?.height},{width:r,height:a}=this.calculateAdSize(o,s,{debug:this[n(378)]});i[n(385)].width=r,i[n(385)][n(335)]=a}e[n(381)]?await this[n(407)](i,e,t):i[n(374)]=n(340)+(e[n(389)]||n(353))+n(365),rt.addClickEventForRenderer(i,e,t,()=>this[n(411)](),this[n(378)],n(419)),s[n(374)]="",s.appendChild(i)}async[yt(368)](t,e){const n=yt,s=document[n(397)](t.containerId);if(!s)throw new Error(n(437)+t[n(343)]);await this.optimizeContainerForBannerAds(t,e);const i=this[n(411)](),r={autoSlideInterval:(t[n(391)]?.slideInterval||5e3)/1e3,...t.config,optimizedHeight:t[n(427)],aspectRatio:t[n(382)]},o=dt.createSliderContainer(t,e,r,i,this.debug);o&&(s.innerHTML="",s.appendChild(o),this[n(378)]&&console[n(342)](n(431)+t.id+" with "+e[n(370)]+" ads (optimized: "+(t[n(427)]||n(362))+")"))}async[yt(430)](t,e){const n=yt;if(!t.length)return{width:"100%",height:this.getDefaultHeight(),aspectRatio:16/9};try{const s=(await Promise[n(332)](t[n(393)](t=>t[n(381)])[n(412)](t=>this[n(352)](t[n(381)]))))[n(393)](t=>t[n(346)]===n(349))[n(412)](t=>t[n(351)]);if(0===s.length)return{width:n(360),height:this[n(435)](),aspectRatio:16/9};const i=this.selectOptimalSizeStrategy(s),r=this[n(383)](s,e,i);return this[n(378)]&&console[n(342)](n(420)+e+"x"+r+n(347)+i+")"),{width:n(360),height:r+"px",aspectRatio:e/r}}catch(t){return console[n(392)](n(355),t),{width:n(360),height:this[n(435)](),aspectRatio:16/9}}}async[yt(373)](t,e){const n=yt;try{const s=document[n(397)](t[n(343)]),i=document[n(397)](t.id);if(!s||!i)return;const r=s[n(429)]()[n(436)]||300,o=await this.calculateOptimalContainerSize(e,r);i.style.height=o.height,t[n(427)]=o[n(335)],t[n(382)]=o[n(382)],this.debug&&console[n(342)](n(375)+e[n(370)]+n(426)+o[n(335)])}catch(t){console[n(392)](n(388),t)}}[yt(415)](t){const e=yt,n=t[e(412)](t=>t[e(436)]/t.height),s=new Map;n.forEach(t=>{const n=e,i=(Math[n(408)](10*t)/10).toString();s[n(357)](i,(s[n(372)](i)||0)+1)});const i=Math[e(377)](...s[e(428)]()),r=t[e(370)];if(i/r>=.7)return e(395);const o=[16/9,4/3,1,1.5],a=n[e(393)](t=>o[e(423)](n=>Math[e(345)](t-n)<.1))[e(370)];return e(a/r>=.5?341:396)}[yt(383)](t,e,n){const s=yt,i=t[s(412)](t=>t.width/t[s(335)]);switch(n){case s(395):{const t=new Map;i[s(361)](e=>{const n=s,i=Math[n(408)](10*e)/10,r=i[n(425)](),o=t[n(372)](r);o?o.count++:t.set(r,{ratio:i,count:1})});const n=Array[s(386)](t[s(428)]()).reduce((t,e)=>e.count>t[s(394)]?e:t);return Math[s(408)](e/n[s(334)])}case s(341):{const t=[{ratio:16/9,name:s(387)},{ratio:4/3,name:s(409)},{ratio:1,name:"1:1"},{ratio:1.5,name:"3:2"}],n=i.reduce((t,e)=>t+e,0)/i[s(370)],r=t[s(371)]((t,e)=>Math[s(345)](e[s(334)]-n)<Math[s(345)](t[s(334)]-n)?e:t);return this[s(378)]&&console.log(s(413)+r[s(358)]+s(376)+n.toFixed(2)+")"),Math.round(e/r[s(334)])}case s(396):default:{const t=i.reduce((t,e)=>t+e,0)/i.length;return Math[s(408)](e/t)}}}[yt(352)](t){return new Promise((e,n)=>{const s=vt,i=new Image;i[s(356)]=()=>{e({width:i[s(432)],height:i.naturalHeight})},i.onerror=()=>{n(new Error("Failed to load image: "+t))},i[s(421)]=t})}[yt(330)](t,e,n){const s=yt,i=e/n;Math[s(345)](i-1)<.1?(t[s(385)].objectFit=s(331),t[s(385)][s(333)]="center"):i>1.3?(t[s(385)][s(398)]=s(350),t[s(385)].objectPosition=s(418),t.style[s(354)]=s(367)):i<.7?(t[s(385)][s(398)]=s(331),t[s(385)][s(333)]="center"):(t[s(385)][s(398)]=s(331),t.style[s(333)]=s(418)),this[s(378)]&&console[s(342)](s(417)+t[s(385)].objectFit+s(363)+i[s(339)](2))}async[yt(407)](t,e,n){const s=yt,i=document[s(422)]("img");i[s(385)][s(436)]="100%",i.style[s(335)]="100%",i[s(385)].display=s(402),i[s(385)][s(405)]=s(379),i[s(348)]=e[s(389)]||"Banner Advertisement",t[s(374)]=s(433);try{if(!e[s(381)])throw new Error(s(369));const r=await this[s(352)](e.imageUrl),o=t[s(429)](),a=o[s(436)],c=o.height;this[s(378)]&&(console[s(342)](s(380)+r[s(436)]+"x"+r[s(335)]),console[s(342)]("📦 Banner container dimensions: "+a+"x"+c));const d=r[s(436)]/r.height,l=a/c;return this[s(330)](i,d,l),i[s(421)]=e.imageUrl,t[s(374)]="",t.appendChild(i),rt[s(390)](i,e,n,()=>this[s(411)](),this[s(378)],s(419)),this[s(378)]&&console[s(342)](s(406)+e._id),i}catch(r){return console[s(400)](s(366),r),e[s(381)]&&(i.src=e.imageUrl,i[s(385)].objectFit=s(331),i[s(385)].objectPosition="center",t[s(374)]="",t[s(364)](i),rt[s(390)](i,e,n,()=>this[s(411)](),this[s(378)],s(419))),i}}}const xt=kt;function kt(t,e){const n=Et();return(kt=function(t,e){return n[t-=332]})(t,e)}function Et(){const t=["2572744lbAhXw","15452107BYcXqX","createTextAdStyles","856IDdzaP","1532jEOmqT","205jdEUBA","\n font-family: 'Arial', sans-serif;\n text-decoration: none;\n display: block;\n text-align: left;\n transition: color 0.3s ease;\n width: 100%;\n box-sizing: border-box;\n overflow: visible;\n padding-right: 2px;\n padding-left: 2px;\n white-space: nowrap;\n ","75204YTvqEc","2976AAeSGG","setTextAdContent","10rfxjMk","803189JAUVNF","7642726GHmWXd","textContent","34326whpXNi"];return(Et=function(){return t})()}!function(){const t=kt,e=Et();for(;;)try{if(712752===parseInt(t(338))/1+parseInt(t(346))/2*(parseInt(t(335))/3)+-parseInt(t(342))/4+-parseInt(t(332))/5*(-parseInt(t(334))/6)+parseInt(t(339))/7+-parseInt(t(345))/8*(parseInt(t(341))/9)+parseInt(t(337))/10*(-parseInt(t(343))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class St{static[xt(344)](t=!1){return xt(333)}static[xt(336)](t,e){const n=xt,s=e[n(340)]||e.title||"";t[n(340)]=s}}const At=Tt;function Tt(t,e){const n=Ct();return(Tt=function(t,e){return n[t-=260]})(t,e)}function Ct(){const t=["50YiolNA","mouseleave","body","length","left","toLowerCase","touchmove","height","autoSlideInterval","abs","position","touches","69365SxSLXF","minHeight","adstage-fade-slider-wrapper",";\n left: ","1281672MvhZTd","appendChild","882064WTfQFR","addClickEventForSlider","\n display: flex;\n align-items: center;\n justify-content: flex-start;\n opacity: ","data-adstage-ad-id","144xtDpCH","removeChild","setAttribute","transform","entries","22944MtSsgg","translateY(-20px)",");\n transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);\n z-index: ","auto","changedTouches","Text","div","\n position: ","3914504xwOrQP","absolute","106011zGTDbR","translateY(20px)","20px","touchend","height: auto; min-height: fit-content;","height: 100%;",";\n top: ","whiteSpace",";\n transform: translateY(","adstage-fade-slide-container","clientY","opacity","\n position: absolute;\n visibility: hidden;\n white-space: nowrap;\n top: -9999px;\n left: -9999px;\n ","relative","_id","className","createTextTransitionContainer","includes","\n ","preventDefault","top","clientX","createTextAdStyles","string","createSimpleAdElement","6UelKnL","\n position: relative;\n width: 100%;\n ","addTouchSupport","data-adstage-slot-id","setTextAdContent","adstage-fade-slide","addEventListener","style","normal","createElement","110020UVPCop","cssText","trackSlideViewable","forEach",";\n width: 100%;\n ","width","zIndex","adstage-ad adstage-"];return(Ct=function(){return t})()}!function(){const t=Tt,e=Ct();for(;;)try{if(255101===-parseInt(t(329))/1+parseInt(t(275))/2+-parseInt(t(284))/3*(-parseInt(t(279))/4)+parseInt(t(269))/5+-parseInt(t(319))/6*(-parseInt(t(273))/7)+-parseInt(t(292))/8+-parseInt(t(294))/9*(parseInt(t(337))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Rt{static[At(318)](t,e){const n=At,s=document[n(328)](n(290));return s.className=n(336)+String(t.adType)[n(262)](),s[n(281)](n(278),e[n(308)]),s.setAttribute(n(322),t.id),s.style[n(330)]=St[n(316)](!0),St[n(323)](s,e),s}static[At(310)](t,e,n,s,i=!1){const r=At,o=t[r(264)]&&0!==t[r(264)]&&t[r(264)]!==r(287),a=document[r(328)](r(290));a[r(309)]=r(271);const c={position:"relative",overflow:"hidden",display:"block"};if(!o&&(c[r(264)]=r(287),c[r(270)]="fit-content"),t[r(334)]&&0!==t[r(334)]){let e;e=typeof t[r(334)]===r(317)&&(t[r(334)][r(311)]("px")||t[r(334)][r(311)]("%"))?t.width:t[r(334)]+"px",c[r(334)]=e}if(t[r(264)]&&0!==t.height&&t[r(264)]!==r(287)&&o){let e;e=typeof t.height===r(317)?t[r(264)][r(311)]("px")||t[r(264)].includes("%")?t[r(264)]:t.height+"px":t[r(264)]+"px",c[r(264)]=e}Object[r(283)](c)[r(332)](([t,e])=>{a.style.setProperty(t,e)});const d=document[r(328)](r(290));d[r(309)]=r(303),d[r(326)][r(330)]=r(320)+r(o?299:298)+r(312);let l=null;const u=!t[r(334)]||0===t[r(334)],p=!t[r(264)]||0===t[r(264)]||void 0===t[r(264)]||t[r(264)]===r(287);if(u||p&&o){if(l=document[r(328)]("div"),l[r(326)][r(330)]=r(306),!u&&t.width){let e;e=typeof t.width===r(317)&&(t[r(334)].includes("px")||t[r(334)][r(311)]("%"))?t.width:t[r(334)]+"px",l.style[r(334)]=e,l[r(326)][r(301)]=r(327)}document[r(339)][r(274)](l);let n=0,s=0;e.forEach(e=>{const i=r,o=this[i(318)](t,e);l[i(274)](o);const a=o.getBoundingClientRect();a[i(334)]>n&&(n=a[i(334)]),a[i(264)]>s&&(s=a[i(264)]),l[i(280)](o)}),u&&n>0&&(a.style[r(334)]=n+"px"),p&&s>0&&o&&(a.style[r(264)]=s+"px"),document.body[r(280)](l)}const h=[];e[r(332)]((e,n)=>{const a=r,c=document[a(328)](a(290));c[a(309)]=a(324);const l=0===n,u=o?a(293):l?"relative":a(293);c[a(326)][a(330)]=a(291)+u+a(300)+("absolute"===u?"0":a(287))+a(272)+(u===a(293)?"0":a(287))+a(333)+(o?a(299):"height: auto;")+a(277)+(0===n?"1":"0")+a(302)+(0===n?"0":a(296))+a(286)+(0===n?"2":"1")+";\n ";const p=this[a(318)](t,e);rt[a(276)](p,e,t,s,i,a(289)),c.appendChild(p),d[a(274)](c),h.push(c)});let f=0;const g=e[r(260)],m=1e3*(n?.[r(265)]||4),I=n=>{const a=r;n>=g?n=0:n<0&&(n=g-1);const c=h[f],d=h[n];!o&&(c.style[a(267)]===a(307)&&(c[a(326)].position=a(293),c.style[a(314)]="0",c[a(326)][a(261)]="0"),d.style[a(267)]=a(307),d.style[a(314)]=a(287),d[a(326)][a(261)]="auto"),c[a(326)][a(305)]="0",c[a(326)][a(282)]=a(285),c.style[a(335)]="1",d.style[a(305)]="1",d[a(326)][a(282)]="translateY(0)",d[a(326)][a(335)]="2",h[a(332)]((t,e)=>{const s=a;e!==n&&e!==f&&(t[s(326)].opacity="0",t[s(326)][s(282)]=s(295),t[s(326)].zIndex="1",!o&&t[s(326)][s(267)]===s(307)&&(t[s(326)].position=s(293),t[s(326)][s(314)]="0",t[s(326)].left="0"))}),f=n,et[a(331)](e[f],t,f,s,i)};let v=setInterval(()=>{I(f+1)},m);return a[r(325)]("mouseenter",()=>{clearInterval(v)}),a[r(325)](r(338),()=>{v=setInterval(()=>{I(f+1)},m)}),Rt[r(321)](a,I,()=>f,g),a[r(274)](d),a}static[At(321)](t,e,n,s){const i=At;let r=0,o=0,a=!1;t[i(325)]("touchstart",t=>{const e=i;r=t[e(268)][0][e(315)],o=t[e(268)][0][e(304)],a=!0}),t.addEventListener(i(263),t=>{a&&t[i(313)]()}),t[i(325)](i(297),t=>{const s=i;if(!a)return;a=!1;const c=t[s(288)][0][s(315)],d=t[s(288)][0][s(304)],l=r-c,u=o-d;if(Math[s(266)](l)>Math[s(266)](u)&&Math[s(266)](l)>50){const t=n();e(l>0?t+1:t-1)}})}}function Dt(){const t=["10154vgwiSe","vertical","✨ Text transition created for slot: ","renderMultipleAds","99SWPQqc","cssText","_id","4464860CCPDtJ","✨ Single text ad rendered: ","301tPudjv","div","optimizedHeight","addClickEventForRenderer","overflow","aspectRatio","config","100qlMStN","innerHTML","containerId","className","211016AgIiRS"," ads","adstage-text-content","3382929GCVspU","753200TCgZZB","adstage-ad adstage-text-ad","log","height","webkitBoxOrient","debug","width","Container not found: ","createElement","getDefaultHeight","TEXT","number","100%","slideInterval","139680lXAVhe","getElementById","style","66954FMirbk","createTextTransitionContainer","length","webkitLineClamp","createEventTrackingCallback","-webkit-box","display","maxLines","renderAdElement","createTextAdStyles"," with ","appendChild"];return(Dt=function(){return t})()}function Ut(t,e){const n=Dt();return(Ut=function(t,e){return n[t-=330]})(t,e)}const Mt=Ut;!function(){const t=Ut,e=Dt();for(;;)try{if(587717===parseInt(t(347))/1+parseInt(t(335))/2*(-parseInt(t(351))/3)+-parseInt(t(354))/4+parseInt(t(371))/5+parseInt(t(332))/6+parseInt(t(356))/7*(-parseInt(t(367))/8)+-parseInt(t(370))/9*(-parseInt(t(363))/10))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Bt extends It{constructor(e=!1,n){super(t[Ut(381)],e,n)}[Mt(380)](){return"60px"}async[Mt(343)](t,e){const n=Mt,s=document[n(333)](t.containerId);if(!s)return;const i=document[n(379)]("div");i[n(366)]=n(372);const r=t[n(358)],o=s.parentElement||s;if(r)i[n(334)].width=n(330),i[n(334)].height=String(r);else{const e=t.config,s={width:e?.[n(377)],height:e?.[n(374)]},{width:r,height:a}=this.calculateAdSize(o,s,{debug:this[n(376)]});i[n(334)][n(377)]=r,i[n(334)][n(374)]=a}const a=document[n(379)](n(357));a[n(366)]=n(369),a[n(334)][n(352)]=St[n(344)](!1),St.setTextAdContent(a,e);const c=t[n(362)]?.[n(342)];c&&typeof c===n(382)&&(a[n(334)][n(341)]=n(340),a.style[n(338)]=String(c),a[n(334)][n(375)]=n(348),a.style[n(360)]="hidden"),i[n(346)](a),rt[n(359)](i,e,t,()=>this.createEventTrackingCallback(),this[n(376)],"Text"),s[n(364)]="",s[n(346)](i),this[n(376)]&&console[n(373)](n(355)+e[n(353)])}async[Mt(350)](t,e){const n=Mt,s=document[n(333)](t.containerId);if(!s)throw new Error(n(378)+t[n(365)]);const i=this[n(339)](),r={autoSlideInterval:(t[n(362)]?.[n(331)]||5e3)/1e3,...t.config,optimizedHeight:t[n(358)],aspectRatio:t[n(361)]},o=Rt[n(336)](t,e,r,i,this[n(376)]);o&&(s[n(364)]="",s.appendChild(o),this[n(376)]&&console.log(n(349)+t.id+n(345)+e[n(337)]+n(368)))}}const zt=Pt;function Lt(){const t=["none","videoUrl","metadata","createElement","button","360px"," (autoplay: ","\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ","1459451mRPzGA","\n .adstage-video-container video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n .adstage-video-container video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n video::-webkit-media-controls-mute-button {\n display: none !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: none !important;\n }\n video::-webkit-media-controls-toggle-closed-captions-button {\n display: none !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: none !important;\n }\n video::-webkit-media-controls-overflow-button {\n display: none !important;\n }\n video::-webkit-media-controls-picture-in-picture-button {\n display: none !important;\n }\n ","preload","background","Container not found: ","🎬 Video data loaded, attempting autoplay...","⚠️ No video advertisements available for slot: ","transform","muted","customControls","loadeddata",", loop: ","100%","contain","loadedmetadata","debug","🎬 Video metadata loaded, attempting autoplay...","canplay","🎬 Trying muted autoplay fallback...","stopPropagation","error","imageUrl","playsinline","controls","className","autoplay","53668pUoAyz","block","video","unmuted","loop","VIEWABLE","addEventListener","🎬 Video can play, attempting autoplay...","appendChild","createEventTrackingCallback","head"," !important;\n }\n ","warn","play","width","addClickEventForRenderer","style"," !important;\n }\n video::-webkit-media-controls-mute-button {\n display: ","🎬 Initial autoplay attempt after timeout...","log","776664ooLTlW","getElementById","title","adstage-video-container","hideRemainingTime","\n video::-webkit-media-controls-play-button {\n display: ","Click to mute","🎬 Single video ad rendered: ","_id","hideCurrentTime","468452CdQhdA","Video fallback","208605pwybxO","containerId","Video thumbnail","click","div","textContent","objectFit","img","renderVideoElementDirect","alt","relative","mouseenter","disabled (default)","renderAdElement","src","paused","hideMuteButton"," !important;\n }\n video::-webkit-media-controls-time-remaining-display {\n display: ","cssText","enabled","scale(1)","hideControls","adstage-video-mute-button","🎬 Autoplay completely failed:","position","innerHTML","hidePlayButton","\n position: absolute;\n top: 12px;\n left: 12px;\n width: 40px;\n height: 40px;\n border: none;\n border-radius: 50%;\n background: rgba(0, 0, 0, 0.7);\n color: white;\n font-size: 16px;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10;\n transition: all 0.3s ease;\n backdrop-filter: blur(4px);\n ","Click to unmute","rgba(0, 0, 0, 0.9)","adstage-video-default-controls","renderMultipleAds","\n pointer-events: none;\n "," !important;\n }\n video::-webkit-media-controls-current-time-display {\n display: ","209366ymlzTG","display","catch","setAttribute","797805DSopyS","hideFullscreenButton",", muted: ","height","🎬 Video element created for ad: ","🎬 Video controls setting:","hideVolumeSlider",'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M3 9v6h4l5 5V4L7 9H3zm13.5 3c0-1.77-1.02-3.29-2.5-4.03v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 3.23v2.06c2.89.86 5 3.54 5 6.71s-2.11 5.85-5 6.71v2.06c4.01-.91 7-4.49 7-8.77s-2.99-7.86-7-8.77z"/>\n </svg>\n '];return(Lt=function(){return t})()}function Pt(t,e){const n=Lt();return(Pt=function(t,e){return n[t-=159]})(t,e)}!function(){const t=Pt,e=Lt();for(;;)try{if(120284===-parseInt(t(267))/1+parseInt(t(231))/2+-parseInt(t(233))/3+-parseInt(t(201))/4+-parseInt(t(159))/5+parseInt(t(221))/6+parseInt(t(175))/7)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Nt extends It{constructor(e=!1,n){super(t.VIDEO,e,n)}getDefaultHeight(){return Pt(172)}async[zt(246)](t,e){const n=zt,s=document[n(222)](t[n(234)]);if(!s)return;const i=document.createElement("div");i.className=n(224),i[n(217)][n(251)]=n(174),this.renderVideoElementDirect(i,e,t),s[n(258)]="",s[n(209)](i),this.debug&&console[n(220)](n(228)+e[n(229)])}async[zt(264)](t,e){const n=zt,s=document[n(222)](t[n(234)]);if(!s)throw new Error(n(179)+t[n(234)]);if(e.length>0){const i=e[0],r=document.createElement(n(237));r[n(199)]=n(224),r[n(217)][n(251)]="\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n background: #000;\n border-radius: 8px;\n overflow: hidden;\n ",this[n(241)](r,i,t),s.innerHTML="",s[n(209)](r);const a=this[n(210)]();setTimeout(()=>{const e=n;a(i[e(229)],t.id,o[e(206)])},100),this[n(190)]&&console[n(220)]("🎬 Single video rendered for VIDEO slot: "+t.id+" ("+i[n(229)]+")")}else this[n(190)]&&console[n(213)](n(181)+t.id)}[zt(241)](t,e,n){const s=zt;t[s(217)][s(257)]=s(243);const i=document[s(170)](s(203));i[s(217)][s(215)]=s(187),i[s(217)][s(162)]=s(187),i[s(217)].objectFit=s(188),i[s(177)]=s(169);const r=n.config;if(this[s(190)]&&console[s(220)]("🎬 Video config received:",r),i[s(198)]=!1,i[s(200)]=!1!==r?.[s(200)],i.muted=!0,i[s(205)]=!1!==r?.loop,this[s(190)]&&console.log("🎬 Final video settings:",{autoplay:i[s(200)],muted:i[s(183)],loop:i.loop,controls:i[s(198)]}),!1!==r?.[s(197)]&&i[s(270)](s(197),""),!0===r?.[s(198)]&&(i[s(198)]=!0,this[s(190)]&&console[s(220)]("🎬 User explicitly enabled controls, overriding default")),r?.hideControls)i[s(198)]=!1,i[s(217)].cssText+=s(265);else if(r?.[s(184)]){if(i[s(198)]){const t=document[s(170)]("style");t[s(238)]=s(226)+(r[s(184)][s(259)]?s(167):s(202))+" !important;\n }\n video::-webkit-media-controls-timeline {\n display: "+(r[s(184)].hideProgressBar?s(167):"block")+s(266)+(r[s(184)][s(230)]?s(167):s(202))+s(250)+(r[s(184)][s(225)]?"none":"block")+" !important;\n }\n video::-webkit-media-controls-volume-slider {\n display: "+(r.customControls[s(165)]?s(167):s(202))+s(218)+(r[s(184)][s(249)]?"none":s(202))+" !important;\n }\n video::-webkit-media-controls-fullscreen-button {\n display: "+(r.customControls[s(160)]?s(167):s(202))+s(212),document.head[s(209)](t)}}else if(i.controls){const t=document[s(170)](s(217));t.id="adstage-video-default-controls",t[s(238)]=s(176),!document[s(222)](s(263))&&document[s(211)][s(209)](t)}this[s(190)]&&console.log(s(164),i.controls?s(252):s(245));const o=document[s(170)](s(171));o[s(199)]=s(255),o[s(217)].cssText=s(260),r?.[s(254)]&&(o[s(217)][s(268)]=s(167));const a=()=>{const t=s,e=t(166);o[t(258)]=i.muted?'\n <svg width="20" height="20" viewBox="0 0 24 24" fill="white">\n <path d="M16.5 12c0-1.77-1.02-3.29-2.5-4.03v2.21l2.45 2.45c.03-.2.05-.41.05-.63zm2.5 0c0 .94-.2 1.82-.54 2.64l1.51 1.51C20.63 14.91 21 13.5 21 12c0-4.28-2.99-7.86-7-8.77v2.06c2.89.86 5 3.54 5 6.71zM4.27 3L3 4.27 7.73 9H3v6h4l5 5v-6.73l4.25 4.25c-.67.52-1.42.93-2.25 1.18v2.06c1.38-.31 2.63-.95 3.69-1.81L19.73 21 21 19.73l-9-9L4.27 3zM12 4L9.91 6.09 12 8.18V4z"/>\n </svg>\n ':e,o[t(223)]=i[t(183)]?t(261):t(227)};if(a(),o[s(207)](s(236),t=>{const e=s;t[e(194)](),i[e(183)]=!i.muted,a(),this.debug&&console[e(220)]("🔊 Video mute toggled: "+(i.muted?e(183):e(204)))}),o[s(207)](s(244),()=>{const t=s;o[t(217)][t(178)]=t(262),o.style[t(182)]="scale(1.1)"}),o[s(207)]("mouseleave",()=>{const t=s;o[t(217)][t(178)]="rgba(0, 0, 0, 0.7)",o[t(217)].transform=t(253)}),e[s(168)]){i[s(247)]=e.videoUrl;const t=()=>{const t=s;i[t(200)]&&i[t(183)]&&i[t(248)]&&i[t(214)]()[t(269)](e=>{const n=t;this[n(190)]&&(console[n(213)]("🎬 Auto-play was prevented:",e),console[n(213)](n(193))),i.muted=!0,i[n(214)]()[n(269)](t=>{const e=n;this.debug&&console[e(195)](e(256),t)})})};i[s(207)](s(189),()=>{const e=s;this.debug&&console[e(220)](e(191)),t()}),i[s(207)](s(192),()=>{const e=s;this[e(190)]&&console[e(220)](e(208)),t()}),i[s(207)](s(185),()=>{const e=s;this[e(190)]&&console.log(e(180)),t()}),setTimeout(()=>{const e=s;this[e(190)]&&console[e(220)](e(219)),t()},100)}else if(e[s(196)]){const n=document[s(170)](s(240));return n[s(247)]=e[s(196)],n[s(217)][s(215)]=s(187),n[s(217)][s(162)]="100%",n[s(217)].objectFit=s(188),n.alt=e[s(223)]||s(235),void t.appendChild(n)}rt[s(216)](i,e,n,()=>this[s(210)](),this[s(190)],"Video"),i.addEventListener("error",i=>{const r=s;if(console.error("Video load failed:",i),e[r(196)]){const s=document[r(170)](r(240));s[r(247)]=e[r(196)],s[r(217)][r(215)]=r(187),s[r(217)][r(162)]=r(187),s[r(217)][r(239)]="contain",s[r(242)]=e[r(223)]||"Video thumbnail",rt[r(216)](s,e,n,()=>this[r(210)](),this[r(190)],r(232)),t[r(258)]="",t[r(209)](s)}}),t[s(209)](i),t[s(209)](o),this[s(190)]&&console[s(220)](s(163)+e._id+s(173)+i[s(200)]+s(161)+i[s(183)]+s(186)+i.loop+")")}}function Vt(t,e){const n=Ft();return(Vt=function(t,e){return n[t-=232]})(t,e)}const Ot=Vt;function Ft(){const t=["\n margin: 0 0 8px 0;\n font-size: 16px;\n font-weight: 600;\n color: #111827;\n line-height: 1.3;\n ","Native Advertisement","_blank","getElementById","imageUrl","\n padding: 8px 16px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 6px;\n font-size: 14px;\n font-weight: 500;\n cursor: pointer;\n align-self: flex-start;\n transition: background-color 0.2s;\n ","#3b82f6","_id","length","textContent","cssText","click","\n width: 100%;\n height: 100%;\n object-fit: cover;\n ","style","#2563eb","🏠 Native ad rendered (first of ","addEventListener","\n margin: 0 0 12px 0;\n font-size: 14px;\n color: #6b7280;\n line-height: 1.4;\n flex: 1;\n ","1184760wqmMOW","backgroundColor","NATIVE","24flSruD","renderMultipleAds","button","advertisementEventTracker","img","\n width: 100%;\n height: 100%;\n display: flex;\n flex-direction: column;\n padding: 16px;\n background: #fff;\n border: 1px solid #e5e7eb;\n border-radius: 8px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n ","mouseenter","title","51qPxQpY","appendChild","linkUrl","warn","): ","142096zgZYkH","div","src","adstage-ad adstage-native-ad","log","mouseleave","4405392ApDKfH","renderAdElement","1076380NGrTLe","className","open","createElement","Native click tracked for ad: ","187TpfZVY","8MzwtOc","14170JIdwkW","debug","1221752YzOHHd","851180GMWZPw"];return(Ft=function(){return t})()}!function(){const t=Vt,e=Ft();for(;;)try{if(439218===-parseInt(t(236))/1+-parseInt(t(251))/2*(parseInt(t(284))/3)+parseInt(t(254))/4+-parseInt(t(244))/5*(parseInt(t(276))/6)+-parseInt(t(253))/7+-parseInt(t(250))/8*(parseInt(t(242))/9)+-parseInt(t(273))/10*(-parseInt(t(249))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class _t extends It{constructor(e=!1,n){super(t[Vt(275)],e,n)}getDefaultHeight(){return"200px"}async renderAdElement(t,e){const n=Vt,s=document[n(258)](t.containerId);if(!s)return;const i=document[n(247)](n(237));if(i[n(245)]=n(239),i[n(268)][n(265)]=n(281),e[n(283)]){const t=document[n(247)]("h3");t[n(264)]=e[n(283)],t[n(268)].cssText=n(255),i[n(232)](t)}if(e[n(264)]){const t=document[n(247)]("p");t[n(264)]=e[n(264)],t[n(268)][n(265)]=n(272),i[n(232)](t)}if(e[n(259)]){const t=document[n(247)]("div");t[n(268)][n(265)]="\n width: 100%;\n height: 120px;\n margin-bottom: 12px;\n border-radius: 6px;\n overflow: hidden;\n background: #f3f4f6;\n ";const s=document.createElement(n(280));s[n(238)]=e[n(259)],s.alt=e.title||n(256),s[n(268)][n(265)]=n(267),t[n(232)](s),i.appendChild(t)}if(e.linkUrl){const t=document[n(247)](n(278));t[n(264)]="Learn More",t[n(268)].cssText=n(260),t[n(271)](n(266),()=>{const t=n;this[t(279)]&&console[t(240)](t(248)+e[t(262)]),window[t(246)](e[t(233)],t(257))}),t[n(271)](n(282),()=>{const e=n;t[e(268)][e(274)]=e(269)}),t[n(271)](n(241),()=>{const e=n;t[e(268)][e(274)]=e(261)}),i[n(232)](t)}s.innerHTML="",s.appendChild(i),this[n(252)]&&console[n(240)]("🏠 Single native ad rendered: "+e[n(262)])}async[Ot(277)](t,e){const n=Ot;e.length>0?(await this[n(243)](t,e[0]),this[n(252)]&&console[n(240)](n(270)+e[n(263)]+n(235)+t.id)):this.debug&&console[n(234)]("⚠️ No native advertisements available for slot: "+t.id)}}const Ht=Kt;function Kt(t,e){const n=jt();return(Kt=function(t,e){return n[t-=396]})(t,e)}function jt(){const t=["adstage-interstitial-styles","\n position: fixed;\n top: 0;\n left: 0;\n width: 100vw;\n height: 100vh;\n background: rgba(0, 0, 0, 0.8);\n display: flex;\n align-items: center;\n justify-content: center;\n z-index: 10000;\n animation: fadeIn 0.3s ease-out;\n ","787863LqNhXv","\n width: 100%;\n padding: 12px 24px;\n background: #3b82f6;\n color: white;\n border: none;\n border-radius: 8px;\n font-size: 16px;\n font-weight: 600;\n cursor: pointer;\n transition: background-color 0.2s;\n ","appendChild","\n position: relative;\n max-width: 90vw;\n max-height: 90vh;\n background: white;\n border-radius: 12px;\n padding: 24px;\n box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);\n animation: slideUp 0.3s ease-out;\n overflow: auto;\n ","getElementById","head","fadeOut 0.3s ease-out forwards","#374151","debug","getDefaultHeight","keydown","5byfiJm","open","log","🖼️ Interstitial ad closed","1417730yUXTpK","\n margin: 0 0 12px 0;\n font-size: 24px;\n font-weight: 700;\n color: #111827;\n line-height: 1.3;\n ","): ","#f3f4f6","removeChild","title","addEventListener","Escape","backgroundColor","8599290uDFfZt","_blank","Interstitial Advertisement","\n @keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n }\n @keyframes slideUp {\n from { \n opacity: 0;\n transform: translateY(20px);\n }\n to { \n opacity: 1;\n transform: translateY(0);\n }\n }\n ","237caQSyF","target","400px","13714335UCtINz","Interstitial click tracked for ad: ","3183616xRUzOa","mouseenter","textContent","20908IZMeZZ","adstage-interstitial-content","linkUrl","key","innerHTML","img","parentNode","alt","click","button","🖼️ Interstitial ad rendered: ","5156116gkPIqB","\n margin: 0 0 20px 0;\n font-size: 16px;\n color: #6b7280;\n line-height: 1.5;\n ","createElement","renderMultipleAds","mouseleave","color","length","containerId","div","⚠️ No interstitial advertisements available for slot: ","_id","cssText","closeInterstitial","src","advertisementEventTracker","style"];return(jt=function(){return t})()}!function(){const t=Kt,e=jt();for(;;)try{if(921167===parseInt(t(427))/1+-parseInt(t(442))/2+parseInt(t(455))/3*(parseInt(t(398))/4)+-parseInt(t(438))/5*(parseInt(t(451))/6)+parseInt(t(409))/7+-parseInt(t(460))/8+parseInt(t(458))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Xt extends It{constructor(e=!1,n){super(t.INTERSTITIAL,e,n)}[Ht(436)](){return Ht(457)}async renderAdElement(t,e){const n=Ht;if(!document[n(431)](t[n(416)]))return;const s=document[n(411)](n(417));s.className="adstage-interstitial-overlay",s[n(424)][n(420)]=n(426);const i=document[n(411)](n(417));i.className=n(399),i[n(424)][n(420)]=n(430);const r=document.createElement(n(407));if(r[n(402)]="×",r.style.cssText="\n position: absolute;\n top: 12px;\n right: 12px;\n width: 32px;\n height: 32px;\n border: none;\n background: #f3f4f6;\n color: #6b7280;\n font-size: 20px;\n font-weight: bold;\n border-radius: 50%;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n transition: all 0.2s;\n ",r.addEventListener(n(406),()=>{this[n(421)](s)}),r[n(448)]("mouseenter",()=>{const t=n;r[t(424)].backgroundColor="#e5e7eb",r[t(424)].color=t(434)}),r[n(448)](n(413),()=>{const t=n;r[t(424)][t(450)]=t(445),r[t(424)][t(414)]="#6b7280"}),e.imageUrl){const t=document[n(411)](n(403));t[n(422)]=e.imageUrl,t[n(405)]=e[n(447)]||n(453),t[n(424)][n(420)]="\n width: 100%;\n max-height: 300px;\n object-fit: cover;\n border-radius: 8px;\n margin-bottom: 16px;\n ",i[n(429)](t)}if(e.title){const t=document.createElement("h2");t[n(397)]=e.title,t.style[n(420)]=n(443),i[n(429)](t)}if(e[n(397)]){const t=document[n(411)]("p");t[n(397)]=e[n(397)],t.style[n(420)]=n(410),i[n(429)](t)}if(e[n(400)]){const t=document[n(411)](n(407));t[n(397)]="Get Started",t[n(424)][n(420)]=n(428),t.addEventListener(n(406),()=>{const t=n;this[t(423)]&&console[t(440)](t(459)+e[t(419)]),window[t(439)](e.linkUrl,t(452)),this.closeInterstitial(s)}),t[n(448)](n(396),()=>{const e=n;t[e(424)][e(450)]="#2563eb"}),t[n(448)](n(413),()=>{const e=n;t[e(424)][e(450)]="#3b82f6"}),i.appendChild(t)}const o=t=>{const e=n;t[e(401)]===e(449)&&(this[e(421)](s),document.removeEventListener("keydown",o))};if(document[n(448)](n(437),o),s[n(448)](n(406),t=>{const e=n;t[e(456)]===s&&this[e(421)](s)}),!document[n(431)](n(425))){const t=document[n(411)]("style");t.id="adstage-interstitial-styles",t.textContent=n(454),document[n(432)].appendChild(t)}i[n(429)](r),s[n(429)](i),document.body[n(429)](s),this.debug&&console.log(n(408)+e[n(419)])}async[Ht(412)](t,e){const n=Ht;e.length>0?(await this.renderAdElement(t,e[0]),this[n(435)]&&console[n(440)]("🖼️ Interstitial ad rendered (first of "+e[n(415)]+n(444)+t.id)):this.debug&&console.warn(n(418)+t.id)}[Ht(421)](t){const e=Ht;t[e(424)].animation=e(433),setTimeout(()=>{const n=e;t.parentNode&&t[n(404)][n(446)](t)},300),this[e(435)]&&console[e(440)](e(441))}}const Yt=Jt;function Wt(){const t=["initializeRenderers","17406DmHXhu","advertisement"," Ad","5050760lGNSOK","toLowerCase","renderOptimizedBannerImage is only supported for BANNER ads","7380240gTUHDC","No advertisement to render","getRenderer"," renderers","renderOptimizedBannerImage","renderers","onerror","BANNER","data-adstage-ad-id","[AdRenderer] ","adType","naturalHeight","renderFallback","loadImageDimensions","3411030MKLlbX","🏭 AdRenderer factory initialized with ","5665005XtToeX","advertisementEventTracker","399770XeSTMa","appendChild","src","debug","getDefaultHeight","get","set","imageUrl","VIDEO","No renderer found for ad type: ","100%","32haxCSB","warn","⚠️ Container optimization is only supported for BANNER ads, got: ","7sQMxXY","textContent","setAttribute","config","onload","renderAdElement","data-adstage-slot-id","calculateAdSize","INTERSTITIAL","renderAdSlider","size","height","optimizeContainerForBannerAds","createAdElement","renderAd","block","width","display","8px","className","log","objectFit","style","28zkXITQ","TEXT","naturalWidth","getDefaultHeightForAdType","32280PUleQg","div","#f9f9f9","createElement"];return(Wt=function(){return t})()}function Jt(t,e){const n=Wt();return(Jt=function(t,e){return n[t-=429]})(t,e)}!function(){const t=Jt,e=Wt();for(;;)try{if(384401===-parseInt(t(477))/1*(-parseInt(t(437))/2)+-parseInt(t(442))/3*(parseInt(t(433))/4)+parseInt(t(466))/5+parseInt(t(462))/6+-parseInt(t(480))/7*(parseInt(t(445))/8)+parseInt(t(464))/9+-parseInt(t(448))/10)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class Gt{constructor(t=!1,e){const n=Jt;this[n(453)]=new Map,this.debug=t,this.advertisementEventTracker=e||null,this[n(441)]()}initializeRenderers(){const e=Jt;this[e(453)][e(472)](t[e(455)],new wt(this[e(469)],this.advertisementEventTracker)),this[e(453)][e(472)](t[e(434)],new Bt(this[e(469)],this.advertisementEventTracker)),this.renderers[e(472)](t[e(474)],new Nt(this[e(469)],this[e(465)])),this[e(453)][e(472)](t.NATIVE,new _t(this[e(469)],this[e(465)])),this.renderers[e(472)](t[e(488)],new Xt(this.debug,this[e(465)])),this[e(469)]&&console[e(430)](e(463)+this[e(453)][e(490)]+e(451))}[Yt(493)](e,n){const s=Yt,i=this[s(450)](e[s(458)]),r=document[s(440)](s(438));r[s(429)]="adstage-ad adstage-"+String(e[s(458)])[s(446)](),r.setAttribute(s(456),n._id),r[s(482)](s(486),e.id);const{width:o,height:a}=i[s(487)](r,e[s(483)]||{},n);switch(r[s(432)][s(496)]=o,r[s(432)][s(491)]=a,r[s(432)][s(497)]=s(495),e[s(458)]){case t[s(455)]:if(n[s(473)]){const t=document[s(440)]("img");t[s(468)]=n[s(473)],t[s(432)][s(496)]=s(476),t[s(432)][s(491)]=s(476),t[s(432)][s(431)]="cover",r[s(467)](t)}break;case t[s(474)]:if(n.videoUrl){const t=document.createElement("video");t[s(468)]=n.videoUrl,t[s(432)][s(496)]=s(476),t[s(432)][s(491)]=s(476),r[s(467)](t)}break;case t.TEXT:if(n[s(481)]){const t=document.createElement(s(438));t[s(481)]=n.textContent||"",t[s(432)].padding=s(498),r[s(467)](t)}break;default:r[s(432)].border="1px dashed #ccc",r.style.backgroundColor=s(439),r[s(481)]=e.adType+s(444)}return r}[Yt(450)](t){const e=Yt,n=this.renderers[e(471)](t);if(!n)throw new Error(e(475)+t);return n}createPlaceholder(t,e,n,s,i){this[Yt(450)](n).createPlaceholder(t,e,s,i)}async optimizeContainerForBannerAds(e,n){const s=Yt;if(e[s(458)]!==t.BANNER)return void(this[s(469)]&&console[s(478)](s(479)+e[s(458)]));const i=this[s(450)](t[s(455)]);await i[s(492)](e,n)}async[Yt(489)](t,e){const n=Yt,s=this[n(450)](t[n(458)]);await s.renderMultipleAds(t,e)}async[Yt(494)](t){const e=Yt;if(!t[e(443)])throw new Error(e(449));const n=this[e(450)](t.adType);await n[e(485)](t,t[e(443)]),t.isLoaded=!0}async renderAdElement(t,e){const n=Yt,s=this[n(450)](t[n(458)]);await s.renderAdElement(t,e)}[Yt(460)](t){const e=Yt;this[e(450)](t[e(458)])[e(460)](t)}[Yt(436)](t){const e=Yt;return this[e(450)](t)[e(470)]()}[Yt(487)](t,e,n,s){return this.getRenderer(e).calculateAdSize(t,n,s)}[Yt(461)](t){return new Promise((e,n)=>{const s=Jt,i=new Image;i[s(484)]=()=>{const t=s;e({width:i[t(435)],height:i[t(459)]})},i[s(454)]=()=>{n(new Error("Failed to load image: "+t))},i[s(468)]=t})}async[Yt(452)](e,n,s){const i=Yt;if(s[i(458)]!==t[i(455)])throw new Error(i(447));const r=this[i(450)](t.BANNER);return await r[i(452)](e,n,s)}async calculateOptimalContainerSize(e,n,s){const i=Yt;if(s!==t[i(455)]){return{width:"100%",height:this[i(450)](s)[i(470)](),aspectRatio:16/9}}const r=this[i(450)](t[i(455)]);return await r.calculateOptimalContainerSize(e,n)}log(t,...e){const n=Yt;this[n(469)]&&console[n(430)](n(457)+t,...e)}}function qt(){const t=["removedNodes","debug","forEach","GET","append","getAllSlots","then","ELEMENT_NODE","✅ Ad loaded for slot: ","destroy","❌ Failed to track viewable impression:","substr","12Xbopws","ensureReady","setAttribute","API key not configured","country","auto","muted","Auto-cleanup failed for slot ","startSimpleViewabilityTracking","handleRemovedElement","containerId","banner","error","372734vTDxNG","renderFallback","getBaseUrl","playsinline","_id","fetchAdData","🎯 Ads module initialized (sync mode) with auto-cleanup","loadAdContentInBackground","2561264bhBXej","renderAdSlider","video","auto-","ms... (attempt ","apiKey","undefined","detail","get","Ads module not initialized. Call AdStage.init() first.","_config","width","list","clear","style","Ad slot not found: ","warn","loop","adType","createAdInternal","🔍 Auto-cleanup MutationObserver enabled","TEXT","100%","isReady","24gNZfOS","log","create","NATIVE","customControls","renderAdElement","5ZelquR","body",", filters:","🧹 Auto-cleanup: slot ","handleViewableEvent","hideControls","toString","advertisementEventTracker","optimizeContainerForBannerAds"," ads automatically","mutationObserver","BANNER","🚫 Advertisement not found with ID: ","slideInterval","4060606nKTCAM"," (element found)","createPlaceholder","5423985YNQEhF","delete","🎠 Slider will handle VIEWABLE events for ","createAdWithRetry","maxLines","Failed to refresh ad slot: ","nodeType","광고 생성 중 오류 발생:","values","length","height","getElementById","adRenderer","Failed to fetch ad data: ","advertisement","config","7wCDJPx","_isReady","31821DmvqMp","VIDEO","onClick","refresh","set","337825JajvwJ","refreshAdSlot","native","random","adId","🗑️ Ad slot destroyed: ","data-adstage-slot-id","🔄 Retrying viewability tracking for slot: ","advertisements","adstage-","autoplay","8016440WfbrUm","now","autoDestroy","autoSlide","disconnect","controls","setupAutoCleanup","deviceType","innerHTML","from","destroyModule","[data-adstage-slot-id]","status","slots","INTERSTITIAL","querySelectorAll","📊 Fetched ","❌ Failed to load ad for slot: "," (attempt ","language","json","createAd","✅ Simple viewable impression tracked for ad "];return(qt=function(){return t})()}const Zt=Qt;function Qt(t,e){const n=qt();return(Qt=function(t,e){return n[t-=257]})(t,e)}!function(){const t=Qt,e=qt();for(;;)try{if(479763===parseInt(t(265))/1*(parseInt(t(364))/2)+parseInt(t(300))/3*(-parseInt(t(351))/4)+-parseInt(t(305))/5*(parseInt(t(259))/6)+parseInt(t(298))/7*(-parseInt(t(372))/8)+parseInt(t(282))/9+-parseInt(t(316))/10+parseInt(t(279))/11)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class $t{constructor(){const t=Qt;this[t(299)]=!1,this._config=null,this[t(329)]=new Map,this.advertisementEventTracker=null,this[t(294)]=null,this[t(275)]=null}init(t){const e=Qt;this._config=t,this[e(272)]=new F(Z[e(366)](),t.apiKey,t[e(340)]||!1,this[e(329)]),this[e(294)]=new Gt(t[e(340)]||!1,this[e(272)]),this.setupAutoCleanup(),this[e(299)]=!0,t[e(340)]&&console[e(260)](e(370))}[Zt(258)](){return this[Zt(299)]}getConfig(){return this[Zt(382)]}[Zt(362)](e,n){const s=Zt;this[s(352)]();const i={width:n?.[s(383)]||s(257),height:n?.[s(292)]||s(356),autoSlide:n?.[s(319)]||!1,slideInterval:n?.[s(278)]||5e3,onClick:n?.onClick,adId:n?.adId,language:n?.[s(335)],deviceType:n?.[s(323)],country:n?.[s(355)]};return this[s(337)](e,t[s(276)],i)}text(e,n){const s=Zt;this[s(352)]();const i={maxLines:n?.[s(286)]||3,style:n?.[s(386)]||"default",onClick:n?.[s(302)],adId:n?.[s(309)],language:n?.language,deviceType:n?.[s(323)],country:n?.[s(355)]};return this[s(337)](e,t[s(393)],i)}[Zt(374)](e,n){const s=Zt;this[s(352)]();const i={width:n?.[s(383)]||640,height:n?.[s(292)]||360,autoplay:void 0===n?.[s(315)]||n.autoplay,muted:void 0===n?.muted||n[s(357)],loop:void 0===n?.[s(389)]||n.loop,playsinline:!1!==n?.[s(367)],controls:void 0!==n?.[s(321)]&&n.controls,hideControls:n?.[s(270)]||!1,customControls:n?.[s(263)],autoSlide:!1,maxAds:1,onClick:n?.[s(302)],...n?.[s(309)]&&{adId:n[s(309)]}};return this[s(337)](e,t[s(301)],i)}[Zt(307)](e,n){const s=Zt;return this[s(352)](),this[s(337)](e,t[s(262)],n||{})}interstitial(e,n){const s=Zt;return this[s(352)](),this[s(337)](e,t[s(330)],n||{})}[Zt(303)](t){const e=Zt;this[e(352)]();const n=this[e(329)][e(380)](t);if(!n)throw new Error(e(387)+t);this.refreshAdSlot(n),this[e(382)]?.debug&&console.log("🔄 Ad slot refreshed: "+t)}destroy(t){const e=Zt;this.ensureReady();const n=this[e(329)].get(t);if(!n)throw new Error(e(387)+t);n.viewabilityTracker&&n.viewabilityTracker[e(348)]();const s=document.getElementById(n[e(361)]);s&&(s[e(324)]=""),this.slots[e(283)](t),this[e(382)]?.[e(340)]&&console[e(260)](e(310)+t)}[Zt(344)](){const t=Zt;return this.ensureReady(),Array[t(325)](this[t(329)][t(290)]())}getSlotById(t){const e=Zt;return this.ensureReady(),this[e(329)][e(380)](t)||null}[Zt(337)](t,e,n){const s=Zt;if(!this[s(382)]?.apiKey)throw new Error(s(354));const i=s(314)+e+"-"+Date[s(317)]()+"-"+Math[s(308)]()[s(271)](36)[s(350)](2,9);return this[s(285)](t,e,n,i,0),i}async[Zt(285)](t,e,n,s,i){const r=Zt,o=[0,50,100,200,500];let a,c=null;if("string"==typeof t){if(a=t,c=document.getElementById(t),!c)return i<4?(this[r(382)]?.[r(340)]&&console[r(388)]("Container not found: "+t+". Retrying in "+o[i+1]+r(376)+(i+1)+"/5)"),void setTimeout(()=>{this[r(285)](t,e,n,s,i+1)},o[i+1])):void console[r(363)]("Container not found after 5 attempts: "+t)}else c=t,a=c.id||r(375)+s,!c.id&&(c.id=a);try{this[r(391)](a,e,n,s,c)}catch(t){console[r(363)](r(289),t)}}[Zt(391)](e,n,s,i,r){const o=Zt;r[o(353)](o(311),i),this[o(294)]?.[o(281)](r,i,n,s,this._config);const a={id:i,containerId:e,adType:n,width:s[o(383)]||"100%",height:s[o(292)]||(n===t.TEXT?o(356):250),isLoaded:!1,isVisible:!1,refreshRate:0,lazyLoad:!1,targeting:{},advertisement:void 0,config:{type:n,...s},load:async()=>this[o(369)](n,s)[o(345)](t=>t[0]||null),render:t=>this[o(294)]?.[o(264)](a,t),refresh:async()=>this[o(306)](a),destroy:()=>this[o(348)](i)};this[o(329)][o(304)](i,a),this[o(371)](a),this[o(272)]&&this._config?.debug&&console[o(260)]("📊 Advertisement event tracking enabled for slot: "+i)}async loadAdContentInBackground(e){const n=Zt;try{const s=await this[n(369)](e[n(390)],e[n(297)]);if(!s||0===s[n(291)])return void this[n(294)]?.[n(365)](e);e.adType===t[n(276)]&&s[n(291)]>0&&await(this.adRenderer?.[n(273)](e,s)),s[n(291)]>1||e[n(297)]?.[n(319)]?(await(this[n(294)]?.[n(373)](e,s)),this[n(382)]?.[n(340)]&&console[n(260)](n(284)+s[n(291)]+n(274))):(e.advertisement=s[0],await(this.adRenderer?.[n(264)](e,s[0])),this[n(359)](e,s[0])),e.isLoaded=!0,this._config?.debug&&console.log(n(347)+e.id+" ("+s[n(291)]+" ads)")}catch(t){console[n(363)](n(333)+e.id,t),this[n(294)]?.[n(365)](e)}}[Zt(359)](t,e){const n=(s=0)=>{const i=Qt,r=document[i(293)](t.id);if(!r)return void(s<5?(setTimeout(()=>n(s+1),300),this[i(382)]?.[i(340)]&&console[i(260)](i(312)+t.id+i(334)+(s+1)+")")):console[i(388)]("❌ Failed to find element for viewability tracking: "+t.id));const o=new j(r,async()=>{await this.handleViewableEvent(e,t)});t.viewabilityTracker=o,this[i(382)]?.[i(340)]&&console[i(260)]("🎯 Simple viewability tracking started for slot: "+t.id+i(280))};n()}async[Zt(269)](t,e){const n=Zt;try{this[n(272)]&&(await this[n(272)].trackAdvertisementEvent(t[n(368)],e.id,o.VIEWABLE),this[n(382)]?.debug&&console.log(n(338)+t._id))}catch(t){console.error(n(349),t)}}async fetchAdData(t,e){const n=Zt;if(!this[n(382)]?.apiKey)throw new Error("API key not configured");if(e[n(309)]){const t=""+Z[n(313)][n(379)](e[n(309)]),s=await fetch(t,{method:n(342),headers:P[n(261)](this[n(382)].apiKey)});if(!s.ok){if(404===s[n(328)])return console[n(388)](n(277)+e[n(309)]),[];throw new Error(n(295)+s[n(328)])}const i=await s.json();return this[n(382)]?.[n(340)]&&console[n(260)]("📊 Fetched specific ad with ID: "+e[n(309)],i),[i]}const s=new URLSearchParams;s[n(343)](n(390),t),e.language&&s.append(n(335),e[n(335)]),e[n(323)]&&s[n(343)](n(323),e[n(323)]),e.country&&s[n(343)](n(355),e.country);const i=Z[n(313)][n(384)]()+"?"+s.toString(),r=await fetch(i,{method:"GET",headers:P.create(this[n(382)][n(377)])});if(!r.ok)throw new Error(n(295)+r[n(328)]);const o=(await r[n(336)]()).advertisements||[];return this[n(382)]?.[n(340)]&&console[n(260)](n(332)+o[n(291)]+" ads for type: "+t+n(267),{language:e[n(335)],deviceType:e[n(323)],country:e[n(355)]}),o}async[Zt(306)](t){const e=Zt;try{const n=await this.fetchAdData(t[e(390)],t[e(297)]||{});n&&n.length>0&&(t[e(296)]=n[0],await(this[e(294)]?.renderAd(t)),this[e(272)]&&console[e(260)]("New advertisement viewable tracked for slot:",t.id))}catch(n){console[e(363)](e(287)+t.id,n)}}ensureReady(){const t=Zt;if(!this[t(299)])throw new Error(t(381))}[Zt(322)](){const t=Zt;typeof window!==t(378)&&typeof document!==t(378)&&(this[t(275)]&&this.mutationObserver[t(320)](),this[t(275)]=new MutationObserver(t=>{t.forEach(t=>{const e=Qt;t[e(339)][e(341)](t=>{const n=e;t[n(288)]===Node[n(346)]&&this[n(360)](t)})})}),this[t(275)].observe(document[t(266)],{childList:!0,subtree:!0}),this[t(382)]?.[t(340)]&&console[t(260)](t(392)))}[Zt(360)](t){const e=Zt,n=t.getAttribute("data-adstage-slot-id");if(n)return void this[e(318)](n);t[e(331)](e(327))[e(341)](t=>{const n=e,s=t.getAttribute("data-adstage-slot-id");s&&this[n(318)](s)})}[Zt(318)](t){const e=Zt;if(this[e(329)][e(380)](t))try{this[e(329)].delete(t),this[e(382)]?.[e(340)]&&console[e(260)](e(268)+t+" removed")}catch(n){this._config?.[e(340)]&&console[e(388)](e(358)+t+":",n)}}[Zt(326)](){const t=Zt,e=this[t(382)]?.[t(340)];this[t(275)]&&(this[t(275)][t(320)](),this[t(275)]=null),this[t(329)][t(385)](),this[t(272)]=null,this[t(294)]=null,this[t(299)]=!1,this._config=null,e&&console[t(260)]("🗑️ Ads module destroyed")}}function te(t,e){var n=ne();return(te=function(t,e){return n[t-=135]})(t,e)}var ee=te;function ne(){var t=["4130329dFozgP","✅ Config module initialized (sync mode)","_isReady","getApiEndpoint","39TkWpdd","64oZcRnW","getEnabledModules","create","ads","Config module not initialized","_config","2893KfCiiz","API key not available","baseUrl","_organizationInfo","debug","isReady","606FnwbnT","apiKey","modules","isDebugMode","32850KlyhTI","15480ZWUNQU","🔄 Config updated","1695292VSPEok","updateConfig","86052tjLXgA","getBaseUrl","log","70124HUguRB","init","3rJAVvp","getConfig","72695JCeIgN"];return(ne=function(){return t})()}!function(){for(var t=te,e=ne();;)try{if(956079===parseInt(t(153))/1*(-parseInt(t(144))/2)+-parseInt(t(146))/3*(parseInt(t(139))/4)+-parseInt(t(148))/5*(-parseInt(t(166))/6)+-parseInt(t(149))/7+-parseInt(t(154))/8*(parseInt(t(137))/9)+-parseInt(t(136))/10+parseInt(t(160))/11*(parseInt(t(141))/12))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class se{constructor(){var t=te;this._isReady=!1,this[t(159)]=null,this._organizationInfo=null}[ee(145)](t){var e=ee;this[e(159)]={timeout:3e4,debug:!1,modules:[e(157),"events","config"],...t},t[e(162)]&&Z.setBaseUrl(t.baseUrl),this[e(151)]=!0,t[e(164)]&&console[e(143)](e(150),{modules:this[e(159)][e(168)],endpoint:Z[e(142)](),mode:"development"})}[ee(165)](){return this._isReady}[ee(147)](){return this._config}getOrganizationInfo(){return this[ee(163)]}[ee(152)](){return Z[ee(142)]()}[ee(135)](){var t=ee;return this[t(159)]?.[t(164)]||!1}[ee(155)](){var t=ee;return this[t(159)]?.[t(168)]||[]}isModuleEnabled(t){return this[ee(155)]().includes(t)}[ee(140)](t){var e=ee;if(!this._config)throw new Error(e(158));this[e(159)]={...this[e(159)],...t},this.isDebugMode()&&console[e(143)](e(138),t)}getApiHeaders(){var t=ee;if(!this._config?.[t(167)])throw new Error(t(161));return P[t(156)](this[t(159)][t(167)])}}const ie=re;function re(t,e){const n=ae();return(re=function(t,e){return n[t-=443]})(t,e)}!function(){const t=re,e=ae();for(;;)try{if(658753===parseInt(t(485))/1+-parseInt(t(443))/2*(-parseInt(t(454))/3)+-parseInt(t(446))/4+parseInt(t(453))/5+parseInt(t(468))/6*(parseInt(t(473))/7)+-parseInt(t(467))/8*(parseInt(t(478))/9)+parseInt(t(465))/10*(-parseInt(t(463))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class oe{static[ie(447)](){const t=ie;return{...oe[t(444)](),...oe[t(477)]}}static[ie(444)](){const t=ie;if(!y[t(458)]())return{category:t(476),platform:t(466),model:"SSR",appVersion:C[t(448)](),osVersion:t(466)};const e=navigator[t(452)][t(471)]();let n=t(464);/tablet|ipad/[t(456)](e)?n=t(487):M[t(469)]()&&(n="mobile");const s=M[t(474)]();return{category:n,platform:oe[t(449)](s),model:navigator[t(457)],appVersion:C[t(448)](),osVersion:navigator.platform}}static[ie(483)](t){const e=ie;oe[e(477)]={...oe[e(477)],...t}}static[ie(455)](t,e){oe[ie(477)][t]=e}static[ie(470)](){oe[ie(477)]={}}static[ie(462)](){return{...oe[ie(477)]}}static mapPlatformForEvents(t){const e=ie;switch(t){case"ios":return e(486);case e(451):return e(475);case e(461):return e(472);case e(464):return"Desktop Web";default:return e(450)}}static[ie(459)](){const t=ie;if(!y[t(458)]())return{userAgent:t(466),language:t(445),platform:"SSR",cookieEnabled:!1,onLine:!0,screenResolution:t(479),viewportSize:"0x0"};const e=y[t(484)]();return{userAgent:navigator[t(452)],language:navigator[t(460)]||t(445),platform:navigator.platform,cookieEnabled:navigator.cookieEnabled,onLine:navigator[t(481)],screenResolution:screen[t(480)]+"x"+screen[t(482)],viewportSize:e[t(480)]+"x"+e[t(482)]}}}function ae(){const t=["userAgent","2533590zHBHxi","918lDvkBK","setDeviceProperty","test","platform","isBrowser","getDetailedInfo","language","web","getUserProvidedDeviceInfo","4585911YBIBbI","desktop","20hlxiES","SSR","333488HlXQnJ","152826BeUxcz","isMobile","clearUserProvidedDeviceInfo","toLowerCase","Mobile Web","28BRpkCO","getPlatform","Android","other","_userProvidedDeviceInfo","135uXjaTc","0x0","width","onLine","height","setDeviceInfo","getViewportInfo","1158789Yfgpnx","iOS","tablet","7374dUWeed","getAutoDetectedDeviceInfo","ko-KR","3111072GWhrxM","getDeviceInfo","getAppVersion","mapPlatformForEvents","Unknown","android"];return(ae=function(){return t})()}oe[ie(477)]={};const ce=le;function de(){const t=["40786iNzLRP","1284567APvRrl","DateTimeFormat","_userProperties","9KqtfeU","setUserProperties","ko-KR","261513HXlzxo","UTC","getUserInfo","1363305AEthjk","resolvedOptions","extractCountryFromLanguage","getBaseUserInfo","325518XDyjkt","isBrowser","split","2345504IwifRb","18YobvNZ","738504BGuGKr","clearUserProperties","timeZone"];return(de=function(){return t})()}function le(t,e){const n=de();return(le=function(t,e){return n[t-=285]})(t,e)}!function(){const t=le,e=de();for(;;)try{if(328019===-parseInt(t(296))/1*(-parseInt(t(292))/2)+-parseInt(t(297))/3+parseInt(t(291))/4+-parseInt(t(306))/5+-parseInt(t(288))/6+parseInt(t(303))/7+-parseInt(t(293))/8*(-parseInt(t(300))/9))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ue{static[ce(305)](){const t=ce;return{...ue[t(287)](),...ue[t(299)]}}static[ce(287)](){const t=ce;if(!y[t(289)]())return{language:t(302),country:"KR"};const e=navigator.language||t(302);return{language:e,country:ue[t(286)](e)}}static[ce(286)](t){const e={ko:"KR","ko-KR":"KR",en:"US","en-US":"US","en-GB":"GB",ja:"JP","ja-JP":"JP",zh:"CN","zh-CN":"CN","zh-TW":"TW",de:"DE","de-DE":"DE",fr:"FR","fr-FR":"FR"};if(e[t])return e[t];return e[t[ce(290)]("-")[0]]||"KR"}static[ce(301)](t){ue._userProperties={...ue._userProperties,...t}}static setUserProperty(t,e){ue._userProperties[t]=e}static[ce(294)](){ue._userProperties={}}static getCurrentUserProperties(){return{...ue[ce(299)]}}static estimateLocation(){const t=ce;if(!y[t(289)]())return{timezone:t(304),estimatedCountry:"KR"};const e=Intl[t(298)]()[t(285)]()[t(295)];return{timezone:e,estimatedCountry:{"Asia/Seoul":"KR","Asia/Tokyo":"JP","Asia/Shanghai":"CN","Asia/Hong_Kong":"HK","Asia/Taipei":"TW","America/New_York":"US","America/Los_Angeles":"US","Europe/London":"GB","Europe/Berlin":"DE","Europe/Paris":"FR"}[e]||"KR"}}}ue[ce(299)]={};const pe=he;function he(t,e){const n=fe();return(he=function(t,e){return n[t-=466]})(t,e)}function fe(){const t=["setItem","getSessionStats","_sessionStartTime","getUserId","toString","8174601PldyOx","320KcVNhV","15678dLKsBr","session_","getSessionDuration","random","2855988LNUzyG","adstage_session_id","isBrowser","adstage_user_id","isSessionExpired","now","ssr_session_","getSessionInfo","adstage_session_start","_userId","getSessionId","clearUserId","isNewSession","635842qqYcsm","setUserId","4UKvRYM","938016MDIPJl","8069649kOUEzN","3268720aJBLNo","getItem","removeItem"];return(fe=function(){return t})()}!function(){const t=he,e=fe();for(;;)try{if(692030===-parseInt(t(475))/1*(parseInt(t(473))/2)+parseInt(t(492))/3+parseInt(t(478))/4+parseInt(t(487))/5*(-parseInt(t(488))/6)+parseInt(t(477))/7+parseInt(t(476))/8+-parseInt(t(486))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ge{static[pe(470)](){const t=pe;if(!y[t(494)]())return t(466)+Date[t(497)]();const e=sessionStorage[t(479)]("adstage_session_id");if(e)return e;const n=t(489)+Math[t(491)]()[t(485)](36).substr(2,9)+"_"+Date.now();return sessionStorage.setItem(t(493),n),!ge[t(483)]&&(ge[t(483)]=Date.now(),y[t(494)]()&&sessionStorage[t(481)](t(468),String(ge[t(483)]))),n}static[pe(474)](t){const e=pe;ge[e(469)]=t,y[e(494)]()&&localStorage[e(481)](e(495),t)}static[pe(484)](){const t=pe;if(ge[t(469)])return ge[t(469)];if(y.isBrowser()){const e=localStorage[t(479)](t(495));if(e)return ge[t(469)]=e,e}}static[pe(471)](){const t=pe;ge._userId=void 0,y[t(494)]()&&localStorage[t(480)]("adstage_user_id")}static[pe(467)](){const t=pe,e=ge[t(470)](),n=ge[t(484)](),s=ge.isNewSession();return{sessionId:e,userId:n,sessionDuration:ge[t(490)](),isNewSession:s}}static[pe(472)](){const t=pe;if(!y[t(494)]())return!0;const e=sessionStorage[t(479)]("adstage_session_id"),n=sessionStorage[t(479)](t(468));return!e||!n}static[pe(490)](){const t=pe;if(!y[t(494)]())return 0;const e=sessionStorage[t(479)](t(468));return e?Date[t(497)]()-parseInt(e,10):0}static refreshSession(){const t=pe;return y[t(494)]()&&(sessionStorage[t(480)](t(493)),sessionStorage[t(480)](t(468))),ge[t(483)]=void 0,ge[t(470)]()}static[pe(496)](t=24){return ge.getSessionDuration()>60*t*60*1e3}static[pe(482)](){const t=pe,e=ge[t(470)](),n=ge.getUserId(),s=ge[t(490)](),i=ge[t(496)](),r=ge.isNewSession();let o;if(y[t(494)]()){const e=sessionStorage[t(479)](t(468));o=e?parseInt(e,10):void 0}return{sessionId:e,userId:n,startTime:o,duration:s,isExpired:i,isNewSession:r}}}const me=Ie;function Ie(t,e){const n=ve();return(Ie=function(t,e){return n[t-=455]})(t,e)}function ve(){const t=["162227uURvGZ","setUserProperties","events","status","1xkEIJu","getConfig","👤 User properties set:","API key not configured for event tracking.","application/json","2954TYyTcu","117cCMvPJ","4232850numTfy","getCurrentUserProperties","Event data:","init","52XYHxLA","sendEventToServer","_config","warn","35lEgyLk","statusText","❌ Failed to track event:","getUserId","📊 Events module initialized","getSessionId","_isReady","isReady","apiKey","231459XQAHoH","getUserInfo","create","debug","log","POST","getDeviceInfo","324550DZoqun","error","Event tracking failed: ","2191976CmVYKo","getUserProperties","10pwcFBa","1118992QaeDAL","112981cljRPV","track","216DIMosN","setUserId"];return(ve=function(){return t})()}!function(){const t=Ie,e=ve();for(;;)try{if(874512===-parseInt(t(467))/1*(parseInt(t(458))/2)+-parseInt(t(491))/3*(parseInt(t(478))/4)+-parseInt(t(457))/5*(-parseInt(t(474))/6)+-parseInt(t(482))/7*(parseInt(t(455))/8)+-parseInt(t(473))/9*(parseInt(t(498))/10)+parseInt(t(459))/11*(parseInt(t(461))/12)+parseInt(t(463))/13*(parseInt(t(472))/14))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class ye{constructor(){const t=Ie;this._isReady=!1,this[t(480)]=null}[me(477)](t){const e=me;this[e(480)]=t,this[e(488)]=!0,t.debug&&console[e(495)](e(486))}[me(489)](){return this[me(488)]}[me(468)](){return this._config}setUserId(t){const e=me;ge[e(462)](t),this[e(480)]?.[e(494)]&&console.log("👤 User ID set:",t)}[me(485)](){return ge[me(485)]()}[me(464)](t){const e=me;ue[e(464)](t),this[e(480)]?.debug&&console[e(495)](e(469),t)}[me(456)](){return ue[me(475)]()}async[me(460)](t,e){const n=me;if(this[n(488)])if(this[n(480)]?.[n(490)])try{const s={eventName:t,userId:ge[n(485)](),sessionId:ge[n(487)](),sdkVersion:E(),device:oe[n(497)](),user:ue[n(492)](),params:e||{}};await this[n(479)](s),this[n(480)][n(494)]&&console.log("✅ Event tracked:",t,e)}catch(s){console[n(499)](n(484),s),this[n(480)][n(494)]&&console.error(n(476),{eventName:t,properties:e})}else console[n(481)](n(470));else console[n(481)]("Events module not initialized. Call AdStage.init() first.")}async[me(479)](t){const e=me,n=await fetch(Z[e(465)][e(460)](),{method:e(496),headers:{...P[e(493)](this[e(480)][e(490)]),"Content-Type":e(471)},body:JSON.stringify(t)});if(!n.ok)throw new Error(e(500)+n[e(466)]+" "+n[e(483)])}}const be=we;function we(t,e){const n=ke();return(we=function(t,e){return n[t-=324]})(t,e)}!function(){const t=we,e=ke();for(;;)try{if(472434===-parseInt(t(335))/1+parseInt(t(338))/2+-parseInt(t(345))/3+-parseInt(t(348))/4+-parseInt(t(342))/5+parseInt(t(346))/6*(-parseInt(t(349))/7)+parseInt(t(355))/8)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();class xe{constructor(){const t=we;this[t(354)]=!1,this[t(358)]=null,this[t(343)]=new se,this.ads=new $t,this[t(359)]=new ye}static[be(333)](t){const e=be;!xe[e(351)]&&(xe[e(351)]=new xe);const n=xe.instance;if(!t.apiKey)throw new Error(e(325));n[e(358)]={timeout:3e4,debug:!1,modules:[e(337),e(359),e(343)],...t},n[e(358)][e(324)]&&(Z.setBaseUrl(n[e(358)][e(324)]),t[e(347)]&&console[e(334)](e(331),n._config[e(324)]));const s=n[e(358)][e(339)]||["ads",e(359),e(343)];for(const t of s){const s=n[t];s&&typeof s[e(333)]===e(326)&&s.init(n[e(358)])}n[e(354)]=!0,t[e(347)]&&console[e(334)]("🚀 AdStage SDK initialized (sync mode)",{version:"2.0.0",modules:s,apiKey:t[e(341)][e(356)](0,8)+e(353),mode:e(350)})}static isReady(){const t=be;return xe[t(351)]?._isInitialized||!1}static[be(328)](){const t=be;return xe[t(351)]?.[t(358)]||null}static[be(329)](){const t=be;if(!xe[t(351)])throw new Error(t(327));return xe[t(351)]}static get[be(337)](){const t=be;return xe.getInstance()[t(337)]}static get[be(359)](){const t=be;return xe[t(329)]()[t(359)]}static get[be(343)](){const t=be;return xe[t(329)]()[t(343)]}static[be(332)](){const t=be;xe.instance&&(xe[t(351)]._isInitialized=!1,xe[t(351)]._config=null)}}function ke(){const t=["baseUrl","API key is required for AdStage initialization","function","AdStage not initialized. Call AdStage.init() first.","getConfig","getInstance","📊 AdStage Debug: 현재 viewable 추적 상태","🌐 API endpoint configured:","reset","init","log","803355HOarQU","clear","ads","13970CNkAku","modules","from","apiKey","1070645tjWiOG","config","viewableTracker","842790QyRTic","2946WtSniv","debug","3234464BMETyQ","5117YJBXwQ","development","instance","clearAdViewable","...","_isInitialized","23451200BbUQro","substring","✅ AdStage Debug: 모든 viewable 추적 데이터 초기화됨","_config","events","✅ AdStage Debug: 광고 ",")의 viewable 추적 초기화됨"];return(ke=function(){return t})()}function Ee(){var t=["20436165xiikvT","774CjkJTg","340559vRBRsG","11103771UBUSsy","events","22765tdwXxc","track","isReady","getUserId","warn","563264AQsMuY","AdStage not initialized. Call AdStage.init() first.","3FTUWhz","setUserProperties","920006aCxBuH","5723368dCueiY","resolve","setUserId"];return(Ee=function(){return t})()}function Se(t,e){var n=Ee();return(Se=function(t,e){return n[t-=443]})(t,e)}xe[be(347)]={clearAllViewable:()=>{const t=be;ht[t(336)](),console[t(334)](t(357))},clearAdViewable:(t,e)=>{const n=be;ht[n(352)](t,e),console[n(334)](n(360)+t+"("+e+n(361))},getViewableStatus:()=>{const t=be;console[t(334)](t(330),{trackedCount:ht[t(344)].size,trackedItems:Array[t(340)](ht[t(344)])})}},function(){for(var t=Se,e=Ee();;)try{if(878586===-parseInt(t(447))/1+parseInt(t(459))/2*(parseInt(t(457))/3)+parseInt(t(455))/4+-parseInt(t(450))/5*(-parseInt(t(446))/6)+parseInt(t(448))/7+parseInt(t(460))/8+-parseInt(t(445))/9)break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Ae=h.createContext(null);function Te(){const t=h.useContext(Ae);if(!t)throw new Error("useAdStageContext must be used within an AdStageProvider");return t}function Ce(t,e){var n=Re();return(Ce=function(t,e){return n[t-=370]})(t,e)}function Re(){var t=["7062xMPATF","1825yeBYzM","18xQeXZG","136264lCMShA","144KtZOIJ","10554210JmAqnh","382203DMwBkX","11tVYTrH","186578EPbdIE","591084dICEJY","3708985RyJLQE"];return(Re=function(){return t})()}!function(){for(var t=Ce,e=Re();;)try{if(547007===parseInt(t(379))/1+-parseInt(t(380))/2+-parseInt(t(373))/3*(parseInt(t(374))/4)+-parseInt(t(372))/5*(parseInt(t(371))/6)+-parseInt(t(370))/7+parseInt(t(375))/8*(parseInt(t(377))/9)+-parseInt(t(376))/10*(-parseInt(t(378))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const De=Ue;function Ue(t,e){const n=Me();return(Ue=function(t,e){return n[t-=170]})(t,e)}function Me(){const t=["38379aRZsrZ","8855SCjrtz","22631AcXZOx","3ABYfSh","42342WwjbjF","979875YjIDea","25eLmgxZ","840YVszcP","1310TKYmxa","573558JukORM","533964mQyLyN","AdStage","ads"];return(Me=function(){return t})()}!function(){const t=Ue,e=Me();for(;;)try{if(146995===-parseInt(t(180))/1+parseInt(t(174))/2+parseInt(t(181))/3*(parseInt(t(175))/4)+-parseInt(t(171))/5*(parseInt(t(182))/6)+-parseInt(t(179))/7*(-parseInt(t(172))/8)+parseInt(t(170))/9+-parseInt(t(173))/10*(parseInt(t(178))/11))break;e.push(e.shift())}catch(t){e.push(e.shift())}}();const Be=[De(177),"events","config"];"undefined"!=typeof window&&(window[De(176)]=xe),exports.AdStage=xe,exports.AdStageProvider=function({children:t,config:e}){const[n,s]=h.useState(!1),[i,r]=h.useState(null),[o,a]=h.useState(null),c=t=>{try{a(null),n&&xe.reset(),xe.init(t),r(t),s(!0),t.debug&&console.log("✅ AdStage SDK initialized successfully via React Provider")}catch(t){const e=t instanceof Error?t.message:"Unknown error";a(e),console.error("❌ AdStage SDK initialization failed:",t),s(!1),r(null)}};h.useEffect(()=>{e&&!n&&c(e)},[e,n]);const d={isInitialized:n,config:i,initialize:c,reset:()=>{try{xe.reset(),s(!1),r(null),a(null)}catch(t){console.error("❌ AdStage SDK reset failed:",t)}},error:o};return p.jsx(Ae.Provider,{value:d,children:t})},exports.SDK_VERSION="2.0.0",exports.SUPPORTED_MODULES=Be,exports.getUserId=function(){var t=Se;if(xe.isReady())return xe[t(449)][t(453)]();console.warn("AdStage not initialized. Call AdStage.init() first.")},exports.getUserProperties=function(){var t=Se;if(xe[t(452)]())return xe[t(449)].getUserProperties();console[t(454)](t(456))},exports.setUserId=function(t){var e=Se;xe[e(452)]()?xe[e(449)][e(444)](t):console[e(454)](e(456))},exports.setUserProperties=function(t){var e=Se;xe[e(452)]()?xe.events[e(458)](t):console[e(454)](e(456))},exports.track=function(t,e){var n=Se;return xe[n(452)]()?xe[n(449)][n(451)](t,e):(console.warn(n(456)),Promise[n(443)]())},exports.useAdStageContext=Te,exports.useAdStageInstance=function(){const{isInitialized:t}=Te();return t?xe:(console.warn("AdStage SDK is not initialized. Please call initialize() first or provide config to AdStageProvider."),null)};