1<!doctype html> 2<html class="no-js" lang="en"> 3 <head> 4<!-- LAYOUTHUB-HELPER --> 5 6<!-- GA4 script tags -->
7<script async src="https://www.googletagmanager.com/gtag/js?id="></script>
vendor: 1 bytes, line 7
7
8<script> 9 window.dataLayer = window.dataLayer || []; 10 function gtag() { dataLayer.push(arguments); } 11 gtag('js', new Date()); 12 gtag('config', '', { groups: 'layouthub' }); 13</script>
13 14<!-- End GA4 script tags --> 15 16<!-- GA4 Snippet -->
17<script> 18 window.addEventListener('load', () => { 19 // fallback for gtag when not initialized 20 if (typeof window.gtag !== 'function') { 21 window.gtag = (str1, str2, obj) => { 22 } 23 } 24 // Poll queued events from pixel localStorage and forward to GA 25 const STORAGE_KEY = 'LH_STORAGE_KEY'; 26 const INTERVAL = 2000; 27 async function flushQueuedEvents() { 28 try { 29 const raw = window.localStorage.getItem(STORAGE_KEY); 30 if (!raw) return; 31 const events = JSON.parse(raw); 32 if (!Array.isArray(events) || events.length === 0) return; 33 for (const ev of events) { 34 if (!ev || !ev.name) continue; 35 const params = ev.params || {}; 36 // attach template tag 37 params.lh_template_event = "index"; 38 gtag('event', ev.name, Object.assign({ app_event: 'layouthub', send_to: 'layouthub' }, params)); 39 } 40 // Clear only if all sent 41 window.localStorage.removeItem(STORAGE_KEY); 42 } catch (e) { 43 // swallow to avoid breaking page 44 } 45 } 46 flushQueuedEvents(); 47 setInterval(flushQueuedEvents, INTERVAL); 48 }) 49</script>
49 50<!-- End GA4 Snippet --><!-- END LAYOUTHUB-HELPER --> 51<!-- LAYOUTHUB-V2-HEADER --> 52 53 54<link rel="preload" as="style" href="https://fonts.googleapis.com/css2?family=Assistant:wght@regular;500;600;700&display=swap" onload="this.onload=null;this.rel='stylesheet'"><noscript><link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Assistant:wght@regular;500;600;700&display=swap"></noscript> 55<style> 56 57 :root{ --lh-other-sale-price-color: #d82727; 58--lh-other-sale-bg-color: #d82727; 59--lh-other-sale-text-color: #ffffff; 60--lh-other-sold-out-bg-color: #adadad; 61--lh-other-sold-out-text-color: #ffffff; 62--lh-other-tag-1-bg-color: #008c62; 63--lh-other-tag-1-text-color: #ffffff; 64--lh-other-tag-2-bg-color: #405de6; 65--lh-other-tag-2-text-color: #ffffff; 66--lh-h1-font-family: Assistant; 67--lh-h1-font-size: 52px; 68--lh-h1-font-weight: 400; 69--lh-h1-line-height: 1.3; 70--lh-h1-letter-spacing: 0.6px; 71--lh-h1-text-transform: inherit; 72--lh-h1-font-style: normal; 73--lh-h2-font-family: Assistant; 74--lh-h2-font-size: 40px; 75--lh-h2-font-weight: 400; 76--lh-h2-line-height: 1.3; 77--lh-h2-letter-spacing: 0.6px; 78--lh-h2-text-transform: inherit; 79--lh-h2-font-style: normal; 80--lh-h3-font-family: Assistant; 81--lh-h3-font-size: 24px;
82--lh-h3-font-weight: 400; 83--lh-h3-line-height: 1.3; 84--lh-h3-letter-spacing: 0.6px; 85--lh-h3-text-transform: inherit; 86--lh-h3-font-style: normal; 87--lh-h4-font-family: Assistant; 88--lh-h4-font-size: 18px; 89--lh-h4-font-weight: 400; 90--lh-h4-line-height: 1.3; 91--lh-h4-letter-spacing: 0.6px; 92--lh-h4-text-transform: inherit; 93--lh-h4-font-style: normal; 94--lh-h5-font-family: Assistant; 95--lh-h5-font-size: 15px; 96--lh-h5-font-weight: 400; 97--lh-h5-line-height: 1.3; 98--lh-h5-letter-spacing: 0.6px; 99--lh-h5-text-transform: inherit; 100--lh-h5-font-style: normal; 101--lh-p-font-family: Assistant; 102--lh-p-font-size: 16px; 103--lh-p-font-weight: 400; 104--lh-p-line-height: 1.8; 105--lh-p-letter-spacing: 0.6px; 106--lh-p-text-transform: inherit; 107--lh-p-font-style: normal; 108--lh-p2-font-family: Assistant; 109--lh-p2-font-size: 13.2px; 110--lh-p2-font-weight: 400; 111--lh-p2-line-height: 1.82; 112--lh-p2-letter-spacing: 0.6px; 113--lh-p2-text-transform: inherit; 114--lh-p2-font-style: normal; 115--lh-p3-font-family: Assistant; 116--lh-p3-font-size: 18px; 117--lh-p3-font-weight: 400; 118--lh-p3-line-height: 1.8; 119--lh-p3-letter-spacing: 0.6px; 120--lh-p3-text-transform: inherit; 121--lh-p3-font-style: normal; 122--lh-btn-font-size: 15px; 123--lh-btn-font-weight: 400; 124--lh-btn-letter-spacing: 1px; 125--lh-btn-text-transform: normal; 126--lh-btn-height: 45px; 127--lh-btn-padding: 30px; 128--lh-btn-border-radius: 0px; 129--lh-btn-transition-hover: 150ms; 130--lh-btn-pr-border-width: 1px; 131--lh-btn-pr-shadow-x: 0px; 132--lh-btn-pr-shadow-y: 0px; 133--lh-btn-pr-shadow-blur: 0px; 134--lh-btn-pr-shadow-transparent: 0%; 135--lh-btn-se-border-width: 1px; 136--lh-btn-se-shadow-x: 0px; 137--lh-btn-se-shadow-y: 0px; 138--lh-btn-se-shadow-blur: 0px; 139--lh-btn-se-shadow-transparent: 0%; 140--lh-btn-te-underline: underline; 141--lh-btn-te-underline-offset: 5px; } 142 @media (min-width: 768px) and (max-width: 1023px) { :root{ --lh-h1-font-size: 44px; 143--lh-h1-line-height: 1.3; 144--lh-h1-letter-spacing: 0.6px; 145--lh-h2-font-size: 34px; 146--lh-h2-line-height: 1.3; 147--lh-h3-font-size: 22px; 148--lh-h3-line-height: 1.3; 149--lh-h5-font-size: 15px; 150--lh-btn-font-size: 15px; 151--lh-btn-height: 45px; 152--lh-btn-padding: 30px; 153--lh-btn-pr-border-width: 1px; 154--lh-btn-se-border-width: 1px; }} 155 @media (max-width: 767px) { :root{ --lh-h1-font-size: 40px; 156--lh-h2-font-size: 30px; 157--lh-h3-font-size: 20px; 158--lh-h4-font-size: 18px; 159--lh-h5-font-size: 15px; 160--lh-btn-font-size: 15px; 161--lh-btn-height: 45px; 162--lh-btn-padding: 30px; 163--lh-btn-pr-border-width: 1px; 164--lh-btn-se-border-width: 1px; }} 165 166 .lh-scheme-1 { 167 --lh-text-color: #5b5b5b; 168 --lh-heading-color: #121212; 169 --lh-background-color: #ffffff; 170 --lh-btn-pr-background-color: #121212; 171 --lh-btn-pr-label-color: #ffffff; 172 --lh-btn-pr-border-color: #121212; 173 --lh-btn-se-background-color: #ececec; 174 --lh-btn-se-label-color: #121212; 175 --lh-btn-se-border-color: #ececec; 176 --lh-btn-te-label-color: #121212; 177 178 --lh-btn-pr-background-hover: color-mix(in srgb, var(--lh-btn-pr-background-color), white 10%); 179 --lh-btn-pr-label-hover: color-mix(in srgb, var(--lh-btn-pr-label-color), black 0%); 180 --lh-btn-pr-border-hover: color-mix(in srgb, var(--lh-btn-pr-border-color), black 0%); 181 182 --lh-btn-se-background-hover: color-mix(in srgb, var(--lh-btn-se-background-color), white 10%); 183 --lh-btn-se-label-hover: color-mix(in srgb, var(--lh-btn-se-label-color), black 0%); 184 --lh-btn-se-border-hover: color-mix(in srgb, var(--lh-btn-se-border-color), black 0%); 185 186 --lh-btn-te-label-hover: color-mix(in srgb, var(--lh-btn-te-label-color), white 25%); 187 188 --color-scheme-text: #5b5b5b; 189 --color-scheme-bg: #ffffff; 190 --color-scheme-text-50: #f2f2f2; 191--color-scheme-text-100: #e6e6e6; 192--color-scheme-text-200: #cccccc; 193--color-scheme-text-300: #b3b3b3; 194--color-scheme-text-400: #999999; 195--color-scheme-text-500: #808080; 196--color-scheme-text-600: #666666; 197--color-scheme-text-700: #4d4d4d; 198--color-scheme-text-800: #333333; 199--color-scheme-text-900: #1a1a1a; 200--color-scheme-text-950: #0d0d0d; 201 } 202 203 .lh-scheme-2 {
204 --lh-text-color: #5b5b5b5; 205 --lh-heading-color: #121212; 206 --lh-background-color: #f5f5f5; 207 --lh-btn-pr-background-color: #121212; 208 --lh-btn-pr-label-color: #ffffff; 209 --lh-btn-pr-border-color: #121212; 210 --lh-btn-se-background-color: #d8d8d8; 211 --lh-btn-se-label-color: #121212; 212 --lh-btn-se-border-color: #d8d8d8; 213 --lh-btn-te-label-color: #121212; 214 215 --lh-btn-pr-background-hover: color-mix(in srgb, var(--lh-btn-pr-background-color), white 10%); 216 --lh-btn-pr-label-hover: color-mix(in srgb, var(--lh-btn-pr-label-color), black 0%); 217 --lh-btn-pr-border-hover: color-mix(in srgb, var(--lh-btn-pr-border-color), black 0%); 218 219 --lh-btn-se-background-hover: color-mix(in srgb, var(--lh-btn-se-background-color), black 10%); 220 --lh-btn-se-label-hover: color-mix(in srgb, var(--lh-btn-se-label-color), black 0%); 221 --lh-btn-se-border-hover: color-mix(in srgb, var(--lh-btn-se-border-color), black 0%); 222 223 --lh-btn-te-label-hover: color-mix(in srgb, var(--lh-btn-te-label-color), white 25%); 224 225 --color-scheme-text: #5b5b5b5; 226 --color-scheme-bg: #f5f5f5; 227 --color-scheme-text-50: #f2f2f2; 228--color-scheme-text-100: #e6e6e6; 229--color-scheme-text-200: #cccccc; 230--color-scheme-text-300: #b3b3b3; 231--color-scheme-text-400: #999999; 232--color-scheme-text-500: #808080; 233--color-scheme-text-600: #666666; 234--color-scheme-text-700: #4d4d4d; 235--color-scheme-text-800: #333333; 236--color-scheme-text-900: #1a1a1a; 237--color-scheme-text-950: #0d0d0d; 238 } 239 240 .lh-scheme-3 { 241 --lh-text-color: #ffffff; 242 --lh-heading-color: #ffffff; 243 --lh-background-color: #121212; 244 --lh-btn-pr-background-color: #ffffff; 245 --lh-btn-pr-label-color: #121212; 246 --lh-btn-pr-border-color: #ffffff; 247 --lh-btn-se-background-color: #ffffff00; 248 --lh-btn-se-label-color: #ffffff; 249 --lh-btn-se-border-color: #ffffff; 250 --lh-btn-te-label-color: #ffffff; 251 252 --lh-btn-pr-background-hover: color-mix(in srgb, var(--lh-btn-pr-background-color), black 10%); 253 --lh-btn-pr-label-hover: color-mix(in srgb, var(--lh-btn-pr-label-color), black 0%); 254 --lh-btn-pr-border-hover: color-mix(in srgb, var(--lh-btn-pr-border-color), black 0%); 255 256 --lh-btn-se-background-hover: color-mix(in srgb, var(--lh-btn-se-background-color), white 100%); 257 --lh-btn-se-label-hover: color-mix(in srgb, var(--lh-btn-se-label-color), black 100%); 258 --lh-btn-se-border-hover: color-mix(in srgb, var(--lh-btn-se-border-color), black 0%); 259 260 --lh-btn-te-label-hover: color-mix(in srgb, var(--lh-btn-te-label-color), black 25%); 261 262 --color-scheme-text: #ffffff; 263 --color-scheme-bg: #121212; 264 --color-scheme-text-50: #f2f2f2; 265--color-scheme-text-100: #e6e6e6; 266--color-scheme-text-200: #cccccc; 267--color-scheme-text-300: #b3b3b3; 268--color-scheme-text-400: #999999; 269--color-scheme-text-500: #808080; 270--color-scheme-text-600: #666666; 271--color-scheme-text-700: #4d4d4d; 272--color-scheme-text-800: #333333; 273--color-scheme-text-900: #1a1a1a; 274--color-scheme-text-950: #0d0d0d; 275 } 276 277 .lh-h1 { 278 font-family: var(--lh-h1-font-family); 279 font-size: var(--lh-h1-font-size); 280 font-weight: var(--lh-h1-font-weight); 281 line-height: var(--lh-h1-line-height); 282 letter-spacing: var(--lh-h1-letter-spacing); 283 text-transform: var(--lh-h1-text-transform); 284 font-style: var(--lh-h1-font-style); 285 color: var(--lh-heading-color); 286 } 287 .lh-h2 { 288 font-family: var(--lh-h2-font-family); 289 font-size: var(--lh-h2-font-size); 290 font-weight: var(--lh-h2-font-weight); 291 line-height: var(--lh-h2-line-height); 292 letter-spacing: var(--lh-h2-letter-spacing); 293 text-transform: var(--lh-h2-text-transform); 294 font-style: var(--lh-h2-font-style); 295 color: var(--lh-heading-color); 296 } 297 .lh-h3 { 298 font-family: var(--lh-h3-font-family); 299 font-size: var(--lh-h3-font-size);
300 font-weight: var(--lh-h3-font-weight); 301 line-height: var(--lh-h3-line-height); 302 letter-spacing: var(--lh-h3-letter-spacing); 303 text-transform: var(--lh-h3-text-transform); 304 font-style: var(--lh-h3-font-style); 305 color: var(--lh-heading-color); 306 } 307 .lh-h4 { 308 font-family: var(--lh-h4-font-family); 309 font-size: var(--lh-h4-font-size); 310 font-weight: var(--lh-h4-font-weight); 311 line-height: var(--lh-h4-line-height); 312 letter-spacing: var(--lh-h4-letter-spacing); 313 text-transform: var(--lh-h4-text-transform); 314 font-style: var(--lh-h4-font-style); 315 color: var(--lh-heading-color); 316 } 317 .lh-h5 { 318 font-family: var(--lh-h5-font-family); 319 font-size: var(--lh-h5-font-size); 320 font-weight: var(--lh-h5-font-weight); 321 line-height: var(--lh-h5-line-height); 322 letter-spacing: var(--lh-h5-letter-spacing); 323 text-transform: var(--lh-h5-text-transform); 324 font-style: var(--lh-h5-font-style); 325 color: var(--lh-heading-color); 326 } 327 .lh-p { 328 font-family: var(--lh-p-font-family); 329 font-size: var(--lh-p-font-size); 330 font-weight: var(--lh-p-font-weight); 331 line-height: var(--lh-p-line-height); 332 letter-spacing: var(--lh-p-letter-spacing); 333 text-transform: var(--lh-p-text-transform); 334 font-style: var(--lh-p-font-style); 335 color: var(--lh-text-color); 336 } 337 .lh-p2 { 338 font-family: var(--lh-p2-font-family); 339 font-size: var(--lh-p2-font-size); 340 font-weight: var(--lh-p2-font-weight); 341 line-height: var(--lh-p2-line-height); 342 letter-spacing: var(--lh-p2-letter-spacing); 343 text-transform: var(--lh-p2-text-transform); 344 font-style: var(--lh-p2-font-style); 345 color: var(--lh-text-color); 346 } 347 .lh-p3 { 348 font-family: var(--lh-p3-font-family); 349 font-size: var(--lh-p3-font-size); 350 font-weight: var(--lh-p3-font-weight); 351 line-height: var(--lh-p3-line-height); 352 letter-spacing: var(--lh-p3-letter-spacing); 353 text-transform: var(--lh-p3-text-transform); 354 font-style: var(--lh-p3-font-style); 355 color: var(--lh-text-color); 356 } 357.lh-btn-pr, .lh-btn-se, .lh-btn-te { 358 display: flex; 359 align-items: center; 360 justify-content:center; 361 font-family: var(--lh-p-font-family); 362 font-size: var(--lh-btn-font-size); 363 font-weight: var(--lh-btn-font-weight); 364 text-transform: var(--lh-btn-text-transform); 365 letter-spacing: var(--lh-btn-letter-spacing); 366 line-height: 1.5; 367 font-style: var(--lh-p-font-style); 368 transition: all ease-in var(--lh-btn-transition-hover, 0ms); 369 } 370.lh-btn-pr { 371 cursor: pointer; 372 color: var(--lh-btn-pr-label-color); 373 374 height: var(--lh-btn-height); 375 padding: 0px var(--lh-btn-padding); 376 border-radius: var(--lh-btn-border-radius); 377 outline: var(--lh-btn-pr-border-width) solid var(--lh-btn-pr-border-color); 378 outline-offset: calc(var(--lh-btn-pr-border-width) * -1); 379 background: var(--lh-btn-pr-background-color); 380 box-shadow: var(--lh-btn-pr-shadow-x) var(--lh-btn-pr-shadow-y) var(--lh-btn-pr-shadow-blur) rgba(0, 0, 0, var(--lh-btn-pr-shadow-transparent)); 381 382 } 383.lh-btn-pr:hover { 384 color: var(--lh-btn-pr-label-hover); 385 386 background: var(--lh-btn-pr-background-hover); 387 border-color: var(--lh-btn-pr-border-hover); 388 389 } 390.lh-btn-se { 391 cursor: pointer; 392 color: var(--lh-btn-se-label-color); 393 394 height: var(--lh-btn-height); 395 padding: 0px var(--lh-btn-padding); 396 border-radius: var(--lh-btn-border-radius); 397 outline: var(--lh-btn-se-border-width) solid var(--lh-btn-se-border-color); 398 outline-offset: calc(var(--lh-btn-se-border-width) * -1); 399 background: var(--lh-btn-se-background-color); 400 box-shadow: var(--lh-btn-se-shadow-x) var(--lh-btn-se-shadow-y) var(--lh-btn-se-shadow-blur) rgba(0, 0, 0, var(--lh-btn-se-shadow-transparent)); 401 402 } 403.lh-btn-se:hover { 404 color: var(--lh-btn-se-label-hover); 405 406 background: var(--lh-btn-se-background-hover); 407 border-color: var(--lh-btn-se-border-hover); 408 409 } 410.lh-btn-te { 411 cursor: pointer; 412 color: var(--lh-btn-te-label-color); 413 414 text-decoration: var(--lh-btn-te-underline); 415 text-underline-offset: var(--lh-btn-te-underline-offset); 416 position: relative; 417 418 } 419.lh-btn-te:hover { 420 color: var(--lh-btn-te-label-hover); 421 422 } 423 .lh-sections, .lh-section { 424 display: block; 425 width: 100%; 426} 427.lh-container { 428 width: 100%; 429 padding-top: var(--lh-container-padding-top, var(--lh-container-padding, 4rem)); 430 padding-bottom: var(--lh-container-padding-bottom, var(--lh-container-padding, 4rem)); 431 padding-right: var(--lh-container-padding, 1rem); 432 padding-left: var(--lh-container-padding, 1rem); 433 max-width: var(--lh-container-width, 1140px); 434 margin-right: auto; 435 margin-left: auto; 436} 437.lh-image-picture { 438 aspect-ratio: var(--lh-image-ratio, auto); 439 display: block; 440 overflow: hidden; 441} 442 443.lh-image-picture img { 444 width: 100%; 445 height: 100%; 446 object-fit: var(--lh-image-fit, cover); 447 object-position: var(--lh-image-position, 50% 50%); 448 vertical-align: middle; 449} 450@media (min-width: 993px) { 451 .lh-image-picture[data-ratio="default"] img { 452 height: auto; 453 } 454} 455@media (min-width: 750px) and (max-width: 992px) { 456 .lh-image-picture { 457 aspect-ratio: var(--lh-image-ratio-ta, var(--lh-image-ratio, auto)); 458 } 459 .lh-image-picture img { 460 object-fit: var(--lh-image-fit-ta, var(--lh-image-fit,cover)); 461 object-position: var(--lh-image-position-ta, var(--lh-image-position,50% 50%)); 462 } 463 .lh-image-picture[data-ratio-ta="default"] img { 464 height: auto; 465 } 466} 467@media (max-width: 749px) { 468 .lh-image-picture { 469 aspect-ratio: var(--lh-image-ratio-mo, var(--lh-image-ratio, auto)); 470 } 471 .lh-image-picture img { 472 object-fit: var(--lh-image-fit-mo, var(--lh-image-fit,cover)); 473 object-position: var(--lh-image-position-mo, var(--lh-image-position,50% 50%)); 474 } 475 .lh-image-picture[data-ratio-mo="default"] img { 476 height: auto; 477 } 478} 479 480 </style> 481 482 483 484 485<!-- END LAYOUTHUB-V2-HEADER -->
486<script> 487!function(){var o=window.tdl=window.tdl||[];if(o.invoked)window.console&&console.error&&console.error("Tune snippet has been included more than once.");else{o.invoked=!0,o.methods=["init","identify","convert"],o.factory=function(n){return function(){var e=Array.prototype.slice.call(arguments);return e.unshift(n),o.push(e),o}};for(var e=0;e<o.methods.length;e++){var n=o.methods[e];o[n]=o.factory(n)}o.init=function(e){var n=document.createElement("script");n.type="text/javascript",n.async=!0,n.src="https://js.go2sdk.com/v2/tune.js";var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(n,t),o.domain=e}}}(); 488 489tdl.init("https://tracking.shopmarketplacenetwork.com"); 490tdl.identify() 491</script>
491 492
493<script type="application/ld+json"> 494{ 495 "@context": "https://schema.org", 496 "@type": "LocalBusiness", 497 "name": "Wise Crafters", 498 "image": "https://cdn.shopify.com/s/files/1/2186/4513/files/Wise-Crafters-logo_160x.png?v=1614316368", 499 "@id": "", 500 "url": "https://wisecrafters.my/", 501 "telephone": "+6011-16724957", 502 "address": { 503 "@type": "PostalAddress", 504 "streetAddress": "2, Jalan PJS 10/2, Bandar Sunway, 47500 Petaling Jaya, Selangor", 505 "addressLocality": "Selangor", 506 "postalCode": "47500", 507 "addressCountry": "MY" 508 }, 509 "geo": { 510 "@type": "GeoCoordinates", 511 "latitude": 3.073803, 512 "longitude": 101.599478 513 }, 514 "openingHoursSpecification": { 515 "@type": "OpeningHoursSpecification", 516 "dayOfWeek": [ 517 "Monday", 518 "Tuesday", 519 "Wednesday", 520 "Thursday", 521 "Friday", 522 "Sunday" 523 ], 524 "opens": "09:00", 525 "closes": "17:00" 526 }, 527 "sameAs": [ 528 "https://www.facebook.com/wisecrafters", 529 "https://www.instagram.com/wisecrafters/", 530 "https://www.youtube.com/channel/UChsaPtu1RxE-snI1aKdzHcw" 531 ] 532} 533</script>
533<!--Content in content_for_header --> 534<!--LayoutHub-Embed--><meta name="layouthub" /><link rel="stylesheet" href="https://fonts.googleapis.com/css?display=swap&family=Lato:100,200,300,400,500,600,700,800,900" /><link rel="stylesheet" type="text/css" href="data:text/css;base64,QGZvbnQtZmFjZSB7Zm9udC1mYW1pbHk6ICdsYXRvNDAwbm9ybWFsMV9aR3hFJztzcmM6IHVybCgnaHR0cHM6Ly9jZG4uc2hvcGlmeS5jb20vcy9maWxlcy8xLzIxODYvNDUxMy90LzE5L2Fzc2V0cy9sYXRvNDAwbm9ybWFsMV9aR3hFLnR0Zj92PTE2NjczMzY5MzUnKSBmb3JtYXQoJ3RydWV0eXBlJyk7fWJvZHkgaW5wdXQsYm9keSB0ZXh0YXJlYSxib2R5IGJ1dHRvbixib2R5IHNlbGVjdCB7Zm9udC1mYW1pbHk6IGluaGVyaXQ7fVtkYXRhLWxheW91dGh1Yj0ic2VjdGlvbiJdLCBbZGF0YS1sYXlvdXRodWI9InNlY3Rpb24iXSAqIHtwYWRkaW5nOiAwcHg7bWFyZ2luLXRvcDogMHB4O21hcmdpbi1ib3R0b206IDBweDt9OnJvb3R7LS1saC1mb250LWZhbWlseTogIkxhdG8iICFpbXBvcnRhbnQ7LS1saC10aXRsZS1mb250LWZhbWlseTogImxhdG80MDBub3JtYWwxX1pHeEUiICFpbXBvcnRhbnQ7LS1saC1mb250LXNpemU6IDE2cHggIWltcG9ydGFudDstLWxoLWNvbG9yOiAjMDAwMDAwICFpbXBvcnRhbnQ7LS1saC1jb2xvci1yZ2I6IDAsIDAsIDAgIWltcG9ydGFudDt9Ym9keSBzZWN0aW9uW2RhdGEtbGF5b3V0aHViPSJzZWN0aW9uIl0ge2NvbG9yOiAjN0E3QTdBO2ZvbnQtZmFtaWx5OiAiTGF0byIgIWltcG9ydGFudDtmb250LXNpemU6IDE2cHggIWltcG9ydGFudDt9W2RhdGEtbGF5b3V0aHViPSJzZWN0aW9uIl0gaDEsIFtkYXRhLWxheW91dGh1Yj0ic2VjdGlvbiJdIGgyLCBbZGF0YS1sYXlvdXRodWI9InNlY3Rpb24iXSBoMywgW2RhdGEtbGF5b3V0aHViPSJzZWN0aW9uIl0gaDQsIFtkYXRhLWxheW91dGh1Yj0ic2VjdGlvbiJdIGg1IHtjb2xvcjogIzFBMUExQjtmb250LWZhbWlseTogImxhdG80MDBub3JtYWwxX1pHeEUiICFpbXBvcnRhbnQ7fSBpbWcubGgtbGF6eTpub3QoW3NyY10pIHt2aXNpYmlsaXR5OiBoaWRkZW47fQ==" media="all"> 535<!--/LayoutHub-Embed--><!-- Google Tag Manager -->
536<script>
vendor: 327 bytes, lines 536-540
536(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': 537new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], 538j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 539'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); 540})(window,document,'script','dataLayer','
540GTM-WGP3VHC
vendor: 3 bytes, line 540
540');
540</script>
540 541<!-- End Google Tag Manager --> 542 543 544 545 <!-- Global site tag (gtag.js) - Google Ads: 10784858445 -->
vendor: 64 bytes, lines 545-546
545 546<script async src="https://www.googletagmanager.com/gtag/js?id=
546AW-10784858445
vendor: 12 bytes, line 546
546"></script>
547<script> 548
vendor: 134 bytes, lines 548-552
548window.dataLayer = window.dataLayer || []; 549 function gtag(){dataLayer.push(arguments);} 550 gtag('js', new Date()); 551 552 gtag('config', '
552AW-10784858445
vendor: 4 bytes, line 552
552');
553</script>
553 554 555 556<!-- Google tag (gtag.js) -->
vendor: 64 bytes, lines 556-557
556 557<script async src="https://www.googletagmanager.com/gtag/js?id=
557UA-250196400-1
vendor: 12 bytes, line 557
557"></script>
558<script> 559
vendor: 134 bytes, lines 559-563
559window.dataLayer = window.dataLayer || []; 560 function gtag(){dataLayer.push(arguments);} 561 gtag('js', new Date()); 562 563 gtag('config', '
563UA-250196400-1
vendor: 7 bytes, lines 563-564
563'); 564
565</script>
565 566</script>
566 567 568 569 <meta name="google-site-verification" content="rvaKbeX_d14y4iDUsEAmS2m6-G76sneiZR3ySxdp4Rk" /> 570 571 <meta charset="utf-8"> 572<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> 573<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1"> 574<meta name="theme-color" content="#00653b"> 575<title>Get Healthy Meal Plan Delivery In Malaysia | Wise Crafters</title> 576 577<link rel="canonical" href="https://wisecrafters.my/" /> 578 579 580<meta name="description" content="Get healthy meal plan delivery in Malaysia today from Wise Crafters! We offer a wide variety of meals and snacks here. Choose the ones that suit your tastebuds." /> 581 582 583<link rel="shortcut icon" href="//wisecrafters.my/cdn/shop/files/W_32x32.png?v=1614339437" type="image/png"> 584 585 586 587 588 589<meta property="og:site_name" content="Wise Crafters"> 590<meta property="og:url" content="https://wisecrafters.my/"> 591<meta property="og:title" content="Get Healthy Meal Plan Delivery In Malaysia"> 592<meta property="og:type" content="website"> 593<meta property="og:description" content="Get healthy meal plan delivery in Malaysia today from Wise Crafters! We offer a wide variety of meals and snacks here. Choose the ones that suit your tastebuds."> 594 595 596 597 598 599<meta name="twitter:card" content="summary_large_image"> 600<meta name="twitter:title" content="Get Healthy Meal Plan Delivery In Malaysia"> 601<meta name="twitter:description" content="Get healthy meal plan delivery in Malaysia today from Wise Crafters! We offer a wide variety of meals and snacks here. Choose the ones that suit your tastebuds."> 602
603<script> 604console.log('wisefreshfoods.myshopify.com | Avenue v1.3.11') 605var pReady = [], $ = function(f) {pReady.push(f)}, theme = {}; 606// jQuery v3.3.1 | (c) JS Foundation and other contributors | jquery.org/license
vendor: 86,843 bytes, lines 606-607
606 607!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){"use strict";var n=[],r=e.document,i=Object.getPrototypeOf,o=n.slice,a=n.concat,s=n.push,u=n.indexOf,l={},c=l.toString,f=l.hasOwnProperty,p=f.toString,d=p.call(Object),h={},g=function e(t){return"function"==typeof t&&"number"!=typeof t.nodeType},y=function e(t){return null!=t&&t===t.window},v={type:!0,src:!0,noModule:!0};function m(e,t,n){var i,o=(t=t||r).createElement("script");if(o.text=e,n)for(i in v)n[i]&&(o[i]=n[i]);t.head.appendChild(o).parentNode.removeChild(o)}function x(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var b="3.3.1",w=function(e,t){return new w.fn.init(e,t)},T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;w.fn=w.prototype={jquery:"3.3.1",constructor:w,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=w.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return w.each(this,e)},map:function(e){return this.pushStack(w.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},w.extend=w.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||g(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(e=arguments[s]))for(t in e)n=a[t],a!==(r=e[t])&&(l&&r&&(w.isPlainObject(r)||(i=Array.isArray(r)))?(i?(i=!1,o=n&&Array.isArray(n)?n:[]):o=n&&w.isPlainObject(n)?n:{},a[t]=w.extend(l,o,r)):void 0!==r&&(a[t]=r));return a},w.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e))&&(!(t=i(e))||"function"==typeof(n=f.call(t,"constructor")&&t.constructor)&&p.call(n)===d)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e){m(e)},each:function(e,t){var n,r=0;if(C(e)){for(n=e.length;r<n;r++)if(!1===t.call(e[r],r,e[r]))break}else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(C(Object(e))?w.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:u.call(t,e,n)},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;r++)e[i++]=t[r];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)(r=!t(e[o],o))!==s&&i.push(e[o]);return i},map:function(e,t,n){var r,i,o=0,s=[];if(C(e))for(r=e.length;o<r;o++)null!=(i=t(e[o],o,n))&&s.push(i);else for(o in e)null!=(i=t(e[o],o,n))&&s.push(i);return a.apply([],s)},guid:1,support:h}),"function"==typeof Symbol&&(w.fn[Symbol.iterator]=n[Symbol.iterator]),w.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function C(e){var t=!!e&&"length"in e&&e.length,n=x(e);return!g(e)&&!y(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}var E=function(e){var t,n,r,i,o,a,s,u,l,c,f,p,d,h,g,y,v,m,x,b="sizzle"+1*new Date,w=e.document,T=0,C=0,E=ae(),k=ae(),S=ae(),D=function(e,t){return e===t&&(f=!0),0},N={}.hasOwnProperty,A=[],j=A.pop,q=A.push,L=A.push,H=A.slice,O=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},P="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",M="[\\x20\\t\\r\\n\\f]",R="(?:\\\\.|[\\w-]|[^\0-\\xa0])+",I="\\["+M+"*("+R+")(?:"+M+"*([*^$|!~]?=)"+M+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+R+"))|)"+M+"*\\]",W=":("+R+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",$=new RegExp(M+"+","g"),B=new RegExp("^"+M+"+|((?:^|[^\\\\])(?:\\\\.)*)"+M+"+$","g"),F=new RegExp("^"+M+"*,"+M+"*"),_=new RegExp("^"+M+"*([>+~]|"+M+")"+M+"*"),z=new RegExp("="+M+"*([^\\]'\"]*?)"+M+"*\\]","g"),X=new RegExp(W),U=new RegExp("^"+R+"$"),V={ID:new RegExp("^#("+R+")"),CLASS:new RegExp("^\\.("+R+")"),TAG:new RegExp("^("+R+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+W),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+M+"*(even|odd|(([+-]|)(\\d*)n|)"+M+"*(?:([+-]|)"+M+"*(\\d+)|))"+M+"*\\)|)","i"),bool:new RegExp("^(?:"+P+")$","i"),needsContext:new RegExp("^"+M+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+M+"*((?:-\\d)?\\d*)"+M+"*\\)|)(?=[^-]|$)","i")},G=/^(?:input|select|textarea|button)$/i,Y=/^h\d$/i,Q=/^[^{]+\{\s*\[native \w/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,K=/[+~]/,Z=new RegExp("\\\\([\\da-f]{1,6}"+M+"?|("+M+")|.)","ig"),ee=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},te=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,ne=function(e,t){return t?"\0"===e?"\ufffd":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e},re=function(){p()},ie=me(function(e){return!0===e.disabled&&("form"in e||"label"in e)},{dir:"parentNode",next:"legend"});try{L.apply(A=H.call(w.childNodes),w.childNodes),A[w.childNodes.length].nodeType}catch(e){L={apply:A.length?function(e,t){q.apply(e,H.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function oe(e,t,r,i){var o,s,l,c,f,h,v,m=t&&t.ownerDocument,T=t?t.nodeType:9;if(r=r||[],"string"!=typeof e||!e||1!==T&&9!==T&&11!==T)return r;if(!i&&((t?t.ownerDocument||t:w)!==d&&p(t),t=t||d,g)){if(11!==T&&(f=J.exec(e)))if(o=f[1]){if(9===T){if(!(l=t.getElementById(o)))return r;if(l.id===o)return r.push(l),r}else if(m&&(l=m.getElementById(o))&&x(t,l)&&l.id===o)return r.push(l),r}else{if(f[2])return L.apply(r,t.getElementsByTagName(e)),r;if((o=f[3])&&n.getElementsByClassName&&t.getElementsByClassName)return L.apply(r,t.getElementsByClassName(o)),r}if(n.qsa&&!S[e+" "]&&(!y||!y.test(e))){if(1!==T)m=t,v=e;else if("object"!==t.nodeName.toLowerCase()){(c=t.getAttribute("id"))?c=c.replace(te,ne):t.setAttribute("id",c=b),s=(h=a(e)).length;while(s--)h[s]="#"+c+" "+ve(h[s]);v=h.join(","),m=K.test(e)&&ge(t.parentNode)||t}if(v)try{return L.apply(r,m.querySelectorAll(v)),r}catch(e){}finally{c===b&&t.removeAttribute("id")}}}return u(e.replace(B,"$1"),t,r,i)}function ae(){var e=[];function t(n,i){return e.push(n+" ")>r.cacheLength&&delete t[e.shift()],t[n+" "]=i}return t}function se(e){return e[b]=!0,e}function ue(e){var t=d.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function le(e,t){var n=e.split("|"),i=n.length;while(i--)r.attrHandle[n[i]]=t}function ce(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function fe(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function pe(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function de(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&ie(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function he(e){return se(function(t){return t=+t,se(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function ge(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}n=oe.support={},o=oe.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},p=oe.setDocument=function(e){var t,i,a=e?e.ownerDocument||e:w;return a!==d&&9===a.nodeType&&a.documentElement?(d=a,h=d.documentElement,g=!o(d),w!==d&&(i=d.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",re,!1):i.attachEvent&&i.attachEvent("onunload",re)),n.attributes=ue(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ue(function(e){return e.appendChild(d.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Q.test(d.getElementsByClassName),n.getById=ue(function(e){return h.appendChild(e).id=b,!d.getElementsByName||!d.getElementsByName(b).length}),n.getById?(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){return e.getAttribute("id")===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(r.filter.ID=function(e){var t=e.replace(Z,ee);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},r.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&g){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode("id"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode("id"))&&n.value===e)return[o]}return[]}}),r.find.TAG=n.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},r.find.CLASS=n.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&g)return t.getElementsByClassName(e)},v=[],y=[],(n.qsa=Q.test(d.querySelectorAll))&&(ue(function(e){h.appendChild(e).innerHTML="<a id='"+b+"'></a><select id='"+b+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+M+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||y.push("\\["+M+"*(?:value|"+P+")"),e.querySelectorAll("[id~="+b+"-]").length||y.push("~="),e.querySelectorAll(":checked").length||y.push(":checked"),e.querySelectorAll("a#"+b+"+*").length||y.push(".#.+[+~]")}),ue(function(e){e.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var t=d.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&y.push("name"+M+"*[*^$|!~]?="),2!==e.querySelectorAll(":enabled").length&&y.push(":enabled",":disabled"),h.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&y.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),y.push(",.*:")})),(n.matchesSelector=Q.test(m=h.matches||h.webkitMatchesSelector||h.mozMatchesSelector||h.oMatchesSelector||h.msMatchesSelector))&&ue(function(e){n.disconnectedMatch=m.call(e,"*"),m.call(e,"[s!='']:x"),v.push("!=",W)}),y=y.length&&new RegExp(y.join("|")),v=v.length&&new RegExp(v.join("|")),t=Q.test(h.compareDocumentPosition),x=t||Q.test(h.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return f=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r||(1&(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===d||e.ownerDocument===w&&x(w,e)?-1:t===d||t.ownerDocument===w&&x(w,t)?1:c?O(c,e)-O(c,t):0:4&r?-1:1)}:function(e,t){if(e===t)return f=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===d?-1:t===d?1:i?-1:o?1:c?O(c,e)-O(c,t):0;if(i===o)return ce(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?ce(a[r],s[r]):a[r]===w?-1:s[r]===w?1:0},d):d},oe.matches=function(e,t){return oe(e,null,null,t)},oe.matchesSelector=function(e,t){if((e.ownerDocument||e)!==d&&p(e),t=t.replace(z,"='$1']"),n.matchesSelector&&g&&!S[t+" "]&&(!v||!v.test(t))&&(!y||!y.test(t)))try{var r=m.call(e,t);if(r||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(e){}return oe(t,d,null,[e]).length>0},oe.contains=function(e,t){return(e.ownerDocument||e)!==d&&p(e),x(e,t)},oe.attr=function(e,t){(e.ownerDocument||e)!==d&&p(e);var i=r.attrHandle[t.toLowerCase()],o=i&&N.call(r.attrHandle,t.toLowerCase())?i(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},oe.escape=function(e){return(e+"").replace(te,ne)},oe.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},oe.uniqueSort=function(e){var t,r=[],i=0,o=0;if(f=!n.detectDuplicates,c=!n.sortStable&&e.slice(0),e.sort(D),f){while(t=e[o++])t===e[o]&&(i=r.push(o));while(i--)e.splice(r[i],1)}return c=null,e},i=oe.getText=function(e){var t,n="",r=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(3===o||4===o)return e.nodeValue}else while(t=e[r++])n+=i(t);return n},(r=oe.selectors={cacheLength:50,createPseudo:se,match:V,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,ee),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||oe.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&oe.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return V.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&X.test(n)&&(t=a(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=E[e+" "];return t||(t=new RegExp("(^|"+M+")"+e+"("+M+"|$)"))&&E(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=oe.attr(r,e);return null==i?"!="===t:!t||(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i.replace($," ")+" ").indexOf(n)>-1:"|="===t&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,p,d,h,g=o!==a?"nextSibling":"previousSibling",y=t.parentNode,v=s&&t.nodeName.toLowerCase(),m=!u&&!s,x=!1;if(y){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===v:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?y.firstChild:y.lastChild],a&&m){x=(d=(l=(c=(f=(p=y)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1])&&l[2],p=d&&y.childNodes[d];while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if(1===p.nodeType&&++x&&p===t){c[e]=[T,d,x];break}}else if(m&&(x=d=(l=(c=(f=(p=t)[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]||[])[0]===T&&l[1]),!1===x)while(p=++d&&p&&p[g]||(x=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===v:1===p.nodeType)&&++x&&(m&&((c=(f=p[b]||(p[b]={}))[p.uniqueID]||(f[p.uniqueID]={}))[e]=[T,x]),p===t))break;return(x-=i)===r||x%r==0&&x/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||oe.error("unsupported pseudo: "+e);return i[b]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?se(function(e,n){var r,o=i(e,t),a=o.length;while(a--)e[r=O(e,o[a])]=!(n[r]=o[a])}):function(e){return i(e,0,n)}):i}},pseudos:{not:se(function(e){var t=[],n=[],r=s(e.replace(B,"$1"));return r[b]?se(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),t[0]=null,!n.pop()}}),has:se(function(e){return function(t){return oe(e,t).length>0}}),contains:se(function(e){return e=e.replace(Z,ee),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:se(function(e){return U.test(e||"")||oe.error("unsupported lang: "+e),e=e.replace(Z,ee).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===h},focus:function(e){return e===d.activeElement&&(!d.hasFocus||d.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:de(!1),disabled:de(!0),checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return Y.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:he(function(){return[0]}),last:he(function(e,t){return[t-1]}),eq:he(function(e,t,n){return[n<0?n+t:n]}),even:he(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:he(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:he(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:he(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}}).pseudos.nth=r.pseudos.eq;for(t in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})r.pseudos[t]=fe(t);for(t in{submit:!0,reset:!0})r.pseudos[t]=pe(t);function ye(){}ye.prototype=r.filters=r.pseudos,r.setFilters=new ye,a=oe.tokenize=function(e,t){var n,i,o,a,s,u,l,c=k[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=r.preFilter;while(s){n&&!(i=F.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),n=!1,(i=_.exec(s))&&(n=i.shift(),o.push({value:n,type:i[0].replace(B," ")}),s=s.slice(n.length));for(a in r.filter)!(i=V[a].exec(s))||l[a]&&!(i=l[a](i))||(n=i.shift(),o.push({value:n,type:a,matches:i}),s=s.slice(n.length));if(!n)break}return t?s.length:s?oe.error(e):k(e,u).slice(0)};function ve(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function me(e,t,n){var r=t.dir,i=t.next,o=i||r,a=n&&"parentNode"===o,s=C++;return t.first?function(t,n,i){while(t=t[r])if(1===t.nodeType||a)return e(t,n,i);return!1}:function(t,n,u){var l,c,f,p=[T,s];if(u){while(t=t[r])if((1===t.nodeType||a)&&e(t,n,u))return!0}else while(t=t[r])if(1===t.nodeType||a)if(f=t[b]||(t[b]={}),c=f[t.uniqueID]||(f[t.uniqueID]={}),i&&i===t.nodeName.toLowerCase())t=t[r]||t;else{if((l=c[o])&&l[0]===T&&l[1]===s)return p[2]=l[2];if(c[o]=p,p[2]=e(t,n,u))return!0}return!1}}function xe(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function be(e,t,n){for(var r=0,i=t.length;r<i;r++)oe(e,t[r],n);return n}function we(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function Te(e,t,n,r,i,o){return r&&!r[b]&&(r=Te(r)),i&&!i[b]&&(i=Te(i,o)),se(function(o,a,s,u){var l,c,f,p=[],d=[],h=a.length,g=o||be(t||"*",s.nodeType?[s]:s,[]),y=!e||!o&&t?g:we(g,p,e,s,u),v=n?i||(o?e:h||r)?[]:a:y;if(n&&n(y,v,s,u),r){l=we(v,d),r(l,[],s,u),c=l.length;while(c--)(f=l[c])&&(v[d[c]]=!(y[d[c]]=f))}if(o){if(i||e){if(i){l=[],c=v.length;while(c--)(f=v[c])&&l.push(y[c]=f);i(null,v=[],l,u)}c=v.length;while(c--)(f=v[c])&&(l=i?O(o,f):p[c])>-1&&(o[l]=!(a[l]=f))}}else v=we(v===a?v.splice(h,v.length):v),i?i(null,a,v,u):L.apply(a,v)})}function Ce(e){for(var t,n,i,o=e.length,a=r.relative[e[0].type],s=a||r.relative[" "],u=a?1:0,c=me(function(e){return e===t},s,!0),f=me(function(e){return O(t,e)>-1},s,!0),p=[function(e,n,r){var i=!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):f(e,n,r));return t=null,i}];u<o;u++)if(n=r.relative[e[u].type])p=[me(xe(p),n)];else{if((n=r.filter[e[u].type].apply(null,e[u].matches))[b]){for(i=++u;i<o;i++)if(r.relative[e[i].type])break;return Te(u>1&&xe(p),u>1&&ve(e.slice(0,u-1).concat({value:" "===e[u-2].type?"*":""})).replace(B,"$1"),n,u<i&&Ce(e.slice(u,i)),i<o&&Ce(e=e.slice(i)),i<o&&ve(e))}p.push(n)}return xe(p)}function Ee(e,t){var n=t.length>0,i=e.length>0,o=function(o,a,s,u,c){var f,h,y,v=0,m="0",x=o&&[],b=[],w=l,C=o||i&&r.find.TAG("*",c),E=T+=null==w?1:Math.random()||.1,k=C.length;for(c&&(l=a===d||a||c);m!==k&&null!=(f=C[m]);m++){if(i&&f){h=0,a||f.ownerDocument===d||(p(f),s=!g);while(y=e[h++])if(y(f,a||d,s)){u.push(f);break}c&&(T=E)}n&&((f=!y&&f)&&v--,o&&x.push(f))}if(v+=m,n&&m!==v){h=0;while(y=t[h++])y(x,b,a,s);if(o){if(v>0)while(m--)x[m]||b[m]||(b[m]=j.call(u));b=we(b)}L.apply(u,b),c&&!o&&b.length>0&&v+t.length>1&&oe.uniqueSort(u)}return c&&(T=E,l=w),x};return n?se(o):o}return s=oe.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=a(e)),n=t.length;while(n--)(o=Ce(t[n]))[b]?r.push(o):i.push(o);(o=S(e,Ee(i,r))).selector=e}return o},u=oe.select=function(e,t,n,i){var o,u,l,c,f,p="function"==typeof e&&e,d=!i&&a(e=p.selector||e);if(n=n||[],1===d.length){if((u=d[0]=d[0].slice(0)).length>2&&"ID"===(l=u[0]).type&&9===t.nodeType&&g&&r.relative[u[1].type]){if(!(t=(r.find.ID(l.matches[0].replace(Z,ee),t)||[])[0]))return n;p&&(t=t.parentNode),e=e.slice(u.shift().value.length)}o=V.needsContext.test(e)?0:u.length;while(o--){if(l=u[o],r.relative[c=l.type])break;if((f=r.find[c])&&(i=f(l.matches[0].replace(Z,ee),K.test(u[0].type)&&ge(t.parentNode)||t))){if(u.splice(o,1),!(e=i.length&&ve(u)))return L.apply(n,i),n;break}}}return(p||s(e,d))(i,t,!g,n,!t||K.test(e)&&ge(t.parentNode)||t),n},n.sortStable=b.split("").sort(D).join("")===b,n.detectDuplicates=!!f,p(),n.sortDetached=ue(function(e){return 1&e.compareDocumentPosition(d.createElement("fieldset"))}),ue(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||le("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),n.attributes&&ue(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||le("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),ue(function(e){return null==e.getAttribute("disabled")})||le(P,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),oe}(e);w.find=E,w.expr=E.selectors,w.expr[":"]=w.expr.pseudos,w.uniqueSort=w.unique=E.uniqueSort,w.text=E.getText,w.isXMLDoc=E.isXML,w.contains=E.contains,w.escapeSelector=E.escape;var k=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&w(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},D=w.expr.match.needsContext;function N(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var A=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function j(e,t,n){return g(t)?w.grep(e,function(e,r){return!!t.call(e,r,e)!==n}):t.nodeType?w.grep(e,function(e){return e===t!==n}):"string"!=typeof t?w.grep(e,function(e){return u.call(t,e)>-1!==n}):w.filter(t,e,n)}w.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?w.find.matchesSelector(r,e)?[r]:[]:w.find.matches(e,w.grep(t,function(e){return 1===e.nodeType}))},w.fn.extend({find:function(e){var t,n,r=this.length,i=this;if("string"!=typeof e)return this.pushStack(w(e).filter(function(){for(t=0;t<r;t++)if(w.contains(i[t],this))return!0}));for(n=this.pushStack([]),t=0;t<r;t++)w.find(e,i[t],n);return r>1?w.uniqueSort(n):n},filter:function(e){return this.pushStack(j(this,e||[],!1))},not:function(e){return this.pushStack(j(this,e||[],!0))},is:function(e){return!!j(this,"string"==typeof e&&D.test(e)?w(e):e||[],!1).length}});var q,L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(w.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||q,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:L.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof w?t[0]:t,w.merge(this,w.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:r,!0)),A.test(i[1])&&w.isPlainObject(t))for(i in t)g(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=r.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):g(e)?void 0!==n.ready?n.ready(e):e(w):w.makeArray(e,this)}).prototype=w.fn,q=w(r);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};w.fn.extend({has:function(e){var t=w(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(w.contains(this,t[e]))return!0})},closest:function(e,t){var n,r=0,i=this.length,o=[],a="string"!=typeof e&&w(e);if(!D.test(e))for(;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&w.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?w.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?u.call(w(e),this[0]):u.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(w.uniqueSort(w.merge(this.get(),w(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}});function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}w.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return k(e,"parentNode")},parentsUntil:function(e,t,n){return k(e,"parentNode",n)},next:function(e){return P(e,"nextSibling")},prev:function(e){return P(e,"previousSibling")},nextAll:function(e){return k(e,"nextSibling")},prevAll:function(e){return k(e,"previousSibling")},nextUntil:function(e,t,n){return k(e,"nextSibling",n)},prevUntil:function(e,t,n){return k(e,"previousSibling",n)},siblings:function(e){return S((e.parentNode||{}).firstChild,e)},children:function(e){return S(e.firstChild)},contents:function(e){return N(e,"iframe")?e.contentDocument:(N(e,"template")&&(e=e.content||e),w.merge([],e.childNodes))}},function(e,t){w.fn[e]=function(n,r){var i=w.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=w.filter(r,i)),this.length>1&&(O[e]||w.uniqueSort(i),H.test(e)&&i.reverse()),this.pushStack(i)}});var M=/[^\x20\t\r\n\f]+/g;function R(e){var t={};return w.each(e.match(M)||[],function(e,n){t[n]=!0}),t}w.Callbacks=function(e){e="string"==typeof e?R(e):w.extend({},e);var t,n,r,i,o=[],a=[],s=-1,u=function(){for(i=i||e.once,r=t=!0;a.length;s=-1){n=a.shift();while(++s<o.length)!1===o[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=o.length,n=!1)}e.memory||(n=!1),t=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!t&&(s=o.length-1,a.push(n)),function t(n){w.each(n,function(n,r){g(r)?e.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&t(r)})}(arguments),n&&!t&&u()),this},remove:function(){return w.each(arguments,function(e,t){var n;while((n=w.inArray(t,o,n))>-1)o.splice(n,1),n<=s&&s--}),this},has:function(e){return e?w.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=a=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=a=[],n||t||(o=n=""),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||u()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l};function I(e){return e}function W(e){throw e}function $(e,t,n,r){var i;try{e&&g(i=e.promise)?i.call(e).done(t).fail(n):e&&g(i=e.then)?i.call(e,t,n):t.apply(void 0,[e].slice(r))}catch(e){n.apply(void 0,[e])}}w.extend({Deferred:function(t){var n=[["notify","progress",w.Callbacks("memory"),w.Callbacks("memory"),2],["resolve","done",w.Callbacks("once memory"),w.Callbacks("once memory"),0,"resolved"],["reject","fail",w.Callbacks("once memory"),w.Callbacks("once memory"),1,"rejected"]],r="pending",i={state:function(){return r},always:function(){return o.done(arguments).fail(arguments),this},"catch":function(e){return i.then(null,e)},pipe:function(){var e=arguments;return w.Deferred(function(t){w.each(n,function(n,r){var i=g(e[r[4]])&&e[r[4]];o[r[1]](function(){var e=i&&i.apply(this,arguments);e&&g(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[r[0]+"With"](this,i?[e]:arguments)})}),e=null}).promise()},then:function(t,r,i){var o=0;function a(t,n,r,i){return function(){var s=this,u=arguments,l=function(){var e,l;if(!(t<o)){if((e=r.apply(s,u))===n.promise())throw new TypeError("Thenable self-resolution");l=e&&("object"==typeof e||"function"==typeof e)&&e.then,g(l)?i?l.call(e,a(o,n,I,i),a(o,n,W,i)):(o++,l.call(e,a(o,n,I,i),a(o,n,W,i),a(o,n,I,n.notifyWith))):(r!==I&&(s=void 0,u=[e]),(i||n.resolveWith)(s,u))}},c=i?l:function(){try{l()}catch(e){w.Deferred.exceptionHook&&w.Deferred.exceptionHook(e,c.stackTrace),t+1>=o&&(r!==W&&(s=void 0,u=[e]),n.rejectWith(s,u))}};t?c():(w.Deferred.getStackHook&&(c.stackTrace=w.Deferred.getStackHook()),e.setTimeout(c))}}return w.Deferred(function(e){n[0][3].add(a(0,e,g(i)?i:I,e.notifyWith)),n[1][3].add(a(0,e,g(t)?t:I)),n[2][3].add(a(0,e,g(r)?r:W))}).promise()},promise:function(e){return null!=e?w.extend(e,i):i}},o={};return w.each(n,function(e,t){var a=t[2],s=t[5];i[t[1]]=a.add,s&&a.add(function(){r=s},n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),a.add(t[3].fire),o[t[0]]=function(){return o[t[0]+"With"](this===o?void 0:this,arguments),this},o[t[0]+"With"]=a.fireWith}),i.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,r=Array(n),i=o.call(arguments),a=w.Deferred(),s=function(e){return function(n){r[e]=this,i[e]=arguments.length>1?o.call(arguments):n,--t||a.resolveWith(r,i)}};if(t<=1&&($(e,a.done(s(n)).resolve,a.reject,!t),"pending"===a.state()||g(i[n]&&i[n].then)))return a.then();while(n--)$(i[n],s(n),a.reject);return a.promise()}});var B=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;w.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&B.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},w.readyException=function(t){e.setTimeout(function(){throw t})};var F=w.Deferred();w.fn.ready=function(e){return F.then(e)["catch"](function(e){w.readyException(e)}),this},w.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--w.readyWait:w.isReady)||(w.isReady=!0,!0!==e&&--w.readyWait>0||F.resolveWith(r,[w]))}}),w.ready.then=F.then;function _(){r.removeEventListener("DOMContentLoaded",_),e.removeEventListener("load",_),w.ready()}"complete"===r.readyState||"loading"!==r.readyState&&!r.documentElement.doScroll?e.setTimeout(w.ready):(r.addEventListener("DOMContentLoaded",_),e.addEventListener("load",_));var z=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===x(n)){i=!0;for(s in n)z(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,g(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(w(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},X=/^-ms-/,U=/-([a-z])/g;function V(e,t){return t.toUpperCase()}function G(e){return e.replace(X,"ms-").replace(U,V)}var Y=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function Q(){this.expando=w.expando+Q.uid++}Q.uid=1,Q.prototype={cache:function(e){var t=e[this.expando];return t||(t={},Y(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var r,i=this.cache(e);if("string"==typeof t)i[G(t)]=n;else for(r in t)i[G(r)]=t[r];return i},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][G(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,r=e[this.expando];if(void 0!==r){if(void 0!==t){n=(t=Array.isArray(t)?t.map(G):(t=G(t))in r?[t]:t.match(M)||[]).length;while(n--)delete r[t[n]]}(void 0===t||w.isEmptyObject(r))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!w.isEmptyObject(t)}};var J=new Q,K=new Q,Z=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ee=/[A-Z]/g;function te(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:Z.test(e)?JSON.parse(e):e)}function ne(e,t,n){var r;if(void 0===n&&1===e.nodeType)if(r="data-"+t.replace(ee,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(r))){try{n=te(n)}catch(e){}K.set(e,t,n)}else n=void 0;return n}w.extend({hasData:function(e){return K.hasData(e)||J.hasData(e)},data:function(e,t,n){return K.access(e,t,n)},removeData:function(e,t){K.remove(e,t)},_data:function(e,t,n){return J.access(e,t,n)},_removeData:function(e,t){J.remove(e,t)}}),w.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=K.get(o),1===o.nodeType&&!J.get(o,"hasDataAttrs"))){n=a.length;while(n--)a[n]&&0===(r=a[n].name).indexOf("data-")&&(r=G(r.slice(5)),ne(o,r,i[r]));J.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof e?this.each(function(){K.set(this,e)}):z(this,function(t){var n;if(o&&void 0===t){if(void 0!==(n=K.get(o,e)))return n;if(void 0!==(n=ne(o,e)))return n}else this.each(function(){K.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){K.remove(this,e)})}}),w.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=J.get(e,t),n&&(!r||Array.isArray(n)?r=J.access(e,t,w.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=w.queue(e,t),r=n.length,i=n.shift(),o=w._queueHooks(e,t),a=function(){w.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return J.get(e,n)||J.access(e,n,{empty:w.Callbacks("once memory").add(function(){J.remove(e,[t+"queue",n])})})}}),w.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?w.queue(this[0],e):void 0===t?this:this.each(function(){var n=w.queue(this,e,t);w._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&w.dequeue(this,e)})},dequeue:function(e){return this.each(function(){w.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=w.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};"string"!=typeof e&&(t=e,e=void 0),e=e||"fx";while(a--)(n=J.get(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var re=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ie=new RegExp("^(?:([+-])=|)("+re+")([a-z%]*)$","i"),oe=["Top","Right","Bottom","Left"],ae=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&w.contains(e.ownerDocument,e)&&"none"===w.css(e,"display")},se=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i};function ue(e,t,n,r){var i,o,a=20,s=r?function(){return r.cur()}:function(){return w.css(e,t,"")},u=s(),l=n&&n[3]||(w.cssNumber[t]?"":"px"),c=(w.cssNumber[t]||"px"!==l&&+u)&&ie.exec(w.css(e,t));if(c&&c[3]!==l){u/=2,l=l||c[3],c=+u||1;while(a--)w.style(e,t,c+l),(1-o)*(1-(o=s()/u||.5))<=0&&(a=0),c/=o;c*=2,w.style(e,t,c+l),n=n||[]}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}var le={};function ce(e){var t,n=e.ownerDocument,r=e.nodeName,i=le[r];return i||(t=n.body.appendChild(n.createElement(r)),i=w.css(t,"display"),t.parentNode.removeChild(t),"none"===i&&(i="block"),le[r]=i,i)}function fe(e,t){for(var n,r,i=[],o=0,a=e.length;o<a;o++)(r=e[o]).style&&(n=r.style.display,t?("none"===n&&(i[o]=J.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&ae(r)&&(i[o]=ce(r))):"none"!==n&&(i[o]="none",J.set(r,"display",n)));for(o=0;o<a;o++)null!=i[o]&&(e[o].style.display=i[o]);return e}w.fn.extend({show:function(){return fe(this,!0)},hide:function(){return fe(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ae(this)?w(this).show():w(this).hide()})}});var pe=/^(?:checkbox|radio)$/i,de=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,he=/^$|^module$|\/(?:java|ecma)script/i,ge={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};ge.optgroup=ge.option,ge.tbody=ge.tfoot=ge.colgroup=ge.caption=ge.thead,ge.th=ge.td;function ye(e,t){var n;return n="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&N(e,t)?w.merge([e],n):n}function ve(e,t){for(var n=0,r=e.length;n<r;n++)J.set(e[n],"globalEval",!t||J.get(t[n],"globalEval"))}var me=/<|&#?\w+;/;function xe(e,t,n,r,i){for(var o,a,s,u,l,c,f=t.createDocumentFragment(),p=[],d=0,h=e.length;d<h;d++)if((o=e[d])||0===o)if("object"===x(o))w.merge(p,o.nodeType?[o]:o);else if(me.test(o)){a=a||f.appendChild(t.createElement("div")),s=(de.exec(o)||["",""])[1].toLowerCase(),u=ge[s]||ge._default,a.innerHTML=u[1]+w.htmlPrefilter(o)+u[2],c=u[0];while(c--)a=a.lastChild;w.merge(p,a.childNodes),(a=f.firstChild).textContent=""}else p.push(t.createTextNode(o));f.textContent="",d=0;while(o=p[d++])if(r&&w.inArray(o,r)>-1)i&&i.push(o);else if(l=w.contains(o.ownerDocument,o),a=ye(f.appendChild(o),"script"),l&&ve(a),n){c=0;while(o=a[c++])he.test(o.type||"")&&n.push(o)}return f}!function(){var e=r.createDocumentFragment().appendChild(r.createElement("div")),t=r.createElement("input");t.setAttribute("type","radio"),t.setAttribute("checked","checked"),t.setAttribute("name","t"),e.appendChild(t),h.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,e.innerHTML="<textarea>x</textarea>",h.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue}();var be=r.documentElement,we=/^key/,Te=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ce=/^([^.]*)(?:\.(.+)|)/;function Ee(){return!0}function ke(){return!1}function Se(){try{return r.activeElement}catch(e){}}function De(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)De(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=ke;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return w().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=w.guid++)),e.each(function(){w.event.add(this,t,i,r,n)})}w.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.get(e);if(y){n.handler&&(n=(o=n).handler,i=o.selector),i&&w.find.matchesSelector(be,i),n.guid||(n.guid=w.guid++),(u=y.events)||(u=y.events={}),(a=y.handle)||(a=y.handle=function(t){return"undefined"!=typeof w&&w.event.triggered!==t.type?w.event.dispatch.apply(e,arguments):void 0}),l=(t=(t||"").match(M)||[""]).length;while(l--)d=g=(s=Ce.exec(t[l])||[])[1],h=(s[2]||"").split(".").sort(),d&&(f=w.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=w.event.special[d]||{},c=w.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&w.expr.match.needsContext.test(i),namespace:h.join(".")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(e,r,h,a)||e.addEventListener&&e.addEventListener(d,a)),f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),w.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,y=J.hasData(e)&&J.get(e);if(y&&(u=y.events)){l=(t=(t||"").match(M)||[""]).length;while(l--)if(s=Ce.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){f=w.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&("**"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,y.handle)||w.removeEvent(e,d,y.handle),delete u[d])}else for(d in u)w.event.remove(e,d+t[l],n,r,!0);w.isEmptyObject(u)&&J.remove(e,"handle events")}},dispatch:function(e){var t=w.event.fix(e),n,r,i,o,a,s,u=new Array(arguments.length),l=(J.get(this,"events")||{})[t.type]||[],c=w.event.special[t.type]||{};for(u[0]=t,n=1;n<arguments.length;n++)u[n]=arguments[n];if(t.delegateTarget=this,!c.preDispatch||!1!==c.preDispatch.call(this,t)){s=w.event.handlers.call(this,t,l),n=0;while((o=s[n++])&&!t.isPropagationStopped()){t.currentTarget=o.elem,r=0;while((a=o.handlers[r++])&&!t.isImmediatePropagationStopped())t.rnamespace&&!t.rnamespace.test(a.namespace)||(t.handleObj=a,t.data=a.data,void 0!==(i=((w.event.special[a.origType]||{}).handle||a.handler).apply(o.elem,u))&&!1===(t.result=i)&&(t.preventDefault(),t.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,t),t.result}},handlers:function(e,t){var n,r,i,o,a,s=[],u=t.delegateCount,l=e.target;if(u&&l.nodeType&&!("click"===e.type&&e.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==e.type||!0!==l.disabled)){for(o=[],a={},n=0;n<u;n++)void 0===a[i=(r=t[n]).selector+" "]&&(a[i]=r.needsContext?w(i,this).index(l)>-1:w.find(i,this,null,[l]).length),a[i]&&o.push(r);o.length&&s.push({elem:l,handlers:o})}return l=this,u<t.length&&s.push({elem:l,handlers:t.slice(u)}),s},addProp:function(e,t){Object.defineProperty(w.Event.prototype,e,{enumerable:!0,configurable:!0,get:g(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[w.expando]?e:new w.Event(e)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Se()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Se()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&N(this,"input"))return this.click(),!1},_default:function(e){return N(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},w.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},w.Event=function(e,t){if(!(this instanceof w.Event))return new w.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ee:ke,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&w.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[w.expando]=!0},w.Event.prototype={constructor:w.Event,isDefaultPrevented:ke,isPropagationStopped:ke,isImmediatePropagationStopped:ke,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ee,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ee,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ee,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},w.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(e){var t=e.button;return null==e.which&&we.test(e.type)?null!=e.charCode?e.charCode:e.keyCode:!e.which&&void 0!==t&&Te.test(e.type)?1&t?1:2&t?3:4&t?2:0:e.which}},w.event.addProp),w.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){w.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||w.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),w.fn.extend({on:function(e,t,n,r){return De(this,e,t,n,r)},one:function(e,t,n,r){return De(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,w(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=ke),this.each(function(){w.event.remove(this,e,n,t)})}});var Ne=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,Ae=/<script|<style|<link/i,je=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;function Le(e,t){return N(e,"table")&&N(11!==t.nodeType?t:t.firstChild,"tr")?w(e).children("tbody")[0]||e:e}function He(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Oe(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Pe(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(J.hasData(e)&&(o=J.access(e),a=J.set(t,o),l=o.events)){delete a.handle,a.events={};for(i in l)for(n=0,r=l[i].length;n<r;n++)w.event.add(t,i,l[i][n])}K.hasData(e)&&(s=K.access(e),u=w.extend({},s),K.set(t,u))}}function Me(e,t){var n=t.nodeName.toLowerCase();"input"===n&&pe.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Re(e,t,n,r){t=a.apply([],t);var i,o,s,u,l,c,f=0,p=e.length,d=p-1,y=t[0],v=g(y);if(v||p>1&&"string"==typeof y&&!h.checkClone&&je.test(y))return e.each(function(i){var o=e.eq(i);v&&(t[0]=y.call(this,i,o.html())),Re(o,t,n,r)});if(p&&(i=xe(t,e[0].ownerDocument,!1,e,r),o=i.firstChild,1===i.childNodes.length&&(i=o),o||r)){for(u=(s=w.map(ye(i,"script"),He)).length;f<p;f++)l=i,f!==d&&(l=w.clone(l,!0,!0),u&&w.merge(s,ye(l,"script"))),n.call(e[f],l,f);if(u)for(c=s[s.length-1].ownerDocument,w.map(s,Oe),f=0;f<u;f++)l=s[f],he.test(l.type||"")&&!J.access(l,"globalEval")&&w.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?w._evalUrl&&w._evalUrl(l.src):m(l.textContent.replace(qe,""),c,l))}return e}function Ie(e,t,n){for(var r,i=t?w.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||w.cleanData(ye(r)),r.parentNode&&(n&&w.contains(r.ownerDocument,r)&&ve(ye(r,"script")),r.parentNode.removeChild(r));return e}w.extend({htmlPrefilter:function(e){return e.replace(Ne,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s=e.cloneNode(!0),u=w.contains(e.ownerDocument,e);if(!(h.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||w.isXMLDoc(e)))for(a=ye(s),r=0,i=(o=ye(e)).length;r<i;r++)Me(o[r],a[r]);if(t)if(n)for(o=o||ye(e),a=a||ye(s),r=0,i=o.length;r<i;r++)Pe(o[r],a[r]);else Pe(e,s);return(a=ye(s,"script")).length>0&&ve(a,!u&&ye(e,"script")),s},cleanData:function(e){for(var t,n,r,i=w.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[J.expando]){if(t.events)for(r in t.events)i[r]?w.event.remove(n,r):w.removeEvent(n,r,t.handle);n[J.expando]=void 0}n[K.expando]&&(n[K.expando]=void 0)}}}),w.fn.extend({detach:function(e){return Ie(this,e,!0)},remove:function(e){return Ie(this,e)},text:function(e){return z(this,function(e){return void 0===e?w.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Re(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Le(this,e).appendChild(e)})},prepend:function(){return Re(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Le(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Re(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(w.cleanData(ye(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return w.clone(this,e,t)})},html:function(e){return z(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ae.test(e)&&!ge[(de.exec(e)||["",""])[1].toLowerCase()]){e=w.htmlPrefilter(e);try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(w.cleanData(ye(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Re(this,arguments,function(t){var n=this.parentNode;w.inArray(this,e)<0&&(w.cleanData(ye(this)),n&&n.replaceChild(t,this))},e)}}),w.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){w.fn[e]=function(e){for(var n,r=[],i=w(e),o=i.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),w(i[a])[t](n),s.apply(r,n.get());return this.pushStack(r)}});var We=new RegExp("^("+re+")(?!px)[a-z%]+$","i"),$e=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Be=new RegExp(oe.join("|"),"i");!function(){function t(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",be.appendChild(l).appendChild(c);var t=e.getComputedStyle(c);i="1%"!==t.top,u=12===n(t.marginLeft),c.style.right="60%",s=36===n(t.right),o=36===n(t.width),c.style.position="absolute",a=36===c.offsetWidth||"absolute",be.removeChild(l),c=null}}function n(e){return Math.round(parseFloat(e))}var i,o,a,s,u,l=r.createElement("div"),c=r.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",h.clearCloneStyle="content-box"===c.style.backgroundClip,w.extend(h,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),u},scrollboxSize:function(){return t(),a}}))}();function Fe(e,t,n){var r,i,o,a,s=e.style;return(n=n||$e(e))&&(""!==(a=n.getPropertyValue(t)||n[t])||w.contains(e.ownerDocument,e)||(a=w.style(e,t)),!h.pixelBoxStyles()&&We.test(a)&&Be.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o)),void 0!==a?a+"":a}function _e(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}var ze=/^(none|table(?!-c[ea]).+)/,Xe=/^--/,Ue={position:"absolute",visibility:"hidden",display:"block"},Ve={letterSpacing:"0",fontWeight:"400"},Ge=["Webkit","Moz","ms"],Ye=r.createElement("div").style;function Qe(e){if(e in Ye)return e;var t=e[0].toUpperCase()+e.slice(1),n=Ge.length;while(n--)if((e=Ge[n]+t)in Ye)return e}function Je(e){var t=w.cssProps[e];return t||(t=w.cssProps[e]=Qe(e)||e),t}function Ke(e,t,n){var r=ie.exec(t);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):t}function Ze(e,t,n,r,i,o){var a="width"===t?1:0,s=0,u=0;if(n===(r?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(u+=w.css(e,n+oe[a],!0,i)),r?("content"===n&&(u-=w.css(e,"padding"+oe[a],!0,i)),"margin"!==n&&(u-=w.css(e,"border"+oe[a]+"Width",!0,i))):(u+=w.css(e,"padding"+oe[a],!0,i),"padding"!==n?u+=w.css(e,"border"+oe[a]+"Width",!0,i):s+=w.css(e,"border"+oe[a]+"Width",!0,i));return!r&&o>=0&&(u+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-o-u-s-.5))),u}function et(e,t,n){var r=$e(e),i=Fe(e,t,r),o="border-box"===w.css(e,"boxSizing",!1,r),a=o;if(We.test(i)){if(!n)return i;i="auto"}return a=a&&(h.boxSizingReliable()||i===e.style[t]),("auto"===i||!parseFloat(i)&&"inline"===w.css(e,"display",!1,r))&&(i=e["offset"+t[0].toUpperCase()+t.slice(1)],a=!0),(i=parseFloat(i)||0)+Ze(e,t,n||(o?"border":"content"),a,r,i)+"px"}w.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Fe(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=G(t),u=Xe.test(t),l=e.style;if(u||(t=Je(s)),a=w.cssHooks[t]||w.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:l[t];"string"==(o=typeof n)&&(i=ie.exec(n))&&i[1]&&(n=ue(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(w.cssNumber[s]?"":"px")),h.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&void 0===(n=a.set(e,n,r))||(u?l.setProperty(t,n):l[t]=n))}},css:function(e,t,n,r){var i,o,a,s=G(t);return Xe.test(t)||(t=Je(s)),(a=w.cssHooks[t]||w.cssHooks[s])&&"get"in a&&(i=a.get(e,!0,n)),void 0===i&&(i=Fe(e,t,r)),"normal"===i&&t in Ve&&(i=Ve[t]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),w.each(["height","width"],function(e,t){w.cssHooks[t]={get:function(e,n,r){if(n)return!ze.test(w.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?et(e,t,r):se(e,Ue,function(){return et(e,t,r)})},set:function(e,n,r){var i,o=$e(e),a="border-box"===w.css(e,"boxSizing",!1,o),s=r&&Ze(e,t,r,a,o);return a&&h.scrollboxSize()===o.position&&(s-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Ze(e,t,"border",!1,o)-.5)),s&&(i=ie.exec(n))&&"px"!==(i[3]||"px")&&(e.style[t]=n,n=w.css(e,t)),Ke(e,n,s)}}}),w.cssHooks.marginLeft=_e(h.reliableMarginLeft,function(e,t){if(t)return(parseFloat(Fe(e,"marginLeft"))||e.getBoundingClientRect().left-se(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),w.each({margin:"",padding:"",border:"Width"},function(e,t){w.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+oe[r]+t]=o[r]||o[r-2]||o[0];return i}},"margin"!==e&&(w.cssHooks[e+t].set=Ke)}),w.fn.extend({css:function(e,t){return z(this,function(e,t,n){var r,i,o={},a=0;if(Array.isArray(t)){for(r=$e(e),i=t.length;a<i;a++)o[t[a]]=w.css(e,t[a],!1,r);return o}return void 0!==n?w.style(e,t,n):w.css(e,t)},e,t,arguments.length>1)}});function tt(e,t,n,r,i){return new tt.prototype.init(e,t,n,r,i)}w.Tween=tt,tt.prototype={constructor:tt,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||w.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(w.cssNumber[n]?"":"px")},cur:function(){var e=tt.propHooks[this.prop];return e&&e.get?e.get(this):tt.propHooks._default.get(this)},run:function(e){var t,n=tt.propHooks[this.prop];return this.options.duration?this.pos=t=w.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):tt.propHooks._default.set(this),this}},tt.prototype.init.prototype=tt.prototype,tt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=w.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){w.fx.step[e.prop]?w.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[w.cssProps[e.prop]]&&!w.cssHooks[e.prop]?e.elem[e.prop]=e.now:w.style(e.elem,e.prop,e.now+e.unit)}}},tt.propHooks.scrollTop=tt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},w.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},w.fx=tt.prototype.init,w.fx.step={};var nt,rt,it=/^(?:toggle|show|hide)$/,ot=/queueHooks$/;function at(){rt&&(!1===r.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(at):e.setTimeout(at,w.fx.interval),w.fx.tick())}function st(){return e.setTimeout(function(){nt=void 0}),nt=Date.now()}function ut(e,t){var n,r=0,i={height:e};for(t=t?1:0;r<4;r+=2-t)i["margin"+(n=oe[r])]=i["padding"+n]=e;return t&&(i.opacity=i.width=e),i}function lt(e,t,n){for(var r,i=(pt.tweeners[t]||[]).concat(pt.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function ct(e,t,n){var r,i,o,a,s,u,l,c,f="width"in t||"height"in t,p=this,d={},h=e.style,g=e.nodeType&&ae(e),y=J.get(e,"fxshow");n.queue||(null==(a=w._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,w.queue(e,"fx").length||a.empty.fire()})}));for(r in t)if(i=t[r],it.test(i)){if(delete t[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!y||void 0===y[r])continue;g=!0}d[r]=y&&y[r]||w.style(e,r)}if((u=!w.isEmptyObject(t))||!w.isEmptyObject(d)){f&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(l=y&&y.display)&&(l=J.get(e,"display")),"none"===(c=w.css(e,"display"))&&(l?c=l:(fe([e],!0),l=e.style.display||l,c=w.css(e,"display"),fe([e]))),("inline"===c||"inline-block"===c&&null!=l)&&"none"===w.css(e,"float")&&(u||(p.done(function(){h.display=l}),null==l&&(c=h.display,l="none"===c?"":c)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),u=!1;for(r in d)u||(y?"hidden"in y&&(g=y.hidden):y=J.access(e,"fxshow",{display:l}),o&&(y.hidden=!g),g&&fe([e],!0),p.done(function(){g||fe([e]),J.remove(e,"fxshow");for(r in d)w.style(e,r,d[r])})),u=lt(g?y[r]:0,r,p),r in y||(y[r]=u.start,g&&(u.end=u.start,u.start=0))}}function ft(e,t){var n,r,i,o,a;for(n in e)if(r=G(n),i=t[r],o=e[n],Array.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=w.cssHooks[r])&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function pt(e,t,n){var r,i,o=0,a=pt.prefilters.length,s=w.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=nt||st(),n=Math.max(0,l.startTime+l.duration-t),r=1-(n/l.duration||0),o=0,a=l.tweens.length;o<a;o++)l.tweens[o].run(r);return s.notifyWith(e,[l,r,n]),r<1&&a?n:(a||s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:w.extend({},t),opts:w.extend(!0,{specialEasing:{},easing:w.easing._default},n),originalProperties:t,originalOptions:n,startTime:nt||st(),duration:n.duration,tweens:[],createTween:function(t,n){var r=w.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(ft(c,l.opts.specialEasing);o<a;o++)if(r=pt.prefilters[o].call(l,e,c,l.opts))return g(r.stop)&&(w._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return w.map(c,lt,l),g(l.opts.start)&&l.opts.start.call(e,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),w.fx.timer(w.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l}w.Animation=w.extend(pt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return ue(n.elem,e,ie.exec(t),n),n}]},tweener:function(e,t){g(e)?(t=e,e=["*"]):e=e.match(M);for(var n,r=0,i=e.length;r<i;r++)n=e[r],pt.tweeners[n]=pt.tweeners[n]||[],pt.tweeners[n].unshift(t)},prefilters:[ct],prefilter:function(e,t){t?pt.prefilters.unshift(e):pt.prefilters.push(e)}}),w.speed=function(e,t,n){var r=e&&"object"==typeof e?w.extend({},e):{complete:n||!n&&t||g(e)&&e,duration:e,easing:n&&t||t&&!g(t)&&t};return w.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in w.fx.speeds?r.duration=w.fx.speeds[r.duration]:r.duration=w.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){g(r.old)&&r.old.call(this),r.queue&&w.dequeue(this,r.queue)},r},w.fn.extend({fadeTo:function(e,t,n,r){return this.filter(ae).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=w.isEmptyObject(e),o=w.speed(t,n,r),a=function(){var t=pt(this,w.extend({},e),o);(i||J.get(this,"finish"))&&t.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&!1!==e&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=w.timers,a=J.get(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&ot.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||w.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=J.get(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=w.timers,a=r?r.length:0;for(n.finish=!0,w.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),w.each(["toggle","show","hide"],function(e,t){var n=w.fn[t];w.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ut(t,!0),e,r,i)}}),w.each({slideDown:ut("show"),slideUp:ut("hide"),slideToggle:ut("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){w.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),w.timers=[],w.fx.tick=function(){var e,t=0,n=w.timers;for(nt=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||w.fx.stop(),nt=void 0},w.fx.timer=function(e){w.timers.push(e),w.fx.start()},w.fx.interval=13,w.fx.start=function(){rt||(rt=!0,at())},w.fx.stop=function(){rt=null},w.fx.speeds={slow:600,fast:200,_default:400},w.fn.delay=function(t,n){return t=w.fx?w.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e=r.createElement("input"),t=r.createElement("select").appendChild(r.createElement("option"));e.type="checkbox",h.checkOn=""!==e.value,h.optSelected=t.selected,(e=r.createElement("input")).value="t",e.type="radio",h.radioValue="t"===e.value}();var dt,ht=w.expr.attrHandle;w.fn.extend({attr:function(e,t){return z(this,w.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){w.removeAttr(this,e)})}}),w.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?w.prop(e,t,n):(1===o&&w.isXMLDoc(e)||(i=w.attrHooks[t.toLowerCase()]||(w.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void w.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:null==(r=w.find.attr(e,t))?void 0:r)},attrHooks:{type:{set:function(e,t){if(!h.radioValue&&"radio"===t&&N(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r=0,i=t&&t.match(M);if(i&&1===e.nodeType)while(n=i[r++])e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?w.removeAttr(e,n):e.setAttribute(n,n),n}},w.each(w.expr.match.bool.source.match(/\w+/g),function(e,t){var n=ht[t]||w.find.attr;ht[t]=function(e,t,r){var i,o,a=t.toLowerCase();return r||(o=ht[a],ht[a]=i,i=null!=n(e,t,r)?a:null,ht[a]=o),i}});var gt=/^(?:input|select|textarea|button)$/i,yt=/^(?:a|area)$/i;w.fn.extend({prop:function(e,t){return z(this,w.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[w.propFix[e]||e]})}}),w.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&w.isXMLDoc(e)||(t=w.propFix[t]||t,i=w.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=w.find.attr(e,"tabindex");return t?parseInt(t,10):gt.test(e.nodeName)||yt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),h.optSelected||(w.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),w.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){w.propFix[this.toLowerCase()]=this});function vt(e){return(e.match(M)||[]).join(" ")}function mt(e){return e.getAttribute&&e.getAttribute("class")||""}function xt(e){return Array.isArray(e)?e:"string"==typeof e?e.match(M)||[]:[]}w.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).addClass(e.call(this,t,mt(this)))});if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])r.indexOf(" "+o+" ")<0&&(r+=o+" ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(g(e))return this.each(function(t){w(this).removeClass(e.call(this,t,mt(this)))});if(!arguments.length)return this.attr("class","");if((t=xt(e)).length)while(n=this[u++])if(i=mt(n),r=1===n.nodeType&&" "+vt(i)+" "){a=0;while(o=t[a++])while(r.indexOf(" "+o+" ")>-1)r=r.replace(" "+o+" "," ");i!==(s=vt(r))&&n.setAttribute("class",s)}return this},toggleClass:function(e,t){var n=typeof e,r="string"===n||Array.isArray(e);return"boolean"==typeof t&&r?t?this.addClass(e):this.removeClass(e):g(e)?this.each(function(n){w(this).toggleClass(e.call(this,n,mt(this),t),t)}):this.each(function(){var t,i,o,a;if(r){i=0,o=w(this),a=xt(e);while(t=a[i++])o.hasClass(t)?o.removeClass(t):o.addClass(t)}else void 0!==e&&"boolean"!==n||((t=mt(this))&&J.set(this,"__className__",t),this.setAttribute&&this.setAttribute("class",t||!1===e?"":J.get(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;t=" "+e+" ";while(n=this[r++])if(1===n.nodeType&&(" "+vt(mt(n))+" ").indexOf(t)>-1)return!0;return!1}});var bt=/\r/g;w.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=g(e),this.each(function(n){var i;1===this.nodeType&&(null==(i=r?e.call(this,n,w(this).val()):e)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=w.map(i,function(e){return null==e?"":e+""})),(t=w.valHooks[this.type]||w.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return(t=w.valHooks[i.type]||w.valHooks[i.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(bt,""):null==n?"":n}}}),w.extend({valHooks:{option:{get:function(e){var t=w.find.attr(e,"value");return null!=t?t:vt(w.text(e))}},select:{get:function(e){var t,n,r,i=e.options,o=e.selectedIndex,a="select-one"===e.type,s=a?null:[],u=a?o+1:i.length;for(r=o<0?u:a?o:0;r<u;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!N(n.parentNode,"optgroup"))){if(t=w(n).val(),a)return t;s.push(t)}return s},set:function(e,t){var n,r,i=e.options,o=w.makeArray(t),a=i.length;while(a--)((r=i[a]).selected=w.inArray(w.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),w.each(["radio","checkbox"],function(){w.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=w.inArray(w(e).val(),t)>-1}},h.checkOn||(w.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),h.focusin="onfocusin"in e;var wt=/^(?:focusinfocus|focusoutblur)$/,Tt=function(e){e.stopPropagation()};w.extend(w.event,{trigger:function(t,n,i,o){var a,s,u,l,c,p,d,h,v=[i||r],m=f.call(t,"type")?t.type:t,x=f.call(t,"namespace")?t.namespace.split("."):[];if(s=h=u=i=i||r,3!==i.nodeType&&8!==i.nodeType&&!wt.test(m+w.event.triggered)&&(m.indexOf(".")>-1&&(m=(x=m.split(".")).shift(),x.sort()),c=m.indexOf(":")<0&&"on"+m,t=t[w.expando]?t:new w.Event(m,"object"==typeof t&&t),t.isTrigger=o?2:3,t.namespace=x.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+x.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:w.makeArray(n,[t]),d=w.event.special[m]||{},o||!d.trigger||!1!==d.trigger.apply(i,n))){if(!o&&!d.noBubble&&!y(i)){for(l=d.delegateType||m,wt.test(l+m)||(s=s.parentNode);s;s=s.parentNode)v.push(s),u=s;u===(i.ownerDocument||r)&&v.push(u.defaultView||u.parentWindow||e)}a=0;while((s=v[a++])&&!t.isPropagationStopped())h=s,t.type=a>1?l:d.bindType||m,(p=(J.get(s,"events")||{})[t.type]&&J.get(s,"handle"))&&p.apply(s,n),(p=c&&s[c])&&p.apply&&Y(s)&&(t.result=p.apply(s,n),!1===t.result&&t.preventDefault());return t.type=m,o||t.isDefaultPrevented()||d._default&&!1!==d._default.apply(v.pop(),n)||!Y(i)||c&&g(i[m])&&!y(i)&&((u=i[c])&&(i[c]=null),w.event.triggered=m,t.isPropagationStopped()&&h.addEventListener(m,Tt),i[m](),t.isPropagationStopped()&&h.removeEventListener(m,Tt),w.event.triggered=void 0,u&&(i[c]=u)),t.result}},simulate:function(e,t,n){var r=w.extend(new w.Event,n,{type:e,isSimulated:!0});w.event.trigger(r,null,t)}}),w.fn.extend({trigger:function(e,t){return this.each(function(){w.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return w.event.trigger(e,t,n,!0)}}),h.focusin||w.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){w.event.simulate(t,e.target,w.event.fix(e))};w.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=J.access(r,t);i||r.addEventListener(e,n,!0),J.access(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=J.access(r,t)-1;i?J.access(r,t,i):(r.removeEventListener(e,n,!0),J.remove(r,t))}}});var Ct=e.location,Et=Date.now(),kt=/\?/;w.parseXML=function(t){var n;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){n=void 0}return n&&!n.getElementsByTagName("parsererror").length||w.error("Invalid XML: "+t),n};var St=/\[\]$/,Dt=/\r?\n/g,Nt=/^(?:submit|button|image|reset|file)$/i,At=/^(?:input|select|textarea|keygen)/i;function jt(e,t,n,r){var i;if(Array.isArray(t))w.each(t,function(t,i){n||St.test(e)?r(e,i):jt(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==x(t))r(e,t);else for(i in t)jt(e+"["+i+"]",t[i],n,r)}w.param=function(e,t){var n,r=[],i=function(e,t){var n=g(t)?t():t;r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(Array.isArray(e)||e.jquery&&!w.isPlainObject(e))w.each(e,function(){i(this.name,this.value)});else for(n in e)jt(n,e[n],t,i);return r.join("&")},w.fn.extend({serialize:function(){return w.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=w.prop(this,"elements");return e?w.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!w(this).is(":disabled")&&At.test(this.nodeName)&&!Nt.test(e)&&(this.checked||!pe.test(e))}).map(function(e,t){var n=w(this).val();return null==n?null:Array.isArray(n)?w.map(n,function(e){return{name:t.name,value:e.replace(Dt,"\r\n")}}):{name:t.name,value:n.replace(Dt,"\r\n")}}).get()}});var qt=/%20/g,Lt=/#.*$/,Ht=/([?&])_=[^&]*/,Ot=/^(.*?):[ \t]*([^\r\n]*)$/gm,Pt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mt=/^(?:GET|HEAD)$/,Rt=/^\/\//,It={},Wt={},$t="*/".concat("*"),Bt=r.createElement("a");Bt.href=Ct.href;function Ft(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(M)||[];if(g(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function _t(e,t,n,r){var i={},o=e===Wt;function a(s){var u;return i[s]=!0,w.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||o||i[l]?o?!(u=l):void 0:(t.dataTypes.unshift(l),a(l),!1)}),u}return a(t.dataTypes[0])||!i["*"]&&a("*")}function zt(e,t){var n,r,i=w.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((i[n]?e:r||(r={}))[n]=t[n]);return r&&w.extend(!0,e,r),e}function Xt(e,t,n){var r,i,o,a,s=e.contents,u=e.dataTypes;while("*"===u[0])u.shift(),void 0===r&&(r=e.mimeType||t.getResponseHeader("Content-Type"));if(r)for(i in s)if(s[i]&&s[i].test(r)){u.unshift(i);break}if(u[0]in n)o=u[0];else{for(i in n){if(!u[0]||e.converters[i+" "+u[0]]){o=i;break}a||(a=i)}o=o||a}if(o)return o!==u[0]&&u.unshift(o),n[o]}function Ut(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];o=c.shift();while(o)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(!(a=l[u+" "+o]||l["* "+o]))for(i in l)if((s=i.split(" "))[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){!0===a?a=l[i]:!0!==l[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}w.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ct.href,type:"GET",isLocal:Pt.test(Ct.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":$t,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":w.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?zt(zt(e,w.ajaxSettings),t):zt(w.ajaxSettings,e)},ajaxPrefilter:Ft(It),ajaxTransport:Ft(Wt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,p,d,h=w.ajaxSetup({},n),g=h.context||h,y=h.context&&(g.nodeType||g.jquery)?w(g):w.event,v=w.Deferred(),m=w.Callbacks("once memory"),x=h.statusCode||{},b={},T={},C="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s){s={};while(t=Ot.exec(a))s[t[1].toLowerCase()]=t[2]}t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return c?a:null},setRequestHeader:function(e,t){return null==c&&(e=T[e.toLowerCase()]=T[e.toLowerCase()]||e,b[e]=t),this},overrideMimeType:function(e){return null==c&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)E.always(e[E.status]);else for(t in e)x[t]=[x[t],e[t]];return this},abort:function(e){var t=e||C;return i&&i.abort(t),k(0,t),this}};if(v.promise(E),h.url=((t||h.url||Ct.href)+"").replace(Rt,Ct.protocol+"//"),h.type=n.method||n.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(M)||[""],null==h.crossDomain){l=r.createElement("a");try{l.href=h.url,l.href=l.href,h.crossDomain=Bt.protocol+"//"+Bt.host!=l.protocol+"//"+l.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=w.param(h.data,h.traditional)),_t(It,h,n,E),c)return E;(f=w.event&&h.global)&&0==w.active++&&w.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Mt.test(h.type),o=h.url.replace(Lt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(qt,"+")):(d=h.url.slice(o.length),h.data&&(h.processData||"string"==typeof h.data)&&(o+=(kt.test(o)?"&":"?")+h.data,delete h.data),!1===h.cache&&(o=o.replace(Ht,"$1"),d=(kt.test(o)?"&":"?")+"_="+Et+++d),h.url=o+d),h.ifModified&&(w.lastModified[o]&&E.setRequestHeader("If-Modified-Since",w.lastModified[o]),w.etag[o]&&E.setRequestHeader("If-None-Match",w.etag[o])),(h.data&&h.hasContent&&!1!==h.contentType||n.contentType)&&E.setRequestHeader("Content-Type",h.contentType),E.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+$t+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)E.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(g,E,h)||c))return E.abort();if(C="abort",m.add(h.complete),E.done(h.success),E.fail(h.error),i=_t(Wt,h,n,E)){if(E.readyState=1,f&&y.trigger("ajaxSend",[E,h]),c)return E;h.async&&h.timeout>0&&(u=e.setTimeout(function(){E.abort("timeout")},h.timeout));try{c=!1,i.send(b,k)}catch(e){if(c)throw e;k(-1,e)}}else k(-1,"No Transport");function k(t,n,r,s){var l,p,d,b,T,C=n;c||(c=!0,u&&e.clearTimeout(u),i=void 0,a=s||"",E.readyState=t>0?4:0,l=t>=200&&t<300||304===t,r&&(b=Xt(h,E,r)),b=Ut(h,b,E,l),l?(h.ifModified&&((T=E.getResponseHeader("Last-Modified"))&&(w.lastModified[o]=T),(T=E.getResponseHeader("etag"))&&(w.etag[o]=T)),204===t||"HEAD"===h.type?C="nocontent":304===t?C="notmodified":(C=b.state,p=b.data,l=!(d=b.error))):(d=C,!t&&C||(C="error",t<0&&(t=0))),E.status=t,E.statusText=(n||C)+"",l?v.resolveWith(g,[p,C,E]):v.rejectWith(g,[E,C,d]),E.statusCode(x),x=void 0,f&&y.trigger(l?"ajaxSuccess":"ajaxError",[E,h,l?p:d]),m.fireWith(g,[E,C]),f&&(y.trigger("ajaxComplete",[E,h]),--w.active||w.event.trigger("ajaxStop")))}return E},getJSON:function(e,t,n){return w.get(e,t,n,"json")},getScript:function(e,t){return w.get(e,void 0,t,"script")}}),w.each(["get","post"],function(e,t){w[t]=function(e,n,r,i){return g(n)&&(i=i||r,r=n,n=void 0),w.ajax(w.extend({url:e,type:t,dataType:i,data:n,success:r},w.isPlainObject(e)&&e))}}),w._evalUrl=function(e){return w.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},w.fn.extend({wrapAll:function(e){var t;return this[0]&&(g(e)&&(e=e.call(this[0])),t=w(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstElementChild)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return g(e)?this.each(function(t){w(this).wrapInner(e.call(this,t))}):this.each(function(){var t=w(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=g(e);return this.each(function(n){w(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){w(this).replaceWith(this.childNodes)}),this}}),w.expr.pseudos.hidden=function(e){return!w.expr.pseudos.visible(e)},w.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},w.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Vt={0:200,1223:204},Gt=w.ajaxSettings.xhr();h.cors=!!Gt&&"withCredentials"in Gt,h.ajax=Gt=!!Gt,w.ajaxTransport(function(t){var n,r;if(h.cors||Gt&&!t.crossDomain)return{send:function(i,o){var a,s=t.xhr();if(s.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(a in t.xhrFields)s[a]=t.xhrFields[a];t.mimeType&&s.overrideMimeType&&s.overrideMimeType(t.mimeType),t.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");for(a in i)s.setRequestHeader(a,i[a]);n=function(e){return function(){n&&(n=r=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?o(0,"error"):o(s.status,s.statusText):o(Vt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=n(),r=s.onerror=s.ontimeout=n("error"),void 0!==s.onabort?s.onabort=r:s.onreadystatechange=function(){4===s.readyState&&e.setTimeout(function(){n&&r()})},n=n("abort");try{s.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}}),w.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),w.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return w.globalEval(e),e}}}),w.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),w.ajaxTransport("script",function(e){if(e.crossDomain){var t,n;return{send:function(i,o){t=w("<script>").prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),r.head.appendChild(t[0])},abort:function(){n&&n()}}}});var Yt=[],Qt=/(=)\?(?=&|$)|\?\?/;w.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Yt.pop()||w.expando+"_"+Et++;return this[e]=!0,e}}),w.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=!1!==t.jsonp&&(Qt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Qt.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=g(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(Qt,"$1"+i):!1!==t.jsonp&&(t.url+=(kt.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||w.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?w(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,Yt.push(i)),a&&g(o)&&o(a[0]),a=o=void 0}),"script"}),h.createHTMLDocument=function(){var e=r.implementation.createHTMLDocument("").body;return e.innerHTML="<form></form><form></form>",2===e.childNodes.length}(),w.parseHTML=function(e,t,n){if("string"!=typeof e)return[];"boolean"==typeof t&&(n=t,t=!1);var i,o,a;return t||(h.createHTMLDocument?((i=(t=r.implementation.createHTMLDocument("")).createElement("base")).href=r.location.href,t.head.appendChild(i)):t=r),o=A.exec(e),a=!n&&[],o?[t.createElement(o[1])]:(o=xe([e],t,a),a&&a.length&&w(a).remove(),w.merge([],o.childNodes))},w.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=vt(e.slice(s)),e=e.slice(0,s)),g(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&w.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?w("<div>").append(w.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},w.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){w.fn[t]=function(e){return this.on(t,e)}}),w.expr.pseudos.animated=function(e){return w.grep(w.timers,function(t){return e===t.elem}).length},w.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=w.css(e,"position"),f=w(e),p={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=w.css(e,"top"),u=w.css(e,"left"),(l=("absolute"===c||"fixed"===c)&&(o+u).indexOf("auto")>-1)?(a=(r=f.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),g(t)&&(t=t.call(e,n,w.extend({},s))),null!=t.top&&(p.top=t.top-s.top+a),null!=t.left&&(p.left=t.left-s.left+i),"using"in t?t.using.call(e,p):f.css(p)}},w.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){w.offset.setOffset(this,e,t)});var t,n,r=this[0];if(r)return r.getClientRects().length?(t=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if("fixed"===w.css(r,"position"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&"static"===w.css(e,"position"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=w(e).offset()).top+=w.css(e,"borderTopWidth",!0),i.left+=w.css(e,"borderLeftWidth",!0))}return{top:t.top-i.top-w.css(r,"marginTop",!0),left:t.left-i.left-w.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&"static"===w.css(e,"position"))e=e.offsetParent;return e||be})}}),w.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;w.fn[e]=function(r){return z(this,function(e,r,i){var o;if(y(e)?o=e:9===e.nodeType&&(o=e.defaultView),void 0===i)return o?o[t]:e[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):e[r]=i},e,r,arguments.length)}}),w.each(["top","left"],function(e,t){w.cssHooks[t]=_e(h.pixelPosition,function(e,n){if(n)return n=Fe(e,t),We.test(n)?w(e).position()[t]+"px":n})}),w.each({Height:"height",Width:"width"},function(e,t){w.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){w.fn[r]=function(i,o){var a=arguments.length&&(n||"boolean"!=typeof i),s=n||(!0===i||!0===o?"margin":"border");return z(this,function(t,n,i){var o;return y(t)?0===r.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(o=t.documentElement,Math.max(t.body["scroll"+e],o["scroll"+e],t.body["offset"+e],o["offset"+e],o["client"+e])):void 0===i?w.css(t,n,s):w.style(t,n,i,s)},t,a?i:void 0,a)}})}),w.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){w.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),w.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),w.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),w.proxy=function(e,t){var n,r,i;if("string"==typeof t&&(n=e[t],t=e,e=n),g(e))return r=o.call(arguments,2),i=function(){return e.apply(t||this,r.concat(o.call(arguments)))},i.guid=e.guid=e.guid||w.guid++,i},w.holdReady=function(e){e?w.readyWait++:w.ready(!0)},w.isArray=Array.isArray,w.parseJSON=JSON.parse,w.nodeName=N,w.isFunction=g,w.isWindow=y,w.camelCase=G,w.type=x,w.now=Date.now,w.isNumeric=function(e){var t=w.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},"function"==typeof define&&define.amd&&define("jquery",[],function(){return w});var Jt=e.jQuery,Kt=e.$;return w.noConflict=function(t){return e.$===w&&(e.$=Kt),t&&e.jQuery===w&&(e.jQuery=Jt),w},t||(e.jQuery=e.$=w),w});
608window.theme = window.theme || {}; 609theme.moneyFormat = "RM{{amount}}"; 610</script>
610 611 612<link href="//wisecrafters.my/cdn/shop/t/19/assets/theme.scss.css?v=161143817495046004391763535072" rel="stylesheet" type="text/css" media="all" />
613<script src="//wisecrafters.my/cdn/shop/t/19/assets/script-initial.js?v=110162371999307619941571667177"></script>
vendor: 1 bytes, line 613
613
614<script defer src="//wisecrafters.my/cdn/shop/t/19/assets/script.js?v=43264956735153675711686125431"></script>
614 615 616 617 618 619 620 621 622 623 624 625<noscript><style>.container,.background-cover,.background-overlay,.featured-image{position:relative;}header{margin-top:100px;opacity:1;filter:alpha(opacity=100);}.responsiveMenu li:hover > ul{left:0!important}.no-js-hide{display:none!important}.no-js.hidden{display:block!important}.no-js-bg{left:0;position:absolute;top:0;width:100%;}img.lazywidth{width:auto;}</style></noscript> 626
626<script>window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.start');</script>
626<meta name="google-site-verification" content="S7aqAuLp5qgd5EjPGPHo_6WlUMMZ9E9TZP7LCa_bHtY"> 627<meta id="shopify-digital-wallet" name="shopify-digital-wallet" content="/21864513/digital_wallets/dialog"> 628<link rel="ucp" href="/.well-known/ucp" version="2026-08-25">
628<script async="async" src="/checkouts/internal/preloads.js?locale=en-MY"></script>
vendor: 1 bytes, line 628
628
629<script id="shopify-features" type="application/json">{"accessToken":"d6380f427876914e35cb28babc367342","betas":["rich-media-storefront-analytics"],"domain":"wisecrafters.my","predictiveSearch":true,"shopId":21864513,"locale":"en"}</script>
vendor: 1 bytes, line 629
629
630<script>var Shopify = Shopify || {}; 631Shopify.shop = "wisefreshfoods.myshopify.com"; 632Shopify.locale = "en"; 633Shopify.currency = {"active":"MYR","rate":"1.0"}; 634Shopify.country = "MY"; 635Shopify.theme = {"name":"Avenue","id":78212726866,"schema_name":"Avenue","schema_version":"1.3.11","theme_store_id":865,"role":"main"}; 636Shopify.theme.handle = "null"; 637Shopify.theme.style = {"id":null,"handle":null}; 638Shopify.cdnHost = "wisecrafters.my/cdn"; 639Shopify.routes = Shopify.routes || {}; 640Shopify.routes.root = "/"; 641Shopify.shopJsCdnBaseUrl = "https://cdn.shopify.com/shopifycloud/shop-js"; 642Shopify.SignInWithShop = Shopify.SignInWithShop || {}; 643Shopify.SignInWithShop.User = Shopify.SignInWithShop.User || {}; 644Shopify.SignInWithShop.User.recognized = false;</script>
vendor: 1 bytes, line 644
644
645<script type="module">!function(o){(o.Shopify=o.Shopify||{}).modules=!0}(window);</script>
vendor: 1 bytes, line 645
645
646<script>!function(o){function n(){var o=[];function n(){o.push(Array.prototype.slice.apply(arguments))}return n.q=o,n}var t=o.Shopify=o.Shopify||{};t.loadFeatures=n(),t.autoloadFeatures=n()}(window);</script>
vendor: 1 bytes, line 646
646
647<script> 648 window.Shopify = window.Shopify || {}; 649 window.Shopify.SignInWithShop = window.Shopify.SignInWithShop || {}; 650 window.Shopify.SignInWithShop.assetMetrics = { sampleRate: 0.25 }; 651 window.Shopify.SignInWithShop.eligible = true; 652</script>
vendor: 1 bytes, line 652
652
653<script id="shop-js-analytics" type="application/json">{"pageType":"index"}</script>
vendor: 1 bytes, line 653
653
654<script defer="defer" async type="module" src="https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"></script>
vendor: 1 bytes, line 654
654
655<script type="module"> 656 await import("https://cdn.shopify.com/shopifycloud/shop-js/modules/v2/loader.init-shop-cart-sync.en.esm.js"); 657 658 window.Shopify.SignInWithShop?.initShopCartSync?.({"fedCMEnabled":true,"windoidEnabled":true}); 659 660</script>
vendor: 1 bytes, line 660
660
661<script> 662 window.Shopify = window.Shopify || {}; 663 if (!window.Shopify.featureAssets) window.Shopify.featureAssets = {}; 664 window.Shopify.featureAssets['shop-js'] = {"avatar":["modules/v2/loader.avatar.en.esm.js"],"checkout-modal":["modules/v2/loader.checkout-modal.en.esm.js"],"init-customer-accounts-sign-up":["modules/v2/loader.init-customer-accounts-sign-up.en.esm.js"],"init-customer-accounts":["modules/v2/loader.init-customer-accounts.en.esm.js"],"init-fed-cm":["modules/v2/loader.init-fed-cm.en.esm.js"],"init-shop-cart-sync":["modules/v2/loader.init-shop-cart-sync.en.esm.js"],"init-shop-email-lookup-coordinator":["modules/v2/loader.init-shop-email-lookup-coordinator.en.esm.js"],"init-shop-for-new-customer-accounts":["modules/v2/loader.init-shop-for-new-customer-accounts.en.esm.js"],"init-shop-user-recognition":["modules/v2/loader.init-shop-user-recognition.en.esm.js"],"init-windoid":["modules/v2/loader.init-windoid.en.esm.js"],"lead-capture":["modules/v2/loader.lead-capture.en.esm.js"],"listener":["modules/v2/loader.listener.en.esm.js"],"pay-button":["modules/v2/loader.pay-button.en.esm.js"],"payment-terms":["modules/v2/loader.payment-terms.en.esm.js"],"shop-button":["modules/v2/loader.shop-button.en.esm.js"],"shop-cart-sync":["modules/v2/loader.shop-cart-sync.en.esm.js"],"shop-cash-offers":["modules/v2/loader.shop-cash-offers.en.esm.js"],"shop-follow-button":["modules/v2/loader.shop-follow-button.en.esm.js"],"shop-login-button":["modules/v2/loader.shop-login-button.en.esm.js"],"shop-login":["modules/v2/loader.shop-login.en.esm.js"],"shop-toast-manager":["modules/v2/loader.shop-toast-manager.en.esm.js"],"shop-user-recognition":["modules/v2/loader.shop-user-recognition.en.esm.js"]}; 665</script>
vendor: 1 bytes, line 665
665
666<script>(function() { 667 var isLoaded = false; 668 function asyncLoad() { 669 if (isLoaded) return; 670 isLoaded = true; 671 var urls = ["\/\/www.powr.io\/powr.js?powr-token=wisefreshfoods.myshopify.com\u0026external-type=shopify\u0026shop=wisefreshfoods.myshopify.com","\/\/www.powr.io\/powr.js?powr-token=wisefreshfoods.myshopify.com\u0026external-type=shopify\u0026shop=wisefreshfoods.myshopify.com","\/\/www.powr.io\/powr.js?powr-token=wisefreshfoods.myshopify.com\u0026external-type=shopify\u0026shop=wisefreshfoods.myshopify.com","https:\/\/chimpstatic.com\/mcjs-connected\/js\/users\/a591aa4c32d4c5b64e03aa258\/3eb7af92172df9449c1a61167.js?shop=wisefreshfoods.myshopify.com","https:\/\/chimpstatic.com\/mcjs-connected\/js\/users\/8a5776c268721fc8f6ddb7d58\/6761e031db11cca957f45cc08.js?shop=wisefreshfoods.myshopify.com","https:\/\/upsell.conversionbear.com\/script?app=upsell\u0026shop=wisefreshfoods.myshopify.com","https:\/\/shopify.covet.pics\/covet-pics-widget-inject.js?shop=wisefreshfoods.myshopify.com","https:\/\/myfaqprime.appspot.com\/bot\/bot-primelite.js?shop=wisefreshfoods.myshopify.com","https:\/\/quiz.prehook.com\/ph-script.js?shop=wisefreshfoods.myshopify.com","\/\/cdn.shopify.com\/proxy\/5f51160e9d5ef6c28595e7c4f86351160d9b37894843fd149d83a002ea67fad2\/api.goaffpro.com\/loader.js?shop=wisefreshfoods.myshopify.com\u0026sp-cache-control=cHVibGljLCBtYXgtYWdlPTkwMA","https:\/\/sales-pop.carecart.io\/lib\/salesnotifier.js?shop=wisefreshfoods.myshopify.com","https:\/\/admin.revenuehunt.com\/embed.js?shop=wisefreshfoods.myshopify.com","https:\/\/cdn.hextom.com\/js\/quickannouncementbar.js?shop=wisefreshfoods.myshopify.com","https:\/\/cdn.hextom.com\/js\/freeshippingbar.js?shop=wisefreshfoods.myshopify.com"]; 672 for (var i = 0; i < urls.length; i++) { 673 var s = document.createElement('script'); 674 s.type = 'text/javascript'; 675 s.async = true; 676 s.src = urls[i]; 677 var x = document.getElementsByTagName('script')[0]; 678 x.parentNode.insertBefore(s, x); 679 } 680 }; 681 if(window.attachEvent) { 682 window.attachEvent('onload', asyncLoad); 683 } else { 684 window.addEventListener('load', asyncLoad, false); 685 } 686})();</script>
vendor: 1 bytes, line 686
686
687<script id="__st">var __st={"a":21864513,"offset":28800,"reqid":"c6d26b40-4358-4a72-82d5-50b63c4cb7a7-1791310237","pageurl":"wisecrafters.my\/","u":"71cc810d8324","p":"home"};</script>
vendor: 1 bytes, line 687
687
688<script>window.ShopifyPaypalV4VisibilityTracking = true;</script>
vendor: 1 bytes, line 688
688
689<script id="captcha-bootstrap">!function(){'use strict';const t='contact',e='account',n='new_comment',o=[[t,t],['blogs',n],['comments',n],[t,'customer']],c=[[e,'customer_login'],[e,'guest_login'],[e,'recover_customer_password'],[e,'create_customer']],r=t=>t.map((([t,e])=>`form[action*='/${t}']:not([data-nocaptcha='true']) input[name='form_type'][value='${e}']`)).join(','),a=t=>()=>t?[...document.querySelectorAll(t)].map((t=>t.form)):[];function s(){const t=[...o],e=r(t);return a(e)}const i='password',u='form_key',d=['recaptcha-v3-token','g-recaptcha-response','h-captcha-response',i],f=()=>{try{return window.sessionStorage}catch{return}},m='__shopify_v',_=t=>t.elements[u];function p(t,e,n=!1){try{const o=window.sessionStorage,c=JSON.parse(o.getItem(e)),{data:r}=function(t){const{data:e,action:n}=t;return t[m]||n?{data:e,action:n}:{data:t,action:n}}(c);for(const[e,n]of Object.entries(r))t.elements[e]&&(t.elements[e].value=n);n&&o.removeItem(e)}catch(o){console.error('form repopulation failed',{error:o})}}const l='form_type',E='cptcha';function T(t){t.dataset[E]=!0}const w=window,h=w.document,L='Shopify',v='ce_forms',y='captcha';let A=!1;((t,e)=>{const n=(g='f06e6c50-85a8-45c8-87d0-21a2b65856fe',I='https://cdn.shopify.com/shopifycloud/storefront-forms-hcaptcha/ce_storefront_forms_captcha_hcaptcha.v1.5.3.iife.js',D={infoText:'Protected by hCaptcha',privacyText:'Privacy',termsText:'Terms'},(t,e,n)=>{const o=w[L][v],c=o.bindForm;if(c)return c(t,g,e,D).then(n);var r;o.q.push([[t,g,e,D],n]),r=I,A||(h.body.append(Object.assign(h.createElement('script'),{id:'captcha-provider',async:!0,src:r})),A=!0)});var g,I,D;w[L]=w[L]||{},w[L][v]=w[L][v]||{},w[L][v].q=[],w[L][y]=w[L][y]||{},w[L][y].protect=function(t,e){n(t,void 0,e),T(t)},Object.freeze(w[L][y]),function(t,e,n,w,h,L){const[v,y,A,g]=function(t,e,n){const i=e?o:[],u=t?c:[],d=[...i,...u],f=r(d),m=r(i),_=r(d.filter((([t,e])=>n.includes(e))));return[a(f),a(m),a(_),s()]}(w,h,L),I=t=>{const e=t.target;return e instanceof HTMLFormElement?e:e&&e.form},D=t=>v().includes(t);t.addEventListener('submit',(t=>{const e=I(t);if(!e)return;const n=D(e)&&!e.dataset.hcaptchaBound&&!e.dataset.recaptchaBound,o=_(e),c=g().includes(e)&&(!o||!o.value);(n||c)&&t.preventDefault(),c&&!n&&(function(t){try{if(!f())return;!function(t){const e=f();if(!e)return;const n=_(t);if(!n)return;const o=n.value;o&&e.removeItem(o)}(t);const e=Array.from(Array(32),(()=>Math.random().toString(36)[2])).join('');!function(t,e){_(t)||t.append(Object.assign(document.createElement('input'),{type:'hidden',name:u})),t.elements[u].value=e}(t,e),function(t,e){const n=f();if(!n)return;const o=[...t.querySelectorAll(`input[type='${i}']`)].map((({name:t})=>t)),c=[...d,...o],r={};for(const[a,s]of new FormData(t).entries())c.includes(a)||(r[a]=s);n.setItem(e,JSON.stringify({[m]:1,action:t.action,data:r}))}(t,e)}catch(e){console.error('failed to persist form',e)}}(e),e.submit())}));const S=(t,e)=>{t&&!t.dataset[E]&&(n(t,e.some((e=>e===t))),T(t))};for(const o of['focusin','change'])t.addEventListener(o,(t=>{const e=I(t);D(e)&&S(e,y())}));const B=e.get('form_key'),M=e.get(l),P=B&&M;t.addEventListener('DOMContentLoaded',(()=>{const t=y();if(P)for(const e of t)e.elements[l].value===M&&p(e,B);[...new Set([...A(),...v().filter((t=>'true'===t.dataset.shopifyCaptcha))])].forEach((e=>S(e,t)))}))}(h,new URLSearchParams(w.location.search),n,t,e,['guest_login'])})(!0,!0)}();</script>
vendor: 1 bytes, line 689
689
690<script integrity="sha256-JjoPp5ZfB1sSAs5SQaol1x1GgvveM+BgmRzyDexInEQ=" data-source-attribution="shopify.loadfeatures" defer="defer" src="//wisecrafters.my/cdn/shopifycloud/storefront/assets/storefront/load_feature-1bd60354.js" crossorigin="anonymous"></script>
vendor: 1 bytes, line 690
690
691<script>(function () {var userAgent = navigator.userAgent;var platform = navigator.platform;var maxTouchPoints = navigator.maxTouchPoints || 0;var isIOS = /iPad|iPhone|iPod/.test(platform) || (platform === 'MacIntel' && maxTouchPoints > 1);var isMacSafari = platform.indexOf('Mac') === 0 && /Safari/.test(userAgent) && !/Chrome|Chromium|CriOS|FxiOS|Edg|OPR|Android/.test(userAgent);var isAppleSafari = isIOS || isMacSafari;if (isAppleSafari) {fetch('/sf_private_access_tokens' + location.search).catch(function () {});}function browserMajorVersion(pattern) {var match = userAgent.match(pattern);return match ? parseInt(match[1], 10) : null;}function shouldLoadAutosizesPolyfill() {if (!window.PerformanceObserver?.supportedEntryTypes?.includes('paint')) {return false;}var chromeVersion = browserMajorVersion(/Chrome\/(\d+)/);if (chromeVersion !== null) {return chromeVersion < 126;}var firefoxVersion = browserMajorVersion(/Firefox\/(\d+)/);if (firefoxVersion !== null) {return firefoxVersion < 150;}var safariVersion = isAppleSafari ? browserMajorVersion(/Version\/(\d+).*Safari\//) : null;if (safariVersion !== null) {return safariVersion < 27;}return true;}if (shouldLoadAutosizesPolyfill()) {var autosizesScript = document.createElement('script');autosizesScript.async = true;autosizesScript.crossOrigin = 'anonymous';autosizesScript.src = "//wisecrafters.my/cdn/shopifycloud/storefront/assets/storefront/autosizes-84416378.js";(document.head || document.documentElement).appendChild(autosizesScript);}window.ShopifyAnalytics = window.ShopifyAnalytics || {};window.ShopifyAnalytics.performance = window.ShopifyAnalytics.performance || {};(function () {var LONG_FRAME_THRESHOLD = 50;var longAnimationFrames = [];var activeRafId = null;function collectLongFrames() {var previousTime = null;function rafMonitor(now) {if (activeRafId === null) {return;}var delta = now - previousTime;if (delta > LONG_FRAME_THRESHOLD) {longAnimationFrames.push({startTime: previousTime,endTime: now,});}previousTime = now;activeRafId = requestAnimationFrame(rafMonitor);}previousTime = performance.now();activeRafId = requestAnimationFrame(rafMonitor);}if (!window.PerformanceObserver?.supportedEntryTypes?.includes('long-animation-frame')) {collectLongFrames();var timeoutId = setTimeout(function () {cancelAnimationFrame(activeRafId);}, 10000);window.ShopifyAnalytics.performance.getLongAnimationFrames = function (stopCollection) {if (stopCollection === undefined) {stopCollection = false;}if (stopCollection) {clearTimeout(timeoutId);cancelAnimationFrame(activeRafId);}return longAnimationFrames;};}})();})();</script>
691<script id="shopify-origin-trials" async="async" integrity="sha256-qJbe/jEZBHtr5W/BlA2cKAz3vkXu6vJQyLjgvgCC86g=" src="//cdn.shopify.com/shopifycloud/storefront/assets/storefront/origin_trials-318ab40a.js" crossorigin="anonymous" onload="window.__shopifyOriginTrialsDone = true" onerror="window.__shopifyOriginTrialsDone = true"></script>
vendor: 1 bytes, line 691
691
692<script> 693 window.Shopify = window.Shopify || {}; 694 window.Shopify.MCP = window.Shopify.MCP || {}; 695 window.Shopify.MCP.enabled = true; 696 window.Shopify.MCP.shop = "wisefreshfoods.myshopify.com"; 697 window.Shopify.MCP.mcpEndpoint = "https:\/\/wisecrafters.my\/api\/mcp"; 698 window.Shopify.MCP.tools = [{"name":"search_shop_policies_and_faqs","description":"Used to get facts about the stores policies, products, or services.\nSome examples of questions you can ask are:\n - What is your return policy?\n - What is your shipping policy?\n - What is your phone number?\n - What are your hours of operation?\"\nSet policy_types to also get the store's written policies (full text and URL).\n","inputSchema":{"$schema":"https:\/\/json-schema.org\/draft\/2020-12\/schema","type":"object","properties":{"query":{"type":"string","description":"A natural language query."},"context":{"type":"string","description":"Additional information about the request such as user demographics, mood, location, or other relevant details that could help in tailoring the response appropriately."},"policy_types":{"type":"array","items":{"type":"string","enum":["refund","shipping","privacy","terms_of_service","terms_of_sale","subscription","legal_notice","contact"]},"description":"Policy kinds to fetch, chosen from the user's question â e.g. [\"refund\"] for returns\/exchanges\/damaged items, [\"contact\"] for phone\/hours\/address. Include every kind the question touches. Omit it to get only FAQ answers."}},"required":["query"]}}]; 699</script>
vendor: 1 bytes, line 699
699
700<script>(()=>{var d="shopify:webmcp_adapter_loaded",n=Symbol.for("shopify.webmcp_adapter_loading");function s(c,a,{win:r=window,doc:o=document}={}){function p(){try{return r.localStorage.getItem(d)==="true"}catch{return!1}}function l(){try{r.localStorage.setItem(d,"true")}catch{}}function u(){return typeof(o.modelContext||r.navigator?.modelContext)?.registerTool=="function"}function f(){if(r[n]||!u())return;let t=o.head||o.getElementsByTagName("head")[0];if(!t)return;let e=o.createElement("script");e.type="module",e.crossOrigin="anonymous",a&&(e.integrity=a),e.src=c,e.addEventListener("load",l,{once:!0}),e.addEventListener("error",()=>{r[n]=!1},{once:!0}),t.appendChild(e),r[n]=!0}function _(t){let e=o.getElementById("shopify-origin-trials");if(!e||r.__shopifyOriginTrialsDone){t();return}e.addEventListener("load",t,{once:!0}),e.addEventListener("error",t,{once:!0})}function i(){_(()=>r.setTimeout(f,0))}function m(){o.addEventListener("DOMContentLoaded",i,{once:!0})}p()?i():m()}s("\/\/wisecrafters.my\/cdn\/shopifycloud\/storefront\/assets\/storefront\/webmcp-c6b62ece.js","sha256-ke4DDuBjdvea3vxLWxHc9E9nq8zihuG4IfYEGbb77ys=");})(); 701</script>
vendor: 1 bytes, line 701
701
702<script data-source-attribution="shopify.dynamic_checkout.dynamic.init">var Shopify=Shopify||{};Shopify.PaymentButton=Shopify.PaymentButton||{isStorefrontPortableWallets:!0,init:function(){window.Shopify.PaymentButton.init=function(){};var t=document.createElement("script");t.src="https://wisecrafters.my/cdn/shopifycloud/portable-wallets/latest/portable-wallets.en.js",t.type="module",document.head.appendChild(t)}}; 703</script>
vendor: 1 bytes, line 703
703
704<script data-source-attribution="shopify.dynamic_checkout.buyer_consent"> 705 function portableWalletsHideBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.add("hidden"),t.setAttribute("aria-hidden","true"),n.removeEventListener("click",e))}function portableWalletsShowBuyerConsent(e){var t=document.getElementById("shopify-buyer-consent"),n=document.getElementById("shopify-subscription-policy-button");t&&n&&(t.classList.remove("hidden"),t.removeAttribute("aria-hidden"),n.addEventListener("click",e))}window.Shopify?.PaymentButton&&(window.Shopify.PaymentButton.hideBuyerConsent=portableWalletsHideBuyerConsent,window.Shopify.PaymentButton.showBuyerConsent=portableWalletsShowBuyerConsent); 706</script>
vendor: 1 bytes, line 706
706
707<script data-source-attribution="shopify.dynamic_checkout.cart.bootstrap">document.addEventListener("DOMContentLoaded",(function(){function t(){return document.querySelector("shopify-accelerated-checkout-cart, shopify-accelerated-checkout")}if(t())Shopify.PaymentButton.init();else{new MutationObserver((function(e,n){t()&&(Shopify.PaymentButton.init(),n.disconnect())})).observe(document.body,{childList:!0,subtree:!0})}})); 708</script>
708 709
710<script id="shopify-cfh-end">window.performance && window.performance.mark && window.performance.mark('shopify.content_for_header.end');</script>
710 711 <link rel="stylesheet" href="//wisecrafters.my/cdn/shop/t/19/assets/sca-pp.css?v=26248894406678077071587009755"> 712
712<script> 713 714 SCAPPShop = {}; 715 716 </script>
vendor: 1 bytes, line 716
716
717<script src="//wisecrafters.my/cdn/shop/t/19/assets/sca-pp-initial.js?v=77256560323497947361587016546" type="text/javascript"></script>
717 718 719
720<script> 721 var _talkableq = _talkableq || []; 722 _talkableq.push(['authenticate_customer', {"email":"","first_name":"","last_name":"","customer_id":""}]); 723</script>
vendor: 1 bytes, line 723
723
724<script async src="//d2jjzw81hqbuqv.cloudfront.net/integration/clients/wisecrafters-my.min.js" type="text/javascript"></script>
724 725 726 727
728<script>window.__pagefly_analytics_settings__={"acceptTracking":false};</script>
728 729 730
730<script id="omgfbc-script" type='text/javascript' data-type="custom"> 731 var facebookChatSettings = {"id":"80317","shop":"wisefreshfoods.myshopify.com","script_tag_id":null,"page_info":{"access_token":"EAAbSADU4UKABAIDmAhwsnGORCFisoZA3ypmgvCatl1hkRbH4jna9Y7l7wHsWIu34wKf4CZCZBzZCBpMKQZBZCbmwYIT18iv99n8JeRRJMZAW3y0jbIOmKCnVIYG4TVlSPssApbc3r7rIfxEy5zA47PFkJZA9KoRVas1c8UkAuJ89ZA3PcAw90thOr","category":"Product\/Service","category_list":[{"id":"2201","name":"Product\/Service"},{"id":"198722103478014","name":"Health Food Store"},{"id":"128673187201735","name":"Coffee Shop"}],"name":"Wise Crafters","id":"1145490518840003","tasks":["ANALYZE","ADVERTISE","MESSAGING","MODERATE","CREATE_CONTENT","MANAGE"],"user_name":"Lee Keen Hon"},"language":"en_US","position":"96","greeting_message":"Hi! How can we help you?","icon_type":"icon_1","icon_text":"Chat With Us","tab_size":"medium","auto_display":"0","tab_color":"#ffffff","icon_text_color":"#0084ff","theme_color":"#0084ff","custom_css":{"status":false,"code":""},"working_time":{"status":"1","start":"01:00","end":"23:59","time_zone":"America\/Denver","not_available_option":"noneOpt","email":{"username":"","password":"","smtp":"smtp.gmail.com","port":"465","encryption":"ssl"},"fb_messages":"It's none - working time. We'll be back and support you!"},"status_connect":"2","app_status":"1","device_target":"0","page_target":"0","margin_bottom":"10","chat_type":"0","exclude_pages":["template-cart"],"specific_pages":["template-index"],"plan":"free","active_plan_at":"1634607472","last_access":"1640770057","deleted":"0","shop_info":{"id":21864513,"name":"WiseCrafters.my","email":"[email protected]","domain":"wisecrafters.my","province":"Selangor","country":"MY","address1":"48G, jalan ss21\/39, Damansara Utama","zip":"47400","city":"Petaling","source":null,"phone":"+60123452134","latitude":3.1352907999999999,"longitude":101.62148689999999,"primary_locale":"en","address2":"","created_at":"2017-07-15T16:23:05+08:00","updated_at":"2021-10-19T09:30:36+08:00","country_code":"MY","country_name":"Malaysia","currency":"MYR","customer_email":"[email protected]","timezone":"(GMT+08:00) Asia\/Kuala_Lumpur","iana_timezone":"Asia\/Kuala_Lumpur","shop_owner":"Samantha Ng","money_format":"RM ","money_with_currency_format":"RM ","weight_unit":"kg","province_code":"SGR","taxes_included":false,"auto_configure_tax_inclusivity":null,"tax_shipping":null,"county_taxes":true,"plan_display_name":"Shopify","plan_name":"professional","has_discounts":true,"has_gift_cards":true,"myshopify_domain":"wisefreshfoods.myshopify.com","google_apps_domain":null,"google_apps_login_enabled":null,"money_in_emails_format":"RM ","money_with_currency_in_emails_format":"RM ","eligible_for_payments":false,"requires_extra_payments_agreement":false,"password_enabled":false,"has_storefront":true,"eligible_for_card_reader_giveaway":false,"finances":true,"primary_location_id":31438409,"cookie_consent_level":"implicit","visitor_tracking_consent_preference":"allow_all","checkout_api_supported":false,"multi_location_enabled":true,"setup_required":false,"pre_launch_enabled":false,"enabled_presentment_currencies":["MYR"]},"weekdays":[{"name":"Sunday","id":"0"},{"name":"Monday","id":"1"},{"name":"Tuesday","id":"2"},{"name":"Wednesday","id":"3"},{"name":"Thursday","id":"4"},{"name":"Friday","id":"5"},{"name":"Saturday","id":"6"}],"show_after":"0","update_cache":"0","tab_style":"two_box","version_app":"1","theme_publish":"78212726866","display_mode":"customize","white_list_domain":"[\"wisefreshfoods.myshopify.com\",\"wisefreshfoods.com\",\"wisecrafters.my\",\"www.wisecrafters.my\"]","customer_question":"","infomation_fb_user":"{\"login_long_access_token\":\"EAAbSADU4UKABAEKNZAZC8sZA7vUOioyLeDg56ZAc6T33bsb4HvB84ksIVBVTAiCestsvhEX3KxUPOtMU6ehSz58tLruTQZCR3owHPLReNZCL1Uv5l9pNbZBLQsbsNxBVGKrS6kofZBkMXcaZCZCNehdDnaP8Eqb8q57Wh3YAkaJt5GZCgZDZD\",\"name\":\"Lee Keen Hon\",\"id\":\"10160056566548287\",\"list_page_access\":{\"optionsPage\":[],\"listPageFB\":[{\"access_token\":\"EAAbSADU4UKABAIDmAhwsnGORCFisoZA3ypmgvCatl1hkRbH4jna9Y7l7wHsWIu34wKf4CZCZBzZCBpMKQZBZCbmwYIT18iv99n8JeRRJMZAW3y0jbIOmKCnVIYG4T
731VlSPssApbc3r7rIfxEy5zA47PFkJZA9KoRVas1c8UkAuJ89ZA3PcAw90thOr\",\"category\":\"Product\\\/Service\",\"category_list\":[{\"id\":\"2201\",\"name\":\"Product\\\/Service\"},{\"id\":\"198722103478014\",\"name\":\"Health Food Store\"},{\"id\":\"128673187201735\",\"name\":\"Coffee Shop\"}],\"name\":\"Wise Crafters\",\"id\":\"1145490518840003\",\"tasks\":[\"ANALYZE\",\"ADVERTISE\",\"MESSAGING\",\"MODERATE\",\"CREATE_CONTENT\",\"MANAGE\"],\"user_name\":\"Lee Keen Hon\"}],\"pageIdChose\":\"1145490518840003\"}}","show_greeting_message":"1","enable_fb_chat_btn":"0","facebook_message_options":"0","enable_abandoned_campaign":"0","fb_page_id":"1145490518840003","app_fb_id":"1919748194980000","version_code":"1.0.2","id_discount_code":"0","is_install":"1","urlApp":"https:\/\/api.omegatheme.com\/facebook-chat\/","abTests":{"upgrade_price_Oct_2021":true,"intergrate_instagram_Oct_2021":true,"auto_reply_Dec_2021":true,"list_subscriber_Oct_2021":true,"welcome_popup_widget_Oct_2021":true,"customer_io_Dec_2021":true,"trial_price_plan_Dec_2021":true,"theme_app_extension_Jan_2022":true,"shipping_noti_Jun_2021":true,"get_contact_infor_Feb_2022":true},"addCartWidget":null,"appIdFB":"1919748194980000"}; 732 var iconHtml = {"icon_1":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='25' height='25' viewB
732ox='96 93 322 324'><g><path d='M257 93c-88.918 0-161 67.157-161 150 0 47.205 23.412 89.311 60 116.807V417l54.819-30.273C225.449 390.801 240.948 393 257 393c88.918 0 161-67.157 161-150S345.918 93 257 93zm16 202l-41-44-80 44 88-94 42 44 79-44-88 94z'><\/path><rect x='13.445' y='20.996' width='37' height='4'><\/rect><rect x='13.445' y='32.828' width='37' height='4'><\/rect><rect x='13.445' y='44.66' width='37' height='4'><\/rect><\/g><\/svg>","icon_2":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='25' height='25' viewBox='0 0 24 24'><path d='M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.596 0-5.192 1.583-5.192 4.615v3.385z'><\/path><\/svg>","icon_3":"<svg width='25' height='25' version='1.1' id='Capa_1' xmlns='http:\/\/www.w3.org\/2000\/svg' xmlns:xlink='http:\/\/www.w3.org\/1999\/xlink' x='0px' y='0px' viewBox='0 0 88.695 88.695' xml:space='preserve'> <g><path d='M84.351,68.07c2.508-4.59,3.829-9.759,3.829-15.006c0-13.118-8.112-24.36-19.575-29.021 C62.65,12.338,50.493,4.295,36.486,4.295c-19.862,0-36.021,16.159-36.021,36.021c0,6.072,1.541,12.057,4.462,17.36L0,76.059 l18.011-4.824c5.403,3.236,11.549,4.975,17.862,5.082c5.558,5.019,12.913,8.083,20.973,8.083c5.64,0,11.142-1.512,15.971-4.379 l15.878,4.254L84.351,68.07z M18.655,66.921L5.657,70.402l3.561-13.285l-0.419-0.72c-2.835-4.873-4.334-10.434-4.334-16.082 c0-17.656,14.365-32.021,32.021-32.021s32.021,14.364,32.021,32.021S54.142,72.337,36.486,72.337 c-6.066,0-11.976-1.711-17.091-4.948L18.655,66.921z M83.037,78.618l-10.861-2.91l-0.74,0.468C67.07,78.94,62.025,80.4,56.847,80.4 c-
7325.511,0-10.633-1.656-14.93-4.473c17.294-2.626,30.59-17.595,30.59-35.611c0-3.712-0.565-7.294-1.612-10.667 c7.947,4.786,13.286,13.48,13.286,23.415c0,4.823-1.28,9.57-3.701,13.728l-0.419,0.72L83.037,78.618z'><\/path><\/g><\/svg>","icon_4":"<svg width='25' height='25' version='1.1' id='Capa_1' xmlns='http:\/\/www.w3.org\/2000\/svg' xmlns:xlink='http:\/\/www.w3.org\/1999\/xlink' x='0px' y='0px' viewBox='0 0 81.146 81.146' xml:space='preserve'><g><path d='M11.902,67.18l0.021-14.51L0,52.559V8.524h64.319v44.053h-31.25L11.902,67.18z M4,48.596l11.928,0.111l-0.016,10.846 l15.911-10.976h28.496V12.524H4V48.596z'><\/path><path d='M81.146,26.524H64.319v-18H0v44.035l11.922,0.111l-0.021,14.51L31.16,53.895v7.167h24.152l16.763,11.561l-0.018-11.495 l9.089-0.084V26.524z M4,48.596V12.524h56.319v36.053H31.823L15.912,59.553l0.016-10.846L4,48.596z M77.146,57.08l-9.095,0.084 l0.012,7.833l-11.505-7.936H35.16v-4.484h29.159V30.524h12.827C77.146,30.524,77.146,57.08,77.146,57.08z'><\/path><\/g><\/svg>","icon_5":"<svg width='25' height='25' version='1.1' id='Capa_1' xmlns='http:\/\/www.w3.org\/2000\/svg' xmlns:xlink='http:\/\/www.w3.org\/1999\/xlink' x='0px' y='0px' viewBox='0 0 75.333 75.333' xml:space='preserve'><g><path d='M37.666,75.318l-9.413-16.303H17c-9.374,0-17-7.626-17-17v-25c0-9.374,7.626-17,17-17h41.333c9.374,0,17,7.626,17,17v25 c0,9.374-7.626,17-17,17H47.078L37.666,75.318z M17,4.016c-7.168,0-13,5.832-13,13v25c0,7.168,5.832,13,13,13h13.563l7.103,12.302 l7.104-12.303h13.563c7.168,0,13-5.832,13-13v-25c0-7.168-5.832-13-13-13L17,4.016L17,4.016z'><\/path><circle cx='54.822' cy='31.128' r='4.206'><\/circle><circle cx='37.667' cy='31.128' r='4.206'><\/circle><circle cx='20.511' cy='31.128' r='4.206'><\/circle><\/g><\/svg>","icon_6":"<svg width='25' height='25' version='1.1' id='Capa_1' xmlns='http:\/\/www.w3.org\/2000\/svg' xmlns:xlink='http:\/\/www.w3.org\/1999\/xlink' x='0px' y='0px' viewBox='0 0 71.015 71.015' xml:space='preserve'><g><circle cx='52.46' cy='27.353' r='4.206'><\/circle><circle cx='35.306' cy='27.353' r='4.206'><\/circle><circle cx='18.151' cy='27.353' r='4.206'><\/circle><path d='M13.223,67.769l0.022-15.916L0,51.728V3.247h71.015v48.5H36.448L13.223,67.769z M4,47.765l13.25,0.125l-0.017,12.252 l17.968-12.396h31.813v-40.5H4V47.765z'><\/path><\/g><\/svg>","icon_7":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' width='25' height='25' viewB
732ox='0 0 512 512'><path d='M456,224V200a8,8,0,0,0-8-8h-8.18C435.61,94.24,354.78,16,256,16S76.39,94.24,72.18,192H64a8,8,0,0,0-8,8v24A48.051,48.051,0,0,0,8,272v96a48.051,48.051,0,0,0,48,48h8v16a48.051,48.051,0,0,0,48,48H216v8a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V456a8,8,0,0,0-8-8H224a8,8,0,0,0-8,8v8H112a32.036,32.036,0,0,1-32-32V416h32a8,8,0,0,0,8-8V392h4a28.031,28.031,0,0,0,28-28V276a28.031,28.031,0,0,0-28-28h-4V200c0-74.99,61.01-136,136-136s136,61.01,136,136v48h-4a28.031,28.031,0,0,0-28,28v88a28.031,28.031,0,0,0,28,28h4v16a8,8,0,0,0,8,8h56a48.051,48.051,0,0,0,48-48V272A48.051,48.051,0,0,0,456,224ZM232,464h48v16H232Zm160-88h-4a12.01,12.01,0,0,1-12-12V276a12.01,12.01,0,0,1,12-12h4Zm48-168v16H408V208ZM104,400H56a32.036,32.036,0,0,1-32-32V272a32.036,32.036,0,0,1,32-32h48Zm0-176H72V208h32Zm20,40a12.01,12.01,0,0,1,12,12v88a12.01,12.01,0,0,1-12,12h-4V264ZM256,48c-81.13,0-147.62,63.89-151.79,144H88.19C92.39,103.06,166.05,32,256,32s163.61,71.06,167.81,160H407.79C403.62,111.89,337.13,48,256,48ZM488,368a32.036,32.036,0,0,1-32,32H408V240h48a32.036,32.036,0,0,1,32,32Z'><\/path><\/svg>","icon_8":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' height='25' viewB
732ox='0 0 512 512' width='25'><path d='m464 48h-320a40.045 40.045 0 0 0 -40 40v64h-56a40.045 40.045 0 0 0 -40 40v160a40.045 40.045 0 0 0 40 40h40v72a8 8 0 0 0 13.657 5.657l77.657-77.657h188.686a40.045 40.045 0 0 0 40-40v-64h56a40.045 40.045 0 0 0 40-40v-160a40.045 40.045 0 0 0 -40-40zm-72 304a24.027 24.027 0 0 1 -24 24h-192a8 8 0 0 0 -5.657 2.343l-66.343 66.343v-60.686a8 8 0 0 0 -8-8h-48a24.027 24.027 0 0 1 -24-24v-160a24.027 24.027 0 0 1 24-24h320a24.027 24.027 0 0 1 24 24zm96-104a24.027 24.027 0 0 1 -24 24h-56v-80a40.045 40.045 0 0 0 -40-40h-248v-64a24.027 24.027 0 0 1 24-24h320a24.027 24.027 0 0 1 24 24z'><\/path><path d='m208 248a32 32 0 1 0 32 32 32.036 32.036 0 0 0 -32-32zm0 48a16 16 0 1 1 16-16 16.019 16.019 0 0 1 -16 16z'><\/path><path d='m112 248a32 32 0 1 0 32 32 32.036 32.036 0 0 0 -32-32zm0 48a16 16 0 1 1 16-16 16.019 16.019 0 0 1 -16 16z'><\/path><path d='m304 312a32 32 0 1 0 -32-32 32.036 32.036 0 0 0 32 32zm0-48a16 16 0 1 1 -16 16 16.019 16.019 0 0 1 16-16z'><\/path><path d='m336 344h-72a8 8 0 0 0 0 16h72a8 8 0 0 0 0-16z'><\/path><path d='m368 344h-8a8 8 0 0 0 0 16h8a8 8 0 0 0 0-16z'><\/path><\/svg>","icon_9":"<svg xmlns='http:\/\/www.w3.org\/2000\/svg' height='25' viewB
732ox='0 -12 496 495' width='25'><path d='m472 192.5h-56v-168c0-13.253906-10.746094-24-24-24h-368c-13.253906 0-24 10.746094-24 24v264c0 13.253906 10.746094 24 24 24h24v88c0 3.367188 2.109375 6.371094 5.273438 7.519531 3.167968 1.152344 6.71875.191407 8.878906-2.398437l77.601562-93.121094h52.246094v80c0 13.253906 10.746094 24 24 24h193.199219l32 52.175781c1.878906 3.03125 5.539062 4.453125 8.972656 3.484375s5.8125-4.09375 5.828125-7.660156v-48h16c13.253906 0 24-10.746094 24-24v-176c0-13.253906-10.746094-24-24-24zm-336 104c-2.375-.003906-4.628906 1.046875-6.152344 2.871094l-65.847656 79.03125v-73.902344c0-4.417969-3.582031-8-8-8h-32c-4.417969 0-8-3.582031-8-8v-264c0-4.417969 3.582031-8 8-8h368c4.417969 0 8 3.582031 8 8v168h-184c-13.253906 0-24 10.746094-24 24v80zm344 96c0 4.417969-3.582031 8-8 8h-24c-4.417969 0-8 3.582031-8 8v27.632812l-19.503906-31.808593c-1.453125-2.375-4.035156-3.820313-6.816406-3.824219h-197.679688c-4.417969 0-8-3.582031-8-8v-176c0-4.417969 3.582031-8 8-8h256c4.417969 0 8 3.582031 8 8zm0 0'><\/path><path d='m344 280.5c-13.253906 0-24 10.746094-24 24s10.746094 24 24 24 24-10.746094 24-24-10.746094-24-24-24zm0 32c-4.417969 0-8-3.582031-8-8s3.582031-8 8-8 8 3.582031 8 8-3.582031 8-8 8zm0 0'><\/path><path d='m416 280.5c-13.253906 0-24 10.746094-24 24s10.746094 24 24 24 24-10.746094 24-24-10.746094-24-24-24zm0 32c-4.417969 0-8-3.582031-8-8s3.582031-8 8-8 8 3.582031 8 8-3.582031 8-8 8zm0 0'><\/path><path d='m272 280.5c-13.253906 0-24 10.746094-24 24s10.746094 24 24 24 24-10.746094 24-24-10.746094-24-24-24zm0 32c-4.417969 0-8-3.582031-8-8s3.582031-8 8-8 8 3.582031 8 8-3.582031 8-8 8zm0 0'><\/path><\/svg>"}; 733 window.rootLinkChat = facebookChatSettings.urlApp; 734 window.shopFbChat = facebookChatSettings.shop; 735 var isStyleLoadingDone = false; 736 737 var OMGChatIsLiquidFile = true; 738 739 const OMGFBhead = document.getElementsByTagName('head')[0]; 740 let omgStyle = document.createElement('link'); 741 omgStyle.href = `${window.rootLinkChat}client/omg-facebook-chat_style.css?v=${Math.floor(Date.now() / 1000)}`; 742 omgStyle.type = 'text/css'; 743 omgStyle.rel = 'stylesheet'; 744 omgStyle.onload = () => { 745 isStyleLoadingDone = true; 746 }; 747 OMGFBhead.appendChild(omgStyle); 748 let OMGFbChatExistsScriptTags = 0; 749 750 function loadJqueryChat(callback) { 751 if (typeof jQuery === "undefined") { 752 getScript({ 753 source: "//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js", 754 callback: () => { 755 jQuery224 = jQuery.noConflict(true); 756 callback(jQuery224); 757 }, 758 }); 759 } else { 760 callback(jQuery); 761 } 762 } 763 764 function getScript({ source, callback }) { 765 var script = document.createElement("script"); 766 var prior = document.getElementsByTagName("script")[0]; 767 script.async = 1; 768 769 script.onload = script.onreadystatechange = function (_, isAbort) { 770 if ( 771 isAbort || 772 !script.readyState || 773 /loaded|complete/.test(script.readyState) 774 ) { 775 script.onload = script.onreadystatechange = null; 776 script = undefined; 777 778 if (!isAbort) { 779 if (callback) callback(); 780 } 781 } 782 }; 783 784 script.src = source; 785 prior.parentNode.insertBefore(script, prior); 786 } 787 788 function checkInstallApp(jQuery){ 789 return new Promise(resolve => { 790 jQuery.ajax({ 791 url: window.rootLinkChat + `backend/storefront/facebook-message.php?action=checkInstallApp&shop=${shopFbChat}`, 792 dataType: "json", 793 type: "GET", 794 success: function (data) { resolve(data); }, 795 }) 796 }) 797 } 798 799 const waitBodyLoad = setInterval(() => { 800 if (document.getElementsByTagName("body")[0] && window.__st && isStyleLoadingDone) { 801 var body = document.getElementsByTagName("body")[0]; 802 let elementChat = document.createElement('div'); 803 elementChat.className = `otFacbookChat ${facebookChatSettings.display_mode === 'default' ? 'otFacbookChat-default' : 'otFacbookChat-customize'}`; 804 body.appendChild(elementChat); 805 loadJqueryChat(async function(jQuery) { 806 const scripts = document.getElementsByTagName("script"); 807 for (let i = 0; i < scripts.length; i++) {
808 if (scripts[i].textContent.indexOf("omgFbChatCheckInstallApp.js") >= 0 809 && !scripts[i].id.includes("omgfbc-script")) { 810 OMGFbChatExistsScriptTags = OMGFbChatExistsScriptTags + 1; 811 } 812 } 813 const appStatus = OMGFbChatExistsScriptTags > 0 // install status 814 815 if (appStatus) { 816 createFacebookChat(jQuery); 817 } 818 }); 819 clearInterval(waitBodyLoad); 820 } 821 }); 822 823 var OMGFBGetAddCartForms='form[action*="/cart/add"]:not(.ssw-hide)',OMGFBGetCheckoutForm=(t="",e="")=>[`${t} form[action="/cart"]${e}`,`${t} form#cart${e}`,`${t} form#checkout_submit${e}`,`${t} form[action="/checkout"]${e}`].join(",");function OMGFBGetAddCartButton(t){const e=t,o=["#buy_it_now","#AddToCart","#add-to-cart",".btn-cart",".btn-addCart","#add",".add","#add_product","#product-add-to-cart",".button--add-to-cart","#button-cart",".addtocart-js",".product-form__cart-submit",".btn--add-to-cart",".product-single__add-btn",".js-product-add",".add_to_cart",".ProductForm__AddToCart",".addtocart-button-active",".product-form__submit"],n=["#addToCartCopy"],a=["Buy","Purchase","Add","Order","Comprar"],i=["button","a","div","span"];let s,c,r,d,l;for(c=0,r=n.length;c<r&&(s=e.find(n[c]),!s.length);c++);if(!s.length)for(c=0,r=o.length;c<r&&(s=e.find(o[c]+'[type="submit"]'),!s.length);c++);if(s.length||(s=e.find('input[type="submit"], button[type="submit"]')),!s.length)for(c=0,r=o.length;c<r&&(s=e.find(o[c]),!s.length);c++);if(!s.length)t:for(d=0,l=i.length;d<l;d++)for(c=0,r=a.length;c<r;c++)if(s=e.find(`${i[d]}:contains("${a[c]}")`).not(':contains("login")'),s.length||(s=e.find(`${i[d]}:contains("${a[c].toUpperCase()}")`).not(':contains("login")'),s.length||(s=e.find(`${i[d]}:contains("${a[c].toLowerCase()}")`).not(':contains("login")'))),s.length)break t;return s}window.OMGFBJquery=null;let windowWidth=0,checkOldVersion=!1,isClickLoadingCustom=!1,checkCartAbandoned={},tokenId=localStorage.getItem(window.shopFbChat+"_omgfbc_tokenId");if(tokenId||(tokenId=makeid(24),localStorage.setItem(window.shopFbChat+"_omgfbc_tokenId",tokenId)),abandonedCartUpdateAttributeOneTime=!1,!window.OMGChatIsLiquidFile){const t=document.getElementsByTagName("head")[0];let e=document.createElement("link");e.href=`${window.rootLinkChat}client/omg-facebook-chat_style.css?v=${Math.floor(Date.now()/1e3)}`,e.type="text/css",e.rel="stylesheet",t.appendChild(e)}if(void 0===OMGFBGetAddCartForms){checkOldVersion=!0;const t=(new Date).getTime();getScript({source:window.rootLinkChat+"client/element.js?v="+t,callback:function(){checkOldVersion=!1,createFacebookChat(window.OMGFBJquery)}})}let uniqueRef="";const refAddCartWidget=`${tokenId}_${window.shopFbChat}
823_add-cart-widget_${makeid(24)}`,refWelcomePopupWidget=`${tokenId}_${window.shopFbChat}_welcome-popup-widget_${makeid(24)}`,refCustomerChat=`${tokenId}_${window.shopFbChat}_customer-chat_${makeid(24)}`;let isNotAvailableWork=!1,isAvailableWorkContact=!1;function makeid(t){for(var e="",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",n=o.length,a=0;a<t;a++)e+=o.charAt(Math.floor(Math.random()*n));return e}window.OMGFBisGetPopup="";var isDefaultMode=!1,appIdFB=facebookChatSettings.appIdFB?facebookChatSettings.appIdFB:"1919748194980000",addCartWidgetSettings={},welcomePopupWidgetSettings={},contactInfoSettings={};function removeConfigAppBeforeAppend(){const t=document.getElementById("fb-root");t&&t.parentNode.removeChild(t),document.querySelectorAll(".fb-customerchat").forEach((function(t){t&&t.remove()}));const e=document.getElementsByTagName("script");for(let t=e.length;t>=0;t--)e[t]&&null!=e[t].getAttribute("src")&&e[t].getAttribute("src").indexOf("xfbml.customerchat.js")>-1&&e[t].parentNode.removeChild(e[t])}async function createFacebookChat(t){removeConfigAppBeforeAppend(),isDefaultMode="default"===facebookChatSettings.display_mode,appIdFB=facebookChatSettings.appIdFB?facebookChatSettings.appIdFB:"1919748194980000";for(let t of["page_info","specific_pages","exclude_pages","working_time","custom_css","weekdays","abTests"])facebookChatSettings[t]&&"string"==typeof facebookChatSettings[t]&&(facebookChatSettings[t]=JSON.parse(facebookChatSettings[t]));if(addCartWidgetSettings=facebookChatSettings.addCartWidget,welcomePopupWidgetSettings=facebookChatSettings.welcomePopupWidget,uniqueRef="product"===__st.p?`OMGFBChat_${tokenId}_${makeid(24)}_${__st.rid}`:`OMGFBChat_${tokenId}_${makeid(24)}`,window.OMGFBJquery=t,!Number(facebookChatSettings.app_status)||checkOldVersion)return;if(windowWidth=document.body.clientWidth,window.location.href.indexOf("OMGFB_Chat")>-1){const t=window.location.search,e=new URLSearchParams(t),o=e.get("type"),n=e.get("redirect");if(sessionStorage.setItem(window.shopFbChat+"_omgfbc_revenue_from_app",o),"checkout"===n)return void(window.location.href="https://"+window.shopFbChat+"/"+n)}const e=sessionStorage.getItem(window.shopFbChat+"_omgfbc_revenue_from_app");e?await updateCartAttribute("revenue-yes",e):(1===Number(facebookChatSettings.enable_abandoned_campaign)||welcomePopupWidgetSettings&&Object.keys(welcomePopupWidgetSettings).length)&&await updateCartAttribute("revenue-no");let o="";if(0===window.OMGFBJquery("body #fb-root").length&&(o+="<div id='fb-root'></div>"),window.OMGFBJquery(".otFacbookChat").append(o),!facebookChatSettings.hasOwnProperty("enable_fb_chat_btn")||facebookChatSettings.enable_fb_chat_btn&&Number(facebookChatSettings.enable_fb_chat_btn)){const t=facebookChatSettings.theme_color,e=facebookChatSettings.greeting_message.replace(/&/g,"&").replace(/>/g,">").replace(/</g,"<").replace(/"/g,"""),o=facebookChatSettings.page_info,n=window.location.protocol+"//"+window.location.host+"/"+window.location.pathname+window.location.search,a="1"==facebookChatSettings.auto_display?"show":"hide",i=1==facebookChatSettings.show_greeting_message?`greeting_dialog_display='${a}'`:"";window.OMGFBJquery("#fb-root").append(`\n <div class='fb-customerchat OMG-FB-Chat'\n attribution='setup_tool'\n fb-xfbml-state='rendered'\n page_id='${o.id}'\n themeColor='${t}'\n logged_in_greeting="${e}"\n logged_out_greeting="${e}"\n rel='${n}'\n ref="${refCustomerChat}"\n ${i}\n >\n </div> \n `),initClassShowIconChatFB()}let n=0;const a=setInterval(()=>{n+=1,n>5e3&&clearInterval(a),window.OMGFBJquery(".otFacbookChat #fb-root").length&&(callInitFaceBook(),clearInterval(a))});if(facebookChatSettings.contact_information&&Number(facebookChatSettings.contact_information.status)&&facebookChatSettings.abTests.get_contact_infor_Feb_2022){window.OMGFBJquery("#fb-root").addClass("ot-fb-hide"),setTimeCreateChat(),contactInfoSettings=facebookChatSettings.contact_information;const t=omgContentContactInfo();window.OMGFBJquery(".otFacbookChat").append(t)}
823else{if(0==parseInt(facebookChatSettings.show_after))setTimeCreateChat();else{const t=parseInt(facebookChatSettings.show_after)>5?1e3*parseInt(facebookChatSettings.show_after):5e3;window.OMGFBJquery("#fb-root").addClass("ot-fb-hide"),setTimeout((function(){window.OMGFBJquery("#fb-root").removeClass("ot-fb-hide"),setTimeCreateChat()}),t)}const t=setInterval(()=>{(isDefaultMode&&window.OMGFBJquery(".fb_dialog_content iframe").height()>0||!isDefaultMode&&window.OMGFBJquery(".ot-fb-logo .ot-fb-icon").height()>0)&&(trackingFrontWidgetCampaign("show_IconFbLiveChat"),clearInterval(t))},1e3)}if(welcomePopupWidgetSettings&&Object.keys(welcomePopupWidgetSettings).length&&facebookChatSettings.abTests&&facebookChatSettings.abTests.welcome_popup_widget_Oct_2021&&("all-page"===welcomePopupWidgetSettings.show_on_page||"all"===welcomePopupWidgetSettings.show_on_page||"home"===welcomePopupWidgetSettings.show_on_page&&"home"===window.__st.p||"product-page"===welcomePopupWidgetSettings.show_on_page&&"product"===window.__st.p)){const t=localStorage.getItem(window.shopFbChat+"_omgfbc_welcome_popup"),e=omgContentWelcomePopup(t),o=parseInt(welcomePopupWidgetSettings.show_popup_after.value),n=()=>{t||trackingFrontWidgetCampaign("impression_WelcomePopupWidget"),window.OMGFBJquery(".otFacbookChat").after(e)};if(0===o)n();else{let t=welcomePopupWidgetSettings.show_popup_after.type.indexOf("second")>-1?1e3*o:60*o*1e3;setTimeout(()=>{n()},t)}}if(window.OMGFBJquery(document).on("click",".fb_dialog.fb_dialog_mobile iframe",(function(t){if(windowWidth<800&&"1"==facebookChatSettings.chat_type){let t=facebookChatSettings.page_info.id;window.open("https://www.messenger.com/t/"+t,"_blank")}})),"product"===__st.p&&addCartWidgetSettings){const t=OMGFBGetAddCartButton(window.OMGFBJquery(OMGFBGetAddCartForms)),e=1==addCartWidgetSettings.center_align;let o="<style>";e&&(o+='.ot-addcart-widget-notion, .ot-addcart-widget [center_align="true"]{\n text-align: center;\n }\n '),"dark"==addCartWidgetSettings.color&&(o+="\n .ot-addcart-widget{\n background: #000;\n color: #fff;\n }\n "),"standard"==addCartWidgetSettings.size&&(o+="\n .ot-addcart-widget-notion{\n font-size: 14px;;\n }\n ");const n=0==addCartWidgetSettings.smart_display;let a=!0;window.addEventListener("message",t=>{t.data&&t.data.origin===t.origin&&(a=t.data.cookie,a||(window.OMGFBJquery(".ot-addcart-widget").removeClass("ot-addcart-prepare"),window.OMGFBJquery(".ot-addcart-widget .fb-messenger-checkbox").html('<div class="uiInput
823Label clearfix" id="u_0_5_uv" style="display:flex;justify-content:center;margin-top:10px;">\n <label class="_kv1 _55sg _7o3q uiInputLabelInput" onClick="openLoginFBBlockCookies()">\n <input type="checkbox" id="u_0_1_U/" onClick="return false" style="cursor:pointer;">\n </label>\n <label class="_7o3z _7o3- uiInputLabelLabel" for="u_0_1_U/" onClick="openLoginFBBlockCookies()" style="cursor:pointer;">\n <div class="_7o40 _7o42">Send to <svg width="16px" height="16px" fill="none" viewBox="0 0 80 80" version="1.1" class="_7o43 _a7lf" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M40 .914C17.995.914.937 17.033.937 38.804c0 11.389 4.668 21.23 12.268 28.026a3.12 3.12 0 011.05 2.227l.212 6.95c.068 2.215 2.358 3.658 4.386 2.763l7.753-3.423a3.115 3.115 0 012.087-.153A42.602 42.602 0 0040 76.695c22.005 0 39.063-16.118 39.063-37.89C79.063 17.033 62.005.915 40 .915z" fill="url(#paint0_radial)"></path><path fill-rule="evenodd" clip-rule="evenodd" d="M16.543 49.886L28.018 31.68a5.86 5.86 0 018.472-1.563l9.127 6.844c.837.628 1.989.625 2.823-.008L60.765 27.6c1.645-1.248 3.793.72 2.692 2.467L51.982 48.272a5.86 5.86 0 01-8.472 1.563l-9.127-6.845A2.344 2.344 0 0031.56 43l-12.325 9.354c-1.646 1.248-3.793-.72-2.692-2.467z" fill="#fff"></path><defs><radialGradient id="paint0_radial" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-57.092 80.25 24.628) scale(85.1246)"><stop stop-color="#09F"></stop><stop offset=".61" stop-color="#A033FF"></stop><stop offset=".935" stop-color="#FF5280"></stop><stop offset="1" stop-color="#FF7061"></stop></radialGradient></defs></svg> Messenger </div>\n </label>\n</div>')))},!1),o+=`</style>\n <iframe \n name="check-cookies" \n src="${window.rootLinkChat}client/checkCookies.php"\n style="display: none;"\n ></iframe>\n <div class="ot-addcart-widget ot-addcart-prepare">\n <div class="fb-messenger-checkbox fb_iframe_widget"\n origin="https://${window.shopFbChat}"\n page_id='${facebookChatSettings.page_info.id}'\n messenger_app_id='${appIdFB}'\n user_ref="${uniqueRef}"\n allow_login="${n}"\n size="${addCartWidgetSettings.size}"\n skin="${addCartWidgetSettings.color}"\n center_align="${e}"\n ref="${refAddCartWidget}"\n >\n </div>\n <div class="ot-addcart-widget-notion">${addCartWidgetSettings.text_subscribed}</div>\n </div>`,addCartWidgetSettings.custom_position?window.OMGFBJquery(addCartWidgetSettings.custom_position).after(o):window.OMGFBJquery(t).each((t,e)=>{if(window.OMGFBJquery(e).is(":visible"))return window.OMGFBJquery(e).after(o),!0})}await addInputToCheckoutForm(),initAjaxCart(),1==facebookChatSettings.enable_abandoned_campaign&&await proccessCartItemData()}async function addInputToCheckoutForm(t=""){let e=OMGFBGetCheckoutForm();if(window.OMGFBJquery(e).length){let o="";if(addCartWidgetSettings&&1==addCartWidgetSettings.status){let e=t&&t.items&&t.items.length?t:await getCartInfoData(),n=window.shopFbChat+"_omgFbChatListProductChecked",a=localStorage.getItem(n)?JSON.parse(localStorage.getItem(n)):[],i="";for(let t of a)if(e.items.find(e=>e.product_id==t)){i=tokenId;break}if(i.length){o+=`<input name="attributes[omgFbChatCheckboxTokenId]" type="hidden" value="${tokenId}" />`;let t=localStorage.getItem(window.shopFbChat+"_omgfbc_deTokenId");t&&(o+=`<input name="attributes[omgFbChatDeTokenId]" type="hidden" value="${t}" />`)}}if(1==facebookChatSettings.enable_abandoned_campaign){let t=localStorage.getItem(window.shopFbChat+"_omgfbc_deTokenId");t&&(o+=`<input name="attributes[omgFbChatDeTokenId]" type="hidden" value="${t}" />`),window.OMGFBJquery('input[name="attributes[omgFbChatTokenId]"]').length||(o+=`<input name="attributes[omgFbChatTokenId]" type="hidden" value="${tokenId}" />`)}o.length&&window.OMGFBJquery(e).append(o)}}function initAjaxCart(){const t=async(t,e,o=!1)=>
823{if([window.location.origin+"/cart.js","/cart.js"].includes(t)&&(o&&(e=await e.clone().json()),"Supply"===Shopify.theme.name)){let t=0;if(addCartWidgetSettings&&!Number(addCartWidgetSettings.status)||window.OMGFBJquery('input[name="attributes[omgFbChatCheckboxTokenId]"]').length)return;const o=setInterval(()=>{if(window.OMGFBJquery("#ajaxifyCart .ajaxifyCart--is-loading").length)return t+=1,void(t>10&&clearInterval(o));addInputToCheckoutForm(e),clearInterval(o)},100)}if([window.location.origin+"/cart/add",window.location.origin+"/cart/update",window.location.origin+"/cart/change",window.location.origin+"/cart/clear",window.location.origin+"/cart/add.js",window.location.origin+"/cart/update.js",window.location.origin+"/cart/change.js",window.location.origin+"/cart/clear.js","/cart/add.js","/cart/update.js","/cart/change.js","/cart/clear.js"].includes(t)){if(o&&(e=await e.clone().json()),addCartWidgetSettings&&Number(addCartWidgetSettings.status)&&!window.OMGFBJquery('input[name="attributes[omgFbChatCheckboxTokenId]"]').length&&addInputToCheckoutForm(e),!Number(facebookChatSettings.enable_abandoned_campaign))return;if(abandonedCartUpdateAttributeOneTime)return void(abandonedCartUpdateAttributeOneTime=!1);if(JSON.stringify(checkCartAbandoned)===JSON.stringify(e))return;await proccessCartItemData(e)}};var e,o;e=window,"function"==typeof(o=window.fetch)&&(e.fetch=function(){const e=o.apply(this,arguments);return e.then(e=>{let o=e.url.split("?");o=o[0],t(o,e,!0)}),e});const n=window.XMLHttpRequest.prototype.open;window.XMLHttpRequest.prototype.open=function(){return this.addEventListener("load",(function(){try{let e=this._url.split("?");e=e[0],t(e,JSON.parse(this.response))}catch(t){return!1}})),n.apply(this,arguments)}}function openLoginFBBlockCookies(){window.open("https://www.facebook.com/plugins/chat/incognito_login/","","width = 450, height = 470")}async function proccessCartItemData(t){let e=t&&t.items&&t.items.length?t:await getCartInfoData();return e.attributes.omgFbChatTokenId||(abandonedCartUpdateAttributeOneTime=!0,e=await updateCartAttribute()),checkCartAbandoned=e,new Promise((function(t,o){window.OMGFBJquery.ajax({url:window.rootLinkChat+"backend/storefront/facebook-message.php",data:{action:"proccessCartAbandoned",cartInfo:e,shop:window.shopFbChat},dataType:"JSON",type:"POST"})}))}function updateCartAttribute(t="",e=""){const o={};if("revenue-no"===t||"revenue-yes"===t)o.omgFbChatAnalyticRevenue="revenue-yes"===t?e:"No";else{let t=localStorage.getItem(window.shopFbChat+"_omgfbc_deTokenId");t&&(o.omgFbChatDeTokenId=t),o.omgFbChatTokenId=tokenId}return new Promise((function(t,e){window.OMGFBJquery.ajax({type:"POST",url:"/cart/update.js",dataType:"json",data:{attributes:o},success:function(e){t(e)},error:function(t){e(t)}})}))}function getCartInfoData(){return new Promise((function(t,e){window.OMGFBJquery.ajax({type:"GET",url:"/cart.js",dataType:"json",success:function(e){t(e)},error:function(t){e(t)}})}))}function iconChatClickAvailable(){let t=0,e=!1;const o=setInterval(()=>{let n=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe");t++,t>40&&clearInterval(o),n.length&&!e&&(windowWidth>1025&&(e=!0,"1"==facebookChatSettings.auto_display?n.addClass("fb_customer_chat_bounce_in_v2"):n.addClass("fb_customer_chat_bounce_out_v2")),windowWidth<=1025&&"100%"===n.css("max-height")&&(e=!0,n.css("max-height","0"),setTimeout(()=>{n.css("max-height","0")},300))),windowWidth>1025&&n.length&&n.hasClass("fb_customer_chat_bounce_in_v2")&&"0"==facebookChatSettings.auto_display&&(n.removeClass("fb_customer_chat_bounce_in_v2"),clearInterval(o))},50);let n=windowWidth;window.OMGFBJquery(window).resize(()=>{window.OMGFBJquery(window).width()!=n&&(n=document.body.clientWidth)}),setInterval(()=>{let t=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe");if(t.length){t=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe");let e=t.width()||400;window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe[class*=fb_customer_chat_bounce_in]").length&&t.removeClass("fb_customer_chat_bounce_out_v2"),t.css("width")&&(e=parseInt(t.css("width"),10));const o=(n-e)/100*parseInt(facebookChatSettings.position);t.css("left",o),window.OMGisCustomPositionPopup&&(window.OMGFBJquery("#OMG-position-popup").remove(),window.OMGFBJquery("head").append(`<style id="OMG-position-popup" type="text/css">.otFacbookChat #fb-root .fb_iframe_widget iframe {left: ${o}px !important;}</style>`))}},500),window.OMGFBJquery(document).on("click",".ot-fb-logo",(function(){facebookChatSettings.contact_information&&Number(facebookChatSettings.contact_information.status)&&facebookChatSettings.abTests.get_contact_infor_Feb_2022&&isAvailableWorkContact||(window.OMGFBJquery(".OMG-FB-Chat > div[id]").length?windowWidth<1025&&"1"==facebookChatSettings.chat_type&&window.OMGFBJquery(".ot-fb-logo.redirect_icon").length?process
823FbBoxChat():(isClickLoadingCustom=!0,window.OMGFBJquery(".ot-fb-logo").addClass("ot-fb-logo-loading")):(window.OMGFBJquery(".ot-fb-logo").removeClass("ot-fb-logo-loading"),processFbBoxChat()))}))}function iconChatClickUnavailable(){if(!(facebookChatSettings.working_time&&"messOpt"===facebookChatSettings.working_time.not_available_option&&windowWidth<=1025)){if(facebookChatSettings.working_time&&"messOpt"!==facebookChatSettings.working_time.not_available_option){const t=setInterval(()=>{window.OMGFBJquery("#fb-root").length&&(window.OMGFBJquery(".ot-fb-logo").css("z-index","99999999999999"),window.OMGFBJquery("#fb-root .fb_iframe_widget iframe").addClass("ot-fb-hide"),clearInterval(t))},50)}isDefaultMode&&window.OMGFBJquery(".otFacbookChat").append('<div class="facebook-chat-button-custom"></div>'),window.OMGFBJquery(document).on("click",".ot-fb-logo, .facebook-chat-button-custom",(function(){window.OMGFBJquery(".available-work-container").hasClass("ot-fb-hide")?window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe").hasClass("fb_customer_chat_bounce_in_v2")&&facebookChatSettings.working_time&&"messOpt"===facebookChatSettings.working_time.not_available_option?processFbBoxChat("not-available"):window.OMGFBJquery(".available-work-container").removeClass("ot-fb-hide").addClass("ot-fb-flex"):closeNotAvailableOpt()}))}}function setTimeCreateChat(){if(facebookChatSettings.page_target&&"0"!==facebookChatSettings.page_target){const t=window.location.pathname;let e="";if("/"===t)e="template-index";else if(t.startsWith("/collections/"))e="template-collection";else if(t.startsWith("/products/"))e="template-product";else if(t.startsWith("/cart"))e="template-cart";else if(t.startsWith("/search"))e="template-search";else if(t.startsWith("/pages/")){e=t.replace("/pages/","")}if("1"===facebookChatSettings.page_target){if(facebookChatSettings.specific_pages.indexOf(e)<0)return window.OMGFBJquery("#fb-root").addClass("ot-fb-hide"),void console.log("Not specifics page")}else if("2"===facebookChatSettings.page_target){if(facebookChatSettings.exclude_pages.indexOf(e)>=0)return window.OMGFBJquery("#fb-root").addClass("ot-fb-hide"),void console.log("excludes page")}}let t="";if("2"==facebookChatSettings.status_connect&&(t=makeHtml(),makeSettingsCustomerChat()),!facebookChatSettings.hasOwnProperty("enable_fb_chat_btn")||facebookChatSettings.enable_fb_chat_btn&&1==facebookChatSettings.enable_fb_chat_btn){window.OMGFBJquery(".otFacbookChat").append(t);facebookChatSettings.position>50?window.OMGFBJquery(".icon-text-content").addClass("icon-text-content-left"):window.OMGFBJquery(".icon-text-content").addClass("icon-text-content-right"),getStyleCustom(),window.OMGFBJquery(window).resize(()=>{window.OMGFBJquery(window).width()!=windowWidth&&getStyleCustom(document.body.clientWidth)}),"0"==facebookChatSettings.auto_display&&windowWidth>1024&&"default"!==facebookChatSettings.display_mode&&window.OMGFBJquery("#fb-root").addClass("ot-fb-hide")}}function initClassShowIconChatFB(){if(window.OMGFBJquery(".ot-fb-logo").addClass("omgfb-hidden-icon"),(window.OMGFBJquery(".fb_dialog_content iframe").length||window.OMGFBJquery(".OMG-FB-Chat > div[id]").length)&&window.OMGFBJquery(".ot-fb-logo").length){let t=0;const e=setInterval(()=>{t++,t>1e3&&clearInterval(e),isClickLoadingCustom&&!window.OMGFBJquery(".OMG-FB-Chat > div[id]").length&&(window.OMGFBJquery(".ot-fb-logo").removeClass("ot-fb-logo-loading"),facebookChatSettings.contact_information&&Number(facebookChatSettings.contact_information.status)&&facebookChatSettings.abTests.get_contact_infor_Feb_2022&&isAvailableWorkContact?(window.OMGFBJquery(".omg-contact-info-button-link").removeClass("ot-fb-logo-loading"),window.OMGFBJquery(".omg-contact-info").addClass("ot-fb-hide")):isDefaultMode&&"0"==facebookChatSettings.chat_type&&window.OMGFBJquery(".ot-fb-logo").remove(),processFbBoxChat("",!0),clearInterval(e))},50);window.OMGFBJquery(".ot-fb-logo").removeClass("omgfb-hidden-icon")}else setTimeout(()=>{initClassShowIconChatFB()},10)}function makeHtml(t=""){const e=facebookChatSettings.theme_color,o=facebookChatSettings.icon_type;let n=windowWidth>=1025?facebookChatSettings.icon_text:"";const a=facebookChatSettings.icon_text_color,i=facebookChatSettings.tab_color,s=facebookChatSettings.tab_size,c=facebookChatSettings.tab_style,r=n?"has_text":"none_text";let d="28px";"medium"==s?d="32px":"large"==s&&(d="36px");const l=`color: ${a}; background-color: ${i}; line-height: ${d};`,g=iconHtml?""+iconHtml[o]:"",u=`<span style='${l}' class='ml-1 icon-text-content'> ${n}</span>`,f="1"==facebookChatSettings.chat_type?"redirect_icon":"";let p="",m="";isDefaultMode||(m=`<div class='ot-fb-logo ${f} facebook-chat-button ${s} ${c} ${r}' style='${"one_box"==c?"background-color: "+i+";":""}'>\n <div class='ot-fb-icon' style='background-color: ${i}; fill: ${a}; border-color: ${a};'>\n ${g}\n </div>\n ${u}\n </div>`),(isDefaultMode&&1==facebookChatSettings.chat_type&&windowWidth<1025||isDefaultMode)&&(m=`\n <div class='ot-fb-logo ${f} facebook-chat-button'>\n <div class='ot-fb-icon' style="background-color: ${e}; border-bottom-color: #fff;">\n <svg x="0" y="0" width="60px" height="60px">\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g>\n <circle fill="${e}" cx="30" cy="30" r="30"></circle>\n <svg width="36" height="36" viewBox="-12 -12 36 36" style="overflow: unset;">\n <path fill="white" d="M1 17.99C1 8.51488 8.42339 1.5 18 1.5C27.5766 1.5 35 8.51488 35 17.99C35 27.4651 27.5766 34.48 18 34.48C16.2799 34.48 14.6296 34.2528 13.079 33.8264C12.7776 33.7435 12.4571 33.767 12.171 33.8933L8.79679 35.3828C7.91415 35.7724 6.91779 35.1446 6.88821 34.1803L6.79564 31.156C6.78425 30.7836 6.61663 30.4352 6.33893 30.1868C3.03116 27.2287 1 22.9461 1 17.99ZM12.7854 14.8897L7.79161 22.8124C7.31238 23.5727 8.24695 24.4295 8.96291 23.8862L14.327 19.8152C14.6899 19.5398 15.1913 19.5384 15.5557 19.8116L19.5276 22.7905C20.7193 23.6845 22.4204 23.3706 23.2148 22.1103L28.2085 14.1875C28.6877 13.4272 27.7531 12.5704 27.0371 13.1137L21.673 17.1847C21.3102 17.4601 20.8088 17.4616 20.4444
82317.1882L16.4726 14.2094C15.2807 13.3155 13.5797 13.6293 12.7854 14.8897Z"></path>\n </svg>\n </g>\n </g>\n </svg>\n </div>\n </div>\n `);const b=facebookChatSettings.working_time&&"messOpt"===facebookChatSettings.working_time.not_available_option&&facebookChatSettings.abTests.available_working_time_Aug_2021?`<div class="fb-mess-widget available-work-container ot-fb-hide">\n <i class="fb-mess__close" onClick="closeNotAvailableOpt()">\n <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0" y="0"\n width="10px" height="10px" viewBox="0 0 123.05 123.05" style="enable-background:new 0 0 123.05 123.05;"\n xml:space="preserve">\n <g>\n <path d="M121.325,10.925l-8.5-8.399c-2.3-2.3-6.1-2.3-8.5,0l-42.4,42.399L18.726,1.726c-2.301-2.301-6.101-2.301-8.5,0l-8.5,8.5\n c-2.301,2.3-2.301,6.1,0,8.5l43.1,43.1l-42.3,42.5c-2.3,2.3-2.3,6.1,0,8.5l8.5,8.5c2.3,2.3,6.1,2.3,8.5,0l42.399-42.4l42.4,42.4\n c2.3,2.3,6.1,2.3,8.5,0l8.5-8.5c2.3-2.3,2.3-6.1,0-8.5l-42.5-42.4l42.4-42.399C123.625,17.125,123.625,13.325,121.325,10.925z"/>\n </g>\n </svg>\n </i>\n <p class="fb-mess-widget__text">${convertHtml(facebookChatSettings.working_time.fb_messages)}</p>\n <button style='background-color: ${a};' onClick="fbMessageNotAvailable()" id="unavailable-working-fb-chat">
823\n <svg\n viewBox="0 0 40 40"\n x="0"\n y="0"\n width="16px"\n height="16px"\n >\n <g\n stroke="none"\n strokeWidth=1\n fill="none"\n fillRule="evenodd"\n >\n <g>\n <svg x="0" y="0">\n <path\n d="M20,0 C31.2666,0 40,8.2528 40,19.4 C40,30.5472 31.2666,38.8 20,38.8 C17.9763,38.8 16.0348,38.5327 14.2106,38.0311 C13.856,37.9335 13.4789,37.9612 13.1424,38.1098 L9.1727,39.8621 C8.1343,40.3205 6.9621,39.5819 6.9273,38.4474 L6.8184,34.8894 C6.805,34.4513 6.6078,34.0414 6.2811,33.7492 C2.3896,30.2691 0,25.2307 0,19.4 C0,8.2528 8.7334,0 20,0 Z M7.99009,25.07344 C7.42629,25.96794 8.52579,26.97594 9.36809,26.33674 L15.67879,21.54734 C16.10569,21.22334 16.69559,21.22164 17.12429,21.54314 L21.79709,25.04774 C23.19919,26.09944 25.20039,25.73014 26.13499,24.24744 L32.00999,14.92654 C32.57369,14.03204 31.47419,13.02404 30.63189,13.66324 L24.32119,18.45264 C23.89429,18.77664 23.30439,18.77834 22.87569,18.45674 L18.20299,14.95224 C16.80079,13.90064 14.79959,14.26984 13.86509,15.75264 L7.99009,25.07344 Z"\n fill="#FFFFFF"\n />\n </svg>\n </g>\n </g>\n </svg>\n <span class="fb-mess-widget__btn-text">\n Leave us a message\n </span>\n </button>\n </div>`:"",w=facebookChatSettings.working_time&&"emailOpt"===facebookChatSettings.working_time.not_available_option&&facebookChatSettings.abTests.available_working_time_Aug_2021?`<div class="fb-email-form available-work-container ot-fb-hide">\n <i class="fb-mess__close" onClick="closeNotAvailableOpt()">\n <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"\n width="10px" height="10px" viewBox="0 0 123.05 123.05" style="enable-background:new 0 0 123.05 123.05;"\n xml:space="preserve">\n <g>\n <path d="M121.325,10.925l-8.5-8.399c-2.3-2.3-6.1-2.3-8.5,0l-42.4,42.399L18.726,1.726c-2.301-2.301-6.101-2.301-8.5,0l-8.5,8.5\n c-2.301,2.3-2.301,6.1,0,8.5l43.1,43.1l-42.3,42.5c-2.3,2.3-2.3,6.1,0,8.5l8.5,8.5c2.3,2.3,6.1,2.3,8.5,0l42.399-42.4l42.4,42.4\n c2.3,2.3,6.1,2.3,8.5,0l8.5-8.5c2.3-2.3,2.3-6.1,0-8.5l-42.5-42.4l42.4-42.399C123.625,17.125,123.625,13.325,121.325,10.925z"/>\n </g>\n </svg>\n </i>\n <h3>Leave us a message</h3>\n <div class="fb-email-form__email">\n <label for="otEmail">Email</label>\n <input type="text" id="otEmail" name="otEmail" />\n </div>\n <div class="fb-email-form__subject">\n <label for="otSubject">Subject</label>\n <input type="text" id="otSubject" name="otSubject" />\n </div>\n <div class="fb-email-form__textarea">\n <label for="otMessage">Message</label>\n <textarea\n type="text" id="otMessage" name="otMessage"\n />\n </div>\n <button class="fb-email-form__submit" style='background-color: ${a};' onClick="submitEmailForm()">\n Submit\n </button>\n </div>`:"",h=setInterval(()=>{window.OMGFBJquery(".fb_iframe_widget.fb_invisible_flow").length>0&&!window.OMGFBJquery(".fb_iframe_widget.fb_invisible_flow").hasClass("fb-customerchat")&&(window.OMGFBJquery(".fb_iframe_widget.fb_invisible_flow").addClass("fb-customerchat"),clearInterval(h))},50);let _=0;const C=setInterval(()=>{_+=1,_>50&&clearInterval(C),window.FB&&windowWidth<1025&&(FB.XFBML.parse(),clearInterval(C))},50);let k="";return facebookChatSettings.abTests&&facebookChatSettings.abTests.intergrate_instagram_Oct_2021&&facebookChatSettings.instagram&&facebookChatSettings.instagram.username&&(k=`<div class="OMG-instagram-icon OMG-instagram-icon-${facebookChatSettings.display_mode}">\n <a href="https://www.instagram.com/${facebookChatSettings.instagram.username}/" target="_blank" style="background-color: ${i}">\n <svg width="${isDefaultMode?"40":windowWidth>=1025?"30":"36"}" height="${isDefaultMode?"40":windowWidth>=1025?"30":"36"}
823" viewBox="0 0 534 534" fill="none" xmlns="http://www.w3.org/2000/svg">\n <path d="M266.826 0C155.465 0 122.896 0.114882 116.566 0.640054C93.7123 2.5397 79.4916 6.13796 63.999 13.8514C52.0596 19.7801 42.6434 26.6525 33.3503 36.2861C16.4258 53.8548 6.1685 75.469 2.45536 101.161C0.650084 113.634 0.124911 116.178 0.0182352 179.888C-0.022794 201.125 0.0182352 229.074 0.0182352 266.562C0.0182352 377.833 0.141323 410.369 0.674701 416.688C2.52101 438.925 6.00849 452.916 13.3937 468.22C27.5077 497.515 54.4639 519.507 86.2204 527.712C97.2162 530.543 109.361 532.102 124.952 532.841C131.558 533.128 198.886 533.333 266.256 533.333C333.626 533.333 400.996 533.251 407.437 532.923C425.49 532.074 435.973 530.666 447.564 527.671C463.31 523.633 477.985 516.207 490.564 505.91C503.142 495.613 513.322 482.694 520.391 468.056C527.632 453.121 531.304 438.597 532.966 417.52C533.327 412.925 533.479 339.66 533.479 266.492C533.479 193.313 533.315 120.182 532.954 115.587C531.271 94.17 527.599 79.7688 520.124 64.547C513.99 52.0865 507.179 42.7811 497.291 33.2664C479.649 16.4116 458.067 6.15437 432.346 2.44534C419.886 0.644157 417.403 0.110779 353.644 0H266.826Z" fill="url(#paint0_radial_101:6)"/>\n <path d="M266.826 0C155.465 0 122.896 0.114882 116.566 0.640054C93.7123 2.5397 79.4916 6.13796 63.999 13.8514C52.0596 19.7801 42.6434 26.6525 33.3503 36.2861C16.4258 53.8548 6.1685 75.469 2.45536 101.161C0.650084 113.634 0.124911 116.178 0.0182352 179.888C-0.022794 201.125 0.0182352 229.074 0.0182352 266.562C0.0182352 377.833 0.141323 410.369 0.674701 416.688C2.52101 438.925 6.00849 452.916 13.3937 468.22C27.5077 497.515 54.4639 519.507 86.2204 527.712C97.2162 530.543 109.361 532.102 124.952 532.841C131.558 533.128 198.886 533.333 266.256 533.333C333.626 533.333 400.996 533.251 407.437 532.923C425.49 532.074 435.973 530.666 447.564 527.671C463.31 523.633 477.985 516.207 490.564 505.91C503.142 495.613 513.322 482.694 520.391 468.056C527.632 453.121 531.304 438.597 532.966 417.52C533.327 412.925 533.479 339.66 533.479 266.492C533.479 193.313 533.315 120.182 532.954 115.587C531.271 94.17 527.599 79.7688 520.124 64.547C513.99 52.0865 507.179 42.7811 497.291 33.2664C479.649 16.4116 458.067 6.15437 432.346 2.44534C419.886 0.644157 417.403 0.110779 353.644 0H266.826Z" fill="url(#paint1_radial_101:6)"/>\n <path d="M266.703 69.7495C213.218 69.7495 206.505 69.9834 185.498 70.9394C164.533 71.8994 150.222 75.2187 137.7 80.0889C124.747 85.119 113.759 91.8478 102.812 102.798C91.8577 113.745 85.1289 124.733 80.0824 137.681C75.1999 150.208 71.8765 164.523 70.9329 185.48C69.9974 206.487 69.7512 213.204 69.7512 266.689C69.7512 320.175 69.9892 326.867 70.9411 347.874C71.9053 368.839 75.2245 383.15 80.0906 395.672C85.1248 408.625 91.8536 419.613 102.804 430.56C113.747 441.514 124.734 448.26 137.679 453.29C150.209 458.16 164.524 461.479 185.486 462.439C206.493 463.395 213.201 463.629 266.683 463.629C320.172 463.629 326.864 463.395 347.871 462.439C368.837 461.479 383.164 458.16 395.695 453.29C408.643 448.26 419.615 441.514 430.557 430.56C441.512 419.613 448.241 408.625 453.287 395.677C458.129 383.15 461.452 368.835 462.437 347.878C463.38 326.871 463.627 320.175 463.627 266.689C463.627 213.204 463.38 206.491 462.437 185.484C461.452 164.519 458.129 150.208 453.287 137.686C448.241 124.733 441.512 113.745 430.557 102.798C419.602 91.8437 408.648 85.1149 395.682 80.0889C383.128 75.2187 368.808 71.8994 347.842 70.9394C326.836 69.9834 320.148 69.7495 266.646 69.7495H266.703ZM249.036 105.24C254.28 105.231 260.13 105.24 266.703 105.24C319.286 105.24 325.519 105.428 346.283 106.372C365.485 107.25 375.906 110.459 382.848 113.154C392.039 116.724 398.591 120.991 405.48 127.884C412.373 134.777 416.64 141.341 420.218 150.532C422.913 157.466 426.126 167.887 427 187.089C427.944 207.849 428.149 214.086 428.149 266.644C428.149 319.202 427.944 325.439 427 346.2C426.122 365.401 422.913 375.823 420.218 382.757C416.648 391.947 412.373 398.491 405.48 405.38C398.587 412.273 392.043 416.54 382.848 420.109C375.915 422.817 365.485 426.018 346.283 426.896C325.523 427.839 319.286 428.044 266.703 428.044C214.116 428.044 207.884 427.839 187.123 426.896C167.922 426.009 157.5 422.801 150.554 420.105C141.363 416.536 134.799 412.269 127.906 405.376C121.013 398.483 116.746 391.935 113.168 382.74C110.473 375.806 107.26 365.385 106.386 346.183C105.442 325.422 105.254 319.186 105.254 266.595C105.254 214.004 105.442 207.8 106.386 187.039C107.264 167.838 110.473 157.416 113.168 150.474C116.738 141.284 121.013 134.719 127.906 127.826C134.799 120.933 141.363 116.666 150.554 113.089C157.496 110.381 167.922 107.18 187.123 106.298C205.291 105.478 212.331 105.231 249.036 105.19V105.24ZM371.828 137.94C367.154 137.94 362.584 139.326 358.698 141.923C354.811 144.52 351.782 148.212 349.993 152.531C348.205 156.849 347.737 161.602 348.65 166.186C349.563 170.771 351.814 174.982 355.12 178.286C358.426 181.591 362.638 183.841 367.223 184.752C371.807 185.663 376.559 185.194 380.878 183.404C385.196 181.614 388.886 178.584 391.482 174.696C394.078 170.809 395.462 166.239 395.461 161.564C395.461 148.517 384.875 137.932 371.828 137.932V137.94ZM266.703 165.552C210.85 165.552 165.567 210.836 165.567 266.689C165.567 322.542 210.85 367.806 266.703 367.806C322.556 367.806 367.828 322.542 367.828 266.689C367.828 210.836 322.552 165.552 266.699 165.552H266.703ZM266.703 201.043C302.957 201.043 332.35 230.432 332.35 266.689C332.35 302.943 302.957 332.336 266.703 332.336C230.446 332.336 201.057 302.943 201.057 266.689C201.057 230.432 230.446 201.043 266.703 201.043Z" fill="white"/>\n <defs>\n <radialGradient id="paint0_radial_101:6" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(141.706 574.411) rotate(-90) scale(528.573 491.748)">\n <stop stop-color="#FFDD55"/>\n <stop offset="0.1" stop-color="#FFDD55"/>\n <stop offset="0.5" stop-color="#FF543E"/>\n <stop offset="1" stop-color="#C837AB"/>\n </radialGradient>\n <radialGradient id="paint1_radial_101:6" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(-89.3605 38.4204) rotate(78.6776) scale(236.277 974.188)">\n <stop stop-color="#3771C8"/>\n <stop offset="0.128" stop-color="#3771C8"/>\n <stop offset="1" stop-color="#6600FF" stop-opacity="0"/>\n </radialGradient>\n </defs>\n </svg>\n </a>\n </div>`),p+="contact"===t?""+m:` ${m}\n ${k}\n ${b}\n ${w}`,p}function convertHtml(t){return t.replace(/</g,"<").replace(/>/g,">")}function callInitFaceBook(){let t=!1;var e,o,n,a,i;window.fbAsyncInit=function(){FB.init({appId:appIdFB,autoLogAppEvents:!0,xfbml:!0,version:"v13.0"}),FB.Event.subscribe("messenger_checkbox",(function(e){if("rendered"==e.event)console.log("Plugin was rendered"),trackingFrontWidgetCampaign("impression_addToCartWidget");else if("checkbox"==e.event){const o=e.state;if(t&&trackingFrontWidgetCampaign("click_addToCartWidget"),"checked"==o){if(FB.AppEvents.logEvent("MessengerCheckboxUserConfirmation",null,{app_id:appIdFB,page_id:facebookChatSettings.page_info.id,user_ref:uniqueRef,ref:refAddCartWidget}),window.OMGFBJquery(".ot-addcart-widget-notion").empty(),window.OMGFBJquery(".ot-addcart-widget-notion").text(""+(addCartWidgetSettings?addCartWidgetSettings.text_subscribed:"")),"product"===__st.p&&__st.rid){let t=__st.rid,e=window.shopFbChat+"_omgFbChatListProductChecked",o=localStorage.getItem(e)?JSON.parse(localStorage.getItem(e)):[];o.includes(t)||(o.push(t),localStorage.setItem(e,JSON.stringify(o)))}}else if("unchecked"==o){if(window.OMGFBJquery(".ot-addcart-widget-notion").empty(),window.OMGFBJquery(".ot-addcart-widget-notion").text(""+(addCartWidgetSettings?addCartWidgetSettings.text_not_subscribed_yet:"")),"product"===__st.p&&__st.rid&&t){let t=__st.rid,e=window.shopFbChat+"_omgFbChatListProductChecked",o=localStorage.getItem(e)?JSON.parse(localStorage.getItem(e)):[];o.includes(t)&&(o=o.filter(e=>e!=t),o.length||window.OMGFBJquery('input[name="attributes[omgFbChatCheckboxTokenId]"]').remove(),localStorage.setItem(e,JSON.stringify(o)))}t=!0}window.OMGFBJquery(".ot-addcart-widget").removeClass("ot-addcart-prepare"),console.log("Checkbox state: "+o)}else"not_you"==e.event?console.log("User clicked 'not you'"):"hidden"==e.event&&(console.log("Plugin was hidden"),window.OMGFBJquery(".ot-addcart-widget").css("display","none"))})),FB.Event.subscribe("customerchat.dialogShow",(function(){isDefaultMode&&trackingFrontWidgetCampaign("click_showFBMessageBox")})),FB.Event.subscribe("customerchat.dialogHide",(function(){isDefaultMode&&trackingFrontWidgetCampaign("click_showFBMessageBox")}))},e=document,o="script",n="OMG_facebook-jssdk",i=e.getElementsByTagName(o)[0],e.getElementById(n)||((a=e.createElement(o)).id=n,a.src=`https://connect.facebook.net/${facebookChatSettings.language}/sdk/xfbml.customerchat.js`,i.parentNode.insertBefore(a,i))}function availableWorkingTime(t,e=""){let o=!1,n=!1;if(t.working_time){const a=t.working_time;if(!Number(a.status)){let i="";const s={"-12":"Pacific/Midway","-11":"Pacific/Midway","-10":"Pacific/Honolulu","-9":"America/Anchorage","-8":"America/Los_Angeles","-7":"America/Cambridge_Bay","-6":"America/Mexico_City","-5":"America/Atikokan","-4":"Canada/Atlantic","-3":"America/Sao_Paulo","-2":"America/Noronha","-1":"Atlantic/Azores",0:"Europe/London",1:"Europe/Amsterdam",2:"Europe/Bucharest",3:"Asia/Baghdad",4:"Asia/Muscat",5:"Asia/Karachi",6:"Asia/Almaty",7:"Asia/Bangkok",8:"Asia/Hong_Kong",9:"Asia/Irkutsk",10:"Australia/Brisbane",11:"Asia/Vladivostok",12:"Pacific/Auckland"};i=Object.keys(s).indexOf(a.time_zone)>-1?s[a.time_zone]:a.time_zone;
823let c=(new Date).toLocaleString("en-US",{timeZone:i});c=new Date(c);const r=c.getFullYear(),d=c.getMonth(),l=c.getDay(),g=c.getHours(),u=c.getMinutes();let f;if(t.weekdays){f=t.weekdays;let o=[];for(const t of Object.values(f))o.push(parseInt(t.id));-1===o.indexOf(parseInt(l))&&(n=setAvailableWork(e))}const p=new Date(r,d,l,g,u).getTime();let m=a.start.split(":");const b=new Date(r,d,l,m[0],m[1]).getTime();let w=a.end.split(":"),h=new Date(r,d,l,w[0],w[1]).getTime();if(b>=h){let t=l+1;7===t&&(t=0),h=new Date(r,d,t,w[0],w[1]).getTime()}o=!(b<p&&h>p)&&setAvailableWork(e)}}return n||o}function makeSettingsCustomerChat(){const t=facebookChatSettings.device_target;availableWorkingTime(facebookChatSettings)?(isNotAvailableWork=!0,iconChatClickUnavailable(),facebookChatSettings.contact_information&&!Number(facebookChatSettings.contact_information.status)&&facebookChatSettings.abTests.get_contact_infor_Feb_2022&&(window.OMGFBJquery(".ot-fb-logo").remove(),window.OMGFBJquery("#fb-root").remove(),window.OMGFBJquery(".facebook-chat-button-custom").remove())):iconChatClickAvailable(),"1"==t?window.OMGFBJquery(".otFacbookChat").addClass("hide-mobile"):"2"==t&&window.OMGFBJquery(".otFacbookChat").addClass("hide-desktop")}function setAvailableWork(t){return"contact"===t||(console.log("Facebook live chat by Omega: Not in the working days"),facebookChatSettings.working_time&&"noneOpt"===facebookChatSettings.working_time.not_available_option&&window.OMGFBJquery(".otFacbookChat").addClass("ot-fb-hide")),!0}function getStyleCustom(t=windowWidth){const e=setInterval(()=>{if(!isDefaultMode&&window.OMGFBJquery(".ot-fb-logo").length&&"auto"!==window.OMGFBJquery(".ot-fb-logo").css("z-index")&&window.OMGFBJquery(".ot-fb-logo").width()<t||isDefaultMode){window.OMGFBJquery(".OMG-style-button").remove();let o="",n="",a=parseInt(facebookChatSettings.position);const i=parseInt(facebookChatSettings.margin_bottom),s=1==facebookChatSettings.chat_type?" display: none !important;":"";if(""!==facebookChatSettings.custom_css){const t=facebookChatSettings.custom_css;t.status&&(o=t.code)}let c;switch(facebookChatSettings.tab_size){case"small":c=55;break;case"medium":c=65;break;case"large":c=75;break;default:c=80}const r=window.OMGFBJquery(".ot-fb-logo").outerWidth(!0),d=t<1025||isDefaultMode?60:r,l=(t-d)/100*parseInt(a),g=isDefaultMode?60:d,u=a>50&&t>=1025?(t-g)/100*parseInt(a)+(r-60):(t-g)/100*parseInt(a),f=(t-window.OMGFBJquery(".available-work-container").outerWidth())/100*parseInt(a)+"px !important;";let p=400;t<p&&(p=t);const m=(t-p)/100*parseInt(a)+"px !important;";let b=isDefaultMode?"":"opacity: 0.002!important;",w=i;if(facebookChatSettings.instagram&&facebookChatSettings.instagram.username&&(w+=isDefaultMode?65:55),n+=`<style class="OMG-style-button" type='text/css'>\n .otFacbookChat .available-work-container {\n left: ${f};\n bottom: ${i+c+6}px !important;\n }\n \n .otFacbookChat .omg-contact-info {\n left: ${m};\n bottom: ${i+c+6}px !important;\n }\n \n .otFacbookChat .fb_dialog .fb_dialog_content iframe {\n ${b}\n }\n\n .fb-customerchat.fb_iframe_widget iframe {\n bottom: ${i+c}px !important;\n }\n \n .OMG-instagram-icon {\n bottom: ${i}px !important;\n left: ${u}px !important;\n }\n \n .OMG-instagram-hover {\n bottom: ${w+16}px !important;\n }\n \n .facebook-chat-button-custom,\n .ot-fb-logo.facebook-chat-button,\n .fb_dialog .fb_dialog_content iframe,\n .fb_dialog .fb_dialog_content > div,\n .OMG-FB-Chat > div[id] {\n bottom: ${i}px !important;\n left: ${l}px !important;\n }\n \n .ot-fb-logo.facebook-chat-button {\n direction: ${a>50?"rtl":"ltr"};\n }\n \n @media screen and (max-width: 1025px) {\n .fb-customerchat.fb_iframe_widget iframe {\n left: auto !important;\n bottom: ${i+50}px !important;\n ${s}\n }\n \n .fb_dialog .fb_dialog_content iframe,\n .fb_dialog .fb_dialog_content #_no-clickjacking-0,\n .fb_dialog .fb_dialog_content #_no-clickjacking-1 {\n ${s}\n }\n \n .fb_dialog.fb_dialog_mobile {\n bottom: ${i}px!important;\n }\n }\n \n ${o}\n </style>`,window.OMGFBJquery(".otFacbookChat").append(n),t>=1025)window.OMGFBJquery((function(){const t=window.OMGFBJquery(".fb_dialog .fb_dialog_content iframe, .ot-fb-logo, .OMG-instagram-icon"),e=window.OMGFBJquery(".OMG-instagram-icon");window.OMGFBJquery(t).hover((function(){e.addClass("OMG-instagram-hover")}),(function(){e.removeClass("OMG-instagram-hover")}))}));else{const t=window.OMGFBJquery(".fb_dialog .fb_dialog_content iframe, .ot-fb-logo, .OMG-instagram-icon");window.OMGFBJquery(".OMG-instagram-icon").addClass("OMG-instagram-hover"),t.off("hover")}clearInterval(e)}},50)}function closeNotAvailableOpt(){window.OMGFBJquery(".available-work-container").removeClass("ot-fb-flex").addClass("ot-fb-hide")}function submitEmailForm(){const t=window.OMGFBJquery(".fb-email-form__email input").val(),e=window.OMGFBJquery(".fb-email-form__subject input").val(),o=window.OMGFBJquery(".fb-email-form__textarea textarea").val();return new Promise(n=>{window.OMGFBJquery.ajax({url:window.rootLinkChat+"backend/storefront/facebook-message.php",data:{email:t,subject:e,message:o,action:"sendMessage",shop:shopFbChat},dataType:"JSON",type:"POST"}).done((function(t){}))})}function fbMessageNotAvailable(){window.OMGFBJquery(document).on("click","#unavailable-working-fb-chat",(function(){process
823FbBoxChat("not-available")}))}function trackingFrontWidgetCampaign(t){return new Promise(e=>{window.OMGFBJquery.ajax({url:window.rootLinkChat+"backend/storefront/facebook-message.php",data:{action:"trackingFrontWidgetCampaign",type:t,shop:shopFbChat},dataType:"JSON",type:"POST"}).done((function(t){}))})}function processFbBoxChat(t="",e=!1){window.OMGFBJquery("#fb-root").addClass("ot-fb-show").removeClass("ot-fb-hide"),"not-available"===t&&closeNotAvailableOpt();const o=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe");if(windowWidth<1025&&!e){if(window.OMGFBJquery(".ot-fb-logo.redirect_icon").length>0){let t=facebookChatSettings.page_info.id;window.open("https://www.messenger.com/t/"+t,"_blank")}trackingFrontWidgetCampaign("click_showFBMessageBox")}else window.OMGFBJquery(".fb-customerchat").children().length||(FB.Event.subscribe("customerchat.show",processShowDialog("callToGetPopup",e)),window.OMGFBisGetPopup="getPopup"),o.hasClass("fb_customer_chat_bounce_out_v2")||!o.hasClass("fb_customer_chat_bounce_out_v2")&&!o.hasClass("fb_customer_chat_bounce_in_v2")?FB.Event.subscribe("customerchat.show",processShowDialog(OMGFBisGetPopup,e)):FB.Event.subscribe("customerchat.hide",processHideDialog(OMGFBisGetPopup)),trackingFrontWidgetCampaign("click_showFBMessageBox")}function processShowDialog(t="",e){!t&&FB.CustomerChat&&FB.CustomerChat.show(!0),"callToGetPopup"==t&&FB.XFBML.parse(),(!e||windowWidth>1024)&&omgFBAddRemoveClassShowHide()}function processHideDialog(t=""){!t&&FB.CustomerChat&&FB.CustomerChat.hideDialog(),omgFBAddRemoveClassShowHide("remove")}function omgFBAddRemoveClassShowHide(t="add"){const e="remove"===t?"0":"calc(100% - 80px)",o="remove"===t?"fb_customer_chat_bounce_out_v2":"fb_customer_chat_bounce_in_v2",n="remove"===t?"fb_customer_chat_bounce_in_v2":"fb_customer_chat_bounce_out_v2",a=setInterval(()=>{let i=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe");i.length&&("add"===t&&setTimeout(()=>{i=window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe"),"fb_bounce_in_v2"===i.css("animation-name")&&i.width()>247&&i.addClass("omg-fb-set-height")},250),i.css("max-height",e),i.removeClass(n).addClass(o),clearInterval(a))},50)}function omgContentWelcomePopup(t){let e="omg-welcome-popup-button-round-rectangle";1===Number(welcomePopupWidgetSettings.call_action_shape)&&(e="omg-welcome-popup-button-pill"),2===Number(welcomePopupWidgetSettings.call_action_shape)&&(e="omg-welcome-popup-button-rectangle");let o=`\n <div class="omg-welcome-popup ${t?"ot-fb-hide":""}">\n <div class="omg-welcome-overlay"></div>\n <div \n class="omg-welcome-popup-content omg-welcome-popup-position-${welcomePopupWidgetSettings.position_popup}" \n style="background: ${welcomePopupWidgetSettings.background_popup.color} url('${welcomePopupWidgetSettings.background_popup.url_image}') no-repeat center center;background-size: cover;"\n >\n <div class="omg-welcome-popup-close" style="background: ${welcomePopupWidgetSettings.custom_icon_close.background};">\n <svg \n fill="${welcomePopupWidgetSettings.custom_icon_close.color}
823" \n viewBox="0 0 20 20" \n focusable="false" \n aria-hidden="true"\n >\n <path d="m11.414 10 6.293-6.293a1 1 0 1 0-1.414-1.414L10 8.586 3.707 2.293a1 1 0 0 0-1.414 1.414L8.586 10l-6.293 6.293a1 1 0 1 0 1.414 1.414L10 11.414l6.293 6.293A.998.998 0 0 0 18 17a.999.999 0 0 0-.293-.707L11.414 10z"></path>\n </svg>\n </div>\n <div class="omg-welcome-popup-logo">\n <img src="${welcomePopupWidgetSettings.url_logo.url_image?welcomePopupWidgetSettings.url_logo.url_image:rootLinkChat+"admin/src/assets/img/ot-logo-default.png"}">\n </div>\n <div class="omg-welcome-popup-header">\n <div class="omg-welcome-popup-title1" style="color: ${welcomePopupWidgetSettings.top_heading.color};"></div>\n <div class="omg-welcome-popup-title2" style="color: ${welcomePopupWidgetSettings.heading_hightlight.color};"></div>\n <div class="omg-welcome-popup-title3" style="color: ${welcomePopupWidgetSettings.bottom_text.color};"></div>\n </div>\n <button \n type="button" \n class="omg-welcome-popup-button ${e}" \n style="background-color: ${welcomePopupWidgetSettings.button_heading.background}; color: ${welcomePopupWidgetSettings.button_heading.color};"\n >\n <a \n style="color: ${welcomePopupWidgetSettings.button_heading.color};" \n href="https://m.me/${facebookChatSettings.page_info.id}?ref=${refWelcomePopupWidget}" \n target="_blank" \n data-source="welcome_popup"\n class="omg-welcome-popup-link"\n >\n <svg viewBox="0 0 22.677 22.68" style="fill: ${welcomePopupWidgetSettings.button_heading.color};">\n <path id="Path_24" data-name="Path 24" d="M452.074-752.626v-2.158a2.256,2.256,0,0,0,.051-.22,10.527,10.527,0,0,1,6.75-8.859,11.815,11.815,0,0,1,7.075-.6,10.824,10.824,0,0,1,6.068,3.436,10.7,10.7,0,0,1,2.695,8.235,10.423,10.423,0,0,1-3.221,6.914,11.445,11.445,0,0,1-8.144,3.174,11.793,11.793,0,0,1-3.225-.436.957.957,0,0,0-.577.035c-.794.331-1.575.693-2.361,1.043h-.568a1,1,0,0,1-.642-1.005c0-.481-.056-.964-.039-1.444a1.615,1.615,0,0,0-.564-1.323,10.313,10.313,0,0,1-3.111-5.7C452.19-751.9,452.136-752.264,452.074-752.626Zm9.344-3.92a1.586,1.586,0,0,0-1.505.8c-.6.949-1.2,1.9-1.8,2.854-.479.76-.966,1.514-1.428,2.284a.775.775,0,0,0-.1.545c.113.388.528.457.9.172,1.086-.821,2.165-1.65,3.25-2.472.548-.416.755-.4,1.3.02.794.61,1.587,1.224,2.4,1.8a1.676,1.676,0,0,0,2.478-.526q1.146-1.825,2.294-3.649c.321-.512.643-1.025.95-1.546a.5.5,0,0,0-.055-.653.5.5,0,0,0-.654-.044,5.373,5.373,0,0,0-.44.311c-1.017.77-2.029,1.547-3.051,2.311a.719.719,0,0,1-1.032.005c-.824-.6-1.637-1.22-2.453-1.833A1.546,1.546,0,0,0,461.418-756.546Z" transform="translate(-452.074 764.745)"></path>\n </svg>\n </a>\n </button>\n <div class="omg-welcome-popup-bottom" style="color: ${welcomePopupWidgetSettings.desccription_text.color};"></div>\n </div>\n </div>\n `;const n=()=>{t||localStorage.setItem(shopFbChat+"_omgfbc_welcome_popup",!0),OMGFBJquery(".omg-welcome-popup").addClass("ot-fb-hide")};OMGFBJquery(document).on("click",".omg-welcome-overlay",()=>{OMGFBJquery(".omg-welcome-popup").addClass("ot-fb-hide")}),OMGFBJquery(document).on("click",".omg-welcome-popup-button",()=>{trackingFrontWidgetCampaign("click_WelcomePopupWidget"),n()}),OMGFBJquery(document).on("click",".omg-welcome-popup-close",()=>{n()});const a=setInterval(()=>{OMGFBJquery(".omg-welcome-popup-title1")&&OMGFBJquery(".omg-welcome-popup-title1").length&&(OMGFBJquery(".omg-welcome-popup-title1").text("\n "+(1==welcomePopupWidgetSettings.with_discount_code?welcomePopupWidgetSettings.top_heading.text_discount:welcomePopupWidgetSettings.top_heading.text)),OMGFBJquery(".omg-welcome-popup-title2").text("\n "+(1==welcomePopupWidgetSettings.with_discount_code?welcomePopupWidgetSettings.heading_hightlight.text_discount.replace("{discount_value}",welcomePopupWidgetSettings.discount_code.value):welcomePopupWidgetSettings.heading_hightlight.text)),OMGFBJquery(".omg-welcome-popup-title3").text("\n "+(1==welcomePopupWidgetSettings.with_discount_code?welcomePopupWidgetSettings.bottom_text.text_discount:welcomePopupWidgetSettings.bottom_text.text)),OMGFBJquery(".omg-welcome-popup-link").text("\n "+(1==welcomePopupWidgetSettings.with_discount_code?welcomePopupWidgetSettings.button_heading.text_discount.replace("{discount_value}",welcomePopupWidgetSettings.discount_code.value):welcomePopupWidgetSettings.button_heading.text)),OMGFBJquery(".omg-welcome-popup-bottom").text("\n "+(1==welcomePopupWidgetSettings.with_discount_code?welcomePopupWidgetSettings.desccription_text.text_discount:welcomePopupWidgetSettings.desccription_text.text)),clearInterval(a))});return o}function omgContentContactInfo(){const t=availableWorkingTime(contactInfoSettings,"contact"),e=availableWorkingTime(facebookChatSettings);if(t&&!Number(contactInfoSettings.working_time.status)){if(isNotAvailableWork)return window.OMGFBJquery(".ot-fb-logo").remove(),window.OMGFBJquery("#fb-root").remove(),window.OMGFBJquery(".facebook-chat-button-custom").remove(),"";if(window.OMGFBJquery(".ot-fb-logo, .facebook-chat-button-custom, .fb_dialog_content iframe").addClass("ot-fb-hide"),0==parseInt(facebookChatSettings.show_after))window.OMGFBJquery(".ot-fb-logo, .facebook-chat-button-custom, .fb_dialog_content iframe").removeClass("ot-fb-hide");else{const t=parseInt(facebookChatSettings.show_after)>5?1e3*parseInt(facebookChatSettings.show_after):5e3;window.OMGFBJquery("#fb-root").addClass("ot-fb-hide"),setTimeout((function(){window.OMGFBJquery("#fb-root").removeClass("ot-fb-hide"),window.OMGFBJquery(".ot-fb-logo, .facebook-chat-button-custom, .fb_dialog_content iframe").removeClass("ot-fb-hide")}),t)}return trackingFrontWidgetCampaign("show_IconFbLiveChat"),""}isAvailableWorkContact=!0,trackingFrontWidgetCampaign("impression_getContactInfor"),window.OMGFBJquery(document).on("click",".ot-fb-logo, .facebook-chat-button-custom",(function(){trackingFrontWidgetCampaign("click_getContactInfor"),window.OMGFBJquery(".omg-contact-info").hasClass("ot-fb-hide")?window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe").hasClass("fb_customer_chat_bounce_in_v2")?process
823FbBoxChat("not-available"):window.OMGFBJquery(".omg-contact-info").removeClass("ot-fb-hide"):OMGFBJquery(".omg-contact-info").addClass("ot-fb-hide")})),window.OMGFBJquery(document).on("click",".otFacbookChat .omg-contact-info-button-link",()=>{if(windowWidth<1025&&"1"==facebookChatSettings.chat_type){let t=facebookChatSettings.page_info.id;window.open("https://www.messenger.com/t/"+t,"_blank")}});let o=`\n <div class="omg-contact-info ot-fb-hide">\n <div \n class="omg-contact-info-content" \n >\n <div class="omg-contact-info-header">\n <div class="omg-contact-info-title1" style="color: ${contactInfoSettings.subject_settings.color};"></div>\n <div class="omg-contact-info-title2"></div>\n </div>\n <form class="omg-contact-info-form" id="omg-contact-info-form" onsubmit="sendContactInfo(event)">`;if(contactInfoSettings.form_builder.email&&Number(contactInfoSettings.form_builder.email.checked)&&(o+=`<div class="omg-contact-info-email">\n <svg fill="#458FFF" viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m17.707 9.293-5-5a.999.999 0 1 0-1.414 1.414L14.586 9H3a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a.999.999 0 0 0 0-1.414z"></path></svg>\n <input type="email" pattern="^[^(\\.)][a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}" id="omg-info-email" placeholder="${contactInfoSettings.form_builder.email.field_text}" required="required"></div>`),contactInfoSettings.form_builder.phone&&Number(contactInfoSettings.form_builder.phone.checked)&&(o+=`<div class="omg-contact-info-phone">\n <svg fill="#458FFF" viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m17.707 9.293-5-5a.999.999 0 1 0-1.414 1.414L14.586 9H3a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a.999.999 0 0 0 0-1.414z"></path></svg>\n <input type="number" id="omg-info-phone" placeholder="${contactInfoSettings.form_builder.phone.field_text}" required="required"></div>`),contactInfoSettings.form_builder.message&&Number(contactInfoSettings.form_builder.message.checked)&&(o+=`<div class="omg-contact-info-message">\n <svg fill="#458FFF" viewBox="0 0 20 20" class="Polaris-Icon__Svg" focusable="false" aria-hidden="true"><path d="m17.707 9.293-5-5a.999.999 0 1 0-1.414 1.414L14.586 9H3a1 1 0 1 0 0 2h11.586l-3.293 3.293a.999.999 0 1 0 1.414 1.414l5-5a.999.999 0 0 0 0-1.414z"></path></svg>\n <textarea type="text" id="omg-info-message" placeholder="${contactInfoSettings.form_builder.message.field_text}"></textarea></div>`),o+=`<button \n type="submit" \n class="omg-contact-info-button"\n style="color: ${contactInfoSettings.button_settings.text_color};background-color: ${contactInfoSettings.button_settings.background_color}"\n >\n Send\n </button>\n </form>`,!facebookChatSettings.hasOwnProperty("enable_fb_chat_btn")||facebookChatSettings.enable_fb_chat_btn&&Number(facebookChatSettings.enable_fb_chat_btn)&&!e){const t='<button \n type="button" \n class="omg-contact-info-button-link" \n onclick="showFbChat()"\n >\n <span style="--c:1;">C</span>\n <span style="--c:2;">h</span>\n <span style="--c:3;">a</span>\n <span style="--c:4;">t</span>\n <span class="contact-chat-space"></span>\n <span style="--c:5;">w</span>\n <span style="--c:6;">i</span>\n <span style="--c:7;">t</span>\n <span style="--c:8;">h</span>
823\n <span class="contact-chat-space"></span>\n <span style="--c:9;">m</span>\n <span style="--c:10;">e</span>\n <span style="--c:11;">s</span>\n <span style="--c:12;">s</span>\n <span style="--c:13;">e</span>\n <span style="--c:14;">n</span>\n <span style="--c:15;">g</span>\n <span style="--c:16;">e</span>\n <span style="--c:17;">r</span>\n </button>';if(parseInt(facebookChatSettings.show_after)){const e=parseInt(facebookChatSettings.show_after)>5?1e3*parseInt(facebookChatSettings.show_after):5e3;setTimeout((function(){OMGFBJquery(".omg-contact-info-content").append(t)}),e)}else o+=""+t;o+="</div>\n </div>",trackingFrontWidgetCampaign("show_IconFbLiveChat")}else{getStyleCustom(),window.OMGFBJquery(window).resize(()=>{window.OMGFBJquery(window).width()!=windowWidth&&getStyleCustom(document.body.clientWidth)}),o+="</div></div>",o+=makeHtml("contact");const t=()=>{if(window.OMGFBJquery(".ot-fb-logo").length){facebookChatSettings.position>50?window.OMGFBJquery(".icon-text-content").addClass("icon-text-content-left"):window.OMGFBJquery(".icon-text-content").addClass("icon-text-content-right")}else setTimeout(()=>{t()},10)};t()}o+='<div class="omg-contact-notification-send"></div>',checkMobileShowContact();const n=setInterval(()=>{OMGFBJquery(".omg-contact-info-title1")&&OMGFBJquery(".omg-contact-info-title1").length&&(OMGFBJquery(".omg-contact-info-title1").text(contactInfoSettings.subject_settings.text),OMGFBJquery(".omg-contact-info-title2").text(""+contactInfoSettings.message),clearInterval(n))});return o}function sendContactInfo(t){t.preventDefault(),window.OMGFBJquery(".omg-contact-info-button").addClass("omg-loading-button");const e=document.getElementById("omg-info-email"),o=document.getElementById("omg-info-phone"),n=document.getElementById("omg-info-message");let a="",i="",s="";return e&&(a=e.value.trim()),o&&(i=o.value.trim()),n&&(s=n.value.trim()),new Promise(t=>{window.OMGFBJquery.ajax({url:window.rootLinkChat+"backend/storefront/facebook-message.php",data:{action:"saveContactInformation",shop:shopFbChat,contactInfo:{email:a,phone:i,message:s}},dataType:"JSON",type:"POST"}).done(()=>{setTimeout(()=>{window.OMGFBJquery(".omg-contact-info-button").removeClass("omg-loading-button"),OMGFBJquery(".omg-contact-info").addClass("ot-fb-hide"),e&&(e.value=""),o&&(o.value=""),n&&(n.value=""),window.OMGFBJquery(".omg-contact-notification-send").html("Your contact infomation is send successfully."),window.OMGFBJquery(".omg-contact-notification-send").animate({bottom:24},400),setTimeout(()=>{window.OMGFBJquery(".omg-contact-notification-send").animate({bottom:-60},400)},3e3)},300)}).fail(()=>{setTimeout(()=>{window.OMGFBJquery(".omg-contact-info-button").removeClass("omg-loading-button"),OMGFBJquery(".omg-contact-info").addClass("ot-fb-hide"),window.OMGFBJquery(".omg-contact-notification-send").html("Your contact infomation is send successfully."),window.OMGFBJquery(".omg-contact-notification-send").animate({bottom:24},400),setTimeout(()=>{window.OMGFBJquery(".omg-contact-notification-send").animate({bottom:-60},400)},3e3)},300)})})}function checkMobileShowContact(){setInterval(()=>{window.OMGFBJquery(".fb-customerchat.fb_invisible_flow.fb_iframe_widget iframe").hasClass("fb_mpn_mobile_bounce_out")&&window.OMGFBJquery("#fb-root").removeClass("ot-fb-show").addClass("ot-fb-hide")},50)}function showFbChat(){window.OMGFBJquery(".OMG-FB-Chat > div[id]").length?(isClickLoadingCustom=!0,window.OMGFBJquery(".omg-contact-info-button-link").addClass("ot-fb-logo-loading")):(window.OMGFBJquery(".omg-contact-info-button-link").removeClass("ot-fb-logo-loading"),window.OMGFBJquery(".omg-contact-info").addClass("ot-fb-hide"),window.OMGFBJquery("#fb-root").removeClass("ot-fb-hide"),processFbBoxChat("",!0))} 824</script>
824 825 <!-- "snippets/hulkcode_common.liquid" was not rendered, the associated app was uninstalled -->
825<script src='https://ha-product-option.nyc3.digitaloceanspaces.com/assets/api/v2-beta/hulkcode.js?1791310237' defer='defer'></script>
825<!-- BEGIN app block: shopify://apps/pagefly-ai-page-builder/blocks/app-embed/83e179f7-59a0-4589-8c66-c0dddf959200 --> 826 827<!-- BEGIN app snippet: pagefly-cro-ab-testing-main --> 828 829 830 831 832 833 834
835<script> 836 ;(function () { 837 const url = new URL(window.location) 838 const viewParam = url.searchParams.get('view') 839 if (viewParam && viewParam.includes('variant-pf-')) { 840 url.searchParams.set('pf_v', viewParam) 841 url.searchParams.delete('view') 842 window.history.replaceState({}, '', url) 843 } 844 })() 845</script>
845 846 847 848
849<script type='module'> 850 851 window.PAGEFLY_CRO = window.PAGEFLY_CRO || {} 852 853 window.PAGEFLY_CRO['data_debug'] = { 854 original_template_suffix: "home", 855 allow_ab_test: false, 856 ab_test_start_time: 0, 857 ab_test_end_time: 0, 858 today_date_time: 1791310237000, 859 } 860 window.PAGEFLY_CRO['GA4'] = { enabled: false} 861</script>
861 862 863<!-- END app snippet --> 864 865 866 867 868 869 870 871 872
872<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-helper.js' defer='defer'></script>
872 873 874
874<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-general-helper.js' defer='defer'></script>
874 875 876
876<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-snap-slider.js' defer='defer'></script>
876 877 878
878<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-slideshow-v3.js' defer='defer'></script>
878 879 880
880<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-slideshow-v4.js' defer='defer'></script>
880 881 882
882<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-glider.js' defer='defer'></script>
882 883 884
884<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-slideshow-v1-v2.js' defer='defer'></script>
884 885 886
886<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-product-media.js' defer='defer'></script>
886 887 888
888<script src='https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-product.js' defer='defer'></script>
888 889 890
891<script id='pagefly-helper-data' type='application/json'> 892 { 893 "page_optimization": { 894 "assets_prefetching": false 895 }, 896 "elements_asset_mapper": { 897 "Accordion": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-accordion.js", 898 "Accordion3": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-accordion3.js", 899 "CountDown": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-countdown.js", 900 "GMap1": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-gmap.js", 901 "GMap2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-gmap.js", 902 "GMapBasicV2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-gmap.js", 903 "GMapAdvancedV2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-gmap.js", 904 "HTML.Video": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-htmlvideo.js", 905 "HTML.Video2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-htmlvideo2.js", 906 "HTML.Video3": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-htmlvideo2.js", 907 "BackgroundVideo": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-htmlvideo2.js", 908 "Instagram": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-instagram.js", 909 "Instagram2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-instagram.js", 910 "Insta3": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-instagram3.js", 911 "Tabs": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-tab.js", 912 "Tabs3": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-tab3.js", 913 "ProductBox": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-cart.js", 914 "FBPageBox2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-facebook.js", 915 "FBLikeButton2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-facebook.js", 916 "TwitterFeed2": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-twitter.js", 917 "Paragraph4": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-paragraph4.js", 918 919 "AliReviews": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 920 "BackInStock": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 921 "GloboBackInStock": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 922 "GrowaveWishlist": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 923 "InfiniteOptionsShopPad": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 924 "InkybayProductPersonalizer": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder
924-365/assets/pagefly-3rd-elements.js", 925 "LimeSpot": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 926 "Loox": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 927 "Opinew": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 928 "Powr": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 929 "ProductReviews": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 930 "PushOwl": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 931 "ReCharge": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 932 "Rivyo": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 933 "TrackingMore": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 934 "Vitals": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js", 935 "Wiser": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-3rd-elements.js" 936 }, 937 "custom_elements_mapper": { 938 "pf-click-action-element": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-click-action-element.js", 939 "pf-dialog-element": "https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-dialog-element.js" 940 } 941 } 942</script>
942 943
944<script id='pagefly-heatmap-config' type='application/json'> 945 {} 946</script>
vendor: 1 bytes, line 946
946
947<script> 948 (function () { 949 var el = document.getElementById('pagefly-heatmap-config') 950 if (!el) { window.__pagefly_heatmap_config__ = {}; return } 951 try { 952 window.__pagefly_heatmap_config__ = JSON.parse(el.textContent || '{}') || {} 953 } catch (e) { 954 window.__pagefly_heatmap_config__ = {} 955 } 956 })() 957</script>
vendor: 1 bytes, line 957
957
958<script> 959 // Heatmap overlay loader. Three gates, all of them cheap, none of them trusting the URL: 960 // the visitor must have arrived on a pf_heatmap link, the SERVER must have published an 961 // overlay path in the metafield, and this page must already be one the merchant enabled 962 // tracking for. The last gate is what stops a crafted link pulling the asset onto an 963 // arbitrary storefront page. Everything else is decided inside the asset, and by the server. 964 (function () { 965 var cfg = window.__pagefly_heatmap_config__ || {} 966 var id = (window.__pagefly_page_setting__ || {}).pageId 967 if (!/[#&]pf_heatmap=/.test(window.location.hash || '')) return 968 if (!cfg.overlay_data_path || !Array.isArray(cfg.enabled_page_ids)) return 969 if (!id || cfg.enabled_page_ids.indexOf(id) === -1) return 970 var s = document.createElement('script') 971 s.src = 'https://cdn.shopify.com/extensions/01a1102e-abc4-7058-b822-9148a1b93229/pagefly-ai-page-builder-365/assets/pagefly-heatmap-overlay.js' 972 s.defer = true 973 document.head.appendChild(s) 974 })() 975</script>
975 976 977<!-- BEGIN app snippet: pf-ai-schema --> 978<!-- END app snippet --> 979 980 981<!-- END app block --><!-- BEGIN app block: shopify://apps/ymq-product-options/blocks/app-embed/86b91121-1f62-4e27-9812-b70a823eb918 --> 982 <!-- BEGIN app snippet: option.v1 -->
982<script> 983 function before_page_load_function(e,t=!1){var o=[],n=!1;if(e.items.forEach((e=>{e.properties&&(e.properties.hasOwnProperty("_YmqOptionVariant")||e.properties.hasOwnProperty("_YmqItemHide"))?(n=!0,o.push(0)):o.push(e.quantity)})),n){if(t)(t=document.createElement("style")).id="before-page-load-dom",t.type="text/css",t.innerHTML="html::before{content: ' ';width: 100%;height: 100%;background-color: #fff;position: fixed;top: 0;left: 0;z-index: 999999;display:block !important;}",document.getElementsByTagName("html").item(0).appendChild(t);fetch(`/cart/update.js?timestamp=${Date.now()}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({updates:o})}).then((e=>e.json())).then((e=>{location.reload()})).catch((e=>{t&&document.getElementById("before-page-load-dom").remove()}))}}before_page_load_function({"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"MYR","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0},!0),fetch(`/cart.js?timestamp=${Date.now()}`,{method:"GET"}).then((e=>e.json())).then((e=>{before_page_load_function(e)})); 984</script>
984 985 986 987 <style id="ymq-checkout-button-protect"> 988 [name="checkout"],[name="chekout"], a[href^="/checkout"], a[href="/account/login"].cart__submit, button[type="submit"].btn-order, a.btn.cart__checkout, a.cart__submit, .wc-proceed-to-checkout button, #cart_form .buttons .btn-primary, .ymq-checkout-button{ 989 pointer-events: none; 990 } 991 </style> 992
992<script> 993 function ymq_ready(fn){ 994 if(document.addEventListener){ 995 document.addEventListener('DOMContentLoaded',function(){ 996 document.removeEventListener('DOMContentLoaded',arguments.callee,false); 997 fn(); 998 },false); 999 }else if(document.attachEvent){ 1000 document.attachEvent('onreadystatechange',function(){ 1001 if(document.readyState=='complete'){ 1002 document.detachEvent('onreadystatechange',arguments.callee); 1003 fn(); 1004 } 1005 }); 1006 } 1007 } 1008 ymq_ready(() => { 1009 setTimeout(function() { 1010 var ymq_checkout_button_protect = document.getElementById("ymq-checkout-button-protect"); 1011 ymq_checkout_button_protect.remove(); 1012 }, 100); 1013 }) 1014 </script>
1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034<link href='https://cdn.shopify.com/s/files/1/0411/8639/4277/t/11/assets/ymq-option.css?v=1.1' rel='stylesheet' type="text/css" media="all"> 1035 1036<link href='https://option.ymq.cool/option/bottom.css' rel='stylesheet' type="text/css" media="all"> 1037 1038 1039<style id="ymq-jsstyle"></style> 1040 1041<style id="bndlr-loaded"></style> 1042
1043<script data-asyncLoad="asyncLoad" data-mw4M5Ya3iFNARE4t="mw4M5Ya3iFNARE4t"> 1044 1045 window.bundlerLoaded = true; 1046 1047 window.ymq_option = window.ymq_option || {}; 1048 1049 ymq_option.shop = `wisefreshfoods.myshopify.com`; 1050 1051 ymq_option.version = 1; 1052 1053 ymq_option.token = `595c0feb4fe2ec05ab3ab2ffd3d1b6b05f18afff83988f46f04caad825221d47`; 1054 1055 ymq_option.timestamp = `1791310237`; 1056 1057 ymq_option.customer_id = ``; 1058 1059 ymq_option.page = `index`; 1060 1061 ymq_option.cart = {"note":null,"attributes":{},"original_total_price":0,"total_price":0,"total_discount":0,"total_weight":0.0,"item_count":0,"items":[],"requires_shipping":false,"currency":"MYR","items_subtotal_price":0,"cart_level_discount_applications":[],"checkout_charge_amount":0}; 1062 1063 ymq_option.country = { 1064 iso_code: `MY`, 1065 currency: `MYR`, 1066 name: `Malaysia` 1067 }; 1068 1069 1070 ymq_option.ymq_option_branding = {}; 1071 1072 ymq_option.ymq_option_branding = {"button":{"--button-background-checked-color":"#000000","--button-background-color":"#FFFFFF","--button-background-disabled-color":"#FFFFFF","--button-border-checked-color":"#000000","--button-border-color":"#000000","--button-border-disabled-color":"#000000","--button-font-checked-color":"#FFFFFF","--button-font-disabled-color":"#cccccc","--button-font-color":"#000000","--button-border-radius":"4","--button-font-size":"16","--button-line-height":"20","--button-margin-l-r":"4","--button-margin-u-d":"4","--button-padding-l-r":"16","--button-padding-u-d":"10"},"radio":{"--radio-border-color":"#BBC1E1","--radio-border-checked-color":"#BBC1E1","--radio-border-disabled-color":"#BBC1E1","--radio-border-hover-color":"#BBC1E1","--radio-background-color":"#FFFFFF","--radio-background-checked-color":"#275EFE","--radio-background-disabled-color":"#E1E6F9","--radio-background-hover-color":"#FFFFFF","--radio-inner-color":"#E1E6F9","--radio-inner-checked-color":"#FFFFFF","--radio-inner-disabled-color":"#FFFFFF"},"input":{"--input-background-checked-color":"#FFFFFF","--input-background-color":"#FFFFFF","--input-border-checked-color":"#000000","--input-border-color":"#717171","--input-font-checked-color":"#000000","--input-font-color":"#000000","--input-border-radius":"4","--input-font-size":"14","--input-padding-l-r":"16","--input-padding-u-d":"9","--input-width":"100","--input-max-width":"400"},"select":{"--select-border-color":"#000000","--select-border-checked-color":"#000000","--select-background-color":"#FFFFFF","--select-background-checked-color":"#FFFFFF","--select-font-color":"#000000","--select-font-checked-color":"#000000","--select-option-background-color":"#FFFFFF","--select-option-background-checked-color":"#F5F9FF","--select-option-background-disabled-color":"#FFFFFF","--select-option-font-color":"#000000","--select-option-font-checked-color":"#000000","--select-option-font-disabled-color":"#CCCCCC","--select-padding-u-d":"9","--select-padding-l-r":"16","--select-option-padding-u-d":"9","--select-option-padding-l-r":"16","--select-width":"100","--select-max-width":"400","--select-font-size":"14","--select-border-radius":"0"},"multiple":{"--multiple-background-color":"#F5F9FF","--multiple-font-color":"#000000","--multiple-padding-u-d":"2","--multiple-padding-l-r":"8","--multiple-font-size":"12","--multiple-border-radius":"0"},"img":{"--img-border-color":"#E1E1E1","--img-border-checked-color":"#000000","--img-border-disabled-color":"#000000","--img-width":"50","--img-height":"50","--img-margin-u-d":"2","--img-margin-l-r":"2","--img-border-radius":"4"},"upload":{"--upload-background-color":"#409EFF","--upload-font-color":"#FFFFFF","--upload-border-color":"#409EFF","--upload-padding-u
1072-d":"12","--upload-padding-l-r":"20","--upload-font-size":"12","--upload-border-radius":"4"},"cart":{"--cart-border-color":"#000000","--buy-border-color":"#000000","--cart-border-hover-color":"#000000","--buy-border-hover-color":"#000000","--cart-background-color":"#000000","--buy-background-color":"#000000","--cart-background-hover-color":"#000000","--buy-background-hover-color":"#000000","--cart-font-color":"#FFFFFF","--buy-font-color":"#FFFFFF","--cart-font-hover-color":"#FFFFFF","--buy-font-hover-color":"#FFFFFF","--cart-padding-u-d":"12","--cart-padding-l-r":"16","--buy-padding-u-d":"12","--buy-padding-l-r":"16","--cart-margin-u-d":"4","--cart-margin-l-r":"0","--buy-margin-u-d":"4","--buy-margin-l-r":"0","--cart-width":"100","--cart-max-width":"800","--buy-width":"100","--buy-max-width":"800","--cart-font-size":"14","--cart-border-radius":"0","--buy-font-size":"14","--buy-border-radius":"0"},"quantity":{"--quantity-border-color":"#A6A3A3","--quantity-font-color":"#000000","--quantity-background-color":"#FFFFFF","--quantity-width":"150","--quantity-height":"40","--quantity-font-size":"14","--quantity-border-radius":"0"},"global":{"--global-title-color":"#000000","--global-help-color":"#000000","--global-error-color":"#DC3545","--global-title-font-size":"14","--global-help-font-size":"12","--global-error-font-size":"12","--global-margin-top":"0","--global-margin-bottom":"20","--global-margin-left":"0","--global-margin-right":"0","--global-title-margin-top":"0","--global-title-margin-bottom":"5","--global-title-margin-left":"0","--global-title-margin-right":"0","--global-help-margin-top":"5","--global-help-margin-bottom":"0","--global-help-margin-left":"0","--global-help-margin-right":"0","--global-error-margin-top":"5","--global-error-margin-bottom":"0","--global-error-margin-left":"0","--global-error-margin-right":"0"},"discount":{"--new-discount-normal-color":"#1878B9","--new-discount-error-color":"#E22120","--new-discount-layout":"flex-end"},"lan":{"require":"This is a required field.","email":"Please enter a valid email address.","phone":"Please enter the correct phone.","number":"Please enter an number.","integer":"Please enter an integer.","min_char":"Please enter no less than %s characters.","max_char":"Please enter no more than %s characters.","max_s":"Please choose less than %s options.","min_s":"Please choose more than %s options.","total_s":"Please choose %s options.","min":"Please enter no less than %s.","max":"Please enter no more than %s.","currency":"MYR","sold_out":"sold out","please_choose":"Please choose","add_to_cart":"ADD TO CART","buy_it_now":"BUY IT NOW","add_price_text":"Selection will add %s to the price","discount_code":"Discount code","application":"Apply","discount_error1":"Enter a valid discount code","discount_error2":"discount code isn't valid for the items in your cart"},"price":{"--price-border-color":"#000000","--price-background-color":"#FFFFFF","--price-font-color":"#000000","--price-price-font-color":"#03de90","--price-padding-u-d":"9","--price-padding-l-r":"16","--price-width":"100","--price-max-width":"400","--price-font-size":"14","--price-border-radius":"0"},"extra":{"is_show":"0","plan":1,"quantity-box":"0","price-value":"3,4,15,6,16,7","variant-original-margin-bottom":"15","strong-dorp-down":0,"radio-unchecked":"0","close-cart-rate":1,"automic-swatch-ajax":1,"img-option-bigger":0,"add-button-reload":1,"version":200,"img_cdn":1,"show_wholesale_pricing_fixed":0,"real-time-upload":1,"buy-now-new":1,"option_value_split":", ","form-box-new":1,"bundle-variant-trigger-type":0,"automate_new":1,"make-sku":0}}; 1073 1074 1075 1076 1077 1078 1079 1080 ymq_option[`ymq_extra_0`] = {}; 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113</script>
vendor: 1 bytes, line 1113
1113
1114<script src="https://cdn.shopify.com/extensions/01a0fef4-4fc6-7acd-bb80-8832e87928dd/ymq-options-562/assets/spotlight.js" defer></script>
1114 1115 1116 1117
1117<script src="https://cdn.shopify.com/extensions/01a0fef4-4fc6-7acd-bb80-8832e87928dd/ymq-options-562/assets/ymq-option.js" defer></script>
1117 1118 1119<!-- END app snippet --> 1120 1121 1122<!-- END app block --><!-- BEGIN app block: shopify://apps/oxi-login-cartsync-wishlist/blocks/social-login-embed/24ad60bc-8f09-42fa-807e-e5eda0fdae17 --> 1123 1124 1125
1126<script> 1127 (function () { 1128 try { 1129 var oslShopReturn = new URL(window.location.href); 1130 if (oslShopReturn.searchParams.has('shop_sign_in') || oslShopReturn.searchParams.has('shop_consented_scopes')) { 1131 oslShopReturn.searchParams.delete('shop_sign_in'); 1132 oslShopReturn.searchParams.delete('shop_consented_scopes'); 1133 history.replaceState(null, '', oslShopReturn.pathname + oslShopReturn.search + oslShopReturn.hash); 1134 } 1135 } catch (e) {} 1136 window.OSL_WIDGET_VERSION_CLASS = 'oslv2'; 1137 })(); 1138</script>
1138<script> 1139 window.OSL_POPUP_LOGIN_CONFIG = window.OSL_POPUP_LOGIN_CONFIG || {}; 1140 window.OSL_POPUP_LOGIN_CONFIG.isNewCustomerAccounts = false; 1141 window.OSL_POPUP_LOGIN_CONFIG.isShopifyPlus = false; 1142 window.OSL_POPUP_LOGIN_CONFIG.loginRequiredAtCheckout = false; 1143 window.OSL_POPUP_LOGIN_CONFIG.nativeOtp = true; 1144 window.OSL_POPUP_LOGIN_CONFIG.registrationEnabled = false; 1145 window.OSL_POPUP_LOGIN_CONFIG.appUrl = 'https://osl-api.oxiapps.com'; 1146 window.OSL_POPUP_LOGIN_CONFIG.regionCountry = "MY"; 1147 window.OSL_WIDGET_HOST = 'https://social-login.oxiapps.com'; 1148 window.OSL_EMBED_CONFIG = { 1149 vt: 763256, 1150 shop: "wisefreshfoods.myshopify.com", 1151 customerLoggedIn: !!0,oslMinJsUrl: "https:\/\/cdn.shopify.com\/extensions\/01a0f778-da8e-7dcd-8534-0e174f9bc1e1\/oxi-social-login-159\/assets\/osl.min.js",remodalCssUrl: "https:\/\/cdn.shopify.com\/extensions\/01a0f778-da8e-7dcd-8534-0e174f9bc1e1\/oxi-social-login-159\/assets\/remodal.css" 1152 }; 1153 </script>
1153<script src="https://cdn.shopify.com/extensions/01a0f778-da8e-7dcd-8534-0e174f9bc1e1/oxi-social-login-159/assets/init.js" defer></script>
1153 1154 1155<!-- END app block --><meta property="og:image" content="https://cdn.shopify.com/s/files/1/2186/4513/files/social-media-image_3583c0ac-fd29-49cf-9a00-534e8487ac1f.jpg?v=1588371337" /> 1156<meta property="og:image:secure_url" content="https://cdn.shopify.com/s/files/1/2186/4513/files/social-media-image_3583c0ac-fd29-49cf-9a00-534e8487ac1f.jpg?v=1588371337" /> 1157<meta property="og:image:width" content="1200" /> 1158<meta property="og:image:height" content="628" /> 1159<link href="https://monorail-edge.shopifysvc.com" rel="dns-prefetch">
1160<script>(function(){if ("sendBeacon" in navigator && "performance" in window) {try {var session_token_from_headers = performance.getEntriesByType('navigation')[0].serverTiming.find(x => x.name == '_s').description;} catch {var session_token_from_headers = undefined;}var session_cookie_matches = document.cookie.match(/_shopify_s=([^;]*)/);var session_token_from_cookie = session_cookie_matches && session_cookie_matches.length === 2 ? session_cookie_matches[1] : "";var session_token = session_token_from_headers || session_token_from_cookie || "";function handle_abandonment_event(e) {var entries = performance.getEntries().filter(function(entry) {return /monorail-edge.shopifysvc.com/.test(entry.name);});if (!window.abandonment_tracked && entries.length === 0) {window.abandonment_tracked = true;var currentMs = Date.now();var navigation_start = performance.timing.navigationStart;var payload = {shop_id: 21864513,url: window.location.href,navigation_start,duration: currentMs - navigation_start,session_token,page_type: "index"};window.navigator.sendBeacon("https://monorail-edge.shopifysvc.com/v1/produce", JSON.stringify({schema_id: "online_store_buyer_site_abandonment/1.1",payload: payload,metadata: {event_created_at_ms: currentMs,event_sent_at_ms: currentMs}}));}}window.addEventListener('pagehide', handle_abandonment_event);}}());</script>
vendor: 1 bytes, line 1160
1160
1161<script> 1162 window.__TREKKIE_SHIM_QUEUE = window.__TREKKIE_SHIM_QUEUE || []; 1163</script>
vendor: 1 bytes, line 1163
1163
1164<script>(function(){var wpmLoader=function(){"use strict";var e=/Googlebot|Storebot-Google|bingbot|Baiduspider|YandexBot|DuckDuckBot|Slurp|facebookexternalhit|Twitterbot|LinkedInBot|Applebot|AdsBot-Google|Mediapartners-Google|APIs-Google|PetalBot|SemrushBot|AhrefsBot|MJ12bot|DotBot|Acunetix|PerplexityBot|Perplexity-User/i,t=/bytedance/i;function i(){try{var e=document.cookie;if(!e||"string"!=typeof e)return;for(var t=0,i=e.split(";");t<i.length;t++){var n=i[t],r=n.indexOf("=");if(-1!==r){var o=n.slice(0,r).trim();if(o){var a=void 0;try{a=decodeURIComponent(o)}catch(e){a=o}if("_shopify_s"===a){var d=n.slice(r+1).trim();try{return decodeURIComponent(d)}catch(e){return d}}}}}return}catch(e){return}}function n(e){try{"undefined"!=typeof console&&"function"==typeof console.warn&&console.warn(e)}catch(e){}}function r(e,t){return"string"==typeof e&&e.length>0&&e.length<=t?e:void 0}function o(e){var t;switch(null==(t=null==e?void 0:e.navigation)?void 0:t.type){case 0:return"navigate";case 1:return"reload";case 2:return"back_forward";default:return}}function a(){var e,t,i;try{var n=null==(i=null==(t=null==(e=self.ShopifyAnalytics)?void 0:e.lib)?void 0:t.trekkie)?void 0:i.state;return"awaiting-consent"===n||"initialized"===n?n:void 0}catch(e){return}}return function(d,s,u,l){var c=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};try{var p=c.trekkieShim;!0!==p&&"true"!==p||null!=window.__TREKKIE_SHIM_QUEUE||(window.__TREKKIE_SHIM_QUEUE=[])}catch(e){}var f,v,h,y,g=(v=(f={modern:/Edge?\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Firefox\/(1{2}[4-9]|1[2-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Chrom(ium|e)\/(9{2}|\d{3,})\.\d+(\.\d+|)|(Maci|X1{2}).+ Version\/(15\.\d+|(1[6-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(9{2}|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(15[._]\d+|(1[6-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|SamsungBrowser\/([2-9]\d|\d{3,})\.\d+/,legacy:/Edge?\/(1[6-9]|[2-9]\d|\d{3,})\.\d+(\.\d+|)|Firefox\/(5[4-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)|Chrom(ium|e)\/(5[1-9]|[6-9]\d|\d{3,})\.\d+(\.\d+|)([\d.]+$|.*Safari\/(?![\d.]+ Edge\/[\d.]+$))|(Maci|X1{2}).+ Version\/(10\.\d+|(1[1-9]|[2-9]\d|\d{3,})\.\d+)([,.]\d+|)( \(\w+\)|)( Mobile\/\w+|) Safari\/|Chrome.+OPR\/(3[89]|[4-9]\d|\d{3,})\.\d+\.\d+|(CPU[ +]OS|iPhone[ +]OS|CPU[ +]iPhone|CPU IPhone OS|CPU iPad OS)[ +]+(10[._]\d+|(1[1-9]|[2-9]\d|\d{3,})[._]\d+)([._]\d+|)|Android:?[ /-](14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})(\.\d+|)(\.\d+|)|Mobile Safari.+OPR\/([89]\d|\d{3,})\.\d+\.\d+|Android.+Firefox\/(15\d|1[6-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+Chrom(ium|e)\/(14[89]|1[5-9]\d|[2-9]\d{2}|\d{4,})\.\d+(\.\d+|)|Android.+(UC? ?Browser|UCWEB|U3)[ /]?(15\.([5-9]|\d{2,})|(1[6-9]|[2-9]\d|\d{3,})\.\d+)\.\d+|SamsungBrowser\/(5\.\d+|([6-9]|\d{2,})\.\d+)|Android.+MQ{2}Browser\/(14(\.(9|\d{2,})|)|(1[5-9]|[2-9]\d|\d{3,})(\.\d+|))(\.\d+|)|K[Aa][Ii]OS\/(3\.\d+|([4-9]|\d{2,})\.\d+)(\.\d+|)/}).modern,h=f.legacy,(y=navigator.userAgent).match(e)?"bot":y.match(v)?"modern":y.match(h)?"legacy":y.match(t)?"bot":"unknown"),m=function(e){var t,i,n=r(e,128);try{var a=window.performance,d=null==(t=null==a?void 0:a.getEntriesByType)?void 0:t.call(a,"navigation")[0];if(!d)return{requestId:n,navigationType:o(a)};var s="type"in d?r(d.type,64):void 0,u="serverTiming"in d&&Array.isArray(d.serverTiming)?d.serverTiming:[];return{requestId:null!=n?n:r(null==(i=u.find(function(e){return"requestID"===e.name}))?void 0:i.description,128),navigationType:s}}catch(e){return{requestId:n}}}(c.requestId),w=function(e){var t=e.version,r=e.browserTarget,o=e.surface,a=e.shopId,d=e.monorailEndpoint,s=window.location.href;return{emit:function(e){var u=e.status,l=e.errorMsg,c=e.failureReason,p=e.useKeepaliveFallback,f=void 0!==p&&p,v=e.navigationType,h=e.pagehidePersisted,y=e.requestId,g=e.trekkieState;if(d){var m,w;try{var b=(new Date).getTime();m=JSON.stringify({metadata:{event_sent_at_ms:b},events:[{schema_id:"web_pixels_manager_load/3.3",payload:{version:t,bundle_target:r,page_url:s,status:u,surface:o,error_msg:l,failure_reason:c,navigation_type:v,pagehide_persisted:h,request_id:y,trekkie_state:g,shop_id:a,visit_token:i()},metadata:{event_created_at_ms:b}}]})}catch(e){return}try{if("function"==typeof window.navigator.sendBeacon&&-1===(w=window.navigator.userAgent).indexOf("iPhone; CPU iPhone OS 12_")&&-1===w.indexOf("iPad; CPU OS 12_")&&-1===w.indexOf("iPod touch; CPU iPhone OS 12_")&&window.navigator.sendBeacon.bind(window.navigator)(d,m))return}catch(e){}if(f)try{"function"==typeof window.fetch&&window.fetch(d,{method:"POST",headers:{"Content-Type":"text/plain"},body:m,keepalive:!0}
1164).catch(function(){})}catch(e){}else try{var _=new XMLHttpRequest;_.open("POST",d,!0),_.setRequestHeader("Content-Type","text/plain"),_.send(m)}catch(e){n("[Web Pixels Manager] Got an unhandled error while logging to Monorail.")}}else n("[Web Pixels Manager] No Monorail endpoint provided, skipping logging.")}}}({version:u,browserTarget:g,surface:d.surface,shopId:d.shopId,monorailEndpoint:d.monorailEndpoint});if(Boolean(null==(_=null==(b=window.Shopify)?void 0:b.analytics)?void 0:_.replayQueue))w.emit({status:"setup-skipped",errorMsg:"replay queue already initialized."});else{var b,_;w.emit({status:"setup-started"}),window.Shopify=window.Shopify||{};var S=window.Shopify;S.analytics=S.analytics||{};var P=S.analytics;P.replayQueue=[],P.publish=function(e,t,i){return P.replayQueue.push([e,t,i]),!0};try{self.performance.mark("wpm:start")}catch(e){}var k,C="modern"===g?"modern":"legacy",E=(null!=l?l:{modern:"",legacy:""})[C],I=[(k={baseUrl:s,hashVersion:u,buildTarget:C}).baseUrl,"/wpm","/b",k.hashVersion,"modern"===k.buildTarget?"m":"l",".js"].join(""),O=!1,T=!1;try{c.browserTarget=g,function(){O=!0;try{window.addEventListener("pagehide",M)}catch(e){O=!1}}(),R(function(){try{R(x)}catch(e){D(e)}}),w.emit({status:"loading",requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()})}catch(e){D(e)}}function U(){var e;if(q(),!function(){var e,t;return Boolean(null==(t=null==(e=window.Shopify)?void 0:e.analytics)?void 0:t.initialized)}()){var t,i,n;try{if("function"!=typeof(null==(e=window.webPixelsManager)?void 0:e.init))return void A();if(!(null!==(n=i=t=window.webPixelsManager.init(d))&&"function"!=typeof n&&Object(n)===n&&"publish"in i&&"function"==typeof i.publish&&"publishCustomEvent"in i&&"function"==typeof i.publishCustomEvent&&"visitor"in i&&"function"==typeof i.visitor))return void A()}catch(e){return void A(e)}var r=window.Shopify.analytics;r.replayQueue.forEach(function(e){var i=e[0],n=e[1],r=e[2];t.publishCustomEvent(i,n,r)}),r.replayQueue=[],r.publish=t.publishCustomEvent,r.visitor=t.visitor,r.initialized=!0}}function A(e){B("manager_api_unavailable",void 0===e?void 0:Q(e))}function x(){B("script_load_failed","".concat(I," has failed to load"))}function B(e,t){T||(T=!0,q(),w.emit({status:"failed",errorMsg:t,failureReason:e,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function M(e){O&&(q(),w.emit({status:"pagehide-while-loading",useKeepaliveFallback:!0,pagehidePersisted:e.persisted,requestId:m.requestId,navigationType:m.navigationType,trekkieState:a()}))}function q(){O=!1;try{window.removeEventListener("pagehide",M)}catch(e){}}function R(e){var t;!function(e){var t=e.src,i=e.async,n=void 0===i||i,r=e.onload,o=e.onerror,a=e.sri,d=e.scriptDataAttributes,s=void 0===d?{}:d,u=document.createElement("script"),l=document.querySelector("head"),c=document.querySelector("body");if(u.async=n,u.src=t,a&&(u.integrity=a,u.crossOrigin="anonymous"),s)for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))try{u.dataset[p]=String(s[p])}catch(e){}if(r&&u.addEventListener("load",r),o&&u.addEventListener("error",o),l)l.appendChild(u);else{if(!c)throw new Error("Did not find a head or body element to append the script");c.appendChild(u)}}({src:I,async:!0,onload:U,onerror:e,sri:(t=E,"string"==typeof t&&/^sha384-[A-Za-z0-9+/=]+$/.test(t)?E:""),scriptDataAttributes:c})}function D(e){B("script_append_failed",Q(e))}function Q(e){return e instanceof Error?e.message:"Unknown error"}}}();wpmLoader({shopId: 21864513,storefrontBaseUrl: "https://wisecrafters.my",extensionsBaseUrl: "https://extensions.shopifycdn.com/cdn/shopifycloud/web-pixels-manager",monorailEndpoint: "https://wisecrafters.my/.well-known/shopify/monorail/unstable/produce_batch",surface: "storefront-renderer",enabledBetaFlags: ["4c64608a","16072cab","8450a54b"],webPixelsConfigList: [{"id":"899776594","configuration":"{\"mailchimp_store_id\":\"store_pbzxmqd1w48wfgohpwh8\", \"mailchimp_user_id\":\"77432134\",\"mailchimp_list_id\":\"3fca46e9c0\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"e357a49eadeb6216a959d63fa3fb8f55","type":"APP","apiClientId":2585307,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"581697618","configuration":"{\"shop\":\"wisefreshfoods.myshopify.com\",\"cookie_duration\":\"604800\"}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"a2e7513c3708f34b1f617d7ce88f9697","type":"APP","apiClientId":2744533,"privacyPurposes":["ANALYTICS","MARKETING"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized"},{"id":"373555282","configuration":"{\"config\":\"{\\\"pixel_id\\\":\\\"GT-WP4R7S2\\\",\\\"target_country\\\":\\\"MY\\\",\\\"gtag_events\\\":[{\\\"type\\\":\\\"purchase\\\",\\\"action_label\\\":\\\"MC-42E72332EZ\\\"},{\\\"type\\\":\\\"page_view\\\",\\\"action_label\\\":\\\"MC-42E72332EZ\\\"},{\\\"type\\\":\\\"view_item\\\",\\\"action_label\\\":\\\"MC-42E72332EZ\\\"}],\\\"enable_monitoring_mode\\\":false}\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"a3321ca85cf5aaf6b57585fcd8d67b3a","type":"APP","apiClientId":1780363,"privacyPurposes":[],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]}
1164,{"id":"161316946","configuration":"{\"pixel_id\":\"166785633841751\",\"pixel_type\":\"facebook_pixel\",\"metaapp_system_user_token\":\"-\"}","eventPayloadVersion":"v1","runtimeContext":"OPEN","scriptVersion":"bd2f978c17a94bbb8a74d43de2165dc5","type":"APP","apiClientId":2329312,"privacyPurposes":["ANALYTICS","MARKETING","SALE_OF_DATA"],"dataSharingAdjustments":{"protectedCustomerApprovalScopes":["read_customer_address","read_customer_email","read_customer_name","read_customer_personal_data","read_customer_phone"],"dataSharingControls":["share_all_events"]},"dataSharingState":"optimized","enabledFlags":["9a3ed68a"]},{"id":"76054610","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"1","type":"CUSTOM","privacyPurposes":["ANALYTICS"],"name":"Google Analytics tag (migrated)"},{"id":"shopify-app-pixel","configuration":"{}","eventPayloadVersion":"v1","runtimeContext":"STRICT","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"APP","privacyPurposes":["ANALYTICS","MARKETING"]},{"id":"shopify-custom-pixel","eventPayloadVersion":"v1","runtimeContext":"LAX","scriptVersion":"0530","apiClientId":"shopify-pixel","type":"CUSTOM","privacyPurposes":["ANALYTICS","MARKETING"]}],isMerchantRequest: false,initData: {"shop":{"name":"Wise Crafters","paymentSettings":{"currencyCode":"MYR"},"myshopifyDomain":"wisefreshfoods.myshopify.com","countryCode":"MY","storefrontUrl":"https:\/\/wisecrafters.my"},"customer":null,"cart":null,"checkout":null,"productVariants":[],"products":[{"id":"2487825498194","handle":"five-day-clean-eating-meal-plan","isCollective":null,"title":null,"type":null,"untranslatedTitle":null,"url":null,"vendor":null,"remoteShopId":null,"variants":[{"id":"22320560898130","image":null,"price":null,"sku":null,"title":null,"untranslatedTitle":null}]}],"purchasingCompany":null},},"https://wisecrafters.my/cdn","5982071ew7ea472e3p69b68784m2150dfea",{"modern":"","legacy":""},{"trekkieShim":true,"agentContext":true,"apiClientId":"580111","facebookCapiEnabled":"true","themeId":"78212726866","themeStoreId":"865","themePublished":"true","eventMetadataId":"c3aa595e-a92e-4e13-af43-f0654510e288","pageType":"home","shopId":"21864513","storefrontBaseUrl":"https:\/\/wisecrafters.my","extensionBaseUrl":"https:\/\/extensions.shopifycdn.com\/cdn\/shopifycloud\/web-pixels-manager","surface":"storefront-renderer","enabledBetaFlags":"[\"4c64608a\", \"16072cab\", \"8450a54b\"]","isMerchantRequest":"false","hashVersion":"5982071ew7ea472e3p69b68784m2150dfea","publish":"custom","events":"[[\"page_viewed\",{}]]"});})();</script>
1164<script> 1165 window.ShopifyAnalytics = window.ShopifyAnalytics || {}; 1166 window.ShopifyAnalytics.meta = window.ShopifyAnalytics.meta || {}; 1167 window.ShopifyAnalytics.meta.currency = 'MYR'; 1168 var meta = {"page":{"pageType":"home","requestId":"c6d26b40-4358-4a72-82d5-50b63c4cb7a7-1791310237"}}; 1169 for (var attr in meta) { 1170 window.ShopifyAnalytics.meta[attr] = meta[attr]; 1171 } 1172</script>
vendor: 1 bytes, line 1172
1172
1173<script class="analytics"> 1174 (function () { 1175 var customDocumentWrite = function(content) { 1176 var jquery = null; 1177 1178 if (window.jQuery) { 1179 jquery = window.jQuery; 1180 } else if (window.Checkout && window.Checkout.$) { 1181 jquery = window.Checkout.$; 1182 } 1183 1184 if (jquery) { 1185 jquery('body').append(content); 1186 } 1187 }; 1188 1189 var hasLoggedConversion = function(token) { 1190 if (token) { 1191 return document.cookie.indexOf('loggedConversion=' + token) !== -1; 1192 } 1193 return false; 1194 } 1195 1196 var setCookieIfConversion = function(token) { 1197 if (token) { 1198 var twoMonthsFromNow = new Date(Date.now()); 1199 twoMonthsFromNow.setMonth(twoMonthsFromNow.getMonth() + 2); 1200 1201 document.cookie = 'loggedConversion=' + token + '; expires=' + twoMonthsFromNow; 1202 } 1203 } 1204 1205 var trekkie = window.ShopifyAnalytics.lib = window.trekkie = window.trekkie || []; 1206 window.ShopifyAnalytics.lib.trekkie = window.trekkie; 1207 if (trekkie.integrations) { 1208 return; 1209 } 1210 trekkie.methods = [ 1211 'identify', 1212 'page', 1213 'ready', 1214 'track', 1215 'trackForm', 1216 'trackLink' 1217 ]; 1218 trekkie.factory = function(method) { 1219 return function() { 1220 var args = Array.prototype.slice.call(arguments); 1221 args.unshift(method); 1222 trekkie.push(args); 1223 if (method == 'track' || method == 'page') { 1224 var pageUrl; 1225 try { 1226 pageUrl = window.location.href; 1227 } catch (e) {} 1228 var pageReferrer; 1229 try { 1230 pageReferrer = document.referrer; 1231 } catch (e) {} 1232 try { 1233 if (window.__TREKKIE_SHIM_QUEUE == null) { 1234 window.__TREKKIE_SHIM_QUEUE = []; 1235 } 1236 window.__TREKKIE_SHIM_QUEUE.push({ 1237 from: 'trekkie-stub', 1238 method: method, 1239 args: args.slice(1), 1240 pageContext: { 1241 url: pageUrl, 1242 referrer: pageReferrer 1243 } 1244 }); 1245 } catch (e) { 1246 // no-op 1247 } 1248 } 1249 return trekkie; 1250 }; 1251 }; 1252 for (var i = 0; i < trekkie.methods.length; i++) { 1253 var key = trekkie.methods[i]; 1254 trekkie[key] = trekkie.factory(key); 1255 } 1256 trekkie.load = function(config) { 1257 trekkie.config = config || {}; 1258 trekkie.config.initialDocumentCookie = document.cookie; 1259 var first = document.getElementsByTagName('script')[0]; 1260var script = document.createElement('script'); 1261script.type = 'text/javascript'; 1262script.onerror = function(e) { 1263 var scriptFallback = document.createElement('script'); 1264 scriptFallback.type = 'text/javascript'; 1265 scriptFallback.onerror = function(error) { 1266 var Monorail = { 1267 produce: function produce(monorailDomain, schemaId, payload) { 1268 var currentMs = new Date().getTime(); 1269 var event = { 1270 schema_id: schemaId, 1271 payload: payload, 1272 metadata: { 1273 event_created_at_ms: currentMs, 1274 event_sent_at_ms: currentMs 1275 } 1276 }; 1277 return Monorail.sendRequest("https://" + monorailDomain + "/v1/produce", JSON.stringify(event)); 1278 }, 1279 sendRequest: function sendRequest(endpointUrl, payload) { 1280 // Try the sendBeacon API 1281 if (window && window.navigator && typeof window.navigator.sendBeacon === 'function' && typeof window.Blob === 'function' && !Monorail.isIos12()) { 1282 var blobData = new window.Blob([payload], { 1283 type: 'text/plain' 1284 }); 1285 1286 if (window.navigator.sendBeacon(endpointUrl, blobData)) { 1287 return true; 1288 } // sendBeacon was not successful 1289 1290 } // XHR beacon 1291 1292 var xhr = new XMLHttpRequest(); 1293 1294 try { 1295 xhr.open('POST', endpointUrl); 1296 xhr.setRequestHeader('Content-Type', 'text/plain'); 1297 xhr.send(payload); 1298 } catch (e) { 1299 console.log(e); 1300 } 1301 1302 return false; 1303 }, 1304 isIos12: function isIos12() { 1305 return window.navigator.userAgent.lastIndexOf('iPhone; CPU iPhone OS 12_') !== -1 || window.navigator.userAgent.lastIndexOf('iPad; CPU OS 12_') !== -1; 1306 } 1307 }; 1308 Monorail.produce('monorail-edge.shopifysvc.com', 1309 'trekkie_storefront_load_errors/1.1', 1310 {shop_id: 21864513, 1311 theme_id: 78212726866, 1312 app_name: "storefront", 1313 context_url: window.location.href, 1314 source_url: "//wisecrafters.my/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js"}); 1315 1316 }; 1317 scriptFallback.async = true; 1318 scriptFallback.src = '//wisecrafters.my/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js'; 1319 first.parentNode.insertBefore(scriptFallback, first); 1320}; 1321script.async = true; 1322script.src = '//wisecrafters.my/cdn/s/trekkie.storefront.2f6d7d7ede7d24234881a9cd5f47e679642fa1f6.min.js'; 1323first.parentNode.insertBefore(script, first); 1324 1325 }; 1326 trekkie.load( 1327 {"Trekkie":{"appName":"storefront","development":false,"defaultAttributes":{"shopId":21864513,"isMerchantRequest":null,"themeId":78212726866,"themeCityHash":"6537614855897520987","contentLanguage":"en","currency":"MYR","eventMetadataId":"c3aa595e-a92e-4e13-af43-f0654510e288"},"isServerSideCookieWritingEnabled":true,"monorailRegion":"shop_domain","enabledBetaFlags":["764d78cb","8450a54b","4c64608a"]},"Session Attribution":{},"S2S":{"facebookCapiEnabled":true,"source":"trekkie-storefront-renderer","apiClientId":580111}} 1328 ); 1329 1330 var loaded = false;
1331 trekkie.ready(function() { 1332 if (loaded) return; 1333 loaded = true; 1334 1335 window.ShopifyAnalytics.lib = window.trekkie; 1336 1337 var originalDocumentWrite = document.write; 1338 document.write = customDocumentWrite; 1339 try { window.ShopifyAnalytics.merchantGoogleAnalytics.call(this); } catch(error) {}; 1340 document.write = originalDocumentWrite; 1341 1342 var match = window.location.pathname.match(/checkouts\/(.+)\/(thank_you|post_purchase)/) 1343 var token = match? match[1]: undefined; 1344 if (!hasLoggedConversion(token)) { 1345 setCookieIfConversion(token); 1346 1347 } 1348 }); 1349 1350 window.ShopifyAnalytics.lib.page(null,{"pageType":"home","requestId":"c6d26b40-4358-4a72-82d5-50b63c4cb7a7-1791310237","shopifyEmitted":true}); 1351 1352 var eventsListenerScript = document.createElement('script'); 1353 eventsListenerScript.async = true; 1354 eventsListenerScript.src = "//wisecrafters.my/cdn/shopifycloud/storefront/assets/shop_events_listener-4e26a9ce.js"; 1355 document.getElementsByTagName('head')[0].appendChild(eventsListenerScript); 1356})();</script>
1356 1357
1357<script> 1358 if (!window.ga || (window.ga && typeof window.ga !== 'function')) { 1359 window.ga = function ga() { 1360 (window.ga.q = window.ga.q || []).push(arguments); 1361 if (window.Shopify && window.Shopify.analytics && typeof window.Shopify.analytics.publish === 'function') { 1362 window.Shopify.analytics.publish("ga_stub_called", {}, {sendTo: "google_osp_migration"}); 1363 } 1364 console.error("Shopify's Google Analytics stub called with:", Array.from(arguments), "\nSee https://help.shopify.com/manual/promoting-marketing/pixels/pixel-migration#google for more information."); 1365 }; 1366 if (window.Shopify && window.Shopify.analytics && typeof window.Shopify.analytics.publish === 'function') { 1367 window.Shopify.analytics.publish("ga_stub_initialized", {}, {sendTo: "google_osp_migration"}); 1368 } 1369 } 1370</script>
vendor: 1 bytes, line 1370
1370
1371<script 1372 defer 1373 src="https://wisecrafters.my/cdn/shopifycloud/perf-kit/shopify-perf-kit-3.9.6.min.js" 1374 data-application="storefront-renderer" 1375 data-shop-id="21864513" 1376 data-render-region="gcp-europe-west1" 1377 data-page-type="index" 1378 data-theme-instance-id="78212726866" 1379 data-theme-name="Avenue" 1380 data-theme-version="1.3.11" 1381 data-monorail-region="shop_domain" 1382 data-resource-timing-sampling-rate="10" 1383 data-shs="true" 1384 data-shs-beacon="true" 1385 data-shs-export-with-fetch="true" 1386 data-shs-logs-sample-rate="1" 1387 data-shs-beacon-endpoint="https://wisecrafters.my/api/collect" 1388></script>
1388 1389<meta name="shopify-y" content="84ca9791-f319-459a-8ee8-34219c2d4d89" data-expiration="1822867837000"><meta name="shopify-s" content="67ece633-9997-4820-8eac-85aa3edb770a" data-expiration="1791312037000"><meta name="new-cookie-storage-activated" content="t"> 1390</head> 1391 <body data-section-type="main-body"> 1392 1393 1394<!-- Google Tag Manager (noscript) -->
vendor: 68 bytes, lines 1394-1395
1394 1395<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=
1395GTM-WGP3VHC
vendor: 83 bytes, lines 1395-1396
1395" 1396height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
1397<!-- End Google Tag Manager (noscript) --> 1398 1399 1400 1401 <a href="#content" class="hidden btn outline skip-to">Skip to Main Content</a> 1402 1403 <div id="shopify-section-header" class="shopify-section"><div data-section-id="header" 1404 data-section-type="header-section" 1405 class="clearfix"> 1406 1407 <header class="sticky"> 1408 1409 1410 <div class="header-toolbar open-container"> 1411 1412 <div class="header-customerbar customer_color_scheme"> 1413 <div class="container full clearfix"> 1414 <div class="header-customerbar-container table"> 1415 1416 <div class="customer-bullets table-cell"> 1417 <ul> 1418 1419 <li class="first"><p>Free RM15 delivery with RM130+ orders, free delivery with RM300+.</p></li> 1420 1421 1422 1423 </ul> 1424 </div> 1425 1426 <div class="customer-links table-cell text-right"> 1427 <ul role="navigation" role="menubar" aria-Label="Customer Navigation"> 1428 <li class="search"><a href="javascript:void(0)" class="open open-header" title="Search" role="menuitem"><span class="icon icon-search" aria-label="Search"></span></a></li> 1429 <li id="cart-count-desktop" class="cart-count cart-info"> 1430 <a data-hulkapps-cart-total href="/cart" title="Cart" class="relative" role="button" aria-label="Cart" aria-expanded="false" aria-haspopup="true"><span><span class="icon icon-cart relative"></span> <span class="cartCountSelector">0</span> ⢠<span class="cartTotalSelector">RM0</span></span></a> 1431 <span id="cart-dropdown-span"> 1432 1433 </span> 1434 </li> 1435 1436 <li class="account"> 1437 1438 <a href="/account/login" title="Log in" class="relative" role="button" aria-label="Log in"><span class="icon icon-user"></span></a> 1439 1440 </li> 1441 1442 1443 </ul> 1444 </div> 1445 </div> 1446 </div> 1447 </div> 1448 1449 <div class="header-searchbar search open-slide"> 1450 <div class="container full clearfix"> 1451 <div class="twelve"> 1452 <form action="/search" method="get" class="search-form header" role="search"> 1453 <input name="q" type="text" class="search-field text-center" placeholder="Search..." aria-label="Search..."/> 1454 </form> 1455 </div> 1456 </div> 1457 </div> 1458 1459 <div class="sticky-navigation sticky relative"> 1460 1461 <div class="sticky-logo"> 1462 <div class="container full clearfix"> 1463 <div class="twelve"> 1464 <div class="sticky-logo-container"> 1465 <span class="sticky-text"> 1466 <img src="//wisecrafters.my/cdn/shop/files/Wise-Crafters-logo_160x.png?v=1614316368" 1467 srcset="//wisecrafters.my/cdn/shop/files/Wise-Crafters-logo_160x.png?v=1614316368 1x, //wisecrafters.my/cdn/shop/files/[email protected]?v=1614316368 2x" 1468 alt="Wise Crafters"> 1469 1470 </span> 1471 </div> 1472 </div> 1473 </div> 1474 </div> 1475 1476 <div class="sticky-navigation-container sticky open-container"> 1477 <div id="header-navigation" class="header-navigation home"> 1478 <div class="header-navigation-width hidden"><span>Home </span><span>About Us</span><span>Lose Weight Meal Plans</span><span>Bundles</span><span>A-la-carte</span><span>Catering, Bulk Orders & Events</span></div> 1479 <div class="container full clearfix"> 1480 <div class="twelve"> 1481 <div class="relative"> 1482 <div class="table right-width clearfix"> 1483 <div class="logo table-cell"> 1484 1485 <a href="https://wisecrafters.my" title="Wise Crafters" class="img-
1485align"> 1486 1487<img src="//wisecrafters.my/cdn/shop/files/Wise-Crafters-logo_160x.png?v=1614316368" 1488 srcset="//wisecrafters.my/cdn/shop/files/Wise-Crafters-logo_160x.png?v=1614316368 1x, //wisecrafters.my/cdn/shop/files/[email protected]?v=1614316368 2x" 1489 alt="Get Healthy Meal Plan Delivery In Malaysia | Wise Crafters"> 1490 1491 </a> 1492 1493 </div> 1494 <div class="main-menu table-cell"> 1495 <nav aria-Label="Main Navigation"> 1496 <div class="customer-links"> 1497 <ul role="menubar" aria-Label="Customer Navigation"> 1498 <li role="menuitem"><a href="javascript:void(0)" class="open open-header" title="Search" role="button"><span class="icon icon-search" aria-label="Search"></span></a></li> 1499 <li id="cart-count-mobile" class="cart-count cart-info" role="menuitem"><a href="/cart" title="Cart" role="button" aria-label="Cart"><span><span class="icon icon-cart relative"></span><span class="cartCountSelector size-1 hidden">0</span></span></a> 1500 </li> 1501 1502 <li class="account" role="menuitem"> 1503 1504 <a href="/account/login" title="Log in" class="relative" role="button" aria-label="Log in"><span class="icon icon-user"></span></a> 1505 1506 </li> 1507 1508 <li role="menuitem"><a class="toggleMenu" href="#" aria-controls="responsiveMenu" aria-expanded="false" role="button" aria-label="Menu"><span class="icon icon-menu relative"></span></a></li> 1509 </ul> 1510 </div> 1511 <!-- Breakpoint is 583px by default, 600 - 17 to accomodate scrollbar --> 1512 <ul id="responsiveMenu" class="responsiveMenu text-right" data-maxmobilewidth="600" data-parentlinkdoubleswitch="0" role="menubar" aria-hidden="false"> 1513 1514 1515 1516 1517 1518 1519 1520 1521 <li class="parent-level first" role="menuitem"> 1522 <a href="https://wisecrafters.my/" class="parent" title="Home " tabindex="0"><span>Home </span></a> 1523 1524 1525 1526 1527 </li> 1528 1529 1530 1531 <li class="parent-level" role="menuitem"> 1532 <a href="/pages/about-us" class="parent" title="About Us" tabindex="0"><span>About Us</span></a> 1533 1534 1535 1536 1537 </li> 1538 1539 1540 1541 <li class="parent-level" role="menuitem"> 1542 <a href="/collections/weight-loss-meal-plan" class="parent" title="Lose Weight Meal Plans" tabindex="0"><span>Lose Weight Meal Plans</span></a> 1543 1544 1545 1546 1547 </li> 1548 1549 1550 1551 <li class="parent-level parent has-dropdown relative plus-right" role="menuitem" aria-haspopup="true"> 1552 <a href="/collections/lose-weight-get-fit" class="parent" title="Bundles" tabindex="0"><span>Bundles</span></a> 1553 1554 1555 1556 1557 1558 1559 1560 <ul class="parent-level-ul dropdown text-right" role="menu" aria-hidden="true"> 1561 1562 <span class="has_no_image_right "> 1563 1564 <li class="child-level three first" role="menuitem"> 1565 <a href="/collections/overnight-oat-yogurt" class="child" title="Oatmeal-Bundles" tabindex="0"><span>Oatmeal-Bundles</span></a> 1566 1567 </li> 1568 1569 <li class="child-level three last" role="menuitem"> 1570 <a href="/collections/lose-weight-get-fit" class="child" title="Flexible-Packages" tabindex="0"><span>Flexible-Packages</span></a> 1571 1572 </li> 1573 1574 </span> 1575 </ul> 1576 1577 </li> 1578 1579 1580 1581 <li class="parent-level parent has-dropdown relative plus-right" role="menuitem" aria-haspopup="true"> 1582 <a href="/collections/menu" class="parent" title="A-la-carte" tabindex="0"><span>A-la-carte</span></a> 1583 1584 1585 1586 1587 1588 1589 1590 <ul class="parent-level-ul dropdown text-right" role="menu" aria-hidden="true"> 1591
1592 <span class="has_no_image_right "> 1593 1594 <li class="child-level three first" role="menuitem"> 1595 <a href="/collections/oatmeal" class="child" title="Oatmeal" tabindex="0"><span>Oatmeal</span></a> 1596 1597 </li> 1598 1599 <li class="child-level three" role="menuitem"> 1600 <a href="/collections/smoothie-bowl" class="child" title="Smoothie Bowls" tabindex="0"><span>Smoothie Bowls</span></a> 1601 1602 </li> 1603 1604 <li class="child-level three" role="menuitem"> 1605 <a href="/collections/warm-foods" class="child" title="Warm Foods" tabindex="0"><span>Warm Foods</span></a> 1606 1607 </li> 1608 1609 <li class="child-level three" role="menuitem"> 1610 <a href="/collections/healthy-beverages" class="child" title="Healthy Beverages" tabindex="0"><span>Healthy Beverages</span></a> 1611 1612 </li> 1613 1614 <li class="child-level three last" role="menuitem"> 1615 <a href="/collections/snack" class="child" title="Snacks" tabindex="0"><span>Snacks</span></a> 1616 1617 </li> 1618 1619 </span> 1620 </ul> 1621 1622 </li> 1623 1624 1625 1626 <li class="parent-level parent has-dropdown relative plus-right last" role="menuitem" aria-haspopup="true"> 1627 <a href="/pages/healthy-catering-bulk-order-malaysia" class="parent" title="Catering, Bulk Orders & Events" tabindex="0"><span>Catering, Bulk Orders & Events</span></a> 1628 1629 1630 1631 1632 1633 1634 1635 <ul class="parent-level-ul dropdown text-right" role="menu" aria-hidden="true"> 1636 1637 <span class="has_no_image_right "> 1638 1639 <li class="child-level three first" role="menuitem"> 1640 <a href="https://wisecrafters.my/pages/healthy-catering-bulk-order-malaysia" class="child" title="Bulk Orders & Catering" tabindex="0"><span>Bulk Orders & Catering</span></a> 1641 1642 </li> 1643 1644 <li class="child-level three" role="menuitem"> 1645 <a href="https://wisecrafters.my/pages/corporate-snack-box-delivery" class="child" title="Personalised Gift Boxes" tabindex="0"><span>Personalised Gift Boxes</span></a> 1646 1647 </li> 1648 1649 <li class="child-level three last" role="menuitem"> 1650 <a href="https://wisecrafters.my/pages/corporate-wellness-healthy-eating-workshop-malaysia" class="child" title="Workshops & Events" tabindex="0"><span>Workshops & Events</span></a> 1651 1652 </li> 1653 1654 </span> 1655 </ul> 1656 1657 </li> 1658 1659 </ul> 1660 </nav> 1661 </div> 1662 </div> 1663 </div> 1664 </div> 1665 </div> 1666 </div> 1667 <div class="header-searchbar search open-slide"> 1668 <div class="container full clearfix"> 1669 <div class="twelve"> 1670 <form action="/search" method="get" class="search-form header" role="search"> 1671 <input name="q" type="text" class="search-field text-center" placeholder="Search..." aria-label="Search..."/> 1672 </form> 1673 </div> 1674 </div> 1675 </div> 1676 </div> 1677 </div> 1678 1679 </div> 1680 1681 1682 1683 </header> 1684</div> 1685 1686<style> 1687 .announcement_color_scheme { 1688 background: #d4b605; 1689 color: #ffffff; 1690 } 1691 .announcement_color_scheme a { 1692 color: #ffffff; 1693 } 1694 .announcement_color_scheme a:hover { 1695 color: #ffffff; 1696 } 1697 .customer_color_scheme, 1698 .customer_color_scheme .account:before { 1699 background: #000000; 1700 color: #ffffff; 1701 } 1702 .mobile-only.no-scroll .customer_color_scheme { 1703 visibility:hidden; 1704 } 1705 .customer-bullets ul li.borders p, 1706 .customer_color_scheme a { 1707 color: #ffffff; 1708 } 1709 .customer_color_scheme a:hover, 1710 .customer_color_scheme a:focus, { 1711 color: #dedede; 1712 } 1713 .customer_color_scheme .customer-links a, 1714 .customer_color_scheme .customer-links span.icon { 1715 color: #ffffff; 1716 } 1717 .customer_color_scheme .customer-links li:hover, 1718 .customer_color_scheme .customer-links li:hover a, 1719 .customer_color_scheme .customer-links li:hover span.icon, 1720 .customer_color_scheme .customer-links li:hover.account:before, 1721 .customer_color_scheme .customer-links li:focus, 1722 .customer_color_scheme .customer-links li:focus a, 1723 .customer_color_scheme .customer-links li:focus span.icon, 1724 .customer_color_scheme .customer-links li:focus.account:before { 1725 1726 background: #ffffff; 1727 color: #000000; 1728 1729 } 1730 #cart-dropdown { 1731 background: #fff; 1732 } 1733</style> 1734
1735<script type="application/ld+json"> 1736 { 1737 "@context": "http://schema.org", 1738 "@type": "Organization", 1739 "name": "Wise Crafters", 1740 "logo": "https://wisecrafters.my/cdn/shop/files/Wise-Crafters-logo_160x.png?v=1614316368", 1741 "url": "https://wisecrafters.my" 1742 } 1743</script>
1743 1744 1745 1746
1747<script type="application/ld+json"> 1748 { 1749 "@context": "http://schema.org", 1750 "@type": "WebSite", 1751 "name": "Wise Crafters", 1752 "potentialAction": { 1753 "@type": "SearchAction", 1754 "target": "https:\/\/wisecrafters.my{{ routes.search_url }}?q={search_term_string}", 1755 "query-input": "required name=search_term_string" 1756 }, 1757 "sameAs": [ 1758 "", 1759 "https://facebook.com/wisecrafters", 1760 "", 1761 "https://www.instagram.com/wisecrafters", 1762 "", 1763 "", 1764 "https://www.youtube.com/channel/UChsaPtu1RxE-snI1aKdzHcw", 1765 "" 1766 ], 1767 "url": "https:\/\/wisecrafters.my" 1768 } 1769</script>
1769 1770 1771 1772</div> 1773 1774 <div id="content" class="content" role="main"> 1775 <!--LayoutHub-Workspace-Start--><!-- BEGIN content_for_index --><div id="shopify-section-1545253320912" class="shopify-section"><div data-section-id="1545253320912" 1776 data-section-type="home-slideshow" 1777 id="slideshow-1545253320912" 1778 class="clearfix"> 1779 1780 <div> 1781 <div> 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 <div class="tab-body" > 1795 <div class="background-cover lazyload" 1796 1797 data-bgset=" 1798 1799//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_200x.jpg?v=1722906079 200w 100h, 1800//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_220x.jpg?v=1722906079 220w 110h, 1801//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_300x.jpg?v=1722906079 300w 150h, 1802//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_400x.jpg?v=1722906079 400w 200h, 1803//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_500x.jpg?v=1722906079 500w 250h, 1804//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_600x.jpg?v=1722906079 600w 300h, 1805//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_700x.jpg?v=1722906079 700w 350h, 1806//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_800x.jpg?v=1722906079 800w 400h, 1807//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_900x.jpg?v=1722906079 900w 450h, 1808//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_1000x.jpg?v=1722906079 1000w 500h, 1809//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_1100x.jpg?v=1722906079 1100w 550h, 1810 1811 1812 1813 1814 1815 1816 1817 1818//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2.jpg?v=1722906079 1200w 600h 1819 1820" 1821 data-sizes="auto" 1822 style="background:url(//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_300x.jpg?v=1722906079) center center no-repeat;" 1823 > 1824 1825 <noscript> 1826 <div class="no-js-bg background-cover content-height-1545253320912" style="background:url(//wisecrafters.my/cdn/shop/files/Wise_Crafters_x_PARC_1200_x_600_px_2_1900x.jpg?v=1722906079) center center no-repeat;"></div> 1827 </noscript> 1828 1829 <div class="relative background-overlay background-overlay-36ebf619-8ed2-4adf-99b6-c7fd4b166999"> 1830 <div class="container clearfix"> 1831 1832 <div> 1833 <div class="clearfix" 1834 > 1835 1836 1837 <div class="table content-height-1545253320912"> 1838 1839 1840 <div class="table-cell"> 1841 <div class="four mobile text-center left"> 1842 1843 <h2 class="h1">Oats for fitter you</h2> 1844 <h3>.Just Open & Indulge!</h3> 1845 1846 <a href="/collections/overnight-oat-yogurt" title="Oats for fitter you" class="btn bottompad">Find Out More</a> 1847 1848 </div> 1849 </div> 1850 1851 </div> 1852 1853 </div> 1854 </div> 1855 </div> 1856 </div> 1857 </div> 1858 </div> 1859 <style>.background-overlay-36ebf619-8ed2-4adf-99b6-c7fd4b166999{background:;} 1860 </style> 1861 1862 </div> 1863 <div id="swiper-pagination-1545253320912" class="swiper-pagination slideshow-carousel hidden"> 1864 <div id="swiper-button-prev-1545253320912" class="tabindex swiper-button-prev icon icon-chevron-left" role="button" aria-label="Previous"></div> 1865 <div id="swiper-button-next-1545253320912" class="tabindex swiper-button-next icon icon-chevron-right" role="button" aria-label="Next"></div> 1866 </div> 1867 </div> 1868 1869</div> 1870 1871<style> 1872 .content-height-1545253320912{height:70vh;min-height:70vh} 1873</style> 1874 1875</div><div id="shopify-section-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" class="shopify-section"><div data-section-id="0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" 1876 data-section-type="home-slideshow" 1877 id="slideshow-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" 1878 class="swiper-enabled clearfix"> 1879 1880 <div id="slideshow-carousel-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" data-swiper-autorotate="true" class="swiper-container"> 1881 <div class="swiper-wrapper swiper-wrapper-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152"> 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="6000"> 1892 <div class="no-height image background-cover clearfix" 1893 1894 data-bgset="" 1895 data-sizes="auto" 1896 style="background:url(//wisecrafters.my/cdn/shop/files/1_ff235ee5-594b-4ef8-8897-beb31183bfe4_10x.jpg?v=1667752902) center center no-repeat;" 1897 > 1898 <div> 1899 1900<style> 1901 1902 1903 @media screen and (min-width: 600px) { 1904 #image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-0 { 1905 max-width: 1900px; 1906 max-height: 170px; 1907 } 1908 } 1909 1910 1911 1912 @media screen and (max-width: 599px) { 1913 #image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-0 { 1914 max-width: 600px; 1915 max-height: 600px; 1916 } 1917 } 1918 1919</style> 1920<img id="image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-0" 1921 class="lazywidth lazyload no-js-hide img-align landscape" 1922 src="//wisecrafters.my/cdn/shop/files/1_ff235ee5-594b-4ef8-8897-beb31183bfe4_800x.jpg?v=1667752902" 1923 data-src="//wisecrafters.my/cdn/shop/files/1_ff235ee5-594b-4ef8-8897-beb31183bfe4_{width}x.jpg?v=1667752902" 1924 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 1925 data-aspectratio="11.176470588235293" 1926 data-sizes="auto" 1927 1928 alt="1 ff235ee5 594b 4ef8 8897 beb31183bfe4"> 1929<noscript><img class="lazywidth img-align landscape" 1930 src="//wisecrafters.my/cdn/shop/files/1_ff235ee5-594b-4ef8-8897-beb31183bfe4_2400x.jpg?v=1667752902" 1931 alt="1 ff235ee5 594b 4ef8 8897 beb31183bfe4"> 1932</noscript> 1933 1934 1935 </div> 1936 </div> 1937 </div> 1938 1939 1940 1941 1942 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="6000"> 1943 <div class="no-height image background-cover clearfix" 1944 1945 data-bgset="" 1946 data-sizes="auto" 1947 style="background:url(//wisecrafters.my/cdn/shop/files/2_2f7bcb37-00a1-46d1-8838-8b88128c5418_10x.jpg?v=1667752925) center center no-repeat;" 1948 > 1949 <div> 1950 1951<style> 1952 1953 1954 @media screen and (min-width: 600px) { 1955 #image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-1 { 1956 max-width: 1900px; 1957 max-height: 170px; 1958 } 1959 } 1960 1961 1962 1963 @media screen and (max-width: 599px) { 1964 #image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-1 { 1965 max-width: 600px; 1966 max-height: 600px; 1967 } 1968 } 1969 1970</style> 1971<img id="image-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152-1667730665f458a06f-1" 1972 class="lazywidth lazyload no-js-hide img-align landscape" 1973 src="//wisecrafters.my/cdn/shop/files/2_2f7bcb37-00a1-46d1-8838-8b88128c5418_800x.jpg?v=1667752925" 1974 data-src="//wisecrafters.my/cdn/shop/files/2_2f7bcb37-00a1-46d1-8838-8b88128c5418_{width}x.jpg?v=1667752925" 1975 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 1976 data-aspectratio="11.176470588235293" 1977 data-sizes="auto" 1978 1979 alt="2 2f7bcb37 00a1 46d1 8838 8b88128c5418"> 1980<noscript><img class="lazywidth img-align landscape" 1981 src="//wisecrafters.my/cdn/shop/files/2_2f7bcb37-00a1-46d1-8838-8b88128c5418_2400x.jpg?v=1667752925" 1982 alt="2 2f7bcb37 00a1 46d1 8838 8b88128c5418"> 1983</noscript> 1984 1985 1986 </div> 1987 </div> 1988 </div> 1989 1990 1991 1992 1993 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="6000"> 1994 <div class="no-height image background-cover clearfix" 1995 1996 data-bgset="" 1997 data-sizes="auto" 1998 style="background:url(//wisecrafters.my/cdn/shop/files/3_f7f5bf84-e703-47a2-ba35-da8f93c17c02_10x.jpg?v=1667752960) center center no-repeat;" 1999 > 2000 <div> 2001 2002<style> 2003 2004 2005 @media screen and (min-width: 600px) { 2006 #image-a22513dc-9946-4afc-8b72-b99f767dd736 { 2007 max-width: 1900px; 2008 max-height: 170px; 2009 } 2010 } 2011 2012 2013 2014 @media screen and (max-width: 599px) { 2015 #image-a22513dc-9946-4afc-8b72-b99f767dd736 { 2016 max-width: 600px; 2017 max-height: 600px; 2018 } 2019 } 2020 2021</style> 2022<img id="image-a22513dc-9946-4afc-8b72-b99f767dd736" 2023 class="lazywidth lazyload no-js-hide img-align landscape" 2024 src="//wisecrafters.my/cdn/shop/files/3_f7f5bf84-e703-47a2-ba35-da8f93c17c02_800x.jpg?v=1667752960" 2025 data-src="//wisecrafters.my/cdn/shop/files/3_f7f5bf84-e703-47a2-ba35-da8f93c17c02_{width}x.jpg?v=1667752960" 2026 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2027 data-aspectratio="11.176470588235293" 2028 data-sizes="auto" 2029 2030 alt="3 f7f5bf84 e703 47a2 ba35 da8f93c17c02"> 2031<noscript><img class="lazywidth img-align landscape" 2032 src="//wisecrafters.my/cdn/shop/files/3_f7f5bf84-e703-47a2-ba35-da8f93c17c02_2400x.jpg?v=1667752960" 2033 alt="3 f7f5bf84 e703 47a2 ba35 da8f93c17c02"> 2034</noscript> 2035 2036 2037 </div> 2038 </div> 2039 </div> 2040 2041 </div> 2042 <div id="swiper-pagination-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" class="swiper-pagination slideshow-carousel hidden"> 2043 <div id="swiper-button-prev-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" class="tabindex swiper-button-prev icon icon-chevron-left" role="button" aria-label="Previous"></div> 2044 <div id="swiper-button-next-0ef2a7ba-43e3-4999-a6f1-d1ac7aaa2152" class="tabindex swiper-button-next icon icon-chevron-right" role="button" aria-label="Next"></div> 2045 </div> 2046 </div> 2047 2048</div> 2049 2050</div><div id="shopify-section-home_image_with_text_KtwKWb" class="shopify-section"> 2051 2052<div data-section-id="home_image_with_text_KtwKWb" 2053 data-section-type="home-image-with-text" 2054 class="margins-section clearfix"> 2055 2056 <div class="container clearfix"> 2057 <div> 2058 <div class="tab-body"> 2059 2060 2061 2062 <div class="product-loop center"> 2063 2064 2065 2066 2067 2068 2069 <div class="product six none" > 2070 2071 <div class="table " 2072 > 2073 2074 <div class="table-cell none"> 2075 <div class="no-height image"> 2076 <a href="/collections/double-pinkie-go-and-glow" title="Double pinkie nourishment set"> 2077 2078 2079<style> 2080 2081 2082 @media screen and (min-width: 600px) { 2083 #image-image_gJYdG3 { 2084 max-width: 450.0px; 2085 max-height: 600px; 2086 } 2087 } 2088 2089 2090 2091 @media screen and (max-width: 599px) { 2092 #image-image_gJYdG3 { 2093 max-width: 450.0px; 2094 max-height: 600px; 2095 } 2096 } 2097 2098</style> 2099<img id="image-image_gJYdG3" 2100 class="lazywidth lazyload no-js-hide img-align vertical" 2101 src="//wisecrafters.my/cdn/shop/files/Double_Pinkie_Nourishment_Set_200x.png?v=1791172789" 2102 data-src="//wisecrafters.my/cdn/shop/files/Double_Pinkie_Nourishment_Set_{width}x.png?v=1791172789" 2103 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2104 data-aspectratio="0.75" 2105 data-sizes="auto" 2106 2107 alt="Double pinkie nourishment set"> 2108<noscript><img class="lazywidth img-align vertical" 2109 src="//wisecrafters.my/cdn/shop/files/Double_Pinkie_Nourishment_Set_600x.png?v=1791172789" 2110 alt="Double pinkie nourishment set"> 2111</noscript> 2112 2113 2114 <h6 class="toppad">Give yourself 2 days to Go & Glow</h6> 2115 </a> 2116 </div> 2117 </div> 2118 </div> 2119 2120 </div> 2121 2122 2123 2124 2125 2126 2127 2128 2129 <div class="product four none" > 2130 <div class="table"> 2131 <div class="table-cell none text-left"> 2132 <div class="no-height"> 2133 <div class="bottompad"> 2134 2135 <h2>Real food, Real nourishment.</h2> 2136 <h3>Give yourself 2 days to Go & Glow now</h3> 2137 <p>Show custom content to provide an overview of the image and heading</p> 2138 <a href="/collections/double-pinkie-go-and-glow" title="Real food, Real nourishment." class="btn">shop now</a> 2139 2140 </div> 2141 </div> 2142 </div> 2143 </div> 2144 </div> 2145 2146 2147 2148 2149 </div> 2150 2151 </div> 2152 </div> 2153 </div> 2154</div> 2155 2156<style> 2157 .content-height-home_image_with_text_KtwKWb{height:50vh;min-height:100%} 2158</style> 2159 2160</div><div id="shopify-section-1646061452225fa021" class="shopify-section"> 2161 2162<div data-section-id="1646061452225fa021" 2163 data-section-type="home-image-with-text" 2164 class="margins-section clearfix"> 2165 2166 <div class="container clearfix"> 2167 <div> 2168 <div class="tab-body"> 2169 2170 2171 2172 <div class="product-loop center"> 2173 2174 2175 2176 2177 2178 2179 2180 <div class="product nine none" > 2181 <div class="table"> 2182 <div class="table-cell none text-center"> 2183 <div class="no-height"> 2184 <div> 2185 2186 <h2>Choose a plan that meets your goals</h2> 2187 2188 2189 2190 2191 </div> 2192 </div> 2193 </div> 2194 </div> 2195 </div> 2196 2197 2198 2199 2200 </div> 2201 2202 </div> 2203 </div> 2204 </div> 2205</div> 2206 2207<style> 2208 .content-height-1646061452225fa021{height:30vh;min-height:100%} 2209</style> 2210 2211</div><div id="shopify-section-4fef594c-de69-4ab8-8439-09aaff9c07d2" class="shopify-section"> 2212 2213<div data-section-id="4fef594c-de69-4ab8-8439-09aaff9c07d2" 2214 data-section-type="home-html"> 2215 2216 2217 <div class="clearfix"> 2218 <div class="container clearfix"><div class="twelve"> 2219 2220 <a id="home_choose_plan"></a> 2221 2222 </div></div> 2223 </div> 2224 2225 2226</div> 2227 2228 2229</div><div id="shopify-section-1572233606109" class="shopify-section"> 2230 2231<div data-section-id="1572233606109" 2232 data-section-type="home-image-with-text-overlay" 2233 class="margins-section clearfix"> 2234 2235 <div class="container clearfix"> 2236 <div> 2237 <div class="tab-body"> 2238 2239 2240 2241 <div class="product-loop center"> 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 <div class="product six none" > 2252 <div class="table content-height-1572233606109 relative background-cover lazyload" 2253 2254 data-bgset=" 2255 2256//wisecrafters.my/cdn/shop/files/Xmas8_1_200x.jpg?v=1702617452 200w 113h,
2257//wisecrafters.my/cdn/shop/files/Xmas8_1_220x.jpg?v=1702617452 220w 124h, 2258//wisecrafters.my/cdn/shop/files/Xmas8_1_300x.jpg?v=1702617452 300w 169h, 2259//wisecrafters.my/cdn/shop/files/Xmas8_1_400x.jpg?v=1702617452 400w 225h, 2260//wisecrafters.my/cdn/shop/files/Xmas8_1_500x.jpg?v=1702617452 500w 281h, 2261//wisecrafters.my/cdn/shop/files/Xmas8_1_600x.jpg?v=1702617452 600w 338h, 2262//wisecrafters.my/cdn/shop/files/Xmas8_1_700x.jpg?v=1702617452 700w 394h, 2263//wisecrafters.my/cdn/shop/files/Xmas8_1_800x.jpg?v=1702617452 800w 450h, 2264//wisecrafters.my/cdn/shop/files/Xmas8_1_900x.jpg?v=1702617452 900w 506h, 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275//wisecrafters.my/cdn/shop/files/Xmas8_1.jpg?v=1702617452 960w 540h 2276 2277" 2278 data-sizes="auto" 2279 style="background:url(//wisecrafters.my/cdn/shop/files/Xmas8_1_200x.jpg?v=1702617452) center center no-repeat;" 2280 > 2281 2282 <noscript> 2283 <div class="no-js-bg background-cover content-height-1572233606109" style="background:url(//wisecrafters.my/cdn/shop/files/Xmas8_1_600x.jpg?v=1702617452) center center no-repeat;"></div> 2284 </noscript> 2285 2286 2287 2288 <div class="table-cell none text-left background-overlay background-overlay-1572233606109-0"> 2289 <div class="twelve no-height"> 2290 <div class="twelve bottompad"> 2291 <h2>Cuts 450 calories per meal</h2> 2292 <h3>Eat Right Not Less</h3> 2293 2294 <a href="/collections/calorie-deficit" title="Cuts 450 calories per meal" class="btn">Learn More</a> 2295 </div> 2296 </div> 2297 </div> 2298 2299 </div> 2300 </div> 2301 2302 <style>.background-overlay-1572233606109-0{background:rgba(242, 237, 239, 0.0);} 2303 </style> 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 <div class="product six none" > 2315 <div class="table content-height-1572233606109 relative background-cover lazyload" 2316 2317 data-bgset=" 2318 2319//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_200x.jpg?v=1667722970 200w 131h, 2320//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_220x.jpg?v=1667722970 220w 144h, 2321//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_300x.jpg?v=1667722970 300w 197h, 2322//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_400x.jpg?v=1667722970 400w 262h, 2323//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_500x.jpg?v=1667722970 500w 328h, 2324//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_600x.jpg?v=1667722970 600w 393h, 2325//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_700x.jpg?v=1667722970 700w 458h, 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d.jpg?v=1667722970 800w 524h 2339 2340" 2341 data-sizes="auto" 2342 style="background:url(//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_200x.jpg?v=1667722970) center center no-repeat;" 2343 > 2344 2345 <noscript> 2346 <div class="no-js-bg background-cover content-height-1572233606109" style="background:url(//wisecrafters.my/cdn/shop/files/2_dc446c70-2256-471d-858b-67beca34888d_600x.jpg?v=1667722970) center center no-repeat;"></div> 2347 </noscript> 2348 2349 2350 2351 <div class="table-cell none text-left background-overlay background-overlay-1572233606109-1"> 2352 <div class="twelve no-height"> 2353 <div class="twelve bottompad"> 2354 <h2>Weight Loss</h2> 2355 2356 <p>Calorie Deficit Meal Plan <br/>for Weight Loss</p> 2357 <a href="https://wisecrafters.my/collections/weight-loss-meal-plan" title="Weight Loss" class="btn">Order Now</a> 2358 </div> 2359 </div> 2360 </div> 2361 2362 </div> 2363 </div> 2364 2365 <style>.background-overlay-1572233606109-1{background:rgba(242, 237, 239, 0.1);} 2366 </style> 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 <div class="product twelve none" > 2378 <div class="table content-height-1572233606109 relative background-cover lazyload" 2379 2380 data-bgset=" 2381 2382//wisecrafters.my/cdn/shop/files/Blast_freeze_1_200x.jpg?v=1667730011 200w 58h,
2383//wisecrafters.my/cdn/shop/files/Blast_freeze_1_220x.jpg?v=1667730011 220w 64h, 2384//wisecrafters.my/cdn/shop/files/Blast_freeze_1_300x.jpg?v=1667730011 300w 87h, 2385//wisecrafters.my/cdn/shop/files/Blast_freeze_1_400x.jpg?v=1667730011 400w 116h, 2386//wisecrafters.my/cdn/shop/files/Blast_freeze_1_500x.jpg?v=1667730011 500w 146h, 2387//wisecrafters.my/cdn/shop/files/Blast_freeze_1_600x.jpg?v=1667730011 600w 175h, 2388//wisecrafters.my/cdn/shop/files/Blast_freeze_1_700x.jpg?v=1667730011 700w 204h, 2389//wisecrafters.my/cdn/shop/files/Blast_freeze_1_800x.jpg?v=1667730011 800w 233h, 2390//wisecrafters.my/cdn/shop/files/Blast_freeze_1_900x.jpg?v=1667730011 900w 262h, 2391//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1000x.jpg?v=1667730011 1000w 291h, 2392//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1100x.jpg?v=1667730011 1100w 320h, 2393//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1200x.jpg?v=1667730011 1200w 349h, 2394//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1300x.jpg?v=1667730011 1300w 379h, 2395//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1400x.jpg?v=1667730011 1400w 408h, 2396//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1500x.jpg?v=1667730011 1500w 437h, 2397 2398 2399 2400 2401//wisecrafters.my/cdn/shop/files/Blast_freeze_1.jpg?v=1667730011 1566w 456h 2402 2403" 2404 data-sizes="auto" 2405 style="background:url(//wisecrafters.my/cdn/shop/files/Blast_freeze_1_400x.jpg?v=1667730011) center center no-repeat;" 2406 > 2407 2408 <noscript> 2409 <div class="no-js-bg background-cover content-height-1572233606109" style="background:url(//wisecrafters.my/cdn/shop/files/Blast_freeze_1_1200x.jpg?v=1667730011) center center no-repeat;"></div> 2410 </noscript> 2411 2412 2413 2414 <div class="table-cell none text-left background-overlay background-overlay-6a3e1866-5bb6-4c08-91e2-0e4a5eda9581"> 2415 <div class="twelve no-height"> 2416 <div class="twelve bottompad"> 2417 <h2>Flexible Healthy Packages</h2> 2418 <h3>That Fit Your Life</h3> 2419 <p>Blast Freezing Technology to Preserve Nutrients In Foods.</p> 2420 <a href="https://wisecrafters.my/collections/lose-weight-get-fit" title="Flexible Healthy Packages" class="btn">Order Now</a> 2421 </div> 2422 </div> 2423 </div> 2424 2425 </div> 2426 </div> 2427 2428 <style>.background-overlay-6a3e1866-5bb6-4c08-91e2-0e4a5eda9581{background:;} 2429 </style> 2430 2431 2432 2433 2434 </div> 2435 2436 </div> 2437 </div> 2438 </div> 2439</div> 2440 2441<style> 2442 .content-height-1572233606109{height:40vh;min-height:100%} 2443</style> 2444 2445</div><div id="shopify-section-1590634183560" class="shopify-section"> 2446 2447<div data-section-id="1590634183560" 2448 data-section-type="home-image-with-text" 2449 class="margins-section clearfix"> 2450 2451 <div class="container clearfix"> 2452 <div> 2453 <div class="tab-body"> 2454 2455 2456 2457 <div class="product-loop center"> 2458 2459 2460 2461 2462 2463 2464 2465 <div class="product nine none" > 2466 <div class="table"> 2467 <div class="table-cell none text-center"> 2468 <div class="no-height"> 2469 <div> 2470 2471 <h2>How It Works</h2> 2472 2473 2474 2475 2476 </div> 2477 </div> 2478 </div> 2479 </div> 2480 </div> 2481 2482 2483 2484 2485 2486 2487 2488 <div class="product six none" > 2489 2490 <div class="table " 2491 > 2492 2493 <div class="table-cell none"> 2494 <div class="no-height image"> 2495 2496 2497 2498<style> 2499 2500 2501 @media screen and (min-width: 600px) { 2502 #image-1590634183560-0 { 2503 max-width: 600px; 2504 max-height: 306.5px; 2505 } 2506 } 2507 2508 2509 2510 @media screen and (max-width: 599px) { 2511 #image-1590634183560-0 { 2512 max-width: 600px; 2513 max-height: 600px; 2514 } 2515 } 2516 2517</style> 2518<img id="image-1590634183560-0" 2519 class="lazywidth lazyload no-js-hide img-align landscape" 2520 src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_A_200x.gif?v=1614337613" 2521 data-src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_A_{width}x.gif?v=1614337613" 2522 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2523 data-aspectratio="1.9575856443719413" 2524 data-sizes="auto" 2525 2526 alt="Wise landing page delivery a"> 2527<noscript><img class="lazywidth img-align landscape" 2528 src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_A_600x.gif?v=1614337613" 2529 alt="Wise landing page delivery a"> 2530</noscript> 2531 2532 2533 2534 2535 </div> 2536 </div> 2537 </div> 2538 2539 </div> 2540 2541 2542 2543 2544 2545 2546 2547 <div class="product six none" > 2548 2549 <div class="table " 2550 > 2551 2552 <div class="table-cell none"> 2553 <div class="no-height image"> 2554 2555 2556 2557<style> 2558 2559 2560 @media screen and (min-width: 600px) { 2561 #image-1590634260169 { 2562 max-width: 600px;
2563 max-height: 306.5px; 2564 } 2565 } 2566 2567 2568 2569 @media screen and (max-width: 599px) { 2570 #image-1590634260169 { 2571 max-width: 600px; 2572 max-height: 600px; 2573 } 2574 } 2575 2576</style> 2577<img id="image-1590634260169" 2578 class="lazywidth lazyload no-js-hide img-align landscape" 2579 src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_B_200x.gif?v=1614337613" 2580 data-src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_B_{width}x.gif?v=1614337613" 2581 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2582 data-aspectratio="1.9575856443719413" 2583 data-sizes="auto" 2584 2585 alt="Wise landing page delivery b"> 2586<noscript><img class="lazywidth img-align landscape" 2587 src="//wisecrafters.my/cdn/shop/files/Wise_Landing_Page_Delivery_B_600x.gif?v=1614337613" 2588 alt="Wise landing page delivery b"> 2589</noscript> 2590 2591 2592 2593 2594 </div> 2595 </div> 2596 </div> 2597 2598 </div> 2599 2600 2601 2602 2603 </div> 2604 2605 </div> 2606 </div> 2607 </div> 2608</div> 2609 2610<style> 2611 .content-height-1590634183560{height:80vh;min-height:100%} 2612</style> 2613 2614</div><div id="shopify-section-1643167310ff1340a1" class="shopify-section"> 2615 2616<div data-section-id="1643167310ff1340a1" 2617 data-section-type="home-html"> 2618 2619 2620 <div class="clearfix"> 2621 <div class="container clearfix"><div class="twelve"> 2622 2623 <div class="text-center margins-section"> 2624<a href="#home_choose_plan" class="btn auto-width">Choose Your Meals Now!</a> 2625<br><br><h3>4.8 â Overall Google Rating</h3> 128 reviews 2626</div> 2627 2628 </div></div> 2629 </div> 2630 2631 2632</div> 2633 2634 2635</div><div id="shopify-section-1576569650492" class="shopify-section"><div data-section-id="1576569650492" 2636 data-section-type="home-slideshow" 2637 id="slideshow-1576569650492" 2638 class="swiper-enabled clearfix"> 2639 2640 <div id="slideshow-carousel-1576569650492" data-swiper-autorotate="false" class="swiper-container"> 2641 <div class="swiper-wrapper swiper-wrapper-1576569650492"> 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="4000"> 2652 <div class="container no-height image background-cover clearfix" 2653 > 2654 <div class="twelve"> 2655 2656<style> 2657 2658 2659 @media screen and (min-width: 600px) { 2660 #image-slide_BXGFfn { 2661 max-width: 1053px; 2662 max-height: 351px; 2663 } 2664 } 2665 2666 2667 2668 @media screen and (max-width: 599px) { 2669 #image-slide_BXGFfn { 2670 max-width: 600px; 2671 max-height: 600px; 2672 } 2673 } 2674 2675</style> 2676<img id="image-slide_BXGFfn" 2677 class="lazywidth lazyload no-js-hide img-align landscape" 2678 src="//wisecrafters.my/cdn/shop/files/rew1_800x.png?v=1710668386" 2679 data-src="//wisecrafters.my/cdn/shop/files/rew1_{width}x.png?v=1710668386" 2680 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2681 data-aspectratio="3.0" 2682 data-sizes="auto" 2683 2684 alt="Rew1"> 2685<noscript><img class="lazywidth img-align landscape" 2686 src="//wisecrafters.my/cdn/shop/files/rew1_2400x.png?v=1710668386" 2687 alt="Rew1"> 2688</noscript> 2689 2690 2691 </div> 2692 </div> 2693 </div> 2694 2695 2696 2697 2698 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="4000"> 2699 <div class="container no-height image background-cover clearfix" 2700 > 2701 <div class="twelve"> 2702 2703<style> 2704 2705 2706 @media screen and (min-width: 600px) { 2707 #image-slide_mpFRWU { 2708 max-width: 1062px; 2709 max-height: 348px; 2710 } 2711 } 2712 2713 2714 2715 @media screen and (max-width: 599px) { 2716 #image-slide_mpFRWU { 2717 max-width: 600px; 2718 max-height: 600px; 2719 } 2720 } 2721 2722</style> 2723<img id="image-slide_mpFRWU" 2724 class="lazywidth lazyload no-js-hide img-align landscape" 2725 src="//wisecrafters.my/cdn/shop/files/rew2_800x.png?v=1710668386" 2726 data-src="//wisecrafters.my/cdn/shop/files/rew2_{width}x.png?v=1710668386" 2727 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2728 data-aspectratio="3.0517241379310347" 2729 data-sizes="auto" 2730 2731 alt="Rew2"> 2732<noscript><img class="lazywidth img-align landscape" 2733 src="//wisecrafters.my/cdn/shop/files/rew2_2400x.png?v=1710668386" 2734 alt="Rew2"> 2735</noscript> 2736 2737 2738 </div> 2739 </div> 2740 </div> 2741 2742 2743 2744 2745 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="4000"> 2746 <div class="container no-height image background-cover clearfix" 2747 > 2748 <div class="twelve"> 2749 2750<style> 2751 2752 2753 @media screen and (min-width: 600px) { 2754 #image-slide_kEMNKF { 2755 max-width: 1074px; 2756 max-height: 348px; 2757 } 2758 } 2759 2760 2761 2762 @media screen and (max-width: 599px) { 2763 #image-slide_kEMNKF { 2764 max-width: 600px; 2765 max-height: 600px; 2766 } 2767 } 2768 2769</style> 2770<img id="image-slide_kEMNKF" 2771 class="lazywidth lazyload no-js-hide img-align landscape" 2772 src="//wisecrafters.my/cdn/shop/files/rew3_800x.png?v=1710668386" 2773 data-src="//wisecrafters.my/cdn/shop/files/rew3_{width}x.png?v=1710668386" 2774 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2775 data-aspectratio="3.086206896551724" 2776 data-sizes="auto" 2777 2778 alt="Rew3"> 2779<noscript><img class="lazywidth img-align landscape" 2780 src="//wisecrafters.my/cdn/shop/files/rew3_2400x.png?v=1710668386" 2781 alt="Rew3"> 2782</noscript> 2783 2784 2785 </div> 2786 </div> 2787 </div> 2788 2789 2790 2791 2792 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="4000"> 2793 <div class="container no-height image background-cover clearfix" 2794 > 2795 <div class="twelve"> 2796 2797<style> 2798 2799 2800 @media screen and (min-width: 600px) { 2801 #image-slide_M3CCQh { 2802 max-width: 1063px; 2803 max-height: 347px; 2804 } 2805 } 2806 2807 2808 2809 @media screen and (max-width: 599px) { 2810 #image-slide_M3CCQh { 2811 max-width: 600px; 2812 max-height: 600px; 2813 } 2814 } 2815 2816</style> 2817<img id="image-slide_M3CCQh" 2818 class="lazywidth lazyload no-js-hide img-align landscape" 2819 src="//wisecrafters.my/cdn/shop/files/rew4_800x.png?v=1710668386" 2820 data-src="//wisecrafters.my/cdn/shop/files/rew4_{width}x.png?v=1710668386" 2821 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2822 data-aspectratio="3.063400576368876" 2823 data-sizes="auto" 2824 2825 alt="Rew4"> 2826<noscript><img class="lazywidth img-align landscape" 2827 src="//wisecrafters.my/cdn/shop/files/rew4_2400x.png?v=1710668386" 2828 alt="Rew4"> 2829</noscript> 2830 2831 2832 </div> 2833 </div> 2834 </div> 2835 2836 </div> 2837 <div id="swiper-pagination-1576569650492" class="swiper-pagination slideshow-carousel hidden"> 2838 <div id="swiper-button-prev-1576569650492" class="tabindex swiper-button-prev icon icon-chevron-left" role="button" aria-label="Previous"></div> 2839 <div id="swiper-button-next-1576569650492" class="tabindex swiper-button-next icon icon-chevron-right" role="button" aria-label="Next"></div> 2840 </div> 2841 </div> 2842 2843</div> 2844 2845</div><div id="shopify-section-1588750832628" class="shopify-section"> 2846 2847<div data-section-id="1588750832628" 2848 data-section-type="home-html"> 2849 2850 2851 <div class="clearfix"> 2852 <div class="container clearfix"><div class="twelve"> 2853 2854 <div style="text-align: center;" width="400" height="205"> 2855<!-- 2856<iframe src="https://www.youtube.com/embed/1I_D5wy1NRE" height="205" width="400" allowfullscreen="" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" frameborder="0"></iframe> 2857<br>--> 2858<iframe width="400" height="205" src="https://www.youtube.com/embed/wI1aOQuUrtc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowfullscreen=""></iframe> 2859<br>Walk-in is available now! <a href="https://goo.gl/maps/X9bRjxfx7sjLjTpt5">visit our Wise Crafters Outlet at Bandar Sunway<br>No 10-1 (1st Floor) Jalan PJS 8/17, Dataran Mentari, 46150 Petaling Jaya, Selangor. 2860</a> 2861</div><br>
2862<script src="https://apps.elfsight.com/p/platform.js" defer></script>
2862 2863<div class="elfsight-app-992e4239-389e-4c5b-bb5a-df8741b2ae37"></div> 2864<div class="text-center margins-section"><a href="#home_choose_plan" class="btn auto-width">Choose Your Meals Now!</a></div> 2865 2866 </div></div> 2867 </div> 2868 2869 2870</div> 2871 2872 2873</div><div id="shopify-section-1590578868013" class="shopify-section"> 2874 2875<div data-section-id="1590578868013" 2876 data-section-type="home-image-with-text" 2877 class="background-colored color-primary colored-top-bottom clearfix"> 2878 2879 <div class="container clearfix"> 2880 <div> 2881 <div class="tab-body"> 2882 2883 2884 2885 <div class="product-loop center"> 2886 2887 2888 2889 2890 2891 2892 2893 <div class="product six none" > 2894 <div class="table"> 2895 <div class="table-cell none text-left"> 2896 <div class="no-height"> 2897 <div class="bottompad"> 2898 2899 <h2>Make Healthy Eating Easier</h2> 2900 2901 <p>We believe eating right should be tasty & easy for everyone. Thatâs why we do the work of making food ready when you are with both nutrition and taste in mind...</p> 2902 <a href="/pages/why-choose-us" title="Make Healthy Eating Easier" class="btn">LEARN MORE</a> 2903 2904 </div> 2905 </div> 2906 </div> 2907 </div> 2908 </div> 2909 2910 2911 2912 2913 2914 2915 2916 <div class="product six none" > 2917 2918 <div class="table " 2919 > 2920 2921 <div class="table-cell none"> 2922 <div class="no-height image"> 2923 2924 2925 2926<style> 2927 2928 2929 @media screen and (min-width: 600px) { 2930 #image-1590578868013-0 { 2931 max-width: 600px; 2932 max-height: 400px; 2933 } 2934 } 2935 2936 2937 2938 @media screen and (max-width: 599px) { 2939 #image-1590578868013-0 { 2940 max-width: 600px; 2941 max-height: 600px; 2942 } 2943 } 2944 2945</style> 2946<img id="image-1590578868013-0" 2947 class="lazywidth lazyload no-js-hide img-align landscape" 2948 src="//wisecrafters.my/cdn/shop/files/Untitled_design_2_200x.png?v=1643100681" 2949 data-src="//wisecrafters.my/cdn/shop/files/Untitled_design_2_{width}x.png?v=1643100681" 2950 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 2951 data-aspectratio="1.5" 2952 data-sizes="auto" 2953 2954 alt="Untitled design 2"> 2955<noscript><img class="lazywidth img-align landscape" 2956 src="//wisecrafters.my/cdn/shop/files/Untitled_design_2_600x.png?v=1643100681" 2957 alt="Untitled design 2"> 2958</noscript> 2959 2960 2961 2962 2963 </div> 2964 </div> 2965 </div> 2966 2967 </div> 2968 2969 2970 2971 2972 </div> 2973 2974 </div> 2975 </div> 2976 </div> 2977</div> 2978 2979<style> 2980 .content-height-1590578868013{height:50vh;min-height:100%} 2981</style> 2982 2983</div><div id="shopify-section-1589422076967" class="shopify-section"><div data-section-id="1589422076967" 2984 data-section-type="home-slideshow" 2985 id="slideshow-1589422076967" 2986 class="swiper-enabled clearfix"> 2987 2988 <div id="slideshow-carousel-1589422076967" data-swiper-autorotate="false" class="swiper-container"> 2989 <div class="swiper-wrapper swiper-wrapper-1589422076967"> 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="3000"> 3000 <div class="no-height image background-cover clearfix" 3001 3002 data-bgset="" 3003 data-sizes="auto" 3004 style="background:url(//wisecrafters.my/cdn/shop/files/2_407a5382-9611-4891-90e2-d7a8c0c07699_10x.jpg?v=1667807369) center center no-repeat;" 3005 > 3006 <div> 3007 3008<style> 3009 3010 3011 @media screen and (min-width: 600px) { 3012 #image-1589422076967-0 { 3013 max-width: 1566px; 3014 max-height: 456px; 3015 } 3016 } 3017 3018 3019 3020 @media screen and (max-width: 599px) { 3021 #image-1589422076967-0 { 3022 max-width: 600px; 3023 max-height: 600px; 3024 } 3025 } 3026 3027</style> 3028<img id="image-1589422076967-0" 3029 class="lazywidth lazyload no-js-hide img-align landscape" 3030 src="//wisecrafters.my/cdn/shop/files/2_407a5382-9611-4891-90e2-d7a8c0c07699_800x.jpg?v=1667807369" 3031 data-src="//wisecrafters.my/cdn/shop/files/2_407a5382-9611-4891-90e2-d7a8c0c07699_{width}x.jpg?v=1667807369" 3032 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 3033 data-aspectratio="3.4342105263157894" 3034 data-sizes="auto" 3035 3036 alt="2 407a5382 9611 4891 90e2 d7a8c0c07699"> 3037<noscript><img class="lazywidth img-align landscape" 3038 src="//wisecrafters.my/cdn/shop/files/2_407a5382-9611-4891-90e2-d7a8c0c07699_2400x.jpg?v=1667807369" 3039 alt="2 407a5382 9611 4891 90e2 d7a8c0c07699"> 3040</noscript> 3041 3042 3043 </div> 3044 </div> 3045 </div> 3046 3047 3048 3049 3050 <div class="swiper-slide table-cell tab-body" data-swiper-autoplay="3000"> 3051 <div class="no-height image background-cover clearfix" 3052 3053 data-bgset="" 3054 data-sizes="auto" 3055 style="background:url(//wisecrafters.my/cdn/shop/files/3_043b2f13-6a10-444a-bbe8-304f696339bd_10x.jpg?v=1667807384) center center no-repeat;" 3056 > 3057 <div> 3058 3059<style> 3060 3061 3062 @media screen and (min-width: 600px) { 3063 #image-5efc32e7-9b52-451b-b8cb-daf055665417 { 3064 max-width: 1566px; 3065 max-height: 456px; 3066 } 3067 } 3068 3069 3070 3071 @media screen and (max-width: 599px) { 3072 #image-5efc32e7-9b52-451b-b8cb-daf055665417 { 3073 max-width: 600px; 3074 max-height: 600px; 3075 } 3076 } 3077 3078</style> 3079<img id="image-5efc32e7-9b52-451b-b8cb-daf055665417" 3080 class="lazywidth lazyload no-js-hide img-align landscape" 3081 src="//wisecrafters.my/cdn/shop/files/3_043b2f13-6a10-444a-bbe8-304f696339bd_800x.jpg?v=1667807384" 3082 data-src="//wisecrafters.my/cdn/shop/files/3_043b2f13-6a10-444a-bbe8-304f696339bd_{width}x.jpg?v=1667807384" 3083 data-widths="[200, 220, 300, 400, 500, 600, 700, 800, 900, 1000, 1100, 1200, 1300, 1400, 1500, 1600, 1700, 1800, 1900]" 3084 data-aspectratio="3.4342105263157894" 3085 data-sizes="auto" 3086 3087 alt="3 043b2f13 6a10 444a bbe8 304f696339bd"> 3088<noscript><img class="lazywidth img-align landscape" 3089 src="//wisecrafters.my/cdn/shop/files/3_043b2f13-6a10-444a-bbe8-304f696339bd_2400x.jpg?v=1667807384" 3090 alt="3 043b2f13 6a10 444a bbe8 304f696339bd"> 3091</noscript> 3092 3093 3094 </div> 3095 </div> 3096 </div> 3097 3098 </div> 3099 <div id="swiper-pagination-1589422076967" class="swiper-pagination slideshow-carousel hidden"> 3100 <div id="swiper-button-prev-1589422076967" class="tabindex swiper-button-prev icon icon-chevron-left" role="button" aria-label="Previous"></div> 3101 <div id="swiper-button-next-1589422076967" class="tabindex swiper-button-next icon icon-chevron-right" role="button" aria-label="Next"></div> 3102 </div> 3103 </div> 3104 3105</div> 3106 3107</div><div id="shopify-section-2fe3e26c-2797-4288-a42e-483c4db78fe1" class="shopify-section"><div data-section-id="2fe3e26c-2797-4288-a42e-483c4db78fe1" 3108 data-section-type="home-slideshow" 3109 id="slideshow-2fe3e26c-2797-4288-a42e-483c4db78fe1" 3110 class="clearfix"> 3111 3112 <div> 3113 <div> 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 <div class="tab-body" > 3127 <div class="background-cover lazyload" 3128 3129 data-bgset=" 3130 3131//wisecrafters.my/cdn/shop/files/Blast_freeze_2_200x.jpg?v=1667781503 200w 58h,
3132//wisecrafters.my/cdn/shop/files/Blast_freeze_2_220x.jpg?v=1667781503 220w 64h, 3133//wisecrafters.my/cdn/shop/files/Blast_freeze_2_300x.jpg?v=1667781503 300w 87h, 3134//wisecrafters.my/cdn/shop/files/Blast_freeze_2_400x.jpg?v=1667781503 400w 116h, 3135//wisecrafters.my/cdn/shop/files/Blast_freeze_2_500x.jpg?v=1667781503 500w 146h, 3136//wisecrafters.my/cdn/shop/files/Blast_freeze_2_600x.jpg?v=1667781503 600w 175h, 3137//wisecrafters.my/cdn/shop/files/Blast_freeze_2_700x.jpg?v=1667781503 700w 204h, 3138//wisecrafters.my/cdn/shop/files/Blast_freeze_2_800x.jpg?v=1667781503 800w 233h, 3139//wisecrafters.my/cdn/shop/files/Blast_freeze_2_900x.jpg?v=1667781503 900w 262h, 3140//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1000x.jpg?v=1667781503 1000w 291h, 3141//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1100x.jpg?v=1667781503 1100w 320h, 3142//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1200x.jpg?v=1667781503 1200w 349h, 3143//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1300x.jpg?v=1667781503 1300w 379h, 3144//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1400x.jpg?v=1667781503 1400w 408h, 3145//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1500x.jpg?v=1667781503 1500w 437h, 3146 3147 3148 3149 3150//wisecrafters.my/cdn/shop/files/Blast_freeze_2.jpg?v=1667781503 1566w 456h 3151 3152" 3153 data-sizes="auto" 3154 style="background:url(//wisecrafters.my/cdn/shop/files/Blast_freeze_2_300x.jpg?v=1667781503) center center no-repeat;" 3155 > 3156 3157 <noscript> 3158 <div class="no-js-bg background-cover content-height-2fe3e26c-2797-4288-a42e-483c4db78fe1" style="background:url(//wisecrafters.my/cdn/shop/files/Blast_freeze_2_1900x.jpg?v=1667781503) center center no-repeat;"></div> 3159 </noscript> 3160 3161 <div class="relative background-overlay background-overlay-2fe3e26c-2797-4288-a42e-483c4db78fe1-16677813719d9673d1-0"> 3162 <div class="container clearfix"> 3163 3164 <div> 3165 <div class="white clearfix" 3166 > 3167 3168 3169 <div class="table content-height-2fe3e26c-2797-4288-a42e-483c4db78fe1"> 3170 3171 3172 <div class="table-cell"> 3173 <div class="four mobile text-center center"> 3174 3175 <h2 class="h1">Your Body Will Thank You!</h2> 3176 3177 3178 <a href="#home_choose_plan" title="Your Body Will Thank You!" class="btn bottompad">Order Now</a> 3179 3180 </div> 3181 </div> 3182 3183 </div> 3184 3185 </div> 3186 </div> 3187 </div> 3188 </div> 3189 </div> 3190 </div> 3191 <style>.background-overlay-2fe3e26c-2797-4288-a42e-483c4db78fe1-16677813719d9673d1-0{background:rgba(41, 41, 41, 0.15);} 3192 </style> 3193 3194 </div> 3195 <div id="swiper-pagination-2fe3e26c-2797-4288-a42e-483c4db78fe1" class="swiper-pagination slideshow-carousel hidden"> 3196 <div id="swiper-button-prev-2fe3e26c-2797-4288-a42e-483c4db78fe1" class="tabindex swiper-button-prev icon icon-chevron-left" role="button" aria-label="Previous"></div> 3197 <div id="swiper-button-next-2fe3e26c-2797-4288-a42e-483c4db78fe1" class="tabindex swiper-button-next icon icon-chevron-right" role="button" aria-label="Next"></div> 3198 </div> 3199 </div> 3200 3201</div> 3202 3203<style> 3204 .content-height-2fe3e26c-2797-4288-a42e-483c4db78fe1{height:50vh;min-height:50vh} 3205</style> 3206 3207</div><div id="shopify-section-1452b09b-e1de-42c2-b83f-e63cfbe06490" class="shopify-section"> 3208 3209<div data-section-id="1452b09b-e1de-42c2-b83f-e63cfbe06490" 3210 data-section-type="home-rich-text" 3211 > 3212 3213 3214 <div class="clearfix"> 3215 <div class="container clearfix"> 3216 <div> 3217 <div class="tab-body"> 3218 <div class="clearfix"> 3219 <div class="table content-height-1452b09b-e1de-42c2-b83f-e63cfbe06490"> 3220 <div class="table-cell"> 3221 <div class="six text-center center"> 3222 3223 3224 <h3>Healthy Meal Plan Delivery</h3> 3225 3226 3227 3228 </div> 3229 </div> 3230 </div> 3231 </div> 3232 </div> 3233 </div> 3234 </div> 3235 </div> 3236 3237 3238</div> 3239 3240<style>
3241 .content-height-1452b09b-e1de-42c2-b83f-e63cfbe06490{height:10vh;min-height:10vh} 3242</style> 3243 3244 3245</div><div id="shopify-section-41e33bf3-f68a-41c8-a3bc-a75bec6ab39f" class="shopify-section"> 3246 3247<div data-section-id="41e33bf3-f68a-41c8-a3bc-a75bec6ab39f" 3248 data-section-type="home-image-with-text" 3249 class="margins-section clearfix"> 3250 3251 <div class="container clearfix"> 3252 <div> 3253 <div class="tab-body"> 3254 3255 3256 3257 <div class="product-loop center"> 3258 3259 3260 3261 3262 3263 3264 3265 <div class="product six none" > 3266 <div class="table"> 3267 <div class="table-cell none text-left"> 3268 <div class="no-height"> 3269 <div> 3270 3271 3272 3273 <p>We run a successful <strong>healthy meal plan delivery</strong> business in Malaysia, providing our customers with nutritious and clean meals. Our team of nutritionists and food scientists meticulously curates each meal. We personalise your meal plans and help you achieve health goals in a natural & efficient way. We all know that food is an experience. It should be a delightful experience from the moment you add your food to the cart to your first bite. That's why we go above and beyond in terms of service â understanding your body conditions, offering natural healthilicious plant-based meals, and providing on-time delivery. </p> 3274 3275 3276 </div> 3277 </div> 3278 </div> 3279 </div> 3280 </div> 3281 3282 3283 3284 3285 3286 3287 3288 3289 <div class="product six none" > 3290 <div class="table"> 3291 <div class="table-cell none text-left"> 3292 <div class="no-height"> 3293 <div> 3294 3295 3296 3297 <p>Our team also believes that <em>healthy meal plan delivery</em> should be made accessible and convenient for everyone. That is why we strive to give back to the community whenever possible at Wise Crafters. We remove the guesswork from meal preparation by delivering a healthy and fresh meal to your doorstep. Itâs always our priority to do our best to source our ingredients with sustainability and carbon footprint in mind when it comes to meal plan delivery. So get a healthier meal with us now. We deliver to any location in Klang Valley (KL & Selangor). We are ready to be a part of your meal plan delivery journey!<br/></p> 3298 3299 3300 </div> 3301 </div> 3302 </div> 3303 </div> 3304 </div> 3305 3306 3307 3308 3309 </div> 3310 3311 </div> 3312 </div> 3313 </div> 3314</div> 3315 3316<style> 3317 .content-height-41e33bf3-f68a-41c8-a3bc-a75bec6ab39f{height:50vh;min-height:100%} 3318</style> 3319 3320</div><div id="shopify-section-cd3b9776-4524-482d-8861-e346261a418d" class="shopify-section"> 3321 3322<div data-section-id="cd3b9776-4524-482d-8861-e346261a418d" 3323 data-section-type="home-html"> 3324 3325 3326 <div class="clearfix"> 3327 <div class="container clearfix"><div class="twelve"> 3328 3329 <div class="text-center margins-section"><a href="#home_choose_plan" class="btn auto-width">Order Now</a></div> 3330 3331 </div></div> 3332 </div> 3333 3334 3335</div> 3336 3337 3338</div><!-- END content_for_index --><!--LayoutHub-Workspace-End--> 3339 </div> 3340 3341 <div id="shopify-section-footer-brands" class="shopify-section"> 3342 3343 3344 3345</div> 3346 3347 <footer> 3348 <div id="shopify-section-footer" class="shopify-section"> 3349 3350<div data-section-id="footer" 3351 data-section-type="footer-section" 3352 class="clearfix"> 3353 3354 <div class="container clearfix"> 3355 <div> 3356 3357 3358 3359 3360 3361 3362 3363<div class="four top text-left relative bottompad-half" > 3364 3365 <h4 class="h5">Wise Crafters</h4> 3366 3367<p><a href="https://g.page/WiseCrafters?share" title="https://g.page/WiseCrafters?share">No 10-1 (1st Floor) Jalan PJS 8/17, Bandar Sunway, 46150 Petaling Jaya, Selangor</a> 3368 3369 <div class="open-container"> 3370 <a href="javascript:void(0)" class="open open-btn open-footer" title="Open" aria-controls="content-be9d7418-40f8-43a4-9a37-4b169836cd11" role="button" aria-label="Open"><span class="icon icon-plus btn text-center"></span></a> 3371 <div id="content-be9d7418-40f8-43a4-9a37-4b169836cd11" class="open-slide"> 3372 <p><a href="mailto:[email protected]" title="mailto:[email protected]">[email protected]</a></p><p>
3372<a href="https://api.whatsapp.com/send/?phone=601116724957&text=Hi+good+day+to+you%7E&type=phone_number&app_absent=0" title="https://api.whatsapp.com/send/?phone=601116724957&text=Hi+good+day+to+you%7E&type=phone_number&app_absent=0"><span style="text-decoration:underline">+6011-16724957</span></a></p><p>or +6016-7454871 (secondary)</p><p>by Wise Fresh Foods Sdn Bhd</p><p>Reg.No: 201701002429 (1216579-D)</p> 3373 </div> 3374 </div> 3375 3376 3377 3378 </div> 3379 3380 3381 3382 3383 3384 3385<div class="four top text-left relative bottompad-half" > 3386 3387 <h4 class="h5">Quick Links</h4> 3388 3389<p><a href="/pages/diet-meal-plan-delivery" title="Diet Meal Plan Delivery Service">Diet Meal Plan Delivery</a> 3390 3391 <div class="open-container"> 3392 <a href="javascript:void(0)" class="open open-btn open-footer" title="Open" aria-controls="content-4d743ebf-1e17-4115-8013-03ebf1e22a1e" role="button" aria-label="Open"><span class="icon icon-plus btn text-center"></span></a> 3393 <div id="content-4d743ebf-1e17-4115-8013-03ebf1e22a1e" class="open-slide"> 3394 <p><a href="/pages/door-gift-for-corporate-event" title="Door Gift For Corporate Event">Door Gift For Corporate Event</a></p><p><a href="https://wisecrafters.my/pages/corporate-snack-box-delivery" title="https://wisecrafters.my/pages/corporate-snack-box-delivery">Corporate Snack Box Delivery</a></p><p><a href="https://wisecrafters.my/pages/healthy-meal-plan-delivery-service" title="https://wisecrafters.my/pages/healthy-meal-plan-delivery-service">Healthy Meal Plan Delivery Service</a></p><p><a href="/pages/contact-us" title="Contact Us">Contact Us</a></p> 3395 </div> 3396 </div> 3397 3398 3399 3400 </div> 3401 3402 3403 3404 3405 3406 3407<div class="four top text-left relative bottompad-half" > 3408 3409 <h4 class="h5">Information</h4> 3410 3411<p><a href="https://wisecrafters.my/blogs/eat-wise-live-wise" title="https://wisecrafters.my/blogs/eat-wise-live-wise">Blogs</a> 3412 3413 <div class="open-container"> 3414 <a href="javascript:void(0)" class="open open-btn open-footer" title="Open" aria-controls="content-4aa2ba61-06b4-4e98-922b-7c6728f165b7" role="button" aria-label="Open"><span class="icon icon-plus btn text-center"></span></a> 3415 <div id="content-4aa2ba61-06b4-4e98-922b-7c6728f165b7" class="open-slide"> 3416 <p><a href="/pages/sitemap" title="Sitemap">Sitemap</a></p><p><a href="/pages/privacy-policy" title="Privacy Policy">Privacy Policy</a></p><p><a href="/pages/terms-of-service" title="Terms of Service">Terms of Service</a></p><p><a href="/pages/return-refund-policy" title="Return/Refund Policy">Return/Refund Policy</a></p><p><a href="https://wisecrafters.my/pages/career-job-oppotunity" title="https://wisecrafters.my/pages/career-job-oppotunity">Job Opportunity</a></p> 3417 </div> 3418 </div> 3419 3420 3421 3422 </div> 3423 3424 3425 3426 3427 3428 3429 <div class="four first top text-left bottompad-half" > 3430 3431 <div class="inline-container"> 3432 3433 <h4 class="h5">Follow Us</h4> 3434 3435 3436 </div> 3437 3438 3439 3440<div class="socials"> 3441 <ul> 3442 3443 <li> 3444 <a href="https://facebook.com/wisecrafters" target="_blank" role="button" aria-label="Facebook"> 3445 <span class="icon icon-facebook text-center"></span> 3446 </a> 3447 </li> 3448 3449 3450 3451 3452 <li> 3453 <a href="https://www.instagram.com/wisecrafters" target="_blank" role="button" aria-label="Instagram"> 3454 <span class="icon icon-instagram text-center"></span> 3455 </a> 3456 </li> 3457 3458 3459 3460 <li> 3461 <a href="https://www.youtube.com/channel/UChsaPtu1RxE-snI1aKdzHcw" target="_blank" role="button" aria-label="YouTube"> 3462 <span class="icon icon-youtube text-center"></span> 3463 </a> 3464 </li> 3465 3466 3467 </ul> 3468</div> 3469 3470 </div> 3471 3472 3473 3474 3475 </div> 3476 </div> 3477 3478 <div class="sub-footer background-colored color-primary colored-top-bottom"> 3479 <div class="container clearfix"> 3480 <div class="twelve"> 3481 <p>Wise Crafters © 2026</p> 3482 3483 3484 3485 3486 </div> 3487 </div> 3488 </div> 3489</div> 3490 3491</div> 3492 </footer> 3493 3494 <noscript><div class="noscript table"><div class="table-cell"><span>Please enable JavaScript in your browser for better use of the website!</span></div></div></noscript> 3495 3496 <div id="ajaxBusy"><div class="fancybox-loading"></div></div> 3497 3498 3499<!-- spurit_uev-added --> 3500<!-- "snippets/spurit_uev-theme-snippet.liquid" was not rendered, the associated app was uninstalled --> 3501<!-- /spurit_uev-added --> 3502
3503<script type="text/javascript" src="https://formbuilder.websyms.in/js/function.js"></script>
3503<!--Content in content_for_footer --> 3504 3505 3506
3506<script src="//wisecrafters.my/cdn/shop/t/19/assets/layouthub-jquery.min.js?v=20063861293276086581651276361" type="text/javascript"></script>
3506 <div id="shopify-block-ARTg3djF4REhDLzg1M__16237003337219470499" class="shopify-block shopify-app-block"> 3507 3508 3509 3510 3511
3512<script> 3513 var _ALConfig = _ALConfig || {}; 3514 _ALConfig = { 3515 'shop_name': '', 3516 'public_domain': null, 3517 'proxy_path_prefix': 'apps/loyalty', 3518 'widgetJsPath': 'https://loyalty-admin.appstle.com/app/loyalty-widget.bundle.js', 3519 'widgetCssPath': 'https://loyalty-admin.appstle.com/content/loyalty-widget.css', 3520 'pointEarnRules': [], 3521 'pointRedeemRules': [], 3522 'widget_setting': null, 3523 'product': null, 3524 'productCollections': [], 3525 'shop_labels': null, 3526 'pointRoundType': 'NO_ROUND' 3527 }; 3528 3529 // Shopify's market-aware account routes. Emitted from the Liquid `routes` object so links keep 3530 // the customer's current market/language prefix (e.g. /en-eu/account/login) instead of a 3531 // hard-coded /account/login, which Shopify resolves against the shop's primary market. 3532 _ALConfig.routes = { 3533 'root_url': "\/", 3534 'account_url': "\/account", 3535 'account_login_url': "\/account\/login", 3536 'account_register_url': "\/account\/register", 3537 'account_logout_url': "\/account\/logout" 3538 }; 3539 3540 3541 _ALConfig.shop_name = "Wise Crafters"; 3542 3543 3544 3545 _ALConfig.proxy_path_prefix = "apps\/loyalty"; 3546 3547 3548 3549 _ALConfig.currency = "MYR"; 3550 3551 3552 3553 _ALConfig.storeCurrency = "MYR"; 3554 3555 3556 3557 _ALConfig.pointRoundType = "ROUND_DOWN"; 3558 3559 3560 3561 _ALConfig.public_domain = "wisefreshfoods.myshopify.com"; 3562 3563 3564 3565 _ALConfig.widgetJsPath = "https:\/\/loyalty-admin.appstle.com\/app\/loyalty-widget.bundle.js?v=1783529028499"; 3566 3567 3568 3569 _ALConfig.widgetCssPath = "https:\/\/loyalty-admin.appstle.com\/content\/loyalty-widget.css?v=1783529028499"; 3570 3571 3572 3573 _ALConfig.referralEnabled = false; 3574 3575 3576 3577 _ALConfig.vipTierEnabled = true; 3578 3579 3580 3581 _ALConfig.vipTierSetting = {"id":8491,"shop":"wisefreshfoods.myshopify.com","type":"POINTS_EARNED","amountOfTimeToAchieveTier":"LIFETIME","startAt":"2025-01-22T19:42:02.873952Z","evaluationEndAt":null,"createAt":"2025-01-22T19:42:02.873977Z","updateAt":"2025-01-22T19:42:02.873977Z","isRunning":true,"vipIntervalType":null,"vipInterval":null,"expiredAt":null,"allowedCustomerTags":null,"restrictCustomersWithTags":null,"timeToAchieveMilestone":"CUSTOM"}; 3582 3583 3584 3585 _ALConfig.vipTiers = [{"id":26410,"shop":"wisefreshfoods.myshopify.com","name":"Sayang KawKaw","milestone":100000.0,"imageUrl":"https:\/\/cdn.sweettooth.io\/v1\/images\/vip_tiers\/vip-tier-1.svg?color=%236568FE\u0026theme=light","createAt":"2025-01-22T19:42:02.902846Z","updateAt":"2025-02-02T07:41:03.736006Z","allowedCustomerTags":"","vipIntervalType":"YEAR","vipInterval":1,"expiredAt":null,"amountOfTimeToAchieveTier":"CUSTOM","restrictCustomersWithTags":null,"status":true,"serial":null,"customerFacingLabel":"{{VIP_TYPE}} {{milestone}} points\/amount.","additionalTags":null,"translations":null},{"id":26411,"shop":"wisefreshfoods.myshopify.com","name":"Sayang More","milestone":99999.0,"imageUrl":"https:\/\/cdn.sweettooth.io\/v1\/images\/vip_tiers\/vip-tier-1.svg?color=%236568FE\u0026theme=light","createAt":"2025-01-22T19:42:02.902846Z","updateAt":"2025-02-02T07:41:20.747923Z","allowedCustomerTags":"","vipIntervalType":"YEAR","vipInterval":1,"expiredAt":null,"amountOfTimeToAchieveTier":"CUSTOM","restrictCustomersWithTags":null,"status":true,"serial":null,"customerFacingLabel":"{{VIP_TYPE}} {{milestone}} points\/amount.","additionalTags":null,"translations":null},{"id":26409,"shop":"wisefreshfoods.myshopify.com","name":"Sayang Now","milestone":10.0,"imageUrl":"https:\/\/cdn.sweettooth.io\/v1\/images\/vip_tiers\/vip-tier-1.svg?color=%236568FE\u0026theme=light","createAt":"2025-01-22T19:42:02.902844Z","updateAt":"2025-01-27T01:31:30.345799Z","allowedCustomerTags":null,"vipIntervalType":"YEAR","vipInterval":1,"expiredAt":null,"amountOfTimeToAchieveTier":"CUSTOM","restrictCustomersWithTags":null,"status":true,"serial":null,"customerFacingLabel":"{{VIP_TYPE}} {{milestone}} points\/amount.","additionalTags":null,"translations":null}]; 3586 3587 3588 3589 _ALConfig.pointEarnRules = [{"id":23528,"shop":"wisefreshfoods.myshopify.com","type":"PURCHASE","status":"ACTIVE","historicPurchaseDuration":"NONE","basePoints":1.0,"includeSubtotal":true,"includeTax":false,"excludeCollections":null,"name":"Purchase Product","customerNotification":"{{points}} points added for {{rule_name}}","createAt":"2025-01-22T19:43:56.400914Z","updateAt":"2025-02-12T04:27:02.651364Z","rewardInterval":null,"productId":null,"collectionId":null,"variantId":null,"productData":null,"collectionData":null,"customerFacingLabel":"Get 1 points for every RM1 spent on product purchases","socialUrl":"","disableForOnSellProduct":true,"autoApprovalDays":1,"enableInterval":null,"earnLimit":null,"activityType":"REGULAR","allowedCustomerTags":null,"includeShippingPoints":false,"eligibleForFirstOrder":null,"maximumPoints":null,"restrictCustomerTags":null,"customerFacingIconUrl":null,"serial":0,"excludeOrderTags":null,"pointBasedOn":null,"excludeProducts":null,"givePointsToGuestCustomers":true,"allowedProductTags":null,"restrictProductTags":null,"rollBackPointsOnUnsubscribe":null,"addAdditionalPoints":null,"additionalPoints":null,"refundNotificationLabel":"{{points}} points removed for refund.","disablePointsForDiscountedProduct":true,"platformType":"BOTH","vipTierId":null,"earnType":"POINTS","minimumOrderValue":null,"allowedOrderTags":null,"excludeVariantIds":null,"rewardA
3589ssignType":"DYNAMIC","applyOnImportedCustomer":false,"enableBirthdayPromo":false,"promoPointsMultiplier":null,"ruleStartDate":null,"ruleEndDate":null,"translations":null,"appliesOn":null,"manuallyApprovePoints":null}]; 3590 3591 3592 3593 _ALConfig.pointRedeemRules = [{"id":24973,"shop":"wisefreshfoods.myshopify.com","name":"Discount Reward","type":"DISCOUNT_CODE","referralType":null,"status":"ACTIVE","redeemPoints":500.0,"discountType":"FIXED","discount":5.0,"minimumPurchaseAmount":0.0,"createAt":"2025-01-22T19:43:56.181476Z","updateAt":"2025-03-07T08:04:19.789088Z","maximumShippingRate":null,"productId":null,"variantId":null,"productData":null,"collectionId":null,"collectionData":null,"customerFacingLabel":"Redeem 500 points to receive a RM5 discount","restrictCustomers":null,"restrictCustomersWithTags":null,"rewardInterval":null,"appliesOn":"ONE_TIME","combinedWithProductDiscount":null,"combinedWithShippingDiscount":null,"combinedWithOrderDiscount":null,"enableInterval":null,"redeemLimit":null,"enableNumberOfUsagesLimit":false,"numberOfUsagesLimit":null,"allowedCustomerTags":null,"earnRuleId":null,"vipTierId":null,"redeemLabel":"Get a {{discount}} discount on your entire order with a minimum spend of {{min_spend_amount}}","customerFacingIconUrl":null,"serial":0,"discountCodeForAllCustomer":null,"allowedCountries":null,"showInPosOnly":false,"redeemAllPoints":null,"enableMinimumPointsToRedeem":null,"requiredMinimumPointsToRedeem":null,"enableMaximumPointsToRedeem":null,"requiredMaximumPointsToRedeem":null,"enablePOS":true,"minimumPointsLabel":null,"maximumPointsLabel":null,"applyDiscountOnce":true,"enableDiscountPrefix":null,"discountPrefixText":null,"discountCodeNodeId":null,"translations":null,"quantity":null,"applyToEachItem":null}]; 3594 3595 3596 3597 _ALConfig.vipRewards = [{"id":31207,"shop":"wisefreshfoods.myshopify.com","name":"#SayangKawKaw Monthly Complimentary Treat","type":"FREE_PRODUCT","referralType":"VIP","status":"ACTIVE","redeemPoints":0.0,"discountType":"FIXED","discount":0.0,"minimumPurchaseAmount":1.0,"createAt":"2025-04-06T04:17:18.081638Z","updateAt":"2025-04-06T04:17:18.081639Z","maximumShippingRate":0.0,"productId":null,"variantId":null,"productData":"[{\"id\":42015859146834,\"type\":\"VARIANT\",\"productId\":7450222526546,\"title\":\"New! AvoBoost Smoothie bowl\",\"imageSrc\":\"https:\/\/cdn.shopify.com\/s\/files\/1\/2186\/4513\/files\/AvoBoost-01.jpg?v=1743864555\",\"productHandle\":\"avoboost-smoothie-bowl\",\"variant\":true,\"status\":\"ACTIVE\"}]","collectionId":null,"collectionData":null,"customerFacingLabel":"\u003ca href='https:\\\/\\\/wisefreshfoods.myshopify.com\\\/products\\\/avoboost-smoothie-bowl?variant=42015859146834' target='_blank' style='color: blue;text-decoration: none' class='loyalty-redeem-product-title'\u003eNew! AvoBoost Smoothie bowl\u003c\\\/a\u003e for free","restrictCustomers":null,"restrictCustomersWithTags":null,"rewardInterval":"DAY","appliesOn":"ONE_TIME","combinedWithProductDiscount":false,"combinedWithShippingDiscount":false,"combinedWithOrderDiscount":true,"enableInterval":false,"redeemLimit":1,"enableNumberOfUsagesLimit":true,"numberOfUsagesLimit":70,"allowedCustomerTags":null,"earnRuleId":null,"vipTierId":26410,"redeemLabel":"Get {{variant_title}} for free","customerFacingIconUrl":null,"serial":0,"discountCodeForAllCustomer":false,"allowedCountries":null,"showInPosOnly":false,"redeemAllPoints":false,"enableMinimumPointsToRedeem":false,"requiredMinimumPointsToRedeem":0.0,"enableMaximumPointsToRedeem":false,"requiredMaximumPointsToRedeem":0.0,"enablePOS":false,"minimumPointsLabel":"Add minimum {{points}} points to redeem","maximumPointsLabel":"Maximum {{points}} points can be redeemed","applyDiscountOnce":false,"enableDiscountPrefix":true,"discountPrefixText":"AprilAvo","discountCodeNodeId":null,"translations":null,"quantity":null,"applyToEachItem":null},{"id":31205,"shop":"wisefreshfoods.myshopify.com","name":"RM10 Voucher \u0026 Free 2 x Tempeh Quiche","type":"DISCOUNT_CODE","referralType":"VIP","status":"ACTIVE","redeemPoints":0.0,"discountType":"FIXED","discount":10.0,"minimumPurchaseAmount":200.0,"createAt":"2025-04-06T03:14:52.639441Z","updateAt":"2025-04-06T03:14:52.639442Z","maximumShippingRate":0.0,"productId":null,"variantId":null,"productData":null,"collectionId":null,"collectionData":null,"customerFacingLabel":"RM10 discount on any product","restrictCustomers":null,"restrictCustomersWithTags":null,"rewardInterval":"DAY","appliesOn":"ONE_TIME","combinedWithProductDiscount":true,"combinedWithShippingDiscount":false,"combinedWithOrderDiscount":false,"enableInterval":false,"redeemLimit":1,"enableNumberOfUsagesLimit":true,"numberOfUsagesLimit":100,"allowedCustomerTags":null,"earnRuleId":null,"vipTierId":26410,"redeemLabel":"Get a {{discount}} discount on your entire order with a minimum spend of {{min_spend_amount}}","customerFacingIconUrl":null,"serial":0,"discountCodeForAllCustomer":false,"allowedCountries":null,"showInPosOnly":false,"redeemAllPoints":false,"enableMinimumPointsToRedeem":false,"requiredMinimumPointsToRedeem":0.0,"enableMaximumPointsToRedeem":false,"requiredMaximumPointsToRedeem":0.0,"enablePOS":false,"minimumPointsLabel":"Add minimum {{points}} points to redeem","maximumPointsLabel":"Maximum {{points}}
3597 points can be redeemed","applyDiscountOnce":false,"enableDiscountPrefix":true,"discountPrefixText":"APR10","discountCodeNodeId":null,"translations":null,"quantity":null,"applyToEachItem":null},{"id":25151,"shop":"wisefreshfoods.myshopify.com","name":"#SayangKawKaw Welcome Drink","type":"FREE_PRODUCT","referralType":"VIP","status":"ACTIVE","redeemPoints":0.0,"discountType":"FIXED","discount":0.0,"minimumPurchaseAmount":0.0,"createAt":"2025-01-26T01:32:12.865107Z","updateAt":"2025-02-02T07:37:31.608352Z","maximumShippingRate":0.0,"productId":null,"variantId":null,"productData":"[{\"id\":40154701004882,\"type\":\"VARIANT\",\"productId\":6971892138066,\"title\":\"Organic Dark Gold Plant Milk\",\"imageSrc\":\"https:\/\/cdn.shopify.com\/s\/files\/1\/2186\/4513\/products\/1_27aa511d-941f-4d38-811e-752dc05ad579.png?v=1663828365\",\"productHandle\":\"organic-dark-gold-plant-milk\",\"variant\":true,\"status\":\"ACTIVE\"}]","collectionId":null,"collectionData":null,"customerFacingLabel":"Get \u003ca href='https:\\\/\\\/wisefreshfoods.myshopify.com\\\/products\\\/organic-dark-gold-plant-milk?variant=40154701004882' target='_blank' style='color: blue;text-decoration: none' class='loyalty-redeem-product-title'\u003eOrganic Dark Gold Plant Milk\u003c\\\/a\u003e for free","restrictCustomers":null,"restrictCustomersWithTags":null,"rewardInterval":"DAY","appliesOn":"ONE_TIME","combinedWithProductDiscount":false,"combinedWithShippingDiscount":false,"combinedWithOrderDiscount":true,"enableInterval":false,"redeemLimit":1,"enableNumberOfUsagesLimit":false,"numberOfUsagesLimit":null,"allowedCustomerTags":null,"earnRuleId":null,"vipTierId":26410,"redeemLabel":"Get {{variant_title}} for free","customerFacingIconUrl":null,"serial":0,"discountCodeForAllCustomer":false,"allowedCountries":null,"showInPosOnly":false,"redeemAllPoints":false,"enableMinimumPointsToRedeem":false,"requiredMinimumPointsToRedeem":0.0,"enableMaximumPointsToRedeem":false,"requiredMaximumPointsToRedeem":0.0,"enablePOS":false,"minimumPointsLabel":"Add minimum {{points}} points to redeem","maximumPointsLabel":"Maximum {{points}} points can be redeemed","applyDiscountOnce":true,"enableDiscountPrefix":true,"discountPrefixText":"FP","discountCodeNodeId":null,"translations":null,"quantity":null,"applyToEachItem":null}]; 3598 3599 3600 3601 _ALConfig.vipPointRewards = []; 3602 3603 3604 3605 _ALConfig.widget_setting = {"id":8598,"shop":"wisefreshfoods.myshopify.com","themePrimaryColor":null,"themeSecondaryColor":null,"widgetPosition":"RIGHT","showWidget":true,"widgetBackgroundColor":"#67957b","widgetTextColor":"#ffffff","faq":null,"popupHeaderColor":"#67957b","popupTilesColor":"#f7f7f7","popupButtonColor":"#67957b","popupIconColor":"#000000","popupLinksColor":"#1d4ed8","homeGreetings":"Welcome, {{customer_first_name}}","homeSignup":"Sign up to \u003cstrong\u003e{{site_name}}'s store\u003c\/strong\u003e to start earning rewards","popupButtonTextColor":"#ffffff","popupTilesTextColor":"#212121","popupDiscountCodeGenerated":"Use the below coupon to get your discount.","popupCopyDiscount":"Apply Code","popupCopiedDiscount":"Applied","widgetTitle":null,"customCss":".appstle-loyalty-button {\n bottom: 70px;\n}\n.al-loyalty-vip-block-logged-in{\n display: none;\n}","widgetCounterBackgroundColor":"#67957b","widgetCounterTextColor":"#ffffff","logoUrl":null,"notificationToastBackgroundColor":"#4EC33D","notificationToastTextColor":"#ffffff","acquirePointsBackgroundColor":"#000000","acquirePointsTextColor":"#ffffff","pointsBalanceBackgroundColor":"inherit","pointsBalanceTextColor":"#000000","allowedCustomersTag":null,"widgetSettingJson":"{\"popupRewardsDetailsHeadingText\":\"Your Rewards\",\"checkoutPendingPointsLabel\":\"with {{pendingPoints}} pending points.\",\"minimumPointsForRedeemText\":\"Minimum {{points}} points required for point redemption\",\"checkoutAcquiredPointsLabel\":\"You have acquired {{acquiredPoints}} points from this order\",\"cartWidgetLoginMessageLabel\":\"Log in to redeem your points for rewards.\",\"popupDiscountCodeGenerated\":\"Use the below coupon to get your discount.\",\"showLoyaltyOptOut\":false,\"cartWidgetSelector\":\"\",\"toastPosition\":\"bottom-center\",\"primaryDedicatedPageSectionBackgroun
3605dColor\":\"#F2F8FF\",\"availablePoints\":\"Available points {{ points }}\",\"reachVipMileStoneType\":\"TOTAL_AMOUNT\",\"referralFriendGetText\":\"They\",\"popupReferralContentText\":\"Give your friends a reward and claim your own when they make a purchase.\",\"storeCreditApplyGuideLabel\":\"Your Store Credit is ready at checkoutâmake sure the 'Apply store credit' checkbox is checked and verify the amount you're using.\",\"dateLocalFormat\":\"DEFAULT\",\"dynamicPointsLabel\":\"Enter Points\",\"enrollLoyaltyProgramTitle\":\"Enroll Loyalty Program\",\"showRedeemSection\":true,\"vipTierBadgeBackgroundColor\":\"inherit\",\"checkoutTotalStoreCreditAcquirePoints\":\"Complete this purchase to earn up to {{totalStoreCreditPoints}} store credits.\",\"acquirePointsLoggedOutText\":\"\",\"hideCheckoutBlockLoggedOutCustomers\":false,\"vipTierBadgeTextColor\":\"#000000\",\"sendEmailHeadingText\":\"Send Referral Link\",\"freeProductRewardAddedSuccessMessage\":\"Added to cart\",\"cartWidgetLoginLinkLabel\":\"Log in\",\"checkoutToggleRedeemButtonLabel\":\"Redeem Rewards\",\"rejectedStatusLabel\":\"Rejected\",\"afterCopiedDiscountRedirectUrl\":\"\",\"pointsBalanceLabel\":\"Your point balance: {{points}}\",\"popupRedeemRewardsHeadingText\":\"Redeem Rewards\",\"cartWidgetAvailableBalanceLabel\":\"You have: {{available_points}}\",\"referredByText\":\"Referred by someone\",\"birthdayActionLabel\":\"Submit\",\"waysToEarnIcon\":\"\",\"vipTierBadgeSelector\":\"\",\"popupEarnRewardsHeadingText\":\"Earn Rewards\",\"popupAvailableRewardsContentText\":\"You have {{rewards}} rewards available\",\"claimedStatusLabel\":\"Claimed\",\"loyaltyOptoutActive\":\"Active\",\"redeemActionLabel\":\"Redeem\",\"yourReferralsHeadingLabel\":\"Your Referrals\",\"loyaltyOptoutInactive\":\"Inactive\",\"hideWidgetLauncherOnMobile\":false,\"popupFAQAskedQuestionHeadingText\":\"Frequently Asked Questions\",\"popupEarnTilesText\":\"Ways to earn\",\"historyPointsAdjustment\":\"Points\/Credits\",\"customSignInLink\":\"\",\"popupRemainingPointsHeadingText\":\"Your points\",\"waysToRedeemIcon\":\"\",\"birthdayTitleLabel\":\"Enter your birthday\",\"checkoutSelectRedeemRuleDropdownLabel\":\"Select Redeem Rule\",\"noRedeemRulesLabel\":\"No Redeem Rules Found\",\"enrolledSuccessMessage\":\"Enrolled Successfully\",\"pointExpirationDateLabel\":\"Expiration date: {{expiration_date}}\",\"popupRedeemTilesText\":\"Ways to redeem\",\"loyaltyOptOutSettingsLabel\":\"Settings\",\"dedicatedPageType\":\"DEDICATED_PAGE_V1\",\"checkoutTotalAcquirePointsDescription\":\"Use your points to redeem a discount on your next order.\",\"loaderIcon\":\"\",\"checkoutEmptyRewardsLabel\":\"You don't have any rewards available.\",\"emailValidationLabel\":\"Please provide a valid email\",\"historyDate\":\"Date\",\"popupAvailableRewardsHeadingText\":\"Your Rewards\",\"customerHistoryDescriptionLabel\":\"See the list of your points\/credits earned and redeemed activity.\",\"totalAcquiredStoreCreditsLabel\":\"You have earned {{currency}}{{totalStoreCreditPoints}} store credits on this order\",\"claimReferralEmailFieldText\":\"Enter your email\",\"subscribeRuleRedirectActionLabel\":\"Subscribe\",\"hideToastNotification\":false,\"vipEarnPointLabel\":\"Earn {{points}} Points\",\"vipCurrentTierLabel\":\"Your Current Tier\",\"storeOnSaleForRedeemText\":\"Store on sale, to redeem point please try after {{shop_on_sale_end_date}}\",\"checkoutToggleAvailableRewardsButtonLabel\":\"Available Discounts\",\"manageLoyaltyButtonLabel\":\"Manage Loyalty\",\"popupWelcomeText\":\"Welcome {{customer_first_name}}\",\"vipAchievableTierLabel\":\"{{milestone_type}} {{milestone}} to reach {{achievable_tier}}\",\"dailyLimitExceedText\":\"Daily limit exceed. Cannot redeem more than {{redeem_limit}} points per day\",\"showRewardSection\":true,\"enrollLoyaltyProgramDescription\":\"Enroll our loyalty program to get rewards and incentives.\",\"primaryDedicatedPageBackgroundColor\":\"#67957b\",\"customerGreetingsIcon\":\"ð\",\"minimumRedeemRequiredPointsLabel\":\"\",\"vipTierDetailsText\":\"Your all access pass to exclusive rewards. Reach higher tiers for more exclusive perks.\",\"membershipRewardTitleLabel\":\"Appstle Membership\",\"showVipTierBadge\":false,\"manageLoyaltyButtonUrl\":\"\",\"hideRulesForLoggedOutCustomer\":false,\"showReferralSection\":true,\"acquireStoreCreditLabel\":\"Acquire Store Credits: {{totalStoreCreditPoints}}\",\"cartWidgetRewardIcon\":\"\",\"toastErrorMsg\":\"Something went wrong\",\"primaryDedicatedPageTextColor\":\"#818cf8\",\"popupCommunityContentText\":\"Join #WiseFam community\",\"socialMediaActionLabel\":\"Claim\",\"noCustomerHistoryLabel\":\"No History Found\",\"creditRe
3605wardDetailsHelpLabel\":\"Apply these credits on the order page to get a discount on your purchase!\",\"shareReferralEmailFieldText\":\"Enter your friend's email\",\"descriptionCount\":500,\"vipTierTitleLabel\":\"VIP\",\"hideFreeProductDropdownProductTitle\":false,\"referralCompletedText\":\"{{total_count}} referrals completed\",\"reviewRuleRedirectActionLabel\":\"Review\",\"showCartRedeemWidget\":true,\"popupEarnPointDescriptionText\":\"Earn more points, and turn those points into awesome rewards!\",\"popupCommunityHeadingText\":\"Wise Crafters\",\"referredCustomerRewardIcon\":\"\",\"programUpdateMessage\":\"Process initiated. Please wait for the page to reload\",\"totalAcquiredPointsLabel\":\"You have earned {{totalAcquiredPoints}} points on this order\",\"referringCustomerRewardIcon\":\"\",\"rewardsExpirationLabel\":\"{{day}}d\",\"acquirePointsLabel\":\"Acquire Points: {{totalPoints}}\",\"vipSpentAmountLabel\":\"Spent {{amount}}\",\"checkoutDiscountCodeApplyButtonLabel\":\"Apply\",\"otherRulesRedirectActionLabel\":\"Claim\",\"currentVipTierBadgeLabel\":\"You are a {{current_tier}} member\",\"checkoutAvailableRewardsLabel\":\"Your Rewards\",\"popupCopiedDiscount\":\"Applied\",\"cartWidgetRewardsButtonLabel\":\"Rewards\",\"refreshOnAddToCart\":false,\"storeCreditBalanceLabel\":\"Your Store Credits\",\"loyaltyOptOutLabel\":\"Loyalty Program Updated\",\"rewardDetailsHelpLabel\":\"Use the below coupon to get your discount\",\"popupCopyDiscount\":\"Apply Code\",\"vipStatusLabel\":\"VIP Status\",\"showCustomerHistoryDescriptionToolTip\":false,\"pendingStatusLabel\":\"Pending\",\"titleCount\":60,\"popupButtonHoverColor\":\"#1A1DFF\",\"enrollLoyaltyProgramActionLabel\":\"Enroll Now\",\"cartWidgetPlacement\":\"BEFORE\",\"popupFAQHeadingText\":\"FAQ's\",\"claimReferralEmailFieldHintText\":\"Note: To redeem your reward, please create an account using the same email address.\",\"visitedIcon\":\"\",\"checkoutViewMoreDiscountCodeButtonLabel\":\"View More\",\"perTransactionLimitExceedText\":\"Per transaction limit exceed. Cannot redeem more then {{shop_redeem_limit}} points\",\"vipTierBenefits\":\"Benefits\",\"loggedOutFlagAcquirePoints\":false,\"vipRewardLabel\":\"Rewards\",\"sendEmailButtonText\":\"Send Email\",\"showFAQSection\":true,\"showRangeForRedeemPoints\":false,\"checkoutRedeemLabel\":\"Redeem your Points\",\"popupReferralTitleText\":\"Referrals\",\"checkoutRedeemLoginLabel\":\"Log in\",\"createAccountLabel\":\"Create an account\",\"rewardDetailsTitleLabel\":\"Spend {{spend_amount}} and , get {{discount_amount}} {{discount_type}} discount\",\"widgetButtonLogoUrl\":\"https:\/\/cdn.shopify.com\/s\/files\/1\/0635\/7391\/7901\/files\/icon1.png?v=1719318035\",\"claimGiftHeaderText\":\"Claim Your Gift\",\"noRefferralAvailableText\":\"No Referrals reward available\",\"popupCardActionText\":\"Sign In\",\"minimumAmountSpentForRedeemText\":\"Minimum {{amount_spent}} spent amount required for point redemption\",\"birthdayUpdatedToastLabel\":\"Birthday Updated\",\"referButtonLabel\":\"Refer Now\",\"claimReferralGiftButtonText\":\"Claim Your Gift\",\"historyActivityDetails\":\"Activity Details\",\"widgetCopiedLabel\":\"Copied\",\"sentDiscountCodeToEmailText\":\"Referral invitation accepted.\",\"referralCustomerGetText\":\"You\",\"showPoweredBy\":true,\"referralLinkSentLabel\":\"Referral Link Sent\",\"minimumOrderCountForRedeemText\":\"Minimum {{order_count}} orders required for point redemption\",\"customerHistoryLabel\":\"Transaction history\",\"redeemLimitExceedText\":\"Redeem Limit Exceed. Cannot redeem more then {{redeem_limit}} times per {{reward_interval}}\",\"widgetDateTimeFormat\":\"MMM D, YYYY, h:mm A\",\"showVIPSection\":false,\"alreadyHaveAnAccountLabel\":\"Already have an account?\",\"referralRedirectUrl\":\"\",\"popupRewardPointContentText\":\"Earn points for different actions and turn those points into awesome rewards!\",\"noEarnRulesLabel\":\"No Earn Rules Found\",\"createAccountLink\":\"\",\"cartDrawerWidgetPlacement\":\"BEFORE\",\"enableMetaTagForNoIndexing\":false,\"checkoutRedeemLoginDescription\":\"to check your points balance and explore the exciting rewards available for redemption.\",\"hideAppstleLoaderIcon\":false,\"popupCardHeadingText\":\"Access your rewards\",\"checkoutAllowedCustomerTags\":\"\",\"referYourFriendContentText\":\"Share this URL to give your friends the reward {{rewards}}\",\"loyaltyOptOutActiveLabel\":\"Loyalty program {{active_status}}
3605.\",\"secondaryDedicatedPageBackgroundColor\":\"#ffffff\",\"popupCardContentText\":\"Sign in to \u003cstrong\u003e{{site_name}}'s store\u003c\/strong\u003e to start earning rewards\",\"rewardsDetailsExpireDate\":\"Expires at: {{expire_date}}\",\"historyStatus\":\"Status\",\"approvedStatusLabel\":\"Approved\",\"checkoutRestrictCustomerTags\":\"\",\"dedicatedPageSectionOrders\":\"[\\n {\\n \\\"id\\\": \\\"hero\\\",\\n \\\"title\\\": \\\"Hero\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"howItWorks\\\",\\n \\\"title\\\": \\\"How It Works\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"rewards\\\",\\n \\\"title\\\": \\\"Rewards\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"waysToEarn\\\",\\n \\\"title\\\": \\\"Ways To Earn\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"waysToRedeem\\\",\\n \\\"title\\\": \\\"Ways To Redeem\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"vipProgram\\\",\\n \\\"title\\\": \\\"Vip Program\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"referralProgram\\\",\\n \\\"title\\\": \\\"Referral Program\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"transactionHistory\\\",\\n \\\"title\\\": \\\"Transaction History\\\",\\n \\\"visible\\\": true\\n },\\n {\\n \\\"id\\\": \\\"faqs\\\",\\n \\\"title\\\": \\\"Faqs\\\",\\n \\\"visible\\\": true\\n }\\n]\",\"checkThankYouAcquiredPointsHeadingLabel\":\"Congratulations\",\"secondaryDedicatedPageSectionBackgroundColor\":\"#FFFFFF\",\"currentVipTierText\":\"Your Current Tier\",\"popupRewardPointTitleText\":\"Earn Rewards\",\"freeProductRewardAddToCart\":\"Add to cart\",\"showEarnSection\":true,\"showTierName\":false,\"cartDrawerRedeemWidgetSelector\":\"\",\"checkoutRedeemLoginURL\":\"\",\"customFontUrl\":\"\",\"referYourFriendTitleText\":\"Refer your friends\",\"enableAcquirePointsQuantitySelector\":false,\"recurringStatusLabel\":\"Recurring\",\"claimReferralGiftDescriptionText\":\"Someone has sent you a gift. Enter your email to claim it now.\",\"showTransactionHistory\":true,\"secondaryDedicatedPageTextColor\":\"#4b5563\",\"dynamicPointsHelpText\":\"Spend {{points}} points to get {{discount}} discount.\",\"customHtmlInject\":\"[]\",\"checkoutTotalAcquirePoints\":\"Complete this purchase to earn up to {{totalAcquiredPoints}} points\"}","widgetButtonLogoUrl":"https:\/\/cdn.shopify.com\/s\/files\/1\/0635\/7391\/7901\/files\/icon1.png?v=1719318035","showReferralSocialMedia":true,"referralSocialMediaInfo":"[{\"socialMediaIconURL\":\"https:\/\/cdn-icons-png.flaticon.com\/512\/124\/124010.png\",\"socialMediaLink\":\"https:\/\/facebook.com\/Shopify\",\"socialMedia\":\"FACEBOOK\"},{\"socialMediaIconURL\":\"https:\/\/freelogopng.com\/images\/all_img\/1690643591twitter-x-logo-png.png\",\"socialMediaLink\":\"https:\/\/x.com\",\"socialMedia\":\"TWITTER\"},{\"socialMediaIconURL\":\"https:\/\/i.ibb.co\/crzfCjC\/gmail.png\",\"socialMediaLink\":\"https:\/\/mail.google.com\",\"socialMedia\":\"EMAIL\"}]","restrictedCustomersTag":null,"blockWidgetOnPages":null,"colorSettingsJson":"{\"popupLinksColor\":\"#1d4ed8\",\"popupHeaderColor\":\"#67957b\",\"popupIconColor\":\"#000000\",\"acquirePointsBackgroundColor\":\"#000000\",\"pointsBalanceBackgroundColor\":\"inherit\",\"pointsBalanceTextColor\":\"#000000\",\"widgetCounterBackgroundColor\":\"#67957b\",\"popupButtonColor\":\"#67957b\",\"popupTilesColor\":\"#f7f7f7\",\"widgetBackgroundColor\":\"#67957b\",\"notificationToastTextColor\":\"#ffffff\",\"widgetCounterTextColor\":\"#ffffff\",\"notificationToastBackgroundColor\":\"#4EC33D\",\"popupTilesTextColor\":\"#212121\",\"popupButtonTextColor\":\"#ffffff\",\"widgetTextColor\":\"#ffffff\",\"acquirePointsTextColor\":\"#ffffff\"}","widgetType":"LAUNCHER","imageLinksJson":"{\"collectionDiscountRuleImage\":\"\",\"purchaseRuleImage\":\"\",\"buyProductFromCollectionRuleImage\":\"\",\"vipTierImage\":\"\",\"freeShippingRuleImage\":\"\",\"birthdayDiscountRuleImage\":\"\",\"referralBackgroundImage\":\"\",\"youtubeRuleImage\":\"\",\"referralReferenceImage\":\"\",\"birthdayRuleImage\":\"\",\"judgeMeReviewRuleImage\":\"\",\"pinterestRuleImage\":\"\",\"freeProductRuleImage\":\"\",\"productDiscountRuleImage\":\"\",\"faqIconImage\":\"\",\"looxIoReviewRuleImage\":\"\",\"stampedIoReviewRuleImage\":\"\",\"productReviewRuleImage\":\"\",\"discountRuleImage\":\"\",\"faqBackgroun
3605dImage\":\"\",\"tiktokRuleImage\":\"\",\"twitterRuleImage\":\"\",\"subscriptionRuleImage\":\"\",\"buyProductRuleImage\":\"\",\"createAccountRuleImage\":\"\",\"dynamicDiscountRuleImage\":\"\",\"visitShopRuleImage\":\"\",\"facebookRuleImage\":\"\",\"heroBackgroundImage\":\"\",\"instagramRuleImage\":\"\",\"okendoReviewRuleImage\":\"\",\"availableRewardsImage\":\"\"}","customerGreetingsIcon":"\\uD83D\\uDC4B","heroBackgroundImage":"","referralReferenceImage":"","referralBackgroundImage":"","purchaseRuleImage":"","subscriptionRuleImage":"","createAccountRuleImage":"","visitShopRuleImage":"","birthdayRuleImage":"","buyProductRuleImage":"","buyProductFromCollectionRuleImage":"","facebookRuleImage":"","pinterestRuleImage":"","instagramRuleImage":"","tiktokRuleImage":"","youtubeRuleImage":"","twitterRuleImage":"","stampedIoReviewRuleImage":"","looxIoReviewRuleImage":"","judgeMeReviewRuleImage":"","productReviewRuleImage":"","okendoReviewRuleImage":"","discountRuleImage":"","freeShippingRuleImage":"","freeProductRuleImage":"","productDiscountRuleImage":"","collectionDiscountRuleImage":"","dynamicDiscountRuleImage":"","birthdayDiscountRuleImage":"","availableRewardsImage":"","vipTierImage":"","faqBackgroundImage":"","showAcquirePoints":false,"acquirePointsSelector":null,"showPointsBalance":null,"pointsBalanceSelector":null,"showPoweredBy":true,"forceRedirectDedicatedPage":null,"historyDate":"Date","historyActivityDetails":"Activity Details","historyPointsAdjustment":"Points\\\/Credits","historyStatus":"Status","afterCopiedDiscountRedirectUrl":"","showVipTierBadge":false,"vipTierBadgeSelector":"","vipTierBadgeBackgroun
3605dColor":"inherit","vipTierBadgeTextColor":"#000000","faqIconImage":"","descriptionCount":500,"customHtmlInject":"[]","availablePoints":"Available points {{ points }}","showTransactionHistory":true,"showLoyaltyOptOut":false,"loyaltyOptoutActive":"Active","loyaltyOptoutInactive":"Inactive","createAccountLink":"","showReferralSection":true,"showRewardSection":true,"showRedeemSection":true,"showEarnSection":true,"showFAQSection":true,"showVIPSection":false,"showHowItWorksSection":false,"vipTierBenefits":"Benefits","enrollLoyaltyProgramTitle":"Enroll Loyalty Program","enrollLoyaltyProgramDescription":"Enroll our loyalty program to get rewards and incentives.","freeProductRewardAddToCart":"Add to cart","freeProductRewardAddedSuccessMessage":"Added to cart","enrolledSuccessMessage":"Enrolled Successfully","customFontUrl":"","visitedIcon":"","allowWidgetOnSpecificPages":null,"referralRedirectUrl":"","showRangeForRedeemPoints":false,"hideAppstleLoaderIcon":false,"hideFreeProductDropdownProductTitle":false,"showToLoggedInCustomerOnly":false,"enableMetaTagForNoIndexing":false,"waysToEarnIcon":"","waysToRedeemIcon":"","loaderIcon":"","toastPosition":"bottom-center","widgetDateTimeFormat":"MMM D, YYYY, h:mm A","toastErrorMsg":"Something went wrong","primaryDedicatedPageBackgroundColor":"#67957b","secondaryDedicatedPageBackgroundColor":"#ffffff","titleCount":60,"programUpdateMessage":"Process initiated. Please wait for the page to reload","primaryDedicatedPageSectionBackgroundColor":"#F2F8FF","secondaryDedicatedPageSectionBackgroundColor":"#FFFFFF","primaryDedicatedPageV2SectionBackgroundColor":null,"secondaryDedicatedPageV2SectionBackgroundColor":null,"primaryDedicatedPageV2BackgroundColor":null,"secondaryDedicatedPageV2BackgroundColor":null,"primaryDedicatedPageV2TextColor":null,"secondaryDedicatedPageV2TextColor":null,"dedicatedPageV2BorderColor":null,"dedicatedPageV2BorderRadius":null,"dedicatedPageV2CardGap":null,"dedicatedPageV2SectionPadding":null,"refreshOnAddToCart":false,"showTierName":false,"customSignInLink":"","checkoutRedeemLoginDescription":"to check your points balance and explore the exciting rewards available for redemption.","checkoutRedeemLoginURL":"","checkoutTotalAcquirePoints":"Complete this purchase to earn up to {{totalAcquiredPoints}} points","checkoutTotalAcquirePointsDescription":"Use your points to redeem a discount on your next order.","reachVipMileStoneType":"TOTAL_AMOUNT","showCustomerHistoryDescriptionToolTip":false,"checkoutTotalStoreCreditAcquirePoints":"Complete this purchase to earn up to {{totalStoreCreditPoints}} store credits.","hideRulesForLoggedOutCustomer":false,"hideCheckoutBlockLoggedOutCustomers":false,"checkoutAllowedCustomerTags":"","checkoutRe
3605strictCustomerTags":"","hideWidgetLauncherOnMobile":false,"referringCustomerRewardIcon":"","referredCustomerRewardIcon":"","referralClaimGiftIcon":null,"hideToastNotification":false,"dateLocalFormat":"DEFAULT","manageLoyaltyButtonUrl":"","rewardsDetailsExpireDate":"Expires at: {{expire_date}}","hideEarnRuleSectionOnEmpty":null,"hideRedeemRuleSectionOnEmpty":null,"hideStoreCreditsBalance":null,"hidePointsBalance":null,"popupButtonHoverColor":"#1A1DFF","hideWidgetOnScroll":null,"loyaltyPageMetaTitle":null,"loyaltyPageMetaDescription":null,"hideExpirationDate":null,"disableLoyaltyBlocks":null,"loadScriptOnlyOnDedicatedPage":null,"hideFaqSection":null,"enableAcquirePointsQuantitySelector":false,"showCartRedeemWidget":true,"cartWidgetSelector":"","cartDrawerRedeemWidgetSelector":"","cartWidgetPlacement":"BEFORE","cartWidgetRewardIcon":"","cartDrawerWidgetPlacement":"BEFORE","dedicatedPageType":"DEDICATED_PAGE_V1","secondaryDedicatedPageTextColor":"#4b5563","primaryDedicatedPageTextColor":"#818cf8","displayMethod":null,"launcherDataType":null,"widgetBackgroundImage":null,"hideVipTierName":false,"enableEnhancedV2Styling":false,"applyDiscountCodeOnRedeem":false,"dedicatedPageSectionOrders":"[\n {\n \"i
3605d\": \"hero\",\n \"title\": \"Hero\",\n \"visible\": true\n },\n {\n \"id\": \"howItWorks\",\n \"title\": \"How It Works\",\n \"visible\": true\n },\n {\n \"id\": \"rewards\",\n \"title\": \"Rewards\",\n \"visible\": true\n },\n {\n \"id\": \"waysToEarn\",\n \"title\": \"Ways To Earn\",\n \"visible\": true\n },\n {\n \"id\": \"waysToRedeem\",\n \"title\": \"Ways To Redeem\",\n \"visible\": true\n },\n {\n \"id\": \"vipProgram\",\n \"title\": \"Vip Program\",\n \"visible\": true\n },\n {\n \"id\": \"referralProgram\",\n \"title\": \"Referral Program\",\n \"visible\": true\n },\n {\n \"id\": \"transactionHistory\",\n \"title\": \"Transaction History\",\n \"visible\": true\n },\n {\n \"id\": \"faqs\",\n \"title\": \"Faqs\",\n \"visible\": true\n }\n]","disableRuleCollapsible":false,"referralCustomRedirectUrl":null,"selectApplyRewardsDefault":false,"exploreButtonCustomRedirect":null,"heroBackgroundMobileImage":null,"loggedOutFlagAcquirePoints":false}; 3606 3607 3608 3609 3610 3611 3612 _ALConfig.assetRev = "89d1f5661b11d22c012038e96a7af223"; 3613 3614 _ALConfig.storeFrontApiVersion = "2026-01"; 3615 _ALConfig.__appstleLoyaltyNativeFetch = window.fetch.bind(window); 3616 3617 3618 _ALConfig.pointsExpirationSetting = null; 3619 3620 3621 3622 3623 3624 3625 _ALConfig.showStoreCreditRewards = false; 3626 3627 3628 3629 _ALConfig.customerId = null; 3630 _ALConfig.customerName = ''; 3631 _ALConfig.customerEmail = null; 3632 _ALConfig.customerStoreCreditBalance = null; 3633 _ALConfig.customerStoreCreditCurrency = null; 3634 _ALConfig.customerTags = []; 3635 _ALConfig.customerLoyalty = null; 3636 3637 3638 3639 _ALConfig.shop = "wisefreshfoods.myshopify.com"; 3640 _ALConfig.shopMoneyFormat = "RM{{amount}}"; 3641 _ALConfig.shopMoneyFormatWithCurrencyFormat = "RM{{amount}}"; 3642 3643 3644 3645 3646 _ALConfig.enableInactiveCustomer = true; 3647 3648 3649 3650 _ALConfig.allowCustomerOptIn = false; 3651 3652 3653 3654 _ALConfig.enableDiscountToApplyAutomatically = true; 3655 3656 3657 3658 _ALConfig.hasDedicatedPageAccess = true; 3659 3660 3661 3662 _ALConfig.themeEditorMode = false; 3663 3664 3665 3666 _ALConfig.shop_labels = {"popupRewardsDetailsHeadingText":"Your Rewards","rewardsExpirationLabel":"{{day}}d","acquirePointsLabel":"Acquire Points: {{totalPoints}}","checkoutPendingPointsLabel":"with {{pendingPoints}} pending points.","homeSignup":"Sign up to \u003cstrong\u003e{{site_name}}'s store\u003c\/strong\u003e to start earning rewards","vipSpentAmountLabel":"Spent {{amount}}","minimumPointsForRedeemText":"Minimum {{points}} points required for point redemption","checkoutAcquiredPointsLabel":"You have acquired {{acquiredPoints}} points from this order","cartWidgetLoginMessageLabel":"Log in to redeem your points for rewards.","popupDiscountCodeGenerated":"Use the below coupon to get your discount.","checkoutDiscountCodeApplyButtonLabel":"Apply","loyaltyPageHeroV2Heading":"Exclusive Rewards for Our Valued Members","availablePoints":"Available points {{ points }}","otherRulesRedirectActionLabel":"Claim","currentVipTierBadgeLabel":"You are a {{current_tier}} member","checkoutAvailableRewardsLabel":"Your Rewards","popupCopiedDiscount":"Applied","referralFriendGetText":"They","cartWidgetRewardsButtonLabel":"Rewards","popupReferralContentText":"Give your friends a reward and claim your own when they make a purchase.","storeCreditApplyGuideLabel":"Your Store Credit is ready at checkoutâmake sure the 'Apply store credit' checkbox is checked and verify the amount you're using.","storeCreditBalanceLabel":"Your Store Credits","faq":"[{\"title\":\"What is this? \",\"content\":\"\u003cp\u003eWeâre excited to reward you for your love and loyalty with our exclusive #SayangMyself Membership Program! Itâs designed to give you savings, gifts, and VIP perks when you shop with us.\u003c\/p\u003e\u003cp\u003eWe have three tiers:\u003c\/p\u003e\u003cp\u003eTier 1 - #SayangNow (FREE): Earn points with purchase, social media reviews, and other activities. Redeem points for discounts on future purchases!\u003c\/p\u003e\u003cp\u003eTier 2 - #SayangMore (PAID): Exclusive to kiosk and PARC customers ï¼ offline onlyï¼ , this tier gives members in-store-only gifts and discounts.\u003c\/p\u003e\u003cp\u003eTier 3 - #SayangKawKaw (PREMIUM PAID RM99): Earn points with purchase, enjoy extra monthly vouchers, free new product trials, birthday treats, and more ( worth more than RM300++!\u003c\/p\u003e\"},{\"title\":\"Who can join?\",\"content\":\"\u003cp\u003e\u003cstrong\u003e#SayangNow\u003c\/strong\u003e (FREE): Simply \u003cstrong\u003ecreate an account\u003c\/strong\u003e on our website, and youâll automatically start earning points.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003e#SayangMore\u003c\/strong\u003e (PAID): Subscribe at our \u003cstrong\u003ephysical kiosk\u003c\/strong\u003e or PARC outlet.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003e#Sayangkawkaw\u003c\/strong\u003e (PREMIUM PAID): Sign up online via https:\/\/wisecrafters.my\/products\/sayangmyself-membership or you can also contact us via WhatsApp: +60 11 1672 4957\u003c\/p\u003e\"},{\"title\":\"How do I earn points?\",\"content\":\"\u003cp\u003eYou can earn points through various activities such as referring friends, making purchases, and more.\u003c\/p\u003e\u003cp\u003e\u003cstrong\u003ePlease note:\u003c\/strong\u003e Points will \u003cstrong\u003enot\u003c\/strong\u003e be awarded for purchases of discounted items or promotional packages.\u003c\/p\u003e\u003cp\u003eTo see all the ways you can earn points, just click on the \u003cstrong\u003eâWays to Earnâ\u003c\/strong\u003e tab in the menu.\u003c\/p\u003e\"},{\"title\":\"How do I redeem my points?\",\"content\":\"\u003cp\u003eSelect the *Ways to Redeem* tab. Here, you'll find a list of all the rewards we offer. If you have sufficient points, you can redeem them for a reward. You can accumulate 500 points to rebate RM5 on your next purchase!\u003c\/p\u003e\"},{\"title\":\"Is there a limit to the number of points I can earn?\",\"content\":\"\u003cp\u003eNo. Go ahead and earn as many as you can.\u003c\/p\u003e\"},{\"title\":\"What do the 'approved', 'pending' and 'cancelled' statuses mean?\",\"content\":\"\u003cp\u003eApproved: These points can be redeemed on rewards immediately.\u003c\/p\u003e\u003cp\u003ePending: These points need to be verified before you can redeem them. This typically applies to purchases and referrals.\u003c\/p\u003e\u003cp\u003eCancelled: These points will not be added to your account. For example, this will happen if you cancel a purchase (the points will change from pending to cancelled)\u003c\/p\u003e\"}]","dynamicPointsLabel":"Enter Points","loyaltyOptOutLabel":"Loyalty Program Updated","enrollLoyaltyProgramTitle":"Enroll Loyalty Program","rewardDetail
3666sHelpLabel":"Use the below coupon to get your discount","popupCopyDiscount":"Apply Code","vipStatusLabel":"VIP Status","pendingStatusLabel":"Pending","checkoutTotalStoreCreditAcquirePoints":"Complete this purchase to earn up to {{totalStoreCreditPoints}} store credits.","acquirePointsLoggedOutText":"","sendEmailHeadingText":"Send Referral Link","enrollLoyaltyProgramActionLabel":"Enroll Now","freeProductRewardAddedSuccessMessage":"Added to cart","cartWidgetLoginLinkLabel":"Log in","popupFAQHeadingText":"FAQ's","widgetTitle":"Rewards","claimReferralEmailFieldHintText":"Note: To redeem your reward, please create an account using the same email address.","checkoutToggleRedeemButtonLabel":"Redeem Rewards","rejectedStatusLabel":"Rejected","checkoutViewMoreDiscountCodeButtonLabel":"View More","perTransactionLimitExceedText":"Per transaction limit exceed. Cannot redeem more then {{shop_redeem_limit}} points","pointsBalanceLabel":"Your point balance: {{points}}","vipTierBenefits":"Benefits","popupRedeemRewardsHeadingText":"Redeem Rewards","vipRewardLabel":"Rewards","sendEmailButtonText":"Send Email","cartWidgetAvailableBalanceLabel":"You have: {{available_points}}","checkoutRedeemLabel":"Redeem your Points","referredByText":"Referred by someone","birthdayActionLabel":"Submit","popupReferralTitleText":"Referrals","popupEarnRewardsHeadingText":"Earn Rewards","popupAvailableRewardsContentText":"You have {{rewards}} rewards available","claimedStatusLabel":"Claimed","loyaltyOptoutActive":"Active","redeemActionLabel":"Redeem","checkoutRedeemLoginLabel":"Log in","createAccountLabel":"Create an account","rewardDetailsTitleLabel":"Spend {{spend_amount}} and , get {{discount_amount}} {{discount_type}} discount","claimGiftHeaderText":"Claim Your Gift","yourReferralsHeadingLabel":"Your Referrals","loyaltyOptoutInactive":"Inactive","noRefferralAvailableText":"No Referrals reward available","popupCardActionText":"Sign In","popupFAQAskedQuestionHeadingText":"Frequently Asked Questions","popupEarnTilesText":"Ways to earn","minimumAmountSpentForRedeemText":"Minimum {{amount_spent}} spent amount required for point redemption","birthdayUpdatedToastLabel":"Birthday Updated","historyPointsAdjustment":"Points\/Credits","referButtonLabel":"Refer Now","claimReferralGiftButtonText":"Claim Your Gift","historyActivityDetails":"Activity Details","widgetCopiedLabel":"Copied","sentDiscountCodeToEmailText":"Referral invitation accepted.","referralCustomerGetText":"You","popupRemainingPointsHeadingText":"Your points","referralLinkSentLabel":"Referral Link Sent","birthdayTitleLabel":"Enter your birthday","checkoutSelectRedeemRuleDropdownLabel":"Select Redeem Rule","noRedeemRulesLabel":"No Redeem Rules Found","minimumOrderCountForRedeemText":"Minimum {{order_count}} orders required for point redemption","enrolledSuccessMessage":"Enrolled Successfully","customerHistoryLabel":"Transaction history","redeemLimitExceedText":"Redeem Limit Exceed. Cannot redeem more then {{redeem_limit}} times per {{reward_interval}}","widgetDateTimeFormat":"MMM D, YYYY, h:mm A","pointExpirationDateLabel":"Expiration date: {{expiration_date}}","popupRedeemTilesText":"Ways to redeem","loyaltyOptOutSettingsLabel":"Settings","alreadyHaveAnAccountLabel":"Already have an account?","checkoutTotalAcquirePointsDescription":"Use your points to redeem a discount on your next order.","checkoutEmptyRewardsLabel":"You don't have any rewards available.","popupRewardPointContentText":"Earn points for different actions and turn those points into awesome rewards!","noEarnRulesLabel":"No Earn Rules Found","emailValidationLabel":"Please provide a valid email","historyDate":"Date","popupAvailableRewardsHeadingText":"Your Rewards","customerHistoryDescriptionLabel":"See the list of your points\/credits earned and redeemed activity.","totalAcquiredStoreCreditsLabel":"You have earned {{currency}}{{totalStoreCreditPoints}} store credits on this order","claimReferralEmailFieldText":"Enter your email","subscribeRuleRedirectActionLabel":"Subscribe","checkoutRedeemLoginDescription":"to check your points balance and explore the exciting rewards available for redemption.","loyaltyStatusLabel":"Loyalty Status","vipEarnPointLabel":"Earn {{points}} Points","vipCurrentTierLabel":"Your Current Tier","storeOnSaleForRedeemText":"Store on sale, to redeem point please try after {{shop_on_sale_end_date}}","popupCardHeadingText":"Access your rewards","loyaltyPageHeroV2SubHeading":"Become a member and earn points, store credits \u0026 exclusive rewards every time you shop.","checkoutToggleAvailableRewardsButtonLabel":"Available Discounts","manageLoyaltyButtonLabel":"Manage Loyalty","shareReferralLinkLabel":"Share Your Unique Link","popupWelcomeText":"Welcome {{customer_first_name}}","referYourFriendContentText":"Share this URL to give your friends the reward {{rewards}}","vipAchievableTierLabel":"{{milestone_type}} {{milestone}} to reach {{achievable_tier}}","shareSocialMediaLabel":"Share directly on your favorite platform:","homeGreetings":"Welcome, {{customer_first_name}}","loyaltyOptOutActiveLabel":"Loyalty program {{active_status}}.","dailyLimitExceedText":"Daily limit exceed. Cannot redeem more than {{redeem_limit}} points per day","popupCardContentText":"Sign in to \u003cstrong\u003e{{site_name}}'s store\u003c\/strong\u003e to start earning rewards","rewardsDetailsExpireDate":"Expires at: {{expire_date}}","enrollLoyaltyProgramDescription":"Enroll our loyalty program to get rewards and incentives.","loyaltyPageHeroV2AuthenticatedHeading":"Hi, {{customer_first_name}}, you have {{points}} points and {{store_credits}} store credits","minimumRedeemRequiredPointsLabel":"","vipTierDetailsText":"Your all access pass to exclusive rewards. Reach higher tiers for more exclusive perks.","membershipRewardTitleLabel":"Appstle Membership","historyStatus":"Status","approvedStatusLabel":"Approved","acquireStoreCreditLabel":"Acquire Store Credits: {{totalStoreCreditPoints}}","toastErrorMsg":"Something went wrong","checkThankYouAcquiredPointsHeadingLabel":"Congratulations","popupCommunityContentText":"Join #WiseFam community","currentVipTierText":"Your Current Tier","popupRewardPointTitleText":"Earn Rewards","socialMediaActionLabel":"Claim","noCustomerHistoryLabel":"No History Found","freeProductRewardAddToCart":"Add to cart","creditRe
3666wardDetailsHelpLabel":"Apply these credits on the order page to get a discount on your purchase!","shareReferralEmailFieldText":"Enter your friend's email","vipTierTitleLabel":"VIP","referralCompletedText":"{{total_count}} referrals completed","reviewRuleRedirectActionLabel":"Review","referYourFriendTitleText":"Refer your friends","popupEarnPointDescriptionText":"Earn more points, and turn those points into awesome rewards!","popupCommunityHeadingText":"Wise Crafters","recurringStatusLabel":"Recurring","claimReferralGiftDescriptionText":"Someone has sent you a gift. Enter your email to claim it now.","programUpdateMessage":"Process initiated. Please wait for the page to reload","dynamicPointsHelpText":"Spend {{points}} points to get {{discount}} discount.","totalAcquiredPointsLabel":"You have earned {{totalAcquiredPoints}} points on this order","checkoutTotalAcquirePoints":"Complete this purchase to earn up to {{totalAcquiredPoints}} points"}; 3667 3668 3669 var loyaltyGlobalStyles = `<style> 3670body { 3671margin: 0 3672} 3673.appstle-loyalty-hidden { 3674display: none !important; 3675visibility: hidden !important; 3676} 3677</style>` 3678 document.querySelector('body').insertAdjacentHTML('beforeend', loyaltyGlobalStyles); 3679 3680 window.addEventListener('message', appstleLoyaltyIframeListener, false); 3681 window.addEventListener('kp_user_logged_out', function() { window.location.reload(); }); 3682 const removeFirstSlashFromURL = (url) => url ? url?.replace(/\\\//g, "/")?.replace(/^\/+/, "") : url; 3683 3684 3685 function applyDiscount(discountCode, shouldReload = false) { 3686 const encodedDiscountCode = encodeURIComponent(discountCode?.trim()); 3687 const discountURL = `${location?.origin}/discount/${encodedDiscountCode}`; 3688 fetch(discountURL).then(res => { 3689 if (res.ok) { 3690 console.log('Discount Code Applied'); 3691 const discountDetails = window?._ALConfig?.customerLoyalty?.rewards?.find((item) => item?.discountCode === discountCode) || null; 3692 if (discountCode && discountDetails) { 3693 const discountData = {discountCode: discountCode || discountDetails?.discountCode, description: discountDetails?.description, customerId: discountDetails?.customerId} 3694 document.dispatchEvent(new CustomEvent('AppstleLoyalty:AppliedDiscountCode', { detail: discountData })); 3695 window.dispatchEvent(new CustomEvent('AppstleLoyalty:AppliedDiscountCode', { detail: discountData })); 3696 } 3697 if (shouldReload) { 3698 window.location.reload(); 3699 } 3700 } else { 3701 console.log('Discount Code NOT Applied'); 3702 } 3703 }); 3704 } 3705 const applyDiscountAutomatically = (discountCode, shouldReload = false) => { 3706 (async () => { 3707 const encodedDiscountCode = encodeURIComponent(discountCode?.trim()); 3708 const discountURL = `${location.origin}/checkout?discount=${encodedDiscountCode}`; 3709 const cartURL = `${location.origin}/cart.js`; 3710 try { 3711 const discountRes = await fetch(discountURL); 3712 if(discountRes) { 3713 const cartRes = await fetch(cartURL); 3714 if (!cartRes.ok) return; 3715 const cart = await cartRes.json(); 3716 const discount_codes = cart && Array.isArray(cart?.['discount_codes']) ? cart?.['discount_codes'] : []; 3717 const hasDiscount = discount_codes.some(d => (d?.code || "").toLowerCase() === String(discountCode).toLowerCase()); 3718 if (hasDiscount && shouldReload) { 3719 window.location.reload(); 3720 } 3721 } 3722 } catch (err) { 3723 console.error("Error applying discount:", err); 3724 } 3725 })(); 3726 }; 3727 3728 const unescapeWidgetString = (str) => { 3729 if (!str || typeof str !== 'string') return ''; 3730 return str?.replace(/\\\//g, '/')?.replace(/\\\\/g, '\\'); 3731 }; 3732 // Resolves a market-aware account URL. Prefers the routes published above so the customer keeps 3733 // their market/language prefix; the shop root fallback keeps that prefix too when a single route 3734 // entry is blank. Safe to assign to location.href as-is - with new customer accounts Shopify 3735 // returns an absolute URL here, so never prefix an origin. 3736 const loyaltyAccountRoute = (key, fallbackPath) => { 3737 const route = _ALConfig?.routes?.[key]; 3738 if (route) return route; 3739 const shopRoot = _ALConfig?.routes?.root_url || window?.Shopify?.routes?.root || '/'; 3740 return (shopRoot?.replace(/\/+$/, '') ?? '') + fallbackPath; 3741 }; 3742 3743 // Shopify's /customer_authentication/login answers 400 Bad Request unless return_to is a 3744 // store-relative path with one leading slash, so coerce `return_to=apps/loyalty`, 3745 // `return_to=collections/all` or a same-store absolute URL into that shape. 3746 const normalizeLoyaltyReturnTo = (link) => { 3747 const match = /([?&]return_to=)([^&#]*)/i.exec(link || ''); 3748 // Only Shopify's own login route on this store - a third-party login app may legitimately want an absolute return_to. 3749 if (!match || !/(^|\/)customer_authentication\//i.test(link.slice(0, match.index))) return link; 3750 if (/^(https?:)?\/\//i.test(link)) { 3751 try { 3752 if (new URL(link, window.location.origin).host !== window.location.host) return link; 3753 } catch (e) { 3754 return link; 3755 } 3756 } 3757 let value = match[2]; 3758 try { 3759 for (let i = 0; i < 2 && /%[0-9a-f]{2}/i.test(value); i++) value = decodeURIComponent(value); 3760 } catch (e) { 3761 return link; 3762 } 3763 value = value.trim(); 3764 if (/^(https?:)?\/\//i.test(value)) { 3765 try { 3766 const parsed = new URL(value, window.location.origin); 3767 if (parsed.host !== window.location.host) return link; 3768 value = parsed.pathname + parsed.search + parsed.hash; 3769 } catch (e) { 3770 return link; 3771 } 3772 } 3773 value = '/' + value.replace(/^\/+/, ''); 3774 return link.slice(0, match.index) + match[1] + encodeURIComponent(value) + link.slice(match.index + match[0].length); 3775 }; 3776 3777 const formatUrlByLoyalty = (link) => { 3778 if (!link) return ''; 3779 const decodedLink = decodeURIComponent(link); 3780 const loyaltyPagePath = '/' + (_ALConfig?.hasDedicatedPageAccess ? _ALConfig?.proxy_path_prefix || 'apps/loyalty' : ''); 3781 let l = decodedLink?.replace("{{proxy_path_prefix}}", loyaltyPagePath)?.trim()?.replace(/\\\//g, '/')?.replace(/^\/+/, '') || ''; 3782 l = normalizeLoyaltyReturnTo(l?.replace(/([^:]\/)\/+/g, '$1') ?? ''); 3783 if (/^(https?:\/\/|\/\/|www\.)/i.test(l)) { 3784 return /^www\./i.test(l) ? 'https://' + l : l; 3785 } 3786 const shopRoot = window?.Shopify?.routes?.root ?? '/'; 3787 return (shopRoot?.replace(/\/+$/, '') ?? '') + '/' + l; 3788 }; 3789 3790 function isAppstleLoyaltyMessage(event) { 3791 if (event.origin !== window.location.origin) return false;
3792 return event.source === window || ['appstle_loyalty_iframe', 'appstle_loyalty_cart_widget_iframe'].some(id => { 3793 const frame = document.getElementById(id); 3794 return frame && event.source === frame.contentWindow; 3795 }); 3796 } 3797 3798 const loyaltyLabelHtmlPolicy = { 3799 ALLOWED_TAGS: ['a', 'b', 'blockquote', 'br', 'button', 'center', 'div', 'em', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'hr', 'i', 'img', 'li', 'ol', 'p', 's', 'small', 'span', 'strong', 'sub', 'sup', 'u', 'ul'], 3800 ALLOWED_ATTR: ['alt', 'class', 'height', 'href', 'loading', 'rel', 'src', 'style', 'target', 'title', 'width'], 3801 ALLOW_DATA_ATTR: false, 3802 ALLOW_ARIA_ATTR: false 3803 }; 3804 const escapeLoyaltyAttribute = value => String(value ?? '').replace(/[&<>"']/g, char => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[char])); 3805 const loyaltyNavigationUrl = value => { 3806 if (typeof value !== 'string' || !value.trim()) return null; 3807 try { 3808 const url = new URL(value, window.location.href); 3809 return ['https:', 'http:'].includes(url.protocol) && !url.username && !url.password ? url : null; 3810 } catch { 3811 return null; 3812 } 3813 }; 3814 // Follow the Bundles rich-label declaration filter, preserving native storefront layout 3815 // (relative offsets, negative margins and transforms) that the merchant already configures. 3816 const sanitizeLoyaltyLabelStyle = styleText => { 3817 const allowedProperty = /^(?:color|opacity|visibility|cursor|display|order|columns|aspect-ratio|box-shadow|box-sizing|line-height|letter-spacing|white-space|vertical-align|accent-color|caret-color|appearance|width|height|position|top|right|bottom|left|transform|(?:background|border(?!-image)|outline|font|text|margin|padding|flex|align|justify|place|grid|gap|row-gap|column|overflow|transition|list-style|word|min|max|object)(?:-[a-z]+)*)$/; 3818 const unsafeValue = /[{}<>\\]|\b(?:url|attr|env|image|image-set|element|src|expression)\s*\(/i; 3819 return String(styleText ?? '').split(';').filter(declaration => { 3820 const separator = declaration.indexOf(':'); 3821 if (separator < 0) return false; 3822 const property = declaration.slice(0, separator).trim().toLowerCase(); 3823 const value = declaration.slice(separator + 1).trim(); 3824 return (allowedProperty.test(property) || /^--[a-z0-9_-]+$/i.test(property)) && value && !unsafeValue.test(value) 3825 && (property !== 'position' || /^(?:relative|static)$/i.test(value)); 3826 }).join(';'); 3827 }; 3828 const sanitizeLoyaltyLabel = (value, purifier, allowLinks = true) => { 3829 if (!purifier) return escapeLoyaltyAttribute(value); 3830 const fragment = purifier.sanitize(String(value ?? ''), { 3831 ...loyaltyLabelHtmlPolicy, 3832 FORBID_TAGS: allowLinks ? [] : ['a', 'button'], 3833 RETURN_DOM_FRAGMENT: true 3834 }); 3835 fragment.querySelectorAll('[href], [src]').forEach(element => { 3836 for (const attribute of ['href', 'src']) { 3837 if (element.hasAttribute(attribute) && !loyaltyNavigationUrl(element.getAttribute(attribute))) element.removeAttribute(attribute); 3838 } 3839 }); 3840 fragment.querySelectorAll('[style]').forEach(element => { 3841 const style = sanitizeLoyaltyLabelStyle(element.getAttribute('style')); 3842 if (style) element.setAttribute('style', style); 3843 else element.removeAttribute('style'); 3844 }); 3845 fragment.querySelectorAll('[target]').forEach(element => { 3846 if (element.tagName !== 'A' || !['_blank', '_self'].includes(element.getAttribute('target'))) element.removeAttribute('target'); 3847 else if (element.getAttribute('target') === '_blank') { 3848 const rel = new Set((element.getAttribute('rel') || '').split(/\s+/).filter(Boolean)); 3849 rel.add('noopener'); 3850 element.setAttribute('rel', [...rel].join(' ')); 3851 } 3852 }); 3853 fragment.querySelectorAll('button').forEach(button => button.setAttribute('type', 'button')); 3854 const container = document.createElement('div'); 3855 container.appendChild(fragment); 3856 return container.innerHTML; 3857 }; 3858 let loyaltyHtmlSanitizer; 3859 window.appstleLoyaltyLoadSanitizer = () => loyaltyHtmlSanitizer ||= new Promise(resolve => { 3860 if (window.DOMPurify) return resolve(window.DOMPurify); 3861 const script = document.createElement('script'); 3862 script.src = 'https://cdn.jsdelivr.net/npm/[email protected]/dist/purify.min.js'; 3863 script.integrity = 'sha384-46dPGH1XlTmj7bc50bqLjTdORXs/3EP2QpA/6EWbelYWOY9VGp+87RT61S3Mcslb'; 3864 script.crossOrigin = 'anonymous'; 3865 const settle = purifier => { 3866 clearTimeout(timeout); 3867 resolve(purifier); 3868 }; 3869 const timeout = setTimeout(() => settle(null), 8000); 3870 script.onload = () => settle(window.DOMPurify); 3871 script.onerror = () => settle(null); 3872 document.head.appendChild(script); 3873 }); 3874 3875 function appstleLoyaltyIframeListener(event) { 3876 if (!isAppstleLoyaltyMessage(event)) return; 3877 const redirect = (link, fallback) => { 3878 try { 3879 const destination = link ? formatUrlByLoyalty(link) : fallback; 3880 const url = new URL(destination, window.location.origin); 3881 if (!['http:', 'https:'].includes(url.protocol) || url.username || url.password) return; 3882 window.location.href = destination; 3883 } catch (e) {} 3884 }; 3885 if (event.data === 'appstle_loyalty_message_to_redirect_to_account') { 3886 if (!_ALConfig?.widget_setting?.customSignInLink && typeof kpHandleLogin === 'function') { 3887 kpHandleLogin(window.location.href); 3888 } else { 3889 redirect(_ALConfig?.widget_setting?.customSignInLink, loyaltyAccountRoute('account_url', '/account')); 3890 } 3891 } else if (event.data === 'appstle_message_to_redirect_to_signup') { 3892 if (typeof kpHandleLogin === 'function') { 3893 kpHandleLogin(window.location.href); 3894 } else { 3895 redirect(null, loyaltyAccountRoute('account_register_url', '/account/register')); 3896 } 3897 } else if (event?.data && event?.data?.type === 'appstle_message_to_redirect_to_after_copied_discount_redirect_url' && typeof event?.data?.value === 'string') { 3898 try { 3899 const redirectUrl = new URL(event.data.value, window.location.origin); 3900 if (redirectUrl.origin !== window.location.origin || !['http:', 'https:'].includes(redirectUrl.protocol) || redirectUrl.username || redirectUrl.password) return; 3901 window.location.href = redirectUrl.href; 3902 } catch (e) { 3903 return; 3904 } 3905 } else if (event.data === 'appstle_message_to_redirect_to_custom_url') { 3906 redirect(_ALConfig?.widget_setting?.createAccountLink, loyaltyAccountRoute('account_register_url', '/account/register')); 3907 } else if (typeof event.data === 'string') { 3908 const parts = event.data.split('|'); 3909 if (parts.length !== 2 || !parts[1].trim()) return; 3910 const [command, discountCode] = parts; 3911 if (command === 'appstle_message_to_apply_discount_and_reload') applyDiscount(discountCode, true); 3912 else if (command === 'appstle_message_to_apply_discount') applyDiscount(discountCode, false); 3913 else if (command === 'appstle_message_to_automatic_apply_discount_and_refresh') applyDiscountAutomatically(discountCode, true); 3914 else if (command === 'appstle_message_to_automatic_apply_discount') applyDiscountAutomatically(discountCode, false); 3915 } 3916 } 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 <!-- BEGIN app snippet: loyalty-snackbar --> 3928 const snackBarStyles = ` 3929#snackbar { 3930visibility: hidden; 3931min-width: 250px; 3932text-align: center; 3933position: fixed; 3934z-index: 9999999; 3935bottom: 90px; 3936font-size: 15px; 3937 3938} 3939 3940.left_snackbar { 3941left: 30px; 3942} 3943 3944#snackbar .icon { 3945display: flex 3946} 3947 3948#snackbar.show { 3949visibility: visible; 3950-webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; 3951animation: fadein 0.5s, fadeout 0.5s 2.5s; 3952} 3953 3954#snackbar .arrow_icon { 3955font-size: 25px; 3956} 3957 3958div.snackElement { 3959background-color: ${_ALConfig?.widget_setting?.notificationToastBackgroun
3959dColor || '#4EC33D'}; 3960color: ${_ALConfig?.widget_setting?.notificationToastTextColor || 'white'}; 3961border-radius: 16px; 3962width: 350px; 3963height: 94px; 3964position: relative; 3965overflow: hidden; 3966padding: 0; 3967margin-bottom: 10px; 3968text-align: left; 3969} 3970 3971svg.appstle-green-bubble { 3972position: absolute; 3973bottom: 0; 3974left: 0; 3975z-index: 0; 3976} 3977 3978svg.closeSnackBar { 3979position: absolute; 3980right: 16px; 3981top: 16px; 3982cursor: pointer; 3983} 3984 3985#snackbar .message { 3986padding-left: 74px; 3987font-size: 20px; 3988padding-top: 10px; 3989padding-right: 46px; 3990font-weight: bold; 3991} 3992 3993#snackbar .description { 3994width: 100%; 3995height: 100%; 3996display: flex; 3997justify-content: center; 3998align-items: center; 3999padding: 0 65px; 4000font-weight: 400; 4001line-height: 1; 4002font-size: 14px; 4003} 4004 4005@-webkit-keyframes fadein { 4006from { 4007bottom: 0; 4008opacity: 0; 4009} 4010to { 4011bottom: 30px; 4012opacity: 1; 4013} 4014} 4015 4016@keyframes fadein { 4017from { 4018bottom: 0; 4019opacity: 0; 4020} 4021to { 4022bottom: 30px; 4023opacity: 1; 4024} 4025} 4026 4027@-webkit-keyframes fadeout { 4028from { 4029bottom: 30px; 4030opacity: 1; 4031} 4032to { 4033bottom: 0; 4034opacity: 0; 4035} 4036} 4037 4038@keyframes fadeout { 4039from { 4040bottom: 30px; 4041opacity: 1; 4042} 4043to { 4044bottom: 0; 4045opacity: 0; 4046} 4047} 4048`; 4049 const snackBarStyle = document.createElement('style'); 4050 snackBarStyle.textContent = snackBarStyles; 4051 document.body.appendChild(snackBarStyle); 4052 const snackBarHtml = `<div id="snackbar"></div>`; 4053 document.querySelector('body').insertAdjacentHTML('beforeend', snackBarHtml); 4054 4055 window.addEventListener('message', toasterEventListener, false); 4056 4057 function toasterEventListener(event) { 4058 if (!isAppstleLoyaltyMessage(event)) return; 4059 if (typeof event.data === 'string' && event.data.startsWith('appstle_message_for_notification|')) { 4060 var message = event?.data?.split('|')[1]; 4061 showAppstleLoyaltyToaster(message); 4062 } 4063 } 4064 4065 let snackBarIndex = 0; 4066 async function showAppstleLoyaltyToaster(msg) { 4067 const purifier = await window.appstleLoyaltyLoadSanitizer(); 4068 var snackBar = document.getElementById('snackbar'); 4069 snackBar.classList.add('show'); 4070 snackBar.insertAdjacentHTML('beforeend', ` 4071 <div class="snackElement" id="elem${snackBarIndex}"> 4072 <div class="description"></div> 4073 <svg class="appstle-green-bubble" xmlns="http://www.w3.org/2000/svg" width="50" height="45" viewBox="0 0 84 75" fill="none"> 4074 <circle cx="20.6075" cy="9.29547" r="9.29547" fill="#2C7721"/> 4075 <circle cx="80.0986" cy="47.7167" r="3.71819" fill="#2C7721"/> 4076 <path d="M79.4438 11.0253C82.4971 18.5483 78.8737 27.1221 71.3507 30.1754C70.5208 30.5122 69.6781 30.7678 68.8315 30.9458C64.1204 31.9366 58.8591 33.2841 56.3382 37.3855C53.3951 42.1741 55.0036 48.3927 59.3496 51.9571C68.015 59.0642 75.0268 68.4315 79.3829 79.6187C92.9059 114.348 75.7149 153.464 40.9856 166.987C6.25636 180.51 -32.8599 163.319 -46.3829 128.59C-59.9059 93.8607 -42.7149 54.7445 -7.98562 41.2214C7.18342 35.3148 23.1894 35.2678 37.5341 39.9824C42.7299 41.69 48.6536 40.072 51.5174 35.4125L52.5823 33.68C54.694 30.2441 53.7172 25.8191 52.2006 22.0823C49.1473 14.5592 52.7707 5.98544 60.2937 2.93215C67.8167 -0.121136 76.3906 3.5023 79.4438 11.0253Z" fill="#2C7721"/> 4077 </svg> 4078 <svg class="closeSnackBar" onclick="closeSnackBar('elem${snackBarIndex}')" xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none"> 4079 <path d="M2.93934 18.9393C2.35355 19.5251 2.35355 20.4749 2.93934 21.0607C3.52513 21.6464 4.47487 21.6464 5.06066 21.0607L12 14.1213L18.9393 21.0607C19.5251 21.6465 20.4749 21.6465 21.0607 21.0607C21.6464 20.4749 21.6464 19.5251 21.0607 18.9393L14.1213 12L21.0607 5.06066C21.6464 4.47487 21.6464 3.52513 21.0607 2.93934C20.4749 2.35355 19.5251 2.35355 18.9393 2.93934L12 9.87868L5.06066 2.93934C4.47487 2.35356 3.52513 2.35356 2.93934 2.93934C2.35355 3.52513 2.35355 4.47488 2.93934 5.06066L9.87868 12L2.93934 18.9393Z" fill="white"/> 4080 </svg> 4081 </div>`); 4082 const description = document.getElementById(`elem${snackBarIndex}`).querySelector('.description'); 4083 if (purifier) description.innerHTML = purifier.sanitize(String(msg), { 4084 ALLOWED_TAGS: ['a', 'b', 'br', 'em', 'i', 'span', 'strong'], 4085 ALLOWED_ATTR: ['href', 'title', 'class'], 4086 }); 4087 else description.textContent = String(msg); 4088 const el = snackBarIndex; 4089 setTimeout(function() { 4090 if (document.getElementById(`elem${el}`)) 4091 document.getElementById(`elem${el}`).remove(); 4092 }, 5000); 4093 snackBarIndex++; 4094 4095 } 4096 4097 const closeSnackBar = (el) => document.getElementById(el).remove(); 4098 4099 document.addEventListener('DOMContentLoaded', () => { 4100 4101 }); 4102 4103<!-- END app snippet --> 4104 4105 4106 const executeLoyaltyWidget = () => { 4107 <!-- BEGIN app snippet: loyalty-widget --> 4108 const parseHtmlStringContent = (content) => { 4109 if (typeof content !== 'string') return content; 4110 try { 4111 const htmlDecoded = content?.replace(/\\\//g, '/'); 4112 return JSON.parse(`"${htmlDecoded}"`); 4113 } catch (error) { 4114 console.error('Error parsing content:', error); 4115 return content; 4116 } 4117 }; 4118 4119 const formatNumberByPointRoundType = num => { 4120 if (typeof num !== 'number') return num; 4121 const roundType = _ALConfig?.pointRoundType || "NO_ROUND"; 4122 const rounded = roundType === 'ROUND_UP' ? Math.ceil(num) : roundType === 'ROUND_DOWN' ? Math.floor(num) : num; 4123 return (Number.isInteger(rounded) || rounded % 1 === 0) ? rounded.toFixed(0) : rounded.toFixed(2); 4124 }; 4125 4126 const formatStoreCreditAmount = value => { 4127 try { 4128 const num = Number(value); 4129 const safe = Number.isFinite(num) ? num : 0; 4130 const format = (_ALConfig?.shopMoneyFormat || '')?.replace(/</g, '<')?.replace(/>/g, '>')?.replace(/<[^>]*>/g, ''); 4131 const tokenMatch = String(format)?.match?.(/\{\{\s*(amount[a-z_]*)\s*\}\}/i); 4132 const token = (tokenMatch?.[1] || 'amount')?.toLowerCase?.() || 'amount'; 4133 const decimals = token?.includes?.('no_decimals') ? 0 : 2; 4134 let thousands = ',', decimal = '.'; 4135 if (token?.includes?.('comma_separator')) { thousands = '.'; decimal = ','; } 4136 else if (token?.includes?.('space_separator')) { thousands = ' '; } 4137 else if (token?.includes?.('apostrophe_separator')) { thousands = "'"; } 4138 const sign = safe < 0 ? '-' : ''; 4139 const parts = Math.abs(safe)?.toFixed?.(decimals)?.split?.('.') || []; 4140 const intPart = (parts?.[0] || '0')?.replace?.(/\B(?=(\d{3})+(?!\d))/g, thousands) || '0'; 4141 const amount = decimals === 0 ? sign + intPart : sign + intPart + decimal + (parts?.[1] || '00'); 4142 return tokenMatch ? format?.replace(/\{\{\s*amount[a-z_]*\s*\}\}/gi, amount)?.trim() : amount; 4143 } catch (e) { 4144 return String(value ?? '0'); 4145 } 4146 }; 4147 4148 4149 const loyaltyWidgetStyles = ` 4150.appstle-loyalty-widget-close-icon { 4151width: 28px; 4152height: 28px; 4153opacity: 0; 4154position: absolute; 4155top: 50%; 4156left: 50%; 4157transform: translate(-50%, -50%); 4158transition: opacity 0.2s; 4159} 4160 4161.appstle-loyalty-button { 4162bottom: 24px; 4163z-index: 999; 4164border-radius: 12px; 4165position: fixed; 4166border: none; 4167transition: max-width 1s; 4168padding: 0 19px; 4169overflow: hidden; 4170height: 56px; 4171transform-origin: left; 4172max-width: 300px;
4173background-color: ${_ALConfig?.widget_setting?.widgetBackgroundColor || 'rgb(29, 78, 216)'}; 4174color: ${_ALConfig?.widget_setting?.widgetTextColor || 'white'}; 4175} 4176 4177.appstle-loyalty-right { 4178right: 40px; 4179} 4180 4181.appstle-loyalty-left { 4182left: 40px; 4183} 4184 4185#appstle_loyalty_iframe { 4186width: 1px; 4187min-width: 400px; 4188border: none; 4189height: 516px; 4190position: fixed; 4191bottom: 100px; 4192z-index: 1234567; 4193box-shadow: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%); 4194background-color: white; 4195border-radius: 12px; 4196max-height: calc(100vh - 120px); 4197transform: scale(0) !important; 4198transition: all 0.5s; 4199transform-origin: bottom right; 4200max-width: 80vw; 4201} 4202 4203@media screen and (max-width: 800px) { 4204#appstle_loyalty_iframe { 4205left: 0; 4206height: 100vh; 4207top: 0; 4208min-width: 100%; 4209} 4210 4211#appstle_loyalty_iframe.open + .appstle-loyalty-button { 4212left: 50%; 4213transform: translateX(-50%); 4214} 4215 4216.appstle-loyalty-button { 4217transition: all 0.5s; 4218} 4219} 4220 4221#appstle_loyalty_iframe.open { 4222transform: scale(1) !important; 4223} 4224 4225#appstle_loyalty_iframe.open.show-close-icon + button .appstle-loyalty-widget-close-icon { 4226opacity: 1; 4227} 4228 4229#appstle_loyalty_iframe.open + button .appstle_loyalty_widget_button_wrapper { 4230color: transparent; 4231} 4232 4233.appstle_loyalty_widget_button_wrapper { 4234height: 100%; 4235width: 100%; 4236display: flex; 4237flex-wrap: nowrap; 4238align-items: center; 4239gap: 10px; 4240} 4241 4242.appstle-loyalty-widget-button-text { 4243flex-shrink: 0; 4244} 4245 4246.loyalty_widget_available_points { 4247display: none; 4248height: 100%; 4249width: auto; 4250flex-shrink: 0; 4251} 4252 4253.appstle_show_points .loyalty_widget_available_points { 4254display: flex; 4255align-items: center; 4256padding: 0 8px; 4257margin-right: -14px; 4258background-color: ${_ALConfig?.widget_setting?.widgetCounterBackgroundColor || 'rgba(29, 78, 216, 0.8)'}; 4259color: ${_ALConfig?.widget_setting?.widgetCounterTextColor || 'white'}; 4260} 4261 4262#appstle_loyalty_iframe.open.show-close-icon + button { 4263background-color: ${_ALConfig?.widget_setting?.widgetBackgroundColor || 'rgb(29, 78, 216)'}; 4264} 4265 4266#appstle_loyalty_iframe.open.show-close-icon + button .appstle-loyalty-widget-button-text-wrapper, 4267#appstle_loyalty_iframe.open.show-close-icon + button .loyalty_widget_available_points { 4268opacity: 0; 4269} 4270 4271#appstle_loyalty_iframe.open + button { 4272max-width: 56px; 4273} 4274 4275.loyalty-widget-buttonImage { 4276height: 24px; 4277width: 24px; 4278} 4279 4280.appstle-loyalty-widget-button-text-wrapper { 4281height: 100%; 4282display: flex; 4283gap: 4px; 4284align-items: center; 4285} 4286 4287.right_snackbar { 4288right: 30px; 4289} 4290 4291 4292`; 4293 const launcherStyles = document.createElement('style'); 4294 launcherStyles.id = 'appstle-loyalty-launcher-styles'; 4295 launcherStyles.textContent = loyaltyWidgetStyles; 4296 const customStyles = document.getElementById('appstle-loyalty-custom-styles'); 4297 if (customStyles) { 4298 customStyles.before(launcherStyles); 4299 } else { 4300 document.body.appendChild(launcherStyles); 4301 } 4302 const mainHTMLString = ` 4303<iframe id="appstle_loyalty_iframe" class="appslte-iframe" title="Appstle Loyalty Widget"></iframe> 4304<button id="appstle-loyalty-button" 4305 class="appstle-loyalty-button appstle-loyalty-hidden ${_ALConfig?.customerId ? `logged-in-customer-loyalty-button` : `logged-out-customer-loyalty-button`}" 4306 style="${_ALConfig.widget_setting.showWidget && _ALConfig.widget_setting.widgetType === 'LAUNCHER' ? `` : `display: none !important;`}"> 4307 <div class="appstle_loyalty_widget_button_wrapper"> 4308 <div class="appstle-loyalty-widget-button-text-wrapper"> 4309 4310 <img 4311 alt="" role="presentation" class="loyalty-widget-buttonImage"> 4312 4313 <span id="loyalty-widget-title" class="appstle-loyalty-widget-button-text"></span> 4314 </div> 4315 <div class="loyalty_widget_available_points"></div> 4316 </div> 4317 <svg class="appstle-loyalty-widget-close-icon" xmlns="http://www.w3.org/2000/svg" fill="none"
4318 viewBox="0 0 24 24" 4319 stroke-width="1.5" stroke="currentColor"> 4320 <path stroke-linecap="round" stroke-linejoin="round" d="M6 18L18 6M6 6l12 12"></path> 4321 </svg> 4322</button>`; 4323 document.querySelector('body').insertAdjacentHTML('beforeend', mainHTMLString); 4324 const launcherLogo = document.querySelector('.loyalty-widget-buttonImage'); 4325 if (launcherLogo) launcherLogo.src = parseHtmlStringContent(_ALConfig?.widget_setting?.widgetButtonLogoUrl); 4326 window.addEventListener('message', widgetEventListener, false); 4327 4328 function widgetEventListener(event) { 4329 if (event.origin !== window.location.origin || 4330 (event.source !== window && event.source !== document.getElementById('appstle_loyalty_iframe')?.contentWindow)) return; 4331 if (event.data === 'appstle_message_for_showWidget') { 4332 } else if (event.data === 'appstle_widget_showHide') { 4333 toggleWidget(); 4334 } else if (event.data === 'refresh_appstle_loyalty_widget' && _ALConfig?.widget_setting?.widgetType === 'LAUNCHER') { 4335 loadAppstleLoyaltyWidget(); 4336 console.log('REFRESH WIDGET'); 4337 } else if (event.data === 'show_appstle_loyalty_widget') { 4338 loadAppstleLoyaltyWidget(); 4339 enableWidget(); 4340 } 4341 } 4342 4343 function removeAppstleLoyaltyWidget() { 4344 document.querySelector('#appstle-loyalty-button')?.classList?.add('appstle-loyalty-hidden'); 4345 document.querySelector('#appstle_loyalty_iframe')?.classList?.add('appstle-loyalty-hidden'); 4346 } 4347 4348 (function checkForWidgetRestrictions() {
4349 let isShowWidget = true; 4350 4351 if (_ALConfig?.customerLoyalty?.customerStatus === 'EXCLUDED') { 4352 isShowWidget = false; 4353 } 4354 if (!_ALConfig?.customerId && !_ALConfig?.widget_setting?.showLoyaltyToLoggedOutCustomers) { 4355 isShowWidget = !(_ALConfig?.widget_setting?.restrictedCustomersTag || _ALConfig?.widget_setting?.allowedCustomersTag); 4356 } 4357 if (_ALConfig?.customerId && _ALConfig?.widget_setting?.allowedCustomersTag?.length && isShowWidget) { 4358 let allowedTags = _ALConfig?.widget_setting?.allowedCustomersTag.split(','); 4359 if (allowedTags?.length > 0 && !_ALConfig?.customerTags?.some((tag) => allowedTags?.some((allowedTag) => allowedTag?.trim()?.toLowerCase() === tag?.trim()?.toLowerCase()))) { 4360 isShowWidget = false; 4361 } 4362 } 4363 if (_ALConfig?.widget_setting?.restrictedCustomersTag?.length && isShowWidget) { 4364 let restrictedTags = _ALConfig?.widget_setting?.restrictedCustomersTag?.split(','); 4365 if (restrictedTags?.length > 0 && _ALConfig?.customerTags?.some((tag) => restrictedTags?.some((restrictedTag) => restrictedTag?.trim()?.toLowerCase() === tag?.trim()?.toLowerCase()))) { 4366 isShowWidget = false; 4367 } 4368 } 4369 if (_ALConfig?.widget_setting?.blockWidgetOnPages?.length && isShowWidget) { 4370 let restrictedPages = _ALConfig?.widget_setting?.blockWidgetOnPages?.split(','); 4371 const currentPage = window?.location?.pathname; 4372 if (restrictedPages?.length > 0) { 4373 if (restrictedPages?.includes('/homepage') && currentPage === '/') { 4374 isShowWidget = false; 4375 } else if (restrictedPages?.some((page) => currentPage?.includes(page))) { 4376 isShowWidget = false; 4377 } 4378 } 4379 } 4380 if (_ALConfig?.widget_setting?.allowWidgetOnSpecificPages?.length && isShowWidget) { 4381 let allowedPages = _ALConfig?.widget_setting?.allowWidgetOnSpecificPages?.split(','); 4382 const currentPage = window?.location?.pathname; 4383 if (allowedPages?.length > 0) { 4384 if (allowedPages?.includes('/homepage') && currentPage === '/') { 4385 isShowWidget = true; 4386 } else if (allowedPages?.some((page) => currentPage?.includes(page))) { 4387 isShowWidget = true; 4388 } else { 4389 isShowWidget = false; 4390 } 4391 } 4392 } 4393 if (!_ALConfig?.customerId && _ALConfig?.widget_setting?.showToLoggedInCustomerOnly) { 4394 isShowWidget = false; 4395 } 4396 window.__APPSTLE_LOYALTY_LAUNCHER_ALLOWED = !!isShowWidget; 4397 if (isShowWidget) { 4398 showAppstleLoyaltyWidget(); 4399 } else { 4400 removeAppstleLoyaltyWidget(); 4401 } 4402 })(); 4403 4404 function enableWidget() { 4405 document.querySelector('#appstle_loyalty_iframe')?.classList?.add('open'); 4406 document.querySelector('#appstle_loyalty_iframe')?.classList?.remove('appstle-loyalty-hidden'); 4407 setTimeout(function() { 4408 document.querySelector('#appstle_loyalty_iframe')?.classList?.toggle('show-close-icon'); 4409 }, 900); 4410 } 4411 4412 function showAppstleLoyaltyWidget() { 4413 const launcherAllowed = window?.['__APPSTLE_LOYALTY_LAUNCHER_ALLOWED'] !== false; 4414 document.querySelector('#appstle_loyalty_iframe')?.classList?.remove('appstle-loyalty-hidden'); 4415 const btn = document.querySelector('#appstle-loyalty-button'); 4416 if (!btn) return; 4417 if (launcherAllowed) { 4418 btn.classList.remove('appstle-loyalty-hidden'); 4419 } else { 4420 btn.classList.add('appstle-loyalty-hidden'); 4421 } 4422 } 4423 4424 4425 document.querySelector('.appstle-loyalty-button').addEventListener('click', toggleWidget); 4426 4427 if (_ALConfig?.widget_setting?.widgetPosition === 'LEFT') { 4428 document.getElementById('appstle_loyalty_iframe')?.classList?.add('appstle-loyalty-left'); 4429 document.querySelector('.appstle-loyalty-button')?.classList?.add('appstle-loyalty-left'); 4430 document.getElementById('appstle_loyalty_iframe')?.classList?.add('appstle-loyalty-left'); 4431 document.getElementById('snackbar')?.classList?.add('left_snackbar'); 4432 4433 } else { 4434 document.getElementById('appstle_loyalty_iframe')?.classList?.add('appstle-loyalty-right'); 4435 document.querySelector('.appstle-loyalty-button')?.classList?.add('appstle-loyalty-right'); 4436 document.getElementById('snackbar')?.classList?.add('right_snackbar'); 4437 } 4438 4439 4440 const alIframeSrc = `\x3chtml> 4441\x3chead> 4442 \x3cscript> 4443 window["isAppstleLoyaltyCustomerPortal"] = true; 4444 \x3c/script> 4445 <link rel="stylesheet" href="${escapeLoyaltyAttribute(_ALConfig.widgetCssPath)}"> 4446 \x3cscript defer type="text/javascript" src="${escapeLoyaltyAttribute(_ALConfig.widgetJsPath)}">\x3c/script> 4447 <style> 4448 #loyalty_spinner_container { 4449 position: absolute; 4450 top: 0; 4451 right: 0; 4452 bottom: 0; 4453 left: 0; 4454 display: flex; 4455 justify-content: center; 4456 align-items: center; 4457 height: 100%; 4458 width: 100%; 4459 z-index: 9999999999999999999999999; 4460 } 4461 #loyalty_spinner { 4462 height: 32px; 4463 width: 32px; 4464 animation: spin 1s linear infinite; 4465 border-radius: 9999px; 4466 border-width: 1px; 4467 border-style: solid; 4468 border-color: rgb(107 114 128); 4469 border-top-color: transparent; 4470 } 4471 @keyframes spin { 4472 100% { 4473 transform: rotate(360deg); 4474 } 4475 } 4476 </style> 4477 \x3c/head> 4478 \x3cbody> 4479 <div style="overflow: auto;" id="appstleLoyaltyWidget"> 4480 <div id="loyalty_spinner_container"> 4481 <div id="loyalty_spinner"></div> 4482 </div> 4483 </div> 4484 \x3c/body> 4485 \x3c/html>`; 4486 4487 4488 function toggleWidget() { 4489 loadAppstleLoyaltyWidget(); 4490 if (_ALConfig?.widget_setting?.widgetType?.toUpperCase() === 'LAUNCHER' && _ALConfig?.widget_setting?.forceRedirectDedicatedPage === true) { 4491 window.open(`/${_ALConfig?.proxy_path_prefix}`); 4492 } else {
4493 const isWidgetOpen = document.querySelector('#appstle_loyalty_iframe')?.classList?.toggle('open'); 4494 if (isWidgetOpen === false) { 4495 clearLoyaltyDeepLinkHash(); 4496 } 4497 showAppstleLoyaltyWidget(); 4498 setTimeout(function() { 4499 document.querySelector('#appstle_loyalty_iframe')?.classList?.toggle('show-close-icon'); 4500 }, 900); 4501 } 4502 } 4503 4504 const loadAppstleLoyaltyWidget = () => { 4505 var iframe = document.querySelectorAll('#appstle_loyalty_iframe'); 4506 iframe.forEach(function(item) { 4507 item.contentWindow.document.open('text/html', 'replace'); 4508 item.contentWindow._ALConfig = _ALConfig; 4509 item.contentWindow.__st = window.__st; 4510 item.contentWindow.Shopify = { shop: location.host }; 4511 item.contentWindow.appstle_public_domain = location.host; 4512 item.contentWindow.document.write(alIframeSrc); 4513 item.contentWindow.document.close(); 4514 }); 4515 }; 4516 4517 const launcherDataType = _ALConfig?.widget_setting?.launcherDataType || 'POINTS'; 4518 4519 const loyaltyButtonTitle = document.getElementById('loyalty-widget-title'); 4520 if (_ALConfig?.shop_labels?.widgetTitle) { 4521 const title = parseHtmlStringContent(_ALConfig?.shop_labels?.widgetTitle); 4522 loyaltyButtonTitle.textContent = title; 4523 window.appstleLoyaltyLoadSanitizer().then(purifier => { 4524 if (purifier) loyaltyButtonTitle.innerHTML = sanitizeLoyaltyLabel(title, purifier, false); 4525 }); 4526 } 4527 4528 (function() { 4529 const { customerLoyalty, widget_setting } = _ALConfig || {}; 4530 if (!customerLoyalty && !(launcherDataType === 'STORE_CREDITS' && _ALConfig?.customerId)) return; 4531 4532 const showTier = widget_setting?.showTierName; 4533 const launcherButtonElement = document.querySelector('#appstle-loyalty-button'); 4534 const pointsEl = document.querySelector('.loyalty_widget_available_points'); 4535 if (!pointsEl) return; 4536 4537 const fmt = new Intl.NumberFormat(); 4538 const { storeCreditBalance = 0, availablePoints = 0, currentVipTier = '' } = customerLoyalty || {}; 4539 4540 let displayValue; 4541 if (launcherDataType === 'STORE_CREDITS') { 4542 displayValue = formatStoreCreditAmount(_ALConfig?.customerStoreCreditBalance || storeCreditBalance || 0); 4543 } else if ((launcherDataType === 'VIP_TIER') && currentVipTier) { 4544 displayValue = String(currentVipTier); 4545 } else { 4546 const n = Number(availablePoints) || 0; 4547 displayValue = fmt.format(formatNumberByPointRoundType(n)); 4548 } 4549 pointsEl.textContent = displayValue; 4550 launcherButtonElement?.classList.add('appstle_show_points'); 4551 })(); 4552 4553 4554 const loyaltyDeepLinks = [ 4555 '#appstle-loyalty', 4556 '#appstle-refer', 4557 '#appstle-loyalty-earn-rewards', 4558 '#appstle-loyalty-redeem-rewards', 4559 '#appstle-loyalty-referrals', 4560 '#appstle-loyalty-vip-program' 4561 ]; 4562 4563 let lastLoyaltyWidgetUrl = location.href; 4564 4565 function hasLoyaltyDeepLink() { 4566 return loyaltyDeepLinks.some(hash => location?.hash?.includes(hash)); 4567 } 4568 4569 function clearLoyaltyDeepLinkHash() { 4570 if (!hasLoyaltyDeepLink()) { 4571 return; 4572 } 4573 window.history.replaceState({}, document.title, window.location.pathname + window.location.search); 4574 lastLoyaltyWidgetUrl = location.href; 4575 } 4576 4577 function handleDeepLink() { 4578 if (!_ALConfig?.widget_setting?.showWidget || !hasLoyaltyDeepLink()) { 4579 return; 4580 } 4581 loadAppstleLoyaltyWidget(); 4582 enableWidget(); 4583 setTimeout(() => { 4584 document.querySelector('#appstle_loyalty_iframe')?.classList?.add('show-close-icon'); 4585 }, 900); 4586 } 4587 4588 handleDeepLink(); 4589 4590 const widgetReferralUrl = new URL(window.location.href); 4591 if (_ALConfig?.referralEnabled && widgetReferralUrl?.searchParams.get('appstle_referral') && _ALConfig?.widget_setting?.widgetType === 'LAUNCHER') { 4592 const referralUrlObj = loyaltyNavigationUrl(_ALConfig?.widget_setting?.referralRedirectUrl); 4593 if (referralUrlObj) { 4594 let referralPath = referralUrlObj.pathname.replace(/\/+$/, ''); 4595 let currentPath = window.location.pathname.replace(/\/+$/, ''); 4596 if (referralPath && (referralUrlObj.origin !== window.location.origin || currentPath !== referralPath)) {
4597 widgetReferralUrl.searchParams.forEach((value, key) => referralUrlObj.searchParams.set(key, value)); 4598 window.open(referralUrlObj.href, '_self'); 4599 } 4600 } 4601 setTimeout(() => { 4602 loadAppstleLoyaltyWidget(); 4603 enableWidget(); 4604 }, 200); 4605 } 4606 4607 4608 (function observeURLChanges() { 4609 const handleUrlChange = () => { 4610 if (location.href !== lastLoyaltyWidgetUrl) { 4611 lastLoyaltyWidgetUrl = location.href; 4612 handleDeepLink(); 4613 } 4614 }; 4615 new MutationObserver(handleUrlChange).observe(document.body, { subtree: true, childList: true }); 4616 window.addEventListener('popstate', handleUrlChange); 4617 window.addEventListener('hashchange', handleUrlChange); 4618 })(); 4619 4620 const alDOMObserver = new MutationObserver(function(mutations_list) { 4621 mutations_list.forEach(function(mutation) { 4622 mutation.addedNodes.forEach(function(added_node) { 4623 if (added_node.id === 'appstle_loyalty_iframe') { 4624 var iframe = document.querySelectorAll('#appstle_loyalty_iframe'); 4625 iframe.forEach(function(item) { 4626 item.contentWindow.document.open('text/html', 'replace'); 4627 item.contentWindow._ALConfig = _ALConfig; 4628 item.contentWindow.__st = window.__st; 4629 item.contentWindow.Shopify = { shop: location.host }; 4630 item.contentWindow.appstle_public_domain = location.host; 4631 item.contentWindow.document.write(alIframeSrc); 4632 item.contentWindow.document.close(); 4633 }); 4634 alDOMObserver.disconnect(); 4635 } 4636 }); 4637 }); 4638 }); 4639 alDOMObserver.observe(document.querySelector('body'), { subtree: true, childList: true }); 4640 4641 4642 4643 4644<!-- END app snippet --> 4645 } 4646 4647 4648 try { 4649 const versionUrl = `${location.origin}/${_ALConfig?.proxy_path_prefix || 'apps/loyalty'}/app-loyalty-version`; 4650 fetch(versionUrl) 4651 .then(res => res.json()) 4652 .then(data => { 4653 if (data) { 4654 const widgetJsUrl = new URL(_ALConfig.widgetJsPath); 4655 const widgetCssUrl = new URL(_ALConfig.widgetCssPath); 4656 widgetJsUrl.searchParams.set('v', data); 4657 widgetCssUrl.searchParams.set('v', data); 4658 _ALConfig.widgetJsPath = widgetJsUrl.toString(); 4659 _ALConfig.widgetCssPath = widgetCssUrl.toString(); 4660 } 4661 }) 4662 .catch(() => { 4663 }) 4664 .finally(() => { 4665 executeLoyaltyWidget(); 4666 }); 4667 } catch (err) { 4668 executeLoyaltyWidget(); 4669 } 4670 4671 4672 const storeCreditMismatch = _ALConfig?.customerId && _ALConfig?.customerStoreCreditBalance >= 0 && _ALConfig?.customerLoyalty?.storeCreditBalance >= 0 && _ALConfig?.customerLoyalty?.storeCreditBalance !== _ALConfig?.customerStoreCreditBalance; 4673 if (storeCreditMismatch && _ALConfig.shop === 'olineloyalty27.myshopify.com') { 4674 const updateCustomerUrl = `/${_ALConfig?.proxy_path_prefix || 'apps/loyalty'}/cp/api/update-customer`; 4675 try { 4676 fetch(updateCustomerUrl, { method: 'POST', headers: { 'X-Requested-With': 'XMLHttpRequest' } }) 4677 .then((response) => { 4678 if(response.ok) {} 4679 }) 4680 .catch(() => {}); 4681 } catch (err) {} 4682 } 4683 4684 <!-- BEGIN app snippet: loyalty-dedicated-page --> 4685 const dedicatedPageURL = new URL(window.location.href); 4686 const decodeUrl = (content) => { 4687 if (typeof content !== 'string') return content; 4688 try { 4689 const htmlDecoded = content?.replace(/\\\//g, '/'); 4690 return JSON.parse(`"${htmlDecoded}"`); 4691 } catch (error) { 4692 console.error('Error parsing content:', error); 4693 return content; 4694 } 4695 }; 4696 4697 if (dedicatedPageURL?.searchParams?.get('appstle_referral') && _ALConfig?.widget_setting?.widgetType === 'DEDICATED_PAGE') { 4698 const customUrl = decodeUrl(_ALConfig?.widget_setting?.referralCustomRedirectUrl); 4699 if (customUrl) { 4700 const normalizedCustomPath = customUrl.startsWith('/') ? customUrl : `/${customUrl}`; 4701 if (window.location.pathname !== normalizedCustomPath) { 4702 const redirectUrl = new URL(window.location.href);
4703 redirectUrl.pathname = normalizedCustomPath; 4704 window.open(redirectUrl.toString(), '_self'); 4705 } 4706 } 4707 else if (dedicatedPageURL?.searchParams?.get('appstle_referral') && _ALConfig?.widget_setting?.widgetType === 'DEDICATED_PAGE' && !window.location.href.includes(_ALConfig?.proxy_path_prefix)) { 4708 window.open(`${window.location.origin}/${_ALConfig?.proxy_path_prefix}${window.location.search}`, '_self'); 4709 } 4710 } 4711 4712 4713 const dedicatedPageEventListener = (event) => { 4714 if (event.origin !== window.location.origin || event.source !== window) return; 4715 if (event.data === 'refresh_appstle_loyalty_page') { 4716 initiateAppstleLoyaltyPage(); 4717 console.log('REFRESH PAGE'); 4718 } 4719 }; 4720 window.addEventListener('message', dedicatedPageEventListener, false); 4721 4722 function initiateAppstleLoyaltyPage() { 4723 if (document.querySelector('#appstleLoyaltyPage')) { 4724 const appstleLoyaltyPageElement = document.getElementById('appstleLoyaltyPage'); 4725 while (appstleLoyaltyPageElement.firstChild) { 4726 appstleLoyaltyPageElement.firstChild.remove(); 4727 } 4728 4729 4730 4731 4732 4733 4734 4735 if (appstleLoyaltyPageElement) { 4736 4737 const loadDedicatedPageAsset = (createAsset, attempt, onSettle) => { 4738 const asset = createAsset(); 4739 let settled = false; 4740 const settle = () => { 4741 if (settled) return; 4742 settled = true; 4743 if (typeof onSettle === 'function') { 4744 onSettle(); 4745 } 4746 }; 4747 asset.onload = settle; 4748 asset.onerror = () => { 4749 asset.remove(); 4750 if (attempt < 4) { 4751 setTimeout(() => loadDedicatedPageAsset(createAsset, attempt + 1, onSettle), 1000 * Math.pow(2, attempt - 1)); 4752 } else { 4753 settle(); 4754 } 4755 }; 4756 } 4757 4758 const appendDedicatedPageWidgetScript = () => { 4759 loadDedicatedPageAsset(() => { 4760 const s = document.createElement('script'); 4761 s.setAttribute('src', _ALConfig?.widgetJsPath); 4762 s.async = false; 4763 document.body.appendChild(s); 4764 return s; 4765 }, 1); 4766 } 4767 4768 const executeDedicatedPageScript = () => { 4769 let widgetScriptAppended = false; 4770 const appendWidgetScriptOnce = () => { 4771 if (widgetScriptAppended) return; 4772 widgetScriptAppended = true; 4773 appendDedicatedPageWidgetScript(); 4774 }; 4775 try { 4776 const preload = document.createElement('link'); 4777 preload.rel = 'preload'; 4778 preload.as = 'script'; 4779 preload.href = _ALConfig?.widgetJsPath; 4780 document.head.appendChild(preload); 4781 } catch (e) {} 4782 loadDedicatedPageAsset(() => { 4783 const link = document.createElement('link'); 4784 link.type = 'text/css'; 4785 link.rel = 'stylesheet'; 4786 link.href = _ALConfig?.widgetCssPath; 4787 document.head.appendChild(link); 4788 return link; 4789 }, 1, appendWidgetScriptOnce); 4790 setTimeout(appendWidgetScriptOnce, 8000); 4791 } 4792 4793 try { 4794 const versionUrl = `${location.origin}/${_ALConfig?.proxy_path_prefix || 'apps/loyalty'}/app-loyalty-version`; 4795 fetch(versionUrl).then(res => res.json()).then(data => { 4796 if (data) { 4797 const widgetJsUrl = new URL(_ALConfig.widgetJsPath); 4798 const widgetCssUrl = new URL(_ALConfig.widgetCssPath); 4799 widgetJsUrl.searchParams.set('v', data); 4800 widgetCssUrl.searchParams.set('v', data); 4801 _ALConfig.widgetJsPath = widgetJsUrl.toString(); 4802 _ALConfig.widgetCssPath = widgetCssUrl.toString(); 4803 } 4804 }).catch(() => {}).finally(() => { 4805 executeDedicatedPageScript(); 4806 }); 4807 } catch (err) { 4808 executeDedicatedPageScript(); 4809 } 4810 4811 4812 } 4813 4814 } else { 4815 setTimeout(() => { 4816 initiateAppstleLoyaltyPage(); 4817 }, 2000); 4818 } 4819 } 4820 4821 const dedicatedPageReferralUrl = new URL(window.location.href)?.searchParams.get('appstle_referral'); 4822 4823 if (_ALConfig?.widget_setting?.showWidget === true) { 4824 initiateAppstleLoyaltyPage(); 4825 } 4826 4827 4828<!-- END app snippet --> 4829 4830 4831 <!-- BEGIN app snippet: loyalty-visit-shop --> 4832 (async function() { 4833 const isAvailableVisitShop = _ALConfig?.pointEarnRules?.length > 0 && _ALConfig?.pointEarnRules?.find((rule) => rule?.type === 'VISIT_SHOP' && rule?.status === 'ACTIVE'); 4834 if (_ALConfig?.customerId && isAvailableVisitShop) { 4835 if (!sessionStorage.getItem('syncVisitStore') && ((_ALConfig?.customerId && isAvailableVisitShop && isAvailableVisitShop?.id) || (_ALConfig?.referralEnabled && _ALConfig?.referralLoyalty?.referralType === 'VISIT_SHOP'))) { 4836 try { 4837 const response = await fetch(`/${_ALConfig?.proxy_path_prefix || 'apps/loyalty'}/cp/api/customer-visit-store`, { method: 'POST', headers: {'Content-Type': 'application/json', 'X-Requested-With': 'XMLHttpRequest'}, }); 4838 if (response?.ok) { 4839 sessionStorage.setItem('syncVisitStore', 'true'); 4840 } 4841 } catch (error) { 4842 console.error('Error:', error); 4843 } 4844 } 4845 } 4846 })(); 4847 4848<!-- END app snippet --> 4849 <!-- BEGIN app snippet: loyalty-custom-styles --> 4850 const loyaltyCustomStyles = document.createElement('style'); 4851 loyaltyCustomStyles.id = 'appstle-loyalty-custom-styles'; 4852 loyaltyCustomStyles.textContent = _ALConfig?.widget_setting?.customCss || ''; 4853 document.body.appendChild(loyaltyCustomStyles); 4854 4855<!-- END app snippet --> 4856 4857</script>
4857 4858 4859 4860
4860<script src="https://cdn.shopify.com/extensions/01a111c8-fb07-7727-8d7f-94a1d8df0604/appstle-loyalty-1465/assets/appstle-loyalty.js" defer></script>
4860 4861 <style> 4862.acquire-points-badge { 4863display: flex; 4864flex-direction: column; 4865max-width: max-content; 4866font-size: 14px; 4867font-weight: 500; 4868letter-spacing: 0.05em; 4869border-radius: 3px; 4870padding: 10px; 4871} 4872.loyalty-acquire-points-badge sup { 4873font-size: 10px; 4874margin-left: 3px; 4875} 4876.loyalty-point-balance { 4877font-size: 16px; 4878font-weight: 500; 4879letter-spacing: 0.05em; 4880max-width: max-content; 4881} 4882.loyalty-current-vip-tier-badge { 4883font-size: 16px; 4884font-weight: 500; 4885letter-spacing: 0.05em; 4886max-width: max-content; 4887} 4888.loyalty-acquire-points-logged-out-label, 4889.loyalty-acquire-earn-points-label, 4890.loyalty-acquire-store-credit-label { 4891color: inherit; 4892background-color: inherit; 4893} 4894 4895 4896.appstle_loyalty_cart_widget_wrapper { 4897position: relative !important; 4898max-width: 400px !important; 4899margin-left: auto !important; 4900} 4901@media screen and (max-width: 749px) { 4902.appstle_loyalty_cart_widget_wrapper { 4903position: relative !important; 4904max-width: 100% !important; 4905} 4906} 4907#appstle_loyalty_cart_widget_iframe { 4908display: none !important; 4909} 4910#appstle_loyalty_cart_widget_iframe.open { 4911display: block !important; 4912position: fixed !important; 4913top: 0 !important; 4914left: 0 !important; 4915width: 100% !important; 4916height: 100% !important; 4917border: none !important; 4918z-index: 99999999999999999999 !important; 4919} 4920.appstle_loyalty_cart_widget_wrapper { 4921margin-bottom: 12px !important; 4922} 4923.loyalty-cart-widget-button { 4924display: flex !important; 4925align-items: center !important; 4926justify-content: space-between !important; 4927flex-wrap: nowrap !important; 4928background-color: white !important; 4929gap: 1rem !important; 4930border-radius: 8px !important; 4931padding: 10px !important; 4932width: 100% !important; 4933border: 1px solid #e5e7eb !important; 4934} 4935.loyalty-cart-widget-points-store-credits-info { 4936display: flex !important; 4937align-items: center !important; 4938gap: 12px !important; 4939} 4940.loyalty-cart-widget-icon { 4941display: flex !important; 4942align-items: center !important; 4943justify-content: center !important; 4944width: 32px !important; 4945height: 32px !important; 4946background-color: #67957b !important; 4947border-radius: 6px !important; 4948} 4949.loyalty-cart-widget-icon-image { 4950width: 20px !important; 4951height: 20px !important; 4952} 4953.loyalty-cart-widget-icon-svg { 4954fill: white !important; 4955} 4956.loyalty-cart-widget-available-balance-label { 4957font-size: 16px !important; 4958font-weight: 500 !important; 4959color: #1f2937 !important; 4960} 4961.loyalty-cart-widget-rewards-btn { 4962background-color: #67957b !important; 4963color: #ffffff !important; 4964border: none !important; 4965min-width: 82px !important; 4966border-radius: 4px !important; 4967padding: 6px 12px !important; 4968font-size: 14px !important; 4969font-weight: 600 !important; 4970cursor: pointer !important; 4971transition: background-color 0.15s !important; 4972} 4973.loyalty-cart-widget-rewards-btn-disabled { 4974opacity: 0.5 !important; 4975pointer-events: none !important;
4976cursor: not-allowed !important; 4977} 4978</style> 4979 4980 4981 4982 4983</div>
4983<script src="https://cdn.shopify.com/storefront/standard-actions.js" type="module" data-source-attribution="shopify.standard_actions"></script>
4983 4984</body> 4985<!-- LAYOUTHUB-V2-FOOTER --> 4986 4987 4988<!-- START LAYOUTHUB POPUP BUILDER --> 4989<!-- END LAYOUTHUB POPUP BUILDER --> 4990<!-- END LAYOUTHUB-V2-FOOTER --> 4991</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.