PageSourceSearch

https://learn.cuetpro.com/s/store

html cuetpro.com collected 2026-09-28 09:00:28 UTC 313,842 bytes, 4,863 lines download raw bytes

1
2
3
4
5
6<!DOCTYPE html>
7<html>
8<head>
9	<title>Store</title>
10	<meta name="keywords" content=""/>
11	<meta name="description" content=""/>
12	
13
14
15
16
17 
18
19 
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37		
38		
39			
40		
41
42
43
44
45
46
47	
48	
49
50
51	
52		
53	
54	
55
56
57	
58	
59		
60	
61
62
63
64 
65 
66 	
67 	
68		<meta name="viewport" content="width=device-width, initial-scale=1.0">
69 	
70 	
71  
72    
73   		
74   		
75   		
76   		
77   		
78   		
79   		
80    
81    <meta name="google" content="notranslate">
82    
83    	
84        	<link rel="canonical" href="https://tushar2483.graphy.com/s/store" />
85  
86
87
88<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon">
89<link rel="icon" href="/favicon.ico" type="image/x-icon">
90
91
92
93
94
95
96	
97		
97<script>var orgCountry = "IN";</script>
97
98	
99	
100
101
102<link id="theme" href="https://d502jbuhuh9wk.cloudfront.net/resources/themes/default/spectre.min.css" rel="stylesheet">
103
104<link rel="preconnect" href="https://fonts.googleapis.com"> 
105<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> 
106
107<link rel="preload" href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" as="style" onload="this.onload=null;this.rel='stylesheet'">
108<noscript><link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons|Material+Icons+Outlined" ></noscript>
109
110<link rel="preload" href="https://d502jbuhuh9wk.cloudfront.net/resources/css/intlTelInput.css?v=1" as="style" onload="this.onload=null;this.rel='stylesheet'">
111<noscript><link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/resources/css/intlTelInput.css?v=1" ></noscript>
112
113<link rel="preload" href="https://d502jbuhuh9wk.cloudfront.net/fontawesome/css/all.min.css" as="style" onload="this.onload=null;this.rel='stylesheet'">
114<noscript><link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/fontawesome/css/all.min.css" ></noscript>
115
116<link id="theme-exp" href="https://d502jbuhuh9wk.cloudfront.net/resources/themes/default/spectre-exp.min.css" rel="stylesheet">
117
118
119
120	
121	<link href="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/stylesheets/sstyles_0f8f8346b730ed7f9d44d25335e652c6.css" rel="stylesheet">
122	<link rel="stylesheet" href="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/stylesheets/sstore_052a28d8fc16dab749345a09dfcd63bf.css"/>
123	
124	
125	
126	<style type="text/css">
127		#loginLoader{
128			position: absolute;
129	    	left: 0;
130	    	right: 0;
131	    	margin-left: auto;
132	    	margin-right: auto;
133	    	width: 100px;
134	    	top: 50%;
135		}
136	    .customSocialBtn {
137	      	display: flex; 
138	    	white-space: nowrap;
139	    	justify-content: center;
140	    	align-items: center;
141	    	padding: 11px 67px;
142	    	position: static;
143	    	left: 0px;
144	    	top: 40px;
145	    	cursor: pointer;
146	    	margin: auto;
147	    	border: none;
148	    	gap: 10px;
149	    	/*width: 364px;
150	    	height: 48px;
151	      	 background: #000000; */
152	    	/*For New Button Remove Bellow Codes and Uncomment upper Code  */
153	    	background: white;
154	      	border-radius: 4px;
155	      	box-shadow: 0 2px 4px 0 rgb(0 0 0 / 25%);
156	      	width: 245px;
157	      	height: 40px;
158	    }
159	  
160	    .customSocialBtn img.icon {     
161	    	height: 20px;
162	    	width: 20px;
163	    }
164	    .customSocialBtn span.buttonText {
165	    	font-style: normal;
166	    	font-weight: 900;
167	    	font-size: 16px;
168	    	line-height: 120%;
169			opacity: 0.9;
170	    	font-family: 'Roboto', sans-serif;
171	    	/* color: #F7F7F7; */
172	    	/*For New Button Remove Bellow Codes and Uncomment upper Code  */
173	    	color: #808080;
174	    }
175	</style>
176	
177	
178		
179		
180		 
181			<style type="text/css">
182				
183					.main.container { margin-top: calc(var(--headerHeight) + 25px); }
184				
185			</style>
186		
187	
188	
189		
190		
191			<style type="text/css">
192				footer a, footer+div a {
193					color: var(--footerTextColor) !important;
194				}
195				footer .socialIcons {text-align: right;}
196				@media (max-width: 600px) {
197					footer .linksCont a { display: block !important; }
198					footer .socialIcons {text-align: center;margin-top: 20px;}
199				}
200			</style>
201		
202	
203
204
205
206
207
208<style type="text/css">
209	:root {
210	 	--themeColor: #5755d9;
211	 	--themeBGColor: #fff;
212		--headerHeight: 80px;
213		--headerTextColor: #0a0959;
214		--headerBGColor: #fdfbfb;
215		
216	}
217
218
219</style>
220
221<style type="text/css">
222	
223    
224
225</style>
226
227
228
229
230<script type="text/javascript">
231	window.onload = function(event) {
232	   document.querySelectorAll('header .avatar img').forEach(function(img){
233		   	if(img.naturalWidth == 0) {
234		   		img.style.display='none';
235		   	}
236	   })
237	};
238	var RESCDN = "https://d502jbuhuh9wk.cloudfront.net";
239	
240	function showCourseDefaultCover(img, cid) {
241		var rndm = ((parseInt(cid.replace(/[a-z]/g, '')) % 10) % 6) + 1;
242		rndm = isNaN(rndm) ? 1 : rndm;
243		if(img === null) {
244			return RESCDN + "/resources/images/cc"+rndm+".jpg";
245		}
246		
247		img.src = RESCDN + "/resources/images/cc"+rndm+".jpg";
248	}
249</script>
249
250
251
252
253	
254	
255
256
257
258
259
260
261
262<script type="text/javascript">var learnerConsentMsg = `We've updated our <a href='/termsofuse' target='_blank' style='text-decoration:underline'>terms and conditions</a> and <a href='/privacy-policy' target='_blank' style='text-decoration:underline'>privacy policy</a>.<br>By proceeding, you agree to our new terms.`;</script>
262
263
264<script type="text/javascript">var creatorConsentMsg = `We've updated our <a href='https://graphy.com/legal/terms' target='_blank' style='text-decoration:underline'>terms and conditions</a> and <a href='https://graphy.com/legal/privacy' target='_blank' style='text-decoration:underline'>privacy policy</a>.<br>By proceeding, you agree to our new terms.`;</script>
264
265
266<script type="text/javascript">var cookieMsg = `We use cookies to personalise your experience and to analyse our website traffic. By continuing to use our website, you consent to our cookies.`;</script>
266
267
268
269
270
271
272
273<script type="text/template" id="consentPromptTemplate">
274<div class="spectre">
275	<div class="modal active" id="consentPrompt">
276		    <a href="javascript:void(0);" class="modal-overlay" aria-label="Close"></a>
277		    <div class="modal-container" style="max-width:325px">
278		      <div class="modal-header" style="padding:0.8rem 0.8rem 0px 0.8rem;">
279		        <div class="modal-title h5 text-center">Updated Terms</div>
280		      </div>
281		      <div class="modal-body">
282		        
283				<form id="consentForm" style="text-align:center; font-size:13px">
284					<div class="content"></div><br>
285					<div class="text-center">
286						<button id="consentBtn" type="button" class="btn close btn-primary">I Agree</button>
287					</div>
288				</form>
289
290		    </div>
291		  </div>
292</div>
293</script>
293
294
295
296<script>
297	var hideCookiePopup = false;
298	var cookieConsentEnabled = false;
299	if(!cookieConsentEnabled){
300		hideCookiePopup = true;
301	}
302	var SPORG = {subscriptionPlan: "launch", checkout_version: "2", customer_type: "r"};
303</script>
vendor: 1 bytes, line 303
303
304<script type="text/template" id="cookiePopupTemplate">
305<div class="spectre" style="position: fixed; bottom: 0; width: 100%; opacity:1; z-index: 9999;">
306		<div class="modal-container p-0" id="cookiePopup">        
307			<form id="cookiePopupForm">
308				<div class="columns" style="align-items: center;">
309					<div class="column col-sm-12 content text-center"></div>
310					<div class="column col-sm-12 text-center">
311						<a href="/privacy-policy" class="btn" target="_blank" id="viewPrivacyPolicyBtn" style="margin-right:15px;">View privacy policy</a>
312						<button id="acceptCookiesBtn" type="button" class="btn close btn-primary">Accept cookies</button>
313					</div>
314				</div>
315			</form>
316		</div>
317</div>
318</script>
318
319
320
321
322	
323		
324		
325			<!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 325-326
325
326<script async src="https://www.googletagmanager.com/gtag/js?id=
326AW-11117180759
vendor: 12 bytes, line 326
326"></script>
327<script>
328  
vendor: 134 bytes, lines 328-332
328window.dataLayer = window.dataLayer || [];
329  function gtag(){dataLayer.push(arguments);}
330  gtag('js', new Date());
331
332  gtag('config', '
332AW-11117180759
vendor: 4 bytes, line 332
332');
333</script>
333
334
335<!-- Google Tag Manager -->
336<script>
vendor: 327 bytes, lines 336-340
336(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
337new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
338j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
339'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
340})(window,document,'script','dataLayer','
340GTM-WLMMLNJ6
vendor: 3 bytes, line 340
340');
340</script>
340
341<!-- End Google Tag Manager -->
342</script>
342
343
344<!-- Event snippet for Begin checkout conversion page -->
345<script>
346  gtag('event', 'conversion', {
347      'send_to': 'AW-11117180759/VcNXCIO59-8bENfuirUp',
348      'value': 1.0,
349      'currency': 'INR'
350  });
351</script>
351
352<!-- Event snippet for Purchase conversion page -->
353<script>
354  gtag('event', 'conversion', {
355      'send_to': 'AW-11117180759/6_V6CIa59-8bENfuirUp',
356      'value': 1.0,
357      'currency': 'INR',
358      'transaction_id': ''
359      // 'new_customer': true /* calculate dynamically, populate with true/false */,
360  });
361</script>
361
362
363		
364	
365
366
367
368
369
370<!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 370-371
370
371<script async src="https://www.googletagmanager.com/gtag/js?id=
371G-1HPGGQ7LND
vendor: 12 bytes, line 371
371"></script>
372<script>
373 
vendor: 131 bytes, lines 373-377
373window.dataLayer = window.dataLayer || [];
374 function gtag(){dataLayer.push(arguments);}
375 gtag('js', new Date());
376
377 gtag('config', '
377G-1HPGGQ7LND
vendor: 4 bytes, line 377
377');
378</script>
378
379
380
381
382
383
384
385
386	
387		
388			
389			
390			
391				
392					
393					
394					
395								
396			
397		
398	
399
400
401<!-- Google Tag Manager -->
402<script>
vendor: 327 bytes, lines 402-406
402(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
403new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
404j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
405'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
406})(window,document,'script','dataLayer','
406GTM-KW7N9P2
vendor: 4 bytes, line 406
406');
407</script>
407
408<!-- End Google Tag Manager -->
409 
410 	
410<script defer type="text/javascript" src="https://api.pirsch.io/pirsch-extended.js" 
411    id="pirschextendedjs" 
412    data-code="oD3IntVHNFm4vxdEKGlC3DkBaIU4O8JD"></script>
412
413 
414	<meta name="google-site-verification" content="cSxCJZOAyEs9gEjXjGPwtHiqPXDvYJ4-5_C3tJVEZuc" />
415
416<script type="text/javascript">window.NREUM||(NREUM={});NREUM.info={"errorBeacon":"bam.nr-data.net","licenseKey":"NRJS-3c5e94b79297c3f66ad","agent":"","beacon":"bam.nr-data.net","applicationTime":17,"applicationID":"1108160141","transactionName":"Y1RVZkAHVhIHBUZfWVoeZEJAD1YGJQlcQkRbXVtXQElLFQkUVxYec3RjGw==","queueTime":0};
417(window.NREUM||(NREUM={})).init={privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]},distributed_tracing:{enabled:true}};(window.NREUM||(NREUM={})).loader_config={agentID:"1134555315",accountID:"3033394",trustKey:"3033394",xpid:"VwYEUlVaDBABVVFaBgcHV1AA",licenseKey:"NRJS-3c5e94b79297c3f66ad",applicationID:"1108160141",browserID:"1134555315"};;/*! For license information please see nr-loader-spa-1.322.0.min.js.LICENSE.txt */
418(()=>{var e={8122(e,t,r){"use strict";r.d(t,{a:()=>i});var n=r(944);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.R)(3);if(!t||"object"!=typeof t)return(0,n.R)(4);const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),s=0===Object.keys(r).length?e:r;for(let a in s)if(void 0!==e[a])try{if(null===e[a]){r[a]=null;continue}Array.isArray(e[a])&&Array.isArray(t[a])?r[a]=Array.from(new Set([...e[a],...t[a]])):e[a]instanceof Map||e[a]instanceof Set||e[a]instanceof Date||e[a]instanceof RegExp?r[a]=e[a]:"object"==typeof e[a]&&null!==t[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){r[a]||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},2555(e,t,r){"use strict";r.d(t,{f:()=>a});var n=r(384),i=r(8122);const s={beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function a(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}r.d(t,["D",0,e=>(0,i.a)(e,s)])},7699(e,t,r){"use strict";var n=r(860);const i={[n.K7.logging]:!0,[n.K7.genericEvents]:!0,[n.K7.jserrors]:!0,[n.K7.ajax]:!0};r.d(t,["It",0,1e6,"KC",0,i,"qh",0,"SESSION_ERROR"])},9324(e,t,r){"use strict";r.d(t,["A",0,"@newrelic/rrweb","x",0,"1.322.0"])},981(e,t,r){"use strict";r.d(t,["R",0,{AJAX:"AjaxRequest",PA:"PageAction",UA:"UserAction",BP:"BrowserPerformance",WS:"WebSocket",SPV:"SecurityPolicyViolation",JSE:"JavaScriptError",LOG:"Log",PVE:"PageView",PVT:"PageViewTiming",SR:"SessionReplay",ST:"SessionTrace",BI:"BrowserInteraction"}])},9752(e,t,r){"use strict";const n="newrelic-iframe-",i=n+"timing-update",s=n+"api",a=n+"api-response",o=n+"vitals-update",c=n+"ajax";r.d(t,["$8",0,o,"Gi",0,a,"KU",0,c,"Pl",0,n,"cS",0,s,"cr",0,i])},6154(e,t,r){"use strict";var n=r(1863);const i="undefined"!=typeof window&&!!window.document,s="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),a=i?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),o=Boolean("hidden"===a?.document?.visibilityState),c=""+a?.location,d=/iPad|iPhone|iPod/.test(a.navigator?.userAgent),u=d&&"undefined"==typeof SharedWorker,l=(()=>{const e=a.navigator?.userAgent?.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),f=Date.now()-(0,n.t)();r.d(t,["OF",0,d,"RI",0,i,"WN",0,f,"bv",0,s,"gm",0,a,"lR",0,l,"m",0,c,"mw",0,o,"sb",0,u,"zk",0,()=>{const e=a?.performance?.getEntriesByType?.("navigation")?.[0];if(e&&e.responseStart>0&&e.responseStart<a.performance.now())return e}])},7295(e,t,r){"use strict";r.d(t,{Xv:()=>a,gX:()=>i,iW:()=>s});var n=[];function i(e){if(!e||s(e))return!1;if(0===n.length)return!0;if("*"===n[0].hostname)return!1;for(var t=0;t<n.length;t++){var r=n[t];if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function s(e){return void 0===e.hostname}function a(e){if(n=[],e&&e.length)for(var t=0;t<e.length;t++){let r=e[t];if(!r)continue;if("*"===r)return void(n=[{hostname:"*"}]);0===r.indexOf("http://")?r=r.substring(7):0===r.indexOf("https://")&&(r=r.substring(8));const i=r.indexOf("/");let s,a;i>0?(s=r.substring(0,i),a=r.substring(i)):(s=r,a="*");let[c]=s.split(":");n.push({hostname:o(c),pathname:o(a,!0)})}}function o(e,t=!1){const r=e.replace(/[.+?^${}()|[\]\\]/g,e=>"\\"+e).replace(/\*/g,".*?");return new RegExp((t?"^":"")+r+"$")}},3241(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(6154);function i(e={}){try{n.gm.dispatchEvent(new CustomEvent("newrelic",{detail:e}))}catch(e){}}},1687(e,t,r){"use strict";r.d(t,{Ak:()=>o,Ze:()=>d,x3:()=>c});var n=r(3241),i=r(3606),s=r(860),a=r(2646);function o(e,t){if(!e)return;const r={staged:!1,priority:s.P3[t]||0};
418e.runtime.drainRegistry.get(t)||e.runtime.drainRegistry.set(t,r)}function c(e,t){if(!e)return;const r=e.runtime.drainRegistry;r&&(r.get(t)&&r.delete(t),l(e,t,!1),r.size&&u(e))}function d(e,t="feature",r=!1){if(e){if(!e.runtime.drainRegistry.get(t)||r)return l(e,t);e.runtime.drainRegistry.get(t).staged=!0,u(e)}}function u(e){if(!e)return;const t=Array.from(e.runtime.drainRegistry);t.every(([e,t])=>t.staged)&&(t.sort((e,t)=>e[1].priority-t[1].priority),t.forEach(([t])=>{e.runtime.drainRegistry.delete(t),l(e,t)}))}function l(e,t,r=!0){if(!e)return;const s=e.ee,o=i.i.handlers;if(s&&!s.aborted&&s.backlog&&o){if((0,n.W)({type:"lifecycle",name:"drain",feature:t}),r){const e=s.backlog[t],r=o[t];if(r){for(let t=0;e&&t<e.length;++t)f(e[t],r);Object.entries(r).forEach(([e,t])=>{Object.values(t||{}).forEach(t=>{t[0]?.on&&t[0].context()instanceof a.y&&!t[0].listeners(e).includes(t[1])&&t[0].on(e,t[1])})})}}s.isolatedBacklog||delete o[t],s.backlog[t]=null,s.emit("drain-"+t,[])}}function f(e,t){var r=e[1];Object.values(t[r]||{}).forEach(t=>{var r=e[0];if(t[0]===r){var n=t[1],i=e[3],s=e[2];n.apply(i,s)}})}},7836(e,t,r){"use strict";var n=r(384),i=r(8990),s=r(2646),a=r(5607);const o="nr@context:".concat(a.W),c=function e(t,r){var n={},a={},u={},l=!1;try{l=16===r.length&&d.initializedAgents?.[r]?.runtime.isolatedBacklog}catch(e){}var f={on:p,addEventListener:p,removeEventListener:function(e,t){var r=n[e];if(!r)return;for(var i=0;i<r.length;i++)r[i]===t&&r.splice(i,1)},emit:function(e,r,n,i,s){!1!==s&&(s=!0);if(c.aborted&&!i)return;t&&s&&t.emit(e,r,n);var o=h(n);g(e).forEach(e=>{e.apply(o,r)});var d=v()[a[e]];d&&d.push([f,e,r,o]);return o},get:m,listeners:g,context:h,buffer:function(e,t){const r=v();if(t=t||"feature",f.aborted)return;Object.entries(e||{}).forEach(([e,n])=>{a[n]=t,t in r||(r[t]=[])})},abort:function(){f._aborted=!0,Object.keys(f.backlog).forEach(e=>{delete f.backlog[e]})},isBuffering:function(e){return!!v()[a[e]]},debugId:r,backlog:l?{}:t&&"object"==typeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(f,"aborted",{get:()=>{let e=f._aborted||!1;return e||(t&&(e=t.aborted),e)}}),f;function h(e){return e&&e instanceof s.y?e:e?(0,i.I)(e,o,()=>new s.y(o)):new s.y(o)}function p(e,t){n[e]=g(e).concat(t)}function g(e){return n[e]||[]}function m(t){return u[t]=u[t]||e(f,t)}function v(){return f.backlog}}(void 0,"globalEE"),d=(0,n.Zm)();d.ee||(d.ee=c),r.d(t,["P",0,o,"ee",0,c])},2646(e,t,r){"use strict";r.d(t,{y:()=>n});class n{constructor(e){this.contextId=e}}},9908(e,t,r){"use strict";r.d(t,{d:()=>n,p:()=>i});var n=r(7836).ee.get("handle");function i(e,t,r,i,s){s?(s.buffer([e],i),s.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},3606(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(9908);s.on=a;var i=s.handlers={};function s(e,t,r,s){a(s||n.d,i,e,t,r)}function a(e,t,r,i,s){s||(s="feature"),e||(e=n.d);var a=t[s]=t[s]||{};(a[r]=a[r]||[]).push([e,i])}},3878(e,t,r){"use strict";function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r=!1,i){window.addEventListener(e,t,n(r,i))}function s(e,t,r=!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()=>s,jT:()=>n,sp:()=>i})},5607(e,t,r){"use strict";const n=(0,r(9566).bz)();r.d(t,["W",0,n])},9566(e,t,r){"use strict";r.d(t,{LA:()=>a,ZF:()=>o,bz:()=>s,el:()=>c});var n=r(6154);function i(e,t){return e?15&e[t]:16*Math.random()|0}function s(){const e=n.gm?.crypto||n.gm?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(30))),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".split("").map(e=>"x"===e?i(t,r++).toString(16):"y"===e?(3&i()|8).toString(16):e).join("")}function a(e){const t=n.gm?.crypto||n.gm?.msCrypto;let r,s=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(e)));const a=[];for(var o=0;o<e;o++)a.push(i(r,s++).toString(16));return a.join("")}function o(){return a(16)}function c(){return a(32)}},2614(e,t,r){"use strict";r.d(t,["BB",0,18e5,"Wt",0,"NRBA_SESSION::","g",0,{OFF:0,FULL:1,ERROR:2},"iL",0,{SAME_TAB:"same-tab",CROSS_TAB:"cross-tab"},"tS",0,{STARTED:"session-started",PAUSE:"session-pause",RESET:"session-reset",RESUME:"session-resume",UPDATE:"session-update"},"wk",0,144e5])},733(e,t,r){"use strict";function n(e,t){return function(e){let t=2166136261;for(let r=0;r<e.length;r++)t^=e.charCodeAt(r),t=Math.imul(t,16777619);return(t>>>0).toString(16).padStart(8,"0")}("".concat(String(e),":").concat(String(t)))}r.d(t,{Y:()=>n})},1863(e,t,r){"use strict";function n(){return Math.floor(performance.now())}r.d(t,{t:()=>n})},9119(e,t,r){"use strict";r.d(t,{L:()=>s});var n=/([^?#]*)[^#]*(#[^?]*|$).*/,i=/([^?#]*)().*/;function s(e,t){return e?e.replace(t?n:i,"$1$2"):e}},7485(e,t,r){"use strict";r.d(t,{D:()=>i});var n=r(6154);function i(e){if(0===(e||"").indexOf("data:"))return{protocol:"data"};try{const t=new URL(e,location.href),r={port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(":")),sameOrigin:t.protocol===n.gm?.location?.protocol&&t.host===n.gm?.location?.host};return r.port&&""!==r.port||("http:"===t.protocol&&(r.port="80"),"https:"===t.protocol&&(r.port="443")),r.pathname&&""!==r.pathname?r.pathname.startsWith("/")||(r.pathname="/".concat(r.pathname)):r.pathname="/",r}catch(e){return{}}}},7866(e,t,r){"use strict";r.d(t,["Nc",0,/^\s*at Function code \(Function code:\d+:\d+\)\s*/i,"cn",0,/^\s*(?:([^@]*)(?:\(.*?\))?@)?((?:file|http|https|chrome|safari-extension).*?):(\d+)(?::(\d+))?\s*$/i,"fL",0,/^\s*at .+ \(eval at \S+ \((?:(?:file|http|https):[^)]+)?\)(?:, [^:]*:\d+:\d+)?\)$/i,"h3",0,/function (.+?)\s*\(/,"hB",0,/^\s*at (?:((?:\[object object\])?(?:[^(]*\([^)]*\))*[^()]*(?: \[as \S+\])?) )?\(?((?:file|http|https|chrome-extension):.*?)?:(\d+)(?::(\d+))?\)?\s*$/i])},944(e,t,r){"use strict";r.d(t,{R:()=>i});var n=r(3241);function i(e,t){"function"==typeof console.debug&&(console.debug("New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#".concat(e),t),(0,n.W)({drained:null,type:"data",name:"warn",feature:"warn",data:{code:e,secondary:t}}))}},8990(e,t,r){"use strict";r.d(t,{I:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},6389(e,t,r){"use strict";function n(e,t=500,r={}){const n=r?.leading||!1;let i;return(...r)=>{n&&void 0===i&&(e.apply(this,r),i=setTimeout(()=>{i=clearTimeout(i)},t)),n||(clearTimeout(i),i=setTimeout(()=>{e.apply(this,r)},t))}}function i(e){let t=!1;return(...r)=>{t||(t=!0,e.apply(this,r))}}r.d(t,{J:()=>i,s:()=>n})},1910(e,t,r){"use strict";r.d(t,{i:()=>s});var n=r(944);const i=new Map;function s(...e){return e.every(e=>{if(i.has(e))return i.get(e);const t="function"==typeof e?e.toString():"",r=t.includes("[native code]"),s=t.includes("nrWrapper");return r||s||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},3304(e,t,r){"use strict";r.d(t,{A:()=>i});var n=r(7836);function i(e){try{return JSON.stringify(e,(()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}})())??""}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}return""}}},9232(e,t,r){"use strict";r.d(t,["f",0,{MFE:"MFE",BA:"BA"}])},7560(e,t,r){"use strict";r.d(t,{N:()=>a,j:()=>c});var n=r(9119),i=r(944);const s=(0,r(6389).J)(e=>(0,i.R)(80,e));function a(e){if(!Array.isArray(e?.assets)||!e.assets.length)return;
418const t=e.assets.map(o).filter(Boolean);return t.length?{assets:t,scripts:t.filter(e=>e.isScript)}:void 0}function o(e){if(!e||"object"!=typeof e)return;const{matcher:t,type:r}=e;let i="string"==typeof t&&t.endsWith(".js");return void 0!==r&&(!function(e){return"script"===e||"asset"===e}(r)?s(r):i=function(e){return"script"===e}(r)),a=t,"[object RegExp]"===Object.prototype.toString.call(a)?{pattern:t,test:e=>(t.lastIndex=0,t.test((0,n.L)(e))),isScript:i}:"string"==typeof t&&t.length>0?{pattern:t,test:e=>(0,n.L)(e).includes(t),isScript:i}:void s(t);var a}function c(e,t,{scriptsOnly:r=!1}={}){if(!e||!t)return!1;return(r?e.scripts:e.assets).some(e=>e.test(t))}},5718(e,t,r){"use strict";r.d(t,{xo:()=>T,AZ:()=>v,cI:()=>g,Qr:()=>A,QL:()=>y});var n=r(6154),i=r(1863),s=r(9119),a=r(7866);class o{dom=new c;performance=new c;constructor(e){this.url=e,this.claimedBy=new Set}get script(){const e=Math.max(this.dom.start,this.performance.end);return{start:e,end:Math.max(this.dom.end,this.performance.end,e)}}}class c{start=0;end=0;value=void 0}function d(e=()=>{},t){return{get:()=>void 0!==t?t:e(),set:e=>{t=e}}}let u;try{u=v(y())[0]}catch(e){u=v(e)[0]}const l=new Map;let f=[];const h=new WeakMap;function p(e){let t=h.get(e);return t||(t={weighedAssetUrls:new Set,recordManifestScriptWindow:(t,r)=>{t&&(e.scriptStart=e.scriptStart>0?Math.min(e.scriptStart,t):t),r&&(e.scriptEnd=e.scriptEnd>0?Math.max(e.scriptEnd,r):r)}},h.set(e,t)),t}function g(e){return l.get(e)}function m(e){const t=g(e);
418if(t)return t;const r=new o(e);if(l.set(e,r),l.size>1e3){const e=l.keys().next().value;l.delete(e)}return r}if(n.gm.MutationObserver&&n.gm.document){new MutationObserver(e=>{e.forEach(e=>{e.addedNodes.forEach(e=>{if("SCRIPT"===e.nodeName&&e.src){const t=m((0,s.L)(e.src));t.dom.start=(0,i.t)(),t.dom.value=e;const r=()=>{t.dom.end=(0,i.t)()};["load","error"].forEach(t=>e.addEventListener(t,r,{once:!0}))}})})}).observe(n.gm.document,{childList:!0,subtree:!0})}if(n.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{if((e=>"script"===e.initiatorType||["link","fetch"].includes(e.initiatorType)&&(0,s.L)(e.name).endsWith(".js"))(e)){const t=m((0,s.L)(e.name));t.performance.start=Math.floor(e.startTime),t.performance.end=Math.floor(e.responseEnd),t.performance.value=e}if(!f.length)return;const t=[];f.forEach(({test:r,addedAt:n},s)=>{(r(e)||(0,i.t)()-n>1e4)&&t.push(s)}),f=f.filter((e,r)=>!t.includes(r))})}).observe({type:"resource",buffered:!0})}function v(e){if(!e||"string"!=typeof e)return[];const t=new Set,r=e.split("\n");for(const e of r){const r=e.match(a.cn)||e.match(a.hB)||e.match(a.fL);if(r&&r[2])t.add((0,s.L)(r[2]));else{const r=e.match(/\(([^)]+\.js):\d+:\d+\)/)||e.match(/^\s+at\s+([^\s(]+\.js):\d+:\d+/);r&&r[1]&&t.add((0,s.L)(r[1]))}}return[...t]}function y(){let e;try{const t=Error.stackTraceLimit;Error.stackTraceLimit=50,e=(new Error).stack,Error.stackTraceLimit=t}catch(t){e=(new Error).stack}return e}function b(e,t){return(0,s.L)(e.name)===t}function E(e,t){e.fetchStart=Math.floor(t.startTime),e.fetchEnd=Math.floor(t.responseEnd),e.asset=t.name,e.type=t.initiatorType,w(e,t)}function w(e,t){const r=(0,s.L)(t.name),{weighedAssetUrls:n}=p(e);n.has(r)||(n.add(r),e.totalWeight=(e.totalWeight||0)+(t.transferSize||0),"blocking"===t.renderBlockingStatus?e.renderBlocking=!0:"non-blocking"===t.renderBlockingStatus&&!0!==e.renderBlocking&&(e.renderBlocking=!1))}function R(e,t,r,n,i){if(w(e,t),"scripts"!==i&&"all"!==i)return;if("all"===i||r.isScript){const r=Math.floor(t.startTime),n=Math.floor(t.responseEnd);e.fetchStart=e.fetchStart>0?Math.min(e.fetchStart,r):r,e.fetchEnd=e.fetchEnd>0?Math.max(e.fetchEnd,n):n}if(r.isScript){const r=g((0,s.L)(t.name));if(r){const t=()=>{const{start:t,end:n}=r.script;p(e).recordManifestScriptWindow(t,n)};t(),!r.dom.end&&r.dom.value&&["load","error"].forEach(e=>r.dom.value.addEventListener(e,t,{once:!0}))}n.resolved||(e.asset=t.name,e.type=t.initiatorType,n.resolved=!0)}}function T(e,t){const r=t?.manifest;if(!r||!r.assets.length)return;const s={resolved:!1},a=new Set(r.assets);(n.gm.performance?.getEntriesByType("resource")||[]).forEach(r=>{const n=[...a].find(e=>e.test(r.name));n&&(R(e,r,n,s,t.timingMethod),a.delete(n))}),a.size&&function(e,t,r,s){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:n=>{const i=[...t].find(e=>e.test(n.name));return i&&(R(e,n,i,r,s),t.delete(i)),0===t.size}})}(e,a,s,t.timingMethod)}function A(e){const t=e?.id,r={registeredAt:(0,i.t)(),reportedAt:void 0,fetchStart:0,fetchEnd:0,scriptStart:0,scriptEnd:0,asset:void 0,type:"unknown",totalWeight:0,renderBlocking:void 0},a=y();if(!a)return r;const o=n.gm.performance?.getEntriesByType("navigation")?.[0]?.name||"";try{const e=v(a),c=(e.length>1?e.filter(e=>u!==e):e)[0];if(!c)return r;if(o.includes(c))return r.asset=(0,s.L)(o),r.type="inline",r;r.correlation=g(c);const l=r.correlation?.performance.value||n.gm.performance?.getEntriesByType("resource")?.find(e=>b(e,c));if(l)E(r,l);else{(function(e){if(!e||!n.gm.document)return!1;try{const t=n.gm.document.querySelectorAll('link[rel="preload"][as="script"]');for(const r of t)if((0,s.L)(r.href)===e)return!0}catch(e){}return!1})(c)&&(r.asset=c,r.type="preload"),function(e,t){n.gm.PerformanceObserver?.supportedEntryTypes?.includes("resource")&&f.push({addedAt:(0,i.t)(),test:r=>!!b(r,t)&&(E(e,r),!0)})}(r,c)}const h=r.correlation,m=!!t&&!!h?.claimedBy.has(t);h&&t&&h.claimedBy.add(t);const y=()=>{const e=h?.script.start;if(!m||!e)return!1;return r.registeredAt-e>1e4};let w=0,R=0;p(r).recordManifestScriptWindow=(e,t)=>{e&&(w=w>0?Math.min(w,e):e),t&&(R=R>0?Math.max(R,t):t)},Object.defineProperty(r,"scriptStart",d(()=>{const e=y()?r.registeredAt:h?.script.start??r.fetchEnd;return w>0?Math.min(e,w):e})),Object.defineProperty(r,"scriptEnd",d(()=>{const e=y()?r.registeredAt:h?.script.end??r.registeredAt;return R>0?Math.max(e,R):e}))}catch(e){}return r}},5732(e,t,r){"use strict";r.d(t,{$5:()=>m,B5:()=>g,K6:()=>u,M$:()=>
418o,Ms:()=>d,NG:()=>c,Ux:()=>h,YA:()=>p,yx:()=>l});var n=r(5718),i=r(7560),s=r(9119),a=r(9232);function o(e){return e?.type===a.f.MFE}function c(e,t){if(!y(e,t))return;const r=t.runtime.registeredEntities;return r?.find(t=>t.metadata.target.iframeInterfaceId===e)}function d(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities;return r?.filter(t=>String(t.metadata.target.id)===String(e)).map(e=>e.metadata.target)||[]}function u(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=(0,s.L)(e),a=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!1}):!!t.metadata.timings?.asset&&(0,s.L)(t.metadata.timings.asset)===n});return f(a).map(e=>e.metadata.target)}function l(e,t){if(!y(e,t))return[];const r=t.runtime.registeredEntities,n=r?.filter(t=>{const r=t.metadata.target?.manifest;return r?(0,i.j)(r,e,{scriptsOnly:!0}):!!t.metadata.timings?.asset?.endsWith(e)});return f(n).map(e=>e.metadata.target)}function f(e){if(!e?.length)return e||[];const t=new Map,r=[];for(const n of e){const e=n.metadata?.timings?.asset;if(!e){r.push(n);continue}const i="".concat(e,"::").concat(n.metadata?.target?.id),s=t.get(i);if(s){if(s.metadata.target?.blocked&&!n.metadata.target?.blocked){const e=r.indexOf(s);-1!==e&&(r[e]=n),t.set(i,n)}}else t.set(i,n),r.push(n)}return r}function h(e,t){return v(t)?o(e)?e.attributes:t.agentRef.runtime.v2Target.attributes:{}}function p(e,t){return g(e,t)?{"child.id":e.id,"child.type":e.type,...h(void 0,t)}:{}}function g(e,t){return o(e)&&!!v(t)&&t.agentRef.init.api.register.duplicate_data_to_container}function m(e){if(!e?.runtime)return[];if(!y(!0,e)||!e.runtime.registeredEntities?.length)return[e.runtime.v2Target];const t=[];try{var r=(0,n.AZ)((0,n.QL)());let i=r.length-1;for(;r[i];)t.push(...l(r[i--],e))}catch(e){}const i=function(e){const t=new Set,r=[];for(const n of e){const e=n?.instance;t.has(e)||(t.add(e),r.push(n))}return r}(t);return i.length||i.push(e.runtime.v2Target),i}function v(e){return 2===e?.harvestEndpointVersion}function y(e,t){return!!e&&!!t?.init.api.register.enabled}},5289(e,t,r){"use strict";r.d(t,{GG:()=>a,Qr:()=>c,sB:()=>o});var n=r(3878),i=r(6389);function s(){return"undefined"==typeof document||"complete"===document.readyState}function a(e,t){if(s())return e();const r=(0,i.J)(e),a=setInterval(()=>{s()&&(clearInterval(a),r())},500);(0,n.sp)("load",r,t)}function o(e){if(s())return e();(0,n.DD)("DOMContentLoaded",e)}function c(e){if(s())return e();(0,n.sp)("popstate",e)}},384(e,t,r){"use strict";r.d(t,{Zm:()=>c,bQ:()=>u,dV:()=>d,pV:()=>l});var n=r(6154),i=r(1863),s=r(944),a=r(1910);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function c(){return n.gm.NREUM||(n.gm.NREUM={}),void 0===n.gm.newrelic&&(n.gm.newrelic=n.gm.NREUM),n.gm.NREUM}function d(){let e=c();return e.o||(e.o={ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,a.i)(...Object.values(e.o))),e}function u(e,t){let r=c();r.initializedAgents??={},t.initializedAt={ms:(0,i.t)(),date:new Date},r.initializedAgents[e]=t,2===Object.keys(r.initializedAgents).length&&(0,s.R)(69)}function l(){return function(){let e=c();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=c();const t=e.init||{};e.init={...t}}(),d(),function(){let e=c();const t=e.loader_config||{};e.loader_config={...t}}(),c()}r.d(t,["NT",0,o])},2843(e,t,r){"use strict";r.d(t,{G:()=>s,u:()=>i});var n=r(3878);function i(e,t=!1,r,i){(0,n.DD)("visibilitychange",function(){if(t)return void("hidden"===document.visibilityState&&e());e(document.visibilityState)},r,i)}function s(e,t,r){(0,n.sp)("pagehide",e,t,r)}},8139(e,t,r){"use strict";r.d(t,{u:()=>f});var n=r(7836),i=r(3434),s=r(8990),a=r(6154);const o={},c=a.gm.XMLHttpRequest,d="addEventListener",u="removeEventListener",l="nr@wrapped:".concat(n.P);function f(e,t){var r=function(e){return(e||n.ee).get("events")}(e);if(o[r.debugId]++)return r;o[r.debugId]=1;var f=(0,i.YM)(r,!0,t);function p(e){f.inPlace(e,[d,u],"-",g)}function g(e,t){return e[1]}return"getPrototypeOf"in Object&&(a.RI&&h(document,p),c&&h(c.prototype,p),h(a.gm,p)),r.on(d+"-start",function(e,t){var r=e[1];if(null!==r&&("function"==typeof r||"object"==typeof r)&&"newrelic"!==e[0]){var n=(0,s.I)(r,l,function(){var e={object:function(){if("function"!=typeof r.handleEvent)return;return r.handleEvent.apply(r,arguments)},function:r}[typeof r];return e?f(e,"fn-",null,e.name||"anonymous"):r});this.wrapped=e[1]=n}}),r.on(u+"-start",function(e){e[1]=this.wrapped||e[1]}),r}function h(e,t,...r){let n=e;for(;"object"==typeof n&&!Object.prototype.hasOwnProperty.call(n,d);)n=Object.getPrototypeOf(n);n&&t(n,...r)}},3434(e,t,r){"use strict";r.d(t,{YM:()=>d});var n=r(7836),i=r(5607),s=r(5732);const a="nr@original:".concat(i.W);var o=Object.prototype.hasOwnProperty,c=!1;function d(e,t,r){return e||(e=n.ee),i.inPlace=function(e,t,r,n,s,a){r||(r="");const o="-"===r.charAt(0);for(let c=0;c<t.length;c++){const d=t[c],u=e[d];l(u)||(e[d]=i(u,o?d+r:r,n,d,s,a))}},i.flag=a,i;function i(t,n,i,c,f,h){return l(t)?t:(n||(n=""),nrWrapper[a]=t,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(r){Object.defineProperty(t,r,{get:function(){return e[r]},set:function(t){return e[r]=t,t}})}),t}catch(e){u([e],r)}for(var n in e)o.call(e,n)&&(t[n]=e[n])}
418(t,nrWrapper,e),nrWrapper);function nrWrapper(){var a,o,l,p;let g,m;try{o=this,a=[...arguments],m=h?(0,s.$5)(r):[r?.runtime?.v2Target],l="function"==typeof i?i(a,o):i||{}}catch(t){u([t,"",[a,o,c],l],e)}d(n+"start",[a,o,c,m],l,f);const v=performance.now();let y;try{return p=t.apply(o,a),y=performance.now(),p}catch(e){throw y=performance.now(),d(n+"err",[a,o,e,m],l,f),g=e,g}finally{const e=y-v,t={start:v,end:y,duration:e,isLongTask:e>=50,methodName:c,thrownError:g};t.isLongTask&&d("long-task",[t,o,m],l,f),d(n+"end",[a,o,p,m],l,f)}}}function d(r,n,i,s){if(!c||t){var a=c;c=!0;try{e.emit(r,n,i,t,s)}catch(t){u([t,r,n,i],e)}c=a}}}function u(e,t){t||(t=n.ee);try{t.emit("internal-error",e)}catch(e){}}function l(e){return!(e&&"function"==typeof e&&e.apply&&!e[a])}r.d(t,["Jt",0,a])},9300(e,t,r){"use strict";const n=r(860).K7.ajax;r.d(t,["TZ",0,n,"f5",0,"ajaxRequest.id","mo",0,{NONE:"none",FAILURES:"failures",ALL:"all"}])},3333(e,t,r){"use strict";var n=r(981);const i=r(860).K7.genericEvents,s=[n.R.PA,n.R.UA,n.R.BP];r.d(t,["$v",0,{RESOURCES:"experimental.resources",REGISTER:"register"},"TZ",0,i,"Zp",0,["auxclick","click","copy","keydown","paste","scrollend"],"kd",0,s,"qN",0,["focus","blur"]])},6774(e,t,r){"use strict";const n=r(860).K7.jserrors;r.d(t,["T",0,n])},993(e,t,r){"use strict";const n=r(860).K7.logging;r.d(t,["A$",0,{OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},"TZ",0,n,"p_",0,{ERROR:"ERROR",WARN:"WARN",INFO:"INFO",DEBUG:"DEBUG",TRACE:"TRACE"}])},3785(e,t,r){"use strict";r.d(t,{R:()=>c,b:()=>d});var n=r(9908),i=r(1863),s=r(860),a=r(3969),o=r(993);function c(e,t,r={},c=o.p_.INFO,d=!0,u,l=(0,i.t)()){(0,n.p)(a.xV,["API/logging/".concat(c.toLowerCase(),"/called")],void 0,s.K7.metrics,e),(0,n.p)("log",[l,t,r,c,d,u],void 0,s.K7.logging,e)}function d(e){return"string"==typeof e&&Object.values(o.p_).some(t=>t===e.toUpperCase().trim())}},3969(e,t,r){"use strict";const n=r(860).K7.metrics;r.d(t,["TZ",0,n,"XG",0,"storeEventMetrics","xV",0,"storeSupportabilityMetrics"])},6630(e,t,r){"use strict";const n=r(860).K7.pageViewEvent;r.d(t,["T",0,n])},782(e,t,r){"use strict";const n=r(860).K7.pageViewTiming;r.d(t,["T",0,n])},6344(e,t,r){"use strict";var n=r(2614);const i=r(860).K7.sessionReplay,s={[n.g.ERROR]:15e3,[n.g.FULL]:3e5,[n.g.OFF]:0}
418;r.d(t,["Qb",0,{API:"api",RESUME:"resume",SWITCH_TO_FULL:"switchToFull",INITIALIZE:"initialize",PRELOAD:"preload"},"TZ",0,i,"Vh",0,"errorDuringReplay","_s",0,{DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},"bc",0,{RESET:{message:"Session was reset",sm:"Reset"},IMPORT:{message:"Recorder failed to import",sm:"Import"},TOO_MANY:{message:"429: Too Many Requests",sm:"Too-Many"},TOO_BIG:{message:"Payload was too large",sm:"Too-Big"},CROSS_TAB:{message:"Session Entity was set to OFF on another tab",sm:"Cross-Tab"},ENTITLEMENTS:{message:"Session Replay is not allowed and will not be started",sm:"Entitlement"}},"yP",0,s])},5270(e,t,r){"use strict";r.d(t,{Aw:()=>a,SR:()=>s,rF:()=>o});var n=r(384),i=r(7767);function s(e){return!!(0,n.dV)().o.MO&&(0,i.V)(e)&&!0===e?.session_trace.enabled}function a(e){return!0===e?.session_replay.preload&&s(e)}function o(e,t){try{if("string"==typeof t?.type&&"password"===t.type.toLowerCase())return"*".repeat(e?.length||0);if(void 0!==t?.dataset?.nrUnmask||t?.classList?.contains("nr-unmask"))return e}catch(e){}return"string"==typeof e?e.replace(/[\S]/g,"*"):"*".repeat(e?.length||0)}},3738(e,t,r){"use strict";const n=r(860).K7.sessionTrace,i="-start",s="-end",a="fn"+i,o="fn"+s;r.d(t,["He",0,"bstResource","Kp",0,s,"Lc",0,o,"Rz",0,"pushState","TZ",0,n,"bD",0,"resource","bc",0,{CROSS_TAB:{message:"Session Entity was set to OFF on another tab"},ENTITLEMENTS:{message:"Session Trace is not allowed and will not be started"},RESET:{message:"Session was reset"},SESSION_CHANGED:{message:"Session identifier changed unexpectedly"}},"d3",0,i,"uP",0,a])},3962(e,t,r){"use strict";const n=r(860).K7.softNav;r.d(t,["O2",0,{INITIAL_PAGE_LOAD:"",ROUTE_CHANGE:1,UNSPECIFIED:2},"OV",0,"popstate","Qu",0,{INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},"TZ",0,n,"ih",0,{IP:"in progress",PF:"pending finish",FIN:"finished",CAN:"cancelled"},"pP",0,"initialPageLoad","tC",0,["click","keydown","submit"]])},4234(e,t,r){"use strict";r.d(t,{W:()=>i});var n=r(1687);class i{constructor(e,t){this.agentRef=e,this.ee=e?.ee,this.featureName=t,this.blocked=!1}deregisterDrain(){(0,n.x3)(this.agentRef,this.featureName)}}},7767(e,t,r){"use strict";var n=r(6154);r.d(t,["V",0,e=>n.RI&&!0===e?.privacy.cookies_enabled])},8362(e,t,r){"use strict";r.d(t,{d:()=>s});var n=r(9566),i=r(1741);class s extends i.W{agentIdentifier=(0,n.LA)(16)}},1741(e,t,r){"use strict";r.d(t,{W:()=>s});var n=r(944),i=r(4261);class s{#e(e,...t){if(this[e]!==s.prototype[e])return this[e](...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#e(i.hG,e,t)}register(e){return this.#e(i.eY,e)}recordCustomEvent(e,t){return this.#e(i.fF,e,t)}setPageViewName(e,t){return this.#e(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#e(i.cD,e,t,r)}noticeError(e,t){return this.#e(i.o5,e,t)}setUserId(e,t=!1){return this.#e(i.Dl,e,t)}setApplicationVersion(e){return this.#e(i.nb,e)}setErrorHandler(e){return this.#e(i.bt,e)}addRelease(e,t){return this.#e(i.k6,e,t)}log(e,t){return this.#e("log",e,t)}start(){return this.#e("start")}finished(e){return this.#e(i.BL,e)}recordReplay(){return this.#e(i.CH)}pauseReplay(){return this.#e(i.Tb)}addToTrace(e){return this.#e(i.U2,e)}setCurrentRouteName(e){return this.#e(i.PA,e)}interaction(e){return this.#e(i.dT,e)}wrapLogger(e,t,r){return this.#e(i.Wb,e,t,r)}measure(e,t){return this.#e(i.V1,e,t)}consent(e){return this.#e(i.Pv,e)}}},4261(e,t,r){"use strict";r.d(t,["BL",0,"finished","CH",0,"recordReplay","Dl",0,"setUserId","Fw",0,"setPageViewName","PA",0,"setCurrentRouteName","Pv",0,"consent","Tb",0,"pauseReplay","U2",0,"addToTrace","V1",0,"measure","Wb",0,"wrapLogger","bt",0,"setErrorHandler","cD",0,"setCustomAttribute","dT",0,"interaction","eY",0,"register","fF",0,"recordCustomEvent","hG",0,"addPageAction","hw",0,"api-ixn-","k6",0,"addRelease","nb",0,"setApplicationVersion","o5",0,"noticeError"])},1738(e,t,r){"use strict";r.d(t,{U:()=>l,Y:()=>u});var n=r(3241),i=r(9908),s=r(1863),a=r(944),o=r(3969),c=r(8362),d=r(860);function u(e,t,r,s){const u=s||r;!u||u[e]&&u[e]!==c.d.prototype[e]||(u[e]=function(){(0,i.p)(o.xV,["API/"+e+"/called"],void 0,d.K7.metrics,r.ee),(0,n.W)({drained:!!r.runtime?.activatedFeatures,type:"data",name:"api",feature:"api-"+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,a.R)(23,e)}})}function l(e,t,r,n,a){const o=e.info;null===r?delete o.jsAttributes[t]:o.jsAttributes[t]=r,(a||null===r)&&(0,i.p)("api-"+n,[(0,s.t)(),t,r],void 0,"session",e.ee)}},8374(e,t,r){r.nc=(()=>{try{return document?.currentScript?.nonce}catch(e){}return""})()},860(e,t,r){"use strict";const n="events",i="jserrors",s="browser/blobs",a="browser/logs",o={ajax:"ajax",genericEvents:"generic_events",jserrors:i,logging:"logging",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",softNav:"soft_navigations"},c={[o.pageViewEvent]:1,[o.pageViewTiming]:2,[o.metrics]:3,[o.jserrors]:4,[o.softNav]:5,[o.ajax]:6,[o.sessionTrace]:7,[o.sessionReplay]:8,[o.logging]:9,[o.genericEvents]:10},d={[o.pageViewEvent]:"rum",[o.pageViewTiming]:n,[o.ajax]:n,[o.softNav]:n,[o.metrics]:i,[o.jserrors]:i,[o.sessionTrace]:s,[o.sessionReplay]:s,[o.logging]:a,[o.genericEvents]:"ins"};r.d(t,["$J",0,d,"K7",0,o,"P3",0,c,"XX",0,i,"Yy",0,a,"df",0,s,"hg",0,"connect"])}};const t={};function r(n){const i=t[n];if(void 0!==i)return i.exports;const s=t[n]={exports:{}};return e[n](s,s.exports,r),s.exports}r.m=e,r.d=(e,t)=>{if(Array.isArray(t))for(var n=0;n<t.length;){var i=t[n++],s=t[n++];r.o(e,i)?0===s&&n++:0===s?Object.defineProperty(e,i,{enumerable:!0,value:t[n++]}):Object.defineProperty(e,i,{enumerable:!0,get:s})}else for(var i in t)r.o(t,i)&&!r.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},r.f={},r.e=e=>Promise.all(Object.keys(r.f).reduce((t,n)=>(r.f[n](e,t),t),[])),r.u=e=>({212:"nr-spa-compressor",238:"nr-spa-iframe-message-handler",249:"nr-spa-recorder",478:"nr-spa"}[e]+"-1.322.0.min.js"),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{const e={},t="NRBA-1.322.0.PROD:";r.l=(n,i,s,a)=>
418{if(e[n])return void e[n].push(i);let o,c;if(void 0!==s){const e=document.getElementsByTagName("script");for(var d=0;d<e.length;d++){const r=e[d];if(r.getAttribute("src")==n||r.getAttribute("data-webpack")==t+s){o=r;break}}}if(!o){c=!0;var u={478:"sha512-SARROoir04gFygxlr/+mTI+PyMeFL+epi1vnUA2G5mTQ7s3G44ItQBJKbOaIMdIE5OBzuaKhb4k5JYta0NICxg==",249:"sha512-6DKQo5WP7YlpzX6l9UfYkgGLGK2oITdoaYTcZtgl5Foa22NY63lED/0z1hBBLeD7qZCz/YdlY19/r8drlol1tg==",212:"sha512-CYxuvSpDx6ErqWJwAvpoHn54eY37YdMcFao/axOumlw3BsSL7yioOeB2LWViY/Njs818sQG10dSglUhYCMfLPw==",238:"sha512-mvbMILWa3ohYst+u6TLfNrmtY2swUIB3rbJFN/uzt3W62KhgvUVwB81UEZ1R0/it5bfrQ5EVz864pi/CAmucNQ=="};o=document.createElement("script"),o.charset="utf-8",r.nc&&o.setAttribute("nonce",r.nc),o.setAttribute("data-webpack",t+s),o.src=n,0!==o.src.indexOf(window.location.origin+"/")&&(o.crossOrigin="anonymous"),u[a]&&(o.integrity=u[a])}e[n]=[i];const l=(t,r)=>{o.onerror=o.onload=null,clearTimeout(f);const i=e[n];if(delete e[n],o.parentNode?.removeChild(o),i?.forEach(e=>e(r)),t)return t(r)},f=setTimeout(l.bind(null,void 0,{type:"timeout",target:o}),12e4);o.onerror=l.bind(null,o.onerror),o.onload=l.bind(null,o.onload),c&&document.head.appendChild(o)}})(),r.r=e=>{Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.p="https://js-agent.newrelic.com/",(()=>{const e={38:0,788:0};r.f.j=(t,n)=>{let i=r.o(e,t)?e[t]:void 0;if(0!==i)if(i)n.push(i[2]);else{const s=new Promise((r,n)=>i=e[t]=[r,n]);n.push(i[2]=s);const a=r.p+r.u(t),o=new Error,c=n=>{if(r.o(e,t)&&(i=e[t],0!==i&&(e[t]=void 0),i)){const e=n&&("load"===n.type?"missing":n.type),r=n&&n.target&&n.target.src;o.message="Loading chunk "+t+" failed: ("+e+": "+r+")",o.name="ChunkLoadError",o.type=e,o.request=r,i[1](o)}};r.l(a,c,"chunk-"+t,t)}};const t=(t,n)=>{let[i,s,a]=n;var o,c,d=0;if(i.some(t=>0!==e[t])){for(o in s)r.o(s,o)&&(r.m[o]=s[o]);if(a)a(r)}for(t&&t(n);d<i.length;d++)c=i[d],r.o(e,c)&&e[c]&&e[c][0](),e[c]=0},n=self["webpackChunk:NRBA-1.322.0.PROD"]=self["webpackChunk:NRBA-1.322.0.PROD"]||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),(()=>{"use strict";r(8374);var e=r(8362),t=r(860);const n=Object.values(t.K7);var i=r(384),s=r(1741);var a=r(2555),o=r(3333),c=r(9300);const d=e=>{if(!e||"string"!=typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var u=r(2614),l=r(944),f=r(8122);const h="[data-nr-mask]",p=e=>(0,f.a)(e,(()=>{const e={feature_flags:[],experimental:{register:!1,resources:!1,iframe_bridge:!1,iframe_domains:[]},mask_selector:"*",block_selector:"[data-nr-block]",mask_input_options:{color:!1,date:!1,"datetime-local":!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0,capture_payloads:c.mo.NONE},api:{register:{get enabled(){return e.feature_flags.includes(o.$v.REGISTER)||e.experimental.register},set enabled(t){e.experimental.register=t},duplicate_data_to_container:!1,get allow_iframe_bridge(){return e.feature_flags.includes(o.$v.IFRAME_BRIDGE)||e.experimental.iframe_bridge},set allow_iframe_bridge(t){e.experimental.iframe_bridge=t},get iframe_domains(){return e.experimental.iframe_domains},set iframe_domains(t){Array.isArray(t)?e.experimental.iframe_domains=t:(0,l.R)(1,t)}}},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flags=t},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(o.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resources=t},asset_types:[],first_party_domains:[],ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:u.wk,inactiveMs:u.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inl
418ine_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){d(t)?e.mask_selector="".concat(t,",").concat(h):""===t||null===t?e.mask_selector=h:(0,l.R)(5,t)},get block_class(){return"nr-block"},get ignore_class(){return"nr-ignore"},get mask_text_class(){return"nr-mask"},get block_selector(){return e.block_selector},set block_selector(t){d(t)?e.block_selector+=",".concat(t):""!==t&&(0,l.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&"object"==typeof t?e.mask_input_options={...t,password:!0}:(0,l.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:["id","className","tagName","type"]},web_sockets:{enabled:!1}}})());var g=r(6154),m=r(9324);let v=0;const y={buildEnv:"PROD",distMethod:"CDN",version:m.x,originTime:g.WN},b={consented:!1},E={activatedFeatures:void 0,appMetadata:{},configured:!1,get consented(){return this.session?.state?.consent||b.consented},set consented(e){b.consented=e},customTransaction:void 0,denyList:[],disabled:!1,drainRegistry:new Map,connector:void 0,harvester:void 0,v2Target:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:[],jsAttributesMetadata:{bytes:0},get harvestCount(){return++v},listeningForIframeMessages:!1};var w=r(9232);var R=r(7836),T=r(3241);const A={accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0};var S=r(9908),x=r(9752);function O(e,t={},n,o){let{init:c,info:d,loader_config:u,runtime:l={},exposed:h=!0}=t;if(!d){const e=(0,i.pV)();c=e.init,d=e.info,u=e.loader_config}var m;e.init=p(c||{}),e.loader_config=(m=u||{},(0,f.a)(m,A)),d.jsAttributes??={},g.bv&&(d.jsAttributes.isWorker=!0),e.info=(0,a.D)(d);const v=e.init;e.runtime??=(e=>{const t=(0,f.a)(e,E),r=Object.keys(y).reduce((e,t)=>(e[t]={value:y[t],writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,r)})(l),e.runtime.v2Target??={type:w.f.BA,instance:e.agentIdentifier,get id(){return e.runtime.appMetadata?.agents?.[0]?.entityGuid},get attributes(){return{"entity.guid":this.id,appId:e.info.applicationID}}},v.proxy.assets&&(e=>{const t=e.startsWith("http");e+="/",r.p=t?e:"https://"+e})(v.proxy.assets),e.runtime.configured||(Object.defineProperty(e,"beacons",{get:()=>[e.info.beacon,e.info.errorBeacon,e.init.proxy.assets,e.init.proxy.beacon].filter(Boolean)}),Object.defineProperty(e.runtime,"denyList",{get:()=>[...e.init.ajax.deny_list||[],...e.init.ajax.block_internal?e.beacons:[]]}),e.runtime.ptid=e.agentIdentifier,function(e){const t=(0,i.pV)();Object.getOwnPropertyNames(s.W.prototype).forEach(r=>{const n=s.W.prototype[r];if("function"!=typeof n||"constructor"===n)return;let i=t[r];e[r]&&!1!==e.exposed&&"micro-agent"!==e.runtime?.loaderType&&(t[r]=(...t)=>{const n=e[r](...t);return i?i(...t):n})})}(e),e.runtime.loaderType=n,e.ee=R.ee.get(e.agentIdentifier),e.exposed=h,(0,T.W)({drained:!!e.runtime.activatedFeatures,type:"lifecycle",name:"initialize",feature:void 0,data:e.config}),e.init.api.register.allow_iframe_bridge&&g.gm.addEventListener("message",t=>{"string"==typeof t.data?.type&&t.data.type.startsWith(x.Pl)&&(0,S.p)("iframe-message",[t],void 0,"IFRAME",e.ee)}),e.runtime.configured=!0)}var _=r(1863),k=r(4261),N=r(1738);var L=r(1687),M=r(4234),P=r(5289),I=r(5270),j=r(7767),C=r(6389),D=r(7699);const B=new WeakSet,H=new WeakMap;class W extends M.W{constructor(e,t){super(e,t),this.abortHandler=void 0,this.featAggregate=void 0,this.loadedSuccessfully=void 0,this.onAggregateImported=new Promise(e=>{this.loadedSuccessfully=e}),this.deferred=Promise.resolve(),!1===e.init[this.featureName].autoStart?this.deferred=new Promise((t,r)=>{this.ee.on("manual-start-all",(0,C.J)(()=>{(0,L.Ak)(e,this.featureName),t()}))}):(0,L.Ak)(e,t)}importAggregator(e,t,n={}){if(this.featAggregate)return;const i=async()=>{if(await this.deferred,this.#t(e),!(0,a.f)(e.info))return(0,l.R)(43),e.ee.abort(),void this.loadedSuccessfully(!1);try{await async function(e,t,n){if(H.has(e))return H.get(e);const i=(async()=>
418{if((0,j.V)(e.init))try{const{setupAgentSession:t}=await r.e(478).then(r.bind(r,8766));t(e)}catch(e){(0,l.R)(20,e),t.emit("internal-error",[e]),(0,S.p)(D.qh,[e],void 0,n,t)}if(e.init.api.register.allow_iframe_bridge)try{const{setupIframeMFEMessageListener:t}=await r.e(238).then(r.bind(r,6417));t(e)}catch(e){(0,l.R)(23,e)}const[{Connector:i},{Harvester:s}]=await Promise.all([r.e(478).then(r.bind(r,6589)),r.e(478).then(r.bind(r,5237))]);e.runtime.connector=new i(e),e.runtime.harvester=new s(e);const a=Object.values(e.features).filter(t=>e.runtime.drainRegistry.has(t.featureName));Promise.all(a.map(e=>e.onAggregateImported)).then(()=>e.runtime.harvester.startTimer())})();H.set(e,i),await i}(e,this.ee,this.featureName)}catch(e){return(0,l.R)(79,e),this.ee.abort(),void this.loadedSuccessfully(!1)}try{if(!this.#r(this.featureName,e.runtime.session,e.init))return this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:r}=await t();this.featAggregate=new r(e,n),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,l.R)(34,e),this.abortHandler?.(),(0,L.Ze)(this.agentRef,this.featureName,!0),this.loadedSuccessfully(!1)}};g.RI?(0,P.GG)(()=>i(),!0):i()}#r(e,r,n){if(this.blocked)return!1;switch(e){case t.K7.sessionReplay:return(0,I.SR)(n)&&!!r;case t.K7.sessionTrace:return!!r;default:return!0}}#t(e){if(!B.has(e)&&(B.add(e),!(0,a.f)(e.info))){const t=(0,i.pV)();let r={...t.info?.jsAttributes};try{r={...r,...e.info?.jsAttributes}}catch(e){}O(e,{...t,info:{...t.info,jsAttributes:r},runtime:e.runtime},e.runtime.loaderType)}}}var U=r(6630);class K extends W{static featureName=U.T;constructor(e){var t;super(e,U.T),this.setupInspectionEvents(),t=e,(0,N.Y)(k.Fw,function(e,r){"string"==typeof e&&("/"!==e.charAt(0)&&(e="/"+e),t.runtime.customTransaction=(r||"http://custom.transaction")+e,(0,S.p)("api-"+k.Fw,[(0,_.t)()],void 0,void 0,t.ee))},t),this.importAggregator(e,()=>e.init.feature_flags.includes("rum_v2")?r.e(478).then(r.bind(r,908)):r.e(478).then(r.bind(r,7927)))}setupInspectionEvents(){const e=(e,t)=>{e&&(0,T.W)({timeStamp:e.timeStamp,loaded:"complete"===e.target.readyState,type:"window",name:t,data:e.target.location+""})};(0,P.sB)(t=>{e(t,"DOMContentLoaded")}),(0,P.GG)(t=>{e(t,"load")}),(0,P.Qr)(t=>{e(t,"navigate")}),this.ee.on(u.tS.UPDATE,(e,t)=>{(0,T.W)({type:"lifecycle",name:"session",data:t})})}}class F extends e.d{constructor(e){var t;(super(),g.gm)?(this.features={},(0,i.bQ)(this.agentIdentifier,this),this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(K),O(this,e,e.loaderType||"agent"),t=this,(0,N.Y)(k.cD,function(e,r,n=!1){if("string"==typeof e){if(["string","number","boolean"].includes(typeof r)||null===r)return(0,N.U)(t,e,r,k.cD,n);(0,l.R)(40,typeof r)}else(0,l.R)(39,typeof e)},t),function(e){(0,N.Y)(k.Dl,function(t,r=!1){if("string"!=typeof t&&null!==t)return void(0,l.R)(41,typeof t);const n=e.info.jsAttributes["enduser.id"];r&&null!=n&&n!==t?(0,S.p)("api-setUserIdAndResetSession",[t],void 0,"session",e.ee):(0,N.U)(e,"enduser.id",t,k.Dl,!0)},e)}(this),function(e){(0,N.Y)(k.nb,function(t){if("string"==typeof t||null===t)return(0,N.U)(e,"application.version",t,k.nb,!1);(0,l.R)(42,typeof t)},e)}(this),function(e){(0,N.Y)("start",function(){e.ee.emit("manual-start-all")},e)}(this),function(e){(0,N.Y)(k.Pv,function(t=!0){if("boolean"==typeof t){if((0,S.p)("api-"+k.Pv,[t],void 0,"session",e.ee),e.runtime.consented=t,t){const t=e.features.page_view_event;t.onAggregateImported.then(e=>{const r=t.featAggregate;e&&!r.sentRum&&r.sendRum?.()})}}else(0,l.R)(65,typeof t)},e)}(this),this.run()):(0,l.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const e=function(e){const t={};return n.forEach(r=>{t[r]=!!e[r]?.enabled}),t}(this.init),r=[...this.desiredFeatures],i=this.init.feature_flags.includes("rum_v2");r.sort((e,r)=>t.P3[e.featureName]-t.P3[r.featureName]),r.forEach(r=>{if(!e[r.featureName]&&(i||r.featureName!==t.K7.pageViewEvent))return;const n=function(e){switch(e){case t.K7.ajax:return[t.K7.jserrors];case t.K7.sessionTrace:return[t.K7.ajax,t.K7.pageViewEvent];case t.K7.sessionReplay:return[t.K7.sessionTrace];case t.K7.pageViewTiming:return[t.K7.pageViewEvent];default:return[]}}(r.featureName).filter(e=>!(e in this.features));n.length>0&&(0,l.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.features[r.featureName]=new r(this)})}catch(e){(0,l.R)(22,e);for(const e in this.features)this.features[e].abortHandler?.();const t=(0,i.Zm)();delete t.initializedAgents[this.agentIdentifier]?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var V=r(2843),z=r(782);class G extends W{static featureName=z.T;constructor(e){super(e,z.T),g.RI&&((0,V.u)(()=>(0,S.p)("docHidden",[(0,_.t)()],void 0,z.T,this.ee),!0),(0,V.G)(()=>(0,S.p)("winPagehide",[(0,_.t)()],void 0,z.T,this.ee)),this.importAggregator(e,()=>r.e(478).then(r.bind(r,9917))))}}var q=r(3969);class Y extends W{static featureName=q.TZ;constructor(e){super(e,q.TZ),this.importAggregator(e,()=>r.e(478).then(r.bind(r,6555)))}}var Z=r(6774),J=r(3878),X=r(3304);class Q{constructor(e,t,r,n,i){this.name="UncaughtError",this.message="string"==typeof e?e:(0,X.A)(e),this.sourceURL=t,this.line=r,this.column=n,this.__newrelic=i}}function ee(e){return ne(e)?e:new Q(void 0!==e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function te(e){const t="Unhandled Promise Rejection: ";if(!e?.reason)return;if(ne(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.message=t+e.reason.message)}catch(e){}return ee(e.reason)}const r=ee(e.reason);return(r.message||"").startsWith(t)||(r.message=t+r.message),r}function re(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const t=new Q(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.name=SyntaxError.name,t}return ne(e.error)?e.error:ee(e)}function ne(e){return e instanceof Error&&!!e.stack}function ie(e,r,n,i,s=(0,_.t)()){"string"==typeof e&&(e=new Error(e)),(0,S.p)("err",[e,s,!1,r,n.runtime.isRecording,void 0,i],void 0,t.K7.jserrors,n.ee),(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,n.ee)}var se=r(993),ae=r(3785);function oe(e,{customAttributes:t={},level:r=se.p_.INFO}={},n,i,s=(0,_.t)()){(0,ae.R)(n.ee,e,t,r,!1,i,s)}function ce(e,r,n,i,s=(0,_.t)()){(0,S.p)("api-"+k.hG,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}function de(e,r,n,i,s=(0,_.t)()){const{start:a,end:o,customAttributes:c}=r||{},d={customAttributes:c||{}};if("object"!=typeof d.customAttributes||"string"!=typeof e||0===e.length)return void(0,l.R)(57);const u=(e,t)=>
418null==e?t:"number"==typeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(d.start=u(a,0),d.end=u(o,s),Number.isNaN(d.start)||Number.isNaN(d.end))(0,l.R)(57);else{if(d.duration=d.end-d.start,!(d.duration<0))return(0,S.p)("api-"+k.V1,[d,e,i],void 0,t.K7.genericEvents,n.ee),d;(0,l.R)(58)}}function ue(e,r={},n,i,s=(0,_.t)()){(0,S.p)("api-"+k.fF,[s,e,r,i],void 0,t.K7.genericEvents,n.ee)}var le=r(5718);const fe=(e,t)=>e?.nrMfeId===t.id&&(!e?.nrMfeObserved||e?.nrMfeObserved===t.instance),he=e=>{try{return g.gm.CSS.escape(e)}catch(t){return e}},pe=(e,t={})=>{const r=t.id,n=t.instance;if(!e||!r||!n)return!1;try{let r=1===e.nodeType?e:e.parentElement;for(;r?.tagName;){if(fe(r.dataset,t))return r.dataset.nrMfeObserved=n,!0;r=r.parentNode}}catch(e){}return!1},ge=(e,t)=>{const r=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]')),n=(Array.from(r)||[]).find(t=>fe(t.dataset,e));let i=!!n;i&&(n.dataset.nrMfeObserved??=e.instance);const s=new g.gm.MutationObserver(r=>{r.forEach(r=>{r.addedNodes.forEach(r=>{const n=1===r.nodeType?r:null;!i&&fe(n?.dataset,e)&&(s.disconnect(),s.observe(n,{childList:!0,subtree:!0}),i=!0,n.dataset.nrMfeObserved=e.instance),(e=>{try{return e?.textContent?.trim()||["img","video","canvas","svg"].includes(e?.nodeName?.toLowerCase())}catch(e){return!1}})(r)&&(i||pe(r,e))&&t(r,s)})})});return s.observe(n||g.gm.document,{childList:!0,subtree:!0}),s},me=(e,t,r)=>{try{const n=new g.gm.PerformanceObserver(e=>{e.getEntries().forEach(r)});return n.observe(t),e.push(n),n}catch(e){return null}};function ve(e,t){let r,n,i=!1;const s=e=>null==e?e:e-(t?.scriptStart||t?.registeredAt||0),a={fcp:{get value(){const e=s(r);return e>1e4?void 0:e},set value(e){i||(r=e)}},lcp:{get value(){if(void 0!==a.fcp.value)return s(n)},set value(e){i||(n=e)}},cls:{value:void 0},inp:{value:void 0},disconnect:()=>{}};if(!(e&&g.RI&&g.gm.MutationObserver&&g.gm.PerformanceObserver))return a;const o=[];setTimeout(()=>{r||a.disconnect()},1e4);const c=()=>{if(!i){if(null==r){const e=(0,_.t)();if(s(e)>1e4)return void a.disconnect();r=e}n??=(0,_.t)(),a.cls.value??=0}},d=ge(e,(e,t)=>{c(),t.disconnect()});o.push(d);let u=0,l=null;const f=new Set;try{l=new g.gm.ResizeObserver(e=>{i||e.forEach(e=>{try{const t=e.contentRect.width*e.contentRect.height;t>u&&(u=t,a.lcp.value=(0,_.t)()),l.unobserve(e.target)}catch(e){}})})}catch(e){}const h=ge(e,e=>{if(c(),l)try{const t=1===e.nodeType?e:e.parentElement;t&&!f.has(t)&&(f.add(t),"IMG"===t.tagName?t.complete?l.observe(t):t.addEventListener("load",()=>{l.observe(t)},{once:!0}):"VIDEO"===t.tagName?t.readyState>=2?l.observe(t):t.addEventListener("loadeddata",()=>{l.observe(t)},{once:!0}):l.observe(t))}catch(e){}});l&&o.push(l),o.push(h),me(o,{type:"layout-shift",buffered:!0},t=>{i||t.hadRecentInput||(t.sources||[]).some(r=>!!pe(r.node,e)&&(c(),a.cls.value+=t.value,!0))}),me(o,{type:"event",buffered:!0,durationThreshold:40},t=>{!i&&t.interactionId&&pe(t.target,e)&&(void 0===a.inp.value||t.duration>a.inp.value)&&(c(),a.inp.value=t.duration)});const p=["pointerdown","keydown"],m=()=>{p.forEach(e=>{g.gm.removeEventListener(e,v,{passive:!0})})};a.disconnect=()=>{i=!0,o.forEach(e=>{try{e?.disconnect()}catch(e){}}),m(),["visibilitychange","pagehide"].forEach(e=>{g.gm.removeEventListener(e,a.disconnect,{once:!0,passive:!0})})};const v=t=>{pe(t?.target,e)&&((()=>{try{h?.disconnect(),l?.disconnect()}catch(e){}})(),m())};p.forEach(e=>{g.gm.addEventListener(e,v,{passive:!0})}),["visibilitychange","pagehide"].forEach(e=>{g.gm.addEventListener(e,a.disconnect,{once:!0,passive:!0})});const y=g.gm.document?.querySelectorAll('[data-nr-mfe-id="'.concat(he(e.id),'"]'));return Array.from(y||[]).some(t=>fe(t.dataset,e))&&c(),a}var ye=r(9566),be=r(7560),Ee=r(9119);const we=["entry","scripts","all"],Re=["name","id","type"],Te=new Map([[ce,"addPageAction"],[oe,"log"],[de,"measure"],[ie,"noticeError"],[ue,"recordCustomEvent"]]),Ae={experimental:(0,C.J)(()=>(0,l.R)(54,"newrelic.register")),disabled:(0,C.J)(()=>(0,l.R)(55)),invalidTarget:(0,C.J)(e=>(0,l.R)(48,e)),deregistered:(0,C.J)(()=>(0,l.R)(68)),invalidTimingMethod:(0,C.J)(e=>(0,l.R)(80,e)),duplicateName:(0,C.J)(e=>(0,l.R)(81,e)),duplicateId:(0,C.J)(e=>(0,l.R)(82,e))};function Se(e){(0,N.Y)(k.eY,function(t){return xe(e,t)},e)}function xe(e,r){Ae.experimental(),r||={},r.instance=(0,ye.LA)(8),r.type=w.f.MFE,r.licenseKey||=e.info.licenseKey,r.blocked=!1,("object"!=typeof r.tags||null===r.tags||Array.isArray(r.tags))&&(r.tags={}),r.parent??={get id(){return e.runtime.appMetadata.agents?.[0].entityGuid},type:w.f.BA},r.manifest=(0,be.N)(r.manifest),void 0===r.timingMethod||we.includes(r.timingMethod)||(Ae.invali
418dTimingMethod(r.timingMethod),r.timingMethod=void 0);const n=(0,le.Qr)(r);r.manifest&&(0,le.xo)(n,r);const i=ve(r,n),s=(0,Ee.L)(""+location),a={};Object.prototype.hasOwnProperty.call(r,"attributes")||Object.defineProperty(r,"attributes",{get:()=>({...a,"source.id":r.id,"source.name":r.name,"source.type":r.type,"parent.type":r.parent?.type||w.f.BA,"parent.id":r.parent?.id})}),Object.entries(r.tags).forEach(([e,t])=>{Re.includes(e)||(a["source.".concat(e)]=t)});let o=()=>{};const c=e.runtime.registeredEntities,d=e=>{r.blocked=!0,o=e};function u(e){return"string"==typeof e&&!!e.trim()&&e.trim().length<501}e.init.api.register.enabled||d(Ae.disabled),u(r.id)&&u(r.name)||d(()=>Ae.invalidTarget(r)),c.forEach(e=>{try{const{name:t,id:n}=e.metadata.target;t===r.name&&n!==r.id&&Ae.duplicateName(r),n===r.id&&t!==r.name&&Ae.duplicateId(r)}catch(e){}});const f={addPageAction:(t,n={})=>m(ce,[t,{...a,...n},e],r),deregister:()=>{p(),d(Ae.deregistered)},log:(t,n={})=>m(oe,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),measure:(t,n={})=>m(de,[t,{...n,customAttributes:{...a,...n.customAttributes||{}}},e],r),noticeError:(t,n={})=>m(ie,[t,{...a,...n},e],r),recordCustomEvent:(t,n={})=>m(ue,[t,{...a,...n},e],r),setApplicationVersion:e=>g("application.version",e),setCustomAttribute:(e,t)=>g(e,t),setUserId:e=>g("enduser.id",e),metadata:{get customAttributes(){return a},target:r,timings:n,vitals:i,events:{latestTimestamp:void 0}}},h=()=>(r.blocked&&o(),r.blocked);function p(){if(n.reportedAt)return;n.reportedAt=(0,_.t)(),i.disconnect(),n.fcp=i.fcp,n.lcp=i.lcp,n.cls=i.cls,n.inp=i.inp;const e=n.fetchEnd-n.fetchStart,t=n.scriptEnd-n.scriptStart,r={assetUrl:n.asset,assetType:n.type,registerUrl:s,deregisterUrl:(0,Ee.L)(""+location),pageUrl:void 0,currentUrl:void 0,timeAlive:n.reportedAt-n.registeredAt,timeToBeRequested:n.fetchStart,timeToExecute:t,timeToFetch:e,timeToLoad:e+t,t
418imeToRegister:n.registeredAt,totalWeight:n.totalWeight,...void 0!==n.renderBlocking&&{renderBlocking:n.renderBlocking},...i.fcp.value>=0&&{"vitals.fcp.value":i.fcp.value},...i.lcp.value>=0&&{"vitals.lcp.value":i.lcp.value},...i.cls.value>=0&&{"vitals.cls.value":i.cls.value},...i.inp.value>=0&&{"vitals.inp.value":i.inp.value}};f.recordCustomEvent("MicroFrontEndTiming",r)}h()||(c.push(f),(0,V.G)(p));const g=(e,t)=>{h()||(a[e]=t)},m=(r,n,i)=>{if(h()&&r!==xe)return;const s=f.metadata.events.latestTimestamp??(0,_.t)();f.metadata.events.latestTimestamp=void 0;const a=Te.get(r)||"unknown";(0,S.p)(q.xV,["API/register/".concat(a,"/called")],void 0,t.K7.metrics,e.ee);try{return r(...n,i,s)}catch(e){(0,l.R)(50,e)}};return f}class Oe extends W{static featureName=Z.T;constructor(e){var t;super(e,Z.T),t=e,(0,N.Y)(k.o5,(e,r)=>ie(e,r,t),t),function(e){(0,N.Y)(k.bt,function(t){e.runtime.onerror=t},e)}(e),function(e){let t=0;(0,N.Y)(k.k6,function(e,r){++t>10||(this.runtime.releaseIds[e.slice(-200)]=(""+r).slice(-200))},e)}(e),Se(e);try{this.removeOnAbort=new AbortController}catch(e){}this.ee.on("internal-error",(t,r)=>{this.abortHandler&&(0,S.p)("ierr",[ee(t),(0,_.t)(),!0,{},e.runtime.isRecording,r],void 0,this.featureName,this.ee)}),g.gm.addEventListener("unhandledrejection",t=>{this.abortHandler&&(0,S.p)("err",[te(t),(0,_.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),g.gm.addEventListener("error",t=>{this.abortHandler&&(0,S.p)("err",[re(t),(0,_.t)(),!1,{},e.runtime.isRecording],void 0,this.featureName,this.ee)},(0,J.jT)(!1,this.removeOnAbort?.signal)),this.abortHandler=this.#n,this.importAggregator(e,()=>r.e(478).then(r.bind(r,9377)))}#n(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}var _e=r(8990);let ke=1;function Ne(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===g.gm?0:(0,_e.I)(e,"nr@id",function(){return ke++})}function Le(e){if("string"==typeof e)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,X.A)(e).length}catch(e){return}}}var Me=r(8139),Pe=r(3434),Ie=r(5732);const je={},Ce=["open","send","setRequestHeader"];function De(e,t){var r=e||R.ee;const n=function(e){return(e||R.ee).get("xhr")}(r);if(void 0===g.gm.XMLHttpRequest)return n;if(je[n.debugId]++)return n;je[n.debugId]=1,(0,Me.u)(r,t);var i=(0,Pe.YM)(n,void 0,t),s=g.gm.XMLHttpRequest,a=g.gm.MutationObserver,o=g.gm.Promise,c=g.gm.setInterval,d="readystatechange",u=["onload","onerror","onabort","onloadstart","onloadend","onprogress","ontimeout"],f=[],h=g.gm.XMLHttpRequest=function(e){const r=new s(e),a=n.context(r);a.targets=(0,Ie.$5)(t);try{n.emit("new-xhr",[r],a),r.addEventListener(d,(o=a,function(){var e=this;e.readyState>3&&!o.resolved&&(o.resolved=!0,n.emit("xhr-resolved",[],e)),i.inPlace(e,u,"fn-",E)}),(0,J.jT)(!1))}catch(e){(0,l.R)(15,e);try{n.emit("internal-error",[e])}catch(e){}}var o;return r};function p(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(s,h),h.prototype=s.prototype,i.inPlace(h.prototype,Ce,"-xhr-",E),n.on("send-xhr-start",function(e,t){p(e,t),function(e){f.push(e),a&&(m?m.then(b):c?c(b):(v=-v,y.data=v))}(t)}),n.on("open-xhr-start",p),a){var m=o&&o.resolve();if(!c&&!o){var v=1,y=document.createTextNode(v);new a(b).observe(y,{characterData:!0})}}else r.on("fn-end",function(e){e[0]&&e[0].type===d||b()});function b(){for(var e=0;e<f.length;e++)p(0,f[e]);f.length&&(f=[])}function E(e,t){return t}return n}var Be="fetch-",He=Be+"body-",We=["arrayBuffer","blob","json","text","formData"],Ue=g.gm.Request,Ke=g.gm.Response,Fe="prototype";const Ve={};function ze(e,t){const r=function(e){return(e||R.ee).get("fetch")}(e);if(!(Ue&&Ke&&g.gm.fetch))return r;if(Ve[r.debugId]++)return r;function n(e,n,i){var s=e[n];"function"==typeof s&&(e[n]=function(){var e=[...arguments];const n={},a=(0,Ie.$5)(t);var o;r.emit(i+"before-start",[e],n),n[R.P]&&n[R.P].dt&&(o=n[R.P].dt);var c=s.apply(this,e);return r.emit(i+"start",[e,o],c),c.then(function(e){return r.emit(i+"end",[null,e,a],c),e},function(e){throw r.emit(i+"end",[e,void 0,a],c),e})})}
418return Ve[r.debugId]=1,We.forEach(e=>{n(Ue[Fe],e,He),n(Ke[Fe],e,He)}),n(g.gm,"fetch",Be),r.on(Be+"end",function(e,n,i){var s=this;if(s.targets=i||[t.runtime.v2Target],n){var a=n.headers.get("content-length");null!==a&&(s.rxSize=a),r.emit(Be+"done",[null,n],s)}else r.emit(Be+"done",[e],s)}),r}var Ge=r(7485);class qe{constructor(e){this.agentRef=e}generateTracePayload(e){const t=this.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r=(t.accountID||"").toString()||null,n=(t.agentID||"").toString()||null,i=(t.trustKey||"").toString()||null;if(!r||!n)return null;var s=(0,ye.ZF)(),a=(0,ye.el)(),o=Date.now(),c={spanId:s,traceId:a,timestamp:o};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(c.traceContextParentHeader=this.generateTraceContextParentHeader(s,a),c.traceContextStateHeader=this.generateTraceContextStateHeader(s,o,r,n,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(c.newrelicHeader=this.generateTraceHeader(s,a,o,r,n,i)),c}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,s){if(!("function"==typeof g.gm?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return s&&n!==s&&(a.d.tk=s),btoa((0,X.A)(a))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t=!1;const r=this.agentRef.init?.distributed_tracing;if(e.sameOrigin)t=!0;else if(r?.allowed_origins instanceof Array)for(var n=0;n<r.allowed_origins.length;n++){var i=(0,Ge.D)(r.allowed_origins[n]);if(e.hostname===i.hostname&&e.protocol===i.protocol&&e.port===i.port){t=!0;break}}return t}excludeNewrelicHeader(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!1!==e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var e=this.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var Ye=r(7295);function Ze(e){return"string"==typeof e?e:e instanceof(0,i.dV)().o.REQ?e.url:g.gm?.URL&&e instanceof URL?e.href:void 0}function $e(e,t){var r=(0,Ge.D)(t),n=e.params||e;n.hostname=r.hostname,n.port=r.port,n.protocol=r.protocol,n.host=r.hostname+":"+r.port,n.pathname=r.pathname,e.parsedOrigin=r,e.sameOrigin=r.sameOrigin}var Je=["load","error","abort","timeout"],Xe=Je.length,Qe=(0,i.dV)().o.REQ,et=(0,i.dV)().o.XHR;const tt="X-NewRelic-App-Data",rt="internal-error";class nt extends W{static featureName=c.TZ;constructor(e){super(e,c.TZ),this.dt=new qe(e),this.handler=(e,t,r,n)=>(0,S.p)(e,t,r,n,this.ee);try{const e={xmlhttprequest:"xhr",fetch:"fetch",beacon:"beacon"};g.gm?.performance?.getEntriesByType("resource").forEach(r=>{if(r.initiatorType in e&&0!==r.responseStatus){const n={status:r.responseStatus},i={rxSize:r.transferSize,duration:Math.floor(r.duration),cbTime:0};$e(n,r.name),this.handler("xhr",[n,i,r.startTime,r.responseEnd,e[r.initiatorType]],void 0,t.K7.ajax)}})}catch(e){}ze(this.ee,e),De(this.ee,e),function(e,r,n,i){const s=[c.mo.ALL,c.mo.FAILURES].includes(e.init.ajax?.capture_payloads);function a(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=A,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},t.latestLongtaskEnd=0,e.addEventListener("load",function(r){O(t,e)},(0,J.jT)(!1)),g.lR||e.addEventListener("progress",function(e){t.lastSize=e.loaded},(0,J.jT)(!1))}function o(e){this.params={method:e[0]},$e(this,e[1]),this.metrics={}}function d(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader("X-NewRelic-ID",e.loader_config.xpid);var n=i.generateTracePayload(this.parsedOrigin);if(n){var s=!1;n.newrelicHeader&&(r.setRequestHeader("newrelic",n.newrelicHeader),s=!0),n.traceContextParentHeader&&(r.setRequestHeader("traceparent",n.traceContextParentHeader),n.traceContextStateHeader&&r.setRequestHeader("tracestate",n.traceContextStateHeader),s=!0),s&&(this.dt=n)}}function u(e,t){s&&e.length>=2&&(this.requestHeaders??={},this.requestHeaders[e[0].toLowerCase()]=e[1])}function l(e,t){var n=this.metrics,i=e[0],s=this;if(n&&i){var a=Le(i);a&&(n.txSize=a)}this.startTime=(0,_.t)(),this.requestBody=i,this.listener=function(e){try{"abort"!==e.type||s.loadCaptureCalled||(s.params.aborted=!0),("load"
418!==e.type||s.called===s.totalCbs&&(s.onloadCalled||"function"!=typeof t.onload)&&"function"==typeof s.end)&&s.end(t)}catch(e){try{r.emit(rt,[e])}catch(e){}}};for(var o=0;o<Xe;o++)t.addEventListener(Je[o],this.listener,(0,J.jT)(!1))}function f(e,t,r){this.cbTime+=e,t?this.onloadCalled=!0:this.called+=1,this.called!==this.totalCbs||!this.onloadCalled&&"function"==typeof r.onload||"function"!=typeof this.end||this.end(r)}function h(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&!this.xhrGuids[r]&&(this.xhrGuids[r]=!0,this.totalCbs+=1)}function p(e,t){var r=""+Ne(e)+!!t;this.xhrGuids&&this.xhrGuids[r]&&(delete this.xhrGuids[r],this.totalCbs-=1)}function m(){this.endTime=(0,_.t)()}function v(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-added",[e[1],e[2]],t)}function y(e,t){t instanceof et&&"load"===e[0]&&r.emit("xhr-load-removed",[e[1],e[2]],t)}function b(e,t,r){t instanceof et&&("onload"===r&&(this.onload=!0),("load"===(e[0]&&e[0].type)||this.onload)&&(this.xhrCbStart=(0,_.t)()))}function E(e,t){this.xhrCbStart&&r.emit("xhr-cb-time",[(0,_.t)()-this.xhrCbStart,this.onload,t],t)}function w(e){var t,r=e[1]||{};if("string"==typeof e[0]?0===(t=e[0]).length&&g.RI&&(t=""+g.gm.location.href):e[0]&&e[0].url?t=e[0].url:g.gm?.URL&&e[0]&&e[0]instanceof URL?t=e[0].href:"function"==typeof e[0].toString&&(t=e[0].toString()),"string"==typeof t&&0!==t.length){t&&(this.parsedOrigin=(0,Ge.D)(t),this.sameOrigin=this.parsedOrigin.sameOrigin);var n=i.generateTracePayload(this.parsedOrigin);if(n&&(n.newrelicHeader||n.traceContextParentHeader))if(e[0]&&e[0].headers)o(e[0].headers,n)&&(this.dt=n);else{var s={};for(var a in r)s[a]=r[a];s.headers=new Headers(r.headers||{}),o(s.headers,n)&&(this.dt=n),e.length>1?e[1]=s:e.push(s)}}function o(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function R(e,t){this.params={},this.metrics={},this.startTime=(0,_.t)(),this.dt=t;let[r,n={}]=e;$e(this,Ze(r));const i=(""+(r&&r instanceof Qe&&r.method||n.method||"GET")).toUpperCase();this.params.method=i,this.txSize=Le(n.body||r?.body)||0;try{var a=n.headers||r?.headers;if(s&&a)if(this.requestHeaders??={},a instanceof Headers)a.forEach(function(e,t){this.requestHeaders[t.toLowerCase()]=e}.bind(this));else if("object"==typeof a)for(var o in a)this.requestHeaders[o.toLowerCase()]=a[o]}catch(e){}this.requestBody=n.body||r?.body}function T(e,t){if(this.endTime=(0,_.t)(),this.params||(this.params={}),(0,Ye.iW)(this.params))return;this.params.status=t?t.status:0;const n=()=>{const e=+this.rxSize,t=null==this.rxSize||isNaN(e)?void 0:e,r={txSize:this.txSize,rxSize:t,duration:this.endTime-this.startTime},n=[this.params,r,this.startTime,this.endTime,"fetch"];this.targets.forEach(e=>x(n,this,e))};t&&s?t.clone().text().then(e=>{this.responseBody=e,this.rxSize&&"0"!==this.rxSize&&0!==this.rxSize||void 0===e||0===this.params.status||(this.rxSize=Le(e)),t?.headers&&(this.responseHeaders={},t.headers.forEach(function(e,t){this.responseHeaders[t.toLowerCase()]=e}.bind(this)))}).catch(e=>{r.emit(rt,[e])}).finally(()=>{n()}):n()}function A(e){const t=this.params,n=this.metrics;if(this.ended)return;this.ended=!0;for(let t=0;t<Xe;t++)e.removeEventListener(Je[t],this.listener,!1);if(t.aborted)return;if((0,Ye.iW)(t))return;if(n.duration=this.endTime-this.startTime,this.loadCaptureCalled||4!==e.readyState?null==t.status&&(t.status=0):O(this,e),n.cbTime=this.cbTime,s){try{this.responseBody=e.responseText}catch(t){this.responseBody=e.response}if((!n.rxSize||0===n.rxSize)&&void 0!==this.responseBody&&0!==t.status){const e=Le(this.responseBody);void 0!==e&&(n.rxSize=e)}try{this.responseHeaders=function(e){const t={};return e?(e.split("\r\n").forEach(function(e){const r=e.indexOf(": ");if(r>0){const n=e.substring(0,r),i=e.substring(r+2);t[n.toLowerCase()]=i}}),t):t}(e.getAllResponseHeaders())}catch(e){r.emit(rt,[e])}}const i=[t,n,this.startTime,this.endTime,"xhr"];this.targets.forEach(e=>x(i,this,e))}function x(e,r,i){n("xhr",[...e,i],r,t.K7.ajax)}function O(e,n){e.params.status=n.status;var i=function(e,t){var r=e.responseType;return"json"===r&&null!==t?t:"arraybuffer"===r||"blob"===r||"json"===r?Le(e.response):"text"===r||""===r||void 0===r?Le(e.responseText):void 0}(n,e.lastSize);if(void 0!==i&&0!==n.status&&(e.metrics.rxSize=i),e.sameOrigin&&n.getAllResponseHeaders().indexOf(tt)>=0){var s=n.getResponseHeader(tt);s&&((0,S.p)("sm",["Ajax/CrossApplicationTracing/Header/Seen"],void 0,t.K7.metrics,r),e.params.cat=s.split(", ").pop())}e.loadCaptureCalled=!0}r.on("new-xhr",a),r.on("open-xhr-start",o),r.on("open-xhr-end",d),r.on("send-xhr-start",l),r.on("setRequestHeader-xhr-start",u),r.on("xhr-cb-time",f),r.on("xhr-load-added",h),r.on("xhr-load-removed",p),r.on("xhr-resolved",m),r.on("addEventListener-end",v),r.on("removeEventListener-end",y),r.on("fn-end",E),r.on("fetch-before-start",w),r.on("fetch-start",R),r.on("fn-start",b),r.on("fetch-done",T)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,()=>r.e(478).then(r.bind(r,3845)))}}const it={},st=["pushState","replaceState"];function at(e,t){const r=function(e){return(e||R.ee).get("history")}(e);return!g.RI||it[r.debugId]++||(it[r.debugId]=1,(0,Pe.YM)(r,void 0,t).inPlace(window.history,st,"-")),r}var ot=r(3738);function ct(e){(0,N.Y)(k.BL,function(r=Date.now()){const n=r-g.WN;n<0&&(0,l.R)(62,r),(0,S.p)(q.XG,[k.BL,{time:n}],void 0,t.K7.metrics,e.ee),e.addToTrace({name:k.BL,start:r,origin:"nr"}),(0,S.p)("api-"+k.hG,[n,k.BL],void 0,t.K7.genericEvents,e.ee)},e)}const{He:dt,bD:ut,d3:lt,Kp:ft,TZ:ht,Lc:pt,uP:gt,Rz:mt}=ot;class vt extends W{static featureName=ht;constructor(e){var n;super(e,ht),n=e,(0,N.Y)(k.U2,function(e){if(!(e&&"object"==typeof e&&e.name&&e.start))return;const r={n:e.name,s:e.start-g.WN,e:(e.end||e.start)-g.WN,o:e.origin||"",t:"api"};r.s<0||r.e<0||r.e<r.s?(0,l.R)(61,{start:r.s,end:r.e}):(0,S.p)("bstApi",[r],void 0,t.K7.sessionTrace,n.ee)},n),ct(e);
418if(!(0,j.V)(e.init))return void this.deregisterDrain();const i=this.ee;let s;at(i,e),this.eventsEE=(0,Me.u)(i,e),this.eventsEE.on(gt,function(e,t){this.bstStart=(0,_.t)()}),this.eventsEE.on(pt,function(e,r){(0,S.p)("bst",[e[0],r,this.bstStart,(0,_.t)()],void 0,t.K7.sessionTrace,i)}),i.on(mt+lt,function(e){this.time=(0,_.t)(),this.startPath=location.pathname+location.hash}),i.on(mt+ft,function(e){(0,S.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,t.K7.sessionTrace,i)});try{s=new PerformanceObserver(e=>{const r=e.getEntries();(0,S.p)(dt,[r],void 0,t.K7.sessionTrace,i)}),s.observe({type:ut,buffered:!0})}catch(e){}this.importAggregator(e,()=>r.e(478).then(r.bind(r,6974)),{resourceObserver:s})}}var yt=r(733),bt=r(6344);class Et extends W{static featureName=bt.TZ;#i;recorder;constructor(e){var n;let i;super(e,bt.TZ),n=e,(0,N.Y)(k.CH,function(){(0,S.p)(k.CH,[],void 0,t.K7.sessionReplay,n.ee)},n),function(e){(0,N.Y)(k.Tb,function(){(0,S.p)(k.Tb,[],void 0,t.K7.sessionReplay,e.ee)},e)}(e);const s="".concat(u.Wt).concat((0,yt.Y)(e.info.licenseKey,e.info.applicationID));try{i=JSON.parse(localStorage.getItem(s))}catch(e){}(0,I.SR)(e.init)&&this.ee.on(k.CH,()=>this.#s()),this.#a(i)&&this.importRecorder().then(e=>{e.startRecording(bt.Qb.PRELOAD,i?.sessionReplayMode)}),this.abortHandler=this.#n,this.importAggregator(this.agentRef,()=>r.e(478).then(r.bind(r,6167)),this),this.ee.on("err",e=>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed=!0,(0,S.p)(bt.Vh,[e],void 0,this.featureName,this.ee))})}#a(e){return e&&(e.sessionReplayMode===u.g.FULL||e.sessionReplayMode===u.g.ERROR)||(0,I.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#i??=Promise.all([r.e(478),r.e(249)]).then(r.bind(r,4866)).then(({Recorder:e})=>(this.recorder=new e(this),this.recorder)).catch(e=>{throw this.ee.emit("internal-error",[e]),this.blocked=!0,e}),this.#i)}#s(){this.blocked||(this.featAggregate?this.featAggregate.mode!==u.g.FULL&&this.featAggregate.initializeRecording(u.g.FULL,!0,bt.Qb.API):this.importRecorder().then(()=>{this.recorder.startRecording(bt.Qb.API,u.g.FULL)}))}#n(){this.recorder?.stopRecording()}}var wt=r(3962);class Rt extends W{static featureName=wt.TZ;constructor(e){if(super(e,wt.TZ),function(e){const r=e.ee.get("tracer");function n(){}(0,N.Y)(k.dT,function(e){return(new n).get("object"==typeof e?e:{})},e);const i=n.prototype={createTracer:function(n,i){var s={},a=this,o="function"==typeof i;return(0,S.p)(q.xV,["API/createTracer/called"],void 0,t.K7.metrics,e.ee),function(){if(r.emit((o?"":"no-")+"fn-start",[(0,_.t)(),a,o],s),o)try{return i.apply(this,arguments)}catch(e){const t="string"==typeof e?new Error(e):e;throw r.emit("fn-err",[arguments,this,t],s),t}finally{r.emit("fn-end",[(0,_.t)()],s)}}}};["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach(r=>{N.Y.apply(this,[r,function(){return(0,S.p)(k.hw+r,[performance.now(),...arguments],this,t.K7.softNav,e.ee),this},e,i])}),(0,N.Y)(k.PA,function(){(0,S.p)(k.hw+"routeName",[performance.now(),...arguments],void 0,t.K7.softNav,e.ee)},e)}(e),!g.RI||!(0,i.dV)().o.MO)return;const n=at(this.ee,e);try{this.removeOnAbort=new AbortController}catch(e){}wt.tC.forEach(e=>{(0,J.sp)(e,e=>{c(e)},!0,this.removeOnAbort?.signal)}
418);const s=()=>(0,S.p)("newURL",[(0,_.t)(),""+window.location],void 0,this.featureName,this.ee);n.on("pushState-end",s),n.on("replaceState-end",s),(0,J.sp)(wt.OV,e=>{c(e),(0,S.p)("newURL",[e.timeStamp,""+window.location],void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let a=!1;const o=new((0,i.dV)().o.MO)((e,t)=>{a||(a=!0,requestAnimationFrame(()=>{(0,S.p)("newDom",[(0,_.t)()],void 0,this.featureName,this.ee),a=!1}))}),c=(0,C.s)(e=>{"loading"!==document.readyState&&((0,S.p)("newUIEvent",[e],void 0,this.featureName,this.ee),o.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},100,{leading:!0});this.abortHandler=function(){this.removeOnAbort?.abort(),o.disconnect(),this.abortHandler=void 0},this.importAggregator(e,()=>r.e(478).then(r.bind(r,4393)),{domObserver:o})}}var Tt=r(981);const At={},St=new Set;function xt(e){return"string"==typeof e?{type:"string",size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:"ArrayBuffer",size:e.byteLength}:e instanceof Blob?{type:"Blob",size:e.size}:e instanceof DataView?{type:"DataView",size:e.byteLength}:ArrayBuffer.isView(e)?{type:"TypedArray",size:e.byteLength}:{type:"unknown",size:0}}class Ot{constructor(e,t){this.timestamp=(0,_.t)(),this.currentUrl=(0,Ee.L)(window.location.href),this.socketId=(0,ye.LA)(8),this.requestedUrl=(0,Ee.L)(e),this.requestedProtocols=Array.isArray(t)?t.join(","):t||"",this.openedAt=void 0,this.protocol=void 0,this.extensions=void 0,this.binaryType=void 0,this.messageOrigin=void 0,this.messageCount=0,this.messageBytes=0,this.messageBytesMin=0,this.messageBytesMax=0,this.messageTypes=void 0,this.sendCount=0,this.sendBytes=0,this.sendBytesMin=0,this.sendBytesMax=0,this.sendTypes=void 0,this.closedAt=void 0,this.closeCode=void 0,this.closeReason="unknown",this.closeWasClean=void 0,this.connectedDuration=0,this.hasErrors=void 0}}class _t extends W{static featureName=o.TZ;constructor(e){super(e,o.TZ);const n=e.init.feature_flags.includes("websockets")||e.init.web_sockets?.enabled,s=!e.init.feature_flags.includes("no_spv"),a=[e.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,n,s];var c;let d;if(c=e,(0,N.Y)(k.hG,(e,t)=>ce(e,t,c),c),function(e){(0,N.Y)(k.fF,(t,r)=>ue(t,r,e),e)}(e),ct(e),Se(e),function(e){(0,N.Y)(k.V1,(t,r)=>de(t,r,e),e)}(e),this.removeOnAbort=new AbortController,this.abortHandler=()=>{this.removeOnAbort.abort(),this.abortHandler=void 0},n){const u=function(e,t){if(!(0,i.dV)().o.WS)return e;const r=e.get("websockets");if(At[r.debugId]++)return r;At[r.debugId]=1,(0,V.G)(()=>{const e=(0,_.t)();St.forEach(t=>{t.nrData.closedAt=e,t.nrData.closeCode=1001,t.nrData.closeReason="Page navigating away",t.nrData.closeWasClean=!1,t.nrData.openedAt&&(t.nrData.connectedDuration=e-t.nrData.openedAt),r.emit("ws",[t.nrData,t.targets],t)})});
418class n extends WebSocket{static name=Tt.R.WS;static toString(){return"function WebSocket() { [native code] }"}toString(){return"[object WebSocket]"}get[Symbol.toStringTag](){return n.name}#o(e){(e.__newrelic??={}).socketId=this.nrData.socketId,this.nrData.hasErrors??=!0}constructor(...e){super(...e),this.nrData=new Ot(e[0],e[1]),this.targets=(0,Ie.$5)(t),this.addEventListener("open",()=>{this.nrData.openedAt=(0,_.t)(),["protocol","extensions","binaryType"].forEach(e=>{this.nrData[e]=this[e]}),St.add(this)}),this.addEventListener("message",e=>{const{type:t,size:r}=xt(e.data);this.nrData.messageOrigin??=(0,Ee.L)(e.origin),this.nrData.messageCount++,this.nrData.messageBytes+=r,this.nrData.messageBytesMin=Math.min(this.nrData.messageBytesMin||1/0,r),this.nrData.messageBytesMax=Math.max(this.nrData.messageBytesMax,r),(this.nrData.messageTypes??"").includes(t)||(this.nrData.messageTypes=this.nrData.messageTypes?"".concat(this.nrData.messageTypes,",").concat(t):t)}),this.addEventListener("close",e=>{this.nrData.closedAt=(0,_.t)(),this.nrData.closeCode=e.code,e.reason&&(this.nrData.closeReason=e.reason),this.nrData.closeWasClean=e.wasClean,this.nrData.connectedDuration=this.nrData.closedAt-this.nrData.openedAt,St.delete(this),r.emit("ws",[this.nrData,this.targets],this)})}addEventListener(e,t,...r){const n=this,i="function"==typeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#o(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#o(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyState===WebSocket.OPEN){const{type:t,size:r}=xt(e);this.nrData.sendCount++,this.nrData.sendBytes+=r,this.nrData.sendBytesMin=Math.min(this.nrData.sendBytesMin||1/0,r),this.nrData.sendBytesMax=Math.max(this.nrData.sendBytesMax,r),(this.nrData.sendTypes??"").includes(t)||(this.nrData.sendTypes=this.nrData.sendTypes?"".concat(this.nrData.sendTypes,",").concat(t):t)}try{return super.send(e)}catch(e){throw this.#o(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#o(e),e}}}return g.gm.WebSocket=n,r}(this.ee,e);u.on("ws",(e,t)=>{(0,S.p)("ws-complete",[e,t],void 0,this.featureName,this.ee)})}if(s){if("function"==typeof g.gm.ReportingObserver){const l=new g.gm.ReportingObserver(e=>{e.forEach(e=>{(0,S.p)("spv",[kt(e),(0,_.t)()],void 0,t.K7.genericEvents,this.ee)}),l.disconnect()},{types:["csp-violation"],buffered:!0});l.observe()}g.gm.addEventListener("securitypolicyviolation",e=>{(0,S.p)("spv",[kt(e),e.timeStamp],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal))}if(g.RI){if(ze(this.ee,e),De(this.ee,e),d=at(this.ee,e),e.init.user_actions.enabled){function f(t){const r=(0,Ge.D)(t);return e.beacons.includes(r.hostname+":"+r.port)}function h(){d.emit("navChange")}o.Zp.forEach(e=>(0,J.sp)(e,e=>(0,S.p)("ua",[e],void 0,this.featureName,this.ee),!0)),o.qN.forEac
418h(e=>{const t=(0,C.s)(e=>{(0,S.p)("ua",[e],void 0,this.featureName,this.ee)},500,{leading:!0});(0,J.sp)(e,t)}),g.gm.addEventListener("error",()=>{(0,S.p)("uaErr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(!1,this.removeOnAbort.signal)),this.ee.on("open-xhr-start",(e,r)=>{f(e[1])||r.addEventListener("readystatechange",()=>{2===r.readyState&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)},(0,J.jT)(void 0,this.removeOnAbort.signal))}),this.ee.on("fetch-start",e=>{e.length>=1&&!f(Ze(e[0]))&&(0,S.p)("uaXhr",[],void 0,t.K7.genericEvents,this.ee)}),d.on("pushState-end",h),d.on("replaceState-end",h),window.addEventListener("hashchange",h,(0,J.jT)(!0,this.removeOnAbort.signal)),window.addEventListener("popstate",h,(0,J.jT)(!0,this.removeOnAbort.signal))}if(e.init.performance.resources.enabled&&g.gm.PerformanceObserver?.supportedEntryTypes.includes("resource")){new PerformanceObserver(e=>{e.getEntries().forEach(e=>{(0,S.p)("browserPerformance.resource",[e],void 0,this.featureName,this.ee)})}).observe({type:"resource",buffered:!0})}}a.some(e=>e)?this.importAggregator(e,()=>r.e(478).then(r.bind(r,8019))):this.deregisterDrain()}}function kt(e){const t=e.body??e;return{blockedUrl:t.blockedURL??e.blockedURI,documentUrl:t.documentURL??e.documentURI,effectiveDirective:t.effectiveDirective,originalPolicy:t.originalPolicy,sourceFile:t.sourceFile,statusCode:t.statusCode,lineNumber:t.lineNumber,columnNumber:t.columnNumber,disposition:"reporting"===t.disposition?"report":t.disposition,sample:t.sample,referrer:t.referrer}}var Nt=r(2646);const Lt=new Map;function Mt(e,t,r,n,i=!0,s){if("object"!=typeof t||!t||"string"!=typeof r||!r||"function"!=typeof t[r])return(0,l.R)(29);const a=function(e){return(e||R.ee).get("logger")}(e),o=(0,Pe.YM)(a,void 0,s),c=new Nt.y(R.P);c.level=n.level,c.customAttributes=n.customAttributes,c.autoCaptured=i;const d=t[r]?.[Pe.Jt]||t[r];return Lt.set(d,c),o.inPlace(t,[r],"wrap-logger-",()=>Lt.get(d),void 0,!0),a}var Pt=r(1910);class It extends W{static featureName=se.TZ;constructor(e){var t;super(e,se.TZ),t=e,(0,N.Y)("log",(e,r)=>oe(e,r,t),t),function(e){(0,N.Y)(k.Wb,(t,r,{customAttributes:n={},level:i=se.p_.INFO}={})=>{Mt(e.ee,t,r,{customAttributes:n,level:i},!1,e)},e)}(e),Se(e);const n=this.ee;["log","error","warn","info","debug","trace"].forEach(t=>{(0,Pt.i)(g.gm.console[t]),Mt(n,g.gm.console,t,{level:"log"===t?"info":t},void 0,e)}),this.ee.on("wrap-logger-end",function([t],r,i,s=[e.runtime.v2Target]){const{level:a,customAttributes:o,autoCaptured:c}=this;s.forEach(e=>{(0,ae.R)(n,t,o,a,c,e)})}),this.importAggregator(e,()=>r.e(478).then(r.bind(r,5288)))}}new F({features:[nt,K,G,vt,Et,Y,Oe,_t,It,Rt],loaderType:"spa"})})()})();</script>
418</head>
419<body class="legacy">
420	
421		
422		
423			
424
425
426
427<div class="header spectre fixed"
428	style="background-color: #fdfbfb;">
429	
430	<header class="navbar container" style="min-height: 80px;">
431		  
432		  <div id="navbar-section-btn">
433		  	
434				<a href="javascript:void(0);" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "tushar2483.graphy.com","button":"cart"}' class="nav-link badge cartBtn mr-2" data-badge="0"><i class="material-icons">shopping_cart</i></a>
435			
436		  	<a class="btn btn-link btn-action ml-2" id="header-collapse-btn"  href="javascript:void(0);">
437				<i class="icon-menu material-icons">menu</i>
438		  	</a>
439		  </div>
440		  <section class="navbar-section" style="min-height: 80px;">
441		    <a href="/" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "tushar2483.graphy.com","button":"profile_logo"}'><img alt="logo" onerror="this.src='https://d502jbuhuh9wk.cloudfront.net/resources/images/yourlogohere.jpg'" src='https://d502jbuhuh9wk.cloudfront.net/logos/6502d2c9e4b09fa3797c0592.png?v=3'/></a>
442		  </section>
443		  
444			  <section class="navbar-section hide-md">
445			  	<form class="input-group p-0 relative" action="/s/store/courses" method="GET" style="width:100%;background:transparent">
446			  		<div class="input-group" style="width: 100%;">
447						<input type="text" name="query" value="" class="form-input input-lg searchTxtBox" placeholder="Search">
448						<button type="submit" class="btn btn-link"><i class="fa-regular fa-magnifying-glass"></i></button>
449					</div>
450				</form>
451			  </section>
452		  
453		  <section class="navbar-section menu-links">
454			
455				<a href="/s/store" class="nav-link" data-id="courses" amplitude-event="navbar_link_tapped_user_landing_page" amplitude-payload='{"custom_domain": "tushar2483.graphy.com","button":"store"}'>Courses</a>
456			
457			
458			
459			
460				
461			
462			
463			
464			
465			
466			
467				
468				
469					
470						
471						
472							<a href="javascript:void(0);" class="nav-link badge cartBtn hide-md" data-badge="0"><i class="fa-regular fa-cart-shopping"></i></a>
473						
474					
475		    			<a href="javascript:void(0);" class="btn btn-primary loginBtn">Login</a>
476				
477			
478		  </section>
479	</header>
480	
481	
482		<form class="show-md container" action="/s/store/courses" method="GET" style="background:transparent;">
483			<div class="input-group relative" style="width: 100%;">
484				<input type="text" name="query" value="" class="form-input input-lg searchTxtBox" placeholder="Search">
485				<button type="submit" class="btn btn-link"><i class="fa-regular fa-magnifying-glass"></i></button>
486			</div>
487		</form>
488	
489</div>
490		
491	
492	<div class="spectre">
493	<div class="main container" style="margin-top: 80px;">
494		<div class="columns pt-2">
495			<div class="column col-4 col-sm-12">
496				<div class="dropdown categoriesBtn col-12">
497					  <a href="#" class="btn btn-lg btn-primary dropdown-toggle" tabindex="0"><span class="icon-text">Category</span> <i class="material-icons">arrow_drop_down</i></a>
498					  <ul class="menu"></ul>
499				</div>
500			</div>
501		</div>
502		
503			
504			
505				
506					<div class="border-bottom" style="margin-top: 50px;" >
507						<h2><label class="text-ellipsis d-inline-block" style="max-width: calc(100% - 100px);" title="Foundation- FREE">Foundation- FREE</label> <a href="/s/store/courses/Foundation- FREE" class='btn float-right'>View All</a></h2>
508					</div>
509					<div class="columns itemsContainer loading loading-lg" data-url="/store/courses/Foundation- FREE"></div>
510			    
511					<div class="border-bottom" style="margin-top: 50px;" >
512						<h2><label class="text-ellipsis d-inline-block" style="max-width: calc(100% - 100px);" title="Pro Rankers">Pro Rankers</label> <a href="/s/store/courses/Pro Rankers" class='btn float-right'>View All</a></h2>
513					</div>
514					<div class="columns itemsContainer loading loading-lg" data-url="/store/courses/Pro Rankers"></div>
515			    
516					<div class="border-bottom" style="margin-top: 50px;" >
517						<h2><label class="text-ellipsis d-inline-block" style="max-width: calc(100% - 100px);" title="PYQ Subject Series">PYQ Subject Series</label> <a href="/s/store/courses/PYQ Subject Series" class='btn float-right'>View All</a></h2>
518					</div>
519					<div class="columns itemsContainer loading loading-lg" data-url="/store/courses/PYQ Subject Series"></div>
520			    
521			
522		
523	</div>
524	</div>
525
526
527
528
529	
530		
531		
532			
533
534
535
536
537
538
539
540
541
542
543<div class="yogya-footer" style="display: flex !important;align-items:center;justify-content:center;clear:both;width: 100%;flex-direction: column; row-gap:30px; background: #F7F7F7; color: #232228; padding: 80px 10px;">
544	
545		
546		
547			
548				
549				
550					<a style="display: flex !important;align-items:center;justify-content:center;text-decoration: none !important;background: #000 !important;color: #fff !important;padding: 12px 20px !important;border-radius: 4px !important;font-size: 14px !important;font-weight: 600 !important;line-height: 20px !important;" rel="nofollow" href="https://graphy.com/products/create-and-sell-course-online?utm_campaign=tushar2483&utm_source=gc&utm_device=website&gref=tushar2483" target="_blank"><img alt="Launch your Graphy" style="height: 20px; width: 11px; margin-right: 12px;" src="/resources/images/grvector.svg">Launch your Graphy</a>
551					<div class="text-center" style="font-size: 12px;font-weight: 400;line-height: 20px;letter-spacing: 0.015em;">100K+ creators trust <a href="https://graphy.com/products/create-and-sell-course-online?utm_campaign=tushar2483&utm_source=gc&utm_device=website&gref=tushar2483" target="_blank" rel="nofollow" style="color: #000 !important;text-decoration: underline !important;padding: 0 !important;font-size: inherit !important;">Graphy</a> to teach online</div>
552				
553			
554		
555	
556	<div style="display: flex !important;align-items:center;justify-content:center;column-gap: 12px;">
557		<a href="https://www.facebook.com/cuetpro" class="fbPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;
557display: flex;align-items:center;justify-content:center;"><i class="fa-brands fa-facebook-f" style="font-size: 11px"></i></a>
558		<a href="https://www.instagram.com/cuetpro/" class="instaPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;"><i class="fa-brands fa-instagram" style="font-size: 11px"></i></a> 
559		
560		<a href="https://www.linkedin.com/company/cuet-pro/?viewAsMember=true" class="linkedinPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;" ><i class="fa-brands fa-linkedin-in" style="font-size: 11px"></i></a> 
561		<a href="https://www.youtube.com/@cuetpro" class="yPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;" ><i class="fa-brands fa-youtube" style="font-size: 11px"></i></a>
562		<a href="https://t.me/cuetpro_official" class="telegramPage" target="_blank" style="text-decoration: none !important;color:#000 !important;font-size: inherit !important;height:24px;width:24px;border: 1px solid #E5E5E5;display: flex;align-items:center;justify-content:center;" ><i class="fa-brands fa-telegram" style="font-size: 11px"></i></a>
563	</div>
564	<div style="display: flex !important;align-items:center;justify-content:center;font-size: 14px;font-weight: 500;line-height: 20px;letter-spacing: 0.015em;column-gap: 12px;flex-wrap: wrap;">
565		<span>CUET Pro <i class="fa-regular fa-copyright"></i> 2026</span> <i class="fa-solid fa-circle" style="font-size: 4px;"></i> 
566		<a href="/privacypolicy" style="color: #232228 !important; padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Privacy policy</a>  <i class="fa-solid fa-circle" style="font-size: 4px;"></i> 
567		<a href="/termsofuse" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Terms of use</a> <i class="fa-solid fa-circle" style="font-size: 4px;"></i> 
568		<a href="/contactus" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Contact us</a> <i class="fa-solid fa-circle" style="font-size: 4px;"></i> 
569		<a href="/refundpolicy" style="color: #232228 !important;padding: 0 !important;font-size: inherit !important;text-decoration: underline !important">Refund policy</a>
570	</div>
571</div>
572
573
574
575
576
577		
578	
579
580
581	
582	
583
584
585
586
587<script>const customDomain = "tushar2483.graphy.com";</script>
587
588
589   
590  
591
592<script>
593var disabledLocleVar='Disabled';
594var enabledLocaleVar='Enabled';
595var smsLocaleVar='SMS';
596var webpushLocaleVar='Web Push';
597var mobilepushLocaleVar='Mobile Push';
598var invoicenumberLocaleVar='Invoice Number';
599var productLocaleVar='Product';
600var dateLocaleVar='Date';
601var amountLocaleVar='Amount';
602var detailsLocaleVar='Details';
603var subscriptionPlanLocaleVar='Subscription Plan';
604var addonsLocaleVar='Add Ons';
605var showLocalVar='Show';
606var hideLocaleVar='Hide';
607</script>
607 
608<div class="spectre">
609
610	
611	
612		
613		
614		
615			
616				
616<script>
617					var isPopupLogin = true;
618					var login = '';
619					var message = '';
620					function closeLoginPopup() {
621						$("#loginFormHtml").removeClass("active");
622						$("body").removeClass("overflowYDisable");
623					}
624				</script>
624
625				
626				
627				
628					
629						
630					
631				
632
633				<div class="modal" id="loginFormHtml">
634					<iframe id="microfe-popup-login" src="/t/public/login?v3&type=phoneOtp&url=" loading="lazy"
635						style="width: calc(100% + 10px); height: 100vh; border: none;"
636						onload="$(this).parent().removeClass('loading');"></iframe>
637				</div>
638			
639		
640	 
641	
642
643	<div class="modal" id="cartHtml">
644		<a href="javascript:void(0);" class="modal-overlay close"
645			aria-label="Close"></a>
646		<div class="modal-container" style="max-width: 800px;">
647			<div class="modal-header">
648				<a href="javascript:void(0);"
649					class="close btn btn-clear float-right" aria-label="Close"></a>
650				<div class="modal-title h5">
651					<i class="fa-regular fa-shopping-cart"></i>
652					Cart
653					(<span class="cartCount">0</span>
654					Items
655					)
656				</div>
657			</div>
658			<div class="modal-body" style="max-height: 70vh;">
659				<div class="content">
660
661					<div class="text-center msg loading"></div>
662					<div class="text-center msg noItems" style="display: none;">
663						There are no items in your cart<br/>
664						<a class="btn btn-primary" href="/s/store"
665							style="margin: 20px auto;">
666							Add More
667						</a>
668					</div>
669					<div class="items msg" style="display: none;">
670						<div class="m-0 cartDiv">
671							<table class="table cartTable">
672								<thead>
673									<tr>
674										<th colspan="2">Item Details</th>
675										<th class="text-right">Price</th>
676										<th style="width: 50px;"></th>
677									</tr>
678								</thead>
679								<tbody></tbody>
680							</table>
681						</div>
682						<div class="suggestCart mt-2 bg-gray p-2" style="display: none;">
683							<h6>You may also be interested in</h6>
684							<div class="columns loading" id="cartRelatedCont"></div>
685						</div>
686					</div>
687				</div>
688			</div>
689			<div class="modal-footer">
690				<div class="msg items clearfix">
691					
692						
693						
694							<div class="float-left text-gray">
695								Note: Promo Codes can be applied after checkout
696							</div>
697						
698						
699					
700					<div class="float-right">
701						Total Amount
702						<span class="text-primary curr">₹<span
703							class="totalAmount">0</span></span>
704					</div>
705				</div>
706				<div class="msg items clearfix mt-2">
707					<a class="btn float-left" href="/s/store" amplitude-event="add_more_course_checkout">
708						Add More
709					</a>
710					
711					
712						
713							
714						
715						
716					
717					<a class="btn btn-primary float-right" href="/s/checkout" amplitude-event="checkout_tapped_course_checkout" amplitude-payload='{"currency": "INR" }'>Checkout</a>
718				</div>
719			</div>
720		</div>
721	</div>
722	<div class="modal" id="newCheckoutHtml" style="padding: 0; z-index: 10000;">
723	<div id="newCheckoutLoader" class="loading loading-lg" style="position: absolute;top: 50%;left: 50%;transform: translate(-50%, -50%);width: 100%;height: 100%;background-color: rgba(0, 0, 0, 0.5); z-index: 1000;display:none;"></div>
724		<!-- <a href="javascript:void(0);" class="modal-overlay close"
725			aria-label="Close"></a>
726		<div class="modal-container" style=""> -->
727		
728
729			<iframe onload="hideCheckoutLoader()" id="newCheckoutIframe" sandbox="allow-top-navigation allow-modals allow-popups allow-presentation allow-orientation-lock allow-pointer-lock allow-popups-to-escape-sandbox allow-top-navigation-by-user-activation allow-scripts allow-same-origin allow-forms" style = "width: calc(100% + 10px); height: 100%; border: none;"  src=""></iframe>
730				
731		<!-- </div> -->
732	</div>
733</div>
734
735<script type="text/template" id="cartItemTemplate">
736		<tr data-id="<@- item.id @>" data-type="<@- item.type @>" data-title="<@- item.title @>" data-price="<@- item.price @>" data-coursecategory="<@- item.courseCategory @>">
737			<@ var itemType = item.type; @>
738			<td style="width:150px;">	
739				<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item.id +"/"+ item.id +"_scaled_cover.jpg?v=" + coverVersion; if(isNaN(coverVersion)) { curl = showCourseDefaultCover(null, item.id)   } @>
740				<img alt="<@- item.title @> cover" style="width:100%;max-height:100px;" class="img-fit-contain lazy"  onerror="showCourseDefaultCover(this, '<@- item.id @>')" 
741						data-src='<@- curl @>' />
742			</td>
743			<td class="itemTitle"><@- item.title @><@ if(item.description !== undefined) { @><div class='text-gray variantDescription'><@ print(item.description) @></div><@ } @></td>
744			<td class="text-right curr"><@ if(item.priceWithoutTax !== undefined && 'GST' != '') { @><@ print(getDisplayAmount(item.priceWithoutTax)) @><br><small><@ print(getDisplayAmount(item.price)) @> incl. <@- item.gstRate @>% GST</small><@ } else { @><@ print(getDisplayAmount(item.price)) @> <@ if(item.gstRate > 0 && 'GST' != '') { print("<br><small>incl. " +item.gstRate+"% GST</small>") } @><@ } @> 				
745			<@ if(item.pgChargesLearnerPercent !==undefined && getDisplayAmount(item.pgChargesLearnerPercent).includes('₹')) {@> <br><small>Internet handling fees: <@print(getDisplayAmount(item.pgChargesLearnerPercent/100*item.price))@></small> <@} @>
746			</td>
747			<td>
747<button class="btn btn-sm btn-error btn-action circle removeItemBtn" data-url="/s/cart/remove/<@- item.id @>"><i class="material-icons">clear</i></button></td>
748		</tr>
749	</script>
vendor: 1 bytes, line 749
749
750<script type="text/template" id="cartcoursecard-template">
751		<div class="column col-2 col-md-4 scourse <@- item['spayee:resource']['spayee:courseType'] @>" title="<@- item["spayee:resource"]["spayee:title"] @>">
752			  <a class="card" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
753				<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item["spayee:resource"]["spayee:coverVersion"]; if(isNaN(item["spayee:resource"]["spayee:coverVersion"])) { curl = showCourseDefaultCover(null, item._id)   } @>
754		              <img style="width: 100%;" alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="lazy" data-src="<@- curl  @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
755					  <div class="card-footer" style="padding: 0.2rem;"><span class="ctitle text-ellipsis d-block" style="color:#2f4f4f;font-size:small;"><@- item["spayee:resource"]["spayee:title"] @></span></div>
756		      </a>
757		</div>
758	</script>
vendor: 1 bytes, line 758
758
759<script type="text/template" id="coursecard-template">
760		<div class="column scourse <@- item['spayee:resource']['spayee:courseType'] @> hidePackageRibbon<@- item['spayee:resource']['spayee:hidePackageRibbon'] @>">
761					
762					
763					
764					<@ var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:'' @>
765
766					<a class="card courseDiscId" style="height:100%" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" data-id="<@- item._id@>" data-dcid="<@-item._id@>"
767						amplitude-event="course_card_tapped_checkout"
768						amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', '', item, '18.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable('', item) @>","wallet_coins_enabled_on_school":"false","category":"<@- itemCategory @>"}'
769					>
770					
771						
772					
773		              <div class="card-image relative <@ print(item["spayee:resource"]["spayee:availableForMembership"] ? 'includedInMembership' : '') @>">
774						<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id + "/" + item._id +"_scaled_cover.jpg?v=" + item["spayee:resource"]["spayee:coverVersion"]; if(isNaN(item["spayee:resource"]["spayee:coverVersion"])) { curl = showCourseDefaultCover(null, item._id);   } @>
775						<div class="blurbg lazy" data-bg="<@- curl @>"></div>
776		                <img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="lazy" data-src="<@- curl @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
777		              </div>
778		              <div class="card-body text-ellipsis">
779							<span class="ctitle" style="color:#2f4f4f;text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 2;"><@- item["spayee:resource"]["spayee:title"] @></span><br>
780
781							<@ if(item.rating !== undefined) { @>
782								<span class="text-gray ratingIcons icon-text">
783								<@ for(var i=1;i<6;i++) { @>
784									<@ if(item.rating.avgRating >= i) { @><i class="material-icons text-primary">star</i><@ }else if(item.rating.avgRating > i-1 && item.rating.avgRating < i) { @><i class="material-icons text-primary">star_half</i><@ }else { @>
785									<i class="material-icons">star_border</i>								
786								<@ } } @></span><small class="d-inline-block pl-1 text-dark"><@ print(formatRating(item['rating']['avgRating'])) @> (<@- item['rating']['total'] @> ratings)</small>
787							<@ }else { @> <span class="text-gray ratingIcons icon-text">&nbsp;</span> <@ } @>
788							<br>
789							<span class="text-gray">
790								<@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @>
791									<@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses
792								<@ }else { @>
793									<@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?htmlEntities(item["spayee:resource"]["spayee:publisher"]):"&nbsp;") @>
794								<@ } @>
795							</span>
796					  </div>
797		              <div class="card-footer">
798						<@ print(getCourseDisplayPrice('₹', '', item, '18.0', '', true)) @>
799						<span class="text-gray" style="font-size:small">
800							<@ if(item['spayee:resource']['spayee:instalmentPlanId']!=null && item['spayee:resource']['spayee:instalmentPlanId'] !== "") { @>
801								<@ print(getCourseInstalmentDisplayPrice('', item))@>
802								<@ }else { @>
803								<@ "&nbsp;" @>
804							<@ } @>
805						</span>
806		              </div>
807					<div style="padding: 0 0.8rem 0.8rem 0.8rem;">
808						<span class="text-gray" style="font-size:small">
809							<@ if(getMultiplePlanLabel('', item)>1) {@>
810							<i class="material-icons text-primary" style="font-size:small">discount</i>
811							<@ print(' Flexible pricing plans') } @>
812						</span>
813					</div>
814		            </a>
815		</div>
816	</script>
816
817
818<script type="text/template" id="blogcard-template">
819		<div class="column col-3 col-md-6 col-sm-6 col-xs-12 scourse" style="margin-bottom: 20px;">
820					<a class="card" title="<@- item['spayee:resource']['spayee:title'] @>" href="/blog/<@- item['spayee:resource']['spayee:url'] @>">
821		              <div class="card-image relative">
822						<@ if(item['spayee:resource']['spayee:cover'] !== undefined && item['spayee:resource']['spayee:cover']) { @>
823							<div class="blurbg lazy" data-bg="https://d502jbuhuh9wk.cloudfront.net/articles/<@- item._id @>/cover.jpg<@ print(item["spayee:resource"]["spayee:coverVersion"] !== undefined?"?v="+item["spayee:resource"]["spayee:coverVersion"]:"") @>"></div>
824							<img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="img-responsive centered relative lazy" style="max-height: 100%;" data-src="https://d502jbuhuh9wk.cloudfront.net/articles/<@- item._id @>/cover.jpg?v=<@- item['spayee:resource']['spayee:coverVersion'] @>" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
825						<@ }else { @>
826							<div class="blurbg lazy" data-bg="https://d502jbuhuh9wk.cloudfront.net/resources/images/defaultCourseCover.png"></div>
827							<img alt="<@- item['spayee:resource']['spayee:title'] @> cover" class="img-responsive centered relative lazy" style="max-height: 100%;" data-src='https://d502jbuhuh9wk.cloudfront.net/resources/images/defaultCourseCover.png'>
828						<@ } @>
829		              </div>
830		              <div class="card-body text-ellipsis"><span style="color:#2f4f4f;"><@- item["spayee:resource"]["spayee:title"] @></span></div>
831		              <div class="card-footer" style="padding: 0.4rem;">
832						<span class="text-gray float-left text-ellipsis" style="max-width: calc(100% - 110px);"><@ print(item["spayee:resource"]["spayee:author"]!==undefined?htmlEntities(item["spayee:resource"]["spayee:author"]):"") @></span>
833						<@ var pdate = item.createdDate.$date; if(item['spayee:resource']['spayee:publishDate'] !== undefined && item['spayee:resource']['spayee:publishDate'] !== '') { pdate = item['spayee:resource']['spayee:publishDate']; } @>
834						<time class="float-right text-warning"><@ print(formatDate(new Date(pdate))) @></time>
835		              </div>
836		            </a>
837		</div>
838	</script>
838
839	
840	
840<script type="text/javascript">
841	  var uuid = function (a) {
842		  // https://github.com/amplitude/Amplitude-Javascript/blob/master/src/uuid.js
843		  return a // if the placeholder was passed, return
844		    ? // a random number from 0 to 15
845		      (
846		        a ^ // unless b is 8,
847		        ((Math.random() * // in which case
848		          16) >> // a random number from
849		          (a / 4))
850		      ) // 8 to 11
851		        .toString(16) // in hexadecimal
852		    : // or otherwise a concatenated string:
853		      (
854		        [1e7] + // 10000000 +
855		        -1e3 + // -1000 +
856		        -4e3 + // -4000 +
857		        -8e3 + // -80000000 +
858		        -1e11
859		      ) // -100000000000,
860		        .replace(
861		          // replacing
862		          /[018]/g, // zeroes, ones, and eights with
863		          uuid, // random hex digits
864		        );
865	  };
866		
867	  (function(e,t){var n=e.amplitude||{_q:[],_iq:{}};var r=t.createElement("script")
868	  ;r.type="text/javascript"
869	  ;r.integrity="sha384-tzcaaCH5+KXD4sGaDozev6oElQhsVfbJvdi3//c2YvbY02LrNlbpGdt3Wq4rWonS"
870	  ;r.crossOrigin="anonymous";r.async=true
871	  ;r.src="https://cdn.amplitude.com/libs/amplitude-8.5.0-min.gz.js"
872	  ;r.onload=function(){if(!e.amplitude.runQueuedFunctions){
873	  console.log("[Amplitude] Error: could not load SDK")}}
874	  ;var i=t.getElementsByTagName("script")[0];i.parentNode.insertBefore(r,i)
875	  ;function s(e,t){e.prototype[t]=function(){
876	  this._q.push([t].concat(Array.prototype.slice.call(arguments,0)));return this}}
877	  var o=function(){this._q=[];return this}
878	  ;var a=["add","append","clearAll","prepend","set","setOnce","unset","preInsert","postInsert","remove"]
879	  ;for(var c=0;c<a.length;c++){s(o,a[c])}n.Identify=o;var u=function(){this._q=[]
880	  ;return this}
881	  ;var l=["setProductId","setQuantity","setPrice","setRevenueType","setEventProperties"]
882	  ;for(var p=0;p<l.length;p++){s(u,l[p])}n.Revenue=u
883	  ;var d=["init","logEvent","logRevenue","setUserId","setUserProperties","setOptOut","setVersionName","setDomain","setDeviceId","enableTracking","setGlobalUserProperties","identify","clearUserProperties","setGroup","logRevenueV2","regenerateDeviceId","groupIdentify","onInit","logEventWithTimestamp","logEventWithGroups","setSessionId","resetSessionId"]
884	  ;function v(e){function t(t){e[t]=function(){
885	  e._q.push([t].concat(Array.prototype.slice.call(arguments,0)))}}
886	  for(var n=0;n<d.length;n++){t(d[n])}}v(n);n.getInstance=function(e){
887	  e=(!e||e.length===0?"$default_instance":e).toLowerCase()
888	  ;if(!Object.prototype.hasOwnProperty.call(n._iq,e)){n._iq[e]={_q:[]};v(n._iq[e])
889	  }return n._iq[e]};e.amplitude=n})(window,document);
890	
891	  amplitude.getInstance().init('e56929a4c3888c23e97a7e70e34ccf6c');
892	  amplitude.getInstance().setUserId(null);
893	  //amplitude.getInstance().regenerateDeviceId();
894
895    var userProperties = {
896			custom_domain: "tushar2483.graphy.com",
897			org_id: "6502d2c9e4b09fa3797c0592",
898			default_google_login_enabled: 'true' == 'true',
899			personalized_google_login_enabled: '' != '' && 'true' == 'false' ? true : false,
900			facebook_login_enabled: '' == 'true' ? true : false
901	  };
902	  amplitude.getInstance().setUserProperties(userProperties);
903    
904/*     var deviceId = uuid();
905	  amplitude.getInstance().setDeviceId(deviceId);
906	  sessionStorage.setItem('amplitudeDeviceId', deviceId); */
907	</script>
907
908	
909	
909<script type="text/javascript">
910		window.signupParams = {source: "store", platform: "web", sourceId: null};
911		var showGraphyFomoFlag = '';
912		
913			showGraphyFomoFlag = '6502d2c9e4b09fa3797c0592';
914		
915	</script>
915
916
917	
917<script type="text/javascript">
918		function hideCheckoutLoader() {
919			if(typeof window.hideLoader =="function") {
920				window.hideLoader();
921			}
922		}
923		var checkoutRedirectGuestUsers = 'signup';
924	</script>
924
925
926
927
928
929
930
931<script type="text/template" id="spcoursecard-2-template">
932		<div class="column third">
933			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
934			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
935			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
936			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
937			<h4 class="size-21 text-ellipsis" style="text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;"><@- item['spayee:resource']['spayee:title'] @></h4>
938			<p class="size-16"><@ if(item.rating !== undefined) { @>
939								<span class="text-gray ratingIcons icon-text">
940								<@ for(var i=1;i<6;i++) { @>
941									<@ if(item.rating.avgRating >= i) { @><i class="material-icons text-primary">star</i><@ }else if(item.rating.avgRating > i-1 && item.rating.avgRating < i) { @><i class="material-icons text-primary">star_half</i><@ }else { @>
942									<i class="material-icons">star_border</i>								
943								<@ } } @></span><span><@ print(formatRating(item['rating']['avgRating'])) @> (<@- item['rating']['total'] @> ratings)</span>
944			<@ }else { @> <span class="text-gray ratingIcons icon-text">&nbsp;</span> <@ } @></p>
945			<p class="size-16 text-ellipsis"><@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
946				<@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
947			
948			<p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', true)) @></span><br></p>
949			<div style="margin:1em 0"></div>
950			</a>
951		</div>
952	</script>
vendor: 1 bytes, line 952
952
953<script type="text/template" id="spcoursecard-1-template">
954		<div class="column third">
955			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
956			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
957			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
958			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
959			<h4 class="size-21 text-ellipsis" style="text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;"><@- item['spayee:resource']['spayee:title'] @></h4>
960			<div class="size-16 text-ellipsis" style="max-height: 3rem;"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
961
962			<p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', true)) @></span><br></p>
963			<div style="margin:1em 0"></div>
964			</a>
965		</div>
966	</script>
vendor: 1 bytes, line 966
966
967<script type="text/template" id="spcoursecard-3-template">
968		<div class="column third">
969			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
970			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
971			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
972			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
973			<h4 class="size-21 text-ellipsis" style="text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;"><@- item['spayee:resource']['spayee:title'] @></h4>
974			<div class="size-16 text-ellipsis" style="max-height: 3rem;"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
975			<p class="size-16 text-ellipsis"><@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
976				<@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
977			<p class="size-18"><span style="color: rgb(21, 101, 192);"><@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', true)) @></span><br></p>
978			<div style="margin:1em 0"></div>
979			</a>
980		</div>
981	</script>
981
982	
983<script type="text/template" id="spcoursecard-4-template">
984		<div class="column third text-center" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 0px;">
985			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
986			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
987			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
988			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
989			</a>
990			<h3 class="size-18 text-center" style="text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;"><b class="text-primary"><@- item['spayee:resource']['spayee:title'] @></b></h3>
991			<div class="discription"><@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @></div>
992			<p class="size-18 price text-primary"><@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', true)) @></p>
993			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>Buy now<br></a>
994		</div>
995	</script>
995	
996<script type="text/template" id="spcoursecard-5-template">
997		<div class="column third" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 0px;">
998			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
999			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>			
1000			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
1001			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1002			</a>
1003			<h3 class="sub-heading"><b class="size-18 text-primary"><@- item['spayee:resource']['spayee:title'] @></b></h4>
1004			<p class="size-16 description text-primary"> <@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @><@ print(item["courses-count"]!==undefined?item["courses-count"]:"0") @> Courses<@ }else { @>
1005				Instructor : <@ print(item["spayee:resource"]["spayee:publisher"]!==undefined?item["spayee:resource"]["spayee:publisher"]:"&nbsp;") @><@ } @></p>
1006			<@if(item.rating){@>
1007				<p class="size-16 description text-primary">Rating: &nbsp;
1008 					<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
1009						<@if(item.rating){@> 
1010							<@if(item.rating.avgRating){@> 
1011								<@ if(item.rating.avgRating >= ratingsSize) {@> 
1012									<i class="icon ion-android-star text-primary"></i>&nbsp; 
1013								<@ } else if(item.rating.avgRating > ratingsSize-1 && item.rating.avgRating < ratingsSize) { @> 
1014									<i class="icon ion-android-star-half text-primary"></i>&nbsp; 
1015								<@ } @>
1016							<@}@>		
1017		  				<@}@>
1018					<@}@>
1019				</p>
1020			<@}@>
1021		
1022			<p class="size-18 price text-primary">Price : <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', true)) @></p>
1023			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>Buy now</a>
1024		</div>
1025	</script>
1025
1026	
1027<script type="text/template" id="spcoursecard-6-template">
1028		<div class="column third">
1029			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
1030			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1031				
1032				
1033				<@  var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:''@>
1034				
1035				<@ if (item['spayee:resource']['spayee:availableForMarket']==="true" ) { @> 
1036				   <a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="course_card_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable(sessionCountry, item) @>","wallet_coins_enabled_on_school":"<@- false @>","category":"<@- itemCategory @>"}'>
1037				<@ } else { @>
1038 				   <a title="<@- item['spayee:resource']['spayee:title'] @>" amplitude-event="course_card_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable(sessionCountry, item) @>","wallet_coins_enabled_on_school":"<@- false @>","category":"<@- itemCategory @>"}'>  
1039                <@ } @>
1040			
1041			
1042			<img class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')" style="border-radius: 20px; margin-bottom: 0px; width: 100%; height: 190px;object-fit:cover;">
1043			</a>
1044			<div style="font-weight: 800; line-height: 1.1; text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;" class="text-ellipsis"><@- item['spayee:resource']['spayee:title'] @></div>
1045			<p class="size-16 description text-primary"><@ if(item['spayee:resource']['spayee:courseType'] === 'package') { @> Courses<@ } @></p>
1046			<p class="size-18 price text-primary"><@ if (item['spayee:resource']['spayee:availableForMarket']==="true" ) @> <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @></p>
1047			<@ if (item.isMembershipPage != undefined && !item.isMembershipPage) { @>
1048            
1049				
1050					<@ var itemCategory =  (item['spayee:resource']['spayee:filter1'] !== undefined)? item['spayee:resource']['spayee:filter1'][0]:'' @>
1051					<@ if(isMultiplePlansAvailable(sessionCountry, item) === false) { @>
1052						<a title="<@- item['spayee:resource']['spayee:title'] @>" href="/single-checkout/<@- item['_id'] @>?pid=<@ print(getCoursePid(sessionCountry, item)) @>" class="buy-btn btn btn-primary" amplitude-event="course_buy_now_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable(sessionCountry, item) @>","wallet_coins_enabled_on_school":"<@- false @>","category":"<@- itemCategory @>"}' style="border: none;padding: 16px 61px; font-size: 16px; letter-spacing: 0.08px; line-height: 16px; font-weight: 600; text-decoration: none; display: block; text-align: center;">
1053							Buy now
1054						</a>
1055					<@ } else { @>
1056
1057						<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="course_buy_now_tapped_checkout" amplitude-payload='{"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "package_id" : "course_id" @>": "<@- item._id @>","is_a_package":"<@-  item['spayee:resource']['spayee:courseType']== 'package' ? "true" : "false" @>","price_on_card":"<@- removeCurrencySymbol(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>","currency":"INR","multiple_pricing_plans_exist":"<@- isMultiplePlansAvailable(sessionCountry, item) @>","wallet_coins_enabled_on_school":"<@- false @>","category":"<@- itemCategory @>"}' style="border: none;padding: 16px 61px; font-size: 16px; letter-spacing: 0.08px; line-height: 16px; font-weight: 600; text-decoration: none; display: block; text-align: center;">
1058							Buy now
1059						</a>
1060					<@ } @>
1061				
1062				
1063			
1064			<@ } @>
1065		</div>
1066	</script>
1066			
1067	
1068	
1069<script type="text/template" id="spcoursecard-7-template">
1070		<div class="column third course-mob-block">
1071			<div class="inner-course-block">
1072			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
1073			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>			
1074			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>"  amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none;">
1075			<img class="lazy" data-style="width: 100%; height: auto;" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')" >
1076			</a>
1077			<div class="course-price-block">
1078			<p class="text-ellipsis" title="<@- item['spayee:resource']['spayee:title'] @>" style="font-size: 18px; font-weight: 700; line-height: 1.3rem; width: 100%; margin-top: 0px; margin-bottom: 0px; min-height: 47px; text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;">
1079				<@- item['spayee:resource']['spayee:title'] @>
1080			</p>
1081			<p class="text-primary" style="word-break: break-all; font-size: 14px; font-weight: 500; line-height: 1.5; margin-top: 16px; margin-bottom: 0px;">
1082					<@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1083			</p>
1084			</div>
1085			<a title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" class="buy-btn btn btn-primary" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; border: none; cursor: pointer; border-radius: 4px; padding: 13px 28px; line-height: 1.5; font-weight: 600; font-size: 14px; letter-spacing: 0.15px; margin-top: 28px;">
1086				Enroll now
1087			</a>
1088			</div>
1089		</div>
1090</script>
1090		
1091	
1092<script type="text/template" id="spcoursecard-8-template">
1093	 <div class="row clearfix" style="margin-bottom: 24px; margin-top: 14px;">
1094			<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id);   } @>
1095			<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1096                    <div class="column third center" style="padding-left: 0px; padding-right: 0px;">
1097                        <img
1098                            class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover"  onerror="showCourseDefaultCover(this, '<@- item._id @>')"
1099                            style="margin-top: 0px; margin-bottom: 0px;"
1100                        />
1101                    </div>
1102                    <div class="column two-third course-block-mob" style="display: flex; flex-direction: column; justify-content: center;">
1103                        <div class="course-price-block">	
1104							<h3 style="color: rgb(255, 255, 255); font-size: 18px; font-weight: 700; line-height: 1.1; margin-bottom: 0px; margin-top: 0px; text-wrap: balance;overflow: hidden;display: -webkit-box;-webkit-box-orient: vertical;-webkit-line-clamp: 1;">
1105								<@- item['spayee:resource']['spayee:title'] @>
1106							</h3>
1107                        	<div class="sortDescription8">
1108                            	<@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"") @>
1109                        	</div>
1110						</div>
1111
1112                        <a class="buy-btn btn btn-primary" title="<@- item['spayee:resource']['spayee:title'] @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" style="width: fit-content; text-align: left; display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; cursor: pointer; background-color: rgb(231, 215, 73); color: rgb(0, 0, 0);border-radius: 0px;padding: 16px 48px;line-height: 16px;font-weight: 700;font-size: 16px;letter-spacing: 0.08px;border-image: initial;">
1113                            Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1114                        </a>
1115					</div>
1116        </div>
1117	</script>
1117	
1118
1119
1120	<!-- vegas TEMPLATE 9 NEW-->
1121	
1121<script type="text/template" id="spcoursecard-9-template" >
1122    <div class="column third text-center course-card-fixed-height" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 2rem; text-align:left;">
1123        <div style="border:1px solid #D7D7D7; border-radius:24px; padding-bottom: 20px; height: 100%; display: flex; flex-direction: column;">
1124            <@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id); } @>
1125            <@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1126            
1127            <a style="color:black; text-align:left;" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>
1128                <img style="height:200px; width:100%; object-fit:fill; margin:0px 0px; border-top-left-radius:24px; border-top-right-radius:24px;" class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1129            </a>
1130            
1131			<div style="padding:10px 20px; flex-grow: 1; display: flex; flex-direction: column;" class="course-card-content">
1132				<h3 
1133					class="size-18 text-left" 
1134					title="<@- item['spayee:resource']['spayee:title'] @>" 
1135					style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block; margin-bottom: 12px; color: black;"
1136				>
1137					<b style="color:black;"><@- item['spayee:resource']['spayee:title'] @></b>
1138				</h3>
1139			
1140				<div 
1141					class="size-16 text-ellipsis course-card-text" 
1142					title="<@= (item['spayee:resource']['spayee:shortDescription'] || ' ').replace(/<[^>]*>/g, '') @>" 
1143					style="max-height: 3rem; min-height: 3rem; margin-bottom: 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;"
1144				>
1145				<@= (item['spayee:resource']['spayee:shortDescription'] || '').replace(/<[^>]*>/g, '') @>
1146				</div>
1147			</div>
1148			
1149                <div style="margin-top: auto; margin-left:10px;">
1150                    <a style="background-color:#FB5607 !important; border:0px !important; border-radius:62px !important; padding:10px 16px !important; width: fit-content; display: inline-block; text-decoration: none; color: white; padding: 12px 24px; font-weight: 600 !important; font-size: 16px;letter-spacing:0px; !important" 
1151                       class="buy-btn btn btn-primary" 
1152                       title="<@- item['spayee:resource']['spayee:title'] @>" 
1153                       amplitude-event="buy_now_tapped_course_checkout" 
1154                       amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' 
1155                       href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1156                        Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1157                    </a>
1158                </div>
1159            </div>
1160        </div>
1161    </div>
1162</script>
1162
1163
1164			<!--Blaze Course nEW tEMPLATE 10-->
1165			
1165<script type="text/template" id="spcoursecard-10-template">
1166							<div class="column third text-center course-card-fixed-height" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 10px;margin-top:10px; text-align:left;">
1167								<div style="height: 100%; display: flex; flex-direction: column;">
1168									<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id); } @>
1169									<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1170									
1171									<a style="color:black; text-align:left;" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' style="text-decoration: none; color:black; font-size:24px;">
1172										<img style="height:320px;  object-fit:cover; margin:0px 0px;" class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1173									</a>
1174									
1175									<div style=" flex-grow: 1; display: flex; flex-direction: column;" class="course-card-content">
1176										<h3 
1177			    class="size-18 text-left" 
1178			    style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block; margin-bottom: 12px; color: white;"
1179			>
1180			    <b title="<@= item['spayee:resource']['spayee:title'] @>" style="color:white;">
1181			        <@- item['spayee:resource']['spayee:title'] @>
1182			    </b>
1183			</h3>
1184										
1185										<div title="<@= (item['spayee:resource']['spayee:shortDescription'] || ' ').replace(/<[^>]*>/g, '') @>" class="size-16 text-ellipsis course-card-text" style="max-height: 3rem; min-height: 3rem; margin-bottom: 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;color:white;">
1186											<@= (item['spayee:resource']['spayee:shortDescription'] || '').replace(/<[^>]*>/g, '') @>
1187										</div>
1188										
1189										<div style="margin-top: auto;">
1190											<a style="width:100% !important;font-weight:600 !important; letter-spacing:0px; color:black !important; background-color:#D8FD46 !important; border:0px !important; border-radius:0px !important; padding:20px 36px !important; width: fit-content; display: inline-block; text-decoration: none; transition: all 0.16s ease 0s; cursor: pointer; padding: 16px 28px; line-height: 16px; font-weight: 700; font-size: 16px; letter-spacing: 0px; border-image: initial;" 
1191											class="buy-btn btn btn-primary" 
1192											title="<@- item['spayee:resource']['spayee:title'] @>" 
1193											amplitude-event="buy_now_tapped_course_checkout" 
1194											amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' 
1195											href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1196											 Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1197										 </a>
1198			
1199										</div>
1200									</div>
1201								</div>
1202							</div>
1203						</script>
1203
1204			
1205			<!--Olive Course 11-->
1206			
1206<script type="text/template" id="spcoursecard-11-template" >
1207				<@ 
1208				// Calculate colors based on index
1209				var colorIndex = (typeof window.courseCardColorIndex === 'undefined') ? 0 : window.courseCardColorIndex;
1210				var colors = [
1211					{ bg: '#FFA46B', btnBg: '#361500' },  // Orange card → Dark brown button
1212					{ bg: '#87A1F6', btnBg: '#001A71' },  // Blue card → Dark blue button
1213					{ bg: '#B073DC', btnBg: '#34005A' }  // Purple card → Dark brown button (default)
1214				];
1215				var currentColor = colors[colorIndex % 3];
1216				window.courseCardColorIndex = colorIndex + 1;
1217				@>
1218				
1219				<div class="column third text-center course-card course-card-fixed-height" style="padding: 0 15px; margin-bottom: 30px;">
1220					<div class="course-card-wrapper" style="background-color: <@- currentColor.bg @>; height: 100%; border-radius: 32px; overflow: hidden;">
1221						<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; 
1222						if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id); } @>
1223						
1224						<a class="course-image-link" style="display: block; padding: 16px;padding-bottom:0px" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1225							<img style="height:320px; width:100%; object-fit:cover; border-radius: 32px;" class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1226						</a>
1227						
1228						<div style="padding: 20px;" class="course-card-content">
1229							<h3 style="font-size:24px; text-transform:uppercase; color: black; margin: 0 0 15px 0; text-align: left;white-space:nowrap; overflow: hidden; text-overflow: ellipsis;width: 100%;display:block;">
1230								<b title="<@= item['spayee:resource']['spayee:title'] @>"><@- item['spayee:resource']['spayee:title'] @></b>
1231							</h3>
1232							<div title="<@= (item['spayee:resource']['spayee:shortDescription'] || ' ').replace(/<[^>]*>/g, '') @>" class="size-16 text-ellipsis course-card-text" style="max-height: 3rem; min-height: 3rem; color:black; margin-bottom: 12px;text-align: left;">
1233								<@ print(item['spayee:resource']['spayee:shortDescription']!==undefined?item['spayee:resource']['spayee:shortDescription']:"&nbsp;") @>
1234							</div>
1235							<a class="enroll-button" 
1236							   style="display: block; 
1237									  background-color: <@- currentColor.btnBg @>; 
1238									  color: white !important; 
1239									  padding: 12px; 
1240									  text-align: center; 
1241									  font-weight: 600; 
1242									  text-decoration: none;
1243									  border-radius: 32px;"
1244							   href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1245								Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1246							</a>
1247						</div>
1248					</div>
1249				</div>
1250				
1251			</script>
1251
1252			
1253
1254			<!-- Nebula Course 12-->
1255			
1255<script type="text/template" id="spcoursecard-12-template" >
1256				<div class="column third text-center course-card-fixed-height" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 2rem; text-align:left;">
1257					<div style="border:0px; border-radius:16px; padding-bottom: 20px; height: 100%; display: flex; flex-direction: column;">
1258						<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id); } @>
1259						<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1260						
1261						<a style="color:black; text-align:left;" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>
1262							<img style="height:240px; width:100%; object-fit:fill; margin:0px 0px; border-radius:16px; " class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1263						</a>
1264						
1265						<div style="padding:10px 0px; flex-grow: 1; display: flex; flex-direction: column;" class="course-card-content">
1266							<h3 
1267								class="size-18 text-left" 
1268								title="<@- item['spayee:resource']['spayee:title'] @>" 
1269								style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block; margin-bottom: 12px; color: black;"
1270							>
1271								<b style="color:black;"><@- item['spayee:resource']['spayee:title'] @></b>
1272							</h3>
1273						
1274							<div 
1275								class="size-16 text-ellipsis course-card-text" 
1276								title="<@= (item['spayee:resource']['spayee:shortDescription'] || ' ').replace(/<[^>]*>/g, '') @>" 
1277								style="max-height: 3rem; min-height: 3rem; margin-bottom: 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;"
1278							>
1279							<@= (item['spayee:resource']['spayee:shortDescription'] || '').replace(/<[^>]*>/g, '') @>
1280							</div>
1281						</div>
1282							
1283							<div style="margin-top: auto; margin-left:0px;">
1284								<a style="background-color:#6715FF !important;  border-radius:12px !important; padding:10px 16px !important; width: fit-content; display: inline-block; text-decoration: none; color: white; padding: 12px 24px; font-weight: 600 !important; font-size: 16px;letter-spacing:0px; !important" 
1285								   class="buy-btn btn btn-primary" 
1286								   title="<@- item['spayee:resource']['spayee:title'] @>" 
1287								   amplitude-event="buy_now_tapped_course_checkout" 
1288								   amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' 
1289								   href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1290									Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1291								</a>
1292							</div>
1293						</div>
1294					</div>
1295				</div>
1296			</script>
1296
1297
1298
1299
1300		<!--Dusk Course-13-->
1301		
1301<script type="text/template" id="spcoursecard-13-template" >
1302			<div class="column third text-center course-card-fixed-height" style="padding-left: 1rem; padding-right: 1rem; margin-bottom: 2rem; text-align:left;">
1303				<div style="border:0px; border-radius:16px; padding-bottom: 20px; height: 100%; display: flex; flex-direction: column;">
1304					<@ var curl = "https://d502jbuhuh9wk.cloudfront.net/courses/"+ item._id +"/"+ item._id +"_scaled_cover.jpg?v=" + item['spayee:resource']['spayee:coverVersion']; if(isNaN(item['spayee:resource']['spayee:coverVersion'])) { curl = showCourseDefaultCover(null, item._id); } @>
1305					<@ var planName = getCoursePlanName(sessionCountry, item), price = getCoursePrice(sessionCountry, item, '18.0', ''), isPackage = item['spayee:resource']['spayee.courseType'] == 'package', courseId = isPackage ? '' : item._id, packageId = isPackage ? item._id : ''; @>
1306					
1307					<a style="color:black; text-align:left;" title="<@- item['spayee:resource']['spayee:title'] @>" href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>" amplitude-event="buy_now_tapped_course_checkout" amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}'>
1308						<img style="height:240px; width:100%; object-fit:fill; margin:0px 0px; border-radius:16px; " class="lazy" data-src="<@- curl @>" alt="<@- item['spayee:resource']['spayee:title'] @> cover" onerror="showCourseDefaultCover(this, '<@- item._id @>')">
1309					</a>
1310					
1311					<div style="padding:10px 0px; flex-grow: 1; display: flex; flex-direction: column;" class="course-card-content">
1312						<h3 
1313							class="size-18 text-left" 
1314							title="<@- item['spayee:resource']['spayee:title'] @>" 
1315							style="white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: 100%; display: block; margin-bottom: 12px; color: black;"
1316						>
1317							<b style="color:black;"><@- item['spayee:resource']['spayee:title'] @></b>
1318						</h3>
1319					
1320						<div 
1321							class="size-16 text-ellipsis course-card-text" 
1322							title="<@= (item['spayee:resource']['spayee:shortDescription'] || ' ').replace(/<[^>]*>/g, '') @>" 
1323							style="max-height: 3rem; min-height: 3rem; margin-bottom: 12px; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1;"
1324						>
1325						<@= (item['spayee:resource']['spayee:shortDescription'] || '').replace(/<[^>]*>/g, '') @>
1326						</div>
1327					</div>
1328					
1329				   
1330						
1331						<div style="margin-top: auto; margin-left:0px;">
1332							<a style="background-color:#282400 !important;border:0px ;  border-radius:41px !important; padding:10px 24px !important; width: fit-content; display: inline-block; text-decoration: none; color: white; padding: 12px 24px; font-weight: 600 !important; font-size: 16px;letter-spacing:0px; !important" 
1333							   class="buy-btn btn btn-primary" 
1334							   title="<@- item['spayee:resource']['spayee:title'] @>" 
1335							   amplitude-event="buy_now_tapped_course_checkout" 
1336							   amplitude-payload='{"plan_name": "<@- planName @>", "price": <@- price @>, "currency": "INR", "course_id": "<@- courseId @>", "is_package": <@- isPackage @>, "package_id": "<@- packageId @>"}' 
1337							   href="<@ print(getCourseLandingPageUrl(item._id, item['spayee:resource']['spayee:courseUrl'])) @>">
1338								Enroll for <@ print(getCourseDisplayPrice('₹', sessionCountry, item, '18.0', '', false)) @>
1339							</a>
1340						</div>
1341					</div>
1342				</div>
1343			</div>
1344		</script>
1344
1345			
1346			
1347
1348
1349
1350
1351
1352
1353
1354<!-- Curriculum 1st Template -->
1355<script type="text/template" id="coursecurr-1-template">
1356       <table class="table courseContents">
1357        <thead>
1358            <tr>
1359                <td style="width: 50px;"></td>
1360                <td style="width: 50px;"></td>
1361                <td></td>
1362            </tr>
1363        </thead>
1364        <tbody>
1365            <@ $.each(item, function(index, value) { @>
1366            <tr>
1367                <td><i class="material-icons courseItemIcon" data-type="<@- value.type @>"></i></td>
1368                <td colspan="2">
1369                    <@- value.title @> 
1370					<@ if(value.type == 'aiheading') { @>
1371						<small>(coming soon)</small><@ } @>
1372					<@ if(assetInfo && value.type == 'video' && value.duration !== undefined && value.duration > 0) { @>
1373						<small>(<@ print(Math.floor(value.duration)) @>:00)</small><@ } @>
1374					<@ if(assetInfo && value.type == 'pdf' && value.pages !== undefined && value.pages > 0) { @>
1375						<small>(<@- value.pages @> pages)</small>
1376					<@ } @>
1377                </td>
1378            </tr>
1379            <@ if(value.items != undefined) { @> <@ $.each(value['items'], function(index1, value1) { @>
1380            <tr>
1381                <td></td>
1382                <td><i class="material-icons courseItemIcon" data-type="<@- value1.type @>"></i></td>
1383                <td>
1384                    <@- value1.title @>
1385					<@ if(assetInfo && value.type == 'video' && value1.duration !== undefined && value1.duration > 0) { @><small>(<@ print(Math.floor(value1.duration)) @>:00)</small><@ } @>
1386					<@ if(assetInfo && value1.type =='pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
1387					<@ if(value1.type =='aiheading') { @><small>(coming soon)</small><@ } @>
1388                </td>
1389            </tr>
1390            <@ }); @> <@ } @> <@ }); @>
1391        </tbody>
1392    </table>
1393</script>
1393
1394
1395
1396<!-- Curriculum 2nd Template -->
1397<script type="text/template" id="coursecurr-2-template">
1398    <div class="column full curriculum2"  spellcheck="false">
1399      <div class="course-content1" >
1400    	<p style="font-size: 15px; font-weight: 400; margin-top: 0px;">
1401    		<@if(summary.modules && summary.modules>0){@>
1402    			<@print(summary.modules)@> Modules &nbsp;<i class="icon ion-android-folder-open"></i>&nbsp; &nbsp; <@if(summary.sessions && summary.sessions>0 && curriculumAssetInfo){@>|<@}@>&nbsp; &nbsp;
1403    		<@}@>
1404    		<@if(summary.sessions && summary.sessions>0 && curriculumAssetInfo){@>
1405    			<@print(summary.sessions)@> Sessions <i class="icon ion-android-laptop"></i>&nbsp; &nbsp; <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>|<@}@>&nbsp; &nbsp;
1406    		<@}@>
1407    		<@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
1408    			<@print(millisecondsToHHMMSSStr(summary.durations))@> Total Time&nbsp;&nbsp;<i class="icon ion-ios-clock-outline"></i>
1409    		<@}@>
1410    	</p>
1411      </div>
1412
1413
1414    	<@ $.each(item, function(index, value) { @>
1415    	<div class="course-course-content-box" >
1416    		<div class="course-content-blue-title <@if(value && value.contents){@> bg-primary <@}else if($('#'+id).closest('div.is-section').hasClass("is-bg-grey")){@>bg-white<@}else{@>is-bg-grey<@}@>" >
1417              <span class="title-icon">
1418    			<span class="material-icons <@if(value && !value.contents){@> text-primary <@}@>"><@ print(getCourseAssetIcon(value.type))@></span>
1419    		  </span>
1420    			<div class="titl5b" >
1421    				<h3 class="<@if(value && !value.contents){@> text-primary <@}@>">
1422    					<@print(value.title)@> <@ if(curriculumAssetInfo && value.type == 'pdf' && value.pages !== undefined && value.pages > 0) { @><small>(<@- value.pages @> pages)</small><@ } @>
1423    					<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
1424    							<a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value.id)@>" class="previewBtn"><span class="<@if(value && !value.contents){@> text-primary <@}@>">Preview</span></a>
1425    					<@}@>
1426    				</h3>
1427    		  		<p class="<@if(value && !value.contents){@> text-primary <@}@>"><@if(value && value.contents && curriculumAssetInfo){@>
1428    						Sessions: <@print(value.contents)@>
1429    					<@}@>
1430    					<@if(value.moduleDurations && curriculumAssetInfo){@><@if(value && value.contents){@>|<@}@>
1431    						Time: <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1432    					<@}@>
1433    				<@if(value && value.contents>0){@><span class="material-icons">expand_more</span><@}@>  </p>
1434    			</div>
1435    		</div>
1436    <@if(value && value.items){@>
1437    	<@ $.each(value['items'], function(index1, value1) { @>
1438    		<div class="course-content-body <@if(index==0){@>showing<@ }@>" >
1439    				<div class="desc1 " >
1440    				<div class="is-box-9" >
1441    					<div class="boxa1" >
1442    						<span class="material-icons text-primary"><@ print(getCourseAssetIcon(value1.type))@></span>
1443    						<p> <@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
1444							<@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
1445							</p>
1446		
1447    					</div>
1448    				</div>
1449    				<div class="is-box-1" >
1450    					<div class="boxa2" >
1451    						<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
1452    								<a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>#<@print(value1.id)@>">
1453										<@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
1454									</a>
1455    						<@}@>
1456    					</div>
1457    				</div>
1458    				<div class="is-box-2" >
1459    					<div class="boxa2" >
1460    						<p class="duration"><@if(value1.duration && curriculumAssetInfo){@><@print(millisecondsToHHMMSSStr(value1.duration))@><@}@></p>
1461    					</div>
1462    				</div>
1463    				</div>
1464    		</div>
1465    	<@ }); @>
1466    <@}@>
1467    	</div>
1468      <@ }); @>
1469
1470    </div>
1471</script>
1471
1472
1473
1474
1475
1476
1477<!-- Curriculum 3rd Template -->
1478<script type="text/template" id="coursecurr-3-template">
1479     <div class="column full" spellcheck="false" data-gramm="false">
1480        <div class="accordion-syllabus" >
1481			<@ $.each(item, function(index, value) { @>
1482            <div class="accordion-syllabus-item">
1483                <header class="accordion-syllabus-header">
1484                    <h4 class="accordion-syllabus-header__title">
1485                        <span class="text-primary">
1486							<@if(index<9){@>
1487									0<@print(index+1)@>
1488								<@ } else {@> 
1489									<@print(index+1)@> 
1490							<@ } @>
1491						</span>
1492                        <p><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
1493							<@if(value && value.items){@>
1494								<@ print(value.items.length) @> attachment(s) 
1495							<@}@>
1496						<@if(value.moduleDurations && curriculumAssetInfo){@>
1497							<@if(value && value.contents){@> • <@}@>
1498    						<@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1499    					<@}@>
1500						</span></p>
1501						
1502                    </h4>
1503                    <div class="accordion-syllabus-header__info">
1504                        <p class="text-primary hide-sm">
1505							<@if(value && value.items){@>
1506								<@ print(value.items.length) @> attachment(s) 
1507							<@}@>
1508						<@if(value.moduleDurations && curriculumAssetInfo){@>
1509							<@if(value && value.contents){@> • <@}@>
1510    						<@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1511    					<@}@>
1512						</p>
1513						<@if(value && value.items){@>
1514                        <div class="accordion-syllabus-header__icon text-primary">
1515                            <i class="fa fa-angle-left" aria-hidden="true"></i>
1516                        </div>
1517						<@}@>
1518                    </div>
1519                </header>
1520				<@if(value && value.items){@>
1521                <div class="accordion-content" style="">
1522                    <div class="accordian-content-block">
1523                        <ul class="accordian-list">
1524							<@ $.each(value['items'], function(index1, value1) { @>
1525                            <li class="accordian-list__item">
1526                                <div class="accordian-content-card">
1527                                    <div class="accordian-content-card__info">
1528                                        <div class="accordian-content-card__ico">
1529											<@ if(value1.type == 'code'){ @>
1530												<img src="/resources/images/CodeIcon.svg">
1531											<@ } else { @>
1532												<span class="material-icons text-primary">
1533													<@ print(getCourseAssetIcon(value1.type))@>
1534												</span>
1535											<@ } @>
1536										</div>
1537                                        <div class="accordian-content-card__title">
1538											<@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
1539											<@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
1540										</div>
1541                                    </div>
1542                                    <div class="accordian-content-card__link">
1543										<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
1544    										<a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value1.id)@>" class="previewBtn">
1545												<span class="text-primary">
1546													<@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @><span style="color:#000"><i class="fa fa-solid fa-arrow-up-right"></i></span>
1547												</span>
1548											</a>
1549    									<@}@>
1550                                    </div>
1551                                </div>
1552                            </li>
1553                    		<@ }); @>
1554                        </ul>
1555                    </div>
1556                </div>
1557			<@ } @>
1558            </div>
1559           <@ }); @>   
1560        </div>
1561    </div>
1562</script>
1562
1563
1564
1565
1566<!-- Curriculum 4th Template -->
1567<script type="text/template" id="coursecurr-4-template">
1568   <div class="column full coursecurr4">
1569	 <@ $.each(item, function(index, value) { @>
1570	 <div class="accordion-syllabus-item">
1571	 <header class="accordion-syllabus-header" >
1572		 <h4 class="accordion-syllabus-header__title">
1573			 <span>
1574				 <@if(index<9){@>0<@print(index+1)@><@ } else {@> <@print(index+1)@> <@ } @>
1575			 </span>
1576			 <div class="accordion-syllabus-header__title-block" > 
1577				 <p style="font-size: 20px; font-weight: 700;">
1578					 <@print(value.title)@>
1579				 </p>
1580				 <p class="text-primary" style="font-weight: 500; font-size: 14px; line-height: 150%; margin-top: 10px; ">
1581					 <@if(value && value.type == 'aiheading'){@>
1582						 (coming soon)
1583					 <@}@>
1584					 <@if(value && value.items){@>
1585						 <@ print(value.items.length) @> attachment(s) 
1586					 <@}@>
1587					 <@if(value.moduleDurations && curriculumAssetInfo){@><@if(value && value.contents){@> • <@}@>
1588						 <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1589					 <@}@>
1590				 </p>
1591			 </div>
1592		 </h4>
1593		 <@if(value && value.items){@>
1594		 <div class="accordion-syllabus-header__info" >
1595			 <div class="accordion-syllabus-header__icon" >
1596				 <i class="fa fa-angle-left" aria-hidden="true"></i>
1597			 </div>
1598		 </div>
1599		 <@ } @>
1600	 </header>
1601	 <@if(value && value.items){@>
1602	 <div class="accordion-content"  style="">
1603		 <div class="accordian-content-block" >
1604			 <ul class="accordian-list">
1605				 <@ $.each(value['items'], function(index1, value1) { @>
1606				 <li class="accordian-list__item">
1607					 <div class="accordian-content-card" >
1608						 <div class="accordian-content-card__info" >
1609							 <div class="accordian-content-card__ico" >
1610								 <@ if(value1.type == 'code'){ @>
1611									 <img src="/resources/images/CodeIcon.svg">
1612								 <@ } else { @>
1613									 <span class="material-icons text-primary">
1614										 <@ print(getCourseAssetIcon(value1.type))@>262
1615									 </span>
1616								 <@ } @>
1617							 </div>
1618							 <div class="accordian-content-card__title" >
1619								 <@print(value1.title)@> <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @><small>(<@- value1.pages @> pages)</small><@ } @>
1620								 <@ if(value1.type == 'aiheading') { @><small>(coming soon)</small><@ } @>
1621							 </div>
1622						 </div>
1623						 <div class="accordian-content-card__link" >
1624							 <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
1625							 <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,"-"))@>-<@- courseId @>#<@print(value1.id)@>" class="previewBtn">
1626								 <span class="text-primary">
1627									 <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @> <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right"></i></span>
1628								 </span>
1629							 </a>
1630							 <@ } @>
1631						 </div>
1632					 </div>
1633				 </li>
1634				 <@ }); @>
1635			 </ul>
1636		 </div>
1637	 </div>
1638	 <@ } @>
1639   </div>
1640  <@ }); @>  
1641 </div>
1642 </script>
1642
1643
1644 <!-- vegas curriculum-5-->
1645 
1645<script>
1646	// Simple responsive positioning
1647	function updatePosition() {
1648		const element = document.getElementById('totalTimeElement');
1649		if(element){
1650		if (window.innerWidth > 768) {
1651			element.style.position = 'absolute';
1652			element.style.top = "5px";
1653			element.style.right = '122px';
1654		} else {
1655			element.style.position = 'static';
1656			element.style.margin = '0 0';
1657		}
1658		}
1659	}
1660	
1661	// Run on load and resize
1662	window.addEventListener('load', updatePosition);
1663	window.addEventListener('resize', updatePosition);
1664	</script>
1664
1665 
1665<script type="text/template" id="coursecurr-5-template">
1666	<div class="total-time" id="totalTimeElement" style="
1667    font-size: 18px;
1668    font-weight: 600;
1669    color: #FB5607;
1670    padding: 8px 12px;
1671    border-radius: 4px;
1672    white-space: nowrap;">
1673     <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
1674        <@print(millisecondsToHHMMSSStr(summary.durations))@>
1675    <@}@>
1676</div>
1677
1678<div class="accordion-syllabus" style="max-width:1000px !important">
1679    <@ $.each(item, function(index, value) { @>
1680    <div class="accordion-syllabus-item" style="<@ if(index >= 5) { @> display: none; <@ } @>">
1681        <header class="accordion-syllabus-header" style="background:#F5F5F5 !important; border-radius:0px;box-shadow:none;padding:0.5rem !important">
1682            <h4 class="accordion-syllabus-header__title">
1683                <span class="text-primary" style="font-size:18px ; font-weight:600; color:black;"> 
1684                    <@if(index < 9) {@>  
1685                        Week <@print(index + 1)@>:  
1686                    <@ } else {@>  
1687                        Week <@print(index + 1)@>:
1688                    <@ } @>  
1689                </span>
1690                <p style="font-size:18px ; font-weight:600;"><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
1691                    <@if(value && value.items){@>
1692                        <@ print(value.items.length) @> attachment(s) 
1693                    <@} else {@>
1694                        1 attachment(s)
1695                    <@}@>
1696                    <@if(value.moduleDurations && curriculumAssetInfo){@>
1697						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1698					<@}@>
1699                </span></p>
1700            </h4>
1701			
1702            <div class="accordion-syllabus-header__info">
1703                <p class="text-primary hide-sm" style="color:#FB5607 !important;">
1704                    <@if(value && value.items){@>
1705                        <@ print(value.items.length) @> attachment(s) 
1706                    <@} else {@>
1707                        1 attachment(s)
1708                    <@}@>
1709                    <@if(value.moduleDurations && curriculumAssetInfo){@>
1710						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1711					<@}@>
1712                </p>
1713                <div class="accordion-syllabus-header__icon text-primary">
1714                    <i class="fa fa-angle-left" aria-hidden="true" style="color:#FB5607;"></i>
1715                </div>
1716            </div>
1717        </header>
1718        <div class="accordion-content" style="filter:none;">
1719            <div class="accordian-content-block" style="background:#F5F5F5 !important;box-shadow:none;padding:16px 66px 3px 69px !important;">
1720                <ul class="accordian-list">
1721                    <@ var itemsCount = value['items'] ? value['items'].length : 0; @>
1722                    <@ if(value['items'] && value['items'].length > 0) { @>
1723                        <@ $.each(value['items'], function(index1, value1) { @>
1724                        <li class="accordian-list__item" style="padding:0px 0px !important;<@ if(index1 >= 5) { @> display: none; <@ } @>"> 
1725							<style>
1726								@media (max-width: 768px) {
1727								  .accordian-content-card {
1728									flex-direction: column !important;
1729									align-items: stretch !important;
1730								  }
1731							  
1732								  .accordian-content-card__top {
1733									flex-direction: row !important;
1734									justify-content: space-between !important;
1735									align-items: center !important;
1736									width: 100% !important;
1737								  }
1738							  
1739								  .accordian-content-card__title {
1740									flex: 1 !important;
1741									margin: 0 10px !important;
1742									white-space: nowrap;
1743									overflow: hidden;
1744									text-overflow: ellipsis;
1745								  }
1746							  
1747								  .accordian-content-card__bottom {
1748									flex-direction: row !important;
1749									justify-content: space-between !important;
1750									align-items: center !important;
1751									width: 100% !important;
1752									margin-top: 6px !important;
1753								  }
1754							  
1755								  .accordian-content-card__link {
1756									flex: 1 !important;
1757									min-width: 0 !important;
1758									text-align: left !important;
1759								  }
1760							  
1761								  .accordian-content-card__time {
1762									flex-shrink: 0 !important;
1763									text-align: right !important;
1764								  }
1765								}
1766							  </style>
1767							  
1768							  <div class="accordian-content-card"
1769     style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
1770
1771							  
1772								<!-- Row 1: Icon + Title + Collapse Icon -->
1773								<div class="accordian-content-card__top"
1774									 style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
1775							  
1776								  <!-- Icon -->
1777								  <div class="accordian-content-card__ico" style="flex-shrink: 0;">
1778									<@ if(value1.type == 'code'){ @>
1779									  <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
1780									<@ } else { @>
1781									  <span class="material-icons text-primary" style="color:#FB5607; font-size: 24px;">
1782										<@ print(getCourseAssetIcon(value1.type))@>
1783									  </span>
1784									<@ } @>
1785								  </div>
1786							  
1787								  <!-- Title -->
1788								  <div class="accordian-content-card__title"
1789									   style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
1790									<@print(value1.title)@>
1791								  </div>
1792							  
1793								  <!-- Collapse Icon (optional) -->
1794								  <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
1795									<!-- Example placeholder, add real icon if needed -->
1796									<!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
1797								  </div>
1798								</div>
1799							  
1800								<!-- Row 2: Preview Button and Time -->
1801								<div class="accordian-content-card__bottom"
1802									 style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
1803							  
1804								  <!-- Preview Button -->
1805								  <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
1806									<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
1807									  <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value1.id)@>"
1808										 class="previewBtn"
1809										 style="font-size: 14px; font-weight: 500; text-decoration: none; color: #FB5607; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
1810										<span class="text-primary" style="color:#FB5607;">
1811										  <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
1812										  <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#FB5607;"></i></span>
1813										</span>
1814									  </a>
1815									<@}@>
1816								  </div>
1817							  
1818								  <!-- Time -->
1819								  <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
1820									<p class="text-primary course-asset-time"
1821									   style="font-size: 14px; font-weight: 500; color:#FB5607 !important; margin: 0;">
1822									  <@ if(value1.duration && value1.duration > 0) { @>
1823										<@ print(millisecondsToHHMMSSStr(value1.duration)) @>
1824									  <@ } else { @>
1825										--
1826									  <@ } @>
1827									</p>
1828								  </div>
1829							  
1830								</div>
1831							  </div>
1832							  
1833							
1834                        </li>
1835                        <@ }); @>
1836                    <@ } else { @>
1837                        <li class="accordian-list__item" style="padding:0px 0px !important;">
1838							<div class="accordian-content-card"
1839							style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
1840					   
1841						   <!-- Row 1: Icon + Title + Collapse Icon -->
1842						   <div class="accordian-content-card__top"
1843								style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
1844						 
1845							   <!-- Icon -->
1846							   <div class="accordian-content-card__ico" style="flex-shrink: 0;">
1847								   <@ if(value.type == 'code'){ @>
1848									   <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
1849								   <@ } else { @>
1850									   <span class="material-icons text-primary" style="color:#FB5607; font-size: 24px;">
1851										   <@ print(getCourseAssetIcon(value.type))@>
1852									   </span>
1853								   <@ } @>
1854							   </div>
1855						 
1856							   <!-- Title -->
1857							   <div class="accordian-content-card__title"
1858									style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
1859								   <@print(value.title)@>
1860							   </div>
1861						 
1862							   <!-- Collapse Icon (optional) -->
1863							   <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
1864								   <!-- Example placeholder, add real icon if needed -->
1865								   <!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
1866							   </div>
1867						   </div>
1868						 
1869						   <!-- Row 2: Preview Button and Time -->
1870						   <div class="accordian-content-card__bottom"
1871								style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
1872						 
1873							   <!-- Preview Button -->
1874							   <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
1875								   <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
1876									   <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value.id)@>"
1877										  class="previewBtn"
1878										  style="font-size: 14px; font-weight: 500; text-decoration: none; color: #FB5607; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
1879										   <span class="text-primary" style="color:#FB5607;">
1880											   <@ if(value.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
1881											   <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#FB5607;"></i></span>
1882										   </span>
1883									   </a>
1884								   <@}@>
1885							   </div>
1886						 
1887							   <!-- Time -->
1888							   <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
1889								   <p class="text-primary course-asset-time"
1890									  style="font-size: 14px; font-weight: 500; color:#FB5607 !important; margin: 0;">
1891									   <@ if(value.duration && value.duration > 0) { @>
1892										   <@ print(millisecondsToHHMMSSStr(value.duration)) @>
1893									   <@ } else { @>
1894										   --
1895									   <@ } @>
1896								   </p>
1897							   </div>
1898						   </div>
1899					   </div>
1900                        </li>
1901                    <@ } @>
1902                </ul>
1903            
1904                <@ if(itemsCount > 5) { @>
1905                    <div style="text-align: center; margin-top: 10px;">
1906						<button style="background-color: #FB5607; color: white; padding: 4px 28px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
1907						onclick="
1908							var parentAccordion = this.closest('.accordion-content');
1909							parentAccordion.style.maxHeight = 'none';
1910							this.closest('.accordian-content-block').querySelectorAll('.accordian-list__item').forEach(el => el.style.display = 'block'); 
1911							this.style.display = 'none';
1912						">
1913                            View All
1914                        </button>
1915                    </div>
1916                <@ } @>
1917            </div>
1918        </div>
1919    </div>
1920    <@ }); @>
1921    <@ if(item.length > 5) { @>
1922        <div style="text-align: center; margin-top: 10px;margin-bottom: 20px;">
1923            <button style="background-color: #FB5607; color: white; padding: 8px 32px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
1924                onclick="document.querySelectorAll('.accordion-syllabus-item').forEach(el => el.style.display = 'block'); this.style.display = 'none';">
1925                View All Sessions
1926            </button>
1927        </div>
1928    <@ } @>
1929</div>
1930	</div>
1931</script>
1931
1932
1933
1934<!--Blaze-Curriculum-6-->
1935<script type="text/template" id="coursecurr-6-template">
1936    <div class="column full" spellcheck="false" data-gramm="false">
1937        <div class="total-time" id="totalTimeElement" style="
1938            font-size: 18px;
1939            font-weight: 600;
1940            color: #D8FD46;
1941            padding: 8px 12px;
1942            border-radius: 4px;
1943            white-space: nowrap;
1944            background: #232323;
1945            margin-bottom: 20px;">
1946            <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
1947                <@print(millisecondsToHHMMSSStr(summary.durations))@>
1948            <@}@>
1949        </div>
1950
1951        <div class="accordion-syllabus">
1952            <@ $.each(item, function(index, value) { @>
1953            <div class="accordion-syllabus-item" style="<@ if(index >= 5) { @> display: none; <@ } @>">
1954                <header class="accordion-syllabus-header" style="background:#232323 !important; border-radius:0px;box-shadow:none;padding:20px 20px !important">
1955                    <h4 class="accordion-syllabus-header__title">
1956                        <span class="text-primary" style="font-size:18px ; font-weight:600; color:white;"> 
1957                            <@if(index < 9) {@>  
1958								Week <@print(index + 1)@>:  
1959							<@ } else {@>  
1960								Week <@print(index + 1)@>:
1961							<@ } @>  
1962                        </span>
1963                        <p style="font-size:18px ; font-weight:600;color:white;"><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;color:#D8FD46 !important;">
1964							<@if(value && value.items){@>
1965								<@ print(value.items.length) @> attachment(s) 
1966							<@} else {@>
1967								1 attachment(s)
1968							<@}@>
1969							<@if(value.moduleDurations && curriculumAssetInfo){@>
1970								• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1971							<@}@>
1972						</span></p>
1973                    </h4>
1974                    <div class="accordion-syllabus-header__info">
1975                        <p class="text-primary hide-sm" style="color:#D8FD46 !important;">
1976                            <@if(value && value.items){@>
1977                                <@ print(value.items.length) @> attachment(s) 
1978                            <@} else {@>
1979                                1 attachment(s)
1980                            <@}@>
1981							<@if(value.moduleDurations && curriculumAssetInfo){@>
1982								• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
1983							<@}@>
1984                        </p>
1985                        <div class="accordion-syllabus-header__icon text-primary">
1986                            <i class="fa fa-angle-left" aria-hidden="true" style="color:#D8FD46;"></i>
1987                        </div>
1988                    </div>
1989                </header>
1990                <div class="accordion-content" style="filter:none;background:#181818;">
1991                    <div class="accordian-content-block" style="box-shadow:none;padding:16px 20px !important;background:transparent !important;">
1992                        <ul class="accordian-list">
1993                            <@ var itemsCount = value['items'] ? value['items'].length : 0; @>
1994                            <@ if(value['items'] && value['items'].length > 0) { @>
1995                                <@ $.each(value['items'], function(index1, value1) { @>
1996                                <li class="accordian-list__item" style="padding:0px 0px !important;<@ if(index1 >= 5) { @> display: none; <@ } @>"> 
1997                                    <style>
1998                                        @media (max-width: 768px) {
1999                                            .accordian-content-card {
2000                                                flex-direction: column !important;
2001                                                align-items: stretch !important;
2002                                            }
2003                                        
2004                                            .accordian-content-card__top {
2005                                                flex-direction: row !important;
2006                                                justify-content: space-between !important;
2007                                                align-items: center !important;
2008                                                width: 100% !important;
2009                                            }
2010                                        
2011                                            .accordian-content-card__title {
2012                                                flex: 1 !important;
2013                                                margin: 0 10px !important;
2014                                                white-space: nowrap;
2015                                                overflow: hidden;
2016                                                text-overflow: ellipsis;
2017                                            }
2018                                        
2019                                            .accordian-content-card__bottom {
2020                                                flex-direction: row !important;
2021                                                justify-content: space-between !important;
2022                                                align-items: center !important;
2023                                                width: 100% !important;
2024                                                margin-top: 6px !important;
2025                                            }
2026                                        
2027                                            .accordian-content-card__link {
2028                                                flex: 1 !important;
2029                                                min-width: 0 !important;
2030                                                text-align: left !important;
2031                                            }
2032                                        
2033                                            .accordian-content-card__time {
2034                                                flex-shrink: 0 !important;
2035                                                text-align: right !important;
2036                                            }
2037                                        }
2038                                    </style>
2039                                    
2040                                    <div class="accordian-content-card"
2041                                        style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; ">
2042                                    
2043                                        <!-- Row 1: Icon + Title + Collapse Icon -->
2044                                        <div class="accordian-content-card__top"
2045                                            style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2046                                        
2047                                            <!-- Icon -->
2048                                            <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2049                                                <@ if(value1.type == 'code'){ @>
2050                                                    <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px; filter: invert(1);">
2051                                                <@ } else { @>
2052                                                    <span class="material-icons text-primary" style="color:#D8FD46; font-size: 24px;">
2053                                                        <@ print(getCourseAssetIcon(value1.type))@>
2054                                                    </span>
2055                                                <@ } @>
2056                                            </div>
2057                                        
2058                                            <!-- Title -->
2059                                            <div class="accordian-content-card__title"
2060                                                style="font-weight: 400; font-size: 14px; color: white; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2061                                                <@print(value1.title)@>
2062                                                <!-- <@ if(curriculumAssetInfo && value1.type == 'pdf' && value1.pages !== undefined && value1.pages > 0) { @>
2063                                                    <small style="color: #999;">(<@- value1.pages @> pages)</small>
2064                                                <@ } @>
2065                                                <@ if(value1.type == 'aiheading') { @>
2066                                                    <small style="color: #999;">(coming soon)</small>
2067                                                <@ } @> -->
2068                                            </div>
2069                                        
2070                                            <!-- Collapse Icon -->
2071                                            <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2072                                            </div>
2073                                        </div>
2074                                    
2075                                        <!-- Row 2: Preview Button and Time -->
2076                                        <div class="accordian-content-card__bottom"
2077                                            style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2078                                        
2079                                            <!-- Preview Button -->
2080                                            <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2081                                                <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
2082                                                <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value1.id)@>"
2083                                                    class="previewBtn"
2084                                                    style="font-size: 14px; font-weight: 500; text-decoration: none; color: #D8FD46 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2085                                                    <span class="text-primary" style="color:#D8FD46;">
2086                                                        <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2087                                                        <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#D8FD46;"></i></span>
2088                                                    </span>
2089                                                </a>
2090                                                <@}@>
2091                                            </div>
2092                                        
2093                                            <!-- Time -->
2094                                            <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2095                                                <p class="text-primary course-asset-time"
2096                                                    style="font-size: 14px; font-weight: 500; color:#D8FD46 !important; margin: 0;">
2097                                                    <@ if(value1.duration && value1.duration > 0) { @>
2098                                                        <@ print(millisecondsToHHMMSSStr(value1.duration)) @>
2099                                                    <@ } else { @>
2100                                                        --
2101                                                    <@ } @>
2102                                                </p>
2103                                            </div>
2104                                        </div>
2105                                    </div>
2106                                </li>
2107                                <@ }); @>
2108                            <@ } else { @>
2109								<li class="accordian-list__item" style="padding:0px 0px !important;">
2110									<div class="accordian-content-card"
2111										style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; ">
2112								   
2113										<!-- Row 1: Icon + Title + Collapse Icon -->
2114										<div class="accordian-content-card__top"
2115											style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2116									  
2117											<!-- Icon -->
2118											<div class="accordian-content-card__ico" style="flex-shrink: 0;">
2119												<@ if(value.type == 'code'){ @>
2120													<img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px; filter: invert(1);">
2121												<@ } else { @>
2122													<span class="material-icons text-primary" style="color:#D8FD46; font-size: 24px;">
2123														<@ print(getCourseAssetIcon(value.type))@>
2124													</span>
2125												<@ } @>
2126											</div>
2127									  
2128											<!-- Title -->
2129											<div class="accordian-content-card__title"
2130												style="font-weight: 400; font-size: 14px; color: white; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2131												<@print(value.title)@>
2132											</div>
2133									  
2134											<!-- Collapse Icon (optional) -->
2135											<div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2136												<!-- Example placeholder, add real icon if needed -->
2137												<!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2138											</div>
2139										</div>
2140									  
2141										<!-- Row 2: Preview Button and Time -->
2142										<div class="accordian-content-card__bottom"
2143											style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2144									  
2145											<!-- Preview Button -->
2146											<div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2147												<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
2148													<a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value.id)@>"
2149													   class="previewBtn"
2150													   style="font-size: 14px; font-weight: 500; text-decoration: none; color: #D8FD46 !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2151														<span class="text-primary" style="color:#D8FD46;">
2152															<@ if(value.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2153															<span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#D8FD46;"></i></span>
2154														</span>
2155													</a>
2156												<@}@>
2157											</div>
2158									  
2159											<!-- Time -->
2160											<div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2161												<p class="text-primary course-asset-time"
2162												   style="font-size: 14px; font-weight: 500; color:#D8FD46 !important; margin: 0;">
2163													<@ if(value.duration && value.duration > 0) { @>
2164														<@ print(millisecondsToHHMMSSStr(value.duration)) @>
2165													<@ } else { @>
2166														--
2167													<@ } @>
2168												</p>
2169											</div>
2170										</div>
2171									</div>
2172								</li>
2173                            <@ } @>
2174                        </ul>
2175                    
2176                        <@ if(itemsCount > 5) { @>
2177                            <div style="text-align: center; margin-top: 10px;">
2178                                <button style="background-color: #D8FD46; color: black; padding: 4px 28px; border: none; cursor: pointer; font-size: 16px; border-radius: 0px;" 
2179                                   onclick="
2180							var parentAccordion = this.closest('.accordion-content');
2181							parentAccordion.style.maxHeight = 'none';
2182							this.closest('.accordian-content-block').querySelectorAll('.accordian-list__item').forEach(el => el.style.display = 'block'); 
2183							this.style.display = 'none';
2184						">
2185                                    View All
2186                                </button>
2187                            </div>
2188                        <@ } @>
2189                    </div>
2190                </div>
2191            </div>
2192            <@ }); @>
2193            <@ if(item.length > 5) { @>
2194                <div style="text-align: center; margin-top: 10px;margin-bottom: 20px;">
2195                    <button style="background-color: #D8FD46; color: black; padding: 8px 32px; border: none; cursor: pointer; font-size: 16px; border-radius: 0px;" 
2196                        onclick="document.querySelectorAll('.accordion-syllabus-item').forEach(el => el.style.display = 'block'); this.style.display = 'none';">
2197                        View All Sessions
2198                    </button>
2199                </div>
2200            <@ } @>
2201        </div>
2202    </div>
2203</script>
2203
2204
2205<script>
2206    // Simple responsive positioning (same as Vegas)
2207    function updatePosition() {
2208        const element = document.getElementById('totalTimeElement');
2209        if(element){
2210            if (window.innerWidth > 768) {
2211                element.style.position = 'absolute';
2212                element.style.top = "5px";
2213                element.style.right = '122px';
2214            } else {
2215                element.style.position = 'static';
2216                element.style.margin = '0 0';
2217            }
2218        }
2219    }
2220    
2221    // Run on load and resize
2222    window.addEventListener('load', updatePosition);
2223    window.addEventListener('resize', updatePosition);
2224</script>
2224
2225
2226
2227
2228
2229<!--Nebula Curriculum 7-->
2230
2231
2232<script>
2233	// Simple responsive positioning
2234	function updatePosition() {
2235		const element = document.getElementById('totalTimeElement');
2236		if(element){
2237		if (window.innerWidth > 768) {
2238			element.style.position = 'absolute';
2239			element.style.top = "5px";
2240			element.style.right = '122px';
2241		} else {
2242			element.style.position = 'static';
2243			element.style.margin = '0 0';
2244		}
2245		}
2246	}
2247	
2248	// Run on load and resize
2249	window.addEventListener('load', updatePosition);
2250	window.addEventListener('resize', updatePosition);
2251	</script>
2251
2252 
2252<script type="text/template" id="coursecurr-7-template">
2253	<div class="total-time" id="totalTimeElement" style="
2254    font-size: 18px;
2255    font-weight: 600;
2256    color: #6715FF;
2257    padding: 8px 12px;
2258    border-radius: 4px;
2259    white-space: nowrap;">
2260     <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
2261        <@print(millisecondsToHHMMSSStr(summary.durations))@>
2262    <@}@>
2263</div>
2264
2265<div class="accordion-syllabus" style="max-width:1000px !important">
2266    <@ $.each(item, function(index, value) { @>
2267    <div class="accordion-syllabus-item" style="<@ if(index >= 5) { @> display: none; <@ } @>">
2268        <header class="accordion-syllabus-header" style="background:#F1ECFB !important; border-radius16px;box-shadow:none;padding:20px !important">
2269            <h4 class="accordion-syllabus-header__title">
2270                <span class="text-primary" style="font-size:18px ; font-weight:600; color:black;"> 
2271                    <@if(index < 9) {@>  
2272                        Week <@print(index + 1)@>:  
2273                    <@ } else {@>  
2274                        Week <@print(index + 1)@>:
2275                    <@ } @>  
2276                </span>
2277                <p style="font-size:18px ; font-weight:600;"><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
2278                    <@if(value && value.items){@>
2279                        <@ print(value.items.length) @> attachment(s) 
2280                    <@} else {@>
2281                        1 attachment(s)
2282                    <@}@>
2283                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2284						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2285					<@}@>
2286                </span></p>
2287            </h4>
2288			
2289            <div class="accordion-syllabus-header__info">
2290                <p class="text-primary hide-sm" style="color:#6715FF !important;">
2291                    <@if(value && value.items){@>
2292                        <@ print(value.items.length) @> attachment(s) 
2293                    <@} else {@>
2294                        1 attachment(s)
2295                    <@}@>
2296                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2297						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2298					<@}@>
2299                </p>
2300                <div class="accordion-syllabus-header__icon text-primary">
2301                    <i class="fa fa-angle-left" aria-hidden="true" style="color:#6715FF;"></i>
2302                </div>
2303            </div>
2304        </header>
2305        <div class="accordion-content" style="filter:none;background:transparent !important;">
2306            <div class="accordian-content-block" style="background:transparent !important;box-shadow:none;padding:16px 66px 3px 69px !important;">
2307                <ul class="accordian-list">
2308                    <@ var itemsCount = value['items'] ? value['items'].length : 0; @>
2309                    <@ if(value['items'] && value['items'].length > 0) { @>
2310                        <@ $.each(value['items'], function(index1, value1) { @>
2311                        <li class="accordian-list__item" style="padding:0px 0px !important;<@ if(index1 >= 5) { @> display: none; <@ } @>"> 
2312							<style>
2313								@media (max-width: 768px) {
2314								  .accordian-content-card {
2315									flex-direction: column !important;
2316									align-items: stretch !important;
2317								  }
2318							  
2319								  .accordian-content-card__top {
2320									flex-direction: row !important;
2321									justify-content: space-between !important;
2322									align-items: center !important;
2323									width: 100% !important;
2324								  }
2325							  
2326								  .accordian-content-card__title {
2327									flex: 1 !important;
2328									margin: 0 10px !important;
2329									white-space: nowrap;
2330									overflow: hidden;
2331									text-overflow: ellipsis;
2332								  }
2333							  
2334								  .accordian-content-card__bottom {
2335									flex-direction: row !important;
2336									justify-content: space-between !important;
2337									align-items: center !important;
2338									width: 100% !important;
2339									margin-top: 6px !important;
2340								  }
2341							  
2342								  .accordian-content-card__link {
2343									flex: 1 !important;
2344									min-width: 0 !important;
2345									text-align: left !important;
2346								  }
2347							  
2348								  .accordian-content-card__time {
2349									flex-shrink: 0 !important;
2350									text-align: right !important;
2351								  }
2352								}
2353							  </style>
2354							  
2355							  <div class="accordian-content-card"
2356     style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
2357
2358							  
2359								<!-- Row 1: Icon + Title + Collapse Icon -->
2360								<div class="accordian-content-card__top"
2361									 style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2362							  
2363								  <!-- Icon -->
2364								  <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2365									<@ if(value1.type == 'code'){ @>
2366									  <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
2367									<@ } else { @>
2368									  <span class="material-icons text-primary" style="color:#6715FF; font-size: 24px;">
2369										<@ print(getCourseAssetIcon(value1.type))@>
2370									  </span>
2371									<@ } @>
2372								  </div>
2373							  
2374								  <!-- Title -->
2375								  <div class="accordian-content-card__title"
2376									   style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2377									<@print(value1.title)@>
2378								  </div>
2379							  
2380								  <!-- Collapse Icon (optional) -->
2381								  <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2382									<!-- Example placeholder, add real icon if needed -->
2383									<!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2384								  </div>
2385								</div>
2386							  
2387								<!-- Row 2: Preview Button and Time -->
2388								<div class="accordian-content-card__bottom"
2389									 style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2390							  
2391								  <!-- Preview Button -->
2392								  <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2393									<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
2394									  <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value1.id)@>"
2395										 class="previewBtn"
2396										 style="font-size: 14px; font-weight: 500; text-decoration: none; color: #6715FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2397										<span class="text-primary" style="color:#6715FF;">
2398										  <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2399										  <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#6715FF;"></i></span>
2400										</span>
2401									  </a>
2402									<@}@>
2403								  </div>
2404							  
2405								  <!-- Time -->
2406								  <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2407									<p class="text-primary course-asset-time"
2408									   style="font-size: 14px; font-weight: 500; color:#6715FF !important; margin: 0;">
2409									  <@ if(value1.duration && value1.duration > 0) { @>
2410										<@ print(millisecondsToHHMMSSStr(value1.duration)) @>
2411									  <@ } else { @>
2412										--
2413									  <@ } @>
2414									</p>
2415								  </div>
2416							  
2417								</div>
2418							  </div>
2419							  
2420							
2421                        </li>
2422                        <@ }); @>
2423                    <@ } else { @>
2424                        <li class="accordian-list__item" style="padding:0px 0px !important;">
2425							<div class="accordian-content-card"
2426							style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
2427					   
2428						   <!-- Row 1: Icon + Title + Collapse Icon -->
2429						   <div class="accordian-content-card__top"
2430								style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2431						 
2432							   <!-- Icon -->
2433							   <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2434								   <@ if(value.type == 'code'){ @>
2435									   <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
2436								   <@ } else { @>
2437									   <span class="material-icons text-primary" style="color:#6715FF; font-size: 24px;">
2438										   <@ print(getCourseAssetIcon(value.type))@>
2439									   </span>
2440								   <@ } @>
2441							   </div>
2442						 
2443							   <!-- Title -->
2444							   <div class="accordian-content-card__title"
2445									style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2446								   <@print(value.title)@>
2447							   </div>
2448						 
2449							   <!-- Collapse Icon (optional) -->
2450							   <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2451								   <!-- Example placeholder, add real icon if needed -->
2452								   <!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2453							   </div>
2454						   </div>
2455						 
2456						   <!-- Row 2: Preview Button and Time -->
2457						   <div class="accordian-content-card__bottom"
2458								style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2459						 
2460							   <!-- Preview Button -->
2461							   <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2462								   <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
2463									   <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value.id)@>"
2464										  class="previewBtn"
2465										  style="font-size: 14px; font-weight: 500; text-decoration: none; color: #6715FF; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2466										   <span class="text-primary" style="color:#6715FF;">
2467											   <@ if(value.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2468											   <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#6715FF;"></i></span>
2469										   </span>
2470									   </a>
2471								   <@}@>
2472							   </div>
2473						 
2474							   <!-- Time -->
2475							   <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2476								   <p class="text-primary course-asset-time"
2477									  style="font-size: 14px; font-weight: 500; color:#6715FF !important; margin: 0;">
2478									   <@ if(value.duration && value.duration > 0) { @>
2479										   <@ print(millisecondsToHHMMSSStr(value.duration)) @>
2480									   <@ } else { @>
2481										   --
2482									   <@ } @>
2483								   </p>
2484							   </div>
2485						   </div>
2486					   </div>
2487                        </li>
2488                    <@ } @>
2489                </ul>
2490            
2491                <@ if(itemsCount > 5) { @>
2492                    <div style="text-align: center; margin-top: 10px;">
2493						<button style="background-color: #6715FF; color: white; padding: 4px 28px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
2494						onclick="
2495							var parentAccordion = this.closest('.accordion-content');
2496							parentAccordion.style.maxHeight = 'none';
2497							this.closest('.accordian-content-block').querySelectorAll('.accordian-list__item').forEach(el => el.style.display = 'block'); 
2498							this.style.display = 'none';
2499						">
2500                            View All
2501                        </button>
2502                    </div>
2503                <@ } @>
2504            </div>
2505        </div>
2506    </div>
2507    <@ }); @>
2508    <@ if(item.length > 5) { @>
2509        <div style="text-align: center; margin-top: 10px;margin-bottom: 20px;">
2510            <button style="background-color: #6715FF; color: white; padding: 8px 32px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
2511                onclick="document.querySelectorAll('.accordion-syllabus-item').forEach(el => el.style.display = 'block'); this.style.display = 'none';">
2512                View All Sessions
2513            </button>
2514        </div>
2515    <@ } @>
2516</div>
2517	</div>
2518</script>
2518
2519
2520
2521
2522<!--Olive Curriculum 8-->
2523<script>
2524	// Simple responsive positioning
2525	function updatePosition() {
2526		const element = document.getElementById('totalTimeElement');
2527		if(element){
2528		if (window.innerWidth > 768) {
2529			element.style.position = 'absolute';
2530			element.style.top = "5px";
2531			element.style.right = '122px';
2532		} else {
2533			element.style.position = 'static';
2534			element.style.margin = '0 0';
2535		}
2536		}
2537	}
2538	
2539	// Run on load and resize
2540	window.addEventListener('load', updatePosition);
2541	window.addEventListener('resize', updatePosition);
2542	</script>
2542
2543 
2543<script type="text/template" id="coursecurr-8-template">
2544	<div class="total-time" id="totalTimeElement" style="
2545    font-size: 18px;
2546    font-weight: 600;
2547    color: #064400;
2548    padding: 8px 12px;
2549    border-radius: 4px;
2550    white-space: nowrap;">
2551     <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
2552        <@print(millisecondsToHHMMSSStr(summary.durations))@>
2553    <@}@>
2554</div>
2555
2556<div class="accordion-syllabus" style="max-width:1000px !important">
2557    <@ $.each(item, function(index, value) { @>
2558    <div class="accordion-syllabus-item" style="<@ if(index >= 5) { @> display: none; <@ } @>">
2559        <header class="accordion-syllabus-header" style="background:#E5E5E5 !important; border-radius16px;box-shadow:none;padding:20px !important">
2560            <h4 class="accordion-syllabus-header__title">
2561                <span class="text-primary" style="font-size:18px ; font-weight:600; color:black;"> 
2562                    <@if(index < 9) {@>  
2563                        Week <@print(index + 1)@>:  
2564                    <@ } else {@>  
2565                        Week <@print(index + 1)@>:
2566                    <@ } @>  
2567                </span>
2568                <p style="font-size:18px ; font-weight:600;"><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
2569                    <@if(value && value.items){@>
2570                        <@ print(value.items.length) @> attachment(s) 
2571                    <@} else {@>
2572                        1 attachment(s)
2573                    <@}@>
2574                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2575						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2576					<@}@>
2577                </span></p>
2578            </h4>
2579			
2580            <div class="accordion-syllabus-header__info">
2581                <p class="text-primary hide-sm" style="color:#064400 !important;">
2582                    <@if(value && value.items){@>
2583                        <@ print(value.items.length) @> attachment(s) 
2584                    <@} else {@>
2585                        1 attachment(s)
2586                    <@}@>
2587                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2588						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2589					<@}@>
2590                </p>
2591                <div class="accordion-syllabus-header__icon text-primary">
2592                    <i class="fa fa-angle-left" aria-hidden="true" style="color:#064400;"></i>
2593                </div>
2594            </div>
2595        </header>
2596        <div class="accordion-content" style="filter:none;background:transparent !important;">
2597            <div class="accordian-content-block" style="background:transparent !important;box-shadow:none;padding:16px 66px 3px 69px !important;">
2598                <ul class="accordian-list">
2599                    <@ var itemsCount = value['items'] ? value['items'].length : 0; @>
2600                    <@ if(value['items'] && value['items'].length > 0) { @>
2601                        <@ $.each(value['items'], function(index1, value1) { @>
2602                        <li class="accordian-list__item" style="padding:0px 0px !important;<@ if(index1 >= 5) { @> display: none; <@ } @>"> 
2603							<style>
2604								@media (max-width: 768px) {
2605								  .accordian-content-card {
2606									flex-direction: column !important;
2607									align-items: stretch !important;
2608								  }
2609							  
2610								  .accordian-content-card__top {
2611									flex-direction: row !important;
2612									justify-content: space-between !important;
2613									align-items: center !important;
2614									width: 100% !important;
2615								  }
2616							  
2617								  .accordian-content-card__title {
2618									flex: 1 !important;
2619									margin: 0 10px !important;
2620									white-space: nowrap;
2621									overflow: hidden;
2622									text-overflow: ellipsis;
2623								  }
2624							  
2625								  .accordian-content-card__bottom {
2626									flex-direction: row !important;
2627									justify-content: space-between !important;
2628									align-items: center !important;
2629									width: 100% !important;
2630									margin-top: 6px !important;
2631								  }
2632							  
2633								  .accordian-content-card__link {
2634									flex: 1 !important;
2635									min-width: 0 !important;
2636									text-align: left !important;
2637								  }
2638							  
2639								  .accordian-content-card__time {
2640									flex-shrink: 0 !important;
2641									text-align: right !important;
2642								  }
2643								}
2644							  </style>
2645							  
2646							  <div class="accordian-content-card"
2647     style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
2648
2649							  
2650								<!-- Row 1: Icon + Title + Collapse Icon -->
2651								<div class="accordian-content-card__top"
2652									 style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2653							  
2654								  <!-- Icon -->
2655								  <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2656									<@ if(value1.type == 'code'){ @>
2657									  <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
2658									<@ } else { @>
2659									  <span class="material-icons text-primary" style="color:#064400; font-size: 24px;">
2660										<@ print(getCourseAssetIcon(value1.type))@>
2661									  </span>
2662									<@ } @>
2663								  </div>
2664							  
2665								  <!-- Title -->
2666								  <div class="accordian-content-card__title"
2667									   style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2668									<@print(value1.title)@>
2669								  </div>
2670							  
2671								  <!-- Collapse Icon (optional) -->
2672								  <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2673									<!-- Example placeholder, add real icon if needed -->
2674									<!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2675								  </div>
2676								</div>
2677							  
2678								<!-- Row 2: Preview Button and Time -->
2679								<div class="accordian-content-card__bottom"
2680									 style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2681							  
2682								  <!-- Preview Button -->
2683								  <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2684									<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
2685									  <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value1.id)@>"
2686										 class="previewBtn"
2687										 style="font-size: 14px; font-weight: 500; text-decoration: none; color: #064400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2688										<span class="text-primary" style="color:#064400;">
2689										  <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2690										  <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#064400;"></i></span>
2691										</span>
2692									  </a>
2693									<@}@>
2694								  </div>
2695							  
2696								  <!-- Time -->
2697								  <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2698									<p class="text-primary course-asset-time"
2699									   style="font-size: 14px; font-weight: 500; color:#064400 !important; margin: 0;">
2700									  <@ if(value1.duration && value1.duration > 0) { @>
2701										<@ print(millisecondsToHHMMSSStr(value1.duration)) @>
2702									  <@ } else { @>
2703										--
2704									  <@ } @>
2705									</p>
2706								  </div>
2707							  
2708								</div>
2709							  </div>
2710							  
2711							
2712                        </li>
2713                        <@ }); @>
2714                    <@ } else { @>
2715                        <li class="accordian-list__item" style="padding:0px 0px !important;">
2716							<div class="accordian-content-card"
2717							style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
2718					   
2719						   <!-- Row 1: Icon + Title + Collapse Icon -->
2720						   <div class="accordian-content-card__top"
2721								style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2722						 
2723							   <!-- Icon -->
2724							   <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2725								   <@ if(value.type == 'code'){ @>
2726									   <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
2727								   <@ } else { @>
2728									   <span class="material-icons text-primary" style="color:#064400; font-size: 24px;">
2729										   <@ print(getCourseAssetIcon(value.type))@>
2730									   </span>
2731								   <@ } @>
2732							   </div>
2733						 
2734							   <!-- Title -->
2735							   <div class="accordian-content-card__title"
2736									style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2737								   <@print(value.title)@>
2738							   </div>
2739						 
2740							   <!-- Collapse Icon (optional) -->
2741							   <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2742								   <!-- Example placeholder, add real icon if needed -->
2743								   <!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2744							   </div>
2745						   </div>
2746						 
2747						   <!-- Row 2: Preview Button and Time -->
2748						   <div class="accordian-content-card__bottom"
2749								style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2750						 
2751							   <!-- Preview Button -->
2752							   <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2753								   <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
2754									   <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value.id)@>"
2755										  class="previewBtn"
2756										  style="font-size: 14px; font-weight: 500; text-decoration: none; color: #064400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2757										   <span class="text-primary" style="color:#064400;">
2758											   <@ if(value.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
2759											   <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#064400;"></i></span>
2760										   </span>
2761									   </a>
2762								   <@}@>
2763							   </div>
2764						 
2765							   <!-- Time -->
2766							   <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
2767								   <p class="text-primary course-asset-time"
2768									  style="font-size: 14px; font-weight: 500; color:#064400 !important; margin: 0;">
2769									   <@ if(value.duration && value.duration > 0) { @>
2770										   <@ print(millisecondsToHHMMSSStr(value.duration)) @>
2771									   <@ } else { @>
2772										   --
2773									   <@ } @>
2774								   </p>
2775							   </div>
2776						   </div>
2777					   </div>
2778                        </li>
2779                    <@ } @>
2780                </ul>
2781            
2782                <@ if(itemsCount > 5) { @>
2783                    <div style="text-align: center; margin-top: 10px;">
2784						<button style="background-color: #064400; color: white; padding: 4px 28px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
2785						onclick="
2786							var parentAccordion = this.closest('.accordion-content');
2787							parentAccordion.style.maxHeight = 'none';
2788							this.closest('.accordian-content-block').querySelectorAll('.accordian-list__item').forEach(el => el.style.display = 'block'); 
2789							this.style.display = 'none';
2790						">
2791                            View All
2792                        </button>
2793                    </div>
2794                <@ } @>
2795            </div>
2796        </div>
2797    </div>
2798    <@ }); @>
2799    <@ if(item.length > 5) { @>
2800        <div style="text-align: center; margin-top: 10px;margin-bottom: 20px;">
2801            <button style="background-color: #064400; color: white; padding: 8px 32px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
2802                onclick="document.querySelectorAll('.accordion-syllabus-item').forEach(el => el.style.display = 'block'); this.style.display = 'none';">
2803                View All Sessions
2804            </button>
2805        </div>
2806    <@ } @>
2807</div>
2808	</div>
2809</script>
2809
2810
2811
2812
2813<!--Dusk Curriculum 9-->
2814<script>
2815	// Simple responsive positioning
2816	function updatePosition() {
2817		const element = document.getElementById('totalTimeElement');
2818		if(element){
2819		if (window.innerWidth > 768) {
2820			element.style.position = 'absolute';
2821			element.style.top = "5px";
2822			element.style.right = '122px';
2823		} else {
2824			element.style.position = 'static';
2825			element.style.margin = '0 0';
2826		}
2827		}
2828	}
2829	
2830	// Run on load and resize
2831	window.addEventListener('load', updatePosition);
2832	window.addEventListener('resize', updatePosition);
2833	</script>
2833
2834 
2834<script>
2835	// Simple responsive positioning
2836	function updatePosition() {
2837		const element = document.getElementById('totalTimeElement');
2838		if(element){
2839		if (window.innerWidth > 768) {
2840			element.style.position = 'absolute';
2841			element.style.top = "5px";
2842			element.style.right = '122px';
2843		} else {
2844			element.style.position = 'static';
2845			element.style.margin = '0 0';
2846		}
2847		}
2848	}
2849	
2850	// Run on load and resize
2851	window.addEventListener('load', updatePosition);
2852	window.addEventListener('resize', updatePosition);
2853	</script>
2853
2854 
2854<script type="text/template" id="coursecurr-9-template">
2855	<div class="total-time" id="totalTimeElement" style="
2856    font-size: 18px;
2857    font-weight: 600;
2858    color: #282400;
2859    padding: 8px 12px;
2860    border-radius: 4px;
2861    white-space: nowrap;">
2862     <@if(summary.durations && summary.durations>0 && curriculumAssetInfo){@>
2863        <@print(millisecondsToHHMMSSStr(summary.durations))@>
2864    <@}@>
2865</div>
2866
2867<div class="accordion-syllabus" style="max-width:1000px !important">
2868    <@ $.each(item, function(index, value) { @>
2869    <div class="accordion-syllabus-item" style="<@ if(index >= 5) { @> display: none; <@ } @>">
2870        <header class="accordion-syllabus-header" style="background:#F5F5F5 !important; border-radius:8px;box-shadow:none;padding:20px !important">
2871            <h4 class="accordion-syllabus-header__title">
2872                <span class="text-primary" style="font-size:18px ; font-weight:600; color:black;"> 
2873                    <@if(index < 9) {@>  
2874                        Week <@print(index + 1)@>:  
2875                    <@ } else {@>  
2876                        Week <@print(index + 1)@>:
2877                    <@ } @>  
2878                </span>
2879                <p style="font-size:18px ; font-weight:600;"><@print(value.title)@> <span class="text-primary show-sm" style="font-size: 14px;">
2880                    <@if(value && value.items){@>
2881                        <@ print(value.items.length) @> attachment(s) 
2882                    <@} else {@>
2883                        1 attachment(s)
2884                    <@}@>
2885                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2886						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2887					<@}@>
2888                </span></p>
2889            </h4>
2890			
2891            <div class="accordion-syllabus-header__info">
2892                <p class="text-primary hide-sm" style="color:#282400 !important;">
2893                    <@if(value && value.items){@>
2894                        <@ print(value.items.length) @> attachment(s) 
2895                    <@} else {@>
2896                        1 attachment(s)
2897                    <@}@>
2898                    <@if(value.moduleDurations && curriculumAssetInfo){@>
2899						• <@print(millisecondsToHHMMSSStr(value.moduleDurations))@>
2900					<@}@>
2901                </p>
2902                <div class="accordion-syllabus-header__icon text-primary">
2903                    <i class="fa fa-angle-left" aria-hidden="true" style="color:#282400;"></i>
2904                </div>
2905            </div>
2906        </header>
2907        <div class="accordion-content" style="filter:none;background:transparent !important;">
2908            <div class="accordian-content-block" style="background:transparent !important;box-shadow:none;padding:16px 66px 3px 69px !important;">
2909                <ul class="accordian-list">
2910                    <@ var itemsCount = value['items'] ? value['items'].length : 0; @>
2911                    <@ if(value['items'] && value['items'].length > 0) { @>
2912                        <@ $.each(value['items'], function(index1, value1) { @>
2913                        <li class="accordian-list__item" style="padding:0px 0px !important;<@ if(index1 >= 5) { @> display: none; <@ } @>"> 
2914							<style>
2915								@media (max-width: 768px) {
2916								  .accordian-content-card {
2917									flex-direction: column !important;
2918									align-items: stretch !important;
2919								  }
2920							  
2921								  .accordian-content-card__top {
2922									flex-direction: row !important;
2923									justify-content: space-between !important;
2924									align-items: center !important;
2925									width: 100% !important;
2926								  }
2927							  
2928								  .accordian-content-card__title {
2929									flex: 1 !important;
2930									margin: 0 10px !important;
2931									white-space: nowrap;
2932									overflow: hidden;
2933									text-overflow: ellipsis;
2934								  }
2935							  
2936								  .accordian-content-card__bottom {
2937									flex-direction: row !important;
2938									justify-content: space-between !important;
2939									align-items: center !important;
2940									width: 100% !important;
2941									margin-top: 6px !important;
2942								  }
2943							  
2944								  .accordian-content-card__link {
2945									flex: 1 !important;
2946									min-width: 0 !important;
2947									text-align: left !important;
2948								  }
2949							  
2950								  .accordian-content-card__time {
2951									flex-shrink: 0 !important;
2952									text-align: right !important;
2953								  }
2954								}
2955							  </style>
2956							  
2957							  <div class="accordian-content-card"
2958     style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
2959
2960							  
2961								<!-- Row 1: Icon + Title + Collapse Icon -->
2962								<div class="accordian-content-card__top"
2963									 style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
2964							  
2965								  <!-- Icon -->
2966								  <div class="accordian-content-card__ico" style="flex-shrink: 0;">
2967									<@ if(value1.type == 'code'){ @>
2968									  <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
2969									<@ } else { @>
2970									  <span class="material-icons text-primary" style="color:#282400; font-size: 24px;">
2971										<@ print(getCourseAssetIcon(value1.type))@>
2972									  </span>
2973									<@ } @>
2974								  </div>
2975							  
2976								  <!-- Title -->
2977								  <div class="accordian-content-card__title"
2978									   style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
2979									<@print(value1.title)@>
2980								  </div>
2981							  
2982								  <!-- Collapse Icon (optional) -->
2983								  <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
2984									<!-- Example placeholder, add real icon if needed -->
2985									<!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
2986								  </div>
2987								</div>
2988							  
2989								<!-- Row 2: Preview Button and Time -->
2990								<div class="accordian-content-card__bottom"
2991									 style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
2992							  
2993								  <!-- Preview Button -->
2994								  <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
2995									<@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value1.id)){@>
2996									  <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value1.id)@>"
2997										 class="previewBtn"
2998										 style="font-size: 14px; font-weight: 500; text-decoration: none; color: #282400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
2999										<span class="text-primary" style="color:#282400;">
3000										  <@ if(value1.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
3001										  <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#282400;"></i></span>
3002										</span>
3003									  </a>
3004									<@}@>
3005								  </div>
3006							  
3007								  <!-- Time -->
3008								  <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
3009									<p class="text-primary course-asset-time"
3010									   style="font-size: 14px; font-weight: 500; color:#282400 !important; margin: 0;">
3011									  <@ if(value1.duration && value1.duration > 0) { @>
3012										<@ print(millisecondsToHHMMSSStr(value1.duration)) @>
3013									  <@ } else { @>
3014										--
3015									  <@ } @>
3016									</p>
3017								  </div>
3018							  
3019								</div>
3020							  </div>
3021							  
3022							
3023                        </li>
3024                        <@ }); @>
3025                    <@ } else { @>
3026                        <li class="accordian-list__item" style="padding:0px 0px !important;">
3027							<div class="accordian-content-card"
3028							style="display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; padding: 10px 0; width: 100%; box-sizing: border-box; border-bottom: 1px solid #eee;">
3029					   
3030						   <!-- Row 1: Icon + Title + Collapse Icon -->
3031						   <div class="accordian-content-card__top"
3032								style="display: flex; align-items: center; justify-content: space-between; width: 100%;">
3033						 
3034							   <!-- Icon -->
3035							   <div class="accordian-content-card__ico" style="flex-shrink: 0;">
3036								   <@ if(value.type == 'code'){ @>
3037									   <img src="/resources/images/CodeIcon.svg" style="width: 24px; height: 24px;">
3038								   <@ } else { @>
3039									   <span class="material-icons text-primary" style="color:#282400; font-size: 24px;">
3040										   <@ print(getCourseAssetIcon(value.type))@>
3041									   </span>
3042								   <@ } @>
3043							   </div>
3044						 
3045							   <!-- Title -->
3046							   <div class="accordian-content-card__title"
3047									style="font-weight: 400; font-size: 14px; color: #333; margin: 0 10px; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;">
3048								   <@print(value.title)@>
3049							   </div>
3050						 
3051							   <!-- Collapse Icon (optional) -->
3052							   <div class="accordian-content-card__collapse" style="flex-shrink: 0;">
3053								   <!-- Example placeholder, add real icon if needed -->
3054								   <!-- <i class="fa fa-chevron-down" style="font-size: 16px;"></i> -->
3055							   </div>
3056						   </div>
3057						 
3058						   <!-- Row 2: Preview Button and Time -->
3059						   <div class="accordian-content-card__bottom"
3060								style="display: flex; justify-content: space-between; align-items: center; width: 100%; margin-top: 6px; flex-wrap: nowrap;">
3061						 
3062							   <!-- Preview Button -->
3063							   <div class="accordian-content-card__link" style="flex: 1; min-width: 0; text-align: left;">
3064								   <@if(summary.sampleAvailable && summary.sampleSectionIds.includes(value.id)){@>
3065									   <a href="/s/preview/courses/<@print(decodeURIComponent(summary.courseUrl).replace(/ /g,'-'))@>-<@- courseId @>#<@print(value.id)@>"
3066										  class="previewBtn"
3067										  style="font-size: 14px; font-weight: 500; text-decoration: none; color: #282400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-block;">
3068										   <span class="text-primary" style="color:#282400;">
3069											   <@ if(value.type == 'video') { @> Watch <@ } else {@> Preview <@ } @>
3070											   <span style="color:#000"><i class="fa fa-solid fa-arrow-up-right" style="color:#282400;"></i></span>
3071										   </span>
3072									   </a>
3073								   <@}@>
3074							   </div>
3075						 
3076							   <!-- Time -->
3077							   <div class="accordian-content-card__time" style="flex-shrink: 0; text-align: right;">
3078								   <p class="text-primary course-asset-time"
3079									  style="font-size: 14px; font-weight: 500; color:#282400 !important; margin: 0;">
3080									   <@ if(value.duration && value.duration > 0) { @>
3081										   <@ print(millisecondsToHHMMSSStr(value.duration)) @>
3082									   <@ } else { @>
3083										   --
3084									   <@ } @>
3085								   </p>
3086							   </div>
3087						   </div>
3088					   </div>
3089                        </li>
3090                    <@ } @>
3091                </ul>
3092            
3093                <@ if(itemsCount > 5) { @>
3094                    <div style="text-align: center; margin-top: 10px;">
3095						<button style="background-color: #282400; color: white; padding: 4px 28px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
3096						onclick="
3097							var parentAccordion = this.closest('.accordion-content');
3098							parentAccordion.style.maxHeight = 'none';
3099							this.closest('.accordian-content-block').querySelectorAll('.accordian-list__item').forEach(el => el.style.display = 'block'); 
3100							this.style.display = 'none';
3101						">
3102                            View All
3103                        </button>
3104                    </div>
3105                <@ } @>
3106            </div>
3107        </div>
3108    </div>
3109    <@ }); @>
3110    <@ if(item.length > 5) { @>
3111        <div style="text-align: center; margin-top: 10px;margin-bottom: 20px;">
3112            <button style="background-color: #282400; color: white; padding: 8px 32px; border: none; cursor: pointer; font-size: 16px; border-radius: 24px;" 
3113                onclick="document.querySelectorAll('.accordion-syllabus-item').forEach(el => el.style.display = 'block'); this.style.display = 'none';">
3114                View All Sessions
3115            </button>
3116        </div>
3117    <@ } @>
3118</div>
3119	</div>
3120</script>
3120
3121
3122
3123
3124
3125
3126
3127<!-- Feedback Template First -->
3128<script type="text/template" id="widget-1-template">
3129<div class="column full feedbackContainer feedback1 spectre">
3130<@if(msg){@>
3131	<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3132<@}else{@>
3133<div class="avgratingbox">
3134  <div class="flex-row" >
3135        <div class="is-box-2" >
3136           <p style="color: rgb(247, 247, 247); font-weight: 700!important; font-size: 40px!important; text-align: center; letter-spacing: 3px; padding-bottom: 0px; margin-bottom: 0px; line-height: 1; margin-top: 0px;"> 
3137			<@ if(ratings && ratings.avgRating) {@>
3138				<@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3139			<@}else{@>
3140				0
3141			<@}@>
3142		  </p>
3143          <h5 class="ratings1" style="text-align: center; margin-bottom: 0px; margin-top: 0px; line-height: 1;">  
3144          <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
3145					<@if(ratings){@> 
3146						<@ if(ratings.avgRating >= ratingsSize) {@> 
3147							<i class="icon ion-android-star"></i>&nbsp; 
3148						<@ } else if(ratings.avgRating > ratingsSize-1 && ratings.avgRating < ratingsSize) { @> 
3149							<i class="icon ion-android-star-half"></i>&nbsp;
3150						<@ } else { @> 
3151							<i class="icon ion-android-star-outline"></i>&nbsp; 
3152						<@ } @>
3153					<@} else {@>
3154						<i class="icon ion-android-star-outline"></i>&nbsp;
3155					<@}@>		
3156		  <@}@>
3157          </h5>        
3158          <p style="margin: 10px 0 0 !important;text-align: center;line-height: 1;font-size: 30px!important;"><i class="fa-light fa-users t-white"></i> </p>
3159          <p style="margin-bottom: 10px; margin-top: 0px; font-size: 12px!important; letter-spacing: 1px; font-weight: 500!important; color: rgb(247, 247, 247); text-align: center;">
3160			Total <@ if(ratings){print(ratings.total) }else{0}@> Reviews 
3161		  </p>
3162        </div>
3163        <div class="is-box-9">
3164			<@ for (i = 0; i < 5; i++) {@>
3165				<div class="box7878"> 
3166            <div style="flex:1;">							
3167					<div class="meter <@print(ratingsPer[(parseInt(i)+1)+'-star'].cls)@> nostripes">
3168                  		<span style="width: <@print(ratingsPer[(parseInt(i)+1)+'-star'].rates)@>%"></span>
3169               		</div>	
3170            </div>
3171            <div id="ratingbox">
3172              <p class="ratings2" style=" line-height: 1;">  
3173				<@ for (ratingsSize = 5; ratingsSize >=1; ratingsSize--) {@>
3174						<@if(ratingsSize>i){@>
3175							<i class="fa fa-solid fa-star-sharp text-primary"></i>&nbsp;
3176						<@} else {@>
3177							<i class="fa fa-solid fa-star-sharp"></i>&nbsp;
3178						<@}@>
3179				<@}@>
3180               <span class="t-white">					
3181					<@ if(ratings && ratings.ratingsCount){print(ratings.ratingsCount[(parseInt(5)-i)+'-stars'])}else{0} @>
3182			   </span>
3183              </p>
3184
3185            </div>
3186          </div>
3187	  	<@}@>
3188        </div>        
3189  	</div>
3190</div>
3191	<div class="bg-secondary" style="padding:15px 15px;border-radius:10px;border-top-right-radius: 0;border-top-left-radius: 0;" >
3192		<p
3193			style="font-size: 16px!important; font-weight: 500!important; letter-spacing: 1px;" class="text-primary">
3194			Reviews
3195		</p>
3196
3197<div class="review-box" id="createCustomReview" style="display:none">
3198<div class="flex-row">
3199	<div class="is-box-2 centerbox">
3200		<div class="spectre">
3201			<figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="uppercase avatar avatar-lg figsize" >
3202				<img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
3203			</figure>	
3204			<@if(typeof SPUSER !== 'undefined'){ @><p class="review-name"><@ print(SPUSER.name) @> </p><@ } @>
3205		</div>
3206	</div>
3207	<div class="is-box-10">
3208		<textarea rows="3" class="form-input"
3209			placeholder="Add your review here"></textarea>
3210		<div class="rating3">
3211			<p id="rating-stars">
3212				<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <i 
3213					class="fa fa-solid fa-star-sharp text-primary rating-star" data-value='<@- ratingsSize @>'></i> <@}@>
3214			</p>
3215
3216			<button class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3217				data-reviewData="reviewlist"
3218				style="padding: 2px 28px; text-transform: uppercase; border-radius: 40px;">Post</button>
3219		</div>
3220	</div>
3221</div>
3222</div>		
3223	
3224	<div id="reviewlist">
3225	<@ $.each(items, function(index, item) { @>
3226	<div class="review-box reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
3227		<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3228			<a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3229		<@ } @>
3230		<div class="flex-row">
3231			<div class="is-box-2 centerbox">
3232				<div class="spectre">
3233					<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3234						<figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="uppercase avatar avatar-lg figsize" >
3235							<img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
3236					<@ } else {@>	
3237					<figure data-initial="<@ print(getUserInitial(null, item.userName)) @>" class="uppercase avatar avatar-lg figsize" >
3238						<img src="/s/profile/<@- item.userId @>/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ item.mhash @>">	
3239					<@ } @>
3240					</figure>
3241					<p class="review-name"><@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @><@ print(SPUSER.name) @><@ } else {@>	<@ print(item.userName) @><@ } @>	</p>
3242				</div>
3243			</div>
3244			<div class="is-box-10">
3245				<div class="rating4">
3246					<p>
3247						<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <@
3248						if(item.rating >= ratingsSize) {@> 
3249							<i class="fa fa-solid fa-star-sharp text-primary"></i>
3250						<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3251							<i class="fa fa-solid fa-star-sharp-half text-primary"></i> 
3252						<@ } else { @> 
3253							<i class="fa fa-solid fa-star-sharp"></i> 
3254						<@}@> 
3255						<@ }@>
3256					</p>
3257					<p
3258						style="font-size: 13px!important; color: rgb(174, 170, 170); font-weight: 600!important; margin-top: 4px;">
3259						<time class="timestamp"
3260							datetime="<@ print((new Date(item.createdDate.$date)).toISOString()) @>"><@
3261							print(parseDate(item.createdDate.$date)) @></time>
3262					</p>
3263				</div>
3264				<p  class="reviewTxt"
3265					style="color: rgb(102, 102, 102); font-weight: 500!important; font-size: 13px!important; margin-bottom: 10px;"><@
3266					print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @></p>
3267				<div class="comment-tag">
3268					<@ if(item.isFeatured) {@><span>Featured Review </span><@ } @><@ if(item.isVerifiedPurchase) {@> <span>Verified Purchase </span><@ } @>
3269				</div>
3270			</div>
3271		</div>
3272	</div>
3273	<@ }); @>
3274	</div>	
3275	<button class="bg-primary loadMoreReviewsBtn reviewLMbtn" data-itemTemplate="feedback-1-item-template" data-reviewData="reviewlist" >Load More Reviews</button>
3276</div>
3277<@}@>
3278</script>
3278
3279
3280
3281<script type="text/template" id="feedback-1-item-template">
3282<div class="review-box reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>"">
3283<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3284	<a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3285<@ } @>
3286<div class="flex-row">
3287	<div class="is-box-2 centerbox">
3288		<div class="spectre">
3289			<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3290				<figure data-initial="<@if(typeof SPUSER !== 'undefined'){print(SPUSER.email.substring(0, 1))}else{@>Me<@}@>" class="avatar avatar-lg figsize" >
3291					<img src="/s/profile/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ if(typeof SPUSER !== 'undefined'){print(SPUSER.mhash)} @>">
3292			<@ } else {@>	
3293			<figure data-initial="<@ print(getUserInitial(null, item.userName)) @>" class="avatar avatar-lg figsize" >
3294				<img src="/s/profile/<@- item.userId @>/thumb" alt="" class="review-pic" onerror="profileImageError(this)" data-mhash="<@ item.mhash @>">	
3295			<@ } @>
3296			</figure>
3297			<p class="review-name"><@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @><@ print(SPUSER.name) @><@ } else {@>	<@ print(item.userName) @><@ } @>	</p>
3298		</div>
3299	</div>
3300	<div class="is-box-10">
3301		<div class="rating4">
3302			<p>
3303				<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <@
3304				if(item.rating >= ratingsSize) {@> 
3305					<i class="fa fa-solid fa-star-sharp text-primary"></i>
3306				<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3307					<i class="fa fa-solid fa-star-sharp-half text-primary"></i>
3308				<@ } else { @> 
3309					<i class="fa fa-solid fa-star-sharp-outline"></i> 
3310				<@}@> 
3311				<@ } @>
3312			</p>
3313			<p
3314				style="font-size: 13px!important; color: rgb(174, 170, 170); font-weight: 600!important; margin-top: 4px;">
3315				<time class="timestamp"
3316					datetime="<@ print((new Date(item.createdDate.$date)).toISOString()) @>"><@
3317					print(parseDate(item.createdDate.$date)) @></time>
3318			</p>
3319		</div>
3320		<p  class="reviewTxt"
3321			style="color: rgb(102, 102, 102); font-weight: 500!important; font-size: 13px!important; margin-bottom: 10px;"><@
3322			print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @></p>
3323		<div class="comment-tag">
3324			<@ if(item.isFeatured) {@><span>Featured Review </span><@ } @><@ if(item.isVerifiedPurchase) {@> <span>Verified Purchase </span><@ } @>
3325		</div>
3326	</div>
3327</div>
3328</div>
3329</script>
3329
3330
3331
3332<!-- Feedback Template Second -->
3333<script type="text/template" id="feedback-2-template">
3334<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3335<@if(msg){@>
3336	<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3337<@}else{@>
3338<@ if(total > 0 && ratings && ratings.avgRating) {@>
3339<div class="avgratingbox">
3340<div class="column third">
3341   <div class="is-card avgRatingContainer" >
3342      <div class="avgRatingInnerContainer">
3343         <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
3344         <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
3345            <i class="icon ion-android-star text-primary" style="font-size: 80px;"></i>
3346            <div style="margin-left: 25px;">
3347               <span style="display: flex; justify-content: flex-start; align-items: baseline;">
3348                  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800; color: var(--themeColor); line-height: 1.3;">
3349                     <@ if(ratings && ratings.avgRating) {@>
3350                     <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3351                     <@}else{@>
3352                     0
3353                     <@}@>
3354                  </h3>
3355                  <p class="avgRatingReviews">/5</p>
3356               </span>
3357               <p class="avgRatingReviews">
3358                  <@ if(ratings){print(ratings.total) }else{0}@> reviews
3359               </p>
3360            </div>
3361         </div>
3362      </div>
3363   </div>
3364</div>
3365</div>
3366<@ } @>
3367<div id="feedback2Reviewlist" class="reviewslist">
3368   <@ $.each(items, function(index, item) { @>
3369   		<@ var template = _.template($("#feedback-2-item-template").html()); print(template({item: item})) @>
3370   <@ }); @>
3371   <@}@>
3372</div>
3373<div class="row clearfix">
3374   <div class="column full">
3375      <p class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-2-item-template" data-reviewData="feedback2Reviewlist" style="text-align: right; font-size: 14px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none;">
3376         View more
3377      </p>
3378   </div>
3379</div>
3380</script>
3380
3381
3382<script type="text/template" id="feedback-2-item-template">
3383	<div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
3384      <div class="is-card avgRatingContainer">
3385         <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
3386			<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3387				<a class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3388			<@ } @>
3389            <p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 80px; max-height: 80px; overflow: hidden;">
3390   			<@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
3391   		 	</p>
3392			<div class="reviewerName">
3393           	<p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px;">
3394   				<@ print(item.userName) @>
3395   		 	</p></div>
3396			
3397			 <p style="margin: 0px;">
3398				<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> 
3399					<@ if(item.rating >= ratingsSize) {@> 
3400						<i class="fa fa-solid fa-star-sharp text-primary"></i>
3401					<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3402						<i class="fa fa-solid fa-star-sharp-half text-primary"></i> 
3403					<@ } @> 
3404				<@ }@>
3405			 </p>		
3406
3407      	 </div>
3408	  </div>	
3409   </div>
3410</script>
vendor: 1 bytes, line 3410
3410
3411<script type="text/template" id="feedback-2-createTemplate">
3412	<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
3413  <div class="is-boxes">
3414    <div class="is-box-centered">
3415      <div class="is-container container" style="max-width: 940px;">
3416	
3417		<div class="review-box review-add-box">
3418            <div class="is-container container is-content-800" >
3419               <div class="row clearfix" >
3420                  <div class="column full" >
3421                     <h1 style="text-align: center; font-size: 28px; line-height: 1.1; font-weight: 700; letter-spacing: 0px; color: var(--themeColor); margin-bottom: 44px;">Add a review</h1>
3422                  </div>
3423               </div>
3424               <div class="textarea-cont">
3425                  <div class="review-star text-primary" style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;">
3426					<span id="rating-stars">
3427                     <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> <i 
3428                        class="fa fa-solid fa-star-sharp rating-star" data-value='<@- ratingsSize @>'></i> <@}@>
3429					</span>
3430                  </div>
3431                  <textarea class="add-review-textarea" id="reviewText" style="background: transparent;width: 100%; border-width: 0px; padding-right: 28px; padding-bottom: 28px; min-height: 150px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;" placeholder="Add your review here"></textarea>
3432                  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
3433						<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
3434				<@ } @>
3435               </div>
3436               <div  style="margin-top: 20px; display: flex; justify-content: flex-end;">
3437                  <button id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3438					data-reviewData="feedback2Reviewlist" disabled >Submit</button>
3439               </div>
3440            </div>
3441		</div>
3442		</div>
3443		</div>
3444	</div>
3445</div>
3446</script>
3446
3447
3448<!-- Vegas 4th feedback Template-->
3449
3450
3451<script type="text/template" id="feedback-4-template">
3452	<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3453	<@if(msg){@>
3454		<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3455	<@}else{@>
3456	<@ if(total > 0 && ratings && ratings.avgRating) {@>
3457	<div class="avgratingbox">
3458	<div class="column third">
3459	   <div class="is-card avgRatingContainer" style="border-radius:16px !important ; padding:20px ;border:1px solid #E5E5E5 !important;" >
3460		  <div class="avgRatingInnerContainer">
3461			 <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
3462			 <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
3463				<i class="icon ion-android-star text-primary" style="font-size: 80px;"></i>
3464				<div style="margin-left: 25px;">
3465				   <span style="display: flex; justify-content: flex-start; align-items: baseline;">
3466					  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800; color: var(--themeColor); line-height: 1.3;">
3467						 <@ if(ratings && ratings.avgRating) {@>
3468						 <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3469						 <@}else{@>
3470						 0
3471						 <@}@>
3472					  </h3>
3473					  <p class="avgRatingReviews">/5</p>
3474				   </span>
3475				   <p class="avgRatingReviews">
3476					  <@ if(ratings){print(ratings.total) }else{0}@> reviews
3477				   </p>
3478				</div>
3479			 </div>
3480		  </div>
3481	   </div>
3482	</div>
3483	</div>
3484	<@ } @>
3485	<div id="feedback4Reviewlist" class="reviewslist">
3486	   <@ $.each(items, function(index, item) { @>
3487			   <@ var template = _.template($("#feedback-4-item-template").html()); print(template({item: item})) @>
3488	   <@ }); @>
3489	   <@}@>
3490	</div>
3491	<div class="row clearfix">
3492	   <div class="column full" style="text-align: center;">
3493		  <a class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-4-item-template" data-reviewData="feedback4Reviewlist" style="text-align: center; font-size: 16px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none; background:#FB5607; color:white; padding:12px 28px; border-radius:24px;text-decoration:none;">
3494			View All Reviews
3495		  </a>
3496	   </div>
3497	</div>
3498	</script>
3498
3499	
3500	
3500<script type="text/template" id="feedback-4-item-template">
3501		<div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
3502		  <div class="is-card avgRatingContainer" style="border:1px solid #E5E5E5 !important; border-radius:16px !important;background:white; padding:20px; ">
3503			 <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
3504				<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3505					<a  style="color:#FB5607 !important;" class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3506				<@ } @>
3507				<p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 82px; max-height: 80px; overflow: hidden;">
3508				   <@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
3509					</p>
3510				<div class="reviewerName">
3511				   <p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px; opacity:0.5;">
3512					   <@ print(item.userName) @>
3513					</p></div>
3514				
3515				 <p style="margin: 0px;">
3516					<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> 
3517						<@ if(item.rating >= ratingsSize) {@> 
3518							<i class="fa fa-solid fa-star-sharp text-primary" style="color:#FB5607 !important;"></i>
3519						<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3520							<i class="fa fa-solid fa-star-sharp-half text-primary" style="color:#FB5607 !important;"></i> 
3521						<@ } @> 
3522					<@ }@>
3523				 </p>		
3524	
3525			   </div>
3526		  </div>	
3527	   </div>
3528	</script>
3528
3529	
3529<script type="text/template" id="feedback-4-createTemplate">
3530		<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
3531	  <div class="is-boxes">
3532		<div class="is-box-centered">
3533		  <div class="is-container container" style="max-width: 1200px;">
3534		
3535			<div class="review-box review-add-box">
3536				<div class="is-container container is-content-1200" >
3537				   <div class="row clearfix" >
3538					  <div class="column full" >
3539						 <h1 style="text-align: left; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0px; color: black; ">Add a review</h1>
3540					  </div>
3541				   </div>
3542				   <div class="textarea-cont">
3543					<div style="display:flex; gap:30px;">
3544						<div><h3 style="font-size:18px;font-weight:600;">Overall Rating</h3></div>
3545						<div class="review-star1 text-primary" 
3546						style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;margin-left:0px !important;margin:0px !important">
3547					   <span id="rating-stars" >
3548						   <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
3549							   <i class="fa fa-solid fa-star-sharp rating-star" 
3550								  data-value='<@- ratingsSize @>' 
3551								  style="width: 20px; height: 20px; text-align: center; flex-shrink: 0; margin: 0; padding: 0;"></i>
3552						   <@}@>
3553					   </span>
3554				   </div>
3555				   <style></style>
3556				   
3557				   
3558					</div>
3559					  <textarea class="add-review-textarea" id="reviewText" style="background:#E5E5E5;width: 100%; border: 1px solid #E5E5E5; padding-right: 28px; padding-bottom: 28px; min-height: 180px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;border-radius:16px !important" placeholder="Add your review here"></textarea>
3560					  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
3561							<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
3562					<@ } @>
3563				   </div>
3564				   <div  style=" display: flex; justify-content: center;">
3565					  <button style="letter-spacing:0px !important ; background-color:#FB5607;padding:12px 28px !important;" id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3566						data-reviewData="feedback4Reviewlist" disabled >Submit</button>
3567				   </div>
3568				</div>
3569			</div>
3570			</div>
3571			</div>
3572		</div>
3573	</div>
3574	</script>
3574
3575	
3576
3577
3578
3579<!-- Blaze 5th feedback Template-->
3580<script type="text/template" id="feedback-5-template">
3581	<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3582	<@if(msg){@>
3583		<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3584	<@}else{@>
3585	<@ if(total > 0 && ratings && ratings.avgRating) {@>
3586	<div class="avgratingbox">
3587	<div class="column third">
3588	   <div class="is-card avgRatingContainer" style="background:#232323; border-radius:0px;padding:21px;" >
3589		  <div class="avgRatingInnerContainer">
3590			 <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;color:white;">Customer ratings</h3>
3591			 <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
3592				<i class="icon ion-android-star text-primary" style="font-size: 80px;color:rgb(216, 253, 70);"></i>
3593				<div style="margin-left: 25px;">
3594				   <span style="display: flex; justify-content: flex-start; align-items: baseline;">
3595					  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800; color: rgb(216, 253, 70); line-height: 1.3;">
3596						 <@ if(ratings && ratings.avgRating) {@>
3597						 <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3598						 <@}else{@>
3599						 0
3600						 <@}@>
3601					  </h3>
3602					  <p class="avgRatingReviews" style="color:white;">/5</p>
3603				   </span>
3604				   <p class="avgRatingReviews" style="color:white;">
3605					  <@ if(ratings){print(ratings.total) }else{0}@> reviews
3606				   </p>
3607				</div>
3608			 </div>
3609		  </div>
3610	   </div>
3611	</div>
3612	</div>
3613	<@ } @>
3614	<div id="feedback5Reviewlist" class="reviewslist">
3615	   <@ $.each(items, function(index, item) { @>
3616			   <@ var template = _.template($("#feedback-5-item-template").html()); print(template({item: item})) @>
3617	   <@ }); @>
3618	   <@}@>
3619	</div>
3620	<div class="row clearfix">
3621	   <div class="column full" style="text-align: center;">
3622		  <a class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-5-item-template" data-reviewData="feedback5Reviewlist" style="text-align: center; font-size: 16px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none; background:#D8FD46; color:black; padding:12px 28px; border-radius:0px;text-decoration:none;">
3623			View All Reviews
3624		  </a>
3625	   </div>
3626	</div>
3627	</script>
3627
3628	
3629	
3630	
3630<script type="text/template" id="feedback-5-item-template">
3631		<style>
3632			.template5-review .reviewTxt{
3633				color:white !important;
3634			}
3635			.template5-review .reviewerName p{
3636				color:white !important;
3637			}
3638		</style>
3639		<div class="column third reviewcontainer template5-review <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @> selfreview <@ } @>">
3640			<div class="is-card avgRatingContainer" style="border:1px solid #232323;padding:20px;">
3641				<div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;">
3642					<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id) { @>
3643						<a style="color:#D8FD46 !important;" class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>">
3644							<i class="material-icons">delete</i>
3645						</a>
3646					<@ } @>
3647					<p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 82px; max-height: 80px; overflow: hidden;">
3648						<@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
3649					</p>
3650					<div class="reviewerName">
3651						<p style="font-size: 12px; font-weight: 500; line-height: 1.3; text-align: left; padding-top: 0px; margin:0px; opacity:0.5; ">
3652							<@ print(item.userName) @>
3653						</p>
3654					</div>
3655	
3656					<p style="margin: 0px;">
3657						<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) { @>
3658							<@ if(item.rating >= ratingsSize) { @>
3659								<i class="fa fa-solid fa-star-sharp text-primary" style="color:#D8FD46 !important;"></i>
3660							<@ } else if(item.rating > ratingsSize - 1 && item.rating < ratingsSize) { @>
3661								<i class="fa fa-solid fa-star-sharp-half text-primary" style="color:#D8FD46 !important;"></i>
3662							<@ } @>
3663						<@ } @>
3664					</p>
3665				</div>
3666			</div>
3667		</div>
3668	</script>
3668
3669	
3670	
3670<script type="text/template" id="feedback-5-createTemplate">
3671		<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
3672	  <div class="is-boxes">
3673		<div class="is-box-centered" style="background:#181818;">
3674		  <div class="is-container container" style="max-width: 1200px;">
3675		
3676			<div class="review-box review-add-box">
3677				<div class="is-container container is-content-1200" >
3678				   <div class="row clearfix" >
3679					  <div class="column full" >
3680						 <h1 style="text-align: left; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0px; color: white; ">Add a review</h1>
3681					  </div>
3682				   </div>
3683				   <div class="textarea-cont" style="background:transparent">
3684					<div style="display:flex; gap:30px;">
3685						<div><h3 style="font-size:18px;font-weight:600; color:white;">Overall Rating</h3></div>
3686						<div class="review-star text-primary" 
3687						style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;margin-left:0px !important;margin:0px !important">
3688					   <span id="rating-stars" >
3689						   <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
3690							   <i class="fa fa-solid fa-star-sharp rating-star" 
3691								  data-value='<@- ratingsSize @>' 
3692								  style="width: 20px; height: 20px; text-align: center; flex-shrink: 0; margin: 0; padding: 0;"></i>
3693						   <@}@>
3694					   </span>
3695				   </div>
3696				   
3697				   
3698					</div>
3699					  <textarea class="add-review-textarea" id="reviewText" style="color:white;background:#232323;width: 100%; border: 1px solid #636363; padding: 28px;  min-height: 180px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;border-radius:0px !important" placeholder="Add your review here"></textarea>
3700					  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
3701							<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
3702					<@ } @>
3703				   </div>
3704				   <div  style=" display: flex; justify-content: center;margin-top:20px;">
3705					  <button style="letter-spacing:0px !important ; background-color:#D8FD46;padding:12px 28px !important; border-radius:0px !important; color:black;" id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3706						data-reviewData="feedback5Reviewlist" disabled >Submit</button>
3707				   </div>
3708				</div>
3709			</div>
3710			</div>
3711			</div>
3712		</div>
3713	</div>
3714	</script>
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730<!-- Nebula Feedback 6-->
3731
3732<script type="text/template" id="feedback-6-template">
3733	<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3734	<@if(msg){@>
3735		<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3736	<@}else{@>
3737	<@ if(total > 0 && ratings && ratings.avgRating) {@>
3738	<div class="avgratingbox">
3739	<div class="column third">
3740	   <div class="is-card avgRatingContainer" style="border-radius:16px !important ; padding:20px ;border:1px solid #E5E5E5 !important;" >
3741		  <div class="avgRatingInnerContainer">
3742			 <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
3743			 <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
3744				<i class="icon ion-android-star text-primary" style="font-size: 80px;    color: #6715FF !important;"></i>
3745				<div style="margin-left: 25px;">
3746				   <span style="display: flex; justify-content: flex-start; align-items: baseline;">
3747					  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800;     color: #6715FF !important; line-height: 1.3;">
3748						 <@ if(ratings && ratings.avgRating) {@>
3749						 <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3750						 <@}else{@>
3751						 0
3752						 <@}@>
3753					  </h3>
3754					  <p class="avgRatingReviews">/5</p>
3755				   </span>
3756				   <p class="avgRatingReviews">
3757					  <@ if(ratings){print(ratings.total) }else{0}@> reviews
3758				   </p>
3759				</div>
3760			 </div>
3761		  </div>
3762	   </div>
3763	</div>
3764	</div>
3765	<@ } @>
3766	<div id="feedback6Reviewlist" class="reviewslist">
3767	   <@ $.each(items, function(index, item) { @>
3768			   <@ var template = _.template($("#feedback-6-item-template").html()); print(template({item: item})) @>
3769	   <@ }); @>
3770	   <@}@>
3771	</div>
3772	<div class="row clearfix">
3773	   <div class="column full" style="text-align: center;">
3774		  <a class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-6-item-template" data-reviewData="feedback6Reviewlist" style="text-align: center; font-size: 16px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none; background:#6715FF; color:white; padding:12px 28px; border-radius:24px;text-decoration:none;">
3775			View All Reviews
3776		  </a>
3777	   </div>
3778	</div>
3779	</script>
3779
3780	
3781	
3781<script type="text/template" id="feedback-6-item-template">
3782		<div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
3783		  <div class="is-card avgRatingContainer" style="border:1px solid #E5E5E5 !important; border-radius:16px !important;background:white; padding:20px; ">
3784			 <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
3785				<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3786					<a  style="color:#6715FF !important;" class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3787				<@ } @>
3788				<p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 82px; max-height: 80px; overflow: hidden;">
3789				   <@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
3790					</p>
3791				<div class="reviewerName">
3792				   <p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px; opacity:0.5;">
3793					   <@ print(item.userName) @>
3794					</p></div>
3795				
3796				 <p style="margin: 0px;">
3797					<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> 
3798						<@ if(item.rating >= ratingsSize) {@> 
3799							<i class="fa fa-solid fa-star-sharp text-primary" style="color:#6715FF !important;"></i>
3800						<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3801							<i class="fa fa-solid fa-star-sharp-half text-primary" style="color:#6715FF !important;"></i> 
3802						<@ } @> 
3803					<@ }@>
3804				 </p>		
3805	
3806			   </div>
3807		  </div>	
3808	   </div>
3809	</script>
3809
3810	
3810<script type="text/template" id="feedback-6-createTemplate">
3811		<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
3812	  <div class="is-boxes">
3813		<div class="is-box-centered">
3814		  <div class="is-container container" style="max-width: 1200px;">
3815		
3816			<div class="review-box review-add-box">
3817				<div class="is-container container is-content-1200" >
3818				   <div class="row clearfix" >
3819					  <div class="column full" >
3820						 <h1 style="text-align: left; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0px; color: black; ">Add a review</h1>
3821					  </div>
3822				   </div>
3823				   <div class="textarea-cont" style="background:transparent">
3824					<div style="display:flex; gap:30px;">
3825						<div><h3 style="font-size:18px;font-weight:600;">Overall Rating</h3></div>
3826						<div class="review-star1 text-primary" 
3827						style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;margin-left:0px !important;margin:0px !important">
3828					   <span id="rating-stars" >
3829						   <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
3830							   <i class="fa fa-solid fa-star-sharp rating-star" 
3831								  data-value='<@- ratingsSize @>' 
3832								  style="width: 20px; height: 20px; text-align: center; flex-shrink: 0; margin: 0; padding: 0;"></i>
3833						   <@}@>
3834					   </span>
3835				   </div>
3836				   <style></style>
3837				   
3838				   
3839					</div>
3840					  <textarea class="add-review-textarea" id="reviewText" style="background:white;width: 100%; border: 1px solid #c3c0c0; padding-right: 28px; padding-bottom: 28px;padding-left:20px; min-height: 180px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;border-radius:16px !important" placeholder="Add your review here"></textarea>
3841					  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
3842							<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: grey; margin-top: 0px;"><@ print(SPUSER.name) @></p>
3843					<@ } @>
3844				   </div>
3845				   <div  style=" display: flex; justify-content: center;">
3846					  <button style="letter-spacing:0px !important ; background-color:#6715FF;padding:12px 28px !important;margin-top:30px;" id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3847						data-reviewData="feedback6Reviewlist" disabled >Submit</button>
3848				   </div>
3849				</div>
3850			</div>
3851			</div>
3852			</div>
3853		</div>
3854	</div>
3855	</script>
3855
3856
3857
3858
3859
3860
3861<!-- Olive Feedback 7-->
3862<script type="text/template" id="feedback-7-template">
3863	<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3864	<@if(msg){@>
3865		<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3866	<@}else{@>
3867	<@ if(total > 0 && ratings && ratings.avgRating) {@>
3868	<div class="avgratingbox">
3869	<div class="column third">
3870	   <div class="is-card avgRatingContainer" style="border-radius:16px !important ; padding:20px ;border:1px solid #E5E5E5 !important;" >
3871		  <div class="avgRatingInnerContainer">
3872			 <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
3873			 <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
3874				<i class="icon ion-android-star text-primary" style="font-size: 80px;    color: #064400 !important;"></i>
3875				<div style="margin-left: 25px;">
3876				   <span style="display: flex; justify-content: flex-start; align-items: baseline;">
3877					  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800;     color: #064400 !important; line-height: 1.3;">
3878						 <@ if(ratings && ratings.avgRating) {@>
3879						 <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
3880						 <@}else{@>
3881						 0
3882						 <@}@>
3883					  </h3>
3884					  <p class="avgRatingReviews">/5</p>
3885				   </span>
3886				   <p class="avgRatingReviews">
3887					  <@ if(ratings){print(ratings.total) }else{0}@> reviews
3888				   </p>
3889				</div>
3890			 </div>
3891		  </div>
3892	   </div>
3893	</div>
3894	</div>
3895	<@ } @>
3896	<div id="feedback7Reviewlist" class="reviewslist">
3897	   <@ $.each(items, function(index, item) { @>
3898			   <@ var template = _.template($("#feedback-7-item-template").html()); print(template({item: item})) @>
3899	   <@ }); @>
3900	   <@}@>
3901	</div>
3902	<div class="row clearfix">
3903	   <div class="column full" style="text-align: center;">
3904		  <a class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-7-item-template" data-reviewData="feedback7Reviewlist" style="text-align: center; font-size: 16px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none; background:#064400; color:white; padding:12px 28px; border-radius:24px;text-decoration:none;">
3905			View All Reviews
3906		  </a>
3907	   </div>
3908	</div>
3909	</script>
3909
3910	
3911	
3911<script type="text/template" id="feedback-7-item-template">
3912		<div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
3913		  <div class="is-card avgRatingContainer" style="border:1px solid #E5E5E5 !important; border-radius:16px !important;background:white; padding:20px; ">
3914			 <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
3915				<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
3916					<a  style="color:#064400 !important;" class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
3917				<@ } @>
3918				<p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 82px; max-height: 80px; overflow: hidden;">
3919				   <@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
3920					</p>
3921				<div class="reviewerName">
3922				   <p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px; opacity:0.5;">
3923					   <@ print(item.userName) @>
3924					</p></div>
3925				
3926				 <p style="margin: 0px;">
3927					<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> 
3928						<@ if(item.rating >= ratingsSize) {@> 
3929							<i class="fa fa-solid fa-star-sharp text-primary" style="color:#064400 !important;"></i>
3930						<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
3931							<i class="fa fa-solid fa-star-sharp-half text-primary" style="color:#064400 !important;"></i> 
3932						<@ } @> 
3933					<@ }@>
3934				 </p>		
3935	
3936			   </div>
3937		  </div>	
3938	   </div>
3939	</script>
3939
3940	
3940<script type="text/template" id="feedback-7-createTemplate">
3941		<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
3942	  <div class="is-boxes">
3943		<div class="is-box-centered">
3944		  <div class="is-container container" style="max-width: 1200px;">
3945		
3946			<div class="review-box review-add-box">
3947				<div class="is-container container is-content-1200" >
3948				   <div class="row clearfix" >
3949					  <div class="column full" >
3950						 <h1 style="text-align: left; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0px; color: black; ">Add a review</h1>
3951					  </div>
3952				   </div>
3953				   <div class="textarea-cont">
3954					<div style="display:flex; gap:30px;">
3955						<div><h3 style="font-size:18px;font-weight:600;">Overall Rating</h3></div>
3956						<div class="review-star1 text-primary" 
3957						style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;margin-left:0px !important;margin:0px !important">
3958					   <span id="rating-stars" >
3959						   <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
3960							   <i class="fa fa-solid fa-star-sharp rating-star" 
3961								  data-value='<@- ratingsSize @>' 
3962								  style="width: 20px; height: 20px; text-align: center; flex-shrink: 0; margin: 0; padding: 0;"></i>
3963						   <@}@>
3964					   </span>
3965				   </div>
3966				   <style></style>
3967				   
3968				   
3969					</div>
3970					  <textarea class="add-review-textarea" id="reviewText" style="background:#E5E5E5;width: 100%; border: 1px solid #E5E5E5; padding-right: 28px; padding-bottom: 28px;padding-left:20px; min-height: 180px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;border-radius:16px !important" placeholder="Add your review here"></textarea>
3971					  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
3972							<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
3973					<@ } @>
3974				   </div>
3975				   <div  style=" display: flex; justify-content: center;">
3976					  <button style="letter-spacing:0px !important ; background-color:#064400;padding:12px 28px !important;" id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
3977						data-reviewData="feedback7Reviewlist" disabled >Submit</button>
3978				   </div>
3979				</div>
3980			</div>
3981			</div>
3982			</div>
3983		</div>
3984	</div>
3985	</script>
3985
3986
3987
3988
3989
3990	<!--Dusk Feedback-8-->
3991	
3991<script type="text/template" id="feedback-8-template">
3992		<div class="column full feedbackContainer feedback2 spectre <@- total @>" style="padding: 0;">
3993		<@if(msg){@>
3994			<h4 style="letter-spacing: 2px; text-align: center;"><@print(msg)@></h4>
3995		<@}else{@>
3996		<@ if(total > 0 && ratings && ratings.avgRating) {@>
3997		<div class="avgratingbox">
3998		<div class="column third">
3999		   <div class="is-card avgRatingContainer" style="border-radius:16px !important ; padding:20px ;border:1px solid #E5E5E5 !important;background:#F5F5F5;" >
4000			  <div class="avgRatingInnerContainer">
4001				 <h3 style="font-weight: 800; font-size: 12px; line-height: 1.3; margin-bottom: 0px;">Customer ratings</h3>
4002				 <div  style="display: flex; flex-direction: row; align-items: center; justify-content: center;">
4003					<i class="icon ion-android-star text-primary" style="font-size: 80px;    color: #282400 !important;"></i>
4004					<div style="margin-left: 25px;">
4005					   <span style="display: flex; justify-content: flex-start; align-items: baseline;">
4006						  <h3 style="margin-top: 0px; margin-bottom: 0px; font-size: 32px; font-weight: 800;     color: #282400 !important; line-height: 1.3;">
4007							 <@ if(ratings && ratings.avgRating) {@>
4008							 <@ print(parseFloat(ratings.avgRating.toFixed(1))) @>
4009							 <@}else{@>
4010							 0
4011							 <@}@>
4012						  </h3>
4013						  <p class="avgRatingReviews">/5</p>
4014					   </span>
4015					   <p class="avgRatingReviews">
4016						  <@ if(ratings){print(ratings.total) }else{0}@> reviews
4017					   </p>
4018					</div>
4019				 </div>
4020			  </div>
4021		   </div>
4022		</div>
4023		</div>
4024		<@ } @>
4025		<div id="feedback8Reviewlist" class="reviewslist">
4026		   <@ $.each(items, function(index, item) { @>
4027				   <@ var template = _.template($("#feedback-8-item-template").html()); print(template({item: item})) @>
4028		   <@ }); @>
4029		   <@}@>
4030		</div>
4031		<div class="row clearfix">
4032		   <div class="column full" style="text-align: center;">
4033			  <a class="loadMoreReviewsBtn reviewLMbtn text-primary" data-itemTemplate="feedback-8-item-template" data-reviewData="feedback8Reviewlist" style="text-align: center; font-size: 16px; font-weight: 500;cursor: pointer;line-height: 1.5;display: none; background:#282400; color:white; padding:12px 28px; border-radius:24px;text-decoration:none;">
4034				View All Reviews
4035			  </a>
4036		   </div>
4037		</div>
4038		</script>
4038
4039		
4040		
4040<script type="text/template" id="feedback-8-item-template">
4041			<div class="column third reviewcontainer <@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>selfreview<@ } @>">
4042			  <div class="is-card avgRatingContainer" style="border:1px solid #E5E5E5 !important; border-radius:16px !important;background:#F5F5F5; padding:20px; ">
4043				 <div style="text-align: center; display: flex; flex-direction: column; align-items: flex-start;" >
4044					<@ if(typeof SPUSER !== 'undefined' && item["userId"] === SPUSER.id)	{ @>
4045						<a  style="color:#282400 !important;" class="btn btn-link float-right deleteCurrentReviewBtn" data-id="<@ print(item['_id']) @>"><i class="material-icons">delete</i></a>
4046					<@ } @>
4047					<p class="reviewTxt" style="font-size: 14px; font-weight: 400; line-height: 1.5; margin-bottom: 25px; margin-top: 0px; min-height: 82px; max-height: 80px; overflow: hidden;">
4048					   <@ print(item.reviewtext.replace(/</g,'&lt;').replace(/>/g,'&gt;')) @>
4049						</p>
4050					<div class="reviewerName">
4051					   <p style="font-size: 12px; font-weight: 500; line-height: 1.3;  text-align: left; padding-top: 0px; margin:0px; opacity:0.5;">
4052						   <@ print(item.userName) @>
4053						</p></div>
4054					
4055					 <p style="margin: 0px;">
4056						<@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@> 
4057							<@ if(item.rating >= ratingsSize) {@> 
4058								<i class="fa fa-solid fa-star-sharp text-primary" style="color:#282400 !important;"></i>
4059							<@ } else if(item.rating > ratingsSize-1 && item.rating < ratingsSize) { @> 
4060								<i class="fa fa-solid fa-star-sharp-half text-primary" style="color:#282400 !important;"></i> 
4061							<@ } @> 
4062						<@ }@>
4063					 </p>		
4064		
4065				   </div>
4066			  </div>	
4067		   </div>
4068		</script>
4068
4069		
4069<script type="text/template" id="feedback-8-createTemplate">
4070			<div data-cat="1" class="is-section is-box is-section-20" id="createCustomReview" style="display: none;" data-id="<@- parentId @>">
4071		  <div class="is-boxes">
4072			<div class="is-box-centered">
4073			  <div class="is-container container" style="max-width: 1200px;">
4074			
4075				<div class="review-box review-add-box">
4076					<div class="is-container container is-content-1200" >
4077					   <div class="row clearfix" >
4078						  <div class="column full" >
4079							 <h1 style="text-align: left; font-size: 32px; line-height: 1.1; font-weight: 600; letter-spacing: 0px; color: black; ">Add a review</h1>
4080						  </div>
4081					   </div>
4082					   <div class="textarea-cont">
4083						<div style="display:flex; gap:30px;">
4084							<div><h3 style="font-size:18px;font-weight:600;">Overall rating</h3></div>
4085							<div class="review-star1 text-primary" 
4086							style="display: flex; flex-direction: row; align-items: center; padding-top: 0px; margin-top: 0px;margin-left:0px !important;margin:0px !important">
4087						   <span id="rating-stars" >
4088							   <@ for (ratingsSize = 1; ratingsSize <= 5; ratingsSize++) {@>
4089								   <i class="fa fa-solid fa-star-sharp rating-star" 
4090									  data-value='<@- ratingsSize @>' 
4091									  style="width: 20px; height: 20px; text-align: center; flex-shrink: 0; margin: 0; padding: 0;"></i>
4092							   <@}@>
4093						   </span>
4094					   </div>
4095					   <style></style>
4096					   
4097					   
4098						</div>
4099						  <textarea class="add-review-textarea" id="reviewText" style="background:#E5E5E5;width: 100%; border: 1px solid #E5E5E5; padding-right: 28px; padding-bottom: 28px;padding-left:20px; min-height: 180px; font-size: 14px; font-weight: 500; line-height: 1.5; padding-top: 10px;border-radius:16px !important" placeholder="Add your review here"></textarea>
4100						  <@ if(typeof SPUSER !== 'undefined' && SPUSER.name.length > 0)	{ @>
4101								<p style="font-weight: 400; font-size: 10px; line-height: 1.3; color: rgba(255, 255, 255, 0.5); margin-top: 0px;"><@ print(SPUSER.name) @></p>
4102						<@ } @>
4103					   </div>
4104					   <div  style=" display: flex; justify-content: center;">
4105						  <button style="letter-spacing:0px !important ; background-color:#282400;padding:12px 28px !important;" id="reviewSubmitBtn" class="btn btn-primary <@ if(typeof SPUSER !== 'undefined'){ print('createCustomReviewBtn') }else { print('loginBtn') } @>"
4106							data-reviewData="feedback8Reviewlist" disabled >Submit</button>
4107					   </div>
4108					</div>
4109				</div>
4110				</div>
4111				</div>
4112			</div>
4113		</div>
4114		</script>
4114
4115
4116
4117
4118<div class="spectre">
4119<div class="modal" id="reviewModal">
4120			<a href="javascript:void(0);" class="modal-overlay close"
4121				aria-label="Close"></a>	
4122			<div class="modal-container">
4123				<div class="modal-header">
4124					<a href="javascript:void(0);"
4125						class="close btn btn-clear float-right" aria-label="Close"></a>
4126					<div class="modal-title h5">Review</div>
4127				</div>
4128				<div class="modal-body" style="max-height: 90vh;padding-top: 0;">
4129				</div>
4130			</div>
4131			
4132			  
4133			  
4134</div>
4135
4136  
4137</div>
4138
4139
4140
4141
4142
4143	
4144
4145
4146
4147
4148
4149
4150
4151 
4152
4153<script>
4154	var created_date = `Created Date`;
4155	var uname_msg = `Name`;
4156	var email_msg = `Email`;
4157	var has_web_token = `Has Web Token`;
4158	var has_mobile_token = `Has Mobile Token`;
4159	var actions_msg = `Actions`;
4160	var delete_user = `Delete User`;
4161	var create_target_audience = `Create Target Audience`;
4162	var msg_now = `NOW`;
4163	var msg_now_2 = `Now`;
4164	var msg_scheduled = `SCHEDULED`;
4165	var msg_recurring = `RECURRING`;
4166	var msg_weeks = `weeks`;
4167	var msg_months = `month(s)`;
4168	var msg_days = `days`;
4169	var notification_screen = `Notification Screen`;
4170	var coursepackagelandingpage = `Course/Package landing page`;
4171	var search_course_name = `Search by course/package name`;
4172	var webinar_landing_page = `Webinar landing page`;
4173	var search_by_webinar_name = `Search by webinar name`;
4174	var categorypage = `Category Page`;
4175	var custompage = `Custom Page`;
4176	var blogpage = `Blog Page`;
4177	var customlink = `Custom Link`;
4178	var homepage_msg = `Homepage`;
4179	var search_category = `Search category`;
4180	var search_page_title = `Search by Page title`;
4181	var search_blog_title = `Search by Blog title`;
4182	var enter_the_link = `Enter the link`;
4183	var membership_page = `Membership page`;
4184	var pick_a_date = `Pick a date`;
4185	var pick_first_push_date = `Pick a first push date`;
4186	var every_msg = `Every`;
4187	var starting_msg = `Starting`;
4188	var msg_published = `Published`;
4189	var msg_unpublished = `Unpublished`;
4190	var msg_customize = `Customize`;
4191	var msg_edit = `Edit`;
4192	var msg_featured_image = `Featured Image`;
4193	var msg_preview = `Preview`;
4194	var msg_delete = `Delete`;
4195	var msg_unpublish = `Unpublish`;
4196	var msg_publish = `Publish  `;
4197	var msg_question= `questions`;
4198	var try_new_coding_assignment= `Try new coding assignment`;
4199	var change_enrollment_date = `Change Enrollment Date`;
4200	var change_expiry = `Change Expiry`;
4201	var change_remanining_time = `Change Remaining Time`;
4202	var remove_from_course = `Remove From Course`;
4203	var reset_course_progress = `Reset Course Progress`;
4204	var complete_report = `Complete Report`;
4205	var msg_progress = `Progress`;
4206	var timetaken = `Time Taken`;
4207	var msg_user_details = `User Details`;
4208	var graphy_platform_fees_note = `Amount after deducting Graphy platform fees. This does not include your payment gateway charges.`;
4209	var final_price_note = `Final payable price by learners`;
4210	var save_alert_message = `Save progress before moving forward.`;
4211	var no_chapter_alert_message = `Please add at least one chapter in the course.`;
4212	var download_msg = `Download`;
4213	var revoke_msg = `Revoke`;
4214	var yes_msg = `Yes`;
4215	var no_msg = `No`;
4216	var details_hover = `Details`;
4217	var hide_notification = `Hide Notification`;
4218	var notify_learners_hover = `Notify Learners`;
4219	var search_course_package = `Search Courses to add in this package.`;
4220	var bulk_delete = `Bulk Delete`;
4221	var scheduled_msg = `Scheduled`;
4222	var inprogress_msg = `In Progress`;
4223	var completed_msg = `Completed`;
4224	var yes_all_caps = `YES`;
4225	var no_all_caps = `NO`;
4226	var discount_msg = `Discount`;
4227	var max_discount = `Max Discount`;
4228	var min_cart = `Min Cart`;
4229	var delete_bookmark = `Delete Bookmark`;
4230	var view_question = `View question`;
4231	var msg_free = `Free`;
4232	var membership_expiration_note = `Membership will be canceled on next billing date.`;
4233	var msg_active = `Active`;
4234	var msg_inactive = `Inactive`;
4235	var delete_hover = `Delete`;
4236	var view_hover = `View`;
4237	var coursewise = `Course Wise`;
4238	var learner_wise = `Learner wise`;
4239	var segment_wise = `Segment wise`;
4240	var unregistered_msg = `Unregistered`;
4241	var target_audience_deleted = `Target Audience Deleted`;
4242	var courses_msg = `course(s)`;
4243	var learners_msg = `learner(s)`;
4244	var unregistered_learners = `Unregistered Learner`;
4245	var all_learners = `All Learners`;
4246	var course_wise_learners = `Course wise Learners`;
4247	var segment_wise_learners = `Segment wise Learners`;
4248	var with_token = `with token`;
4249	var segments_msg = `segments`;
4250	var add_users_msg = `Add Users`;
4251	var approx_msg = `Approx`;
4252	var revoke_cancellation_request = `Revoke Cancellation request.`;
4253	var remove_scheduled_membership_cancellation = `Remove Scheduled Membership Cancellation`;
4254	var schedule_to_stop_subscription = `Schedule to stop Subscription`;
4255	var stop_subscription = `Stop subscription`;
4256	var available_for_review_all_caps = `AVAILABLE FOR REVIEW`;
4257	var reviewed_all_caps = `REVIEWED`;
4258	var rejected_all_caps = `REJECTED`;
4259	var preview_code = `Preview Code`;
4260	var approve_msg = `Approve`;
4261	var reject_msg = `Reject`;
4262	var history_msg = `History`;
4263	var message_hover= `Message`;
4264	var remove_msg= `Remove`;
4265	var enroll_msg= `Enroll`;
4266	var change_validity= `Change Validity`;
4267	var learners_selected= `learner(s) selected`;
4268	var select_all_msg= `Select all`;
4269	var do_you_want_to_delete_course= `Do you really want to delete this course?`;
4270	var do_you_want_to_revoke_this_certificate= `Do you really want to revoke this certificate?`;
4271	var do_you_want_to_revoke_entry= `Do you really want to revoke this entry?`;
4272	var do_you_want_to_edit_enrollment_date= `Do you really want to edit enrollment date of all learners?`;
4273	var do_you_want_to_edit_enrollment_date_for_selected= `Do you really want to edit enrollment date of selected learners?`;
4274	var do_you_want_to_edit_course_validity= `Do you really want to edit course validity of all learners?`;
4275	var do_you_want_to_edit_course_validity_for_selected= `Do you really want to edit course validity of selected learners?`;
4276	var do_you_want_to_remove_selected= `Do you really want to remove selected learners?`;
4277	var do_you_want_to_remove_all= `Do you really want to remove all learners?`;
4278	var do_you_want_to_create_zip= `Do you really want to create zip for this course?`;
4279	var do_you_want_to_deactivate= `Do you really want to deactivate?`;
4280	var successfully_done_alert= `Successfully Done.`;
4281	var please_select_atleast_1_learner= `Please select atleast 1 learner !`;
4282	var on_msg= `On`;
4283	var single_correct_option = `Single Correct Option`;
4284	var multiple_correct_options = `Multiple Correct Options`;
4285	var numerical_Fill_in_the_Blank = `Numerical/Fill in the Blank`;
4286	var match_the_Column = `Match the Column`;
4287	var subjective = `Subjective`;
4288	var your_target_audience_appear= `Your target audience user(s) will appear here`;
4289	var your_upcoming_campaign= `Your upcoming campaign will appear here`;
4290	var status_msg= `Status`;
4291	var stop_campaign= `Stop Campaign`;
4292	var copy_campaign= `Copy Campaign`;
4293	var platform_fee_tax = `platform fees including taxes`;
4294	var pg_fees_taxes = `payment gateway fees including taxes`;
4295	var msg_quiz = `Quiz`;
4296	var msg_livetest = `Live test`;
4297	var msg_heading = `Heading`;
4298	var msg_text = `Text`;
4299	var msg_form = `Form`;
4300	var msg_live_class = `Live class`;
4301	var msg_live_class_rec = `live class recording`;
4302	var msg_code = `Code`;
4303	var msg_assignment = `Assignment`;
4304	var msg_added = `added`;
4305	var msg_about = `About`;
4306	var msg_year = `year`;
4307	var msg_month = `Month`;
4308	var msg_day = `day`;
4309	//var msg_hour = `hh`;
4310	//var msg_minute = `mm`;
4311	//var msg_seconds = `seconds`;
4312	var msg_month_l = `month`;
4313	var msg_day_l = `day`;
4314	var msg_hour_l = `hour`;
4315	var msg_minute_l = `minute`;
4316	var msg_second_l = `second`;
4317	var mobile_number=`Mobile Number`;
4318	var status_android =`Status (ANDROID)`;
4319	var status_ios =`Status (IOS)`;
4320	var delivery_time=`Delivery Time`;
4321	var sure_unhide=`Are you sure you want to unhide this course ?`;
4322	var become_a_partner=`Become a Partner`;
4323	var failed_msg=`Failed`;
4324	var sent_msg=`Sent`;
4325	var pending_msg=`Pending`;
4326	var running_msg=`Running`;
4327	var add_pricing_plan = `Add pricing plan`;
4328	var msg_add = `Add`;
4329	var of_msg = `of`;
4330	var items_msg = `items`
4331	var ago_msg = `ago`
4332	var items_msg = `items`;
4333	
4334	var january_msg = `January`;
4335	var february_msg = `February`;
4336	var march_msg = `March`;
4337	var april_msg = `April`;
4338	var may_msg = `May`;
4339	var june_msg = `June`;
4340	var july_msg = `July`;
4341	var august_msg = `August`;
4342	var september_msg = `September`;
4343	var october_msg = `October`;
4344	var november_msg = `November`;
4345	var december_msg = `December`;
4346	var sunday_msg = `Sunday`;
4347	var monday_msg = `Monday`;
4348	var tuesday_msg = `Tuesday`;
4349	var wednesday_msg = `Wednesday`;
4350	var thursday_msg = `Thursday`;
4351	var friday_msg = `Friday`;
4352	var saturday_msg = `Saturday`;
4353	var at_msg = `at`;
4354	var generate_outline = `Generate outline using AI`;
4355	var it_take_min = `It may take a min.`;
4356	var msg_ok = `OK`;
4357	var edit_pricing_plan = `Edit pricing plan`;
4358
4359</script>
4359
4360
4361
4362
4363
4364
4365
4366
4367<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-2.0.3.min.js"></script>
4367
4368
4369<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/underscore-min.js?v=1.9.1"></script>
4369
4370
4371<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.form.js"></script>
vendor: 1 bytes, line 4371
4371
4372<script async src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.noty.packaged.min.js"></script>
vendor: 1 bytes, line 4372
4372
4373<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-ui.min.js"></script>
vendor: 1 bytes, line 4373
4373
4374<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.timeago.js"></script>
vendor: 1 bytes, line 4374
4374
4375<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/js-webshim/minified/extras/modernizr-custom.js"></script>
vendor: 1 bytes, line 4375
4375
4376<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery.datetimepicker.js"></script>
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/aes.js"></script>
vendor: 1 bytes, line 4385
4385
4386<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/mode-ecb-min.js"></script>
vendor: 1 bytes, line 4386
4386
4387<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/pad-nopadding-min.js"></script>
4387
4388
4389<!-- 
4389<script src="https://unpkg.com/@popperjs/core@2"></script>
vendor: 1 bytes, line 4389
4389
4390<script src="https://unpkg.com/tippy.js@6"></script>
4390 -->
4391<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.3.3/umd/popper.js" integrity="sha512-jSMYzs1Iebw2Uew+Y9karoqkqTDEzbqkdttIkHJKh3auQ6aGV7p8b7A3Yo9k/LsMvUFqWt5AV66hfo1OwH4Jjg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
vendor: 1 bytes, line 4391
4391
4392<script src="https://cdnjs.cloudflare.com/ajax/libs/tippy.js/6.0.0/tippy-bundle.umd.js"></script>
4392
4393
4394<script type="text/javascript">
4395	var passwordPolicyRequired = false;
4396	var checkoutV2 = true;
4397	var primaryFieldPhoneEnabled = true;
4398	var orgLanguageCode = "";
4399	var SPEERESCDN = "https://d502jbuhuh9wk.cloudfront.net";
4400</script>
4400
4401
4402<script src="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/scripts/sutils_919c30bb7230024efec7b939763642a2.js"></script>
vendor: 1 bytes, line 4402
4402
4403<script src="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/scripts/utils/dateUtils_f53456b03f1287667a7b24fb63b367ce.js"></script>
vendor: 1 bytes, line 4403
4403
4404<script type="text/javascript">
4405	// Make org object globally available for dateUtils
4406	window.org = window.org || {};
4407	window.org.currencyCode = "false"=='true'?'USD':'INR';
4408	var websiteV3Org = false;
4409	var orgCreatedDate = {"$date":"2023-09-14T09:30:49.417Z"};
4410</script>
4410
4411
4412
4413
4414
4415
4416<script type="text/javascript">
4417	var trialExpired = "false";
4418	var planCancelled = "false";
4419	var isFreePlan = false;
4420	
4421</script>
vendor: 1 bytes, line 4421
4421
4422<script type="text/javascript" id="dsf239df">
4423	var ctx = "/s",
4424		isFirstLogin = "", cjs = CryptoJS;
4425		
4426	var defaultCoreColor = "#5755d9", theme1CoreColor = "#572b7a", theme2CoreColor = "#3f51b5", theme3CoreColor = "#009051", 
4427		theme4CoreColor = "#596439", theme5CoreColor = "#F0591D", theme6CoreColor = "#28a745", theme7CoreColor = "#1bbc9b", 
4428		theme8CoreColor = "#f38f20", apkId = "6231373436231373432363038663465653864613523630386634656538646135", theme9CoreColor = "#c0af01", theme10CoreColor = "#e8d3a4",
4429		webColor = defaultCoreColor,
4430		CFCDN = "https://d502jbuhuh9wk.cloudfront.net", mobileNotification = true, webNotification = true, 
4431		iosPlayVideo = false,
4432		chromeDrmPlayback = false,
4433		gaType = "ga4";
4434		
4435	
4436	
4437	$("#dsf239df").remove();
4438</script>
4438
4439
4440
4441<!-- Google Tag Manager Integration -->
4442    
4442<script>
vendor: 478 bytes, lines 4442-4449
4442(function (w, d, s, l, i) {
4443            w[l] = w[l] || []; w[l].push({
4444                'gtm.start':
4445                    new Date().getTime(), event: 'gtm.js'
4446            }); var f = d.getElementsByTagName(s)[0],
4447                j = d.createElement(s), dl = l != 'dataLayer' ? '&l=' + l : ''; j.async = true; j.src =
4448                    'https://www.googletagmanager.com/gtm.js?id=' + i + dl; f.parentNode.insertBefore(j, f);
4449        })(window, document, 'script', 'dataLayer', "
4449GTM-NF7K8P2J
vendor: 3 bytes, line 4449
4449");
4449</script>
4449
4450<!-- End Google Tag Manager Integration-->
4451
4452			
4453
4454
4455
4456
4457
4458
4459	
4460		<input type="hidden" id="orgCurrencyCode" value="INR" />
4461	
4462	
4463
4464
4465
4466	
4466<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/detect-private-browsing.js"></script>
4466
4467	
4467<script type="text/javascript">
4468	detectPrivateMode(
4469        function(is_private) {
4470            if(typeof is_private !== 'undefined' && is_private) {
4471            		$("input[name=privateMode]").val("private");
4472            }
4473        }
4474    );
4475	</script>
4475
4476
4477
4478
4479	
4480	
4481		
4481<script type="text/javascript"
4482			src="https://d502jbuhuh9wk.cloudfront.net/resources/js/intlTelInput.min.js"></script>
4482
4483		
4483<script type="text/javascript">
4484		
4485			var ipInfo = localStorage.getItem('ipInfo');
4486	        if(!ipInfo) {
4487	        	$.get("https://ipinfo.io", function() {}, "jsonp").always(function(resp) {
4488	        		if(resp) {
4489	        			var ipInfoStr = JSON.stringify(resp);
4490	    				var ipInfoField = document.getElementById("ipInfo");
4491	    				var countryCode = (resp.country) ? resp.country : "in";
4492				        sessionStorage.setItem('countryCode', countryCode);
4493						if('statusText' in resp) {
4494	    					if((resp['statusText'] !== 'error') && ('ip' in resp)) {
4495	    						localStorage.setItem('ipInfo', ipInfoStr);
4496	    						if(ipInfoField) {
4497	    							ipInfoField.value = ipInfoStr;
4498	    		        		}
4499							}
4500						}
4501			        	else if('ip' in resp) {
4502			        		localStorage.setItem('ipInfo', ipInfoStr);
4503			        		if(ipInfoField) {
4504			        			ipInfoField.value = ipInfoStr;
4505			        		}
4506		        		}
4507					}
4508	        	})
4509	        }
4510		
4511		  $("#sphone").intlTelInput({
4512		      initialCountry: "auto",
4513		      geoIpLookup: function(callback) {
4514		    	 var scountryCode = sessionStorage.getItem('countryCode');
4515		    	 
4516		    	 if(scountryCode !== null) {
4517		    		 callback(scountryCode);
4518		    	 }else {
4519		    		 $.get("https://ipinfo.io", function() {}, "jsonp").always(function(resp) {
4520				          var countryCode = (resp && resp.country) ? resp.country : "in";
4521				          callback(countryCode);
4522				          sessionStorage.setItem('countryCode', countryCode);
4523				        });
4524		    	 }
4525		      },
4526		      preferredCountries: ["in", "us"],
4527		      separateDialCode: true,
4528		      utilsScript: "/resources/js/intlUtils.js"
4529		    });
4530		  	
4531		  </script>
4531
4532	
4533
4534
4535
4536<div class="spectre">
4537
4538	
4539	
4540	
4541
4542	
4542<script type="text/javascript">
4543		if(top != self) {
4544		    //iframe
4545		    $(".toast").remove();
4546		}
4547	</script>
4547
4548	
4549	
4550</div>
4551
4552	<!-- Google Tag Manager (noscript) -->
vendor: 68 bytes, lines 4552-4553
4552
4553<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
4553GTM-WLMMLNJ6
vendor: 83 bytes, lines 4553-4554
4553"
4554height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
4555<!-- End Google Tag Manager (noscript) -->
4556gtag('config', 'AW-11117180759');
4557</script>
4557
4558
4559<input type="hidden" id="orgCreditAlias"
4560	value="Pro-ceeds" />
4561
4562
4563
4564	
4565		
4566			
4567			
4568			
4569				
4570					
4571					
4572					
4573				
4574			
4575		
4576	
4577
4578
4579<script>
4580
4581
4582
4583
4584	var orgTaxLabel = "GST";
4585
4586
4587
4588	var sessionCountry = "";
4589
4590	$(document).ready(function() {		
4591		$("input[name='userMobileVerify']").change(function(data){
4592			var uniqueMobileSwitch = $('#uniqueMobileId');
4593			if(data.target.value==='true'){
4594				$('input[name=uniqueMobile]').prop('checked', true)
4595				$('#uniqueMobileLabelId').show();				
4596			}else{
4597				$('input[name=uniqueMobile]').prop('checked', false)
4598				$('#uniqueMobileLabelId').hide();
4599			}
4600		});
4601	});
4602	
4603	
4604		
4605		
4606			localStorage.removeItem('microserviceAuthToken');
4607		
4608   
4609   
4610   
4611	
4612	
4613			localStorage.removeItem('communityToken');
4614	
4615   
4616   
4617   
4618	
4619	
4620			localStorage.removeItem('chatRefreshToken');
4621	
4622
4623
4624
4625	
4626	
4627			localStorage.removeItem('refreshToken');
4628	
4629
4630	
4631</script>
4631
4632
4633
4634<!-- amplitude script start -->
4635
4636
4637
4638	
4638<script type="text/javascript">
4639	    window.localStorage.removeItem('loginAmplitudeEventSent');
4640	</script>
4640
4641
4642
4643<!-- amplitude script end -->
4644
4645 
4646
4647 <div id="template-container"></div>
4648
4649	 
4650	
4650<script	src="https://d502jbuhuh9wk.cloudfront.net/staticfiles/resources/scripts/sstore_5ffb558e86d7b5ef265e05fb0bfbef79.js"></script>
4650
4651
4652	
4653	
4653<script type="text/template" id="categoryTemplate">
4654		<li class="menu-item"><a href="/s/store/courses/<@- label @>"><@- label @></a>
4655	</script>
4655
4656	
4656<script type="text/javascript">
4657		store.init(true);
4658		store.bindEvents();
4659	</script>
4659
4660	
4660<script type="text/javascript">
4661		window.signupParams = {source: "store", platform: "web", sourceId: null};
4662	</script>
4662
4663	
4664
4665
4666
4667
4668	<div id="ui-notification-container" class="spectre"></div>
4669	
4669<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-easing.js"></script>
4669
4670	
4670<script src="https://d502jbuhuh9wk.cloudfront.net/resources/js/jquery-notification.js"></script>
4670
4671
4672	<!-- Import and configure the Firebase SDK -->
4673	<!-- These scripts are made available when the app is served or deployed on Firebase Hosting -->
4674	<!-- If you do not serve/host your project using Firebase Hosting see https://firebase.google.com/docs/web/setup -->
4675	
4675<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-app.js"></script>
4675
4676	
4676<script src="https://www.gstatic.com/firebasejs/8.10.0/firebase-messaging.js"></script>
4676
4677
4678	
4678<script>
4679  // Retrieve Firebase Messaging object.
4680  var firebaseConfig = {"apiKey":"AIzaSyCQ2wNyeXrIzifB0IKKVCalHXrDk7pg32w","authDomain":"live-stream-chat-efac5.firebaseapp.com","databaseURL":"https://live-stream-chat-efac5.firebaseio.com","projectId":"live-stream-chat-efac5","storageBucket":"live-stream-chat-efac5.appspot.com","messagingSenderId":"158909475587","appId":"1:158909475587:web:93ede0a9feef2b3f"};
4681  // Initialize Firebase
4682  firebase.initializeApp(firebaseConfig);
4683  const messaging = firebase.messaging();
4684  // Add the public key generated from the console here.
4685  messaging.usePublicVapidKey("BN3BYOmWjo3NAW7if4jCE5cG-yIOXAvmoKB9k53ZssAfgb7Z6ZZ-oAQWFK7j6EqHIG3f-G9QAVKLOIK7Vw3X0_k");
4686
4687  // Callback fired if Instance ID token is updated.
4688  messaging.onTokenRefresh(function(){
4689    messaging.getToken().then(function(refreshedToken){
4690      // Indicate that the new Instance ID token has not yet been sent to the
4691      // app server.
4692      setTokenSentToServer(false);
4693      // Send Instance ID token to app server.
4694      sendTokenToServer(refreshedToken);
4695      // Display new Instance ID token and clear UI of all previous messages.
4696      resetUI();
4697      // [END_EXCLUDE]
4698    })["catch"](function(err){
4699      console.log('Unable to retrieve refreshed token ', err);
4700      showToken('Unable to retrieve refreshed token ', err);
4701      requestPermission();
4702    });
4703  });
4704
4705  // Handle incoming messages. Called when:
4706  // - a message is received while the app has focus
4707  // - the user clicks on an app notification created by a service worker
4708  //   `messaging.setBackgroundMessageHandler` handler.
4709  messaging.onMessage(function(payload){
4710    console.log('Message received. ', payload);
4711    appendMessage(payload);
4712  });
4713
4714  function resetUI() {
4715    clearMessages();
4716    $(function(){
4717        $("#ui-notification-container").notification();
4718    });
4719    // Get Instance ID token. Initially this makes a network call, once retrieved
4720    // subsequent calls to getToken will return from cache.
4721    messaging.getToken().then(function(currentToken) {
4722      if (currentToken) {
4723        sendTokenToServer(currentToken);
4724        updateUIForPushEnabled(currentToken);
4725      } else {
4726        // Show permission request.
4727        console.log('No Instance ID token available. Request permission to generate one.');
4728        // Show permission UI.
4729        updateUIForPushPermissionRequired();
4730        setTokenSentToServer(false);
4731      }
4732    })["catch"](function(err) {
4733      console.log('An error occurred while retrieving token. ', err);
4734      showToken('Error retrieving Instance ID token. ', err);
4735      setTokenSentToServer(false);
4736    });
4737    // [END get_token]
4738  }
4739
4740  function showToken(currentToken) {
4741    // Show token in console and UI.
4742    console.log(currentToken);
4743  }
4744
4745  // Send the Instance ID token your application server, so that it can:
4746  // - send messages back to this app
4747  // - subscribe/unsubscribe the token from topics
4748  function sendTokenToServer(currentToken) {
4749    if (!isTokenSentToServer()) {
4750      console.log('Sending token to server...');
4751      var packet = {
4752			  url : "/public/v1/fcm/token",
4753			  data: {token: currentToken},
4754			  success: function(data, params) {
4755				  console.log("Token successfully sent")
4756				  setTokenSentToServer(true);
4757				  setTokenSentToServerUserId(window.userId);
4758			  }
4759	  };
4760	  postData(packet, {});
4761    } else {
4762      console.log('Token already sent to server so won\'t send it again ' +
4763          'unless it changes');
4764    }
4765
4766  }
4767
4768  function isTokenSentToServer() {
4769    return window.localStorage.getItem('sentToServer') === '1' && isTokenSentToServerWithUser(window.userId);
4770  }
4771  
4772  function isTokenSentToServerWithUser(userId) {
4773	 return window.localStorage.getItem('sentToServer-user') === userId;
4774  }
4775
4776  function setTokenSentToServer(sent) {
4777    window.localStorage.setItem('sentToServer', sent ? '1' : '0');
4778  }
4779  
4780  function setTokenSentToServerUserId(userId) {
4781	    window.localStorage.setItem('sentToServer-user', userId);
4782  }
4783
4784  function requestPermission() {
4785    console.log('Requesting permission...');
4786    // [START request_permission]
4787    Notification.requestPermission().then(function(permission) {
4788      if (permission === 'granted') {
4789        console.log('Notification permission granted.');
4790        resetUI();
4791      } else {
4792        console.log('Unable to get permission to notify.');
4793      }
4794    });
4795    // [END request_permission]
4796  }
4797
4798  function deleteToken() {
4799    // Delete Instance ID token.
4800    // [START delete_token]
4801    messaging.getToken().then(function(currentToken){
4802      messaging.deleteToken(currentToken).then(function(){
4803        console.log('Token deleted.');
4804        setTokenSentToServer(false);
4805        // Once token is deleted update UI.
4806        resetUI();
4807      })["catch"](function(err) {
4808        console.log('Unable to delete token. ', err);
4809      });
4810    })["catch"](function(err) {
4811      console.log('Error retrieving Instance ID token. ', err);
4812      showToken('Error retrieving Instance ID token. ', err);
4813    });
4814
4815  }
4816
4817  // Add a message to the messages element.
4818  function appendMessage(payload) {
4819	  $("#ui-notification-container").notification("create", {
4820          title: payload.data.title,
4821          content: payload.data.message,
4822          customIcon: payload.data.customIcon,
4823          customImage: payload.data.customImage,
4824          link: payload.data.link
4825      },
4826      {
4827          sticky: true 
4828      });
4829  }
4830
4831  // Clear the messages element of all children.
4832  function clearMessages() {
4833    const messagesElement = document.querySelector('#ui-notification-container');
4834    while (messagesElement.hasChildNodes()) {
4835      messagesElement.removeChild(messagesElement.lastChild);
4836    }
4837  }
4838
4839  function updateUIForPushEnabled(currentToken) {
4840	  showToken("Token update ui: " + currentToken);
4841  }
4842
4843  function updateUIForPushPermissionRequired() {
4844    console.warg("Push notification permission is requred")
4845  }
4846
4847  window.userId = "";
4848  resetUI();
4849  
4850  
4851 </script>
4851
4852
4853	
4853<script src="https://d502jbuhuh9wk.cloudfront.net/static/files/lazyload.min.js"></script>
4853
4854	
4854<script type="text/javascript">
4855		var lazyLoadInstance = new LazyLoad({
4856		  unobserve_entered: true,
4857		  callback_enter: function(element) {
4858			  resizeCdnImage(element);
4859		  }
4860		});
4861	</script>
4861
4862</body>
4863</html>

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.