PageSourceSearch

https://events.pacja.org/assets/js/base-ux25.min.js

js pacja.org collected 2026-10-02 07:11:01 UTC 681,158 bytes, 1,365 lines download raw bytes

vendor: 5,151 bytes, lines 1-23
1/*
2 jQuery v3.7.1 | (c) OpenJS Foundation and other contributors | jquery.org/license  ************************************************
3 jquery.cookies.2.2.0.min.js Cookie Util
4************************************************ ************************************************
5 E-Store Interface 관련 공통 Util
6 인터페이스명세서(NG_to_Store)_20140226-v.3.0 적용
7************************************************ samsung.com GEO Cannibalization
8 src : /samsungp5/components/common/cm-g-gnb-201807/clientlibs/devjs/main1.gnb1.smg.global.cookieGeo.js
9
10 @version 1.0.0
11 @since 2018.06.26
12*/
13var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.arrayIteratorImpl=function(a){var m=0;return function(){return m<a.length?{done:!1,value:a[m++]}:{done:!0}}};$jscomp.arrayIterator=function(a){return{next:$jscomp.arrayIteratorImpl(a)}};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.SIMPLE_FROUND_POLYFILL=!1;$jscomp.ISOLATE_POLYFILLS=!1;$jscomp.FORCE_POLYFILL_PROMISE=!1;$jscomp.FORCE_POLYFILL_PROMISE_WHEN_NO_UNHANDLED_REJECTION=!1;
14$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(a,m,k){if(a==Array.prototype||a==Object.prototype)return a;a[m]=k.value;return a};$jscomp.getGlobal=function(a){a=["object"==typeof globalThis&&globalThis,a,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var m=0;m<a.length;++m){var k=a[m];if(k&&k.Math==Math)return k}throw Error("Cannot find global object");};$jscomp.global=$jscomp.getGlobal(this);
15$jscomp.IS_SYMBOL_NATIVE="function"===typeof Symbol&&"symbol"===typeof Symbol("x");$jscomp.TRUST_ES6_POLYFILLS=!$jscomp.ISOLATE_POLYFILLS||$jscomp.IS_SYMBOL_NATIVE;$jscomp.polyfills={};$jscomp.propertyToPolyfillSymbol={};$jscomp.POLYFILL_PREFIX="$jscp$";var $jscomp$lookupPolyfilledValue=function(a,m){var k=$jscomp.propertyToPolyfillSymbol[m];if(null==k)return a[m];k=a[k];return void 0!==k?k:a[m]};
16$jscomp.polyfill=function(a,m,k,f){m&&($jscomp.ISOLATE_POLYFILLS?$jscomp.polyfillIsolated(a,m,k,f):$jscomp.polyfillUnisolated(a,m,k,f))};$jscomp.polyfillUnisolated=function(a,m,k,f){k=$jscomp.global;a=a.split(".");for(f=0;f<a.length-1;f++){var g=a[f];if(!(g in k))return;k=k[g]}a=a[a.length-1];f=k[a];m=m(f);m!=f&&null!=m&&$jscomp.defineProperty(k,a,{configurable:!0,writable:!0,value:m})};
17$jscomp.polyfillIsolated=function(a,m,k,f){var g=a.split(".");a=1===g.length;f=g[0];f=!a&&f in $jscomp.polyfills?$jscomp.polyfills:$jscomp.global;for(var h=0;h<g.length-1;h++){var n=g[h];if(!(n in f))return;f=f[n]}g=g[g.length-1];k=$jscomp.IS_SYMBOL_NATIVE&&"es6"===k?f[g]:null;m=m(k);null!=m&&(a?$jscomp.defineProperty($jscomp.polyfills,g,{configurable:!0,writable:!0,value:m}):m!==k&&(void 0===$jscomp.propertyToPolyfillSymbol[g]&&($jscomp.propertyToPolyfillSymbol[g]=$jscomp.IS_SYMBOL_NATIVE?$jscomp.global.Symbol(g):
18$jscomp.POLYFILL_PREFIX+g),g=$jscomp.propertyToPolyfillSymbol[g],$jscomp.defineProperty(f,g,{configurable:!0,writable:!0,value:m})))};$jscomp.initSymbol=function(){};
19$jscomp.polyfill("Symbol",function(a){if(a)return a;var m=function(g,h){this.$jscomp$symbol$id_=g;$jscomp.defineProperty(this,"description",{configurable:!0,writable:!0,value:h})};m.prototype.toString=function(){return this.$jscomp$symbol$id_};var k=0,f=function(g){if(this instanceof f)throw new TypeError("Symbol is not a constructor");return new m("jscomp_symbol_"+(g||"")+"_"+k++,g)};return f},"es6","es3");
20$jscomp.polyfill("Symbol.iterator",function(a){if(a)return a;a=Symbol("Symbol.iterator");for(var m="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),k=0;k<m.length;k++){var f=$jscomp.global[m[k]];"function"===typeof f&&"function"!=typeof f.prototype[a]&&$jscomp.defineProperty(f.prototype,a,{configurable:!0,writable:!0,value:function(){return $jscomp.iteratorPrototype($jscomp.arrayIteratorImpl(this))}})}return a},"es6",
21"es3");$jscomp.iteratorPrototype=function(a){a={next:a};a[Symbol.iterator]=function(){return this};return a};$jscomp.createTemplateTagFirstArg=function(a){return a.raw=a};$jscomp.createTemplateTagFirstArgWithRaw=function(a,m){a.raw=m;return a};$jscomp.makeIterator=function(a){var m="undefined"!=typeof Symbol&&Symbol.iterator&&a[Symbol.iterator];return m?m.call(a):$jscomp.arrayIterator(a)};$jscomp.arrayFromIterator=function(a){for(var m,k=[];!(m=a.next()).done;)k.push(m.value);return k};
22$jscomp.arrayFromIterable=function(a){return a instanceof Array?a:$jscomp.arrayFromIterator($jscomp.makeIterator(a))};$jscomp.objectCreate=$jscomp.ASSUME_ES5||"function"==typeof Object.create?Object.create:function(a){var m=function(){};m.prototype=a;return new m};
23$jscomp.getConstructImplementation=function(){function a(){function k(){}new k;Reflect.construct(k,[],function(){});return new k instanceof k}if($jscomp.TRUST_ES6_POLYFILLS&&"undefined"!=typeof Reflect&&Reflect.construct){if(a())return Reflect.construct;var m=Reflect.construct;return function(k,f,g){k=m(k,f);g&&Reflect.setPrototypeOf(k,g.prototype);return k}}return function(k,f,g){void 0===g&&(g=k);
vendor: 7,205 bytes, lines 23-41
23g=$jscomp.objectCreate(g.prototype||Object.prototype);return Function.prototype.apply.call(k,g,f)||
24g}};$jscomp.construct={valueOf:$jscomp.getConstructImplementation}.valueOf();$jscomp.underscoreProtoCanBeSet=function(){var a={a:!0},m={};try{return m.__proto__=a,m.a}catch(k){}return!1};$jscomp.setPrototypeOf=$jscomp.TRUST_ES6_POLYFILLS&&"function"==typeof Object.setPrototypeOf?Object.setPrototypeOf:$jscomp.underscoreProtoCanBeSet()?function(a,m){a.__proto__=m;if(a.__proto__!==m)throw new TypeError(a+" is not extensible");return a}:null;
25$jscomp.inherits=function(a,m){a.prototype=$jscomp.objectCreate(m.prototype);a.prototype.constructor=a;if($jscomp.setPrototypeOf){var k=$jscomp.setPrototypeOf;k(a,m)}else for(k in m)if("prototype"!=k)if(Object.defineProperties){var f=Object.getOwnPropertyDescriptor(m,k);f&&Object.defineProperty(a,k,f)}else a[k]=m[k];a.superClass_=m.prototype};$jscomp.generator={};
26$jscomp.generator.ensureIteratorResultIsObject_=function(a){if(!(a instanceof Object))throw new TypeError("Iterator result "+a+" is not an object");};$jscomp.generator.Context=function(){this.isRunning_=!1;this.yieldAllIterator_=null;this.yieldResult=void 0;this.nextAddress=1;this.finallyAddress_=this.catchAddress_=0;this.finallyContexts_=this.abruptCompletion_=null};
27$jscomp.generator.Context.prototype.start_=function(){if(this.isRunning_)throw new TypeError("Generator is already running");this.isRunning_=!0};$jscomp.generator.Context.prototype.stop_=function(){this.isRunning_=!1};$jscomp.generator.Context.prototype.jumpToErrorHandler_=function(){this.nextAddress=this.catchAddress_||this.finallyAddress_};$jscomp.generator.Context.prototype.next_=function(a){this.yieldResult=a};
28$jscomp.generator.Context.prototype.throw_=function(a){this.abruptCompletion_={exception:a,isException:!0};this.jumpToErrorHandler_()};$jscomp.generator.Context.prototype.return=function(a){this.abruptCompletion_={return:a};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.jumpThroughFinallyBlocks=function(a){this.abruptCompletion_={jumpTo:a};this.nextAddress=this.finallyAddress_};$jscomp.generator.Context.prototype.yield=function(a,m){this.nextAddress=m;return{value:a}};
29$jscomp.generator.Context.prototype.yieldAll=function(a,m){a=$jscomp.makeIterator(a);var k=a.next();$jscomp.generator.ensureIteratorResultIsObject_(k);if(k.done)this.yieldResult=k.value,this.nextAddress=m;else return this.yieldAllIterator_=a,this.yield(k.value,m)};$jscomp.generator.Context.prototype.jumpTo=function(a){this.nextAddress=a};$jscomp.generator.Context.prototype.jumpToEnd=function(){this.nextAddress=0};
30$jscomp.generator.Context.prototype.setCatchFinallyBlocks=function(a,m){this.catchAddress_=a;void 0!=m&&(this.finallyAddress_=m)};$jscomp.generator.Context.prototype.setFinallyBlock=function(a){this.catchAddress_=0;this.finallyAddress_=a||0};$jscomp.generator.Context.prototype.leaveTryBlock=function(a,m){this.nextAddress=a;this.catchAddress_=m||0};
31$jscomp.generator.Context.prototype.enterCatchBlock=function(a){this.catchAddress_=a||0;a=this.abruptCompletion_.exception;this.abruptCompletion_=null;return a};$jscomp.generator.Context.prototype.enterFinallyBlock=function(a,m,k){k?this.finallyContexts_[k]=this.abruptCompletion_:this.finallyContexts_=[this.abruptCompletion_];this.catchAddress_=a||0;this.finallyAddress_=m||0};
32$jscomp.generator.Context.prototype.leaveFinallyBlock=function(a,m){m=this.finallyContexts_.splice(m||0)[0];if(m=this.abruptCompletion_=this.abruptCompletion_||m){if(m.isException)return this.jumpToErrorHandler_();void 0!=m.jumpTo&&this.finallyAddress_<m.jumpTo?(this.nextAddress=m.jumpTo,this.abruptCompletion_=null):this.nextAddress=this.finallyAddress_}else this.nextAddress=a};$jscomp.generator.Context.prototype.forIn=function(a){return new $jscomp.generator.Context.PropertyIterator(a)};
33$jscomp.generator.Context.PropertyIterator=function(a){this.object_=a;this.properties_=[];for(var m in a)this.properties_.push(m);this.properties_.reverse()};$jscomp.generator.Context.PropertyIterator.prototype.getNext=function(){for(;0<this.properties_.length;){var a=this.properties_.pop();if(a in this.object_)return a}return null};$jscomp.generator.Engine_=function(a){this.context_=new $jscomp.generator.Context;this.program_=a};
34$jscomp.generator.Engine_.prototype.next_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_.next,a,this.context_.next_);this.context_.next_(a);return this.nextStep_()};
35$jscomp.generator.Engine_.prototype.return_=function(a){this.context_.start_();var m=this.context_.yieldAllIterator_;if(m)return this.yieldAllStep_("return"in m?m["return"]:function(k){return{value:k,done:!0}},a,this.context_.return);this.context_.return(a);return this.nextStep_()};
36$jscomp.generator.Engine_.prototype.throw_=function(a){this.context_.start_();if(this.context_.yieldAllIterator_)return this.yieldAllStep_(this.context_.yieldAllIterator_["throw"],a,this.context_.next_);this.context_.throw_(a);return this.nextStep_()};
37$jscomp.generator.Engine_.prototype.yieldAllStep_=function(a,m,k){try{var f=a.call(this.context_.yieldAllIterator_,m);$jscomp.generator.ensureIteratorResultIsObject_(f);if(!f.done)return this.context_.stop_(),f;var g=f.value}catch(h){return this.context_.yieldAllIterator_=null,this.context_.throw_(h),this.nextStep_()}this.context_.yieldAllIterator_=null;k.call(this.context_,g);return this.nextStep_()};
38$jscomp.generator.Engine_.prototype.nextStep_=function(){for(;this.context_.nextAddress;)try{var a=this.program_(this.context_);if(a)return this.context_.stop_(),{value:a.value,done:!1}}catch(m){this.context_.yieldResult=void 0,this.context_.throw_(m)}this.context_.stop_();if(this.context_.abruptCompletion_){a=this.context_.abruptCompletion_;this.context_.abruptCompletion_=null;if(a.isException)throw a.exception;return{value:a.return,done:!0}}return{value:void 0,done:!0}};
39$jscomp.generator.Generator_=function(a){this.next=function(m){return a.next_(m)};this.throw=function(m){return a.throw_(m)};this.return=function(m){return a.return_(m)};this[Symbol.iterator]=function(){return this}};$jscomp.generator.createGenerator=function(a,m){m=new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(m));$jscomp.setPrototypeOf&&a.prototype&&$jscomp.setPrototypeOf(m,a.prototype);return m};
40$jscomp.asyncExecutePromiseGenerator=function(a){function m(f){return a.next(f)}function k(f){return a.throw(f)}return new Promise(function(f,g){function h(n){n.done?f(n.value):Promise.resolve(n.value).then(m,k).then(h,g)}h(a.next())})};$jscomp.asyncExecutePromiseGeneratorFunction=function(a){return $jscomp.asyncExecutePromiseGenerator(a())};$jscomp.asyncExecutePromiseGeneratorProgram=function(a){return $jscomp.asyncExecutePromiseGenerator(new $jscomp.generator.Generator_(new $jscomp.generator.Engine_(a)))};
41!function(a,m){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?m(a,!0):function(k){if(!k.document)throw Error("jQuery requires a window with a document");return m(k)}:m(a)}("undefined"!=typeof window?window:this,function(a,m){function k(c,p,r){var v,y,A=(r=r||Ha).createElement("script");
41if(A.text=c,p)for(v in mb)(y=p[v]||p.getAttribute&&p.getAttribute(v))&&A.setAttribute(v,y);r.head.appendChild(A).parentNode.removeChild(A)}function f(c){return null==c?c+"":"object"==
42typeof c||"function"==typeof c?Xb[Ic.call(c)]||"object":typeof c}function g(c){var p=!!c&&"length"in c&&c.length,r=f(c);return!Ka(c)&&!hc(c)&&("array"===r||0===p||"number"==typeof p&&0<p&&p-1 in c)}function h(c,p){return c.nodeName&&c.nodeName.toLowerCase()===p.toLowerCase()}function n(c,p){return p?"\x00"===c?"\ufffd":c.slice(0,-1)+"\\"+c.charCodeAt(c.length-1).toString(16)+" ":"\\"+c}function e(c,p,r){return Ka(p)?u.grep(c,function(v,y){return!!p.call(v,y,v)!==r}):p.nodeType?u.grep(c,function(v){return v===
43p!==r}):"string"!=typeof p?u.grep(c,function(v){return-1<Yb.call(p,v)!==r}):u.filter(p,c,r)}function b(c,p){for(;(c=c[p])&&1!==c.nodeType;);return c}function d(c){return c}function l(c){throw c;}function q(c,p,r,v){var y;try{c&&Ka(y=c.promise)?y.call(c).done(p).fail(r):c&&Ka(y=c.then)?y.call(c,p,r):p.apply(void 0,[c].slice(v))}catch(A){r.apply(void 0,[A])}}function t(){Ha.removeEventListener("DOMContentLoaded",t);a.removeEventListener("load",t);u.ready()}function w(c,p){return p.toUpperCase()}function x(c){return c.replace(fb,
44"ms-").replace(Ib,w)}function B(){this.expando=u.expando+B.uid++}function D(c,p,r){var v,y;if(void 0===r&&1===c.nodeType)if(v="data-"+p.replace(oc,"-$\x26").toLowerCase(),"string"==typeof(r=c.getAttribute(v))){try{r="true"===(y=r)||"false"!==y&&("null"===y?null:y===+y+""?+y:vc.test(y)?JSON.parse(y):y)}catch(A){}gb.set(c,p,r)}else r=void 0;return r}function z(c,p,r,v){var y,A,C=20,I=v?function(){return v.cur()}:function(){return u.css(c,p,"")},G=I(),R=r&&r[3]||(u.cssNumber[p]?"":"px"),X=c.nodeType&&
45(u.cssNumber[p]||"px"!==R&&+G)&&ic.exec(u.css(c,p));if(X&&X[3]!==R){G/=2;R=R||X[3];for(X=+G||1;C--;)u.style(c,p,X+R),0>=(1-A)*(1-(A=I()/G||.5))&&(C=0),X/=A;X*=2;u.style(c,p,X+R);r=r||[]}return r&&(X=+X||+G||0,y=r[1]?X+(r[1]+1)*r[2]:+r[2],v&&(v.unit=R,v.start=X,v.end=y)),y}function T(c,p){for(var r,v,y,A,C,I,G,R=[],X=0,Q=c.length;X<Q;X++)(v=c[X]).style&&(r=v.style.display,p?("none"===r&&(R[X]=ya.get(v,"display")||null,R[X]||(v.style.display="")),""===v.style.display&&wc(v)&&(R[X]=(G=C=A=void 0,C=(y=
46v).ownerDocument,I=y.nodeName,(G=ad[I])||(A=C.body.appendChild(C.createElement(I)),G=u.css(A,"display"),A.parentNode.removeChild(A),"none"===G&&(G="block"),ad[I]=G)))):"none"!==r&&(R[X]="none",ya.set(v,"display",r)));for(X=0;X<Q;X++)null!=R[X]&&(c[X].style.display=R[X]);return c}function Y(c,p){var r;return r="undefined"!=typeof c.getElementsByTagName?c.getElementsByTagName(p||"*"):"undefined"!=typeof c.querySelectorAll?c.querySelectorAll(p||"*"):[],void 0===p||p&&h(c,p)?u.merge([c],r):r}function la(c,
47p){for(var r=0,v=c.length;r<v;r++)ya.set(c[r],"globalEval",!p||ya.get(p[r],"globalEval"))}function aa(c,p,r,v,y){for(var A,C,I,G,R=p.createDocumentFragment(),X=[],Q=0,ma=c.length;Q<ma;Q++)if((A=c[Q])||0===A)if("object"===f(A))u.merge(X,A.nodeType?[A]:A);else if(gd.test(A)){C=C||R.appendChild(p.createElement("div"));I=(bd.exec(A)||["",""])[1].toLowerCase();I=Rb[I]||Rb._default;C.innerHTML=I[1]+u.htmlPrefilter(A)+I[2];for(I=I[0];I--;)C=C.lastChild;u.merge(X,C.childNodes);(C=R.firstChild).textContent=
48""}else X.push(p.createTextNode(A));R.textContent="";for(Q=0;A=X[Q++];)if(v&&-1<u.inArray(A,v))y&&y.push(A);else if(G=Ua(A),C=Y(R.appendChild(A),"script"),G&&la(C),r)for(I=0;A=C[I++];)Oc.test(A.type||"")&&r.push(A);return R}function wa(){return!0}function va(){return!1}function ha(c,p,r,v,y,A){var C,I;if("object"==typeof p){for(I in"string"!=typeof r&&(v=v||r,r=void 0),p)ha(c,I,r,v,p[I],A);return c}if(null==v&&null==y?(y=r,v=r=void 0):null==y&&("string"==typeof r?(y=v,v=void 0):(y=v,v=r,r=void 0)),
49!1===y)y=va;else if(!y)return c;return 1===A&&(C=y,(y=function(G){return u().off(G),C.apply(this,arguments)}).guid=C.guid||(C.guid=u.guid++)),c.each(function(){u.event.add(this,p,y,v,r)})}function bb(c,p,r){r?(ya.set(c,p,!1),u.event.add(c,p,{namespace:!1,handler:function(v){var y,A=ya.get(this,p);if(1&v.isTrigger&&this[p])if(A)(u.event.special[p]||{}).delegateType&&v.stopPropagation();else{if(A=qb.call(arguments),ya.set(this,p,A),this[p](),y=ya.get(this,p),ya.set(this,p,!1),A!==y)return v.stopImmediatePropagation(),
50v.preventDefault(),y}else A&&(ya.set(this,p,u.event.trigger(A[0],A.slice(1),this)),v.stopPropagation(),v.isImmediatePropagationStopped=wa)}})):void 0===ya.get(c,p)&&u.event.add(c,p,wa)}function Jb(c,p){return h(c,"table")&&h(11!==p.nodeType?p:p.firstChild,"tr")&&u(c).children("tbody")[0]||c}function ua(c){return c.type=(null!==c.getAttribute("type"))+"/"+c.type,c}function Qa(c){return"true/"===(c.type||"").slice(0,5)?c.type=c.type.slice(5):c.removeAttribute("type"),c}function H(c,p){var r,v,y,A,C;
51if(1===p.nodeType){if(ya.hasData(c)&&(C=ya.get(c).events))for(v in ya.remove(p,"handle events"),C){var I=0;for(r=C[v].length;I<r;I++)u.event.add(p,v,C[v][I])}gb.hasData(c)&&(y=gb.access(c),A=u.extend({},y),gb.set(p,A))}}function J(c,p,r,v){p=Zb(p);var y,A,C,I=0,G=c.length,R=G-1,X=p[0],Q=Ka(X);if(Q||1<G&&"string"==typeof X&&!Ia.checkClone&&cd.test(X))return c.each(function(xa){var Aa=c.eq(xa);Q&&(p[0]=X.call(this,xa,Aa.html()));J(Aa,p,r,v)});if(G&&(A=(y=aa(p,c[0].ownerDocument,!1,c,v)).firstChild,
521===y.childNodes.length&&(y=A),A||v)){for(C=(A=u.map(Y(y,"script"),ua)).length;I<G;I++){var ma=y;I!==R&&(ma=u.clone(ma,!0,!0),C&&u.merge(A,Y(ma,"script")));r.call(c[I],ma,I)}if(C)for(y=A[A.length-1].ownerDocument,u.map(A,Qa),I=0;I<C;
vendor: 4,118 bytes, lines 52-60
52I++)ma=A[I],Oc.test(ma.type||"")&&!ya.access(ma,"globalEval")&&u.contains(y,ma)&&(ma.src&&"module"!==(ma.type||"").toLowerCase()?u._evalUrl&&!ma.noModule&&u._evalUrl(ma.src,{nonce:ma.nonce||ma.getAttribute("nonce")},y):k(ma.textContent.replace(jc,""),ma,y))}return c}function M(c,
53p,r){for(var v=p?u.filter(p,c):c,y=0;null!=(p=v[y]);y++)r||1!==p.nodeType||u.cleanData(Y(p)),p.parentNode&&(r&&Ua(p)&&la(Y(p,"script")),p.parentNode.removeChild(p));return c}function S(c,p,r){var v,y,A,C,I=Uc.test(p),G=c.style;return(r=r||Pc(c))&&(C=r.getPropertyValue(p)||r[p],I&&C&&(C=C.replace(pc,"$1")||void 0),""!==C||Ua(c)||(C=u.style(c,p)),!Ia.pixelBoxStyles()&&Qc.test(C)&&Vb.test(p)&&(v=G.width,y=G.minWidth,A=G.maxWidth,G.minWidth=G.maxWidth=G.width=C,C=r.width,G.width=v,G.minWidth=y,G.maxWidth=
54A)),void 0!==C?C+"":C}function Z(c,p){return{get:function(){if(!c())return(this.get=p).apply(this,arguments);delete this.get}}}function ea(c){var p;if(!(p=u.cssProps[c]||dd[c])){if(!(c in xc)){a:{p=c;for(var r=p[0].toUpperCase()+p.slice(1),v=yc.length;v--;)if((p=yc[v]+r)in xc)break a;p=void 0}c=dd[c]=p||c}p=c}return p}function qa(c,p,r){return(c=ic.exec(p))?Math.max(0,c[2]-(r||0))+(c[3]||"px"):p}function sa(c,p,r,v,y,A){var C="width"===p?1:0,I=0,G=0,R=0;if(r===(v?"border":"content"))return 0;for(;4>
55C;C+=2)"margin"===r&&(R+=u.css(c,r+zb[C],!0,y)),v?("content"===r&&(G-=u.css(c,"padding"+zb[C],!0,y)),"margin"!==r&&(G-=u.css(c,"border"+zb[C]+"Width",!0,y))):(G+=u.css(c,"padding"+zb[C],!0,y),"padding"!==r?G+=u.css(c,"border"+zb[C]+"Width",!0,y):I+=u.css(c,"border"+zb[C]+"Width",!0,y));return!v&&0<=A&&(G+=Math.max(0,Math.ceil(c["offset"+p[0].toUpperCase()+p.slice(1)]-A-G-I-.5))||0),G+R}function nb(c,p,r){var v=Pc(c),y=(!Ia.boxSizingReliable()||r)&&"border-box"===u.css(c,"boxSizing",!1,v),A=y,C=S(c,
56p,v),I="offset"+p[0].toUpperCase()+p.slice(1);if(Qc.test(C)){if(!r)return C;C="auto"}return(!Ia.boxSizingReliable()&&y||!Ia.reliableTrDimensions()&&h(c,"tr")||"auto"===C||!parseFloat(C)&&"inline"===u.css(c,"display",!1,v))&&c.getClientRects().length&&(y="border-box"===u.css(c,"boxSizing",!1,v),(A=I in c)&&(C=c[I])),(C=parseFloat(C)||0)+sa(c,p,r||(y?"border":"content"),A,v,C)+"px"}function Ga(c,p,r,v,y){return new Ga.prototype.init(c,p,r,v,y)}function Xa(){Jc&&(!1===Ha.hidden&&a.requestAnimationFrame?
57a.requestAnimationFrame(Xa):a.setTimeout(Xa,u.fx.interval),u.fx.tick())}function pa(){return a.setTimeout(function(){Kc=void 0}),Kc=Date.now()}function hb(c,p){var r,v=0,y={height:c};for(p=p?1:0;4>v;v+=2-p)y["margin"+(r=zb[v])]=y["padding"+r]=c;return p&&(y.opacity=y.width=c),y}function kc(c,p,r){for(var v,y=(Sb.tweeners[p]||[]).concat(Sb.tweeners["*"]),A=0,C=y.length;A<C;A++)if(v=y[A].call(r,p,c))return v}function Sb(c,p,r){var v,y=0,A=Sb.prefilters.length,C=u.Deferred().always(function(){delete I.elem}),
58I=function(){if(v)return!1;var R=Kc||pa();R=Math.max(0,G.startTime+G.duration-R);for(var X=1-(R/G.duration||0),Q=0,ma=G.tweens.length;Q<ma;Q++)G.tweens[Q].run(X);return C.notifyWith(c,[G,X,R]),1>X&&ma?R:(ma||C.notifyWith(c,[G,1,0]),C.resolveWith(c,[G]),!1)},G=C.promise({elem:c,props:u.extend({},p),opts:u.extend(!0,{specialEasing:{},easing:u.easing._default},r),originalProperties:p,originalOptions:r,startTime:Kc||pa(),duration:r.duration,tweens:[],createTween:function(R,X){R=u.Tween(c,G.opts,R,X,G.opts.specialEasing[R]||
59G.opts.easing);return G.tweens.push(R),R},stop:function(R){var X=0,Q=R?G.tweens.length:0;if(v)return this;for(v=!0;X<Q;X++)G.tweens[X].run(1);return R?(C.notifyWith(c,[G,1,0]),C.resolveWith(c,[G,R])):C.rejectWith(c,[G,R]),this}});r=G.props;!function(R,X){var Q,ma,xa,Aa,Ra;for(Q in R)if(xa=X[ma=x(Q)],Aa=R[Q],Array.isArray(Aa)&&(xa=Aa[1],Aa=R[Q]=Aa[0]),Q!==ma&&(R[ma]=Aa,delete R[Q]),(Ra=u.cssHooks[ma])&&"expand"in Ra)for(Q in Aa=Ra.expand(Aa),delete R[ma],Aa)Q in R||(R[Q]=Aa[Q],X[Q]=xa);else X[ma]=
60xa}(r,G.opts.specialEasing);for(;y<A;y++)if(p=Sb.prefilters[y].call(G,c,r,G.opts))return Ka(p.stop)&&(u._queueHooks(G.elem,G.opts.queue).stop=p.stop.bind(p)),p;return u.map(r,kc,G),Ka(G.opts.start)&&G.opts.start.call(c,G),G.progress(G.opts.progress).done(G.opts.done,G.opts.c
vendor: 5,533 bytes, lines 60-71
60omplete).fail(G.opts.fail).always(G.opts.always),u.fx.timer(u.extend(I,{elem:c,anim:G,queue:G.opts.queue})),G}function ob(c){return(c.match(ka)||[]).join(" ")}function Ya(c){return c.getAttribute&&c.getAttribute("class")||""}function Ba(c){return Array.isArray(c)?
61c:"string"==typeof c&&c.match(ka)||[]}function P(c,p,r,v){var y;if(Array.isArray(p))u.each(p,function(A,C){r||Oa.test(c)?v(c,C):P(c+"["+("object"==typeof C&&null!=C?A:"")+"]",C,r,v)});else if(r||"object"!==f(p))v(c,p);else for(y in p)P(c+"["+y+"]",p[y],r,v)}function zc(c){return function(p,r){"string"!=typeof p&&(r=p,p="*");var v=0,y=p.toLowerCase().match(ka)||[];if(Ka(r))for(;p=y[v++];)"+"===p[0]?(p=p.slice(1)||"*",(c[p]=c[p]||[]).unshift(r)):(c[p]=c[p]||[]).push(r)}}function Vc(c,p,r,v){function y(I){var G;
62return A[I]=!0,u.each(c[I]||[],function(R,X){R=X(p,r,v);return"string"!=typeof R||C||A[R]?C?!(G=R):void 0:(p.dataTypes.unshift(R),y(R),!1)}),G}var A={},C=c===kd;return y(p.dataTypes[0])||!A["*"]&&y("*")}function qc(c,p){var r,v,y=u.ajaxSettings.flatOptions||{};for(r in p)void 0!==p[r]&&((y[r]?c:v||(v={}))[r]=p[r]);return v&&u.extend(!0,c,v),c}var Ja=[],$b=Object.getPrototypeOf,qb=Ja.slice,Zb=Ja.flat?function(c){return Ja.flat.call(c)}:function(c){return Ja.concat.apply([],c)},rc=Ja.push,Yb=Ja.indexOf,
63Xb={},Ic=Xb.toString,ub=Xb.hasOwnProperty,Wb=ub.toString,sc=Wb.call(Object),Ia={},Ka=function(c){return"function"==typeof c&&"number"!=typeof c.nodeType&&"function"!=typeof c.item},hc=function(c){return null!=c&&c===c.window},Ha=a.document,mb={type:!0,src:!0,nonce:!0,noModule:!0},eb=/HTML$/i,u=function(c,p){return new u.fn.init(c,p)};u.fn=u.prototype={jquery:"3.7.1",constructor:u,length:0,toArray:function(){return qb.call(this)},get:function(c){return null==c?qb.call(this):0>c?this[c+this.length]:
64this[c]},pushStack:function(c){c=u.merge(this.constructor(),c);return c.prevObject=this,c},each:function(c){return u.each(this,c)},map:function(c){return this.pushStack(u.map(this,function(p,r){return c.call(p,r,p)}))},slice:function(){return this.pushStack(qb.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(u.grep(this,function(c,p){return(p+1)%2}))},odd:function(){return this.pushStack(u.grep(this,function(c,p){return p%
652}))},eq:function(c){var p=this.length;c=+c+(0>c?p:0);return this.pushStack(0<=c&&c<p?[this[c]]:[])},end:function(){return this.prevObject||this.constructor()},push:rc,sort:Ja.sort,splice:Ja.splice};u.extend=u.fn.extend=function(){var c,p,r,v,y,A=arguments[0]||{},C=1,I=arguments.length,G=!1;"boolean"==typeof A&&(G=A,A=arguments[C]||{},C++);"object"==typeof A||Ka(A)||(A={});for(C===I&&(A=this,C--);C<I;C++)if(null!=(c=arguments[C]))for(p in c){var R=c[p];"__proto__"!==p&&A!==R&&(G&&R&&(u.isPlainObject(R)||
66(v=Array.isArray(R)))?(r=A[p],y=v&&!Array.isArray(r)?[]:v||u.isPlainObject(r)?r:{},v=!1,A[p]=u.extend(G,y,R)):void 0!==R&&(A[p]=R))}return A};u.extend({expando:"jQuery"+("3.7.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(c){throw Error(c);},noop:function(){},isPlainObject:function(c){var p,r;return!(!c||"[object Object]"!==Ic.call(c))&&(!(p=$b(c))||"function"==typeof(r=ub.call(p,"constructor")&&p.constructor)&&Wb.call(r)===sc)},isEmptyObject:function(c){for(var p in c)return!1;return!0},
67globalEval:function(c,p,r){k(c,{nonce:p&&p.nonce},r)},each:function(c,p){var r,v=0;if(g(c))for(r=c.length;v<r&&!1!==p.call(c[v],v,c[v]);v++);else for(v in c)if(!1===p.call(c[v],v,c[v]))break;return c},text:function(c){var p,r="",v=0,y=c.nodeType;if(!y)for(;p=c[v++];)r+=u.text(p);return 1===y||11===y?c.textContent:9===y?c.documentElement.textContent:3===y||4===y?c.nodeValue:r},makeArray:function(c,p){p=p||[];return null!=c&&(g(Object(c))?u.merge(p,"string"==typeof c?[c]:c):rc.call(p,c)),p},inArray:function(c,
68p,r){return null==p?-1:Yb.call(p,c,r)},isXMLDoc:function(c){var p=c&&(c.ownerDocument||c).documentElement;return!eb.test(c&&c.namespaceURI||p&&p.nodeName||"HTML")},merge:function(c,p){for(var r=+p.length,v=0,y=c.length;v<r;v++)c[y++]=p[v];return c.length=y,c},grep:function(c,p,r){var v=[],y=0,A=c.length;for(r=!r;y<A;y++)!p(c[y],y)!==r&&v.push(c[y]);return v},map:function(c,p,r){var v,y,A=0,C=[];if(g(c))for(v=c.length;A<v;A++)null!=(y=p(c[A],A,r))&&C.push(y);else for(A in c)null!=(y=p(c[A],A,r))&&
69C.push(y);return Zb(C)},guid:1,support:Ia});"function"==typeof Symbol&&(u.fn[Symbol.iterator]=Ja[Symbol.iterator]);u.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(c,p){Xb["[object "+p+"]"]=p.toLowerCase()});var Tb=Ja.pop,Rc=Ja.sort,Wc=Ja.splice,pc=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g;u.contains=function(c,p){p=p&&p.parentNode;return c===p||!(!p||1!==p.nodeType||!(c.contains?c.contains(p):c.compareDocumentPosition&&16&c.compareDocumentPosition(p)))};
70var Xc=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;u.escapeSelector=function(c){return(c+"").replace(Xc,n)};var vb=Ha;!function(){function c(E,N,O,W){var da,za,na,La,oa=N&&N.ownerDocument;var Na=N?N.nodeType:9;if(O=O||[],"string"!=typeof E||!E||1!==Na&&9!==Na&&11!==Na)return O;if(!W&&(R(N),N=N||jb,Ub)){if(11!==Na&&(La=xd.exec(E)))if(da=La[1])if(9===Na){if(!(za=N.getElementById(da)))return O;if(za.id===da)return Ob.call(O,za),O}else{if(oa&&(za=oa.getElementById(da))&&c.contains(N,za)&&za.id===da)return Ob.call(O,
71za),O}else{if(La[2])return Ob.apply(O,N.getElementsByTagName(E)),O;if((da=La[3])&&N.getElementsByClassName)return Ob.apply(O,N.getElementsByClassName(
71da)),O}if(!(ib[E+" "]||Db&&Db.test(E))){if(da=E,oa=N,1===Na&&(Yc.test(E)||lc.test(E))){(oa=ld.test(E)&&G(N.parentNode)||N)==N&&Ia.scope||((na=N.getAttribute("id"))?na=u.escapeSelector(na):N.setAttribute("id",na=cb));for(Na=(da=Q(E)).length;Na--;)da[Na]=(na?"#"+na:":scope")+" "+ma(da[Na]);da=da.join(",")}try{return Ob.apply(O,oa.querySelectorAll(da)),
72O}catch(Va){ib(E,!0)}finally{na===cb&&N.removeAttribute("id")}}}return Ac(E.replace(pc,"$1"),N,O,W)}function p(){var E=[];return function da(O,W){return E.push(O+" ")>Pa.cacheLength&&delete da[E.shift()],da[O+" "]=W}}function r(E){return E[cb]=!0,E}function v(E){var N=jb.createElement("fieldset");try{return!!E(N)}catch(O){return!1}finally{N.parentNode&&N.parentNode.removeChild(N)}}function y(E){return function(N){return h(N,"input")&&N.type===E}}function A(E){return function(N){return(h(N,"input")||
73h(N,"button"))&&N.type===E}}function C(E){return function(N){return"form"in N?N.parentNode&&!1===N.disabled?"label"in N?"label"in N.parentNode?N.parentNode.disabled===E:N.disabled===E:N.isDisabled===E||N.isDisabled!==!E&&yd(N)===E:N.disabled===E:"label"in N&&N.disabled===E}}function I(E){return r(function(N){return N=+N,r(function(O,W){for(var da,za=E([],O.length,N),na=za.length;na--;)O[da=za[na]]&&(O[da]=!(W[da]=O[da]))})})}function G(E){return E&&"undefined"!=typeof E.getElementsByTagName&&E}function R(E){var N;
74E=E?E.ownerDocument||E:vb;return E!=jb&&9===E.nodeType&&E.documentElement&&(Kb=(jb=E).documentElement,Ub=!u.isXMLDoc(jb),tc=Kb.matches||Kb.webkitMatchesSelector||Kb.msMatchesSelector,Kb.msMatchesSelector&&vb!=jb&&(N=jb.defaultView)&&N.top!==N&&N.addEventListener("unload",zd),Ia.getById=v(function(O){return Kb.appendChild(O).id=u.expando,!jb.getElementsByName||!jb.getElementsByName(u.expando).length}),Ia.disconnectedMatch=v(function(O){return tc.call(O,"*")}),Ia.scope=v(function(){return jb.querySelectorAll(":scope")}),
75Ia.cssHas=v(function(){try{return jb.querySelector(":has(*,:jqfake)"),!1}catch(O){return!0}}),Ia.getById?(Pa.filter.ID=function(O){var W=O.replace(Bc,Cc);return function(da){return da.getAttribute("id")===W}},Pa.find.ID=function(O,W){if("undefined"!=typeof W.getElementById&&Ub)return(O=W.getElementById(O))?[O]:[]}):(Pa.filter.ID=function(O){var W=O.replace(Bc,Cc);return function(da){return(da="undefined"!=typeof da.getAttributeNode&&da.getAttributeNode("id"))&&da.value===W}},Pa.find.ID=function(O,
76W){if("undefined"!=typeof W.getElementById&&Ub){var da,za=W.getElementById(O);if(za){if((da=za.getAttributeNode("id"))&&da.value===O)return[za];var na=W.getElementsByName(O);for(W=0;za=na[W++];)if((da=za.getAttributeNode("id"))&&da.value===O)return[za]}return[]}}),Pa.find.TAG=function(O,W){return"undefined"!=typeof W.getElementsByTagName?W.getElementsByTagName(O):W.querySelectorAll(O)},Pa.find.CLASS=function(O,W){if("undefined"!=typeof W.getElementsByClassName&&Ub)return W.getElementsByClassName(O)},
77Db=[],v(function(O){var W;Kb.appendChild(O).innerHTML="\x3ca id\x3d'"+cb+"' href\x3d'' disabled\x3d'disabled'\x3e\x3c/a\x3e\x3cselect id\x3d'"+cb+"-\r\\' disabled\x3d'disabled'\x3e\x3coption selected\x3d''\x3e\x3c/option\x3e\x3c/select\x3e";O.querySelectorAll("[selected]").length||Db.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");O.querySelectorAll("[id~\x3d"+cb+"-]").length||Db.push("~\x3d");
78O.querySelectorAll("a#"+cb+"+*").length||Db.push(".#.+[+~]");O.querySelectorAll(":checked").length||Db.push(":checked");(W=jb.createElement("input")).setAttribute("type","hidden");O.appendChild(W).setAttribute("name","D");Kb.appendChild(O).disabled=!0;2!==O.querySelectorAll(":disabled").length&&Db.push(":enabled",":disabled");(W=jb.createElement("input")).setAttribute("name","");O.appendChild(W);O.querySelectorAll("[name\x3d'']").length||Db.push("\\[[\\x20\\t\\r\\n\\f]*name[\\x20\\t\\r\\n\\f]*\x3d[\\x20\\t\\r\\n\\f]*(?:''|\"\")")}),
79Ia.cssHas||Db.push(":has"),Db=Db.length&&new RegExp(Db.join("|")),Eb=function(O,W){if(O===W)return Sc=!0,0;var da=!O.compareDocumentPosition-!W.compareDocumentPosition;return da||(1&(da=(O.ownerDocument||O)==(W.ownerDocument||W)?O.compareDocumentPosition(W):1)||!Ia.sortDetached&&W.compareDocumentPosition(O)===da?O===jb||O.ownerDocument==vb&&c.contains(vb,O)?-1:W===jb||W.ownerDocument==vb&&c.contains(vb,W)?1:wb?Yb.call(wb,O)-Yb.call(wb,W):0:4&da?-1:1)}),jb}function X(){}function Q(E,N){var O,W,da,
80za,na,La;if(na=Dc[E+" "])return N?0:na.slice(0);na=E;var oa=[];for(La=Pa.preFilter;na;){for(za in O&&!(W=Fb.exec(na))||(W&&(na=na.slice(W[0].length)||na),oa.push(da=[])),O=!1,(W=lc.exec(na))&&(O=W.shift(),da.push({value:O,type:W[0].replace(pc," ")}),na=na.slice(O.length)),Pa.filter)!(W=hd[za].exec(na))||La[za]&&!(W=La[za](W))||(O=W.shift(),da.push({value:O,type:za,matches:W}),na=na.slice(O.length));if(!O)break}return N?na.length:na?c.error(E):Dc(E,oa).slice(0)}function ma(E){for(var N=0,O=E.length,
81W="";N<O;N++)W+=E[N].value;return W}function xa(E,N,O){var W=N.dir,da=N.next,za=da||W,na=O&&"parentNode"===za,La=bc++;return N.first?function(oa,Na,Va){for(;oa=oa[W];)if(1===oa.nodeType||na)return E(oa,Na,Va);return!1}:function(oa,Na,Va){var Za,ab,xb=[rb,La];if(Va)for(;oa=oa[W];){if((1===oa.nodeType||na)&&E(oa,Na,Va))return!0}else for(;oa=oa[W];)if(1===oa.nodeType||na)if(ab=oa[cb]||(oa[cb]={}),da&&h(oa,da))oa=oa[W]||oa;else{if((Za=ab[za])&&Za[0]===rb&&Za[1]===La)return xb[2]=Za[2];if((ab[za]=xb)[2]=
82E(oa,Na,Va))return!0}return!1}}function Aa(E){return 1<E.length?function(N,O,W){for(var da=E.length;da--;)if(!E[da](N,O,W))return!1;return!0}:E[0]}function Ra(E,N,O,W,da){for(var za,na=[],La=0,oa=E.length,Na=null!=N;La<oa;La++)(za=E[La])&&(O&&!O(za,W,da)||(na.push(za),Na&&N.push(La)));return na}function kb(E,N,O,W,da,za){return W&&!W[cb]&&(W=kb(W)),da&&!da[cb]&&(da=kb(da,za)),r(function(na,La,oa,Na){var Va,Za,ab=[],xb=[],Hb=La.length,Gb;if(!(Gb=na)){Gb=N||"*";for(var cc=oa.nodeType?[oa]:oa,pb=[],
83ac=0,Ec=cc.length;ac<Ec;ac++)c(Gb,cc[ac],pb);Gb=pb}Gb=!E||!na&&N?Gb:Ra(Gb,ab,E,oa,Na);
83if(O?O(Gb,Za=da||(na?E:Hb||W)?[]:La,oa,Na):Za=Gb,W){var dc=Ra(Za,xb);W(dc,[],oa,Na);for(oa=dc.length;oa--;)(Va=dc[oa])&&(Za[xb[oa]]=!(Gb[xb[oa]]=Va))}if(na){if(da||E){if(da){dc=[];for(oa=Za.length;oa--;)(Va=Za[oa])&&dc.push(Gb[oa]=Va);da(null,Za=[],dc,Na)}for(oa=Za.length;oa--;)(Va=Za[oa])&&-1<(dc=da?Yb.call(na,Va):ab[oa])&&(na[dc]=!(La[dc]=Va))}}else Za=Ra(Za===La?Za.splice(Hb,Za.length):Za),da?da(null,La,Za,Na):
84Ob.apply(La,Za)})}function ec(E){var N,O,W=E.length,da=Pa.relative[E[0].type];var za=da||Pa.relative[" "];for(var na=da?1:0,La=xa(function(Va){return Va===N},za,!0),oa=xa(function(Va){return-1<Yb.call(N,Va)},za,!0),Na=[function(Va,Za,ab){Va=!da&&(ab||Za!=Wa)||((N=Za).nodeType?La(Va,Za,ab):oa(Va,Za,ab));return N=null,Va}];na<W;na++)if(za=Pa.relative[E[na].type])Na=[xa(Aa(Na),za)];else{if((za=Pa.filter[E[na].type].apply(null,E[na].matches))[cb]){for(O=++na;O<W&&!Pa.relative[E[O].type];O++);return kb(1<
85na&&Aa(Na),1<na&&ma(E.slice(0,na-1).concat({value:" "===E[na-2].type?"*":""})).replace(pc,"$1"),za,na<O&&ec(E.slice(na,O)),O<W&&ec(E=E.slice(O)),O<W&&ma(E))}Na.push(za)}return Aa(Na)}function Lb(E,N){var O,W,da,za,na=[],La=[],oa=Pb[E+" "];if(!oa){N||(N=Q(E));for(O=N.length;O--;)(oa=ec(N[O]))[cb]?na.push(oa):La.push(oa);(oa=Pb(E,(W=0<na.length,da=0<La.length,za=function(Na,Va,Za,ab,xb){var Hb,Gb,cc=0,pb="0",ac=Na&&[],Ec=[],dc=Wa,rd=Na||da&&Pa.find.TAG("*",xb),sd=rb+=null==dc?1:Math.random()||.1,Ad=
86rd.length;for(xb&&(Wa=Va==jb||Va||xb);pb!==Ad&&null!=(Hb=rd[pb]);pb++){if(da&&Hb){var md=0;for(Va||Hb.ownerDocument==jb||(R(Hb),Za=!Ub);Gb=La[md++];)if(Gb(Hb,Va||jb,Za)){Ob.call(ab,Hb);break}xb&&(rb=sd)}W&&((Hb=!Gb&&Hb)&&cc--,Na&&ac.push(Hb))}if(cc+=pb,W&&pb!==cc){for(md=0;Gb=na[md++];)Gb(ac,Ec,Va,Za);if(Na){if(0<cc)for(;pb--;)ac[pb]||Ec[pb]||(Ec[pb]=Tb.call(ab));Ec=Ra(Ec)}Ob.apply(ab,Ec);xb&&!Na&&0<Ec.length&&1<cc+na.length&&u.uniqueSort(ab)}return xb&&(rb=sd,Wa=dc),ac},W?r(za):za))).selector=E}return oa}
87function Ac(E,N,O,W){var da,za,na,La,oa,Na="function"==typeof E&&E,Va=!W&&Q(E=Na.selector||E);if(O=O||[],1===Va.length){if(2<(za=Va[0]=Va[0].slice(0)).length&&"ID"===(na=za[0]).type&&9===N.nodeType&&Ub&&Pa.relative[za[1].type]){if(!(N=(Pa.find.ID(na.matches[0].replace(Bc,Cc),N)||[])[0]))return O;Na&&(N=N.parentNode);E=E.slice(za.shift().value.length)}for(da=hd.needsContext.test(E)?0:za.length;da--&&(na=za[da],!Pa.relative[La=na.type]);)if((oa=Pa.find[La])&&(W=oa(na.matches[0].replace(Bc,Cc),ld.test(za[0].type)&&
88G(N.parentNode)||N))){if(za.splice(da,1),!(E=W.length&&ma(za)))return Ob.apply(O,W),O;break}}return(Na||Lb(E,Va))(W,N,!Ub,O,!N||ld.test(E)&&G(N.parentNode)||N),O}var Ta,Pa,Wa,wb,Sc,jb,Kb,Ub,Db,tc,Ob=rc,cb=u.expando,rb=0,bc=0,Lc=p(),Dc=p(),Pb=p(),ib=p(),Eb=function(E,N){return E===N&&(Sc=!0),0},mc=/[\x20\t\r\n\f]+/g,Fb=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,lc=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Yc=/[\x20\t\r\n\f]|>/,nd=/:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,
89Bd=/^(?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+$/,hd={ID:/^#((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,CLASS:/^\.((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)/,TAG:/^((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\]/,
90PSEUDO:/^:((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\[^\r\n\f]|[\w-]|[^\x00-\x7f])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,
91bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},Cd=/^(?:input|select|textarea|button)$/i,Dd=/^h\d$/i,xd=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ld=/[+~]/,Bc=/\\[\da-fA-F]{1,6}[\x20\t\r\n\f]?|\\([^\r\n\f])/g,Cc=function(E,N){E="0x"+E.slice(1)-65536;return N||(0>E?String.fromCharCode(E+
9265536):String.fromCharCode(E>>10|55296,1023&E|56320))},zd=function(){R()},yd=xa(function(E){return!0===E.disabled&&h(E,"fieldset")},{dir:"parentNode",next:"legend"});try{Ob.apply(Ja=qb.call(vb.childNodes),vb.childNodes),Ja[vb.childNodes.length].nodeType}catch(E){Ob={apply:function(N,O){rc.apply(N,qb.call(O))}
92,call:function(N){rc.apply(N,qb.call(arguments,1))}}}for(Ta in c.matches=function(E,N){return c(E,null,null,N)},c.matchesSelector=function(E,N){if(R(E),!(!Ub||ib[N+" "]||Db&&Db.test(N)))try{var O=
93tc.call(E,N);if(O||Ia.disconnectedMatch||E.document&&11!==E.document.nodeType)return O}catch(W){ib(N,!0)}return 0<c(N,jb,null,[E]).length},c.contains=function(E,N){return(E.ownerDocument||E)!=jb&&R(E),u.contains(E,N)},c.attr=function(E,N){(E.ownerDocument||E)!=jb&&R(E);var O=Pa.attrHandle[N.toLowerCase()];O=O&&ub.call(Pa.attrHandle,N.toLowerCase())?O(E,N,!Ub):void 0;return void 0!==O?O:E.getAttribute(N)},c.error=function(E){throw Error("Syntax error, unrecognized expression: "+E);},u.uniqueSort=function(E){var N,
94O=[],W=0,da=0;if(Sc=!Ia.sortStable,wb=!Ia.sortStable&&qb.call(E,0),Rc.call(E,Eb),Sc){for(;N=E[da++];)N===E[da]&&(W=O.push(da));for(;W--;)Wc.call(E,O[W],1)}return wb=null,E},u.fn.uniqueSort=function(){return this.pushStack(u.uniqueSort(qb.apply(this)))},(Pa=u.expr={cacheLength:50,createPseudo:r,match:hd,attrHandle:{},find:{},relative:{"\x3e":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(E){return E[1]=E[1].replace(Bc,
95Cc),E[3]=(E[3]||E[4]||E[5]||"").replace(Bc,Cc),"~\x3d"===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]||c.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]&&c.error(E[0]),E},PSEUDO:function(E){var N,O=!E[6]&&E[2];return hd.CHILD.test(E[0])?null:(E[3]?E[2]=E[4]||E[5]||"":O&&nd.test(O)&&(N=Q(O,!0))&&(N=O.indexOf(")",O.length-N)-O.length)&&(E[0]=E[0].slice(0,N),E[2]=O.slice(0,
96N)),E.slice(0,3))}},filter:{TAG:function(E){var N=E.replace(Bc,Cc).toLowerCase();return"*"===E?function(){return!0}:function(O){return h(O,N)}},CLASS:function(E){var N=Lc[E+" "];return N||(N=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+E+"([\\x20\\t\\r\\n\\f]|$)"),Lc(E,function(O){return N.test("string"==typeof O.className&&O.className||"undefined"!=typeof O.getAttribute&&O.getAttribute("class")||"")}))},ATTR:function(E,N,O){return function(W){W=c.attr(W,E);return null==W?"!\x3d"===N:!N||(W+="","\x3d"===
97N?W===O:"!\x3d"===N?W!==O:"^\x3d"===N?O&&0===W.indexOf(O):"*\x3d"===N?O&&-1<W.indexOf(O):"$\x3d"===N?O&&W.slice(-O.length)===O:"~\x3d"===N?-1<(" "+W.replace(mc," ")+" ").indexOf(O):"|\x3d"===N&&(W===O||W.slice(0,O.length+1)===O+"-"))}},CHILD:function(E,N,O,W,da){var za="nth"!==E.slice(0,3),na="last"!==E.slice(-4),La="of-type"===N;return 1===W&&0===da?function(oa){return!!oa.parentNode}:function(oa,Na,Va){var Za,ab,xb;Na=za!==na?"nextSibling":"previousSibling";var Hb=oa.parentNode,Gb=La&&oa.nodeName.toLowerCase(),
98cc=!Va&&!La,pb=!1;if(Hb){if(za){for(;Na;){for(ab=oa;ab=ab[Na];)if(La?h(ab,Gb):1===ab.nodeType)return!1;var ac=Na="only"===E&&!ac&&"nextSibling"}return!0}if(ac=[na?Hb.firstChild:Hb.lastChild],na&&cc)for(pb=(xb=(Za=(Va=Hb[cb]||(Hb[cb]={}))[E]||[])[0]===rb&&Za[1])&&Za[2],ab=xb&&Hb.childNodes[xb];ab=++xb&&ab&&ab[Na]||(pb=xb=0)||ac.pop();){if(1===ab.nodeType&&++pb&&ab===oa){Va[E]=[rb,xb,pb];break}}else if(cc&&(pb=xb=(Za=(oa[cb]||(oa[cb]={}))[E]||[])[0]===rb&&Za[1]),!1===pb)for(;(ab=++xb&&ab&&ab[Na]||(pb=
99xb=0)||ac.pop())&&((La?!h(ab,Gb):1!==ab.nodeType)||!++pb||(cc&&((Va=ab[cb]||(ab[cb]={}))[E]=[rb,pb]),ab!==oa)););return(pb-=da)===W||0==pb%W&&0<=pb/W}}},PSEUDO:function(E,N){var O,W=Pa.pseudos[E]||Pa.setFilters[E.toLowerCase()]||c.error("unsupported pseudo: "+E);return W[cb]?W(N):1<W.length?(O=[E,E,"",N],Pa.setFilters.hasOwnProperty(E.toLowerCase())?r(function(da,za){for(var na,La=W(da,N),oa=La.length;oa--;)da[na=Yb.call(da,La[oa])]=!(za[na]=La[oa])}):function(da){return W(da,0,O)}):W}},pseudos:{not:r(function(E){var N=
100[],O=[],W=Lb(E.replace(pc,"$1"));return W[cb]?r(function(da,za,na,La){var oa;na=W(da,null,La,[]);for(La=da.length;La--;)(oa=na[La])&&(da[La]=!(za[La]=oa))}):function(da,za,na){return N[0]=da,W(N,null,na,O),N[0]=null,!O.pop()}}),has:r(function(E){return function(N){return 0<c(E,N).length}}),contains:r(function(E){return E=E.replace(Bc,Cc),function(N){return-1<(N.textContent||u.text(N)).indexOf(E)}}),lang:r(function(E){return Bd.test(E||"")||c.error("unsupported lang: "+E),E=E.replace(Bc,Cc).toLowerCase(),
101function(N){var O;do if(O=Ub?N.lang:N.getAttribute("xml:lang")||N.getAttribute("lang"))return(O=O.toLowerCase())===E||0===O.indexOf(E+"-");while((N=N.parentNode)&&1===N.nodeType);return!1}}),target:function(E){var N=a.location&&a.location.hash;return N&&N.slice(1)===E.id},root:function(E){return E===Kb},focus:function(E){a:{try{var N=jb.activeElement;break a}catch(O){}N=void 0}return E===N&&jb.hasFocus()&&!!(E.type||E.href||~E.tabIndex)},enabled:C(!1),disabled:C(!0),checked:function(E){return h(E,
102"input")&&!!E.checked||h(E,"option")&&!!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(6>E.nodeType)return!1;return!0},parent:function(E){return!Pa.pseudos.empty(E)},header:function(E){return Dd.test(E.nodeName)}
vendor: 5,435 bytes, lines 102-113
102,input:function(E){return Cd.test(E.nodeName)},button:function(E){return h(E,"input")&&"button"===E.type||h(E,"button")},text:function(E){var N;return h(E,"input")&&"text"===E.type&&
103(null==(N=E.getAttribute("type"))||"text"===N.toLowerCase())},first:I(function(){return[0]}),last:I(function(E,N){return[N-1]}),eq:I(function(E,N,O){return[0>O?O+N:O]}),even:I(function(E,N){for(var O=0;O<N;O+=2)E.push(O);return E}),odd:I(function(E,N){for(var O=1;O<N;O+=2)E.push(O);return E}),lt:I(function(E,N,O){for(N=0>O?O+N:N<O?N:O;0<=--N;)E.push(N);return E}),gt:I(function(E,N,O){for(O=0>O?O+N:O;++O<N;)E.push(O);return E})}}).pseudos.nth=Pa.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,
104image:!0})Pa.pseudos[Ta]=y(Ta);for(Ta in{submit:!0,reset:!0})Pa.pseudos[Ta]=A(Ta);X.prototype=Pa.filters=Pa.pseudos;Pa.setFilters=new X;Ia.sortStable=cb.split("").sort(Eb).join("")===cb;R();Ia.sortDetached=v(function(E){return 1&E.compareDocumentPosition(jb.createElement("fieldset"))});u.find=c;u.expr[":"]=u.expr.pseudos;u.unique=u.uniqueSort;c.compile=Lb;c.select=Ac;c.setDocument=R;c.tokenize=Q;c.escape=u.escapeSelector;c.getText=u.text;c.isXML=u.isXMLDoc;c.selectors=u.expr;c.support=u.support;c.uniqueSort=
105u.uniqueSort}();var $a=function(c,p,r){for(var v=[],y=void 0!==r;(c=c[p])&&9!==c.nodeType;)if(1===c.nodeType){if(y&&u(c).is(r))break;v.push(c)}return v},Ab=function(c,p){for(var r=[];c;c=c.nextSibling)1===c.nodeType&&c!==p&&r.push(c);return r},Da=u.expr.match.needsContext,fc=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;u.filter=function(c,p,r){var v=p[0];return r&&(c=":not("+c+")"),1===p.length&&1===v.nodeType?u.find.matchesSelector(v,c)?[v]:[]:u.find.matches(c,u.grep(p,function(y){return 1===
106y.nodeType}))};u.fn.extend({find:function(c){var p,r=this.length,v=this;if("string"!=typeof c)return this.pushStack(u(c).filter(function(){for(p=0;p<r;p++)if(u.contains(v[p],this))return!0}));var y=this.pushStack([]);for(p=0;p<r;p++)u.find(c,v[p],y);return 1<r?u.uniqueSort(y):y},filter:function(c){return this.pushStack(e(this,c||[],!1))},not:function(c){return this.pushStack(e(this,c||[],!0))},is:function(c){return!!e(this,"string"==typeof c&&Da.test(c)?u(c):c||[],!1).length}});var L=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;
107(u.fn.init=function(c,p,r){var v,y;if(!c)return this;if(r=r||ca,"string"==typeof c){if(!(v="\x3c"===c[0]&&"\x3e"===c[c.length-1]&&3<=c.length?[null,c,null]:L.exec(c))||!v[1]&&p)return!p||p.jquery?(p||r).find(c):this.constructor(p).find(c);if(v[1]){if(p=p instanceof u?p[0]:p,u.merge(this,u.parseHTML(v[1],p&&p.nodeType?p.ownerDocument||p:Ha,!0)),fc.test(v[1])&&u.isPlainObject(p))for(v in p)Ka(this[v])?this[v](p[v]):this.attr(v,p[v]);return this}return(y=Ha.getElementById(v[2]))&&(this[0]=y,this.length=
1081),this}return c.nodeType?(this[0]=c,this.length=1,this):Ka(c)?void 0!==r.ready?r.ready(c):c(u):u.makeArray(c,this)}).prototype=u.fn;var ca=u(Ha);var ba=/^(?:parents|prev(?:Until|All))/,fa={children:!0,contents:!0,next:!0,prev:!0};u.fn.extend({has:function(c){var p=u(c,this),r=p.length;return this.filter(function(){for(var v=0;v<r;v++)if(u.contains(this,p[v]))return!0})},closest:function(c,p){var r,v=0,y=this.length,A=[],C="string"!=typeof c&&u(c);if(!Da.test(c))for(;v<y;v++)for(r=this[v];r&&r!==
109p;r=r.parentNode)if(11>r.nodeType&&(C?-1<C.index(r):1===r.nodeType&&u.find.matchesSelector(r,c))){A.push(r);break}return this.pushStack(1<A.length?u.uniqueSort(A):A)},index:function(c){return c?"string"==typeof c?Yb.call(u(c),this[0]):Yb.call(this,c.jquery?c[0]:c):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(c,p){return this.pushStack(u.uniqueSort(u.merge(this.get(),u(c,p))))},addBack:function(c){return this.add(null==c?this.prevObject:this.prevObject.filter(c))}});u.each({parent:function(c){return(c=
110c.parentNode)&&11!==c.nodeType?c:null},parents:function(c){return $a(c,"parentNode")},parentsUntil:function(c,p,r){return $a(c,"parentNode",r)},next:function(c){return b(c,"nextSibling")},prev:function(c){return b(c,"previousSibling")},nextAll:function(c){return $a(c,"nextSibling")},prevAll:function(c){return $a(c,"previousSibling")},nextUntil:function(c,p,r){return $a(c,"nextSibling",r)},prevUntil:function(c,p,r){return $a(c,"previousSibling",r)},siblings:function(c){return Ab((c.parentNode||{}).firstChild,
111c)},children:function(c){return Ab(c.firstChild)},contents:function(c){return null!=c.contentDocument&&$b(c.contentDocument)?c.contentDocument:(h(c,"template")&&(c=c.content||c),u.merge([],c.childNodes))}},function(c,p){u.fn[c]=function(r,v){var y=u.map(this,p,r);return"Until"!==c.slice(-5)&&(v=r),v&&"string"==typeof v&&(y=u.filter(v,y)),1<this.length&&(fa[c]||u.uniqueSort(y),ba.test(c)&&y.reverse()),this.pushStack(y)}});var ka=/[^\x20\t\r\n\f]+/g;u.Callbacks=function(c){var p,r;c="string"==typeof c?
112(p=c,r={},u.each(p.match(ka)||[],function(ma,xa){r[xa]=!0}),r):u.extend({},c);var v,y,A,C,I=[],G=[],R=-1,X=function(){C=C||c.once;for(A=v=!0;G.length;R=-1)for(y=G.shift();++R<I.length;)!1===I[R].apply(y[0],y[1])&&c.stopOnFalse&&(R=I.length,y=!1);c.memory||(y=!1);v=!1;C&&(I=y?[]:"")},Q={add:function(){return I&&(y&&!v&&(R=I.length-1,G.push(y)),function Aa(xa){u.each(xa,function(Ra,kb){Ka(kb)?c.unique&&Q.has(kb)||I.push(kb):kb&&kb.length&&"string"!==f(kb)&&Aa(kb)})}(arguments),y&&!v&&X()),this},remove:function(){return u.each(arguments,
113function(ma,xa){for(var Aa;-1<(Aa=u.inArray(xa,I,Aa));)I.splice(Aa,1),Aa<=R&&R--}
vendor: 7,086 bytes, lines 113-126
113),this},has:function(ma){return ma?-1<u.inArray(ma,I):0<I.length},empty:function(){return I&&(I=[]),this},disable:function(){return C=G=[],I=y="",this},disabled:function(){return!I},lock:function(){return C=G=[],y||v||(I=y=""),this},locked:function(){return!!C},fireWith:function(ma,xa){return C||(xa=[ma,(xa=xa||[]).slice?xa.slice():xa],G.push(xa),v||X()),this},fire:function(){return Q.fireWith(this,arguments),this},fired:function(){return!!A}};
114return Q};u.extend({Deferred:function(c){var p=[["notify","progress",u.Callbacks("memory"),u.Callbacks("memory"),2],["resolve","done",u.Callbacks("once memory"),u.Callbacks("once memory"),0,"resolved"],["reject","fail",u.Callbacks("once memory"),u.Callbacks("once memory"),1,"rejected"]],r="pending",v={state:function(){return r},always:function(){return y.done(arguments).fail(arguments),this},"catch":function(A){return v.then(null,A)},pipe:function(){var A=arguments;return u.Deferred(function(C){u.each(p,
115function(I,G){var R=Ka(A[G[4]])&&A[G[4]];y[G[1]](function(){var X=R&&R.apply(this,arguments);X&&Ka(X.promise)?X.promise().progress(C.notify).done(C.resolve).fail(C.reject):C[G[0]+"With"](this,R?[X]:arguments)})});A=null}).promise()},then:function(A,C,I){function G(X,Q,ma,xa){return function(){var Aa=this,Ra=arguments,kb=function(){var Lb;if(!(X<R)){if((Lb=ma.apply(Aa,Ra))===Q.promise())throw new TypeError("Thenable self-resolution");var Ac=Lb&&("object"==typeof Lb||"function"==typeof Lb)&&Lb.then;
116Ka(Ac)?xa?Ac.call(Lb,G(R,Q,d,xa),G(R,Q,l,xa)):(R++,Ac.call(Lb,G(R,Q,d,xa),G(R,Q,l,xa),G(R,Q,d,Q.notifyWith))):(ma!==d&&(Aa=void 0,Ra=[Lb]),(xa||Q.resolveWith)(Aa,Ra))}},ec=xa?kb:function(){try{kb()}catch(Lb){u.Deferred.exceptionHook&&u.Deferred.exceptionHook(Lb,ec.error),R<=X+1&&(ma!==l&&(Aa=void 0,Ra=[Lb]),Q.rejectWith(Aa,Ra))}};X?ec():(u.Deferred.getErrorHook?ec.error=u.Deferred.getErrorHook():u.Deferred.getStackHook&&(ec.error=u.Deferred.getStackHook()),a.setTimeout(ec))}}var R=0;return u.Deferred(function(X){p[0][3].add(G(0,
117X,Ka(I)?I:d,X.notifyWith));p[1][3].add(G(0,X,Ka(A)?A:d));p[2][3].add(G(0,X,Ka(C)?C:l))}).promise()},promise:function(A){return null!=A?u.extend(A,v):v}},y={};return u.each(p,function(A,C){var I=C[2],G=C[5];v[C[1]]=I.add;G&&I.add(function(){r=G},p[3-A][2].disable,p[3-A][3].disable,p[0][2].lock,p[0][3].lock);I.add(C[3].fire);y[C[0]]=function(){return y[C[0]+"With"](this===y?void 0:this,arguments),this};y[C[0]+"With"]=I.fireWith}),v.promise(y),c&&c.call(y,y),y},when:function(c){var p=arguments.length,
118r=p,v=Array(r),y=qb.call(arguments),A=u.Deferred(),C=function(I){return function(G){v[I]=this;y[I]=1<arguments.length?qb.call(arguments):G;--p||A.resolveWith(v,y)}};if(1>=p&&(q(c,A.done(C(r)).resolve,A.reject,!p),"pending"===A.state()||Ka(y[r]&&y[r].then)))return A.then();for(;r--;)q(y[r],C(r),A.reject);return A.promise()}});var ia=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;u.Deferred.exceptionHook=function(c,p){a.console&&a.console.warn&&c&&ia.test(c.name)&&a.console.warn("jQuery.Deferred exception: "+
119c.message,c.stack,p)};u.readyException=function(c){a.setTimeout(function(){throw c;})};var Ca=u.Deferred();u.fn.ready=function(c){return Ca.then(c)["catch"](function(p){u.readyException(p)}),this};u.extend({isReady:!1,readyWait:1,ready:function(c){(!0===c?--u.readyWait:u.isReady)||(u.isReady=!0)!==c&&0<--u.readyWait||Ca.resolveWith(Ha,[u])}});u.ready.then=Ca.then;"complete"===Ha.readyState||"loading"!==Ha.readyState&&!Ha.documentElement.doScroll?a.setTimeout(u.ready):(Ha.addEventListener("DOMContentLoaded",
120t),a.addEventListener("load",t));var Fa=function(c,p,r,v,y,A,C){var I=0,G=c.length,R=null==r;if("object"===f(r))for(I in y=!0,r)Fa(c,p,I,r[I],!0,A,C);else if(void 0!==v&&(y=!0,Ka(v)||(C=!0),R&&(C?(p.call(c,v),p=null):(R=p,p=function(X,Q,ma){return R.call(u(X),ma)})),p))for(;I<G;I++)p(c[I],r,C?v:v.call(c[I],I,p(c[I],r)));return y?c:R?p.call(c):G?p(c[0],r):A},fb=/^-ms-/,Ib=/-([a-z])/g,yb=function(c){return 1===c.nodeType||9===c.nodeType||!+c.nodeType};B.uid=1;B.prototype={cache:function(c){var p=c[this.expando];
121return p||(p={},yb(c)&&(c.nodeType?c[this.expando]=p:Object.defineProperty(c,this.expando,{value:p,configurable:!0}))),p},set:function(c,p,r){var v;c=this.cache(c);if("string"==typeof p)c[x(p)]=r;else for(v in p)c[x(v)]=p[v];return c},get:function(c,p){return void 0===p?this.cache(c):c[this.expando]&&c[this.expando][x(p)]},access:function(c,p,r){return void 0===p||p&&"string"==typeof p&&void 0===r?this.get(c,p):(this.set(c,p,r),void 0!==r?r:p)},remove:function(c,p){var r=c[this.expando];if(void 0!==
122r){if(void 0!==p){var v=(p=Array.isArray(p)?p.map(x):(p=x(p))in r?[p]:p.match(ka)||[]).length;for(;v--;)delete r[p[v]]}(void 0===p||u.isEmptyObject(r))&&(c.nodeType?c[this.expando]=void 0:delete c[this.expando])}},hasData:function(c){c=c[this.expando];return void 0!==c&&!u.isEmptyObject(c)}};var ya=new B,gb=new B,vc=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,oc=/[A-Z]/g;u.extend({hasData:function(c){return gb.hasData(c)||ya.hasData(c)},data:function(c,p,r){return gb.access(c,p,r)},removeData:function(c,p){gb.remove(c,
123p)},_data:function(c,p,r){return ya.access(c,p,r)},_removeData:function(c,p){ya.remove(c,p)}});u.fn.extend({data:function(c,p){var r,v,y,A=this[0],C=A&&A.attributes;if(void 0===c){if(this.length&&(y=gb.get(A),1===A.nodeType&&!ya.get(A,"hasDataAttrs"))){for(r=C.length;r--;)C[r]&&0===(v=C[r].name).indexOf("data-")&&(v=x(v.slice(5)),D(A,v,y[v]));ya.set(A,"hasDataAttrs",!0)}return y}return"object"==typeof c?this.each(function(){gb.set(this,c)}):Fa(this,function(I){var G;if(A&&void 0===I)return void 0!==
124(G=gb.get(A,c))?G:void 0!==(G=D(A,c))?G:void 0;this.each(function(){gb.set(this,c,I)})},null,p,1<arguments.length,null,!0)},removeData:function(c){return this.each(function(){gb.remove(this,c)})}});u.extend({queue:function(c,p,r){var v;if(c)return p=(p||"fx")+"queue",v=ya.get(c,p),r&&(!v||Array.isArray(r)?v=ya.access(c,p,u.makeArray(r)):v.push(r)),v||[]},dequeue:function(c,p){p=p||"fx";var r=u.queue(c,p),v=r.length,y=r.shift(),A=u._queueHooks(c,p);"inprogress"===y&&(y=r.shift(),v--);y&&("fx"===p&&
125r.unshift("inprogress"),delete A.stop,y.call(c,function(){u.dequeue(c,p)},A));!v&&A&&A.empty.fire()},_queueHooks:function(c,p){var r=p+"queueHooks";return ya.get(c,r)||ya.access(c,r,{empty:u.Callbacks("once memory").add(function(){ya.remove(c,[p+"queue",r])})})}});u.fn.extend({queue:function(c,p){var r=2;return"string"!=typeof c&&(p=c,c="fx",r--),arguments.length<r?u.queue(this[0],c):void 0===p?this:this.each(function(){var v=u.queue(this,c,p);u._queueHooks(this,c);"fx"===c&&"inprogress"!==v[0]&&
126u.dequeue(this,c)})},dequeue:function(c){return this.each(function(){u.dequeue(this,c)})},clearQueue:function(c){return this.queue(c||"fx",[])},promise:function(c,p){var r,v=1,y=u.Deferred(),A=this,C=this.length,I=function(){--v||y.resolveWith(A,[A])};"string"!=typeof c&&(p=c,c=void 0);for(c=c||"fx";C--;)(r=ya.get(A[C],c+"queueHooks"))&&r.empty&&(v++,r.empty.add(I));return I(),y.promise(p)}});var Nb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,ic=new RegExp("^(?:([+-])\x3d|)("+Nb+")([a-z%]*)$","i"),
127zb=["Top","Right","Bottom","Left"],Qb=Ha.documentElement,Ua=function(c){return u.contains(c.ownerDocument,c)},db={composed:!0};Qb.getRootNode&&(Ua=function(c){return u.contains(c.ownerDocument,c)||c.getRootNode(db)===c.ownerDocument});var wc=function(c,p){return"none"===(c=p||c).style.display||""===c.style.display&&Ua(c)&&"none"===u.css(c,"display")},ad={};u.fn.extend({show:function(){return T(this,!0)},hide:function(){return T(this)},toggle:function(c){return"boolean"==typeof c?c?this.show():this.hide():
128this.each(function(){wc(this)?u(this).show():u(this).hide()})}});var Tc,Mc=/^(?:checkbox|radio)$/i,bd=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Oc=/^$|^module$|\/(?:java|ecma)script/i;var uc=Ha.createDocumentFragment().appendChild(Ha.createElement("div"));(Tc=Ha.createElement("input")).setAttribute("type","radio");Tc.setAttribute("checked","checked");Tc.setAttribute("name","t");uc.appendChild(Tc);Ia.checkClone=uc.cloneNode(!0).cloneNode(!0).lastChild.checked;uc.innerHTML="\x3ctextarea\x3ex\x3c/textarea\x3e";
129Ia.noCloneChecked=!!uc.cloneNode(!0).lastChild.defaultValue;uc.innerHTML="\x3coption\x3e\x3c/option\x3e";Ia.option=!!uc.lastChild;var Rb={thead:[1,"\x3ctable\x3e","\x3c/table\x3e"],col:[2,"\x3ctable\x3e\x3ccolgroup\x3e","\x3c/colgroup\x3e\x3c/table\x3e"],tr:[2,"\x3ctable\x3e\x3ctbody\x3e","\x3c/tbody\x3e\x3c/table\x3e"],td:[3,"\x3ctable\x3e\x3ctbody\x3e\x3ctr\x3e","\x3c/tr\x3e\x3c/tbody\x3e\x3c/table\x3e"],_default:[0,"",""]};Rb.tbody=Rb.tfoot=Rb.colgroup=Rb.caption=Rb.thead;Rb.th=Rb.td;Ia.option||
130(Rb.optgroup=Rb.option=[1,"\x3cselect multiple\x3d'multiple'\x3e","\x3c/select\x3e"]);var gd=/<|&#?\w+;/,Zc=/^([^.]*)(?:\.(.+)|)/;u.event={global:{},add:function(c,p,r,v,y){var A,C,I,G,R,X,Q,ma;var xa=ya.get(c);if(yb(c))for(r.handler&&(r=(A=r).handler,y=A.selector),y&&u.find.matchesSelector(Qb,y),r.guid||(r.guid=u.guid++),(G=xa.events)||(G=xa.events=Object.create(null)),(C=xa.handle)||(C=xa.handle=function(Ra){return"undefined"!=typeof u&&u.event.triggered!==Ra.type?u.event.dispatch.apply(c,arguments):
131void 0}),xa=(p=(p||"").match(ka)||[""]).length;xa--;){var Aa=ma=(I=Zc.exec(p[xa])||[])[1];I=(I[2]||"").split(".").sort();Aa&&(X=u.event.special[Aa]||{},Aa=(y?X.delegateType:X.bindType)||Aa,X=u.event.special[Aa]||{},R=u.extend({type:Aa,origType:ma,data:v,handler:r,guid:r.guid,selector:y,needsContext:y&&u.expr.match.needsContext.test(y),namespace:I.join(".")},A),(Q=G[Aa])||((Q=G[Aa]=[]).delegateCount=0,X.setup&&!1!==X.setup.call(c,v,I,C)||c.addEventListener&&c.addEventListener(Aa,C)),X.add&&(X.add.call(c,
132R),R.handler.guid||(R.handler.guid=r.guid)),y?Q.splice(Q.delegateCount++,0,R):Q.push(R),u.event.global[Aa]=!0)}},remove:function(c,p,r,v,y){var A,C,I,G,R,X,Q,ma,xa=ya.hasData(c)&&ya.get(c);if(xa&&(G=xa.events)){for(R=(p=(p||"").match(ka)||[""]).length;R--;)if(X=ma=(I=Zc.exec(p[R])||[])[1],Q=(I[2]||"").split(".").sort(),X){var Aa=u.event.special[X]||{};var Ra=G[X=(v?Aa.delegateType:Aa.bindType)||X]||[];I=I[2]&&new RegExp("(^|\\.)"+Q.join("\\.(?:.*\\.|)")+"(\\.|$)");for(C=A=Ra.length;A--;){var kb=Ra[A];
133!y&&ma!==kb.origType||r&&r.guid!==kb.guid||I&&!I.test(kb.namespace)||v&&v!==kb.selector&&("**"!==v||!kb.selector)||(Ra.splice(A,1),kb.selector&&Ra.delegateCount--,Aa.remove&&Aa.remove.call(c,kb))}C&&!Ra.length&&(Aa.teardown&&!1!==Aa.teardown.call(c,Q,xa.handle)||u.removeEvent(c,X,xa.handle),delete G[X])}else for(X in G)u.event.remove(c,X+p[R],r,v,!0);u.isEmptyObject(G)&&ya.remove(c,"handle events")}},dispatch:function(c){var p,r,v,y,A=Array(arguments.length),C=u.event.fix(c);var I=(ya.get(this,"events")||
134Object.create(null))[C.type]||[];var G=u.event.special[C.type]||{};A[0]=C;for(p=1;p<arguments.length;p++)A[p]=arguments[p];if(C.delegateTarget=this,!G.preDispatch||!1!==G.preDispatch.call(this,C)){var R=u.event.handlers.call(this,C,I);for(p=0;(v=R[p++])&&!C.isPropagationStopped();)for(C.currentTarget=v.elem,I=0;(y=v.handlers[I++])&&!C.isImmediatePropagationStopped();)C.rnamespace&&!1!==y.namespace&&!C.rnamespace.test(y.namespace)||(C.handleObj=y,C.data=y.data,void 0!==(r=((u.event.special[y.origType]||
135{}).handle||y.handler).apply(v.elem,A))&&!1===(C.result=r)&&(C.preventDefault(),C.stopPropagation()));return G.postDispatch&&G.postDispatch.call(this,C),C.result}},handlers:function(c,p){var r,v,y,A=[],C=p.delegateCount,I=c.target;if(C&&I.nodeType&&!("click"===c.type&&1<=c.button))for(;I!==this;I=I.parentNode||this)if(1===I.nodeType&&("click"!==c.type||!0!==I.disabled)){var G=[];var R={};for(r=0;r<C;r++)void 0===R[y=(v=p[r]).selector+" "]&&(R[y]=v.needsContext?-1<u(y,this).index(I):u.find(y,this,
136null,[I]).length),R[y]&&G.push(v);G.length&&A.push({elem:I,handlers:G})}return I=this,C<p.length&&A.push({elem:I,handlers:p.slice(C)}),A},addProp:function(c,p){Object.defineProperty(u.Event.prototype,c,{enumerable:!0,configurable:!0,get:Ka(p)?function(){if(this.originalEvent)return p(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[c]},set:function(r){Object.defineProperty(this,c,{enumerable:!0,configurable:!0,writable:!0,value:r})}})},fix:function(c){return c[u.expando]?
137c:new u.Event(c)},special:{load:{noBubble:!0},click:{setup:function(c){c=this||c;return Mc.test(c.type)&&c.click&&h(c,"input")&&bb(c,"click",!0),!1},trigger:function(c){c=this||c;return Mc.test(c.type)&&c.click&&h(c,"input")&&bb(c,"click"),!0},_default:function(c){c=c.target;return Mc.test(c.type)&&c.click&&h(c,"input")&&ya.get(c,"click")||h(c,"a")}},beforeunload:{postDispatch:function(c){void 0!==c.result&&c.originalEvent&&(c.originalEvent.returnValue=c.result)}}}};u.removeEvent=function(c,p,r){c.removeEventListener&&
138c.removeEventListener(p,r)};u.Event=function(c,p){if(!(this instanceof u.Event))return new u.Event(c,p);c&&c.type?(this.originalEvent=c,this.type=c.type,this.isDefaultPrevented=c.defaultPrevented||void 0===c.defaultPrevented&&!1===c.returnValue?wa:va,this.target=c.target&&3===c.target.nodeType?c.target.parentNode:c.target,this.currentTarget=c.currentTarget,this.relatedTarget=c.relatedTarget):this.type=c;p&&u.extend(this,p);this.timeStamp=c&&c.timeStamp||Date.now();this[u.expando]=!0};u.Event.prototype=
139{constructor:u.Event,isDefaultPrevented:va,isPropagationStopped:va,isImmediatePropagationStopped:va,isSimulated:!1,preventDefault:function(){var c=this.originalEvent;this.isDefaultPrevented=wa;c&&!this.isSimulated&&c.preventDefault()},stopPropagation:function(){var c=this.originalEvent;this.isPropagationStopped=wa;c&&!this.isSimulated&&c.stopPropagation()},stopImmediatePropagation:function(){var c=this.originalEvent;this.isImmediatePropagationStopped=wa;c&&!this.isSimulated&&c.stopImmediatePropagation();
140this.stopPropagation()}};u.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,code:!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:!0},u.event.addProp);u.each({focus:"focusin",blur:"focusout"},function(c,p){function r(v){if(Ha.documentMode){var y=ya.get(this,
141"handle"),A=u.event.fix(v);
141A.type="focusin"===v.type?"focus":"blur";A.isSimulated=!0;y(v);A.target===A.currentTarget&&y(A)}else u.event.simulate(p,v.target,u.event.fix(v))}u.event.special[c]={setup:function(){var v;if(bb(this,c,!0),!Ha.documentMode)return!1;(v=ya.get(this,p))||this.addEventListener(p,r);ya.set(this,p,(v||0)+1)},trigger:function(){return bb(this,c),!0},teardown:function(){var v;if(!Ha.documentMode)return!1;(v=ya.get(this,p)-1)?ya.set(this,p,v):(this.removeEventListener(p,r),ya.remove(this,
142p))},_default:function(v){return ya.get(v.target,c)},delegateType:p};u.event.special[p]={setup:function(){var v=this.ownerDocument||this.document||this,y=Ha.documentMode?this:v,A=ya.get(y,p);A||(Ha.documentMode?this.addEventListener(p,r):v.addEventListener(c,r,!0));ya.set(y,p,(A||0)+1)},teardown:function(){var v=this.ownerDocument||this.document||this,y=Ha.documentMode?this:v,A=ya.get(y,p)-1;A?ya.set(y,p,A):(Ha.documentMode?this.removeEventListener(p,r):v.removeEventListener(c,r,!0),ya.remove(y,p))}}});
143u.each({mouseenter:"mouseover",mouseleave:"mou
vendor: 10,562 bytes, lines 143-163
143seout",pointerenter:"pointerover",pointerleave:"pointerout"},function(c,p){u.event.special[c]={delegateType:p,bindType:p,handle:function(r){var v,y=r.relatedTarget,A=r.handleObj;return y&&(y===this||u.contains(this,y))||(r.type=A.origType,v=A.handler.apply(this,arguments),r.type=p),v}}});u.fn.extend({on:function(c,p,r,v){return ha(this,c,p,r,v)},one:function(c,p,r,v){return ha(this,c,p,r,v,1)},off:function(c,p,r){var v,y;if(c&&c.preventDefault&&c.handleObj)return v=
144c.handleObj,u(c.delegateTarget).off(v.namespace?v.origType+"."+v.namespace:v.origType,v.selector,v.handler),this;if("object"==typeof c){for(y in c)this.off(y,p,c[y]);return this}return!1!==p&&"function"!=typeof p||(r=p,p=void 0),!1===r&&(r=va),this.each(function(){u.event.remove(this,c,r,p)})}});var Fc=/<script|<style|<link/i,cd=/checked\s*(?:[^=]|=\s*.checked.)/i,jc=/^\s*<!\[CDATA\[|\]\]>\s*$/g;u.extend({htmlPrefilter:function(c){return c},clone:function(c,p,r){var v,y,A,C=c.cloneNode(!0),I=Ua(c);
145if(!(Ia.noCloneChecked||1!==c.nodeType&&11!==c.nodeType||u.isXMLDoc(c))){var G=Y(C);var R=0;for(v=(y=Y(c)).length;R<v;R++){var X=y[R];var Q=G[R];void 0;"input"===(A=Q.nodeName.toLowerCase())&&Mc.test(X.type)?Q.checked=X.checked:"input"!==A&&"textarea"!==A||(Q.defaultValue=X.defaultValue)}}if(p)if(r)for(y=y||Y(c),G=G||Y(C),R=0,v=y.length;R<v;R++)H(y[R],G[R]);else H(c,C);return 0<(G=Y(C,"script")).length&&la(G,!I&&Y(c,"script")),C},cleanData:function(c){for(var p,r,v,y=u.event.special,A=0;void 0!==
146(r=c[A]);A++)if(yb(r)){if(p=r[ya.expando]){if(p.events)for(v in p.events)y[v]?u.event.remove(r,v):u.removeEvent(r,v,p.handle);r[ya.expando]=void 0}r[gb.expando]&&(r[gb.expando]=void 0)}}});u.fn.extend({detach:function(c){return M(this,c,!0)},remove:function(c){return M(this,c)},text:function(c){return Fa(this,function(p){return void 0===p?u.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=p)})},null,c,arguments.length)},append:function(){return J(this,
147arguments,function(c){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Jb(this,c).appendChild(c)})},prepend:function(){return J(this,arguments,function(c){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var p=Jb(this,c);p.insertBefore(c,p.firstChild)}})},before:function(){return J(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this)})},after:function(){return J(this,arguments,function(c){this.parentNode&&this.parentNode.insertBefore(c,this.nextSibling)})},
148empty:function(){for(var c,p=0;null!=(c=this[p]);p++)1===c.nodeType&&(u.cleanData(Y(c,!1)),c.textContent="");return this},clone:function(c,p){return c=null!=c&&c,p=null==p?c:p,this.map(function(){return u.clone(this,c,p)})},html:function(c){return Fa(this,function(p){var r=this[0]||{},v=0,y=this.length;if(void 0===p&&1===r.nodeType)return r.innerHTML;if("string"==typeof p&&!Fc.test(p)&&!Rb[(bd.exec(p)||["",""])[1].toLowerCase()]){p=u.htmlPrefilter(p);try{for(;v<y;v++)1===(r=this[v]||{}).nodeType&&
149(u.cleanData(Y(r,!1)),r.innerHTML=p);r=0}catch(A){}}r&&this.empty().append(p)},null,c,arguments.length)},replaceWith:function(){var c=[];return J(this,arguments,function(p){var r=this.parentNode;0>u.inArray(this,c)&&(u.cleanData(Y(this)),r&&r.replaceChild(p,this))},c)}});u.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(c,p){u.fn[c]=function(r){for(var v=[],y=u(r),A=y.length-1,C=0;C<=A;C++)r=C===A?this:this.clone(!0),u(y[C])[p](r),
150rc.apply(v,r.get());return this.pushStack(v)}});var Qc=new RegExp("^("+Nb+")(?!px)[a-z%]+$","i"),Uc=/^--/,Pc=function(c){var p=c.ownerDocument.defaultView;return p&&p.opener||(p=a),p.getComputedStyle(c)},ed=function(c,p,r){var v,y={};for(v in p)y[v]=c.style[v],c.style[v]=p[v];for(v in r=r.call(c),p)c.style[v]=y[v];return r},Vb=new RegExp(zb.join("|"),"i");!function(){function c(){if(G){I.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";G.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";
151Qb.appendChild(I).appendChild(G);var R=a.getComputedStyle(G);p="1%"!==R.top;C=12===Math.round(parseFloat(R.marginLeft));G.style.right="60%";y=36===Math.round(parseFloat(R.right));r=36===Math.round(parseFloat(R.width));G.style.position="absolute";v=12===Math.round(parseFloat(G.offsetWidth/3));Qb.removeChild(I);G=null}}var p,r,v,y,A,C,I=Ha.createElement("div"),G=Ha.createElement("div");G.style&&(G.style.backgroundClip="content-box",G.cloneNode(!0).style.backgroundClip="",Ia.clearCloneStyle="content-box"===
152G.style.backgroundClip,u.extend(Ia,{boxSizingReliable:function(){return c(),r},pixelBoxStyles:function(){return c(),y},pixelPosition:function(){return c(),p},reliableMarginLeft:function(){return c(),C},scrollboxSize:function(){return c(),v},reliableTrDimensions:function(){var R,X,Q,ma;return null==A&&(R=Ha.createElement("table"),X=Ha.createElement("tr"),Q=Ha.createElement("div"),R.style.cssText="position:absolute;left:-11111px;border-collapse:separate",X.style.cssText="box-sizing:content-box;border:1px solid",
153X.style.height="1px",Q.style.height="9px",Q.style.display="block",Qb.appendChild(R).appendChild(X).appendChild(Q),ma=a.getComputedStyle(X),A=parseInt(ma.height,10)+parseInt(ma.borderTopWidth,10)+parseInt(ma.borderBottomWidth,10)===X.offsetHeight,Qb.removeChild(R)),A}}))}();var yc=["Webkit","Moz","ms"],xc=Ha.createElement("div").style,dd={},id=/^(none|table(?!-c[ea]).+)/,jd={position:"absolute",visibility:"hidden",display:"block"},Gc={letterSpacing:"0",fontWeight:"400"};u.extend({cssHooks:{opacity:{get:function(c,
154p){if(p)return c=S(c,"opacity"),""===c?"1":c}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(c,p,r,v){if(c&&3!==c.nodeType&&
1558!==c.nodeType&&c.style){var y,A,C,I=x(p),G=Uc.test(p),R=c.style;if(G||(p=ea(I)),C=u.cssHooks[p]||u.cssHooks[I],void 0===r)return C&&"get"in C&&void 0!==(y=C.get(c,!1,v))?y:R[p];"string"===(A=typeof r)&&(y=ic.exec(r))&&y[1]&&(r=z(c,p,y),A="number");null!=r&&r==r&&("number"!==A||G||(r+=y&&y[3]||(u.cssNumber[I]?"":"px")),Ia.clearCloneStyle||""!==r||0!==p.indexOf("background")||(R[p]="inherit"),C&&"set"in C&&void 0===(r=C.set(c,r,v))||(G?R.setProperty(p,r):R[p]=r))}},css:function(c,p,r,v){var y,A,C,
156I=x(p);return Uc.test(p)||(p=ea(I)),(C=u.cssHooks[p]||u.cssHooks[I])&&"get"in C&&(y=C.get(c,!0,r)),void 0===y&&(y=S(c,p,v)),"normal"===y&&p in Gc&&(y=Gc[p]),""===r||r?(A=parseFloat(y),!0===r||isFinite(A)?A||0:y):y}});u.each(["height","width"],function(c,p){u.cssHooks[p]={get:function(r,v,y){if(v)return!id.test(u.css(r,"display"))||r.getClientRects().length&&r.getBoundingClientRect().width?nb(r,p,y):ed(r,jd,function(){return nb(r,p,y)})},set:function(r,v,y){var A,C=Pc(r),I=!Ia.scrollboxSize()&&"absolute"===
157C.position,G=(I||y)&&"border-box"===u.css(r,"boxSizing",!1,C);y=y?sa(r,p,y,G,C):0;return G&&I&&(y-=Math.ceil(r["offset"+p[0].toUpperCase()+p.slice(1)]-parseFloat(C[p])-sa(r,p,"border",!1,C)-.5)),y&&(A=ic.exec(v))&&"px"!==(A[3]||"px")&&(r.style[p]=v,v=u.css(r,p)),qa(0,v,y)}}});u.cssHooks.marginLeft=Z(Ia.reliableMarginLeft,function(c,p){if(p)return(parseFloat(S(c,"marginLeft"))||c.getBoundingClientRect().left-ed(c,{marginLeft:0},function(){return c.getBoundingClientRect().left}))+"px"});u.each({margin:"",
158padding:"",border:"Width"},function(c,p){u.cssHooks[c+p]={expand:function(r){var v=0,y={};for(r="string"==typeof r?r.split(" "):[r];4>v;v++)y[c+zb[v]+p]=r[v]||r[v-2]||r[0];return y}};"margin"!==c&&(u.cssHooks[c+p].set=qa)});u.fn.extend({css:function(c,p){return Fa(this,function(r,v,y){var A,C={},I=0;if(Array.isArray(v)){y=Pc(r);for(A=v.length;I<A;I++)C[v[I]]=u.css(r,v[I],!1,y);return C}return void 0!==y?u.style(r,v,y):u.css(r,v)},c,p,1<arguments.length)}});((u.Tween=Ga).prototype={constructor:Ga,
159init:function(c,p,r,v,y,A){this.elem=c;this.prop=r;this.easing=y||u.easing._default;this.options=p;this.start=this.now=this.cur();this.end=v;this.unit=A||(u.cssNumber[r]?"":"px")},cur:function(){var c=Ga.propHooks[this.prop];return c&&c.get?c.get(this):Ga.propHooks._default.get(this)},run:function(c){var p,r=Ga.propHooks[this.prop];return this.options.duration?this.pos=p=u.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=p=c,this.now=(this.end-this.start)*p+this.start,
160this.options.step&&this.options.step.call(this.elem,this.now,this),r&&r.set?r.set(this):Ga.propHooks._default.set(this),this}}).init.prototype=Ga.prototype;(Ga.propHooks={_default:{get:function(c){var p;return 1!==c.elem.nodeType||null!=c.elem[c.prop]&&null==c.elem.style[c.prop]?c.elem[c.prop]:(p=u.css(c.elem,c.prop,""))&&"auto"!==p?p:0},set:function(c){u.fx.step[c.prop]?u.fx.step[c.prop](c):1!==c.elem.nodeType||!u.cssHooks[c.prop]&&null==c.elem.style[ea(c.prop)]?c.elem[c.prop]=c.now:u.style(c.elem,
161c.prop,c.now+c.unit)}}}).scrollTop=Ga.propHooks.scrollLeft={set:function(c){c.elem.nodeType&&c.elem.parentNode&&(c.elem[c.prop]=c.now)}};u.easing={linear:function(c){return c},swing:function(c){return.5-Math.cos(c*Math.PI)/2},_default:"swing"};u.fx=Ga.prototype.init;u.fx.step={};var Kc,Jc,od=/^(?:toggle|show|hide)$/,K=/queueHooks$/;u.Animation=u.extend(Sb,{tweeners:{"*":[function(c,p){var r=this.createTween(c,p);return z(r.elem,c,ic.exec(p),r),r}]},tweener:function(c,p){Ka(c)?(p=c,c=["*"]):c=c.match(ka);
162for(var r,v=0,y=c.length;v<y;v++)r=c[v],Sb.tweeners[r]=Sb.tweeners[r]||[],Sb.tweeners[r].unshift(p)},prefilters:[function(c,p,r){var v,y,A,C,I,G,R,X="width"in p||"height"in p,Q=this,ma={},xa=c.style,Aa=c.nodeType&&wc(c),Ra=ya.get(c,"fxshow");for(v in r.queue||(null==(C=u._queueHooks(c,"fx")).unqueued&&(C.unqueued=0,I=C.empty.fire,C.empty.fire=function(){C.unqueued||I()}),C.unqueued++,Q.always(function(){Q.always(function(){C.unqueued--;u.queue(c,"fx").length||C.empty.fire()})})),p)if(y=p[v],od.test(y)){if(delete p[v],
163A=A||"toggle"===y,y===(Aa?"hide":"show")){if("show"!==y||!Ra||void 0===Ra[v])continue;Aa=!0}ma[v]=Ra&&Ra[v]||u.style(c,v)}if((p=!u.isEmptyObject(p))||!u.isEmptyObject(ma))for(v in X&&1===c.nodeType&&(r.overflow=[xa.overflow,xa.overflowX,xa.overflowY],null==(G=Ra&&Ra.display)&&(G=ya.get(c,"dis
vendor: 2,446 bytes, lines 163-168
163play")),"none"===(R=u.css(c,"display"))&&(G?R=G:(T([c],!0),G=c.style.display||G,R=u.css(c,"display"),T([c]))),("inline"===R||"inline-block"===R&&null!=G)&&"none"===u.css(c,"float")&&(p||(Q.done(function(){xa.display=
164G}),null==G&&(R=xa.display,G="none"===R?"":R)),xa.display="inline-block")),r.overflow&&(xa.overflow="hidden",Q.always(function(){xa.overflow=r.overflow[0];xa.overflowX=r.overflow[1];xa.overflowY=r.overflow[2]})),p=!1,ma)p||(Ra?"hidden"in Ra&&(Aa=Ra.hidden):Ra=ya.access(c,"fxshow",{display:G}),A&&(Ra.hidden=!Aa),Aa&&T([c],!0),Q.done(function(){for(v in Aa||T([c]),ya.remove(c,"fxshow"),ma)u.style(c,v,ma[v])})),p=kc(Aa?Ra[v]:0,v,Q),v in Ra||(Ra[v]=p.start,Aa&&(p.end=p.start,p.start=0))}],prefilter:function(c,
165p){p?Sb.prefilters.unshift(c):Sb.prefilters.push(c)}});u.speed=function(c,p,r){var v=c&&"object"==typeof c?u.extend({},c):{complete:r||!r&&p||Ka(c)&&c,duration:c,easing:r&&p||p&&!Ka(p)&&p};return u.fx.off?v.duration=0:"number"!=typeof v.duration&&(v.duration in u.fx.speeds?v.duration=u.fx.speeds[v.duration]:v.duration=u.fx.speeds._default),null!=v.queue&&!0!==v.queue||(v.queue="fx"),v.old=v.complete,v.complete=function(){Ka(v.old)&&v.old.call(this);v.queue&&u.dequeue(this,v.queue)},v};u.fn.extend({fadeTo:function(c,
166p,r,v){return this.filter(wc).css("opacity",0).show().end().animate({opacity:p},c,r,v)},animate:function(c,p,r,v){var y=u.isEmptyObject(c),A=u.speed(p,r,v);p=function(){var C=Sb(this,u.extend({},c),A);(y||ya.get(this,"finish"))&&C.stop(!0)};return p.finish=p,y||!1===A.queue?this.each(p):this.queue(A.queue,p)},stop:function(c,p,r){var v=function(y){var A=y.stop;delete y.stop;A(r)};return"string"!=typeof c&&(r=p,p=c,c=void 0),p&&this.queue(c||"fx",[]),this.each(function(){var y=!0,A=null!=c&&c+"queueHooks",
167C=u.timers,I=ya.get(this);if(A)I[A]&&I[A].stop&&v(I[A]);else for(A in I)I[A]&&I[A].stop&&K.test(A)&&v(I[A]);for(A=C.length;A--;)C[A].elem!==this||null!=c&&C[A].queue!==c||(C[A].anim.stop(r),y=!1,C.splice(A,1));!y&&r||u.dequeue(this,c)})},finish:function(c){return!1!==c&&(c=c||"fx"),this.each(function(){var p=ya.get(this),r=p[c+"queue"];var v=p[c+"queueHooks"];var y=u.timers,A=r?r.length:0;p.finish=!0;u.queue(this,c,[]);v&&v.stop&&v.stop.call(this,!0);for(v=y.length;v--;)y[v].elem===this&&y[v].queue===
168c&&(y[v].anim.stop(!0),y.splice(v,1));for(v=0;v<A;v++)r[v]&&r[v].finish&&r[v].finish.call(this);delete p.finish})}});u.each(["toggle","show","hide"],function(c,p){var r=u.fn[p];
168u.fn[p]=function(v,y,A){return null==v||"boolean"==typeof v?r.apply(this,arguments):this.animate(hb(p,!0),v,y,A)}});u.each({slideDown:hb("show"),slideUp:hb("hide"),slideToggle:hb("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(c,p){u.fn[c]=function(r,v,y){return this.animate(p,
169r,v,y)}});u.timers=[];u.fx.tick=function(){var c,p=0,r=u.timers;for(Kc=Date.now();p<r.length;p++)(c=r[p])()||r[p]!==c||r.splice(p--,1);r.length||u.fx.stop();Kc=void 0};u.fx.timer=function(c){u.timers.push(c);u.fx.start()};u.fx.interval=13;u.fx.start=function(){Jc||(Jc=!0,Xa())};u.fx.stop=function(){Jc=null};u.fx.speeds={slow:600,fast:200,_default:400};u.fn.delay=function(c,p){return c=u.fx&&u.fx.speeds[c]||c,p=p||"fx",this.queue(p,function(r,v){var y=a.setTimeout(r,c);v.stop=function(){a.clearTimeout(y)}})};
170var F=Ha.createElement("input");var U=Ha.createElement("select").appendChild(Ha.createElement("option"));F.type="checkbox";Ia.checkOn=""!==F.value;Ia.optSelected=U.selected;(F=Ha.createElement("input")).value="t";F.type="radio";Ia.radioValue="t"===F.value;var V=u.expr.attrHandle;u.fn.extend({attr:function(c,p){return Fa(this,u.attr,c,p,1<arguments.length)},removeAttr:function(c){return this.each(function(){u.removeAttr(this,c)})}});u.extend({attr:function(c,p,r){var v,y,A=c.nodeType;if(3!==A&&8!==
171A&&2!==A)return"undefined"==typeof c.getAttribute?u.prop(c,p,r):(1===A&&u.isXMLDoc(c)||(y=u.attrHooks[p.toLowerCase()]||(u.expr.match.bool.test(p)?ja:void 0)),void 0!==r?null===r?void u.removeAttr(c,p):y&&"set"in y&&void 0!==(v=y.set(c,r,p))?v:(c.setAttribute(p,r+""),r):y&&"get"in y&&null!==(v=y.get(c,p))?v:null==(v=u.find.attr(c,p))?void 0:v)},attrHooks:{type:{set:function(c,p){if(!Ia.radioValue&&"radio"===p&&h(c,"input")){var r=c.value;return c.setAttribute("type",p),r&&(c.value=r),p}}}},removeAttr:function(c,
172p){var r=0,v=p&&p.match(ka);if(v&&1===c.nodeType)for(;p=v[r++];)c.removeAttribute(p)}});var ja={set:function(c,p,r){return!1===p?u.removeAttr(c,r):c.setAttribute(r,r),r}};u.each(u.expr.match.bool.source.match(/\w+/g),function(c,p){var r=V[p]||u.find.attr;V[p]=function(v,y,A){var C,I,G=y.toLowerCase();return A||(I=V[G],V[G]=C,C=null!=r(v,y,A)?G:null,V[G]=I),C}});var ra=/^(?:input|select|textarea|button)$/i,sb=/^(?:a|area)$/i;u.fn.extend({prop:function(c,p){return Fa(this,u.prop,c,p,1<arguments.length)},
173removeProp:function(c){return this.each(function(){delete this[u.propFix[c]||c]})}});u.extend({prop:function(c,p,r){var v,y,A=c.nodeType;if(3!==A&&8!==A&&2!==A)return 1===A&&u.isXMLDoc(c)||(p=u.propFix[p]||p,y=u.propHooks[p]),void 0!==r?y&&"set"in y&&void 0!==(v=y.set(c,r,p))?v:c[p]=r:y&&"get"in y&&null!==(v=y.get(c,p))?v:c[p]},propHooks:{tabIndex:{get:function(c){var p=u.find.attr(c,"tabindex");return p?parseInt(p,10):ra.test(c.nodeName)||sb.test(c.nodeName)&&c.href?0:-1}}},propFix:{"for":"htmlFor",
174"class":"className"}});Ia.optSelected||(u.propHooks.selected={get:function(c){c=c.parentNode;return c&&c.parentNode&&c.parentNode.selectedIndex,null},set:function(c){c=c.parentNode;c&&(c.selectedIndex,c.parentNode&&c.parentNode.selectedIndex)}});u.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){u.propFix[this.toLowerCase()]=this});u.fn.extend({addClass:function(c){var p,r,v,y,A,C;return Ka(c)?this.each(function(I){u(this).addClass(c.call(this,
175I,Ya(this)))}):(p=Ba(c)).length?this.each(function(){if(v=Ya(this),r=1===this.nodeType&&" "+ob(v)+" "){for(A=0;A<p.length;A++)y=p[A],0>r.indexOf(" "+y+" ")&&(r+=y+" ");C=ob(r);v!==C&&this.setAttribute("class",C)}}):this},removeClass:function(c){var p,r,v,y,A,C;return Ka(c)?this.each(function(I){u(this).removeClass(c.call(this,I,Ya(this)))}):arguments.length?(p=Ba(c)).length?this.each(function(){if(v=Ya(this),r=1===this.nodeType&&" "+ob(v)+" "){for(A=0;A<p.length;A++)for(y=p[A];-1<r.indexOf(" "+y+
176" ");)r=r.replace(" "+y+" "," ");C=ob(r);v!==C&&this.setAttribute("class",C)}}):this:this.attr("class","")},toggleClass:function(c,p){var r,v,y,A,C=typeof c,I="string"===C||Array.isArray(c);return Ka(c)?this.each(function(G){u(this).toggleClass(c.call(this,G,Ya(this),p),p)}):"boolean"==typeof p&&I?p?this.addClass(c):this.removeClass(c):(r=Ba(c),this.each(function(){if(I)for(A=u(this),y=0;y<r.length;y++)v=r[y],A.hasClass(v)?A.removeClass(v):A.addClass(v);else void 0!==c&&"boolean"!==C||((v=Ya(this))&&
177ya.set(this,"__className__",v),this.setAttribute&&this.setAttribute("class",v||!1===c?"":ya.get(this,"__className__")||""))}))},hasClass:function(c){var p,r=0;for(c=" "+c+" ";p=this[r++];)if(1===p.nodeType&&-1<(" "+ob(Ya(p))+" ").indexOf(c))return!0;return!1}});var ta=/\r/g;u.fn.extend({val:function(c){var p,r,v,y=this[0];
vendor: 5,188 bytes, lines 177-187
177return arguments.length?(v=Ka(c),this.each(function(A){var C;1===this.nodeType&&(null==(C=v?c.call(this,A,u(this).val()):c)?C="":"number"==typeof C?C+="":Array.isArray(C)&&(C=u.map(C,
178function(I){return null==I?"":I+""})),(p=u.valHooks[this.type]||u.valHooks[this.nodeName.toLowerCase()])&&"set"in p&&void 0!==p.set(this,C,"value")||(this.value=C))})):y?(p=u.valHooks[y.type]||u.valHooks[y.nodeName.toLowerCase()])&&"get"in p&&void 0!==(r=p.get(y,"value"))?r:"string"==typeof(r=y.value)?r.replace(ta,""):null==r?"":r:void 0}});u.extend({valHooks:{option:{get:function(c){var p=u.find.attr(c,"value");return null!=p?p:ob(u.text(c))}},select:{get:function(c){var p,r,v=c.options,y=c.selectedIndex,
179A="select-one"===c.type,C=A?null:[],I=A?y+1:v.length;for(r=0>y?I:A?y:0;r<I;r++)if(!(!(p=v[r]).selected&&r!==y||p.disabled||p.parentNode.disabled&&h(p.parentNode,"optgroup"))){if(c=u(p).val(),A)return c;C.push(c)}return C},set:function(c,p){var r,v,y=c.options;p=u.makeArray(p);for(var A=y.length;A--;)((v=y[A]).selected=-1<u.inArray(u.valHooks.option.get(v),p))&&(r=!0);return r||(c.selectedIndex=-1),p}}}});u.each(["radio","checkbox"],function(){u.valHooks[this]={set:function(c,p){if(Array.isArray(p))return c.checked=
180-1<u.inArray(u(c).val(),p)}};Ia.checkOn||(u.valHooks[this].get=function(c){return null===c.getAttribute("value")?"on":c.value})});var Ea=a.location,Bb=Date.now(),Ma=/\?/;u.parseXML=function(c){var p;if(!c||"string"!=typeof c)return null;try{var r=(new a.DOMParser).parseFromString(c,"text/xml")}catch(v){}return p=r&&r.getElementsByTagName("parsererror")[0],r&&!p||u.error("Invalid XML: "+(p?u.map(p.childNodes,function(v){return v.textContent}).join("\n"):c)),r};var Cb=/^(?:focusinfocus|focusoutblur)$/,
181lb=function(c){c.stopPropagation()};u.extend(u.event,{trigger:function(c,p,r,v){var y,A,C,I,G,R,X=[r||Ha],Q=ub.call(c,"type")?c.type:c;var ma=ub.call(c,"namespace")?c.namespace.split("."):[];if(y=R=A=r=r||Ha,3!==r.nodeType&&8!==r.nodeType&&!Cb.test(Q+u.event.triggered)&&(-1<Q.indexOf(".")&&(Q=(ma=Q.split(".")).shift(),ma.sort()),C=0>Q.indexOf(":")&&"on"+Q,(c=c[u.expando]?c:new u.Event(Q,"object"==typeof c&&c)).isTrigger=v?2:3,c.namespace=ma.join("."),c.rnamespace=c.namespace?new RegExp("(^|\\.)"+
182ma.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,c.result=void 0,c.target||(c.target=r),p=null==p?[c]:u.makeArray(p,[c]),G=u.event.special[Q]||{},v||!G.trigger||!1!==G.trigger.apply(r,p))){if(!v&&!G.noBubble&&!hc(r)){var xa=G.delegateType||Q;for(Cb.test(xa+Q)||(y=y.parentNode);y;y=y.parentNode)X.push(y),A=y;A===(r.ownerDocument||Ha)&&X.push(A.defaultView||A.parentWindow||a)}for(ma=0;(y=X[ma++])&&!c.isPropagationStopped();)R=y,c.type=1<ma?xa:G.bindType||Q,(I=(ya.get(y,"events")||Object.create(null))[c.type]&&
183ya.get(y,"handle"))&&I.apply(y,p),(I=C&&y[C])&&I.apply&&yb(y)&&(c.result=I.apply(y,p),!1===c.result&&c.preventDefault());return c.type=Q,v||c.isDefaultPrevented()||G._default&&!1!==G._default.apply(X.pop(),p)||!yb(r)||C&&Ka(r[Q])&&!hc(r)&&((A=r[C])&&(r[C]=null),u.event.triggered=Q,c.isPropagationStopped()&&R.addEventListener(Q,lb),r[Q](),c.isPropagationStopped()&&R.removeEventListener(Q,lb),u.event.triggered=void 0,A&&(r[C]=A)),c.result}},simulate:function(c,p,r){c=u.extend(new u.Event,r,{type:c,
184isSimulated:!0});u.event.trigger(c,null,p)}});u.fn.extend({trigger:function(c,p){return this.each(function(){u.event.trigger(c,p,this)})},triggerHandler:function(c,p){var r=this[0];if(r)return u.event.trigger(c,p,r,!0)}});var Oa=/\[\]$/,tb=/\r?\n/g,Mb=/^(?:submit|button|image|reset|file)$/i,nc=/^(?:input|select|textarea|keygen)/i;u.param=function(c,p){var r,v=[],y=function(A,C){C=Ka(C)?C():C;v[v.length]=encodeURIComponent(A)+"\x3d"+encodeURIComponent(null==C?"":C)};if(null==c)return"";if(Array.isArray(c)||
185c.jquery&&!u.isPlainObject(c))u.each(c,function(){y(this.name,this.value)});else for(r in c)P(r,c[r],p,y);return v.join("\x26")};u.fn.extend({serialize:function(){return u.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var c=u.prop(this,"elements");return c?u.makeArray(c):this}).filter(function(){var c=this.type;return this.name&&!u(this).is(":disabled")&&nc.test(this.nodeName)&&!Mb.test(c)&&(this.checked||!Mc.test(c))}).map(function(c,p){c=u(this).val();return null==
186c?null:Array.isArray(c)?u.map(c,function(r){return{name:p.name,value:r.replace(tb,"\r\n")}}):{name:p.name,value:c.replace(tb,"\r\n")}}).get()}});var gc=/%20/g,$c=/#.*$/,Sa=/([?&])_=[^&]*/,Nc=/^(.*?):[ \t]*([^\r\n]*)$/gm,Hc=/^(?:GET|HEAD)$/,Ed=/^\/\//,td={},kd={},ud="*/".concat("*"),pd=Ha.createElement("a");pd.href=Ea.href;u.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Ea.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Ea.protocol),global:!0,processData:!0,
187async:!0,contentType:"application/x-www-form-urlencoded; charset\x3dUTF-8",accepts:{"*":ud,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":u.parseXML}
vendor: 4,514 bytes, lines 187-196
187,flatOptions:{url:!0,context:!0}},ajaxSetup:function(c,p){return p?qc(qc(c,u.ajaxSettings),
188p):qc(u.ajaxSettings,c)},ajaxPrefilter:zc(td),ajaxTransport:zc(kd),ajax:function(c,p){function r(Wa,wb,Sc,jb){var Kb,Ub,Db,tc,Ob,cb=wb;Pa||(Pa=!0,I&&a.clearTimeout(I),v=void 0,A=jb||"",Ta.readyState=0<Wa?4:0,Kb=200<=Wa&&300>Wa||304===Wa,Sc&&(tc=function(rb,bc,Lc){for(var Dc,Pb,ib,Eb,mc=rb.contents,Fb=rb.dataTypes;"*"===Fb[0];)Fb.shift(),void 0===Dc&&(Dc=rb.mimeType||bc.getResponseHeader("Content-Type"));if(Dc)for(Pb in mc)if(mc[Pb]&&mc[Pb].test(Dc)){Fb.unshift(Pb);break}if(Fb[0]in Lc)ib=Fb[0];else{for(Pb in Lc){if(!Fb[0]||
189rb.converters[Pb+" "+Fb[0]]){ib=Pb;break}Eb||(Eb=Pb)}ib=ib||Eb}if(ib)return ib!==Fb[0]&&Fb.unshift(ib),Lc[ib]}(Q,Ta,Sc)),!Kb&&-1<u.inArray("script",Q.dataTypes)&&0>u.inArray("json",Q.dataTypes)&&(Q.converters["text script"]=function(){}),tc=function(rb,bc,Lc,Dc){var Pb,ib,Eb,mc,Fb,lc={},Yc=rb.dataTypes.slice();if(Yc[1])for(Eb in rb.converters)lc[Eb.toLowerCase()]=rb.converters[Eb];for(ib=Yc.shift();ib;)if(rb.responseFields[ib]&&(Lc[rb.responseFields[ib]]=bc),!Fb&&Dc&&rb.dataFilter&&(bc=rb.dataFilter(bc,
190rb.dataType)),Fb=ib,ib=Yc.shift())if("*"===ib)ib=Fb;else if("*"!==Fb&&Fb!==ib){if(!(Eb=lc[Fb+" "+ib]||lc["* "+ib]))for(Pb in lc)if((mc=Pb.split(" "))[1]===ib&&(Eb=lc[Fb+" "+mc[0]]||lc["* "+mc[0]])){!0===Eb?Eb=lc[Pb]:!0!==lc[Pb]&&(ib=mc[0],Yc.unshift(mc[1]));break}if(!0!==Eb)if(Eb&&rb["throws"])bc=Eb(bc);else try{bc=Eb(bc)}catch(nd){return{state:"parsererror",error:Eb?nd:"No conversion from "+Fb+" to "+ib}}}return{state:"success",data:bc}}(Q,tc,Ta,Kb),Kb?(Q.ifModified&&((Ob=Ta.getResponseHeader("Last-Modified"))&&
191(u.lastModified[y]=Ob),(Ob=Ta.getResponseHeader("etag"))&&(u.etag[y]=Ob)),204===Wa||"HEAD"===Q.type?cb="nocontent":304===Wa?cb="notmodified":(cb=tc.state,Ub=tc.data,Kb=!(Db=tc.error))):(Db=cb,!Wa&&cb||(cb="error",0>Wa&&(Wa=0))),Ta.status=Wa,Ta.statusText=(wb||cb)+"",Kb?Aa.resolveWith(ma,[Ub,cb,Ta]):Aa.rejectWith(ma,[Ta,cb,Db]),Ta.statusCode(kb),kb=void 0,G&&xa.trigger(Kb?"ajaxSuccess":"ajaxError",[Ta,Q,Kb?Ub:Db]),Ra.fireWith(ma,[Ta,cb]),G&&(xa.trigger("ajaxComplete",[Ta,Q]),--u.active||u.event.trigger("ajaxStop")))}
192"object"==typeof c&&(p=c,c=void 0);p=p||{};var v,y,A,C,I,G,R,X,Q=u.ajaxSetup({},p),ma=Q.context||Q,xa=Q.context&&(ma.nodeType||ma.jquery)?u(ma):u.event,Aa=u.Deferred(),Ra=u.Callbacks("once memory"),kb=Q.statusCode||{},ec={},Lb={},Ac="canceled",Ta={readyState:0,getResponseHeader:function(Wa){var wb;if(Pa){if(!C)for(C={};wb=Nc.exec(A);)C[wb[1].toLowerCase()+" "]=(C[wb[1].toLowerCase()+" "]||[]).concat(wb[2]);wb=C[Wa.toLowerCase()+" "]}return null==wb?null:wb.join(", ")},getAllResponseHeaders:function(){return Pa?
193A:null},setRequestHeader:function(Wa,wb){return null==Pa&&(Wa=Lb[Wa.toLowerCase()]=Lb[Wa.toLowerCase()]||Wa,ec[Wa]=wb),this},overrideMimeType:function(Wa){return null==Pa&&(Q.mimeType=Wa),this},statusCode:function(Wa){var wb;if(Wa)if(Pa)Ta.always(Wa[Ta.status]);else for(wb in Wa)kb[wb]=[kb[wb],Wa[wb]];return this},abort:function(Wa){Wa=Wa||Ac;return v&&v.abort(Wa),r(0,Wa),this}};if(Aa.promise(Ta),Q.url=((c||Q.url||Ea.href)+"").replace(Ed,Ea.protocol+"//"),Q.type=p.method||p.type||Q.method||Q.type,
194Q.dataTypes=(Q.dataType||"*").toLowerCase().match(ka)||[""],null==Q.crossDomain){c=Ha.createElement("a");try{c.href=Q.url,c.href=c.href,Q.crossDomain=pd.protocol+"//"+pd.host!=c.protocol+"//"+c.host}catch(Wa){Q.crossDomain=!0}}if(Q.data&&Q.processData&&"string"!=typeof Q.data&&(Q.data=u.param(Q.data,Q.traditional)),Vc(td,Q,p,Ta),Pa)return Ta;for(R in(G=u.event&&Q.global)&&0==u.active++&&u.event.trigger("ajaxStart"),Q.type=Q.type.toUpperCase(),Q.hasContent=!Hc.test(Q.type),y=Q.url.replace($c,""),Q.hasContent?
195Q.data&&Q.processData&&0===(Q.contentType||"").indexOf("application/x-www-form-urlencoded")&&(Q.data=Q.data.replace(gc,"+")):(X=Q.url.slice(y.length),Q.data&&(Q.processData||"string"==typeof Q.data)&&(y+=(Ma.test(y)?"\x26":"?")+Q.data,delete Q.data),!1===Q.cache&&(y=y.replace(Sa,"$1"),X=(Ma.test(y)?"\x26":"?")+"_\x3d"+Bb++ +X),Q.url=y+X),Q.ifModified&&(u.lastModified[y]&&Ta.setRequestHeader("If-Modified-Since",u.lastModified[y]),u.etag[y]&&Ta.setRequestHeader("If-None-Match",u.etag[y])),(Q.data&&
196Q.hasContent&&!1!==Q.contentType||p.contentType)&&Ta.setRequestHeader("Content-Type",Q.contentType),Ta.setRequestHeader("Accept",Q.dataTypes[0]&&Q.accepts[Q.dataTypes[0]]?Q.accepts[Q.dataTypes[0]]+("*"!==Q.dataTypes[0]?", "+ud+"; q\x3d0.01":""):Q.accepts["*"]),Q.headers)Ta.setRequestHeader(R,Q.headers[R]);
196if(Q.beforeSend&&(!1===Q.beforeSend.call(ma,Ta,Q)||Pa))return Ta.abort();if(Ac="abort",Ra.add(Q.complete),Ta.done(Q.success),Ta.fail(Q.error),v=Vc(kd,Q,p,Ta)){if(Ta.readyState=1,G&&xa.trigger("ajaxSend",
197[Ta,Q]),Pa)return Ta;Q.async&&0<Q.timeout&&(I=a.setTimeout(function(){Ta.abort("timeout")},Q.timeout));try{var Pa=!1;v.send(ec,r)}catch(Wa){if(Pa)throw Wa;r(-1,Wa)}}else r(-1,"No Transport");return Ta},getJSON:function(c,p,r){return u.get(c,p,r,"json")},getScript:function(c,p){return u.get(c,void 0,p,"script")}});u.each(["get","post"],function(c,p){u[p]=function(r,v,y,A){return Ka(v)&&(A=A||y,y=v,v=void 0),u.ajax(u.extend({url:r,type:p,dataType:A,data:v,success:y},u.isPlainObject(r)&&r))}});u.ajaxPrefilter(function(c){for(var p in c.headers)"content-type"===
198p.toLowerCase()&&(c.contentType=c.headers[p]||"")});u._evalUrl=function(c,p,r){return u.ajax({url:c,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(v){u.globalEval(v,p,r)}})};u.fn.extend({wrapAll:function(c){var p;return this[0]&&(Ka(c)&&(c=c.call(this[0])),p=u(c,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&p.insertBefore(this[0]),p.map(function(){for(var r=this;r.firstElementChild;)r=r.firstElementChild;return r}).append(this)),
199this},wrapInner:function(c){return Ka(c)?this.each(function(p){u(this).wrapInner(c.call(this,p))}):this.each(function(){var p=u(this),r=p.contents();r.length?r.wrapAll(c):p.append(c)})},wrap:function(c){var p=Ka(c);return this.each(function(r){u(this).wrapAll(p?c.call(this,r):c)})},unwrap:function(c){return this.parent(c).not("body").each(function(){u(this).replaceWith(this.childNodes)}),this}});u.expr.pseudos.hidden=function(c){return!u.expr.pseudos.visible(c)};u.expr.pseudos.visible=function(c){return!!(c.offsetWidth||
200c.offsetHeight||c.getClientRects().length)};u.ajaxSettings.xhr=function(){try{return new a.XMLHttpRequest}catch(c){}};var Fd={0:200,1223:204},fd=u.ajaxSettings.xhr();Ia.cors=!!fd&&"withCredentials"in fd;Ia.ajax=fd=!!fd;u.ajaxTransport(function(c){var p,r;if(Ia.cors||fd&&!c.crossDomain)return{send:function(v,y){var A,C=c.xhr();if(C.open(c.type,c.url,c.async,c.username,c.password),c.xhrFields)for(A in c.xhrFields)C[A]=c.xhrFields[A];for(A in c.mimeType&&C.overrideMimeType&&C.overrideMimeType(c.mimeType),
201c.crossDomain||v["X-Requested-With"]||(v["X-Requested-With"]="XMLHttpRequest"),v)C.setRequestHeader(A,v[A]);p=function(I){return function(){p&&(p=r=C.onload=C.onerror=C.onabort=C.ontimeout=C.onreadystatechange=null,"abort"===I?C.abort():"error"===I?"number"!=typeof C.status?y(0,"error"):y(C.status,C.statusText):y(Fd[C.status]||C.status,C.statusText,"text"!==(C.responseType||"text")||"string"!=typeof C.responseText?{binary:C.response}:{text:C.responseText},C.getAllResponseHeaders()))}};C.onload=p();
202r=C.onerror=C.ontimeout=p("error");void 0!==C.onabort?C.onabort=r:C.onreadystatechange=function(){4===C.readyState&&a.setTimeout(function(){p&&r()})};p=p("abort");try{C.send(c.hasContent&&c.data||null)}catch(I){if(p)throw I;}},abort:function(){p&&p()}}});u.ajaxPrefilter(function(c){c.crossDomain&&(c.contents.script=!1)});u.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(c){return u.globalEval(c),
203c}}});u.ajaxPrefilter("script",function(c){void 0===c.cache&&(c.cache=!1);c.crossDomain&&(c.type="GET")});u.ajaxTransport("script",function(c){var p,r;if(c.crossDomain||c.scriptAttrs)return{send:function(v,y){p=u("\x3cscript\x3e").attr(c.scriptAttrs||{}).prop({charset:c.scriptCharset,src:c.url}).on("load error",r=function(A){p.remove();r=null;A&&y("error"===A.type?404:200,A.type)});Ha.head.appendChild(p[0])},abort:function(){r&&r()}}});var vd,wd=[],qd=/(=)\?(?=&|$)|\?\?/;u.ajaxSetup({jsonp:"callback",
204jsonpCallback:function(){var c=wd.pop()||u.expando+"_"+Bb++;return this[c]=!0,c}});u.ajaxPrefilter("json jsonp",function(c,p,r){var v,y,A,C=!1!==c.jsonp&&(qd.test(c.url)?"url":"string"==typeof c.data&&0===(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&qd.test(c.data)&&"data");if(C||"jsonp"===c.dataTypes[0])return v=c.jsonpCallback=Ka(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,C?c[C]=c[C].replace(qd,"$1"+v):!1!==c.jsonp&&(c.url+=(Ma.test(c.url)?"\x26":"?")+c.jsonp+"\x3d"+
205v),c.converters["script json"]=function(){return A||u.error(v+" was not called"),A[0]},c.dataTypes[0]="json",y=a[v],a[v]=function(){A=arguments},r.always(function(){void 0===y?u(a).removeProp(v):a[v]=y;c[v]&&(c.jsonpCallback=p.jsonpCallback,wd.push(v));A&&Ka(y)&&y(A[0]);A=y=void 0}),"script"});Ia.createHTMLDocument=((vd=Ha.implementation.createHTMLDocument("").body).innerHTML="\x3cform\x3e\x3c/form\x3e\x3cform\x3e\x3c/form\x3e",2===vd.childNodes.length);u.parseHTML=function(c,p,r){return"string"!=
206typeof c?[]:("boolean"==typeof p&&(r=p,p=!1),p||(Ia.createHTMLDocument?((v=(p=Ha.implementation.createHTMLDocument("")).createElement("base")).href=Ha.location.href,p.head.appendChild(v)):p=Ha),A=!r&&[],(y=fc.exec(c))?[p.createElement(y[1])]:(y=aa([c],p,A),A&&A.length&&u(A).remove(),u.merge([],y.childNodes)));var v,y,A};u.fn.load=function(c,p,r){var v,y,A,C=this,I=c.indexOf(" ");return-1<I&&(v=ob(c.slice(I)),c=c.slice(0,I)),Ka(p)?(r=p,p=void 0):p&&"object"==typeof p&&(y="POST"),0<C.length&&u.ajax({url:c,
207type:y||"GET",dataType:"html",data:p}).done(function(G){A=arguments;C.html(v?u("\x3cdiv\x3e").append(u.parseHTML(G)).find(v):G)}).always(r&&function(G,R){C.each(function(){r.apply(this,A||[G.responseText,R,G])})}),this};u.expr.pseudos.animated=function(c){return u.grep(u.timers,function(p){return c===p.elem}).length};u.offset={setOffset:function(c,p,r){var v,y,A,C=u.css(c,"position"),I=u(c),G={};"static"===C&&(c.style.position="relative");var R=I.offset();var X=u.css(c,"top");var Q=u.css(c,"left");
208("absolute"===C||"fixed"===C)&&-1<(X+Q).indexOf("auto")?(A=(v=I.position()).top,y=v.left):(A=parseFloat(X)||0,y=parseFloat(Q)||0);
208Ka(p)&&(p=p.call(c,r,u.extend({},R)));null!=p.top&&(G.top=p.top-R.top+A);null!=p.left&&(G.left=p.left-R.left+y);"using"in p?p.using.call(c,G):I.css(G)}};u.fn.extend({offset:function(c){if(arguments.length)return void 0===c?this:this.each(function(y){u.offset.setOffset(this,c,y)});var p,r,v=this[0];return v?v.getClientRects().length?(p=v.getBoundingClientRect(),r=v.ownerDocument.defaultView,
209{top:p.top+r.pageYOffset,left:p.left+r.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var c,p=this[0],r={top:0,left:0};if("fixed"===u.css(p,"position"))var v=p.getBoundingClientRect();else{v=this.offset();var y=p.ownerDocument;for(c=p.offsetParent||y.documentElement;c&&(c===y.body||c===y.documentElement)&&"static"===u.css(c,"position");)c=c.parentNode;c&&c!==p&&1===c.nodeType&&((r=u(c).offset()).top+=u.css(c,"borderTopWidth",!0),r.left+=u.css(c,"borderLeftWidth",!0))}return{top:v.top-
210r.top-u.css(p,"marginTop",!0),left:v.left-r.left-u.css(p,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var c=this.offsetParent;c&&"static"===u.css(c,"position");)c=c.offsetParent;return c||Qb})}});u.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(c,p){var r="pageYOffset"===p;u.fn[c]=function(v){return Fa(this,function(y,A,C){var I;if(hc(y)?I=y:9===y.nodeType&&(I=y.defaultView),void 0===C)return I?I[p]:y[A];I?I.scrollTo(r?I.pageXOffset:C,r?C:I.pageYOffset):
211y[A]=C},c,v,arguments.length)}});u.each(["top","left"],function(c,p){u.cssHooks[p]=Z(Ia.pixelPosition,function(r,v){if(v)return v=S(r,p),Qc.test(v)?u(r).position()[p]+"px":v})});u.each({Height:"height",Width:"width"},function(c,p){u.each({padding:"inner"+c,content:p,"":"outer"+c},function(r,v){u.fn[v]=function(y,A){var C=arguments.length&&(r||"boolean"!=typeof y),I=r||(!0===y||!0===A?"margin":"border");return Fa(this,function(G,R,X){var Q;return hc(G)?0===v.indexOf("outer")?G["inner"+c]:G.document.documentElement["client"+
212c]:9===G.nodeType?(Q=G.documentElement,Math.max(G.body["scroll"+c],Q["scroll"+c],G.body["offset"+c],Q["offset"+c],Q["client"+c])):void 0===X?u.css(G,R,I):u.style(G,R,X,I)},p,C?y:void 0,C)}})});u.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(c,p){u.fn[p]=function(r){return this.on(p,r)}});u.fn.extend({bind:function(c,p,r){return this.on(c,null,p,r)},unbind:function(c,p){return this.off(c,null,p)},delegate:function(c,p,r,v){return this.on(p,c,r,v)},undelegate:function(c,
213p,r){return 1===arguments.length?this.off(c,"**"):this.off(p,c||"**",r)},hover:function(c,p){return this.on("mouseenter",c).on("mouseleave",p||c)}});u.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(c,p){u.fn[p]=function(r,v){return 0<arguments.length?this.on(p,null,r,v):this.trigger(p)}});var Gd=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;
214u.proxy=function(c,p){var r,v,y;if("string"==typeof p&&(r=c[p],p=c,c=r),Ka(c))return v=qb.call(arguments,2),(y=function(){return c.apply(p||this,v.concat(qb.call(arguments)))}).guid=c.guid=c.guid||u.guid++,y};u.holdReady=function(c){c?u.readyWait++:u.ready(!0)};u.isArray=Array.isArray;u.parseJSON=JSON.parse;u.nodeName=h;u.isFunction=Ka;u.isWindow=hc;u.camelCase=x;u.type=f;u.now=Date.now;u.isNumeric=function(c){var p=u.type(c);return("number"===p||"string"===p)&&!isNaN(c-parseFloat(c))};u.trim=function(c){return null==
215c?"":(c+"").replace(Gd,"$1")};"function"==typeof define&&define.amd&&define("jquery",[],function(){return u});var Hd=a.jQuery,Id=a.$;return u.noConflict=function(c){return a.$===u&&(a.$=Id),c&&a.jQuery===u&&(a.jQuery=Hd),u},"undefined"==typeof m&&(a.jQuery=a.$=u),u});window.Granite=window.Granite||{};(function(a,m){a.Util=function(){return{patchText:function(k,f){if(f)if(m.isArray(f))for(var g=0;g<f.length;g++)k=k.replace("{"+g+"}",f[g]);else k=k.replace("{0}",f);return k}}}()})(Granite,jQuery);
216(function(a,m,k){a.HTTP=function(){var f=null,g=/^(?:http|https):\/\/[^\/]+(\/.*)\/(?:etc(\/.*)*\/clientlibs|libs(\/.*)*\/clientlibs|apps(\/.*)*\/clientlibs).*\.js(\?.*)?$/,h=/[^1\w-\.!~\*'\(\)\/%;:@&=\$,]/,n=!1,e={getSchemeAndAuthority:function(b){try{if(-1===b.indexOf("://"))return"";var d=b.indexOf("/",b.indexOf("://")+3);return-1===d?b:b.substring(0,d)}catch(l){return""}},getContextPath:function(){return f},detectContextPath:function(){try{if(window.CQURLInfo)f=CQURLInfo.contextPath||"";else{for(var b=
217document.getElementsByTagName("script"),d=0;d<b.length;d++){var l=g.exec(b[d].src);if(l){f=l[1];return}}f=""}}catch(q){}},externalize:function(b){try{0===b.indexOf("/")&&f&&0!==b.indexOf(f+"/")&&(b=f+b)}catch(d){}return b},internalize:function(b,d){if("/"===b.charAt(0))return f===b?"":f&&0===b.indexOf(f+"/")?b.substring(f.length):b;d||(d=document);d=e.getSchemeAndAuthority(d.location.href);var l=e.getSchemeAndAuthority(b);return d===l?b.substring(l.length+(f?f.length:0)):b},getPath:function(b){if(b)b=
218e.removeParameters(b),b=e.removeAnchor(b);else{if(window.CQURLInfo&&CQURLInfo.requestPath)return CQURLInfo.requestPath;b=window.location.pathname}b=e.internalize(b);var d=b.indexOf(".",b.lastIndexOf("/"));-1!==d&&(b=b.substring(0,d));return b},removeAnchor:function(b){return-1!==b.indexOf("#")?b.substring(0,b.indexOf("#")):b},removeParameters:function(b){return-1!==b.indexOf("?")?b.substring(0,b.indexOf("?")):b},encodePathOfURI:function(b){if(-1!==b.indexOf("?")){b=b.split("?");var d="?"}else-1!==
219b.indexOf("#")?(b=b.split("#"),d="#"):b=[b];h.test(b[0])&&(b[0]=e.encodePath(b[0]));return b.join(d)},encodePath:function(b){b=encodeURI(b).replace(/%5B/g,"[").replace(/%5D/g,"]");b=b.replace(/\+/g,"%2B");b=b.replace(/\?/g,"%3F");b=b.replace(/;/g,"%3B");b=b.replace(/#/g,"%23");b=b.replace(/=/g,"%3D");b=b.replace(/\$/g,"%24");b=b.replace(/,/g,"%2C");b=b.replace(/'/g,"%27");return b=b.replace(/"/g,"%22")},handleLoginRedirect:function(){if(!n){n=!0;
219alert(a.I18n.get("Your request could not be completed because you have been signed out."));
220var b=m.getTopWindow().document.location;b.href=e.externalize(sling.LOGIN_URL)+"?resource\x3d"+encodeURIComponent(b.pathname+b.search+b.hash)}},getXhrHook:function(b,d,l){d=d||"GET";return window.G_XHR_HOOK&&k.isFunction(G_XHR_HOOK)?(b={url:b,method:d},l&&(b.params=l),G_XHR_HOOK(b)):null},eval:function(b){"object"!==typeof b&&(b=k.ajax({url:b,type:"get",async:!1}));try{return eval("("+(b.body?b.body:b.responseText)+")")}catch(d){}return null}};return e}()})(Granite,Granite.Util,jQuery);
221(function(a,m,k,f,g){m.I18n=function(){var h={},n="/aemapi/v6/common/i18n/dict.",e=".b2c",b=".json",d=void 0,l=!1,q=null,t={},w=!1;t.LOCALE_DEFAULT="en";t.PSEUDO_LANGUAGE="zz";t.PSEUDO_PATTERN_KEY="_pseudoPattern_";t.init=function(x){x=x||{};this.setLocale(x.locale);this.setUrlPrefix(x.urlPrefix);this.setUrlSuffix(x.urlSuffix)};t.setLocale=function(x){x&&(d=g("#language").val()||x)};t.getLocale=function(){g.isFunction(d)&&(d=d());return g("#language").val()||t.LOCALE_DEFAULT};t.setUrlPrefix=function(x){x&&
222(n=x,w=!0)};t.setUrlSuffix=function(x){x&&(b=x,w=!0)};t.getDictionary=function(x){x=x||t.getLocale();if(!h[x]){l=0===x.indexOf(t.PSEUDO_LANGUAGE);try{var B=g.ajax;var D=x,z=g("#i18nAppsParam").val();z&&-1<z.length&&(e="bc"==z?".bc":e+("."+z));if(w)var T=n+D+e+b;else{var Y=g("html").attr("data-i18n-dictionary-src");T=Y?Y.replace("{locale}",encodeURIComponent(D)).replace("{+locale}",D):n+D+e+b}var la=B.call(g,T,{async:!1,dataType:"json"});h[x]=g.parseJSON(la.responseText)}catch(aa){}h[x]||(h[x]={})}return h[x]};
223t.get=function(x,B,D){var z;var T=t.getDictionary();var Y=l?t.PSEUDO_PATTERN_KEY:D?x+" (("+D+"))":x;T&&(z=T[Y]);z||(z=x);l&&(z=z.replace("{string}",x).replace("{comment}",D?D:""));return k.patchText(z,B)};t.getVar=function(x,B){return x?t.get(x,null,B):null};t.getLanguages=function(){if(!q)try{var x=f.eval("/libs/wcm/core/resources/languages.overlay.infinity.json");g.each(x,function(B,D){D.title=t.getVar(D.language);D.title&&D.country&&"*"!==D.country&&(D.title+=" ("+t.getVar(D.country)+")")});q=
224x}catch(B){q={}}return q};t.parseLocale=function(x){if(!x)return null;var B=x.indexOf("_");0>B&&(B=x.indexOf("-"));if(0>B){var D=x;B=null}else D=x.substring(0,B),B=x.substring(B+1);return{code:x,language:D,country:B}};return t}()})(document,Granite,Granite.Util,Granite.HTTP,jQuery);Granite.HTTP.detectContextPath();var jaaulde=window.jaaulde||{};jaaulde.utils=jaaulde.utils||{};
225jaaulde.utils.cookies=function(){var a={expiresAt:null,path:"/",domain:null,secure:!1};var m=function(h){if("object"!==typeof h||null===h)var n=a;else{n={expiresAt:a.expiresAt,path:a.path,domain:a.domain,secure:a.secure};if("object"===typeof h.expiresAt&&h.expiresAt instanceof Date)n.expiresAt=h.expiresAt;else if("number"===typeof h.hoursToLive&&0!==h.hoursToLive){var e=new Date;e.setTime(e.getTime()+36E5*h.hoursToLive);n.expiresAt=e}"string"===typeof h.path&&""!==h.path&&(n.path=h.path);"string"===
226typeof h.domain&&""!==h.domain&&(n.domain=h.domain);!0===h.secure&&(n.secure=h.secure)}return n};var k=function(h){h=m(h);return("object"===typeof h.expiresAt&&h.expiresAt instanceof Date?"; expires\x3d"+h.expiresAt.toGMTString():"")+"; path\x3d"+h.path+("string"===typeof h.domain?"; domain\x3d"+h.domain:"")+(!0===h.secure?"; secure":"")};var f=function(){var h={},n,e=document.cookie.split(";");for(n=0;n<e.length;n+=1){var b=e[n].split("\x3d");var d=b[0].replace(/^\s*/,"").replace(/\s*$/,"");try{var l=
227decodeURIComponent(b[1])}catch(t){l=b[1]}if("object"===typeof JSON&&null!==JSON&&"function"===typeof JSON.parse)try{var q=l;l=JSON.parse(l)}catch(t){l=q}h[d]=l}return h};var g=function(){};g.prototype.get=function(h){var n,e=f();if("string"===typeof h)var b="undefined"!==typeof e[h]?e[h]:null;else if("object"===typeof h&&null!==h)for(n in b={},h)b[h[n]]="undefined"!==typeof e[h[n]]?e[h[n]]:null;else b=e;return b};g.prototype.filter=function(h){var n,e={},b=f();"string"===typeof h&&(h=new RegExp(h));
228for(n in b)n.match(h)&&(e[n]=b[n]);return e};g.prototype.set=function(h,n,e){if("object"!==typeof e||null===e)e={};if("undefined"===typeof n||null===n)n="",e.hoursToLive=-8760;else if("string"!==typeof n)if("object"===typeof JSON&&null!==JSON&&"function"===typeof JSON.stringify)n=JSON.stringify(n);else throw Error("cookies.set() received non-string value and could not serialize.");e=k(e);document.cookie=h+"\x3d"+encodeURIComponent(n)+e};g.prototype.del=function(h,n){var e={},b;if("object"!==typeof n||
229null===n)n={};"boolean"===typeof h&&!0===h?e=this.get():"string"===typeof h&&(e[h]=!0);for(b in e)"string"===typeof b&&""!==b&&this.set(b,null,n)};g.prototype.test=function(){var h=!1;this.set("cT","data");"data"===this.get("cT")&&(this.del("cT"),h=!0);return h};g.prototype.setOptions=function(h){"object"!==typeof h&&(h=null);a=m(h)};return new g}();
230(function(){window.jQuery&&function(a){a.cookies=jaaulde.utils.cookies;a.each({cookify:function(m){return this.each(function(){var k,f=["name","id"],g=a(this),h;for(k in f)if(!isNaN(k)){var n=g.attr(f[k]);if("string"===typeof n&&""!==n){g.is(":checkbox, :radio")?g.attr("checked")&&(h=g.val()):h=g.is(":input")?g.val():g.html();if("string"!==typeof h||""===h)h=null;a.cookies.set(n,h,m);break}}})},cookieFill:function(){return this.each(function(){var m,k,f=["name","id"],g=a(this);for(k=function(){m=
231f.pop();return!!m};k();){var h=g.attr(m);
231if("string"===typeof h&&""!==h){k=a.cookies.get(h);null!==k&&(g.is(":checkbox, :radio")?g.val()===k?g.attr("checked","checked"):g.removeAttr("checked"):g.is(":input")?g.val(k):g.html(k));break}}})},cookieBind:function(m){return this.each(function(){var k=a(this);k.cookieFill().change(function(){k.cookify(m)})})}},function(m){a.fn[m]=this})}(window.jQuery)})();Granite.I18n.setLocale($("#language").val());
232var NUMBER_GROUP_PATTERN=/\B(?=(\d{3})+(?!\d))/g,SAUDI_CURRENCY_SYMBOL=String.fromCodePoint(8385);function getMultistoreSiteCode(a){var m={levant:"jo",levant_ar:"jo_ar",n_africa:"ma"};if(m[a])return m[a];if("ae"===a||"ae_ar"===a){m="ae ae_ar kw kw_ar om om_ar bh bh_ar qa qa_ar".split(" ");var k=$.cookies.get("estoreSitecode");if(k&&m.includes(k))return k}return a}
233var currencyComma=function(a,m){null!=m&&(m=m.toLowerCase());if(null===a||""===a)return"";a=String(a);var k=$("#siteCode").val();if(-1<a.indexOf(".")){var f=a.split(".");1<f.length&&2>f[1].length?a+="0":2<f[1].length&&(a=Number(a).toFixed(2))}f="";var g=getMultistoreSiteCode(k);switch(m){case "usd":if("n_africa"===k)return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g," "):a.replace(/\B(?=(\d{3})+(?!\d))/g," ")+".00",f+" DH";if("iq_ar"===k||"iq_ku"===k)return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,
234","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00",f+" $";f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";return"$"+f;case "cad":if("ca_fr"===k)return-1<a.indexOf(".")?(f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f=f.replace(".",",")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",f+" $";f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";return"$"+f;case "eur":if("de"===k||"es"===k||"be_fr"===
235k||"it"===k||"pt"===k)return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00","be_fr"===k?f:f+" \u20ac";if("fi"===k||"fr"===k||"sk"===k||"at"===k||"ee"===k||"lt"===k||"lv"===k||"hr"===k)return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",f+" \u20ac";if("si"==k)return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,
236".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+",00",f+" \u20ac";if("bg"==k)return-1<a.indexOf(".")?(f=a.replace(".","\x3csup\x3e"),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,"")+"\x3c/sup\x3e"):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"")+"\u2070\u2070",f+" \u20ac";-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00";return"be"===k||"nl"===k?f:"gr"===k?f+" \u20ac":"\u20ac "+f;case "gbp":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,
237","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","\u00a3"+f;case "sek":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" kr";case "dkk":return-1<a.indexOf(".")&&(a=parseFloat(a).toFixed(0)),f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),f+" kr";case "nok":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" kr";case "brl":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00","R$ "+f;case "inr":return k=".00",-1<a.indexOf(".")?
238(m=a.substring(0,a.indexOf(".")),k=a.substring(a.indexOf("."))):m=a,"\u20b9 "+(m+k);case "krw":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,","),f+"\uc6d0";case "aed":if("ae_ar"===k)return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","kw_ar"==g?f+" \u062f.\u0643":"om_ar"==g?f+" \u0631.\u0639.":"bh_ar"==g?f+" .\u062f.\u0628":"qa_ar"==g?f+" \u0631.\u0642":f+" \u062f.\u0625";f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,
239",")+".00";return"kw"==g?f+" KD":"bh"==g?f+" BD":"om"==g?f+" RO":"qa"==g?f+" QAR":f+" AED";case "rub":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" \u20bd";case "twd":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,","),"NT$"+f;case "czk":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" K\u010d";case "myr":return f=-1<a.indexOf(".")?
240a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","RM "+f;case "idr":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),"Rp "+f;case "pln":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",f+" z\u0142";case "ron":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00",f+" lei";case "php":return f=-1<a.indexOf(".")?
241a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","\u20b1"+f;case "sar":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","sa"==siteCode?f+" "+SAUDI_CURRENCY_SYMBOL:SAUDI_CURRENCY_SYMBOL+" "+f;case "pab":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","US$ "+f;case "mxn":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,
242",")+".00","$ "+f;case "ars":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","$ "+f;case "pen":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","s/ "+f;case "clp":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),"$ "+f;case "cop":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),"$ "+f;case "vnd":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),f+" VND";case "chf":if("ch"===k||
243"ch_fr"===k)return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00",f+" CHF";f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,"'"):a.replace(/\B(?=(\d{3})+(?!\d))/g,"'")+".00";return"CHF "+f;case "hkd":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","HK$ "+f;case "jod":case "lbp":f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,
244",")+".00";if("jo"==g)return f+" JD";if("jo_ar"==g)return f+" \u062f.\u0627";break;case "pkr":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","Rs. "+f;case "ils":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00",f+" \u20aa";case "kzt":return f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" \u20b8";case "egp":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g,","):a.replace(/\B(?=(\d{3})+(?!\d))/g,
245",")+".00",f+" \u062c.\u0645.";case "huf":return a=String(Math.ceil(parseFloat(a))),f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"."),f+" Ft";case "hrk":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")+" kn"):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00 kn",f;case "uah":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g," "),f+" \u20b4";case "jpy":case "yen":return-1<a.indexOf(".")&&(a=parseFloat(a).toFixed(0)),
246f=a.replace(/\B(?=(\d{3})+(?!\d))/g,","),f+"\u5186";case "iqd":if(-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g," ")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,","),"iq_ar"===k||"iq_ku"===k)return f+"\u062f.\u0639";case "mad":return f=-1<a.indexOf(".")?a.replace(/\B(?=(\d{3})+(?!\d))/g," "):a.replace(/\B(?=(\d{3})+(?!\d))/g," ")+".00",f+" DH";case "cny":return"\uffe5 "+a;case "try":return-1<a.indexOf(".")?(f=a.replace(".",","),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,".")):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,
247".")+",00",f+" TL";case "bgn":return-1<a.indexOf(".")?(f=a.replace(".","\x3csup\x3e"),f=f.replace(/\B(?=(\d{3})+(?!\d))/g,"")+"\x3c/sup\x3e"):f=a.replace(/\B(?=(\d{3})+(?!\d))/g,"")+"\u2070\u2070",f+" \u043b\u0432";default:try{f=parseFloat(a).toLocaleString($("#localLang").val(),{style:"currency",currency:m.toUpperCase()})}catch(h){f=a}return f}},currencyCommaExcep=function(a,m){null!=m&&(m=m.toLowerCase());if(null===a||""===a)return"";var k=String(a),f=$("#siteCode").val();if(-1<k.indexOf(".")){var g=
248k.split(".");1<g.length&&2>g[1].length?k+="0":2<g[1].length&&"id"!==f&&(k=Number(k).toFixed(2))}var h=g="";if("levant"===f)h="jo";else if("levant_ar"===f)h="jo_ar";else if("ae"===f||"ae_ar"===f)$.cookies.get("estoreSitecode")?(h=$.cookies.get("estoreSitecode").toString(),h="ae"===h||"ae_ar"===h||"kw"===h||"kw_ar"===h||"om"===h||"om_ar"===h||"bh"===h||"bh_ar"===h||"qa"===h||"qa_ar"===h?h:f):h=f;switch(m){case "usd":if("n_africa"===f)return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g," "):
249k.replace(/\B(?=(\d{3})+(?!\d))/g," ")+".00",g+" DH";g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";return"$"+g;case "dollar":if("ca_fr"===f)return-1<k.indexOf(".")?(g=k.replace(/\B(?=(\d{3})+(?!\d))/g," "),g=g.replace(".",",")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",g+" $";g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";return"$"+g;case "eur":if("de"===f||"es"===f||"be_fr"===f||
250"it"===f||"pt"===f)return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,".")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00",g+" \u20ac";if("fi"===f||"fr"===f||"sk"===f||"at"===f||"ee"===f||"lt"===f||"lv"===f||"si"===f)return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g," ")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",g+" \u20ac";if("gr"===f)return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,
251",")+".00","\u20ac"+g;-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,".")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00";return"be"===f||"nl"===f?g:"\u20ac "+g;case "gbp":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","\u00a3"+g;case "sek":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g," "),g+" kr";case "dkk":return-1<k.indexOf(".")&&(k=parseFloat(k).toFixed(0)),g=k.replace(/\B(?=(\d{3})+(?!\d))/g,"."),g+" kr";
252case "nok":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g," "),g+" kr";case "brl":return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,".")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00","R$ "+g;case "inr":return m=".00",-1<k.indexOf(".")?(a=k.substring(0,k.indexOf(".")),m=k.substring(k.indexOf("."))):a=k,"\u20b9 "+(a+m);case "krw":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,","),g+"\uc6d0";case "aed":if("ae_ar"===f)return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,
253","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","kw_ar"==h?g+" \u062f.\u0643":"om_ar"==h?g+" \u0631.\u0639.":"bh_ar"==h?g+" .\u062f.\u0628":"qa_ar"==h?g+" \u0631.\u0642":g+" \u062f.\u0625";g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";return"kw"==h?g+" KD":"bh"==h?g+" BD":"om"==h?g+" RO":"qa"==h?g+" QAR":g+" AED";case "rub":return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g," ")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,
254" "),g+" \u20bd";case "twd":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,","),"NT$"+g;case "czk":return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g," ")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g," "),g+" K\u010d";case "myr":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","RM "+g;case "idr":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,"."),"Rp "+g;case "pln":return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,
255" ")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g," ")+",00",g+" z\u0142";case "ron":return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,".")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00",g+" lei";case "php":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","\u20b1"+g;case "sar":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","sa"==siteCode?g+" "+SAUDI_CURRENCY_SYMBOL:
256SAUDI_CURRENCY_SYMBOL+" "+g;case "pab":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","US$ "+g;case "mxn":return"$ "+a;case "ars":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","$ "+g;case "pen":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","s/ "+g;case "clp":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,"."),
257"$ "+g;case "cop":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,"."),"$ "+g;case "vnd":return g=k.replace(/\B(?=(\d{3})+(?!\d))/g,"."),g+" VND";case "chf":if("ch"===f||"ch_fr"===f)return-1<k.indexOf(".")?(g=k.replace(".",","),g=g.replace(/\B(?=(\d{3})+(?!\d))/g,".")):g=k.replace(/\B(?=(\d{3})+(?!\d))/g,".")+",00",g+" CHF";g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,"'"):k.replace(/\B(?=(\d{3})+(?!\d))/g,"'")+".00";return"CHF "+g;case "hkd":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,
258","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","HK$ "+g;case "jod":case "lbp":g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00";if("jo"==h)return g+" JD";if("jo_ar"==h)return g+" \u062f.\u0627";case "pkr":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00","Rs. "+g;case "ils":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g,","):k.replace(/\B(?=(\d{3})+(?!\d))/g,",")+".00",
259g+" \u20aa";case "mad":return g=-1<k.indexOf(".")?k.replace(/\B(?=(\d{3})+(?!\d))/g," "):k.replace(/\B(?=(\d{3})+(?!\d))/g," ")+".00",g+" DH";
259default:try{g=parseFloat(k).toLocaleString($("#localLang").val(),{style:"currency",currency:m.toUpperCase()})}catch(n){g=k}return g}},deleteCurrencyComma=function(a,m){var k="",f=$("#siteCode").val();null!=m&&(m=m.toLowerCase());if(fnIsNull(a))return"";"ca_fr"===f||"eur"===m&&"gr"!==f||"rub"===m||"brl"===m||"pln"===m||"ron"===m||"krw"===m||"twd"===m||"ch"===
260f||"ch_fr"===f?-1<a.indexOf(",")?(a=a.split(","),null!=a[0]&&""!=a[0]&&(k=a[0].replace(/[^0-9]/g,"")),null!=a[1]&&""!=a[1]&&(k+="."+a[1].replace(/[^0-9]/g,""))):k=a.replace(/[^0-9]/g,""):"pk"===f?-1<a.indexOf(".")&&(a=a.split("."),null!=a[1]&&""!=a[1]&&(k=a[1].replace(/[^0-9]/g,"")),null!=a[2]&&""!=a[2]&&(k+="."+a[2].replace(/[^0-9]/g,""))):-1<a.indexOf(".")?(a=a.split("."),null!=a[0]&&""!=a[0]&&(k=a[0].replace(/[^0-9]/g,"")),null!=a[1]&&""!=a[1]&&(k+="."+a[1].replace(/[^0-9]/g,""))):k=a.replace(/[^0-9]/g,
261"");return k};String.prototype.comma=function(a){return this.replace(NUMBER_GROUP_PATTERN,a)};function checkFlot(a){return 0!=a%1}
262var currencyInfo=function(a,m,k){k=void 0===k?!1:k;null!=m&&(m=m.toLowerCase());if(null===a||""===a)return"";a=String(a);var f=$("#siteCode").val(),g=checkFlot(a);if(g){var h=a.split(".");1<h.length&&2>h[1].length?a+="0":2<h[1].length&&(a=Number(a).toFixed(2))}var n=h="";if("levant"===f)n="jo";else if("levant_ar"===f)n="jo_ar";else if("ae"===f||"ae_ar"===f)if($.cookies.get("estoreSitecode")){var e=$.cookies.get("estoreSitecode").toString();n="ae"===e||"ae_ar"===e||"kw"===e||"kw_ar"===e||"om"===e||
263"om_ar"===e||"bh"===e||"bh_ar"===e||"qa"===e||"qa_ar"===e?e:f}else n=f;var b=".00",d=",00";k&&(d=b="");var l=k="";e="";switch(m){case "usd":"n_africa"===f?(h=a.comma(" "),e=b,k=" DH"):"iq_ar"===f||"iq_ku"===f?(h=a.comma(","),e=b,k=" $"):(h=a.comma(","),e=b,l="$");break;case "cad":"ca_fr"===f?(h=a.comma(" "),h=h.replace(".",","),e=d,k=" $"):(h=a.comma(","),e=b,l="$");break;case "eur":"de"===f||"es"===f||"be_fr"===f||"it"===f||"pt"===f?(h=a.replace(".",","),h=h.comma("."),e=d,"be_fr"!==f&&(k=" \u20ac")):
264"fi"===f||"fr"===f||"sk"===f||"at"===f||"ee"===f||"lt"===f||"lv"===f||"hr"===f?(h=a.replace(".",","),h=h.comma(" "),e=d,k=" \u20ac"):"si"==f?(h=a.replace(".",","),h=h.comma("."),e=d,k=" \u20ac"):(g?(h=a.replace(".",","),h=h.comma(".")):e=d,"be"!==f&&"nl"!==f?l="\u20ac ":"gr"===f&&(k=" \u20ac"));break;case "gbp":h=a.comma(",");e=b;l="\u00a3";break;case "sek":h=a.comma(" ");k=" kr";break;case "dkk":h=a.comma(" ");k=" kr";break;case "nok":h=a.comma(" ");k=" kr";break;case "brl":h=a.replace(".",",");
265h=h.comma(".");e=d;l="R$ ";break;case "inr":m=b;g?(g=a.substring(0,a.indexOf(".")),m=a.substring(a.indexOf("."))):g=a;h=g+m;l="\u20b9 ";break;case "krw":h=a.comma(",");k="\uc6d0";break;case "aed":"ae_ar"===f?(h=a.comma(","),e=b,k="kw_ar"==n?" \u062f.\u0643":"om_ar"==n?" \u0631.\u0639.":"bh_ar"==n?" .\u062f.\u0628":"qa_ar"==n?" \u0631.\u0642":" \u062f.\u0625"):(h=a.comma(","),e=b,k="kw"==n?" KD":"bh"==n?" BD":"om"==n?" RO":"qa"==n?" QAR":" AED");break;case "rub":h=a.replace(".",",");h.comma(" ");h=
266a.comma(" ");k=" \u20bd";break;case "twd":h=a.comma(",");l="NT$";break;case "czk":h=a.replace(".",",");h.comma(" ");h=a.comma(" ");k=" K\u010d";break;case "myr":h=a.comma(",");e=b;l="RM ";break;case "idr":h=a.comma(".");l="Rp ";break;case "pln":h=a.replace(".",",");h=h.comma(" ");e=d;k=" z\u0142";break;case "ron":h=a.replace(".",",");h=h.comma(".");e=d;k=" lei";break;case "php":h=a.comma(",");e=b;l="\u20b1";break;case "sar":h=a.comma(",");e=b;k="sa"==siteCode?" "+SAUDI_CURRENCY_SYMBOL:SAUDI_CURRENCY_SYMBOL+
267" ";break;case "pab":h=a.comma(",");e=b;l="US$ ";break;case "mxn":h=a.comma(",");e=b;l="$ ";break;case "ars":h=a.comma(",");e=b;l="$ ";break;case "pen":h=a.comma(",");e=b;l="s/ ";break;case "clp":h=a.comma(".");l="$ ";break;case "cop":h=a.comma(".");l="$ ";break;case "vnd":h=a.comma(".");k=" VND";break;case "chf":"ch"===f||"ch_fr"===f?(h=a.replace(".",","),h=h.comma("."),e=d,k=" CHF"):(a.comma("'"),h=a.comma("'")+b,l="CHF ");break;case "hkd":h=a.comma(",");e=b;l="HK$ ";break;case "jod":break;case "lbp":h=
268a.comma(",");e=b;"jo"==n?k=" JD":"jo_ar"==n&&(k=" \u062f.\u0627");break;case "pkr":h=a.comma(",");e=b;l="Rs. ";break;case "ils":h=a.comma(",");e=b;k=" \u20aa";break;case "kzt":h=a.comma(" ");k=" \u20b8";break;case "egp":h=a.comma(",");e=b;k=" \u062c.\u0645.";break;case "huf":a=String(Math.ceil(parseFloat(a)));h=a.comma(".");k=" Ft";break;case "hrk":h=a.replace(".",",");h=h.comma(".");e=d;k=" kn";break;case "uah":-1<a.indexOf(".")?(h=a.replace(".",","),h=h.comma(" ")):h=a.comma(" ");k=" \u20b4";break;
269case "jpy":h=a.comma(",");k="\u5186";break;case "yen":h=a.comma(",");k="\u5186";break;case "iqd":g?(h=a.replace(".",","),h=h.comma(" ")):h=a.comma(",");"iq_ar"===f?k="\u062f.\u0639":"iq_ku"===f&&(k="\u062f.\u0639");break;case "mad":h=a.comma(" ");e=b;k=" DH";break;case "cny":h=a;l="\uffe5 ";break;case "try":h=a.replace(".",",");h=h.comma(".");e=d;k=" TL";break;
269default:try{h=parseFloat(a).toLocaleString($("#localLang").val(),{style:"currency",currency:m.toUpperCase()})}catch(q){h=a}}checkFlot(h)||
270(h+=e);return{suffix:k,prefix:l,value:l+h+k,currency:(l+k).replace(" ","")}},deleteCurrency=function(a,m){if(fnIsNull(a))return"";if("cl"==siteCode||"py"==siteCode)a=a.replace(/[^0-9]/g,"");else if(("pe"==siteCode||"ar"==siteCode||"co"==siteCode||"pk"===siteCode)&&-1<a.indexOf(".")){var k=a.split(".");"pk"===siteCode?null!=k[1]&&""!=k[1]&&(a=k[1].replace(/[^0-9]/g,"")):null!=k[0]&&""!=k[0]&&(a=k[0].replace(/[^0-9]/g,""))}k=a;null!=m&&(m=m.toLowerCase());switch(m){case "usd":return-1<a.indexOf("$")&&
271(k=a.replace("$","")),k;case "dollar":return-1<a.indexOf("$")&&(k=a.replace("$","")),k;case "eur":return-1<a.indexOf("\u20ac")&&(k=a.replace("\u20ac","")),k;case "gbp":return-1<a.indexOf("\u00a3")&&(k=a.replace("\u00a3","")),k;case "sek":return-1<a.indexOf("kr")&&(k=a.replace("kr","")),k;case "dkk":return-1<a.indexOf("kr")&&(k=a.replace("kr","")),k;case "nok":return-1<a.indexOf("kr")&&(k=a.replace("kr","")),k;case "brl":return-1<a.indexOf("R$")&&(k=a.replace(".","").replace("R$","").replace(" ","").replace(",",
272".")),k;case "inr":return-1<a.indexOf("\u20b9")&&(k=a.replace("\u20b9","")),"\u20b9"+k;case "krw":return-1<a.indexOf("\uc6d0")&&(k=a.replace("\uc6d0","")),k;case "ae":return"ae_ar"===siteCode?-1<a.indexOf("\u062f.\u0625")&&(k=a.replace("\u062f.\u0625","")):-1<a.indexOf("AED")&&(k=a.replace("AED","")),k;case "rub":return-1<a.indexOf("\u20bd")&&(k=a.replace("\u20bd","")),k;case "twd":return-1<a.indexOf("NT$")&&(k=a.replace("NT$","")),"NT$"+k;case "czk":return-1<a.indexOf("K\u010d")&&(k=a.replace("K\u010d",
273"")),k;case "myr":return-1<a.indexOf("RM")&&(k=a.replace("RM","")),k;case "aed":return-1<a.indexOf(" \u062f.\u0625")&&(k=a.replace(" \u062f.\u0625","")),k;case "pab":return-1<a.indexOf("U$S")?k=a.replace("U$S","").replace(",","").replace(" ",""):-1<a.indexOf("US$")&&(k=a.replace("US$","").replace(",","").replace(" ","")),k;case "mxn":return-1<a.indexOf("$")&&(k=a.replace("$","").replace(" ","")),k;case "ars":return-1<a.indexOf("$")&&(k=a.replace("$","").replace(" ","")),k;case "pen":return-1<a.indexOf("s/")&&
274(k=a.replace("s/","").replace(" ","")),k;case "clp":return-1<a.indexOf("$")&&(k=a.replace("$","").replace(" ","")),k;case "cop":return-1<a.indexOf("$")&&(k=a.replace("$","").replace(" ","")),k;case "pyg":return-1<a.indexOf("\u20b2")&&(k=a.replace("\u20b2","").replace(" ","")),k;case "hkd":return-1<a.indexOf("HK$")&&(k=a.replace("HK$","").replace(" ","")),k;case "pkr":return a.indexOf("Rs."),k;case "ils":return-1<a.indexOf("\u20aa")&&(k=a.replace("\u20aa","").replace(" ","")),k;case "mad":return-1<
275a.indexOf("DH")&&(k=a.replace("DH","")),k;default:return a}},imagePreset=function(a){return-1<a.indexOf("jpg")?"?$ORIGIN_JPG$":-1<a.indexOf("jpeg")?"?$ORIGIN_JPG$":-1<a.indexOf("png")?"?$ORIGIN_PNG$":-1<a.indexOf("gif")?"?$ORIGIN_GIF$":"?$ORIGIN_PNG$"},imgDomain=function(a,m){var k="",f=$("#scene7domain").val();null!==a&&(-1<a.indexOf("image.samsung.com")?k=a+imagePreset(a):-1<a.indexOf("http:")||""===a?k=a:(m&&(f=f.replace("/image/","/content/")),k=f+a+imagePreset(a)));return k},jqueryImgsrc=function(a,
276m,k){if(null===a)return"";-1<a.indexOf("/content/dam/samsung")&&("qa"===m?(a="stg"===k?a.replace("/content/dam/samsung","//stg-images.samsung.com/is/image/samsung/assets"):"prod"===k?a.replace("/content/dam/samsung","//stg-images.samsung.com/is/image/samsung/assets"):a.replace("/content/dam/samsung","//stg-images.samsung.com/is/image/samsungdev/assets"),a+=imagePreset(a)):"live"===m&&(a="stg"===k?a.replace("/content/dam/samsung","//images.samsung.com/is/image/samsungstg/assets"):"prod"===k?a.replace("/content/dam/samsung",
277"//images.samsung.com/is/image/samsung/assets"):a.replace("/content/dam/samsung","//images.samsung.com/is/image/samsungdev/assets"),a+=imagePreset(a)));return a},dateFormat=function(){var a=/d{1,4}|m{1,4}|yy(?:yy)?|([HhMsTt])\1?|[LloSZ]|"[^"]*"|'[^']*'/g,m=/\b(?:[PMCEA][SDP]T|(?:Pacific|Mountain|Central|Eastern|Atlantic) (?:Standard|Daylight|Prevailing) Time|(?:GMT|UTC)(?:[-+]\d{4})?)\b/g,k=/[^-+\dA-Z]/g,f=function(g,h){g=String(g);for(h=h||2;g.length<h;)g="0"+g;return g};return function(g,h,n){var e=
278dateFormat,b=g;1!==arguments.length||"[object String]"!==Object.prototype.toString.call(g)||/\d/.test(g)||(h=g,g
278=void 0);g=g?new Date(g):new Date;if(isNaN(g)){if(b)return b;throw SyntaxError("invalid date");}h=String(e.masks[h]||h||e.masks["default"]);"UTC:"===h.slice(0,4)&&(h=h.slice(4),n=!0);var d=n?"getUTC":"get";b=g[d+"Date"]();var l=g[d+"Day"](),q=g[d+"Month"](),t=g[d+"FullYear"](),w=g[d+"Hours"](),x=g[d+"Minutes"](),B=g[d+"Seconds"]();d=g[d+"Milliseconds"]();var D=n?0:g.getTimezoneOffset(),
279z={d:b,dd:f(b),ddd:e.i18n.dayNames[l],dddd:e.i18n.dayNames[l+7],m:q+1,mm:f(q+1),mmm:e.i18n.monthNames[q],mmmm:e.i18n.monthNames[q+12],yy:String(t).slice(2),yyyy:t,h:w%12||12,hh:f(w%12||12),H:w,HH:f(w),M:x,MM:f(x),s:B,ss:f(B),l:f(d,3),L:f(99<d?Math.round(d/10):d),t:12>w?"a":"p",tt:12>w?"am":"pm",T:12>w?"A":"P",TT:12>w?"AM":"PM",Z:n?"UTC":(String(g).match(m)||[""]).pop().replace(k,""),o:(0<D?"-":"+")+f(100*Math.floor(Math.abs(D)/60)+Math.abs(D)%60,4),S:["th","st","nd","rd"][3<b%10?0:(10!==b%100-b%10)*
280b%10]};return h.replace(a,function(T){return T in z?z[T]:T.slice(1,T.length-1)})}}();dateFormat.masks={"default":"ddd mmm dd yyyy HH:MM:ss",shortDate:"m/d/yy",mediumDate:"mmm d, yyyy",longDate:"mmmm d, yyyy",fullDate:"dddd, mmmm d, yyyy",shortTime:"h:MM TT",mediumTime:"h:MM:ss TT",longTime:"h:MM:ss TT Z",isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};
281dateFormat.i18n={dayNames:"Sun Mon Tue Wed Thu Fri Sat Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),monthNames:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec January February March April May June July August September October November December".split(" ")};Date.prototype.format=function(a,m){return dateFormat(this,a,m)};
282var loginJwtApiCal=function(a,m,k){var f={jwt:loginJwt};if("us"===siteCode){var g=$.cookies.get("epp_verified",{domain:".samsung.com"}),h=$.cookies.get("tmktid",{domain:".samsung.com"}),n=$.cookies.get("store_id",{domain:".samsung.com"});null!=g&&(g=g.toString(),"true"==g&&null!=h&&""!=h?f.store_id=h.toString():null!=n&&""!=n&&(f.store_id=n.toString()))}$.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:a+"/v1/sso/user/validate",type:"POST",
283dataType:"json",data:JSON.stringify(f),timeout:1E4,xhrFields:{withCredentials:!0},async:!1,beforeSend:function(e){"Y"===buyingMultiLanguageYn&&e.setRequestHeader("x-ecom-locale",m)},success:function(e){if(200!==e.statusCode&&"200"!==e.statusCode)return $.cookies.del("jwt_"+k,{domain:".samsung.com"}),{isValidJwtToken:!1}},error:function(e,b,d){console.error(b);return null==e.responseJSON||"StoreIdNotPresent"!==e.responseJSON.error?($.cookies.del("jwt_"+k,{domain:".samsung.com"}),{isValidJwtToken:!1}):
284{loginFlag:!1}}})},isValidJwtTokenApiCal=function(a,m,k,f){$.cookies.get("ReD",{domain:".samsung.com"});a=$("#siteCode").val();var g=!1;$.ajax({url:"/aemapi/v6/data-login/callSALogin."+a+".json",type:"GET",dataType:"json",success:function(h){200===h.statusCode&&"Y"===h.redCookieChk&&$.cookies.get("jwt_"+k,{domain:".samsung.com"})&&(g=!0)},error:function(h,n,e){}});return g},loginJwtValidateApiCal=function(a,m,k,f,g){var h=!1;k={jwt:g};if("us"===siteCode){g=$.cookies.get("epp_verified",{domain:".samsung.com"});
285var n=$.cookies.get("tmktid",{domain:".samsung.com"}),e=$.cookies.get("store_id",{domain:".samsung.com"});null!=g&&(g=g.toString(),"true"==g&&null!=n&&""!=n?k.store_id=n.toString():null!=e&&""!=e&&(k.store_id=e.toString()))}$.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:a+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(k),xhrFields:{withCredentials:!0},async:!1,beforeSend:function(b){"Y"===f&&b.setRequestHeader("x-ecom-locale",
286m)},success:function(b){200===b.statusCode||"200"===b.statusCode?(h=!0,$("#loginValidateYnForGPv2").val("Y")):$("#loginValidateYnForGPv2").val("N")},error:function(){$("#loginValidateYnForGPv2").val("N")}});return h},commonLoginCheck=function(a){var m="GPv2"===$("#shopIntegrationFlag").val()?!0:!1,k=function(){$("#loginValidateYnForGPv2").val("N");return!1};if(checkEppSite())if(null!=window.sg.epp&&null!=window.sg.epp.common)if(a&&"function"===typeof a)a(window.sg.epp.common.isLogged);else return window.sg.epp.common.isLogged;
287else return!1;else if(m){a=$("#storeDomain").val();m=$("#countryIsoCode").val();var f=$("#multiLanguageYn").val(),g=$("#localLang").val(),h=$.cookies.get("xsdcxyn",{domain:".samsung.com"}),n=$.cookies.get("jwt_"+m,{domain:".samsung.com"}),e=$("#loginValidateYnForGPv2").val(),b=!1,d=!0;if("in"!==$("#siteCode").val()||a||m)if(e){if("Y"===e)return!0;
287if("N"===e)return!1}else{if(null!=n){h={jwt:n};var l=!1;"us"===siteCode&&(b=$.cookies.get("epp_verified",{domain:".samsung.com"}),n=$.cookies.get("tmktid",
288{domain:".samsung.com"}),e=$.cookies.get("store_id",{domain:".samsung.com"}),null!=b&&(b=b.toString(),"true"==b&&null!=n&&""!=n?h.store_id=n.toString():null!=e&&""!=e&&(h.store_id=e.toString())),$.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:a+"/v1/sso/jwt/details",type:"POST",async:!1,dataType:"json",data:JSON.stringify(h),xhrFields:{withCredentials:!0},success:function(q){null==q||""===q||null==q.login_type||"guest_epp_store"!==
289q.login_type&&"referral_url"!==q.login_type||(l=!0)}}));l?b=k():$.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:a+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(h),async:!1,xhrFields:{withCredentials:!0},beforeSend:function(q){"Y"===f&&q.setRequestHeader("x-ecom-locale",g)},success:function(q){200!==q.statusCode&&"200"!==q.statusCode&&(d=!1)},error:function(q,t,w){console.error(t);d=!1}});d?($("#loginValidateYnForGPv2").val("Y"),
290b=!0):isValidJwtTokenApiCal(a,g,m,f)?(k=$.cookies.get("jwt_"+m,{domain:".samsung.com"}).toString(),b=loginJwtValidateApiCal(a,g,m,f,k)):b=k()}else null!=h?isValidJwtTokenApiCal(a,g,m,f)?(k=$.cookies.get("jwt_"+m,{domain:".samsung.com"}).toString(),b=loginJwtValidateApiCal(a,g,m,f,k)):b=k():b=k();return b}else return!!$.cookies.get("jwt_IND",{domain:".samsung.com"})}else return ss.Auth.checkSignIn(a)},addedWishList=[],commonGetWishlist=function(a){var m="it ch ch_fr hk hk_en hu ae ae_ar levant levant_ar es pt ca ca_fr sg za".split(" "),
291k=$("#shopIntegrationFlag").val(),f="Hybris-new"===k?!0:!1,g=$("#storeDomain").val(),h=$("#b2bFlag").val(),n=$("#store_sitecode").val(),e=$("#siteCode").val(),b=!1;checkEppSite()&&null!=window.sg.epp&&null!=window.sg.epp.common&&(n=window.sg.epp.common.companyCode,b=window.sg.epp.common.isLogged);checkEppSite()||("levant"===e?n="jo":"levant_ar"===e&&(n="jo_ar"));addedWishList=[];if(f||h&&"true"==k||m.includes(e))g=g+"/tokocommercewebservices/v2/"+n+"/users/current/wishlist?loadEntries\x3dtrue",m.includes(e)&&
292(g=$("#newHyvStoreDomain").val()+"/tokocommercewebservices/v2/"+n+"/users/current/wishlist?loadEntries\x3dtrue"),checkLoginCookie()||b?$.ajax({url:g,type:"GET",dataType:"json",timeout:2E4,xhrFields:{withCredentials:!0},crossDomain:!0,success:function(q){if(null!=q&&null!=q.wishlists&&0<q.wishlists.length)for(wishlist in q.wishlists){var t=q.wishlists[wishlist];if(null!=t&&(t.isDefault||"N"===h&&m.includes(e))){if(null!=t.entries&&0<t.entries.length)for(entry in t.entries)if(q=t.entries[entry],null!=
293q.product&&null!=q.product.code){var w={};w.sku=q.product.code;w.deleted=!1;addedWishList.push(w)}break}}},error:function(q){addedWishList=[]},complete:function(){a&&"function"===typeof a&&a()}}):a&&"function"===typeof a&&a();else if("GPv2"===k){k=$("#countryIsoCode").val();k=$.cookies.get("jwt_"+k,{domain:".samsung.com"});f={};b&&null!=window.sg.epp&&null!=window.sg.epp.common&&(f.store_id=window.sg.epp.common.companyCode);var d=$("#multiLanguageYn").val(),l=$("#hreflang").val();null!=k?$.ajax({headers:{"Cache-Control":"no-cache",
294"Content-Type":"application/json","Access-Control-Allow-Origin":"*","x-ecom-app-id":"identity-store-global","x-ecom-jwt":k},url:g+"/v4/identity/wishlist",type:"GET",data:f,dataType:"json",timeout:2E4,xhrFields:{withCredentials:!0},beforeSend:function(q){"Y"===d&&q.setRequestHeader("x-ecom-locale",l)},success:function(q){null!=q&&(addedWishList=q)},error:function(q){addedWishList=[]},complete:function(){a&&"function"===typeof a&&a()}}):a&&"function"===typeof a&&a()}};
295function fnIsNull(a){return""===a||void 0===a||null===a}function def(a,m){for(var k in m)Object.prototype.hasOwnProperty.call(m,k)&&("object"===$.type(a[k])?a[k]=this.isArray(a[k])?m[k].slice(0):this.def(a[k],m[k]):a[k]=m[k]);return a}
296var cookies=function(){var a={expires:"",path:"/",domain:"",secure:"",httpOnly:""};return{setCookie:function(m,k,f){var g=new Date;g.setTime(g.getTime()+864E5*(f||0));f=def(a,{expires:g});document.cookie=[m,"\x3d",k,f.expires?";
296 expires\x3d"+f.expires.toUTCString():"",f.path?"; path\x3d"+f.path:"",f.domain?"; domain\x3d"+f.domain:"",f.secure?"; secure":""].join("")},setCookie2:function(m,k,f,g){var h=new Date;h.setTime(h.getTime()+864E5*(f||0));f=def(a,{expires:h});f.domain=!0===g?".samsung.com":
297".samsung.com.cn";document.cookie=[m,"\x3d",k,f.expires?"; expires\x3d"+f.expires.toUTCString():"",f.path?"; path\x3d"+f.path:"",f.domain?"; domain\x3d"+f.domain:"",f.secure?"; secure":""].join("")},setCookie3:function(m,k,f,g,h,n){var e=new Date;e.setTime(e.getTime()+6E4*f);f=def(a,{expires:e});f.domain=!0===g?".samsung.com":".samsung.com.cn";!0===h&&(f.httpOnly="HttpOnly");!0===n&&(f.secure="secure");document.cookie=[m,"\x3d",k,f.expires?"; expires\x3d"+f.expires.toUTCString():"",f.path?"; path\x3d"+
298f.path:"",f.domain?"; domain\x3d"+f.domain:"",f.secure?"; secure":"",f.httpOnly?"; HttpOnly":""].join("")},getCookie:function(m){m+="\x3d";for(var k=document.cookie.split(";"),f,g=0,h=k.length;g<h;g++){for(f=k[g];" "===f.charAt(0);)f=f.substring(1);if(-1!==f.indexOf(m))return f.substring(m.length,f.length)}return""},setCookieMailForm:function(m){for(var k in m)if(this.checkMailName(k)&&null!=m[k]){var f=m[k].replace(";","||@||");this.setCookie("mail_form_"+k,f,1)}},checkMailName:function(m){return m&&
299("CompanyName"===m||"ContactFirstName"===m||"ContactName"===m||"EmailAddress"===m||"CompanyAddress"===m||"CompanyInterest"===m||"JobTitle"===m||"Employee"===m||"City"===m||"Zipcode"===m||"Telephone"===m)},getCookieMailForm:function(){var m=document.cookie.split(";"),k={};m=$jscomp.makeIterator(m);for(var f=m.next();!f.done;f=m.next())if(f=f.value,0<f.indexOf("mail_form_")){var g=f.replace("mail_form_","").trim().split("\x3d");f=g[0];g=g[1].replace("||@||",";");k[f]=g}return k},getCookies:function(){var m=
300document.cookie.split(";"),k={};m=$jscomp.makeIterator(m);for(var f=m.next();!f.done;f=m.next())f=f.value.trim().split("\x3d"),k[f[0]]=f[1];return k}}}(),isNotEmpty=function(a){return"number"!=typeof a&&""==a||null==a||void 0==a||null!=a&&"object"==typeof a&&!Object.keys(a).length?!1:!0};void 0===window.sg&&(window.sg={});void 0===window.sg.components&&(window.sg.components={});
301window.sg.components.pfdevfn={afterAddWishlist:function(a,m,k,f,g,h){fnIsNull(a)||(a.hasClass(m)?"GPv2"===f&&a.removeClass(m):a.addClass(m),m=k,h&&""!=h&&(m=h),"hybrisIntg"===f?(a.prop("disabled",!0),a.attr("data-add-text",k),a.removeAttr("aria-label"),a.addClass("cta--disabled")):"GPv2"===f&&(a.hasClass("js-delete-wishlist-btn")?(a.removeClass("js-delete-wishlist-btn"),a.removeAttr("data-added-text"),a.attr("data-add-text",k),a.attr("an-la","add to wishlist"),a.find("span").text(k),a.blur()):(a.addClass("js-delete-wishlist-btn"),
302a.removeAttr("data-add-text"),a.attr("data-added-text",k),a.attr("an-la","remove from wishlist"),a.find("span").text(k),k={},k.sku=g,k.deleted=!1,addedWishList.push(k)),window.sg.components.wishlistIcon.reInit()),a.removeAttr("aria-label").attr("aria-label",m))},spliceAddedWishList:function(a){if(0<addedWishList.length)for(var m=0;m<addedWishList.length;m++)if(addedWishList[m].sku===a){addedWishList.splice(m,1);break}}};
303function modelCodeToSelector(a){var m="";a&&(m=a.replace(/\//g,"@$"));return m}
304function addToCartNewHybris(a,m,k,f,g,h,n){m=void 0===m?"":m;g=void 0===g?{}:g;h=void 0===h?!1:h;var e=$("#storeDomain")?$("#storeDomain").val()+"/tokocommercewebservices/v2"
304:"",b=$("#storeWebDomain").val(),d=$("#store_sitecode").val(),l=$("#siteCode")?$("#siteCode").val():"",q=$("#tempTitle").val(),t=h?d:getMultistoreSiteCode(l),w="page-wearable-bc"===$("#tempTitle").val()||"page-wearable-bc-v2"===$("#tempTitle").val()?"\x26ref\x3dwbc":"",x=$("#newHyvStoreDomain").val()?$("#newHyvStoreDomain").val()+
305"/tokocommercewebservices/v2":"";d="Y"===$("#useNewAddToCartApi").val()?!0:!1;var B="ae ae_ar at au be be_fr bg ca ca_fr ch ch_fr cl cn co de dk eg es fi fr hk hk_en hu nl il it iq_ku iq_ar my mx no nz n_africa levant levant_ar pe ph pt pk sa sa_en se sg th tr tw vn za jp hr si ee lv lt cz sk pl gr ua ro kz_kz kz_ru in id".split(" "),D=["jp","be","be_fr","nl"],z=$("#categoryTypeCode").val(),T=["my","ph","sg"];t=checkEppSite()?null!=window.sg.epp&&null!=window.sg.epp.common?window.sg.epp.common.companyCode:
306"":t;var Y=window.cookies.getCookie("eligible_epp");Y&&-1<location.pathname.indexOf("/us/mypage")&&(t=Y.split("/").reverse()[0]);e=e+"/"+t+"/addToCart/multi/?fields\x3dBASIC"+w;d&&x&&!h&&(e=x+"/"+t+"/addToCart/multi/?fields\x3dBASIC"+w);w=[];var la="",aa=!1;if(f){f.isAddonComponent&&(w=f.filter(function(ua){return ua}));f.bezelCode&&!f.isContinue&&w.push({productCode:f.bezelCode,qty:1});if(f.embedaddon&&0<f.embedaddon.length)for(t=$jscomp.makeIterator(f.embedaddon),x=t.next();!x.done;x=t.next())w.push({productCode:x.value,
307qty:1});if(f.addon&&f.addon.modelCodeList&&0<f.addon.modelCodeList.length)for(t=$jscomp.makeIterator(f.addon.modelCodeList),x=t.next();!x.done;x=t.next()){x=x.value;Y={productCode:x,qty:1};if("at"==l&&("page-buying-pd"==q||"page-standard-pd"==q)){var wa=f.addon.childModelObject;if(0<Object.keys(wa).length)for(var va in wa)va==x&&(Y.childProducts=[],Y.childProducts.push({product:{code:wa[va]},quantity:1}))}w.push(Y)}if(f.gift&&f.gift.modelCode)for(q=0;q<f.gift.modelCode.length;q++)w.push({productCode:f.gift.modelCode[q],
308qty:1});if(f.combo&&f.combo.modelCodeList&&0<f.combo.modelCodeList.length)for(q=$jscomp.makeIterator(f.combo.modelCodeList),x=q.next();!x.done;x=q.next())va=x.value,w.push({productCode:va,qty:1}),va.indexOf("SIM");if(f.multi&&f.multi.modelCodeList&&0<f.multi.modelCodeList.length)for(q=$jscomp.makeIterator(f.multi.modelCodeList),x=q.next();!x.done;x=q.next())w.push({productCode:x.value,qty:1})}if(a){var ha={productCode:a,qty:1};if(f){f.band&&f.band.bandCode&&(ha.childProducts=[],ha.childProducts.push({product:{code:f.band.bandCode},
309quantity:1}));ha.services=[];f.orignalQuantity&&(ha.qty=f.orignalQuantity.quantity);f.postalCode&&(ha.postalCode=f.postalCode);f.originalAdds&&Object.keys(f.originalAdds).forEach(function(ua){ha[ua]=f.originalAdds[ua]});if(("cn"==l||"tr"==l)&&f.tradeIn&&f.tradeIn.plan_id)for(q=$jscomp.makeIterator(f.tradeIn.tradeInResultList),va=q.next();!va.done;va=q.next())va=va.value,ha.services.push({serviceCode:va.services.serviceCode,provider:va.services.provider,addToCartType:"append",additionalInfos:va.services.tradeInAdditionalInfo});
310if(f.exchange&&f.exchange.exchangeId&&B.includes(l))"in"==l?f.exchange.tradeInType&&"CE"===f.exchange.tradeInType?ha.services.push({exchangeId:f.exchange.exchangeId,additionalInfos:[{key:"isTradeUp",value:"true"}]}):ha.services.push({exchangeId:f.exchange.exchangeId}
310):ha.services.push({exchangeId:f.exchange.exchangeId,serviceType:"TRADE_UP"});else if(f.exchange&&f.exchange.exchangeId&&"uk"==l)ha.services.push({exchangeId:f.exchange.exchangeId,serviceType:"TRADE_UP"});else if(f.tradeIn&&f.tradeIn.plan_id&&
311!d&&"cn"!=l&&"tr"!=l)ha.services.push({exchangeId:f.tradeIn.plan_id});else if(f.tradeIn&&f.tradeIn.plan_id&&D.includes(l))ha.services.push({exchangeId:f.tradeIn.plan_id});else if(f.tradeIn&&f.tradeIn.plan_id&&d){var bb=f.tradeIn.tradeInResultList;if(0<bb.length){var Jb=!1;$.each(bb,function(ua,Qa){var H=Qa.services;if(H){H.tradeInType||(H.tradeInType="IMEI");$.each(H.tradeInAdditionalInfo,function(M,S){"sg"!=l||"compasia.imei"!=S.key||isNotEmpty(S.value)||(S.value=H.imeiKey);if(!isNotEmpty(H.imeiKey)&&
312S.key==H.tradeInType)return H.imeiKey=S.value,!1});ha.services.push({serviceCode:H.serviceCode,additionalInfos:[{key:H.tradeInType,value:H.imeiKey}]});"de"==l&&(ha.services[ua].serviceCode=H.serviceCode,ha.services[ua].provider=H.provider);"fr"==l&&null!=H.serviceType&&void 0!=H.serviceType&&(ha.services[ua].serviceType=H.serviceTypeCode);"bg"==l&&(ha.services[ua].provider="FOXWAY");"at"!=l||z.startsWith("01")||ha.services[ua].additionalInfos.push({key:"isTradeInTVEnabled",value:!0});H.tradeInAdditionalInfo&&
313$.each(H.tradeInAdditionalInfo,function(M,S){ha.services[ua].additionalInfos.push({key:S.key,value:S.value});"serviceID"==S.key&&(H.serviceID=S.value)});var J=0;Qa.specialPrice&&!Jb&&(Jb=!0,J=Qa.specialPrice);Qa.dataPrice&&H.serviceID&&"au"==l&&(ha.services[ua].additionalInfos=ha.services[ua].additionalInfos.filter(function(M){return"discountAmount"!=M.key&&"additionalDiscount"!=M.key&&"totalTradeinAmount"!=M.key&&!("IMEI"==M.key&&M.value==H.serviceID)}),ha.services[ua].additionalInfos.push({key:"discountAmount",
314value:Qa.discountAmountPrice}),ha.services[ua].additionalInfos.push({key:"additionalDiscount",value:J}),ha.services[ua].additionalInfos.push({key:"totalTradeinAmount",value:Qa.discountAmountPrice+J}));Qa.dataPrice&&!H.serviceID&&("au"==l?(ha.services[ua].additionalInfos=ha.services[ua].additionalInfos.filter(function(M){return"discountAmount"!=M.key&&"additionalDiscount"!=M.key&&"totalTradeinAmount"!=M.key}),ha.services[ua].additionalInfos.push({key:"discountAmount",value:Qa.discountAmountPrice}),
315ha.services[ua].additionalInfos.push({key:"additionalDiscount",value:J}),ha.services[ua].additionalInfos.push({key:"totalTradeinAmount",value:Qa.discountAmountPrice+J})):"kz_kz"!=l&&"kz_ru"!=l&&ha.services[ua].additionalInfos.push({key:"discountAmount",value:Qa.dataPrice}));1<bb.length&&(ha.services[ua].addToCartType="APPEND");H.questionAndAnswer&&0<H.questionAndAnswer.length&&(ha.services[ua].additionalInfos.push({key:"questionAndAnswer",value:JSON.stringify(H.questionAndAnswer)}),$.each(H.questionAndAnswer,
316function(M,S){ha.services[ua].assessmentCriteria||(ha.services[ua].assessmentCriteria=[]);ha.services[ua].assessmentCriteria.push({name:S.name,value:S.value})}))}else Qa={serviceCode:Qa.services.serviceCode,additionalInfos:[{key:"IMEI",value:Qa.services.imeiKey},{key:"discountAmount",value:Qa.dataPrice}]},1<bb.length&&(Qa.addToCartType="append"),ha.services.push(Qa)})}}else f.exchange&&f.exchange.exchangeId&&ha.services.push({exchangeId:f.exchange.exchangeId,provider:"EXCHANGE"});f.samsungUpgrade&&
317ha.services.push({serviceCode:f.samsungUpgrade.serviceCode});f.care&&f.care.modelCode&&f.care&&f.care.modelCode&&(B={serviceCode:f.care.modelCode},f.care.isMonltly&&(B.additionalInfos=[{key:"paymentCycle",value:f.care.paymentCycle}]),ha.services.push(B));f.upgrade&&f.upgrade.modelCode&&ha.services.push({serviceCode:f.upgrade.modelCode});f.tariff&&f.tariff.modelCode&&(f.tariff.tariffResult.isBroadbandService?ha.services.push({planId:f.tariff.modelCode,serviceType:"BROADBAND_PLAN",serviceAddress:f.tariff.tariffResult.tariffArr[0],
318serviceCode:f.tariff.tariffResult.simSkuCode}):ha.services.push({planId:f.tariff.modelCode,serviceType:"SIM_PLAN",serviceCode:f.tariff.tariffResult.simSkuCode}),e+="\x26newCart\x3dtrue");f.newAssuredBuyBack&&f.newAssuredBuyBack.modelCode&&ha.services.push({serviceCode:f.newAssuredBuyBack.modelCode});if("cn"===l&&f.installment&&f.installment.selectedOffers)for(ha.selectedOffers=[],B=$jscomp.makeIterator(f.installment.selectedOffers),D=B.next();!D.done;D=B.next())ha.selectedOffers.push(D.value);f.warrantyVd&&
319f.warrantyVd.modelCode&&(f.warrantyVd.isMonthlyYn&&T.includes(l)?ha.services.push({serviceCode:f.warrantyVd.modelCode,additionalInfos:[{key:"paymentCycle",value:"MONTHLY"}]}):ha.services.push({serviceCode:f.warrantyVd.modelCode}));if(h){if(f.tradeIn&&f.tradeIn.exchangeData)for(B=$jscomp.makeIterator(f.tradeIn.exchangeData),T=B.next();!T.done;T=B.next())ha.services.push(T.value);f.samsungCareData&&ha.services.push(f.samsungCareData);f.knoxManage&&ha.services.push({serviceCode:f.knoxManage.serviceSkuCode})}}ha&&
320w.push(ha)}if(0===w.length)m?location.href=m:k&&"function"===typeof k&&(k(la,aa,g),ss.Auth.getGlobalCartCount());else if(h&&"uk"!==l&&"cn"!==l&&"tr"!==l&&!d){d=1;T=0;e=[];h={products:[]};b+="/servicesv2/addToCart";if(f&&(f.orignalQuantity&&(d=f.orignalQuantity.quantity),f.addon&&f.addon.modelCodeList&&0<f.addon.modelCodeList.length))for(B=$jscomp.makeIterator(f.addon.modelCodeList),x=B.next();!x.done;
320x=B.next())D=x.value,e.push("products["+T+"].productCode\x3d"+D+"\x26products["+T+"].quantity\x3d1"),
321T++,h.products.push({productCode:D,quantity:1});if(a){e.push("products["+T+"].productCode\x3d"+a+"\x26products["+T+"].quantity\x3d"+d);T++;a={productCode:a,quantity:d,services:[]};if(f){if(f.tradeIn&&f.tradeIn.exchangeData)for(d=$jscomp.makeIterator(f.tradeIn.exchangeData),T=d.next();!T.done;T=d.next())a.services.push(T.value);f.samsungCareData&&a.services.push(f.samsungCareData);f.knoxManage&&a.services.push({serviceCode:f.knoxManage.serviceSkuCode})}a&&h.products.push(a)}$.ajax({url:b,type:"POST",
322cache:!1,crossDomain:!0,xhrFields:{withCredentials:!0},contentType:"application/json",dataType:"json",data:JSON.stringify(h),timeout:2E4,success:function(ua){if("0000"===ua.resultCode||"00301"===ua.resultCode||"00302"===ua.resultCode)la=ua,aa=!0},error:function(ua){var Qa="";ua.responseJSON&&ua.responseJSON.message&&(Qa=ua.responseJSON.message);confirmPopup(Qa,null,null,n)},complete:function(){aa&&(m&&"00301"!==la.resultCode&&"00302"!==la.resultCode?location.href=m:k&&"function"===typeof k&&(k(la,
323aa,g),ss.Auth.getGlobalCartCount()))}})}else $.ajax({url:e,type:"POST",dataType:"json",cache:!0,crossDomain:!0,contentType:"application/json",timeout:3E4,xhrFields:{withCredentials:!0},data:JSON.stringify(w),success:function(ua){la=ua;aa=!0},error:function(ua){var Qa="";ua.responseJSON&&ua.responseJSON.message&&(Qa=ua.responseJSON.message);if(ua&&ua.responseJSON&&ua.responseJSON.errors&&0<ua.responseJSON.errors.length&&ua.responseJSON.errors[0]&&ua.responseJSON.errors[0].type){var H=ua.responseJSON.errors[0].type,
324J="Please remove Samsung Flex or Samsung Upgrade to order multiple items, or place a separate order.";"cn"==l?J=Granite.I18n.get("Please remove Samsung Flex or Samsung Upgrade to order multiple items, or place a separate order."):"uk"==l&&(J="Please remove Galaxy Club to order multiple items, or place a separate order");"TokoUpgradeProductsError"==H&&(Qa=J);("levant"==l||"levant_ar"==l||"sa"==l||"sa_en"==l||"ae"==l||"ae_ar"==l)&&"MaxExternalServiceLimitError"==H&&ua.responseJSON.errors[0].type&&ua.responseJSON.errors[0].message&&
325(Qa=ua.responseJSON.errors[0].message)}confirmPopup(Qa,null,null,n)},complete:function(){aa&&(m&&"00301"!==la[0].statusCode&&"00302"!==la[0].statusCode?location.href=m:k&&"function"===typeof k&&(k(la,aa,g),ss.Auth.getGlobalCartCount()))}})}function setCookieData(a,m,k,f){var g=new Date,h="";g.setTime(g.getTime()+36E5*(k||0));f&&(h="; path\x3d"+f);document.cookie=a+"\x3d"+m+"; domain\x3dsamsung.com; expires\x3d"+g.toUTCString()+h}
326function getNewCartId(a,m){m=void 0===m?{}:m;var k=commonLoginCheck(),f=$("#storeDomain")?$("#storeDomain").val()+"/tokocommercewebservices/v2"
326:"",g=$("#siteCode")?$("#siteCode").val():"",h=$("#store_sitecode").val(),n=$("#b2bFlag").val(),e=$.cookies.get("hybriscartID-guid"),b=$.cookies.get("hybriscartID-code"),d=!1,l="",q=!1;k&&!b?(d=!0,l="current"):k||e?(q=!0,a&&"function"===typeof a&&a(q,m)):(d=!0,l="anonymous");d&&(k=f+"/"+g+"/users/"+l+"/carts?fields\x3dBASIC","Y"===n&&(k=f+"/"+h+"/users/"+l+
327"/carts?fields\x3dBASIC"),$.ajax({url:k,type:"POST",dataType:"json",cache:!0,crossDomain:!0,timeout:5E3,xhrFields:{withCredentials:!0},success:function(t){if(t&&(t.code||t.guid)){var w=-1<location.href.indexOf("/content/samsung")?"/content/samsung/"+g:""+g;"current"===l?(q=!0,setCookieData("hybriscartID-code",t.code,1,w)):(q=!0,setCookieData("hybriscartID-guid",t.guid,1,w))}},error:function(t){var w="";t.responseJSON&&t.responseJSON.message&&(w=t.responseJSON.message);confirmPopup(w)},complete:function(){a&&
328"function"===typeof a&&a(q,m)}}))}function goToSMBRegister(a,m){$.cookies.del("isSMBRegisteredUserYN",{path:"/"+SITE_CD+"/",domain:".samsung.com"});m?document.location.href=a:($.cookies.set("goSMBRegisterYN","Y",{domain:".samsung.com"}),$.cookies.set("smbRegisterUrl",a,{domain:".samsung.com"}),ss.Auth.callSaSignInGate())}
329function checkEppSite(){var a="",m=document.location.pathname;m=m.replace(".html","/");m=m.split("/");5<=m.length&&"content"==m[1]&&"samsung"==m[2]?a=m[4]:3<=m.length&&(a="cn"===$("#siteCode").val()?m[1]:m[2]);return"multistore"==a}
330function getEppMultiStorePath(a){if(checkEppSite()){if(fnIsNull(a)||a.startsWith("//")||a.startsWith("http:")||a.startsWith("https:")||a.includes("/multistore/")||a.startsWith("/"+siteCode+"/")||a.startsWith("/"+siteCode))return a;var m="/"+siteCode+"/multistore/"+window.sg.epp.common.companyCode;a.startsWith("/")||(a="/"+a);return m+a}return a}
331function checkLoginCookie(){var a=Object.freeze({B2C:"xsdcxyn",B2B:"xsdcbxyn"}),m=Object.freeze({BASE:".samsung.com",CN:".samsung.com.cn"}),k=$("#b2bFlag").val(),f=$("#siteCode").val(),g=$("#shopIntegrationFlag").val();m="cn"===f?m.CN:m.BASE;a="Y"===k?a.B2B:a.B2C;["Hybris","Hybris-intg","Hybris-new"].includes(g);document.cookie.match(a);return!!$.cookies.get(a,{domain:m})}
332function getSECACountryRegion(){var a=$("#siteCode").val();return["ca","ca_fr"].includes(a)?$.cookies.get("country_region",{domain:".samsung.com"})||"CA-ON":""}function ellipsize(a,m){m=void 0===m?12:m;if("string"!==typeof a){var k;a=String(null!=(k=a)?k:"")}return a.length<=m?a:a.slice(0,m)+"..."}
333(function(a){"undefined"===typeof a.cookies&&(a.cookies={});var m=a("#siteCode").val(),k="/";"cn"!==m&&(k="/"+m+"/");"/global_nw/"===k?k="/global/business/networks/":"/global_cps/"===k&&(k="/global/business/compressor/");a.cookies.data=a.cookies.data||{};a.cookies.data.SEARCH_NAME="sk";a.cookies.data.ACCESSORY_SEARCH_NAME="ask";a.cookies.getDefaultOption=function(f,g){f&&f instanceof Date||(f=new Date,f.setTime(f.getTime()+864E5));g?-1<window.location.pathname.indexOf("/content/samsung")&&(g="/content/samsung"+
334g):g="/";var h=".samsung.com";"cn"===m&&(h=".samsung.com.cn");return{expiresAt:f,path:g,domain:h,secure:!1}};a.cookies.setSearchKeyword=function(f,g){var h=this.data.SEARCH_NAME,n=this.get(h);if(n){if(0<=a.inArray(f,n))return;4<=n.length&&n.splice(0,1);n.push(f)}else n=[f];this.set(h,n,this.getDefaultOption(g,k))};a.cookies.getSearchKeyword=function(){var f=this.get(this.data.SEARCH_NAME);return f&&a.isArray(f)?f:[]};a.cookies.clearSearchKeyword=function(f){this.del(this.data.SEARCH_NAME,this.getDefaultOption(f,
335k))};a.cookies.setAccessorySearchKeyword=function(f,g){var h=this.data.ACCESSORY_SEARCH_NAME,n=this.get(h);if(n){if(0<=a.inArray(f,n))return;4<=n.length&&n.splice(0,1);n.push(f)}else n=[f];this.set(h,n,this.getDefaultOption(g,k))};a.cookies.getAccessorySearchKeyword=function(){var f=this.get(this.data.ACCESSORY_SEARCH_NAME);return f&&a.isArray(f)?f:[]};a.cookies.clearAccessorySearchKeyword=function(f){this.del(this.data.ACCESSORY_SEARCH_NAME,this.getDefaultOption(f,k))};a(function(){var f="us"===
336m;if("live"===a("#runmodeInfo").val()&&"Y"===a("#b2bFlag").val()&&!f){f="";if("business solution detail"===digitalData.page.pageInfo.pageTrack||"business solutions detail"===digitalData.page.pageInfo.pageTrack)f="solution";else if("business insight detail"===digitalData.page.pageInfo.pageTrack||"business insights detail"===digitalData.page.pageInfo.pageTrack)f="insight";""!==f&&void 0!==window.sg.components.util&&(this.cookieUtil=new window.sg.components.util.CookieUtil,this.cookieUtil.addHistory(f,
337a("#pathString").val(),a("#pageUrl").val()))}})})(window.jQuery);
338(function(a,m){function k(H,J){if(J.children)for(var M=0;M<J.children.length;){var S=J.children[M],Z=S.classList;if(Z&&Z.contains("sdf-component-metadata"))f(H,S);else if(Z&&Z.contains("sdf-component-templates")){Z=S.children;for(var ea=0;ea<Z.length;){var qa=Z[ea];qa.hasAttribute("data-sdf-template")?g(H,qa):ea++}J.removeChild(S)}else S.hasAttribute("data-sdf-template")?g(H,S):(S.hasAttribute("data-sdf-test")&&(Z=S.sdfContext={},n(Z,S.getAttribute("data-sdf-test")),S.removeAttribute("data-sdf-test")),
339S.hasAttribute("data-sdf-call")?(Z=S.sdfContext={},e(Z,S.getAttribute("data-sdf-call")),S.removeAttribute("data-sdf-call")):(k(H,S),M++))}}function f(H,J){J=a(J);J.find("[data-sdf-prop]").each(function(){var M=a.trim(this.getAttribute("data-sdf-prop"));M&&0<M.length&&H.metadata.set(M,a.trim(this.textContent))});J.remove()}function g(H,J){var M=a(J),S=J.parentElement;M.removeClass("sdf-component-template");var Z=a.trim(J.getAttribute("data-sdf-template"));if(0===Z.length)log.error("[SDF] Illegal template attribute: template name required: "+
340va(J));else{var ea=Z.indexOf("@");var qa=0>ea?Z:a.trim(Z.substring(0,ea));if(0===qa.length)log.error("[SDF] Illegal template attribute: template name is empty: "+va(J));else{var sa=a.trim(Z.substring(ea+1));Z=[];ea=!1;if(0<sa.length){sa=sa.split(",");for(var nb=0;nb<sa.length;nb++){var Ga=a.trim(sa[nb]);if(0!==Ga.length){var Xa=Ga.indexOf("\x3d");if(0>Xa)Z.push({variable:Ga});else{var pa=a.trim(Ga.substring(0,Xa));Ga=t(a.trim(Ga.substring(Xa+1)));!ea&&Ga&&(ea=!0);Z.push({variable:pa,reference:Ga})}}}}J.removeAttribute("data-sdf-template");
341if(ea){S=m.createElement(J.localName);if(J.hasAttributes()){ea=J.attributes;for(sa=0;sa<ea.length;sa++)S.setAttribute(ea[sa].localName,ea[sa].nodeValue);ea=J.attributes;for(sa=ea.length-1;0<=sa;sa--)J.removeAttribute(ea[sa].localName)}if(J.hasChildNodes())for(;J.firstChild;)S.appendChild(J.firstChild);ea=q(qa);J.sdfContext={invokeTemplate:{template:qa,isDynamic:ea,nameToken:ea?l(qa):null,binds:Z}};J=S}else S&&S.removeChild(J);S=J;ea=(ea=M.parent())&&0<ea.length&&!ea.hasClass("sdf-component-templates")?
342ea.get(0):null;M={name:qa,element:S,$element:M,variables:Z,target:ea};H.templates.set(qa,M);J.sdfContext=J.sdfContext||{};J.sdfContext.template=M;h(H,M,J)}}}function h(H,J,M){if(M.nodeType===m.ELEMENT_NODE){a:{M.sdfContext=M.sdfContext||{};if(M.hasAttributes()){if(M.hasAttribute("data-sdf-template")){g(H,M);H=!0;break a}for(var S=M.attributes,Z=M.sdfContext,ea=0;ea<S.length;ea++){var qa=S[ea],sa=qa.name;qa=qa.nodeValue;if("data-sdf-test"===sa)n(Z,qa);else if("data-sdf-call"===sa)e(Z,qa);else if("data-sdf-unwrap"===
343sa)sa=Z,q(qa)?sa.unwrap={isDynamic:!0,value:t(qa)}:(qa=a.trim(qa),sa.unwrap={isDynamic:!1,value:0===qa.length||"true"===qa.toLowerCase()});else if("data-sdf-element"===sa)sa=Z,q(qa)?sa.element={isDynamic:!0,value:t(qa)}:sa.element={isDynamic:!1,value:a.trim(qa)};else if(0===sa.indexOf("data-sdf-attr")){var nb=Z;sa=sa.substring(13);1>=sa.length||"."!==sa.charAt(0)?console.warn("[SDF] Empty dynamic attribute name: "+sa+'\x3d"'+qa+'"'):d(nb,!0,!1,sa.substring(1),l(qa))}else 0===sa.indexOf("data-sdf-list")?
344b("data-sdf-list",Z,sa,qa):0===sa.indexOf("data-sdf-repeat")?b("data-sdf-repeat",Z,sa,qa):(nb=q(qa),d(Z,nb,!0,sa,nb?l(qa):qa))}M.sdfContext=Z}if(M.hasChildNodes())for(M=M.childNodes,S=0;S<M.length;)h(H,J,M[S])||S++;H=!1}return H}M.nodeType===m.TEXT_NODE&&0<=M.nodeValue.indexOf("{{")&&(H=l(M.nodeValue),M.sdfContext={bindTokens:H});return!1}function n(H,J){var M=q(J),S=M?t(a.trim(J)):J.toLowerCase();S&&0<S.length?M?(J=S.split(/[ \t]+/),2===J.length&&"not"===J[0]?(H.testInverse=!0,H.test=J[1]):H.test=
345S):H.test="true"===S:console.warn("[SDF] Empty test attribute: "+aname+'\x3d"'+J+'"')}function e(H,J){var M=a.trim(J).split(/\s*@\s*/);if(0===M[0].length)console.warn("[SDF] Illegal template call: "+J+'"');else{J=M[0];var S=q(J);H.invokeTemplate={template:J,isDynamic:S,nameTokens:S?l(J):null};if(1<M.length&&0<M[1].length){J=[];M=M[1].split(/\s*,\s*/);for(S=0;S<M.length;S++)if(0<M[S].length){var Z=M[S].split(/\s*=\s*/);2<Z.length||0===Z[0].length?console.warn("[SDF] Illegal variable binds: "+M[S]):
346J.push({variable:Z[0],reference:2===Z.length?t(Z[1]):null})}0<J.length&&(H.invokeTemplate.binds=J)}}}function b(H,J,M,S){M=M.substring(H.length);var Z=1<M.length&&"."===M.charAt(0)?M.substring(1):"";0===Z.length&&(Z="item");var ea=t(S);0===ea.length?console.warn("[SDF] Illegal '"+H+"' directive: "+M+'\x3d"'+S+'"'):J["data-sdf-list"===H?"list":"repeat"]={variable:Z,reference:ea}}function d(H,J,M,S,Z){S&&Z&&0<Z.length&&(H.attributes||(H.attributes={}),H.attributes[S]={isDynamic:J,isAllowBlank:M,isNamespaceProvided:0<
347S.indexOf(":"),name:S,value:Z})}function l(H){for(var J=0,M=0,S=[];J<H.length;){J=H.indexOf("{{",M);if(0>J){S.push(H.substring(M));break}S.push(H.substring(M,J));M=H.indexOf("}}",J+2);if(0>M){S.push(H.substring(J));break}S.push(H.substring(J+2,M));J=M+=2}return S}function q(H){var J=H.indexOf("{{");return 0<=J?0<H.indexOf("}}",J+2+1):!1}function t(H){if(!H||4>H.length)return"";var J=H.indexOf("{{"),M=H.indexOf("}}");return 0>J||0>M||J>M||J+2===M?(console.warn("[SDF] Illegal expression: "+H),""):H.substring(J+
3482,M)}
348function w(H,J,M,S){(S=S||J.target)||console.log("[SDF] Unknown bind target with template: "+J.name);var Z={component:H,template:J,bindObject:M,target:S,parent:S||a("\x3cdiv\x3e\x3c/div\x3e").get(0),currentNode:J.element},ea=x(Z);ea&&(ea.boundData=M);0<H.observers.length&&H.notify("onTemplateRendered",{template:J,target:S,boundData:M});return S?ea:Z.parent}function x(H){var J=H.currentNode,M=J.sdfContext;if(J.nodeType===m.TEXT_NODE){var S=J.nodeValue;M?M.bindTokens&&(S=T(M.bindTokens,H.bindObject)):
349q(S)&&(S=l(S),S=T(S,H.bindObject));M=document.createElement("div");for(M.innerHTML=S;M.firstChild;)H.parent.appendChild(M.firstChild);return J}a:if(S=M||{},J=H.bindObject,Y(S,J)){if(S.invokeTemplate){M=S.invokeTemplate;var Z=M.isDynamic?T(M.nameTokens,J):M.template,ea=H.component.templates.get(Z);if(ea){H=B(H.component,ea,M.binds,J,H.parent);break a}else console.warn("[SDF] Unknown template '"+Z+"'")}M=!1;S.unwrap&&(Z=S.unwrap,!Z.isDynamic&&!0===Z.value||Z.isDynamic&&!0===z(Z.value))&&(M=!0);Z=void 0;
350if(S.repeat||S.list){if(S.repeat){ea=M;var qa=z(J,S.repeat.reference);if(qa&&0<qa.length){for(var sa=H.parent,nb=H.currentNode,Ga=S.repeat.variable,Xa=Ga+"List",pa=0;pa<qa.length;pa++){var hb=qa[pa];J[Ga]=hb||{};try{hb.loopIndex=String(pa),hb.loopCount=String(pa+1)}catch(kc){}hb=J[Xa]=J[Xa]||{};hb.loopIndex=String(pa);hb.loopCount=String(pa+1);H.parent=ea?sa:la(sa,nb,S,J);H.currentNode=nb;D(H)}delete J[Ga];H.parent=sa}}if(S.list&&(Z=void 0,(ea=z(J,S.list.reference))&&0<ea.length)){qa=H.parent;sa=
351H.currentNode;nb=S.list.variable;Ga=nb+"List";M||(Z=la(qa,sa,S,J),H.parent=Z);for(S=0;S<ea.length;S++){Xa=ea[S]||{};J[nb]=Xa;try{Xa.loopIndex=String(S),Xa.loopCount=String(S+1)}catch(kc){}Xa=J[Ga]=J[Ga]||{};Xa.loopIndex=String(S);Xa.loopCount=String(S+1);H.parent=M?qa:Z;H.currentNode=sa;D(H)}delete J[nb];H.parent=qa}}else M||(Z=la(H.parent,H.currentNode,S,J),H.parent=Z),D(H);H=Z}else H=void 0;return H}function B(H,J,M,S,Z){var ea={};if(M&&0<M.length)for(var qa=0;qa<M.length;qa++)ea[M[qa].variable]=
352z(S,M[qa].reference);return w(H,J,ea,Z||J.target)}function D(H){var J=H.parent,M=H.currentNode.childNodes;if(M&&0<M.length)for(var S=0;S<M.length;S++)H.parent=J,H.currentNode=M[S],x(H);H.parent=J}function z(H,J){if(H&&J){J=a.trim(J).split(".");for(var M=0;M<J.length&&(H=H[J[M]],H);M++);return H}}function T(H,J){var M=[];if(H&&0<H.length)for(var S=0;S<H.length;S++){var Z=H[S],ea=z(J,Z);void 0!==ea&&null!==ea&&(ea=String(ea));M.push(0===S%2?Z:ea)}return M.join("")}function Y(H,J){var M=!0;"undefined"!==
353typeof H.test&&(J="string"===typeof H.test?z(J,H.test):H.test,void 0===J||null===J||!1===J||"undefined"!==typeof J.length&&0===J.length)&&(M=!1);return H.testInverse?!M:M}function la(H,J,M,S){var Z=J.localName;M.element&&(Z=M.element,Z=a.trim(Z.isDynamic?z(S,Z.value):Z.value),0===Z.length&&(console.warn("[SDF] Empty dynamic tag name: use default '"+J.localName+"'"),Z=J.localName));try{if(J.prefix){var ea=Jb[J.prefix];if(ea)var qa=m.createElementNS(ea,Z);else console.warn("[SDF] Unsupported name prefix of element: "+
354J.name+"; namespace ignored"),qa=m.createElement(Z)}else qa=m.createElement(Z)}catch(nb){console.warn("[SDF] Can't create element: "+nb.toString()+": use default '"+J.localName+"'"),qa=m.createElement(J.localName)}if(J=M.attributes)for(var sa in J)if(ea=J[sa],M=ea.isDynamic?T(ea.value,S):ea.value,ea.isAllowBlank||!ea.isAllowBlank&&0<M.length)ea.isNamespaceProvided?(ea=sa.substring(0,sa.indexOf(":")),(ea=Jb[ea])?qa.setAttributeNS(ea,sa,M):(console.warn("[SDF] Unsupported name prefix of attribute: "+
355sa+"; namespace ignored"),qa.setAttribute(sa,M))):qa.setAttribute(sa,M);H.appendChild(qa);return qa}function aa(H,J,M){if(J.nodeType===m.TEXT_NODE)wa(J,M);else{if(J.sdfContext){var S=J.sdfContext;if(!Y(S,M)){J.parentElement.removeChild(J);return}if(S.invokeTemplate){S=J.parentElement;var Z=J.sdfContext.invokeTemplate,ea=Z.isDynamic?T(Z.nameTokens,M):Z.template;if(ea=H.templates.get(ea)){for(var qa=J.childNodes,sa=qa.length-1;0<=sa;sa--)J.removeChild(qa[sa]);B(H,ea,Z.binds,M,J);if(S)for(;J.hasChildNodes();)S.insertBefore(J.firstChild,
356J)}S&&S.removeChild(J);return}}if(J.hasAttributes())for(S=J.attributes,Z=0;Z<S.length;Z++)0>S[Z].localName.indexOf("data-sdf-")&&wa(S[Z],M);if(J.hasChildNodes())for(S=0;S<J.childNodes.length;S++)aa(H,J.childNodes[S],M)}}function wa(H,J){if(q(H.nodeValue)){var M=l(H.nodeValue);H.nodeValue=T(M,J)}}function va(H){var J="\x3c"+H.nodeName.toLowerCase();if(H.hasAttributes()){H=H.attributes;for(var M=0;M<H.length;M++)J+=" "+H[M].name+'\x3d"'+H[M].nodeValue+'"'}return J+"\x3e"}function ha(H,J,M){if((H=ua.get(H))&&
3570<H.length)for(var S=0;S<H.length;S++){var Z=H[S];if(Z[J])try{Z[J].call(Z,M)}catch(ea){console.warn("[SDF] Can't notify component event '"+J+"': "+ea)}}}function bb(H,J){this.selector=H;this.$ui=J;this.rootElement=J.get(0);this.metadata=new Map;this.templates=new Map;this.observers=[];k(this,this.rootElement)}window.sg=window.sg||{};window.sg.sdf=window.sg.sdf||{};var Jb={html:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",svg:"http://www.w3.org/2000/svg",xbl:"http://www.mozilla.org/xbl",
358xul:"http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"},ua=new Map,Qa=new Map;bb.prototype={init:function(H){ha(this.selector,"onBeforeInit",this);var J=t(this.rootElement.getAttribute("data-sdf-bind"));J&&0<J.length&&((H=z(H,J))&&aa(this,this.rootElement,H),this.rootElement.removeAttribute("data-sdf-bind"),this.rootElement.boundData=H);ha(this.selector,"onAfterInit",this)},meta:function(H){return this.metadata.get(H)},invokeTemplate:function(H,J,M){q(H)&&(H=l(H),H=T(H,J));return(H=this.templates.get(H))?
359w(this,H,J,M):null},addObserver:function(H){this.observers.push(H)},removeObserver:function(H){H=this.observers.indexOf(H);0<=H&&this.observers.splice(H,1)},notify:function(H,J){for(var M=0;M<this.observers.length;M++){var S=this.observers[M];if(S[H])try{S[H].call(S,J)}catch(Z){console.warn("[SDF] Notification failure: '"+H+"': "+Z)}}}};window.sg.sdf.comp={dispatch:function(H){var J=a(H);if(0!==J.length){var M=Qa.get(H);M||(M=[],Qa.set(H,M),J.each(function(){var S=new bb(H,a(this));ha(H,"onCreated",
360S);M.push(S)}));return 1===M.length?M[0]:M}},dispose:function(H){if(Qa.has(H)){for(var J=Qa.get(H),M=0;M<J.length;M++)ha(H,"onDispose",J[M]);Qa["delete"](H)}},attachListener:function(H,J){var M=ua.get(H);M||(M=[],ua.set(H,M));M.push(J)},detachListener:function(H,J){(H=ua.get(H))&&0<H.length&&(J=H.indexOf(J),0<=J&&H.splice(J,1))}}})(jQuery,document);
361(function(a){function m(g){this._capacity=g;this._queue=[]}function k(){this._handlerMap={}}window.sg=window.sg||{};window.sg.sdf=window.sg.sdf||{};var f={prepareNamespace:function(g,h){var n=a.trim(g).split(".");g=null;h=h||window;n=$jscomp.makeIterator(n);for(var e=n.next();!e.done;e=n.next())e=e.value,null==g?(g=h[e])||(g=h[e]={}):g=g[e]=g[e]||{};return g},resolve:function(g,h){g=a.trim(g).split(".");if(h=h||window){g=$jscomp.makeIterator(g);for(var n=g.next();!n.done&&(h=h[n.value],"undefined"!==
362typeof h&&null!=h);n=g.next());}return h},getImagePreset:function(g,h,n){function e(l,q){var t=l.lastIndexOf(".");if(0<t)switch(l.substring(t+1).toLowerCase()){case "jpg":case "jpeg":return"JPG";case "png":return"PNG";case "gif":return"GIF";default:if("LazyLoad_Home"===q)return"PNG"}return"IMG"}h=a.trim(h);n=a.trim(n);g=a.trim(g);var b=h.indexOf("?$");if(0<b){var d=h.indexOf("$",b+2);if(0<d)return b=h.substring(b+2,d).split("_"),g=""!==g?g:1===b.length?b[0]:b.slice(0,b.length-1).join("_"),h=""!==
363n?n.toUpperCase():1===b.length?e(h,g):b[b.length-1].toUpperCase(),"?$"+g+"_"+h+"$"}return function(l,q,t){if(""===q)return"";l=""!==t?t.toUpperCase():e(l,q);return"?$"+q+"_"+l+"$"}(h,g,n)},presetImage:function(g,h,n){h=a.trim(h);if(0<h.length){var e=h.indexOf("?$");if(0>e)return h+this.getImagePreset(g,h,n);if(0<e){var b=h.indexOf("$",e+2);b=0<b?h.substring(b+1):"";return h.substring(0,e)+this.getImagePreset(g,h,n)+b}}return h},previewImageSrc:function(g,h){return this.presetImage("LazyLoad_Home",
364g,h)},productCardImageSrc:function(g,h){return this.presetImage("PC_PRD_CARD",g,h)}};m.prototype={offer:function(g){return this._queue.length<this._capacity?(this._queue.push(g),!0):!1},put:function(g){var h=null;this._queue.length===this._capacity&&(h=this._queue.shift());this._queue.push(g);return h},get:function(){var g=null;0<this._queue.length&&(g=this._queue[0]);return g},take:function(){var g=null;0<this._queue.length&&(g=this._queue.shift());return g},clear:function(){this._queue=[]},capacity:function(){return this._capacity},
365size:function(){return this._queue.length}};f.Queue=m;k.prototype={register:function(g,h){if(h){var n=this._handlerMap[g];n||(n=[],this._handlerMap[g]=n);n.push(h)}},unregister:function(g,h){if(h){var n=this._handlerMap[g];if(n&&0<n.length){var e=[];n=$jscomp.makeIterator(n);for(var b=n.next();!b.done;b=n.next())b=b.value,b!==h&&e.push(b);this._handlerMap[g]=e}}},fire:function(g,h,n){var e=this._handlerMap[g];if(e&&0<e.length){g={};e=$jscomp.makeIterator(e);for(var b=e.next();!b.done;g={$jscomp$loop$prop$h$101:g.$jscomp$loop$prop$h$101},
366b=e.next())g.$jscomp$loop$prop$h$101=b.value,setTimeout(function(d){return function(){d.$jscomp$loop$prop$h$101.call(n||this,h)}}(g),10)}}};f.eventBroker=new k;window.sg.sdf.util=f})(jQuery);(function(a){function m(k,f){a(k).each(function(g,h){h.hasAttribute(f)||h.setAttribute(f,"")})}a(function(){m("img","alt")})})(jQuery);
367(function(){function a(k,f){var g=f+"_desktop",h=k[g],n=f+"_mobile",e=k[n];
367"mobile"===m?e&&0<e.length?k[f]=e:!k[f]&&h&&0<h.length&&(k[f]=h):"desktop"===m&&(h&&0<h.length?k[f]=h:!k[f]&&e&&0<e.length&&(k[f]=e));delete k[g];delete k[n]}var m=function(){var k=window,f="inner";"innerWidth"in window||(f="client",k=document.documentElement||document.body);return 767<k[f+"Width"]?"desktop":"mobile"}();(function(){var k=document.querySelectorAll("script[data-object-type\x3d'VideoObject']");if(k&&0<k.length)for(var f=
3680,g=k.length;f<g;f++){var h=JSON.parse(k[f].innerText);a(h,"thumbnailUrl");a(h,"contentUrl");k[f].innerText=JSON.stringify(h)}})()})();
369(function(){window.sg=window.sg||{};window.sg.common=window.sg.common||{};window.sg.components=window.sg.components||{};var a={BREAKPOINTS:{DESKTOP:1440,MOBILE:767,MOBILE_UNDER:360},SELECTOR:{RES_IMG:".responsive-img",VIDEO:".video",LAZY_LOAD:".lazy-load",PREVIEW_IMG:".preview",INDICATOR:".indicator"},KEY_CODE:{TAB:9,ENTER:13,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,ESC:27}},m,k,f="",g=null,h=null,n=!!document.querySelector(".wearable-bc"),e=new Intl.Segmenter(void 0,
370{granularity:"grapheme"}),b={getViewPort:function(){var d=window,l="inner";"innerWidth"in window||(l="client",d=document.documentElement||document.body);return{width:d[l+"Width"],height:d[l+"Height"]}},getCurrentDevice:function(){return b.getViewPort().width>a.BREAKPOINTS.MOBILE?"desktop":"mobile"},getCurrentMediaType:function(){var d=b.getViewPort().width;return d>a.BREAKPOINTS.MOBILE?d>a.BREAKPOINTS.DESKTOP?"desktop-over":"desktop":d>a.BREAKPOINTS.MOBILE_UNDER?"mobile":"mobile-under"},isInVerticalViewPort:function(d,
371l){l=void 0===l?200:l;d=d.getBoundingClientRect();return d.top-l<=b.getViewPort().height&&d.bottom>=0+(this.scrollFlag?null:b.getStickyNavHeightPromise())},isInHorizontalViewPort:function(d,l){l=void 0===l?200:l;d=d.getBoundingClientRect();return d.left-l<=b.getViewPort().width&&0<=d.right+l},isVerticalVisible:function(d,l){return b.isInVerticalViewPort(d,void 0===l?200:l)&&!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},isHorizontalVisible:function(d,l){return b.isInHorizontalViewPort(d,
372void 0===l?200:l)&&!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},isInViewPort:function(d){return b.isInVerticalViewPort(d)&&b.isInHorizontalViewPort(d)},isVisible:function(d){return b.isInViewPort(d)&&!!(d.offsetWidth||d.offsetHeight||d.getClientRects().length)},scrollTo:function(d,l){var q=document.documentElement,t=q.scrollTop,w=q.scrollHeight,x=q.clientHeight;q=q.scrollLeft;d>w-x&&(d=w-x);var B=isNaN(l)?t:l;B+=(d-t)/7;0>B?B=0:B>w-x&&(B=w-x);l=Math.ceil(B);window.scrollTo(q,l);l!==
373d?m=setTimeout(function(){b.scrollTo(d,B)},15):clearTimeout(m)},setImageSpecGuide:function(d,l){var q=document.createElement("span");q.innerHTML=l;q.style.position="absolute";q.style.display="inline-block";q.style.top="50%";q.style.right="50%";q.style.width="100%";q.style.textAlign="center";q.style.fontStyle="italic";q.style.transform="translateX(50%) translateY(-50%)";q.style.color="#fff";q.style.fontSize="30px";q.classList.add("media-size-guide");d.appendChild(q)},extend:function(d,l){Object.keys(l).forEach(function(q){d[q]=
374l[q]});return d},setCookie:function(d,l,q){var t=new Date;t.setTime(t.getTime()+864E5*q);document.cookie=d+"\x3d"+l+"; expires\x3d"+t.toUTCString()+"; path\x3d/"},getCookie:function(d){return(d=document.cookie.match("(^|;) ?"+d+"\x3d([^;]*)(;|$)"))?d[2]:null},triggerEvent:function(d,l,q,t,w){q=void 0===q?null:q;t=void 0===t?!1:t;w=void 0===w?!0:w;if("function"===typeof CustomEvent)var x=new CustomEvent(l,{bubbles:t,cancelable:w,detail:q});else x=document.createEvent("CustomEvent"),x.initCustomEvent(l,
375t,w,q);d.dispatchEvent(x)},hiddenScroll:function(){if(!0!==this.scrollFlag){this.scrollFlag=!0;this.currentPos=window.scrollY||document.documentElement.scrollTop;var d=document.querySelector("body");var l=0<this.currentPos?"-"+this.currentPos+"px":0;d.style.position="fixed";d.style.width="100%";d.style.top=l}},visibleScroll:function(){if(!0===this.scrollFlag){this.scrollFlag=!1;var d=document.querySelector("body");d.style.position="";d.style.width="";d.style.top="";window.scrollTo(0,this.currentPos)}},
376getDirection:function(){return window.getComputedStyle(document.body).direction},addEventListener:function(d,l,q){if(d){k||(k=new WeakMap);var t=k.has(d)?k.get(d):{};t[l]||(t[l]=[]);t[l].push(q);k.set(d,t);d.addEventListener(l,q)}},removeAllEventListeners:function(d,l){if(d&&k&&k.has(d)){var q=k.get(d);q[l]&&(q[l].forEach(function(t){d.removeEventListener(l,t)}
376),delete q[l],Object.keys(q).length||k.delete(d))}},closest:function(d,l){do{if(d.matches?d.matches(l):d.msMatchesSelector(l))return d;d=d.parentElement||
377d.parentNode}while(null!==d&&1===d.nodeType);return null},popupControl:{closeParam:null,popstateHandler:function(){window.history.state?"popOpen"===window.history.state.page&&(window.sg.common.utils.popupControl.closeParam(),window.sg.common.utils.popupControl.close()):(window.sg.common.utils.popupControl.closeParam(),window.sg.common.utils.popupControl.close())},open:function(d){this.closeParam=d;window.removeEventListener("popstate",this.popstateHandler);window.addEventListener("popstate",this.popstateHandler);
378d=window.history.state&&"popOpen"===window.history.state.page;(new URLSearchParams(window.location.search)).has("addon")||d||window.history.pushState({page:"popOpen"},"",""+window.location.href);n&&b.hideOverDimEls()},close:function(d){d=void 0===d?!1:d;this.closeParam=null;window.history.state&&("popOpen"===window.history.state.page&&(d?window.history.back():window.history.forward(),window.removeEventListener("popstate",this.popstateHandler)),n&&b.showOverDimEls())}},setSwiperIndicatorTaggingAttributes:function(d,
379l){var q=JSON.parse(d);[].concat($jscomp.arrayFromIterable(l.querySelectorAll(".swiper-pagination-bullet"))).forEach(function(t,w){t.setAttribute("an-tr",q.anTr);t.setAttribute("an-ca",q.anCa);t.setAttribute("an-ac",q.anAc);t.setAttribute("an-la",""+q.anLa+(w+1))})},isEnglish:function(d){return/^[a-zA-Z]*$/.test(d)},isNumber:function(d){return/^[0-9]*$/.test(d)},isEngNum:function(d){return/^[a-zA-Z0-9]*$/.test(d)},isEmail:function(d){return/^[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*@[0-9a-zA-Z]([-_.]?[0-9a-zA-Z])*.[a-zA-Z]{2,3}$/i.test(d)},
380detectTransitionEndEvent:function(d){for(var l={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"},q=Object.keys(l),t=0;t<q.length;t++)if(void 0!==d.style[q[t]])return l[q[t]]},isRtl:function(){return"RTL"===getComputedStyle(document.body).direction.toUpperCase()},setMobileFocusLoop:function(d){do{for(var l=d.parentElement.childNodes,q=0;q<l.length;q++)1===l[q].nodeType&&l[q]!==d&&"SCRIPT"!==l[q].tagName.toUpperCase()&&"STYLE"!==
381l[q].tagName.toUpperCase()&&(l[q].setAttribute("data-aria-hidden",l[q].getAttribute("aria-hidden")||"null"),l[q].setAttribute("aria-hidden","true"));d=d.parentElement}while(d!==document.body)},removeMobileFocusLoop:function(){for(var d=document.querySelectorAll("[data-aria-hidden]"),l=0;l<d.length;l++){var q=d[l].getAttribute("data-aria-hidden");"null"===q?d[l].removeAttribute("aria-hidden"):d[l].setAttribute("aria-hidden",q);d[l].removeAttribute("data-aria-hidden")}},detectScrollType:function(){if(f)return f;
382f="reverse";var d=document.createElement("div");d.appendChild(document.createTextNode("tmpDivEl"));d.dir="rtl";d.style.fontSize="12px";d.style.width="4px";d.style.height="2px";d.style.position="absolute";d.style.overflow="scroll";document.body.appendChild(d);0<d.scrollLeft?f="default":(d.scrollLeft=2,2>d.scrollLeft&&(f="negative"));document.body.removeChild(d);return f},getNormalizedScrollLeft:function(d){if(b.isRtl())switch(b.detectScrollType()){case "negative":return d.scrollWidth-d.clientWidth+
383d.scrollLeft;case "reverse":return d.scrollWidth-d.clientWidth-d.scrollLeft}return d.scrollLeft},setNormalizedScrollLeft:function(d,l){if(b.isRtl())switch(b.detectScrollType()){case "negative":d.scrollLeft=d.clientWidth-d.scrollWidth+l;break;case "reverse":d.scrollLeft=d.scrollWidth-d.clientWidth-l;break;default:d.scrollLeft=l}else d.scrollLeft=l},isPassiveSupported:function(){if(null===g)try{var d={get passive(){g=!0}};window.addEventListener("test",d,d);window.removeEventListener("test",d,d)}catch(l){g=
384!1}return g},makeDate:function(d){var l=d.replace(/[+|-][0-9]{4}$/,""),q=new Date(l);l=d.substring(l.length);""!==l&&(d=parseInt(l.substring(0,3),0),l=parseInt(l.substring(3),0),0>d&&(l*=-1),q.setHours(q.getHours()+-1*d),q.setMinutes(q.getMinutes()+-1*l));return q},getTimeStatus:function(d,l){d=b.makeDate(d);l=b.makeDate(l);var q=new Date;return q>=d?q>l?"after":"live":"before"},showBambuserLiveShopping:function(d){window.onBambuserLiveShoppingReady=function(q){q.configure({buttons:{dismiss:q.BUTTON.MINIMIZE}})};
385if(!window.initBambuserLiveShopping){window.initBambuserLiveShopping=function(q){window.initBambuserLiveShopping.queue.push(q)};window.initBambuserLiveShopping.queue=[];var l=document.createElement("script");l.src="https://lcx-embed.bambuser.com/samsung/embed.js";document.body.appendChild(l)}window.initBambuserLiveShopping({showId:d,type:"overlay"})},removeReCaptchaFrameBorder:function(){0<document.querySelectorAll('[title\x3d"reCAPTCHA"]').length&&[].concat($jscomp.arrayFromIterable(document.querySelectorAll('[title\x3d"reCAPTCHA"]'))).forEac
385h(function(d){d.removeAttribute("frameborder")})},
386changeActiveReCaptchaProperty:function(){0<document.querySelectorAll('[title\x3d"reCAPTCHA"]').length&&[].concat($jscomp.arrayFromIterable(document.querySelectorAll('[title\x3d"reCAPTCHA"]'))).forEach(function(d){d.setAttribute("aria-hidden","true");d.removeAttribute("frameborder");/Android/i.test(navigator.userAgent)&&d.removeAttribute("role")})},changeInActiveReCaptchaProperty:function(){0<document.querySelectorAll('[title\x3d"reCAPTCHA"]').length&&[].concat($jscomp.arrayFromIterable(document.querySelectorAll('[title\x3d"reCAPTCHA"]'))).forEach(function(d){d.removeAttribute("aria-hidden");
387/Android/i.test(navigator.userAgent)&&d.setAttribute("role","presentation")})},buyingFocus:function(d){(d=document.querySelector(['.pdd-buying-tool [data-target-popup\x3d"'+d+'"]','.pd-buying-tool [data-target-popup\x3d"'+d+'"]','.wearable-bc-buying [data-target-popup\x3d"'+d+'"]'].join()))&&d.focus()},hideOverDimEls:function(){h||(h=[{display:null,sel:"#spr-live-chat-app"},{display:null,sel:"#QSIFeedbackButton-btn"},{display:null,sel:"#kampyleButtonContainer"}],h.forEach(function(d){var l=document.querySelector(d.sel);
388l&&(d.display=l.style.display,l.style.display="none")}))},showOverDimEls:function(){h&&(h.forEach(function(d){var l=document.querySelector(d.sel);l&&(l.style.display=d.display)}),h=null)},bindRaf:function(d){var l=!1;return function(q){l||(l=!0,requestAnimationFrame(function(){l=!1;d(q)}))}},getFirstFocusableEl:function(d,l){l=void 0===l?[]:l;d=d?d:document;var q=function(B){return!!(B.offsetWidth||B.offsetHeight||B.getClientRects().length)&&"hidden"!==getComputedStyle(B).visibility},t=function(B){if(l.length)for(var D=
3890;D<l.length;D++)if(B.matches(l[D]))return!0;return!1};if((d.matches?d.matches('input:not([tabindex\x3d"-1"]), select:not([tabindex\x3d"-1"]), textarea:not([tabindex\x3d"-1"]), button:not([disabled]):not([tabindex\x3d"-1"]), [href]:not(use):not([tabindex\x3d"-1"]), [tabindex]:not([tabindex\x3d"-1"])'):d.msMatchesSelector('input:not([tabindex\x3d"-1"]), select:not([tabindex\x3d"-1"]), textarea:not([tabindex\x3d"-1"]), button:not([disabled]):not([tabindex\x3d"-1"]), [href]:not(use):not([tabindex\x3d"-1"]), [tabindex]:not([tabindex\x3d"-1"])'))&&
390q(d))return d;d=d.querySelectorAll('input:not([tabindex\x3d"-1"]), select:not([tabindex\x3d"-1"]), textarea:not([tabindex\x3d"-1"]), button:not([disabled]):not([tabindex\x3d"-1"]), [href]:not(use):not([tabindex\x3d"-1"]), [tabindex]:not([tabindex\x3d"-1"])');if(!d.length)return null;for(var w=0;w<d.length;w++){var x=d[w];if(q(x)&&!t(x))return x}},setFocusFirstFocusableEl:function(d,l){l=void 0===l?[]:l;if(d=b.getFirstFocusableEl(d,l))return d.focus(),d},setFocusNextFocusableEl:function(d){if(!(d&&
391d instanceof Element))return null;var l=d.nextElementSibling;if(l)return(d=b.getFirstFocusableEl(l))?(d.focus(),d):b.setFocusNextFocusableEl(l);l=d.parentElement;return l===document.body?null:b.setFocusNextFocusableEl(l)},setFocusFirstEl:function(d,l){var q=d.querySelector(l);if(q){q.setAttribute("tabindex",0);var t=function(){q.removeAttribute("tabindex");q.removeEventListener("blur",t)};requestAnimationFrame(function(){q.addEventListener("blur",t);q.focus()})}},getMobileOS:function(){var d=navigator.userAgent;
392return/android/i.test(d)?"android":/iPad|iPhone|iPod|iPad Simulator|iPhone Simulator|iPod Simulator/.test(d)||"MacIntel"===navigator.platform&&1<navigator.maxTouchPoints?"ios":"other"},getStickyNavHeightPromise:function(d){d=void 0===d?!1:d;var l=[],q=null;".explore-lnb-navigation .explore-lnb.sticky-nav;.nv07-explore-floating-navigation.use-sticky-nav;.floating-navigation.floating-navigation--fixed;.nv14-visual-lnb__container.sticky;.lnb-nav.lnb-nav--sticky.lnb-nav--fixed;.sticky-navigation-text.is-fixed;.pdd01-anchor-nav-v2--fixed .pdd01-anchor-nav-v2__menu;.pdd43-master-compare__sticky".split(";").forEach(function(t){var w=
393document.querySelector(t);w&&0<w.offsetWidth&&0<w.offsetHeight&&(d?(t=new Promise(function(x){var B=null,D=w.offsetHeight,z=setInterval(function(){w.offsetHeight===D?(clearInterval(z),B+=w.offsetHeight,x(B)):D=w.offsetHeight},100)}),l.push(t)):q+=w.offsetHeight)});return d?Promise.allSettled(l):q},scrollHash:function(){var d=window.location.hash.trim().replace("#","");document.getElementById(d)&&b.getStickyNavHeightPromise(!0).then(function(l){var q=null;l.forEach(function(t){q+=t.value});window.scrollTo(0,
394Math.round(document.getElementById(d).getBoundingClientRect().top+window.scrollY)-q)})},getEllipsis:function(d,l){function q(D){if(!x)if(D.nodeType===Node.TEXT_NODE){var z=[].concat($jscomp.arrayFromIterable(e.segment(D.textContent))),T=l-w;z.length>T&&(x=D,B=T);w+=z.length}else D.nodeType===Node.ELEMENT_NODE&&Array.from(D.childNodes).forEach(function(Y){q(Y)})}var t=document.createElement("div");t.innerHTML=d;var w=0,x=null,B=0;q(t);if(!x)return d;d=[].concat($jscomp.arrayFromIterable(e.segment(x.textContent)));
395x.textContent=d.slice(0,B).map(function(D){return D.segment}).join("")+"...";for(d=x;d&&d!==t;){for(;d.nextSibling;)d.nextSibling.remove();d=d.parentNode}return t.innerHTML},setScrollPaddingTop:function(){var d={};return function(l,q){Number.isNaN(Number(q))||(d[l]=Number(q),l=Object.values(d).reduce(function(t,w){return t+w},0),0<l?document.querySelector("html").style.scrollPaddingTop=l+3+"px":document.querySelector("html").style.scrollPaddingTop="")}}(),getFileData:function(d){return window.__fileData__&&
396window.__fileData__[d]}};window.sg.common.constants=a;window.sg.common.utils=b;window.sg.common.bindEvents={hashChange:function(){window.removeEventListener("hashchange",window.sg.common.utils.scrollHash);window.addEventListener("hashchange",window.sg.common.utils.scrollHash)}};window.sg.common.bindEvents.hashChange()})();
397(function(){var a={},m=window.sg.common.utils,k=m.extend,f=m.closest,g=function(n,e){e=void 0===e?{}:e;if(!n||n.nodeType!==Node.ELEMENT_NODE)throw new TypeError("Element should be given to initialize.");this.el=n;this.options={isRoot:!0,shouldInitChildren:!0};k(this.options,e);this.children=new Map;this.init();this.constructor.instances.set(this.el,this)};g.create=function(n,e){return this.instances.get(n)||new this(n,e)};g.prototype.init=function(){this.options.isRoot&&this.options.shouldInitChildren&&
398this._initChildren();this._init()};g.prototype._initChildren=function(){var n=this;this._getChildEls().forEach(function(e){return n._initChild(e)})};g.prototype._getChildEls=function(n){n=void 0===n?this.el:n;n=Array.from(n.querySelectorAll("[data-comp-name]"));n.sort(function(e,b){if(e===b)return 0;e=e.compareDocumentPosition(b);return e&4||e&16?1:e&2||e&8?-1:0});return n};g.prototype._initChild=function(n){var e=a[n.getAttribute("data-comp-name")];e&&((e=e.create&&"function"===typeof e.create?e.create(n,
399{isRoot:!1,shouldInitChildren:!1}):e.instances&&e.instances.has(n)?e.instances.get(n):new e(n))&&e.swiper&&(e=e.swiper),this.children.set(n,e))};g.prototype._init=function(){};g.prototype.reInit=function(n){for(var e=[],b=0;b<arguments.length;++b)e[b-0]=arguments[b];var d;b={shouldInitChildren:!0};1===e.length?e[0]instanceof Element?d=e[0]:"string"===typeof e[0]?d=this.el.querySelector(e[0]):"object"===typeof e[0]&&(b=e[0]):2===e.length&&(e[0]instanceof Element?d=e[0]:"string"===typeof e[0]&&(d=this.el.querySelector(e[0])),
400"object"===typeof e[1]&&(b=e[1]));k(this.options,b);d||(d=this.el);!this.options.isRoot&&this.options.shouldInitChildren?(d=this._getRoot(),d.reInit.apply(d,$jscomp.arrayFromIterable(e))):(this.options.isRoot&&this._reInitChildren(d),this.el===d?this._reInit():this.el.contains(d)&&this._reInitChild(d),this.options.isRoot&&window.sg.common.lazyLoad.setLazyLoad())};g.prototype._getRoot=function(n){n=void 0===n?this.el:n;var e=f(n.parentElement,"[data-comp-name]");if(n)return n=this.constructor.instances.get(e),
401n.options.isRoot?n:this._getRoot(e)};g.prototype._reInitChildren=function(n){var e=this;n=void 0===n?this.el:n;this.children.forEach(function(b,d){e.el.contains(d)||(b.destroy&&"function"===typeof b.destroy&&b.destroy(),e.children.delete(d))});this._getChildEls(n).forEach(function(b){return e._reInitChild(b)})};g.prototype._reInitChild=function(n){this.children.has(n)?(n=this.children.get(n),n.reInit&&"function"===typeof n.reInit&&(n.options&&"shouldInitChildren"in n.options?n.reInit({shouldInitChildren:!1}):
402n.reInit())):this._initChild(n)};g.prototype._reInit=function(){this._init()};g.prototype.update=function(){this.options.isRoot&&this._updateChildren();this._update();this.options.isRoot&&window.sg.common.lazyLoad.setLazyLoad()};g.prototype._updateChildren=function(){var n=this;
402this.children.forEach(function(e,b){n.el.contains(b)&&e.update&&"function"===typeof e.update&&e.update()})};g.prototype._update=function(){};g.prototype.destroy=function(){var n=this;this.children.forEach(function(e,b){e.destroy&&
403"function"===typeof e.destroy&&e.destroy();n.children.delete(b)});this.children=null;this._destroy();this.constructor.instances.delete(this.el)};g.prototype._destroy=function(){};g.prototype.getChild=function(n){if(!(n instanceof Element))if("string"===typeof n)n=this.el.querySelector(n);else return;if(this.children&&this.children.has(n))return this.children.get(n);if(this.el.contains(n)){var e=a[n.getAttribute("data-comp-name")];if(e&&e.instances&&e.instances.has(n))return(n=e.instances.get(n))&&
404n.swiper&&(n=n.swiper),n}};g.prototype.setOptions=function(n){k(this.options,n)};g.prototype.emit=function(n,e,b){b=void 0===b?!1:b;if("function"===typeof CustomEvent)var d=new CustomEvent(n,{bubbles:b,detail:e});else d=document.createEvent("CustomEvent"),d.initCustomEvent(n,b,!1,e);this.el.dispatchEvent(d)};g.prototype.listen=function(n,e,b){this.el.addEventListener(n,e,b)};g.prototype.unListen=function(n,e,b){this.el.removeEventListener(n,e,b)};g.instances=new WeakMap;var h=function(n,e){if(!(n instanceof
405Element))if("string"===typeof n)n=document.querySelector(n);else throw new TypeError("Element or selector string should be given as an argument");var b=n.getAttribute("data-comp-name");if(!b||!a[b])throw new ReferenceError("Component class should be registered.");b=a[b];(e=b===g||b.prototype instanceof g?b.create(n,e):b.instances&&b.instances.has(n)?b.instances.get(n):new b(n))&&e.swiper&&(e=e.swiper);return e};m=function(n,e){a[n]=e;if(e===g||e.prototype instanceof g){var b=Array.from(document.querySelectorAll('[data-comp-name\x3d"'+
406n+'"]:not([data-auto-init\x3d"false"])'));b=b.filter(function(d){return!f(d.parentElement,"[data-comp-name]")});n=function(){return b.forEach(function(d){return h(d)})};"loading"===document.readyState?document.addEventListener("DOMContentLoaded",n):n()}};m("base",g);k(window.sg.components,{create:h,registerClass:m,unRegisterClass:function(n){a[n]=null;delete a[n]},getClass:function(n){return a[n]},Base:g})})();
407(function(){var a=[];window.sg.common.observer={register:function(m){"function"===typeof m&&-1===a.indexOf(m)&&a.push(m)},unRegister:function(m){if("function"===typeof m){var k=a.indexOf(m);-1<k&&m.splice(k,1)}},test:function(){a.forEach(function(m){m(document)})},handlers:a}})();
408(function(){var a=function(k){this.target="object"===typeof k?Array.isArray(k)?k:[k]:k?Array.prototype.slice.call(document.querySelectorAll(k)):[]};a.prototype.find=function(k){var f=[];this.target.forEach(function(g){f=f.concat(Array.prototype.slice.call(g.querySelectorAll(k)))});return new a(f)};a.prototype.eq=function(k){k=this.target[k];return new a(k?[k]:"")};a.prototype.parent=function(){return 0===this.target.length?new a(""):new a(this.target[0].parentNode?[this.target[0].parentNode]:"")};
409a.prototype.children=function(k){k=void 0===k?null:k;var f=[];this.target.forEach(function(g){f=k?f.concat(Array.prototype.slice.call(g.querySelectorAll(k))):f.concat(Array.prototype.slice.call(g.children))});return new a(f)};a.prototype.closest=function(k){function f(e){return(e.matches?e.matches(k):e.webkitMatchesSelector?e.webkitMatchesSelector(k):e.msMatchesSelector(k))?e:e===document.body?null:null!==e.parentNode?f(e.parentNode):null}function g(e){return e===k?e:e===document.body?null:g(e.parentNode)}
410if(0===this.target.length)return this;if(!this.target[0].parentElement)return new a([this.target]);var h=[],n="string"===typeof k;this.target.forEach(function(e){e=n?f(e):g(e);null!==e&&h.push(e)});return new a(h)};a.prototype.siblings=function(){return new a(function(k){return[].concat($jscomp.arrayFromIterable(k.parentElement.children)).filter(function(f){return f!==k})}(this.target[0]))};a.prototype.setLayerFocus=function(k,f,g){g=void 0===g?!0:g;var h=this.find(k);g&&h.attr("tabindex",0);h.addClass("layer-popup__looping");
411this.find(".layer-popup__looping--first").target.length||(g?h.prepend('\x3cdiv class\x3d"layer-popup__looping--first hidden" tabindex\x3d"0" aria-hidden\x3d"true"\x3e\x3c/div\x3e'):this.target[0].insertAdjacentHTML("afterbegin",'\x3cdiv class\x3d"layer-popup__looping--first hidden" tabindex\x3d"0" aria-hidden\x3d"true"\x3e\x3c/div\x3e'));var n=this.find(f);this.find(".layer-popup__looping--end").target.length||(g?n.after('\x3cdiv class\x3d"layer-popup__looping--end hidden" tabindex\x3d"0" aria-hidden\x3d"true"\x3e\x3c/div\x3e'):
412this.append('\x3cdiv class\x3d"layer-popup__looping--end hidden" tabindex\x3d"0" aria-hidden\x3d"true"\x3e\x3c/div\x3e'));k=this.find(".layer-popup__looping--first");
412f=this.find(".layer-popup__looping--end");k.off("focus").on("focus",function(){n.focus()});f.off("focus").on("focus",function(){h.focus()});h.focus()};a.prototype.offLayerFocus=function(){this.find(".layer-popup__looping").removeAttr("tabindex");this.find(".layer-popup__looping--first").off("focus").remove();this.find(".layer-popup__looping--end").off("focus").remove()};
413a.prototype.css=function(k){var f=this.target[0];if(f){if("string"===typeof k)return window.getComputedStyle(f)[k];this.target.forEach(function(g){Object.keys(k).forEach(function(h){g.style[h]=k[h]})})}};a.prototype.show=function(){var k=this.target;k&&k.forEach(function(f){m(f).css({display:"block"})})};a.prototype.hide=function(){var k=this.target;k&&k.forEach(function(f){m(f).css({display:"none"})})};a.prototype.scrollTop=function(k){var f=this.target[0];if(f){if(void 0===k)return f.scrollTop;
414f.scrollTop=k}};a.prototype.animate=function(k,f,g,h){var n=this;g=void 0===g?null:g;h=void 0===h?null:h;"string"!==typeof g&&(h=g,g=null);var e="webkitTransitionEnd oTransitionEnd otransitionend mozTransitionEnd moztransitionend transitionend transitionEnd".split(" ");this.target.forEach(function(b){function d(t){if(void 0===t||t.target===b)null!==h&&h(b),b.style.transition=q,e.forEach(function(w){b.removeEventListener(w,d);b.animateComplete=null})}var l=window.getComputedStyle(b);Object.keys(k).forEach(function(t){b.style[t]=
415l[t]});var q=b.style.transition;b.style.transitionDuration=f/1E3+"s";null!==g&&(b.style.transitionTimingFunction=g);["o","ms","moz","webkit"].forEach(function(t){b.style[t+"TransitionDuration"]=f/1E3+"s";null!==g&&(b.style[t+"transitionTimingFunction"]=g)});b.animateComplete=d;e.forEach(function(t){b.addEventListener(t,d)})});setTimeout(function(){n.css(k)}.bind(this),30)};a.prototype.finish=function(){var k=this;if(this.target[0]){var f=document.createEvent("Event");"webkitTransitionEnd oTransitionEnd otransitionend mozTransitionEnd moztransitionend transitionend transitionEnd".split(" ").forEach(function(g){f.initEvent(g,
416!1,!0);k.target.forEach(function(h){h.dispatchEvent(f)})});return this}};a.prototype.stop=function(){this.target.forEach(function(k){for(var f=0,g=window.getComputedStyle(k);k.style.length>f;){f++;var h=k.style[f-1];-1<h.indexOf("transition")||(k.style[h]=g[h])}k.style.transitionDuration="0s";["o","ms","moz","webkit"].forEach(function(e){k.style[e+"TransitionDuration"]="0s"});var n=k.animateComplete;"webkitTransitionEnd oTransitionEnd otransitionend mozTransitionEnd moztransitionend transitionend transitionEnd".split(" ").forEach(function(e){k.removeEventListener(e,
417n);k.animateComplete=null})});return this};a.prototype.isAnimate=function(){return this.target.some(function(k){if("function"===typeof k.animateComplete)return!0})};a.prototype.slideDown=function(k,f){var g=this;this.target.forEach(function(h){var n=h.style.height,e=h.style.display;h.style.display="block";var b=window.getComputedStyle(h).height;h.style.height="0px";var d=h.style.overflow;h.style.overflow="hidden";g.css({overflow:"hidden"});g.animate({height:b},k,function(){h.style.display=e;h.style.height=
418n;h.style.overflow=d;void 0!==f&&f()})})};a.prototype.slideUp=function(k,f){var g=this;this.target.forEach(function(h){function n(){h.style.height=e.height;h.style.overflow=e.overflow;h.style.padding=e.padding;void 0!==f&&f()}var e={height:h.style.height,overflow:h.style.overflow,padding:h.style.padding};h.style.height=window.getComputedStyle(h).height;setTimeout(function(){g.animate({overflow:"hidden",height:"0px",paddingTop:"0px",paddingBottom:"0px"},k,n)}.bind(g),30)})};a.prototype.index=function(){var k=
419this.target[0];if(k){var f=0;Array.prototype.slice.call(k.parentNode.children).forEach(function(g,h){k===g&&(f=h)});return f}};a.prototype.offset=function(){var k=this.target[0];if(k)return k.getBoundingClientRect()};a.prototype.width=function(){var k=this.target[0];if(k){var f=window.getComputedStyle(k);return k.offsetWidth-parseInt(f.paddingLeft,10)-parseInt(f.paddingRight,10)-parseInt(f.borderLeftWidth,10)-parseInt(f.borderRightWidth,10)}};a.prototype.innerWidth=function(){var k=this.target[0];
420if(k){var f=window.getComputedStyle(k);return k.offsetWidth-parseInt(f.borderLeftWidth,10)-parseInt(f.borderRightWidth,10)}};a.prototype.outerWidth=function(){var k=this.target[0];if(k)return k.clientWidth};a.prototype.height=function(){var k=this.target[0];if(k){var f=window.getComputedStyle(k);return k.offsetHeight-parseInt(f.paddingTop,10)-parseInt(f.paddingBottom,10)-parseInt(f.borderTopWidth,10)-parseInt(f.borderBottomWidth,10)}};
420a.prototype.innerHeight=function(){var k=this.target[0];if(k){var f=
421window.getComputedStyle(k);return k.offsetHeight-parseInt(f.borderTopWidth,10)-parseInt(f.borderBottomWidth,10)}};a.prototype.outerHeight=function(){var k=this.target[0];if(k)return k.clientHeight};a.prototype.isImageLoad=function(){return 0<this.target[0].naturalWidth&&this.target[0].naturalHeight?!0:!1};a.prototype.hasClass=function(k){var f=this.target[0];if(f)return(new RegExp("(\\s|^)"+k+"(\\s|$)")).test(f.className)};a.prototype.addClass=function(k){var f=this.target;f&&f.forEach(function(g){g.classList.add(k)})};
422a.prototype.removeClass=function(k){var f=this.target;f&&f.forEach(function(g){g.classList.remove(k)})};a.prototype.toggleClass=function(k){var f=this.target;f&&f.forEach(function(g){g.classList.toggle(k)})};a.prototype.attr=function(k,f){if(this.target){if(1<arguments.length)this.target.forEach(function(h){h.setAttribute&&h.setAttribute(k,f)});else{var g=this.target[0];return g?g.getAttribute(k):!1}return this}};a.prototype.removeAttr=function(k){this.target&&this.target.forEach(function(f){f.removeAttribute(k)})};
423a.prototype.text=function(k){this.target.forEach(function(f){f.textContent=k})};a.prototype.innerHTML=function(k){this.target&&(this.target[0].innerHTML=k)};a.prototype.append=function(k){this.target.forEach(function(f){Array.isArray(k)?k.forEach(function(g){"string"===typeof g?f.insertAdjacentHTML("beforeend",g):f.appendChild(g)}):"string"===typeof k?f.insertAdjacentHTML("beforeend",k):f.appendChild(k)})};a.prototype.after=function(k){this.target.forEach(function(f){Array.isArray(k)?(k=[].concat($jscomp.arrayFromIterable(k)).reverse(),
424k.forEach(function(g){"string"===typeof g?f.insertAdjacentHTML("afterend",g):f.insertAdjacentElement("afterend",g)})):"string"===typeof k?f.insertAdjacentHTML("afterend",k):f.insertAdjacentElement("afterend",k)})};a.prototype.prepend=function(k){this.target.forEach(function(f){Array.isArray(k)?k.forEach(function(g){"string"===typeof g?f.insertAdjacentHTML("beforebegin",g):g&&f.insertBefore(g,f.firstChild)}):"string"===typeof k?f.insertAdjacentHTML("beforebegin",k):k&&f.insertBefore(k,f.firstChild)})};
425a.prototype.before=function(){};a.prototype.clone=function(){if(this.target[0]){var k=[];this.target.forEach(function(f){k.push(f.cloneNode(!0))});return k}};a.prototype.remove=function(){this.target[0]&&this.target.forEach(function(k){k.parentNode.removeChild(k)})};a.prototype.focus=function(){var k=this.target[0];if(k&&k.focus)return k.focus(),this};a.prototype.blur=function(){var k=this.target[0];if(k)return k.blur(),this};a.prototype.on=function(k,f){var g=this.target;g&&g.forEach(function(h){a.instances.has(h)||
426a.instances.set(h,{event:[],handler:[]});a.instances.get(h).handler.push({event:k,handler:f});h.addEventListener(k,f)})};a.prototype.off=function(k,f){var g=this.target;if(g)return g.forEach(function(h){if(a.instances.has(h)){var n=a.instances.get(h);if(k&&f){var e=[];n.handler.forEach(function(d){d.event===k&&d.handler===f?h.removeEventListener(d.event,d.handler):e.push({event:d.event,handler:d.handler})});n.handler=e}else if(k){var b=[];n.handler.forEach(function(d){d.event===k&&h!==window?h.removeEventListener(d.event,
427d.handler):b.push({event:d.event,handler:d.handler})});n.handler=b}else h!==window&&(n.handler.forEach(function(d){h.removeEventListener(d.event,d.handler)}),n.handler=[])}}),this};a.prototype.trigger=function(k){if(this.target[0]){var f=document.createEvent("Event");f.initEvent(k,!1,!0);this.target.forEach(function(g){g.dispatchEvent(f)})}};a.prototype.moveScroll=function(k,f,g){f=void 0===f?500:f;g=void 0===g?null:g;var h=(new Date).getTime();if(0===this.target.length)return!1;if("HTML"!==this.target[0].tagName&&
428"BODY"!==this.target[0].tagName){var n=this.target[0],e=k-n.scrollTop,b=f,d=Math.ceil(Math.abs(e)/Math.ceil(b/16));requestAnimationFrame(function D(){var z=(new Date).getTime()-h;if(0<e){var T=n.scrollTop+d;n.scrollTop=n.scrollTop>k?k:T}else T=n.scrollTop-d,n.scrollTop=n.scrollTop<k?k:T;z<=b?requestAnimationFrame(D):(0<e?n.scrollTop<k&&(n.scrollTop=k):n.scrollTop>k&&(n.scrollTop=k),null!==g&&g())})}else{var l=Math.round(k),q=l-(document.body.scrollTop||document.documentElement.scrollTop),t=Math.ceil(Math.abs(q)/
429(f/16)),w=document.body.scrollLeft||document.documentElement.scrollLeft,x=null;requestAnimationFrame(function D(){var z=document.body.scrollTop||document.documentElement.scrollTop;if(x===z)null!==g&&g();else{if(0<q){var T=z+t;T>l&&(T=l)}else T=z-t,T<l&&(T=l);window.scrollTo(w,T);x=z;l!==T?requestAnimationFrame(D):null!==g&&g()}})}};a.prototype.moveScrollX=function(k,f,g){function h(){b.scrollLeft=e;null!==g&&g()}f=void 0===f?500:f;g=void 0===g?null:g;var n=(new Date).getTime();if(0===this.target.length)return!1;
430var e=k,b=this.target[0],d=e-b.scrollLeft,l=f,q=Math.ceil(Math.abs(d)/Math.ceil(l/16));requestAnimationFrame(function w(){var x=(new Date).getTime()-n;
430if(0<d){var B=b.scrollLeft+q;if(b.scrollLeft>e){h();return}}else if(B=b.scrollLeft-q,b.scrollLeft<e){h();return}b.scrollLeft=B;x<=l?requestAnimationFrame(w):0<d?b.scrollLeft<e&&h():b.scrollLeft>e&&h()})};a.instances=new WeakMap;var m=function(k){return new a(k)};m.ready=function(k){"loading"===document.readyState?document.addEventListener("DOMContentLoaded",
431k):k()};m.load=function(k){document.addEventListener("readystatechange",function(f){"complete"===f.target.readyState&&k()})};window.sg.common.libs={keyCode:{TAB_KEY:9,ENTER:13,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40},extend:function(k,f){Object.keys(f).forEach(function(g){k[g]=f[g]});return k}};window.sg.common.$q=m})();
432(function(){var a=window.sg.common.utils.isVerticalVisible,m=window.sg.common.utils.isHorizontalVisible,k=function(g){this.el=g=void 0===g?document:g;this.lazyEls=[];this.disabled=this.active=!1;this.tempTitle=document.querySelector("#tempTitle")&&document.querySelector("#tempTitle").value;this.tempTitleVerticalBuffer={"page-standard-pd":2E3,"page-feature-pd":2E3};this.tempTitleHorizontalBuffer={};this.init()};k.prototype.init=function(){this.setLazyLoad();this.bindEvents()};k.prototype.dispose=function(){this.el=
433null;this.lazyEls=[];this.unBindEvents()};k.prototype.setDisabled=function(g){(this.disabled=g=void 0===g?!0:g)||this.setLazyLoad()};k.prototype.getEls=function(){this.el&&(this.lazyEls=[].concat($jscomp.arrayFromIterable(this.el.querySelectorAll(".lazy-load"))))};k.prototype.reInit=function(){this.disabled=this.active=!1;this.setLazyLoad();this.unBindEvents();this.bindEvents()};k.prototype.handleLazyLoad=function(g){var h=void 0;g&&g.detail&&(h=g.detail.delay);this.setLazyLoad(h)};k.prototype.setLazyLoad=
434function(g){var h=this;g=void 0===g?200:g;var n=function(){h.disabled||(h.getEls(),h.lazyEls.forEach(function(e){h.load(e);0===h.lazyEls.length&&h.unBindEvents()}))};this.active||(0<g?(this.active=!0,setTimeout(function(){n();h.active=!1},g)):n())};k.prototype.setPreviewImageLoaded=function(g){var h=this,n=this.tempTitleVerticalBuffer&&this.tempTitleVerticalBuffer[this.tempTitle]||void 0,e=function(){!h.disabled&&a(g,n)&&
434([].concat($jscomp.arrayFromIterable(g.querySelectorAll(".image__preview"))).forEach(function(b){b.classList.contains("lazy-load")&&
435h.loadImage(b)}),document.removeEventListener("scroll",e),window.removeEventListener("resize",e),window.removeEventListener("orientationchange",e))};document.addEventListener("scroll",e);window.addEventListener("resize",e);window.addEventListener("orientationchange",e)};k.prototype.loadImmediately=function(g){g.classList.contains("image__preview")||g.classList.contains("image__main")||g.classList.contains("image__hover-image--hover")?this.loadImage(g):g.classList.contains("video")&&this.loadVideo(g);
436g.classList.contains("image-v2")&&this.loadImage(g,"all")};k.prototype.setLazyLoadManually=function(g){var h=this;g.classList.contains("lazy-load-man")?(this.loadImmediately(g),g.classList.remove("lazy-load-man")):[].concat($jscomp.arrayFromIterable(g.querySelectorAll(".lazy-load-man"))).forEach(function(n){h.loadImmediately(n);n.classList.remove("lazy-load-man")})};k.prototype.ignoreLazyLoadOnceUnder=function(g,h){[].concat($jscomp.arrayFromIterable(g.querySelectorAll(".lazy-load"))).forEach(function(n){var e=
437window.pageYOffset,b=n.getBoundingClientRect();(b.bottom+e<h||b.top+e<h)&&n.classList.add("lazy-load-ignore-once")})};k.prototype.forceLoad=function(g){var h=this;g.classList.contains("lazy-load")?this.loadImmediately(g):[].concat($jscomp.arrayFromIterable(g.querySelectorAll(".lazy-load"))).forEach(function(n){h.loadImmediately(n)})};k.prototype.load=function(g){var h=this.tempTitleVerticalBuffer&&this.tempTitleVerticalBuffer[this.tempTitle]||void 0,n=this.tempTitleHorizontalBuffe&&this.tempTitleHorizontalBuffer[this.tempTitle]||
438void 0;g.classList.contains("lazy-load-ignore-once")||(a(g,h)&&(g.classList.contains("image__preview")?this.loadImage(g):m(g,n)&&(g.classList.contains("image__main")||g.classList.contains("image__hover-image--hover")?this.loadImage(g):g.classList.contains("video")&&this.loadVideo(g))),g.classList.contains("image-v2")&&a(g)&&(this.loadImage(g,"preview"),m(g)&&this.loadImage(g,"main")));g.classList.remove("lazy-load-ignore-once")};k.prototype.clearLazy=function(g){if(g.classList.contains("image-v2")){var h=
439!1;[].concat($jscomp.arrayFromIterable(g.querySelectorAll("img"))).forEach(function(n){n.dataset.src&&(h=!0)});if(h)return}g.classList.remove("lazy-load");this.lazyEls=this.lazyEls.filter(function(n){return n!==g})};k.prototype.loadImage=function(g,h){var n=(h=void 0===h?null:h)?window.sg.common.imagev2:window.sg.common.image;n&&n.load(g,h);this.clearLazy(g)};k.prototype.loadVideo=function(g){var h=window.sg.common.video;h&&h.load(g);this.clearLazy(g)};k.prototype.bindEvents=function(){this.handleLazyLoad=
440this.handleLazyLoad.bind(this);document.addEventListener("scroll",this.handleLazyLoad);window.addEventListener("resize",this.handleLazyLoad);window.addEventListener("orientationchange",this.handleLazyLoad)};k.prototype.unBindEvents=function(){document.removeEventListener("scroll",this.handleLazyLoad);window.removeEventListener("resize",this.handleLazyLoad);window.removeEventListener("orientationchange",this.handleLazyLoad)};k.instance=null;var f={initAll:function(){k.instance&&(k.instance.dispose(),
441k.instance=null);k.instance=new k},init:function(){k.instance?k.instance.reInit():k.instance=new k},reInit:function(){f.init()},setLazyLoad:function(){k.instance||(k.instance=new k);k.instance.setLazyLoad(0)},setPreviewImageLoaded:function(g){k.instance||(k.instance=new k);k.instance.setPreviewImageLoaded(g)},setLazyLoadManually:function(g){g&&(k.instance||(k.instance=new k),k.instance.setLazyLoadManually(g))},ignoreLazyLoadOnceUnder:function(g,h){k.instance||(k.instance=new k);k.instance.ignoreLazyLoadOnceUnder(g,
442h)},setDisabled:function(g){g=void 0===g?!0:g;k.instance||(k.instance=new k);k.instance.setDisabled(g)},forceLoad:function(g){g&&(k.instance||(k.instance=new k),k.instance.forceLoad(g))}};window.sg.common.lazyLoad=f;document.addEventListener("DOMContentLoaded",f.initAll);"loading"!==document.readyState&&f.initAll()})();
443(function(){var a=window.sg.common.utils.getViewPort,m=window.sg.common.utils.getCurrentDevice,k=function(g){this.els={el:g,previewImgEl:null,mainImg
443El:null};this.dpr=this.maxWidth=this.device="";this.init()};k.prototype.init=function(){k.instances.has(this.els.el)||(k.instances.set(this.els.el,this),this.setElement(),this.els.mainImgEl.complete&&0!==this.els.mainImgEl.naturalWidth&&this.handleLoad(),this.setResponsive(),this.bindEvents())};k.prototype.setElement=function(){this.els.previewImgEl=
444this.els.el.querySelector(".image-v2__preview");this.els.mainImgEl=this.els.el.querySelector(".image-v2__main")};k.prototype.setResponsive=function(){var g=this,h=m(),n=this.getCurrentMaxWidth(),e=this.getCurrentDpr(),b=this.els.el.classList.contains("lazy-load")||this.els.el.classList.contains("lazy-load-man"),d=function(l,q){b?(l.dataset.src=void 0===l.dataset.src?"":l.dataset.src,0>l.dataset.src.indexOf(q)&&(l.dataset.src=q)):0>decodeURI(l.src).indexOf(q)&&(l===g.els.mainImgEl&&g.els.el.classList.remove("image-v2--main-loaded"),
445l.src=q)};this.els.previewImgEl&&this.device!==h&&(this.device=h,d(this.els.previewImgEl,this.els.previewImgEl.dataset[this.device+"Src"]),this.els.previewImgEl.dataset.desktopAlt&&("desktop"===this.device?this.els.previewImgEl.setAttribute("alt",this.els.previewImgEl.dataset.desktopAlt):this.els.previewImgEl.setAttribute("alt",this.els.previewImgEl.dataset.mobileAlt)));if(this.maxWidth!==n||this.dpr!==e)this.maxWidth=n,this.dpr=e,d(this.els.mainImgEl,this.els.mainImgEl.dataset[this.maxWidth+"w"+
446this.dpr+"xSrc"]),this.els.mainImgEl.dataset.desktopAlt&&("360"===this.maxWidth?this.els.mainImgEl.setAttribute("alt",this.els.mainImgEl.dataset.mobileAlt):this.els.mainImgEl.setAttribute("alt",this.els.mainImgEl.dataset.desktopAlt))};k.prototype.load=function(g){var h=this,n=function(e){e&&e.dataset.src&&0>decodeURI(e.src).indexOf(e.dataset.src)&&(e===h.els.mainImgEl&&h.els.el.classList.remove("image-v2--main-loaded"),e.src=e.dataset.src,e.removeAttribute("data-src"))};"preview"===g?n(this.els.previewImgEl):
447("main"!==g&&n(this.els.previewImgEl),n(this.els.mainImgEl))};k.prototype.handleLoad=function(){this.els.el.classList.add("image-v2--main-loaded")};k.prototype.bindEvents=function(){this.setResponsive=this.setResponsive.bind(this);window.addEventListener("resize",this.setResponsive);this.handleLoad=this.handleLoad.bind(this);this.els.mainImgEl.addEventListener("load",this.handleLoad)};k.prototype.getCurrentMaxWidth=function(){var g=a().width;return 768>g?"360":768<=g&&1366>g?"768":"1366"};k.prototype.getCurrentDpr=
448function(){return 1.5>window.devicePixelRatio?1:2};k.instances=new WeakMap;var f={initAll:function(g){g=void 0===g?document:g;var h=function(n){k.instances.has(n)||new k(n)};g!==document&&g.classList&&g.classList.contain("image-v2")?h(g):(g.querySelectorAll||(g=document),[].concat($jscomp.arrayFromIterable(g.querySelectorAll(".image-v2"))).forEach(function(n){h(n)}))},load:function(g,h){h=void 0===h?"all":h;k.instances.has(g)?k.instances.get(g).load(h):(new k(g)).load(h)}};window.sg.common.imagev2=
449f;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",f.initAll):f.initAll()})();
450(function(){var a=window.sg.common.utils.getCurrentDevice,m=window.sg.common.utils.detectTransitionEndEvent,k=function(g){this.el=g;this.init()};k.prototype.init=function(){k.instances.has(this.el)||(k.instances.set(this.el,this),this.setElement(),this.setResponsiveImage(),this.bindEvents())};k.prototype.reInit=function(){this.unBindEvents();this.setElement();this.setResponsiveImage();this.bindEvents()};k.prototype.setElement=function(){this.el.getAttribute("alt")||(this.el.setAttribute("alt",""),
451this.el.removeAttribute("role"))};k.prototype.destroy=function(){this.unBindEvents();k.instances.has(this.el)&&k.instances.delete(this.el);this.el=null};k.prototype.load=function(){0>decodeURI(this.el.src).indexOf(this.el.dataset.src)&&(this.el.src=this.el.dataset.src,this.el.classList.remove("image--loaded"),this.el.classList.remove("image--hide"),this.el.removeAttribute("aria-hidden"));this.el.removeAttribute("data-src")};k.prototype.setImageLoaded=function(){var g=this;this.el.classList.add("image--loaded");
452if(this.el.classList.contains("image__main")){this.el.style.transition="opacity .2s";this.el.parentElement.classList.add("image--main-loaded");var h=function(){g.el.style.transition="";var b=g.el.parentElement.querySelector(".image__preview");b&&(b.classList.add("image--hide"),b.setAttribute("aria-hidden","true"))},n=m(this.el);if(n){var e=function(){h();g.el.removeEventListener(n,e)};this.el.addEventListener(n,e)}else setTimeout(h,200)}};k.prototype.bindImageLoad=function(){if(this.el.classList.contains("image__main")||
453this.el.classList.contains("image__preview"))this.el.complete&&0!==this.el.naturalWi
453dth&&!this.el.classList.contains("image--loaded")&&this.setImageLoaded(),this.setImageLoaded=this.setImageLoaded.bind(this),this.el.addEventListener("load",this.setImageLoaded)};k.prototype.bindResponsive=function(){this.el.dataset.desktopSrc!==this.el.dataset.mobileSrc&&(this.setResponsiveImage=this.setResponsiveImage.bind(this),window.addEventListener("resize",this.setResponsiveImage))};k.prototype.bindEvents=function(){this.el.classList.contains("responsive-img")&&
454this.bindResponsive();this.bindImageLoad()};k.prototype.unBindEvents=function(){this.el.removeEventListener("load",this.setImageLoaded);window.removeEventListener("resize",this.setResponsiveImage)};k.prototype.setResponsiveImage=function(){if(this.el.classList.contains("responsive-img")){var g=a();if(this.device!==g){this.device=g;(g=this.el.dataset[this.device+"Src"])?this.el.style.removeProperty("display"):this.el.style.display="none";if(this.el.classList.contains("lazy-load")||this.el.classList.contains("lazy-load-man"))this.el.dataset.src=
455void 0===this.el.dataset.src?"":this.el.dataset.src,0>this.el.dataset.src.indexOf(g)&&(this.el.dataset.src=g);else{try{var h=decodeURI(this.el.src)}catch(n){h=this.el.src}0>h.indexOf(g)&&(this.el.classList.remove("image--loaded"),this.el.classList.remove("image--hide"),this.el.removeAttribute("aria-hidden"),this.el.src=g)}h=this.el.dataset[this.device+"Alt"];void 0!==h&&this.el.setAttribute("alt",h)}}};k.instances=new WeakMap;window.sg.components.registerClass("image",k);var f={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.image img:not([data-auto-init\x3d"false"])'))).forEach(function(g){k.instances.has(g)||
456new k(g)})},init:function(g){k.instances.has(g)||new k(g)},reInit:function(g){k.instances.has(g)?k.instances.get(g).reInit():new k(g)},load:function(g){k.instances.has(g)?k.instances.get(g).load():(new k(g)).load()},delete:function(g){k.instances.delete(g)},destroy:function(g){k.instances.has(g)&&k.instances.get(g).destroy()}};window.sg.common.image=f;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",f.initAll):f.initAll()})();
457(function(){var a={index:0,isYoutubeReady:!1,callbacks:[],enqueueOnYoutubeIframeApiReady:function(b){a.isYoutubeReady?b():a.callbacks.push(b)},onYouTubeIframeApiReady:function(){a.isYoutubeReady=!0;a.callbacks.forEach(function(b){b()});a.callbacks.splice(0)}};window.sg.common.videoApi=a;window.onYouTubeIframeAPIReady=a.onYouTubeIframeApiReady;var m={ACE:{accountId:"5685289444001",playerId:"WO3Tb7i1g"},AE:{accountId:"923227814001",playerId:"YVPxrKSek"},AE_ARABIC:{accountId:"923136719001",playerId:"E3oao1olw"},
458AE_ARABIC_CS:{accountId:"5711373595001",playerId:"9urZPAGHD"},AE_CS:{accountId:"5711373594001",playerId:"0XMYguG2Nw"},AFRICA_EN:{accountId:"923270648001",playerId:"lsyG00Wz0"},AFRICA_EN_CS:{accountId:"5711373605001",playerId:"t1guP7iYwy"},AFRICA_FR:{accountId:"923227818001",playerId:"Tmx2dzbrT"},AFRICA_FR_CS:{accountId:"5711373606001",playerId:"gLuvxDp4b"},AFRICA_PT:{accountId:"923136723001",playerId:"1CZXrnviEE"},AFRICA_PT_CS:{accountId:"5711373607001",playerId:"azVZUTl7x"},AL:{accountId:"5395474900001",
459playerId:"oKHrt1Hn6"},AL_CS:{accountId:"5711373614001",playerId:"if48zX24H"},AR:{accountId:"923270634001",playerId:"gqJSxYCzB"},AR_CS:{accountId:"5709700884001",playerId:"ojd4uMnUWl"},AT:{accountId:"923227809001",playerId:"wnRfbwIVL"},AT_CS:{accountId:"5711373581001",playerId:"cGZtAkJpT"},AU:{accountId:"923162666001",playerId:"VMb9FyMxk"},AU_CS:{accountId:"5709700889001",playerId:"bB2vkQudw"},BE:{accountId:"923136716001",playerId:"LzbXypCvz"},BE_CS:{accountId:"5675787971001",playerId:"sEimKv7IW"},
460BE_FR:{accountId:"923162674001",playerId:"FleM4KQofp"},BE_FR_CS:{accountId:"5675787972001",playerId:"7WhhmlxJj"},BG:{accountId:"923270643001",playerId:"Jo7zzVtd5"},BG_CS:{accountId:"5711373580001",playerId:"e6AWwoixf"},BR:{accountId:"923162661001",playerId:"v2BLpgM8d"},BR_CS:{accountId:"5709700879001",playerId:"qjm3J8bZLB"},CA:{accountId:"923270632001",playerId:"RUxsKbp4e"},CA_CS:{accountId:"5709700877001",playerId:"VCXS3jzBQ"},CA_FR:{accountId:"923227798001",playerId:"db9VQnzIIo"},CA_FR_CS:{accountId:"5709700876001",
461playerId:"Hghbkb4GOc"},CH:{accountId:"923162673001",playerId:"U0Tv0wE3G"},CH_CS:{accountId:"5711373582001",playerId:"wfkyW1T9N"},CH_FR:{accountId:"923227810001",playerId:"wvyBB7ZyD"},CH_FR_CS:{accountId:"5711373583001",playerId:"8iaLX3eay"},CL:{accountId:"923227801001",playerId:"nbGAqWiyZ"},CL_CS:{accountId:"5709700885001",playerId:"seAio3Iab1"},CN:{accountId:"923270636001",playerId:"UOGt9s1Ot"},CN_CS:{accountId:"5711373561001",playerId:"0polYNx0hB"},CO:{accountId:"923162663001",playerId:"VN3FsuEmoA"},
462CO_CS:{accountId:"5709700883001",playerId:"QkIcs4LRi"},CZ:{accountId:"923270642001",playerId:"JofGmsuUaU"},CZ_CS:{accountId:"5711373577001",playerId:"W4LcfRCdX"},DE:{accountId:"923227805001",playerId:"r5nOZyzd1"},DEV:{accountId:"901961867001",playerId:"jSPFC1gYrR"},DE_CS:{accountId:"5675787970001",playerId:"Ojq20h6rI"},DK:{accountId:"923270638001",playerId:"zThis2SPx"},DK_CS:{accountId:"5711373569001",playerId:"V6MCi9Amm"},EE:{accountId:"923227812001",playerId:"89aGBrdO5"},EE_CS:{accountId:"5711373586001",
463playerId:"h1RB4WzC8h"},EG:{accountId:"923162680001",playerId:"KWJoclhcD"},EG_CS:{accountId:"5711373603001",playerId:"t6vHuEvebf"},ES:{accountId:"923162670001",playerId:"yq8Y8zZ3dG"},ES_CS:{accountId:"5711373566001",playerId:"AzllJfpFb"},FI:{accountId:"923162672001",playerId:"B8mrwLnI6"},FI_CS:{accountId:"5711373571001",playerId:"1d4N0XfEj"},FR:{accountId:"923227807001",playerId:"aACd9IQvK"},FR_CS:{accountId:"5711373573001",playerId:"wfmvyAQHg"},GCS:{accountId:"1852113008001",playerId:"b1SElAGyQ"},
464GLOBAL:{accountId:"2933392367001",playerId:"i8zNocbMqF"},GR:{accountId:"923136713001",playerId:"VXwt3KwO7"},GR_CS:{accountId:"5711373576001",playerId:"OHk0ZpVMG"},HK:{accountId:"923227804001",playerId:"BlUhaVyrM"},HK_CS:{accountId:"5711373562001",playerId:"rUnBOAERZ"},HK_EN:{accountId:"923136709001",playerId:"y80dQbj5o"},HK_EN_CS:{accountId:"5711373563001",playerId:"oiUmA2Dpb"},HR:{accountId:"923270646001",playerId:"rtDIMNREJ"},HR_CS:{accountId:"5711373588001",playerId:"4dpG0kuPi"},HU:{accountId:"923270637001",
465playerId:"J3N8K2Ta8"},HU_CS:{accountId:"5711373567001",playerId:"xhpdyXZwQC"},ID:{accountId:"923162667001",playerId:"8VQZlxO23"},ID_CS:{accountId:"5709700891001",playerId:"eS8Ygw9D5N"},IE:{accountId:"923136711001",playerId:"Eby5I5ug3"},IE_CS:{accountId:"5711373564001",playerId:"g2yJSJmLr"},IL:{accountId:"923162679001",playerId:"CNuem5Ud0"},IL_CS:{accountId:"5711373596001",playerId:"CuXrQqYtZ"},IN:{accountId:"923162669001",playerId:"q6Ut0BCj1"},IN_CS:{accountId:"5711373560001",playerId:"CcOagXw6na"},
466IRAN:{accountId:"923270650001",playerId:"z13tWzaxK"},IRAN_CS:{accountId:"5711373600001",playerId:"rLjx2H1MSc"},IT:{accountId:"923136712001",playerId:"JhjbQ74fF"},IT_CS:{accountId:"5711373565001",playerId:"YeJZJaeSW"},JP:{accountId:"923162668001",playerId:"5syx1iggoU"},JP_CS:{accountId:"5711373559001",playerId:"1pWQq0OoW"},KZ_RU_CS:{accountId:"5711373593001",playerId:"IjzGA4NhB"},KZ_UR:{accountId:"923270647001",playerId:"1wWJHtrJL"},LATIN:{accountId:"923136703001",playerId:"Ejglgn7vR"},LATIN_CS:{accountId:"5709700880001",
467playerId:"xtj1AknXN"},LATIN_EN:{accountId:"923227800001",playerId:"PqDI8nhcAF"},LATIN_EN_CS:{accountId:"5709700881001",playerId:"BwUsVdHWJ"},LB:{accountId:"5359769185001",playerId:"I6JB29uKP"},LB_CS:{accountId:"5711373613001",playerId:"PF3r8iX45"},LED:{accountId:"2172563229001",playerId:"fZOTwR23Ja"},LEVANT:{accountId:"923227815001",playerId:"sNmJq2Rhtq"},LEVANT_CS:{accountId:"5711373601001",playerId:"S2BFseOxn"},LIVE:{accountId:"901973578001",playerId:"rkHiJmE8b"},LIVE2:{accountId:"901973578001",
468playerId:"BJroFThOM"},LT:{accountId:"923227813001",playerId:"UnNH8Q0aA"},LT_CS:{accountId:"5711373585001",playerId:"PLBhOXxqd"},LV:{accountId:"923270644001",playerId:"8DWjAYXe8t"},LV_CS:{accountId:"5711373584001",playerId:"wVmguU4uL"},MM:{accountId:"5395474902001",playerId:"vF6OMxYpz"},MM_CS:{accountId:"5711373615001",playerId:"HRve5S5Wk"},MX:{accountId:"923227799001",playerId:"yWADI9eqWt"},MX_CS:{accountId:"5709700878001",playerId:"fMFwGNOoA"},MY:{accountId:"923136706001",playerId:"kkY3yWnfk2"},
469MY_CS:{accountId:"5711373556001",playerId:"TUr9f1ZrD"},NL:{accountId:"923136717001",playerId:"Lv58R1RvL"},NL_CS:{accountId:"5675788007001",playerId:"MKP6lFpdB"},NO:{accountId:"923227806001",playerId:"RtYYg3Lhz"},NO_CS:{accountId:"5711373572001",playerId:"lpa9BAvSi"},NZ:{accountId:"923136704001",playerId:"uc2rRn2xNM"},NZ_CS:{accountId:"5709700890001",playerId:"C200YutMY"},N_AFRICA:{accountId:"923227817001",playerId:"xMwGwNxoe"},N_AFRICA_CS:{accountId:"5711373604001",playerId:"trym9TQi9"},PE:{accountId:"923162664001",
470playerId:"QnLGOyhWT"},PE_CS:{accountId:"5709700887001",playerId:"8g7eqsa4b"},PH:{accountId:"923136707001",playerId:"TPkcStHQq"},PH_CS:{accountId:"5711373557001",playerId:"XAANJvPl4I"},PK:{accountId:"923227816001",playerId:"KMGcvTLwI"},PK_CS:{accountId:"5711373602001",playerId:"ucBD9N7Wo"},PL:{accountId:"923270641001",playerId:"w6lBgsUzX"},PL_CS:{accountId:"5711373575001",playerId:"oimMVhVjJ"},PT:{accountId:"923270640001",playerId:"sdOVA4ZFD"},PT_CS:{accountId:"5711373574001",playerId:"coEoIreou"},
471PY:{accountId:"4455299568001",playerId:"DVT5m3yv2"},PY_CS:{accountId:"5711373610001",playerId:"Pog90o2pZ"},RO:{accountId:"923136715001",playerId:"Xpb5ogQRq"},RO_CS:{accountId:"5711373579001",playerId:"7m3xl6r857"},RS:{accountId:"923162676001",playerId:"An8gNEU4n"},RS_CS:{accountId:"5711373587001",playerId:"XkZo8R4hQ"},RU:{accountId:"923136718001",playerId:"prEGLNvtgw"},RU_CS:{accountId:"5711373589001",playerId:"TGIYbAEj4"},SA:{accountId:"923136720001",playerId:"UGyvbSD4m"},SA_CS:{accountId:"5711373597001",
472playerId:"e8LeXD9z2"},SA_EN:{accountId:"2571515532001",playerId:"e1aY2iob1"},SA_EN_CS:{accountId:"5711373598001",playerId:"HMfJhv02t"},SC:{accountId:"1275380501001",playerId:"uOrcEND0S"},SE:{accountId:"923162671001",playerId:"87s7LoiYm"},SEC:{accountId:"923136708001",playerId:"O0UmvJBBkC"},SE_CS:{accountId:"5711373568001",playerId:"YQAEzeCh7"},SG:{accountId:"923162665001",playerId:"VcCu1i5eGY"},SG_CS:{accountId:"5709700888001",playerId:"1uAHw2z66"},SI:{accountId:"3855502820001",playerId:"3iQ8u8kzHJ"},
473SI_CS:{accountId:"5711373609001",playerId:"aWXzB4G7Y"},SK:{accountId:"923227808001",playerId:"6pYCGSOVM"},SK_CS:{accountId:"5711373578001",playerId:"DtyAUtIWf"},TH:{accountId:"923227802001",playerId:"GjtcZdzhG"},TH_CS:{accountId:"5711373553001",playerId:"jhV8EaiQ2P"},TR:{accountId:"923136721001",playerId:"eo4EiXfOZ6"},TR_CS:{accountId:"5711373599001",playerId:"uw0Vade3U"},TW:{accountId:"923270635001",playerId:"gB0Jrk4eC"},TW_CS:{accountId:"5711373558001",playerId:"zRLdsvdiUi"},UA:{accountId:"923162678001",
474playerId:"1ZqNirAQQ"},UA_CS:{accountId:"5711373590001",playerId:"1oPqU5Hja"},UA_RU:{accountId:"923162677001",playerId:"TNhyfS3s0z"},UA_RU_CS:{accountId:"5711373592001",playerId:"n355uJ5toG"},UK:{accountId:"923136710001",playerId:"Ta4g51Ongy"},UK_CS:{accountId:"5675787969001",playerId:"X4XabEZljp"},UR:{accountId:"4455299570001",playerId:"6Sn4qURxs"},UR_CS:{accountId:"5711373612001",playerId:"SQg3bJxYB"},US:{accountId:"923227797001",playerId:"COJfPFSPz"},US_CS:{accountId:"5709700875001",playerId:"YtbrW77H5e"},
475VE:{accountId:"923162662001",playerId:"NGFTP7VzK"},VE_CS:{accountId:"5709700882001",playerId:"t00eQogYI"},VN:{accountId:"923136705001",playerId:"V8VheyNOH"},VN_CS:{accountId:"5711373555001",playerId:"4gy4Qw9sC"},ZA:{accountId:"2571515531001",playerId:"ohoOzqLWr"},ZA_CS:{accountId:"5711373608001",playerId:"lK2PT9hyDT"},GLOBAL_NW:{accountId:"1832636967001",playerId:"default"},GLOBAL_CPS:{accountId:"1832636966001",playerId:"HJ7xuijZz"}},k=window.sg.common.utils.isVisible,f=window.sg.common.utils.getCurrentDevice,
476g=window.sg.common.utils.getCookie,h=window.sg.common.utils.triggerEvent,n=function(b){this.el=b;this.init()};n.prototype.initValues=function(){this.type="";this.isResonsiveBind=this.isScrollPlayBind=this.isResponsive=this.isScrollPlay=this.isLazyLoad=this.isEmbed=!1;this.option={};this.defaultOption={mp4:{videoEl:'\x3cvideo class\x3d"video-player" playsinline\x3e\x3csource src\x3d"" type\x3d"video/mp4"\x3e\x3c/video\x3e',src:"",desktopSrc:"",mobileSrc:"",autoplay:!1,muted:!1,controls:!1,loop:!1,
477scrollplay:!1},youtube:{videoEl:'\x3ciframe class\x3d"video-player" src\x3d\'about:blank\' allowfullscreen allow\x3d"autoplay" sandbox\x3d"allow-scripts allow-same-origin allow-presentation" style\x3d"border: none;"\x3e\x3c/iframe\x3e',src:"https://www.youtube.com/embed/{{VIDEO_ID}}
477?wmode\x3dopaque\x26rel\x3d0\x26enablejsapi\x3d1\x26version\x3d3\x26origin\x3d{{ORIGIN}}",id:"",autoplay:!1,muted:!1},brightCove:{countryCode:"DEV",videoEl:'\x3cvideo data-embed\x3d"default" controls class\x3d"video-js video-player"\x3e\x3c/video\x3e',
478id:"",autoplay:!1,muted:!1},aparat:{videoEl:"\x3ciframe src\x3d'about:blank' allowfullscreen style\x3d\"border: none;\"\x3e\x3c/iframe\x3e",src:"https://www.aparat.com/video/video/embed/videohash/{{VIDEO_ID}}/vt/frame",liveSrc:"",autoplay:!1},url:{videoEl:"\x3ciframe src\x3d'about:blank' allowfullscreen style\x3d\"border: none;\"\x3e\x3c/iframe\x3e",src:""}};this.videoInfo={};this.toVideoState="";this.useDefaultImage=!1;this.isLazyLoad=this.el.classList.contains("lazy-load")||this.el.classList.contains("lazy-load-man");
479this.isEmbed=this.el.dataset.videoEmbed?"TRUE"===this.el.dataset.videoEmbed.toUpperCase():!1;this.videoData=this.el.dataset.videoData?JSON.parse(this.el.dataset.videoData):null;this.type=this.el.dataset.videoType};n.prototype.setElements=function(){this.videoData&&(this.setDefaultImage(),!this.isLazyLoad&&this.isEmbed&&this.setVideo())};n.prototype.init=function(){n.instances.has(this.el)||(n.instances.set(this.el,this),this.initValues(),this.setElements())};n.prototype.reInit=function(){this.unBindEvents();
480this.dispose();this.initValues();this.setElements()};n.prototype.load=function(){!this.isLazyLoad&&this.isEmbed||this.setVideo()};n.prototype.setDefaultImage=function(){var b=this.el.querySelector(".image");b&&(b.style.width=this.videoData.width?this.videoData.width:"100%",b.style.height=this.videoData.height?this.videoData.height:"100%");if(this.useDefaultImage="TRUE"===this.el.dataset.imageDefault.toUpperCase()){var d=g("__COM_SPEED");if(null===d||"L"!==d.toString().toUpperCase())this.useDefaultImage=
481!1}this.el.dataset.imageDefault=this.useDefaultImage.toString();b&&(this.useDefaultImage?b.classList.add("default-image--show"):b.setAttribute("aria-hidden","true"))};n.prototype.setVideo=function(){if(!this.useDefaultImage){switch(this.type){case "mp4":this.setMp4(this.videoData);break;case "youtube":this.setYoutube(this.videoData);break;case "brightcove":this.setBrightCove(this.videoData);break;case "aparat":this.setAparat(this.videoData);break;case "url":this.setIframe(this.videoData)}h(this.el,
482"videoInit",this.type)}};n.prototype.setMp4=function(b){var d=JSON.parse(JSON.stringify(this.defaultOption.mp4)),l=this.getEl(d.videoEl,this.el),q=l.querySelector("source");this.videoInfo.el=l;this.videoInfo.sourceEl=q;this.option=this.setOption(d,b);""!==this.option.src?q.setAttribute("src",this.option.src):(this.setResponsiveVideo(),this.isResponsive=!0,this.isResonsiveBind||(this.bindResponsive(),this.isResonsiveBind=!0));this.bindPlay();l.muted=this.option.muted;l.autoplay=this.option.autoplay;
483l.controls=this.option.controls;l.loop=this.option.loop;this.isEmbed&&(l.disableRemotePlayback=!0);this.option.scrollplay&&this.isEmbed&&(l.preload="auto",l.autoplay=!1,this.videoInfo.state="stop",this.isScrollPlay=!0,this.isScrollPlayBind||(this.bindScrollPlay(),this.isScrollPlayBind=!0));l.style.width=this.option.width?this.option.width:"100%";l.style.height=this.option.height?this.option.height:"100%";b=this.option[f()+"Caption"]||this.option.caption;this.setCaption(b,l);"play"===this.toVideoState?
484this.playMp4Video():"stop"===this.toVideoState&&this.stopMp4Video();this.toVideoState=""};n.prototype.setPlayed=function(){this.videoInfo.el.parentElement.classList.contains("video--played")||this.videoInfo.el.parentElement.classList.add("video--played")};n.prototype.bindPlay=function(){"mp4"===this.type&&(this.setPlayed=this.setPlayed.bind(this),this.videoInfo.el.addEventListener("play",this.setPlayed))};n.prototype.setScrollPlayVideo=function(){k(this.videoInfo.el)?"play"!==this.videoInfo.state&&
4851<=this.videoInfo.el.readyState&&(this.videoInfo.el.currentTime=0,this.videoInfo.el.play(),this.videoInfo.state="play"):"play"===this.videoInfo.state&&1<=this.videoInfo.el.readyState&&(this.videoInfo.el.pause(),this.videoInfo.state="pause")};n.prototype.bindScrollPlay=function(){"mp4"===this.type&&this.isScrollPlay&&(this.setScrollPlayVideo=this.setScrollPlayVideo.bind(this),this.videoInfo.el.addEventListener("loadedmetadata",this.setScrollPlayVideo),document.addEventListener("scroll",this.setScrollPlayVideo),
486window.addEventListener("resize",this.setScrollPlayVideo),window.addEventListener("orientationchange",this.setScrollPlayVideo),this.setScrollPlayVideo())};n.prototype.setResponsiveVideo=function(){var b=f();this.isEmbed&&this.device===b||(this.device=b,b=this.option[this.device+"Src"],0>this.videoInfo.sourceEl.src.indexOf(b)&&(this.videoInfo.sourceEl.src=b,this.videoInfo.el.load(),this.isScrollPlay&&(this.videoInfo.state="stop")),this.setCaption(this.option[this.device+"Caption"]||this.option.caption,
487this.videoInfo.el))};n.prototype.bindResponsive=function(){"mp4"===this.type&&this.isResponsive&&(this.setResponsiveVideo=this.setResponsiveVideo.bind(this),window.addEventListener("resize",this.setResponsiveVideo))};n.prototype.unBindEvents=function(){this.videoInfo.el&&(this.videoInfo.el.removeEventListener("play",this.setPlayed),this.videoInfo.el.removeEventListener("loadedmetadata",this.setScrollPlayVideo));document.removeEventListener("scroll",this.setScrollPlayVideo);window.removeEventListener("resize",
488this.setResponsiveVideo);window.removeEventListener("resize",this.setScrollPlayVideo);window.removeEventListener("orientationchange",this.setScrollPlayVideo)};n.prototype.destroy=function(){this.unBindEvents();this.dispose();n.instances.has(this.el)&&n.instances.delete(this.el);this.videoInfo=this.el=null};n.prototype.setYoutube=function(b){var d=this,l=window.sg.common.videoApi,q=JSON.parse(JSON.stringify(this.defaultOption.youtube)),t=this.getEl(q.videoEl,this.el);this.option=this.setOption(q,b);
489this.option.muted=void 0!==b.muted?b.muted:this.option.autoplay;this.option.src=this.option.src.replace("{{VIDEO_ID}}",this.option.id).replace("{{ORIGIN}}",window.location.origin)+"\x26autoplay\x3d"+(this.option.autoplay?"1":"0")+"\x26mute\x3d"+(this.option.muted?"1":"0");var w=this.option.id+l.index++;t.setAttribute("id",w);t.setAttribute("src",this.option.src);t.setAttribute("title",this.option.title);t.style.width=this.option.width?this.option.width:"100%";t.style.height=this.option.height?this.option.height:
490"100%";this.setCaption(this.option.caption,t);
490b=document.createElement("script");b.src="https://www.youtube.com/iframe_api";b.classList.add("sg-youtube-api");document.querySelector('script[src\x3d"'+b.src+'"]')||document.body.appendChild(b);var x=function(){"play"===d.toVideoState?d.playYoutubeVideo():"stop"===d.toVideoState&&d.stopYoutubeVideo();d.toVideoState=""};l.enqueueOnYoutubeIframeApiReady(function(){d.videoInfo.player=new YT.Player(w,{host:"https://www.youtube.com",events:{onReady:x}})})};
491n.prototype.setBrightCove=function(b){var d=this,l=window.sg.common.videoApi,q=JSON.parse(JSON.stringify(this.defaultOption.brightCove)),t=this.getEl(q.videoEl,this.el);this.option=this.setOption(q,b);this.option.muted=void 0!==b.muted?b.muted:this.option.autoplay;b=this.option.countryCode.toUpperCase();var w=this.option.id+l.index++;t.setAttribute("id",w);t.setAttribute("data-video-id",this.option.id);t.setAttribute("data-account",m[b].accountId);t.setAttribute("data-player",m[b].playerId);t.style.width=
492this.option.width?this.option.width:"100%";t.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,t);l="https://players.brightcove.net/"+m[b].accountId+"/"+m[b].playerId+"_default/index.min.js";t=document.createElement("script");t.src=l;document.body.appendChild(t);t.onload=function(){return d.setBrightCovePlayer(w,d.option)}};n.prototype.setBrightCovePlayer=function(b,d){var l=this;this.videoInfo.player=videojs(b);b=function(){l.option.muted&&l.videoInfo.player.muted(!0);
493l.videoInfo.player.play()};var q=function(){"play"===l.toVideoState?l.playBrightCoveVideo():"stop"===l.toVideoState&&l.stopBrightCoveVideo();l.toVideoState=""};if(1>this.videoInfo.player.readyState()){if(d.autoplay)this.videoInfo.player.on("loadedmetadata",b);this.videoInfo.player.on("loadedmetadata",q)}else d.autoplay&&b(),q()};n.prototype.setAparat=function(b){var d=JSON.parse(JSON.stringify(this.defaultOption.aparat)),l=this.getEl(d.videoEl,this.el);this.option=this.setOption(d,b);this.option.src=
494this.option.liveSrc?this.option.liveSrc:""+this.option.src.replace("{{VIDEO_ID}}",this.option.id);l.setAttribute("src",this.option.src);l.setAttribute("title",this.option.title);l.style.width=this.option.width?this.option.width:"100%";l.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,l)};n.prototype.setIframe=function(b){var d=JSON.parse(JSON.stringify(this.defaultOption.url)),l=this.getEl(d.videoEl,this.el);this.option=this.setOption(d,b);l.setAttribute("src",
495this.option.src);l.setAttribute("title",this.option.title);l.style.width=this.option.width?this.option.width:"100%";l.style.height=this.option.height?this.option.height:"100%";this.setCaption(this.option.caption,l)};n.prototype.setOption=function(b,d){for(var l=Object.keys(d),q=0;q<l.length;q++){var t=l[q];b[t]=d[t]?d[t]:b[t]}return b};n.prototype.setCaption=function(b,d){var l=this.el.querySelector("p.hidden");(b=(b||"").replace(/\\\//g,"/"))?l?l.innerHTML=b:d.insertAdjacentHTML("afterend",'\x3cp class\x3d"hidden"\x3e'+
496b+"\x3c/p\x3e"):l&&l.remove()};n.prototype.getEl=function(b,d){d.querySelector("figure")||d.insertAdjacentHTML("beforeend","\x3cfigure\x3e\x3c/figure\x3e");d=d.lastElementChild;d.style.width=this.videoData.width?this.videoData.width:"100%";d.style.height=this.videoData.height?this.videoData.height:"100%";d.querySelector(".video-player")||d.insertAdjacentHTML("afterbegin",b);return d.firstElementChild};n.prototype.play=function(){switch(this.type){case "mp4":this.playMp4Video();break;case "youtube":this.playYoutubeVideo();
497break;case "brightcove":this.playBrightCoveVideo()}};n.prototype.stop=function(){switch(this.type){case "mp4":this.stopMp4Video();break;case "youtube":this.stopYoutubeVideo();break;case "brightcove":this.stopBrightCoveVideo()}};n.prototype.playMp4Video=function(){"mp4"===this.type&&(this.videoInfo.el?this.isScrollPlay||(this.videoInfo.el.play(),this.videoInfo.state="play"):this.toVideoState="play")};n.prototype.stopMp4Video=function(){var b=this;if("mp4"===this.type)if(this.videoInfo.el){var d=function(){b.videoInfo.el.pause();
498b.videoInfo.el.currentTime=0;b.videoInfo.state="stop"},l=function(){d();b.videoInfo.el.removeEventListener("loadedmetadata",l)};1>this.videoInfo.el.readyState?this.videoInfo.el.addEventListener("loadedmetadata",l):d()}else this.toVideoState="stop"};
498n.prototype.playYoutubeVideo=function(){"youtube"===this.type&&(this.videoInfo.player?(this.videoInfo.player.playVideo(),this.videoInfo.state="play"):this.toVideoState="play")};n.prototype.stopYoutubeVideo=function(){"youtube"===this.type&&(this.videoInfo.player?
499(this.videoInfo.player.stopVideo(),this.videoInfo.state="stop"):this.toVideoState="stop")};n.prototype.playBrightCoveVideo=function(){var b=this;if("brightcove"===this.type)if(this.videoInfo.player)if(1>this.videoInfo.player.readyState())this.videoInfo.player.on("loadedmetadata",function(){b.videoInfo.player.play();b.videoInfo.state="play"});else this.videoInfo.player.play(),this.videoInfo.state="play";else this.toVideoState="play"};n.prototype.stopBrightCoveVideo=function(){var b=this;if("brightcove"===
500this.type)if(this.videoInfo.player)if(1>this.videoInfo.player.readyState())this.videoInfo.player.on("loadedmetadata",function(){b.videoInfo.player.pause();b.videoInfo.player.currentTime(0);b.videoInfo.state="stop"});else this.videoInfo.player.pause(),this.videoInfo.player.currentTime(0),this.videoInfo.state="stop";else this.toVideoState="stop"};n.prototype.dispose=function(){if(this.el.lastElementChild&&!this.isEmbed){if("brightcove"===this.type){this.videoInfo.player&&this.videoInfo.player.dispose();
501var b=this.option.countryCode.toUpperCase();(b=document.querySelector('script[src\x3d"https://players.brightcove.net/'+(m[b].accountId+"/"+m[b].playerId+'_default/index.min.js"]')))&&document.body.removeChild(b)}else"youtube"===this.type&&(b=document.body.querySelector('script[src\x3d"https://www.youtube.com/iframe_api"].sg-youtube-api'))&&document.body.removeChild(b);for(;this.el.lastElementChild.hasChildNodes();)this.el.lastElementChild.removeChild(this.el.lastElementChild.firstChild);this.el.removeChild(this.el.lastElementChild)}};
502n.instances=new WeakMap;var e={initAll:function(){for(var b=[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".video"))),d=[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".static-content .video"))),l=0;l<b.length;l++){for(var q=b[l],t=!1,w=0;w<d.length;w++)if(q===d[w]){t=!0;break}t||n.instances.has(q)||new n(q)}},init:function(b,d){d=void 0===d?!0:d;b=n.instances.has(b)?n.instances.get(b):new n(b);d&&b.load();return b},reInit:function(b){n.instances.has(b)?n.instances.get(b).reInit():
503new n(b)},dispose:function(b){n.instances.has(b)&&n.instances.get(b).dispose()},load:function(b){n.instances.has(b)?n.instances.get(b).load():(new n(b)).load()},play:function(b){n.instances.has(b)?n.instances.get(b).play():(new n(b)).play()},stop:function(b){n.instances.has(b)?n.instances.get(b).stop():(new n(b)).stop()},destroy:function(b){n.instances.has(b)&&n.instances.get(b).destroy()}};window.sg.common.video=e;"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e.initAll):
504e.initAll()})();
505(function(){var a=window.sg.common.$q,m=window.BezierEasing,k=window.sg.common.utils.closest,f=window.sg.common.utils.getNormalizedScrollLeft,g=window.sg.common.utils.setNormalizedScrollLeft,h=window.sg.common.utils.isPassiveSupported,n=window.sg.common.utils.bindRaf,e=function(d){this.els={el:d,contentsEl:null,wrapEl:null,horizTrackEl:null,horizTrackContentEl:null,horizBarEl:null,vertTrackEl:null,vertTrackContentEl:null,vertBarEl:null};this.init()};e.prototype.init=function(){e.instances.has(this.els.el)||(e.instances.set(this.els.el,
506this),this.initValues(),this.setElement(),this.resize(),this.initHandlers(),this.bindEvents())};e.prototype.initValues=function(){this.barScrollTop=this.barScrollLeft=0;this.isAnim=this.isContentsDragging=this.isbarDragging=!1;this.isPassiveSupported=h();this.isAutoResize=this.els.el.hasAttribute("data-auto-resize");this.observer=null;this.scrollBlockSelector=".option-selector-v2__swiper:not(.option-selector-v2__swiper--min)"};e.prototype.reInit=function(){this.unBindEvents();this.initValues();this.setElement();
507this.resize();this.bindEvents()};e.prototype.destroy=function(){this.unBindEvents();e.instances.has(this.els.el)&&e.instances.delete(this.els.el);this.els=this.els.el=null};e.prototype.setElement=function(){this.els.contentsEl=this.els.el.querySelector(".scrollbar__contents");this.els.wrapEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar__wrap")})[0];this.els.wrapEl||(this.els.el.insertAdjacentHTML("afterbegin",'\x3cdiv class\x3d"scrollbar__wrap"\x3e\x3c/div\x3e'),
508this.els.wrapEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar__wrap")})[0],this.els.wrapEl.insertAdjacentElement("afterbegin",this.els.contentsEl));this.els.horizTrackEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar-horizontal__track")})[0];this.els.horizTrackEl||(this.els.el.insertAdjacentHTML("beforeend",'\x3cdiv class\x3d"scrollbar-horizontal__track"\x3e\x3cdiv class\x3d"scrollbar-horizontal__track-content"\x3e\x3cdiv class\x3d"scrollbar-horizontal__bar"\x3e\x3c/div\x3e\x3c/div\x3e'),
509this.els.horizTrackEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar-horizontal__track")})[0]);this.els.horizTrackContentEl=this.els.horizTrackEl.querySelector(".scrollbar-horizontal__track-content");this.els.horizBarEl=this.els.horizTrackEl.querySelector(".scrollbar-horizontal__bar");this.els.vertTrackEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar-vertical__track")})[0];this.els.vertTrackEl||(this.els.el.insertAdjacentHTML("beforeend",
510'\x3cdiv class\x3d"scrollbar-vertical__track"\x3e\x3cdiv class\x3d"scrollbar-vertical__track-content"\x3e\x3cdiv class\x3d"scrollbar-vertical__bar"\x3e\x3c/div\x3e'),this.els.vertTrackEl=Array.from(this.els.el.children).filter(function(d){return d.classList.contains("scrollbar-vertical__track")})[0]);this.els.vertTrackContentEl=this.els.vertTrackEl.querySelector(".scrollbar-vertical__track-content");this.els.vertBarEl=this.els.vertTrackEl.querySelector(".scrollbar-vertical__bar");this.els.wrapEl.style["-ms-user-select"]=
511"";this.els.wrapEl.style.userSelect="";this.els.wrapEl.style.cursor="";this.els.wrapEl.style.overscrollBehaviorX=""};e.prototype.setTagging=function(){var d=this;if(this.els.horizTrackEl&&this.isHorizBar!==this.prevIsHorizBar){var l=this.els.el.getAttributeNames().filter(function(q){return q.startsWith("data-tagging-")}).reduce(function(q,t){q[t.replace("data-tagging-","")]=d.els.el.getAttribute(t);return q},{});Object.keys(l).length&&(this.isHorizBar&&"none"!==window.getComputedStyle(this.els.horizTrackEl).display?
512Object.keys(l).forEach(function(q){d.els.horizTrackEl.setAttribute(q,l[q])}):Object.keys(l).forEach(function(q){d.els.horizTrackEl.removeAttribute(q)}));this.prevIsHorizBar=this.isHorizBar}};e.prototype.setBarSize=function(){this.els.horizTrackEl.style.display="";var d=Math.ceil(this.els.wrapEl.getBoundingClientRect().width),l=this.els.contentsEl.scrollWidth,q=Math.ceil(this.els.horizTrackContentEl.getBoundingClientRect().width),t=d/l;1>t?(this.els.horizTrackEl.style.display="",this.horizBarWidth=
513q*t,this.els.horizBarEl.style.width=this.horizBarWidth+"px",this.contentsMaxScrollLeft=l-d,this.barMaxScrollLeft=q-q*t,this.isHorizBar=!0,this.els.wrapEl.style["-ms-user-select"]="none",this.els.wrapEl.style.userSelect="none",this.els.wrapEl.style.cursor="default",this.els.wrapEl.style.overscrollBehaviorX="contain"):(this.els.horizTrackEl.style.display="none",this.barMaxScrollLeft=this.contentsMaxScrollLeft=0,this.isHorizBar=!1);this.els.vertTrackEl.style.display="";d=Math.ceil(this.els.wrapEl.getBoundingClientRect().height);
514l=this.els.contentsEl.scrollHeight;q=Math.ceil(this.els.vertTrackContentEl.getBoundingClientRect().height);t=d/l;1>t?(this.els.vertTrackEl.style.display="",this.els.vertBarEl.style.height=q*t+"px",this.contentsMaxScrollTop=l-d,this.barMaxScrollTop=q-q*t,this.isVertBar=!0):(this.els.vertTrackEl.style.display="none",this.barMaxScrollTop=this.contentsMaxScrollTop=0,this.isVertBar=!1);this.setTagging()};e.prototype.scrollHorizBar=function(d){0>d?d=0:d>this.barMaxScrollLeft&&(d=this.barMaxScrollLeft);
515this.barScrollLeft=d;this.els.horizBarEl.style.transition="";this.els.horizBarEl.style.transform="translate3d("+d+"px, 0, 0)"};e.prototype.scrollVertBar=function(d){0>d?d=0:d>this.barMaxScrollTop&&(d=this.barMaxScrollTop);this.barScrollTop=d;this.els.vertBarEl.style.transform="translate3d(0, "+d+"px, 0)"};e.prototype.scrollHoriz=function(d){var l=d;0>d?l=0:d>this.contentsMaxScrollLeft&&(l=this.contentsMaxScrollLeft);g(this.els.wrapEl,l)};e.prototype.scrollVert=function(d){0>d?d=0:d>this.contentsMaxScrollTop&&
516(d=this.contentsMaxScrollTop);this.els.wrapEl.scrollTop=d};e.prototype.handleScroll=function(){if(this.isHorizBar){var d=f(this.els.wrapEl);this.scrollHorizBar(d/this.contentsMaxScrollLeft*this.barMaxScrollLeft)}this.isVertBar&&this.scrollVertBar(this.els.wrapEl.scrollTop/this.contentsMaxScrollTop*this.barMaxScrollTop);a(document).trigger("scroll")};e.prototype.handleBarScrollStart=function(d){this.isbarDragging=!0;this.prevPointX=d.screenX;this.prevPointY=d.screenY;d.target===this.els.horizBarEl?
517this.els.horizTrackContentEl.classList.add("bar-dragging"):d.target===this.els.vertBarEl&&this.els.vertTrackContentEl.classList.add("bar-dragging");document.addEventListener("mousemove",this.handleBarScroll);document.addEventListener("mouseup",this.handleBarScrollEnd);document.addEventListener("selectstart",this.handleSelect)}
517;e.prototype.handleBarScrollTouchStart=function(d){this.isbarDragging=!0;this.prevPointX=d.touches[0].screenX;this.prevPointY=d.touches[0].screenY;d.target===this.els.horizBarEl?
518this.els.horizTrackContentEl.classList.add("bar-dragging"):d.target===this.els.vertBarEl&&this.els.vertTrackContentEl.classList.add("bar-dragging");document.addEventListener("touchmove",this.handleBarScroll,this.isPassiveSupported?{passive:!0}:!1);document.addEventListener("touchend",this.handleBarScrollEnd)};e.prototype.handleBarScroll=function(d){if(!this.isAnim&&this.isbarDragging){if(this.isHorizBar){var l=void 0!==d.screenX?d.screenX:d.touches[0].screenX,q=this.barScrollLeft+(l-this.prevPointX);
519this.scrollHorizBar(q);this.scrollHoriz(q*this.contentsMaxScrollLeft/this.barMaxScrollLeft);this.prevPointX=l}this.isVertBar&&(d=void 0!==d.screenY?d.screenY:d.touches[0].screenY,l=this.barScrollTop+(d-this.prevPointY),this.scrollVertBar(l),this.scrollVert(l*this.contentsMaxScrollTop/this.barMaxScrollTop),this.prevPointY=d)}};e.prototype.handleBarScrollEnd=function(){this.isbarDragging=!1;this.prevPointY=this.prevPointX=0;this.els.horizTrackContentEl.classList.remove("bar-dragging");this.els.vertTrackContentEl.classList.remove("bar-dragging");
520document.removeEventListener("mousemove",this.handleBarScroll);document.removeEventListener("mouseup",this.handleBarScrollEnd);document.removeEventListener("touchmove",this.handleBarScroll);document.removeEventListener("touchend",this.handleBarScrollEnd);document.removeEventListener("selectstart",this.handleSelect)};e.prototype.handleSelect=function(d){d.stopPropagation();d.preventDefault();return!1};e.prototype.handleContentsDragStart=function(d){null===d.target.closest(this.scrollBlockSelector)&&
521this.isHorizBar&&"hidden"!==window.getComputedStyle(this.els.wrapEl).overflow&&(this.startX=d.clientX+f(this.els.wrapEl),this.isContentsDragging=!0,this.isClickDisabled=!1,this.diffX=0,document.addEventListener("mousemove",this.handleContentsDrag),document.addEventListener("mouseup",this.handleContentsDragEnd))};e.prototype.handleContentsDrag=function(d){if(!this.isAnim&&this.isContentsDragging){this.diffX=this.startX-(d.clientX+f(this.els.wrapEl));this.scrollHoriz(f(this.els.wrapEl)+this.diffX);
522var l=function(q){k(q.target,"a")&&(q.preventDefault(),q.stopPropagation());document.removeEventListener("click",l)};this.isClickDisabled||(document.addEventListener("click",l),this.isClickDisabled=!0)}};e.prototype.handleContentsDragEnd=function(){this.isContentsDragging=!1;document.removeEventListener("mousemove",this.handleContentsDrag);document.removeEventListener("mouseup",this.handleContentsDragEnd)};e.prototype.handleHorizTrackContentClick=function(d){d=d.clientX-this.els.horizTrackContentEl.getBoundingClientRect().left;
523d<this.barScrollLeft?this.scrollTo(-this.els.wrapEl.getBoundingClientRect().width,null,!1,200):d>this.barScrollLeft+this.horizBarWidth&&this.scrollTo(this.els.wrapEl.getBoundingClientRect().width,null,!1,200)};e.prototype.handleDragStart=function(d){d.preventDefault()};e.prototype.resize=function(){this.setBarSize();this.handleScroll()};e.prototype.initHandlers=function(){this.handleScroll=n(this.handleScroll.bind(this));this.handleBarScrollStart=this.handleBarScrollStart.bind(this);this.handleBarScrollTouchStart=
524this.handleBarScrollTouchStart.bind(this);this.handleBarScroll=n(this.handleBarScroll.bind(this));this.handleBarScrollEnd=this.handleBarScrollEnd.bind(this);this.handleSelect=this.handleSelect.bind(this);this.handleContentsDragStart=this.handleContentsDragStart.bind(this);this.handleContentsDrag=n(this.handleContentsDrag.bind(this));this.handleContentsDragEnd=this.handleContentsDragEnd.bind(this);this.resize=this.bindThrottle(this.resize.bind(this));this.handleHorizTrackContentClick=this.handleHorizTrackContentClick.bind(this);
525this.handleDragStart=this.handleDragStart.bind(this)};e.prototype.bindThrottle=function(d){var l=null;return function(q){l||(l=setTimeout(function(){l=null;d(q)},25))}};e.prototype.bindEvents=function(){var d=this;this.els.wrapEl.addEventListener("scroll",this.handleScroll);this.els.horizTrackContentEl.addEventListener("click",this.handleHorizTrackContentClick);this.els.horizBarEl.addEventListener("mousedown",this.handleBarScrollStart);this.els.horizBarEl.addEventListener("touchstart",this.handleBarScrollTouchStart,
526this.isPassiveSupported?{passive:!0}:!1);this.els.vertBarEl.addEventListener("mousedown",this.handleBarScrollStart);this.els.vertBarEl.addEventListener("touchstart",this.handleBarScrollTouchStart,this.isPassiveSupported?{passive:!0}:!1);this.els.wrapEl.addEventListener("mousedown",this.handleContentsDragStart);this.els.wrapEl.addEventListener("dragstart",this.handleDragStart);window.addEventListener("resize",this.resize);if(this.isAutoResize){var l=window.MutationObserver||window.WebKitMutationObserver||
527window.MozMutationObserver;this.observerTimer=null;this.observer=new l(function(){d.observerTimer&&clearTimeout(d.observerTimer);d.observerTimer=setTimeout(function(){d.resize()},320)});this.observer.observe(this.els.wrapEl,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["class"]})}};e.prototype.unBindEvents=function(){this.els.wrapEl.removeEventListener("scroll",this.handleScroll);this.els.horizTrackContentEl.removeEventListener("click",this.handleHorizTrackContentClick);this.els.horizBarEl.removeEventListener("mousedown",
528this.handleBarScrollStart);this.els.horizBarEl.removeEventListener("touchstart",this.handleBarScrollTouchStart);this.els.vertBarEl.removeEventListener("mousedown",this.handleBarScrollStart);this.els.vertBarEl.removeEventListener("touchstart",this.handleBarScrollTouchStart);this.els.wrapEl.removeEventListener("mousedown",this.handleContentsDragStart);this.els.wrapEl.removeEventListener("dragstart",this.handleDragStart);window.removeEventListener("resize",this.resize);this.observerTimer&&(clearTimeout(this.observerTimer),
529this.observerTimer=null);this.observer&&(this.observer.disconnect(),this.observer=null)};e.prototype.scrollBottom=function(){this.scrollTo(null,this.contentsMaxScrollTop-this.els.wrapEl.scrollTop)};e.prototype.scrollTo=function(d,l,q,t,w){var x=this;t=void 0===t?300:t;w=void 0===w?m(.4,0,.2,1):w;var B=f(this.els.wrapEl),D=this.els.wrapEl.scrollTop;q?(d&&(d>this.contentsMaxScrollLeft&&(d=this.contentsMaxScrollLeft),0>d&&(d=0),d-=B),l&&(l>this.contentsMaxScrollTop&&(l=this.contentsMaxScrollTop),0>d&&
530(l=0),l-=D)):(d&&(B+d>this.contentsMaxScrollLeft&&(d=this.contentsMaxScrollLeft-B),0>B+d&&(d=-B)),l&&(D+l>this.contentsMaxScrollTop&&(l=this.contentsMaxScrollTop-D),0>D+d&&(l=-D)));q=function(z){d&&x.scrollHoriz(B+d*z);l&&x.scrollVert(D+l*z)};0<t?this.isAnim||this.animate(q,t,w):q(1)};e.prototype.animate=function(d,l,q){var t=this,w=Date.now();this.isAnim=!0;this.isbarDragging=this.isContentsDragging=!1;var x=function(){var B=(Date.now()-w)/l;1<B?(d(1),t.isAnim=!1):(requestAnimationFrame(x),d(q(B)))};
531x()};e.instances=new WeakMap;window.sg.components.registerClass("scrollbar",e);var b={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.scrollbar:not([data-auto-init\x3d"false"])'))).forEac
531h(function(d){e.instances.has(d)||new e(d)})},init:function(d){return e.instances.has(d)?e.instances.get(d):new e(d)},reInit:function(d){e.instances.has(d)?(d=e.instances.get(d),d.reInit()):d=new e(d);return d},scrollTo:function(d,l,q,t){t=void 0===t?!1:t;e.instances.has(d)&&e.instances.get(d).scrollTo(l,
532q,t)},scrollBottom:function(d){e.instances.has(d)&&e.instances.get(d).scrollBottom()},resize:function(d){e.instances.has(d)&&e.instances.get(d).resize()},destroy:function(d){e.instances.has(d)&&e.instances.get(d).destroy()}};window.sg.common.scrollbar=b;a.ready(b.initAll)})();
533(function(){var a=window.sg.common.$q,m=window.sg.common.constants.BREAKPOINTS,k=window.sg.common.utils,f=window.sg.common.scrollbar,g=function(h){this.ele={window:a(window),section:a(h),scrollPopup:null,boxWrap:null};this.setProperty();this.handler={resize:this.resize.bind(this)};g.instances.set(h,this);this.init()};g.prototype.setProperty=function(){this.ele.scrollPopup=this.ele.section.find(".layer-popup__contents.scrollbar");this.ele.boxWrap=this.ele.section.find(".layer-popup__inner")};g.prototype.init=
534function(){var h=this;0>=this.ele.scrollPopup.target.length||(this.bindEvents(),this.resize(),setTimeout(function(){h.resize()},500))};g.prototype.reInit=function(){var h=this;this.setProperty();0>=this.ele.scrollPopup.target.length||(this.bindEvents(),this.resize(),setTimeout(function(){h.resize()},500))};g.prototype.resize=function(){this.setScrollHeight()};g.prototype.setScrollHeight=function(){var h=this.ele.scrollPopup.find(".scrollbar__wrap").eq(0),n=h.target[0].scrollTop,e=k.getViewPort().height;
535h.css({maxHeight:""});e-=this.ele.scrollPopup.target[0].offsetTop;e-=this.ele.boxWrap.offset().bottom-this.ele.scrollPopup.offset().bottom;e=void 0===this.ele.section.target[0].dataset.paddingCustom?e-(m.MOBILE<k.getViewPort().width?60:2*this.ele.boxWrap.target[0].offsetTop):e-2*this.ele.boxWrap.target[0].offsetTop;0>e&&(e=0);h.height()-1>Math.round(e)&&h.css({maxHeight:e+"px"});h.target[0].scrollTop=n;f.resize(this.ele.scrollPopup.target[0])};g.prototype.bindEvents=function(){this.ele.window.off("resize",
536this.handler.resize).on("resize",this.handler.resize)};g.instances=new WeakMap;window.sg.common.layerPopupMaxHeight={initAll:function(){a(".layer-popup").target.forEach(function(h){if(0<h.querySelectorAll(".layer-popup__contents.scrollbar").length&&!g.instances.has(h))new g(h);else return null})},init:function(h){if(0<h.querySelectorAll(".layer-popup__contents.scrollbar").length&&!g.instances.has(h))[].concat($jscomp.arrayFromIterable(h.querySelectorAll(".scrollbar"))).forEach(function(n){f.init(n)}),
537new g(h);else return null},reInit:function(h){if(0<h.querySelectorAll(".layer-popup__contents.scrollbar").length&&g.instances.has(h))g.instances.get(h).reInit();else return null},setMax:function(h){if(0<h.querySelectorAll(".layer-popup__contents.scrollbar").length&&g.instances.has(h))g.instances.get(h).setScrollHeight();else return null}}})();
538(function(){var a=window.sg.common.$q,m=window.Swiper,k=window.sg.common.constants.BREAKPOINTS,f=window.sg.common.utils,g=window.sg.common.lazyLoad,h=window.sg.common.utils.removeAllEventListeners,n={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.basic-swiper:not([data-auto-init\x3d"false"])'))).forEach(function(b){e.instances.has(b)||new e(b)})},init:function(){a(".basic-swiper").target.forEach(function(b){e.instances.has(b)?e.instances.get(b).swiper.reInit():
539new e(b)})},reInit:function(){g.reInit();a(".basic-swiper").target.forEach(function(b){e.instances.has(b)?e.instances.get(b).swiper.reInit():new e(b)})},update:function(){a(".basic-swiper").target.forEach(function(b){e.instances.has(b)&&(b=e.instances.get(b).swiper,b.slideResize(),b.update())})},getSwiper:function(b){if(e.instances.has(b))return e.instances.get(b).swiper.getSwiper()},slideChange:function(b,d){e.instances.has(b)&&e.instances.get(b).swiper.slideChange(d)},slideChangeTransitionEnd:function(b,
540d){e.instances.has(b)&&e.instances.get(b).swiper.slideChangeTransitionEnd(d)},slideReInit:function(b){e.instances.has(b)?e.instances.get(b).swiper.reInit():new e(b)},slideUpdate:function(b,d){e.instances.has(b)&&e.instances.get(b).swiper.slideUpdate(d)},slideInit:function(b,d){new e(b,d)},slideRemove:function(b){e.instances.has(b)&&e.instances.get(b).swiper.remove()},slideInitEnd:function(b,d){e.instances.has(b)&&e.instances.get(b).swiper.slideInitEnd(d)},slideSwiperDestory:function(b){e.instances.has(b)&&
541e.instances.get(b).swiper.slideSwiperDestory()},slideStop:function(b){e.instances.has(b)&&e.instances.get(b).swiper.slideStop()},slideStart:function(b){e.instances.has(b)&&e.instances.get(b).swiper.slideStart()},destroy:function(b){e.instances.has(b)&&e.instances.get(b).swiper.destroy()}},e=function(b,d){var l=this;this.indicator=window.sg.common.indicator;this.selector={imageMain:".image \x3e .image__main",swiperSlide:".swiper-slide",swiperWrapper:".swiper-wrapper",swiperButtonNext:".swiper-button-next",
542swiperButtonPrev:".swiper-button-prev",indicator:".indicator",indicatorList:".indicator__list",indicatorControls:".indicator__controls",indicatorItem:".indicator__item",indicatorScreenWrap:".screen-indicator-wrap",indicatorScreenPrev:".screen-indicator--prev",indicatorScreenNext:".screen-indicator--next",indicatorProgress:".progressbar-indicator",indicatorProgressBar:".progressbar-indicator__bar",indicatorProgressShowClass:"progressbar-indicator--show",indicatorProgressFillClass:"progressbar-indicator__bar-fill",
543hiddenButton:".hiddenButton"};this.el={componentEl:null,containerEl:null,indicatorEl:null,prevEl:null,nextEl:null,autoPlayBtnEl:null};this.group=0;this.el.containerEl=a(b);b=this.el.containerEl.attr("data-swiper-option")?JSON.parse(this.el.containerEl.target[0].dataset.swiperOption):{};this.el.componentEl=this.el.containerEl.closest(b.componentEl);var q={slidesPerView:1,spaceBetween:0,longSwipes:!0,longSwipesRatio:.1,keepWrapper:!0,offSlideAccessibility:!1,offTxtAccesibility:!1};q=f.extend(q,b);q.on=
544{};q.threshold=10;q.init=!1;q.accessibility=!0;d&&(q=f.extend(q,d));void 0!==q.offTxtAccessibility&&(q.offTxtAccesibility=q.offTxtAccessibility);q.freeMode&&(q.threshold=0,q.freeModeSticky=!0,q.freeModeMomentumRatio=.01,q.centeredSlidesB
544ounds=!0,q.touchStartPreventDefault=!1);q.a11y=!1;q.autoplay&&(q.autoplay.disableOnInteraction=!1,!1===q.autoplay.start&&(q.autoplay=!1));this.$qwindow=a(window);this.option=q;this.focusInCheck=this.autoPlayCheck=null;this.clickCheck=!1;this.activeSlide=0;this.slideChangeHandler=
545this.slideInitEndHandler=this.slideChangeTransitionEndHandler=null;this.prevImageCheck=!1;this.wrapperStr='\x3cdiv class\x3d"swiper-wrapper" role\x3d"listbox"\x3e';this.focusElementStr="a, button, .video, video, h1, h2, h3, h4, h5, h6, p";this.focusElementNotxt="a, button";this.focusClass=".three-column-carousel__content, .swiper-slide-focus";this.swiperStopEle=".swiper-wrapper";this.hiddenButton='\x3cbutton type\x3d"button" class\x3d"hidden hiddenButton" tabindex\x3d"-1"\x3eStop automatic slide show\x3c/button\x3e';
546this.textColorArr=[];this.textColorArr[0]=".text-white";this.textColorArr[1]=".text-black";this.bulletColorArr=[];this.bulletColorArr[0]="text-color--white";this.bulletColorArr[1]="text-color--black";this.sw=!1;this.handler={setImageCheck:function(){var t=l.el.containerEl.find(l.selector.imageMain).eq(0);0>=t.height()&&(l.el.containerEl.css({"min-height":"2px"}),t.on("load",l.handler.checkImageLoad))},checkImageLoad:function(t){l.el.containerEl.css({"min-height":""});l.slideResize();a(t.target).off("load",
547l.handler.checkImageLoad)},autoPlayHandler:function(){l.autoPlayCheck=l.autoPlayCheck?!1:!0;l.autoPlayCheck?(l.sw.autoplay.start(),l.handler.autoPlayBtnSetup(!1)):(l.sw.autoplay.stop(),l.handler.autoPlayBtnSetup(!0))},autoPlayBtnSetup:function(t){if(l.el.autoPlayBtnEl.target.length){var w=l.el.autoPlayBtnEl.attr("an-la");t?(l.el.autoPlayBtnEl.attr("an-la",w.replace(":stop",":play")),l.el.autoPlayBtnEl.find(".hidden").innerHTML("play"),l.el.indicatorEl&&l.indicator.pause(l.el.indicatorEl),l.el.autoPlayBtnEl.addClass("indicator__controls--play"),
548l.el.containerEl.find(l.selector.hiddenButton).text("Play automatic slide show")):(l.el.autoPlayBtnEl.attr("an-la",w.replace(":play",":stop")),l.el.autoPlayBtnEl.find(".hidden").innerHTML("stop"),l.el.indicatorEl&&l.indicator.play(l.el.indicatorEl),l.el.autoPlayBtnEl.removeClass("indicator__controls--play"),l.el.containerEl.find(l.selector.hiddenButton).text("Stop automatic slide show"))}},focusInHandler:function(t){t.preventDefault();l.sw.autoplay&&!l.focusInCheck&&(l.focusInCheck=!0,l.autoPlayCheck=
549l.sw.autoplay.running,"focusin"!==t.type.toLowerCase()&&"mouseover"!==t.type.toLowerCase()||l.handler.autoPlayBtnSetup(!0),l.sw.autoplay.stop())},focusOutHandler:function(t){t.preventDefault();l.sw.autoplay&&l.focusInCheck&&(l.focusInCheck=!1,l.autoPlayCheck&&(l.clickCheck=!1,l.sw.autoplay.start(),l.handler.autoPlayBtnSetup(!1)))},renderIndicator:function(){if(l.el.indicatorEl){var t=l.indicator.init(l.el.indicatorEl);t&&t.reInit();l.el.componentEl.find(l.selector.indicatorItem).target.length&&l.indicator.move(l.el.indicatorEl,
550l.activeSlide)}l.el.autoPlayBtnEl.target.length&&(l.el.autoPlayBtnEl.find(".hidden").innerHTML("stop"),h(l.el.autoPlayBtnEl.target[0],"click"),l.el.autoPlayBtnEl.removeClass("indicator__controls--play"),t=function(w){l.el.indicatorEl||l.el.autoPlayBtnEl.toggleClass("indicator__controls--play");w.preventDefault();l.focusInCheck&&!l.clickCheck&&(l.clickCheck=!0,setTimeout(function(){l.handler.autoPlayHandler(!0)},100));l.handler.autoPlayHandler()},l.el.autoPlayBtnEl.off("click").on("click",t),l.el.containerEl.find(l.selector.hiddenButton).off("click").on("click",
551t))},paginationUpdateHandler:function(t,w){t=a(w).find(l.selector.indicatorItem+".swiper-pagination-bullet-active").target[0];w=a(w).find(l.selector.indicatorItem+".indicator__item--active").target[0];t!==w&&t&&(w=parseInt(t.getAttribute("data-type-clickid"),10),l.indicator.move(l.el.indicatorEl,w))},paginationRenderHandler:function(){l.handler.renderIndicator();l.handler.setupBullet()},setupBullet:function(){l.headlineArr=[];l.el.containerEl.find(".swiper-slide:not(.swiper-slide-duplicate)").target.forEach(function(x){var B=
552x.getAttribute("data-type-headline");B||(B=x.dataset.tagging?JSON.parse(x.dataset.tagging)["an-tr"]:x.getAttribute("an-tr"));l.headlineArr.push(B)});l.headlineArr=l.headlineArr.concat(l.headlineArr);a(l.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(x,B){var D=null;
552D=B*l.group;l.group!==l.getNowPerView()&&(D=B);D=l.option.loop?l.el.containerEl.find(l.selector.swiperWrapper).find('.swiper-slide[data-swiper-slide-index\x3d"'+D+'"]'):a(l.sw.slides[D]);var z=a(x);D.target.forEach(function(wa){wa.setAttribute("aria-describedby",
553z.attr("id"))});if(D.target[0].dataset.tagging){var T=JSON.parse(D.target[0].dataset.tagging);x=T["an-tr"];var Y=T["an-ca"];var la=T["an-ac"];T=T["an-la"]}else x=D.attr("an-tr"),Y=D.attr("an-ca"),la=D.attr("an-ac"),T=D.attr("an-la");var aa=D.attr("data-type-headline");aa||(aa=x);z.attr("an-tr",x);z.attr("an-ca",Y);z.attr("an-ac",la);z.attr("an-la",T);z.attr("data-type-slide-index",B);setTimeout(function(){z.find(".hidden").innerHTML(""+aa)},0)});var t=l.getNowPerView();if(1<t)if(1>=l.option.slidesPerGroup)a(l.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(x,
554B){for(var D="",z=B;z<B+t;z++)D=z!==B+t-1?D+(l.headlineArr[z]+", "):D+(""+l.headlineArr[z]);a(x).find(".hidden").innerHTML(""+D)});else{var w=0;a(l.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(x){for(var B="",D=w;D<w+t;D++)B=D!==w+t-1?B+(l.headlineArr[D]+", "):B+(""+l.headlineArr[D]);w+=t;a(x).find(".hidden").innerHTML(""+B)})}},resize:function(){"pc"===l.option.viewMode?l.resizePc():"mobile"===l.option.viewMode?l.resizeMobile():l.resize()}};this.handler.setImageCheck();
555this.bindEvents();this.reInit=function(){l.el.containerEl.find(l.selector.swiperSlide).removeClass("swiper-slide-active");l.remove();l.handler.setImageCheck();l.bindEvents()};e.instances.set(this.el.containerEl.target[0],{swiper:this})};e.createCount=function(){return this.count+=1};e.prototype.customFocus=function(){};e.prototype.getSwiper=function(){return this.sw};e.prototype.init=function(){function b(){l.option.loop||x(B())}var d=this;if(!1===this.sw){this.activeSlide=0;var l=this,q=this.el.containerEl.find(this.selector.swiperSlide);
556this.el.autoPlayBtnEl=this.el.componentEl.find(this.selector.indicatorControls);this.el.indicatorEl=this.el.componentEl.find(this.selector.indicator).target[0];this.el.prevEl=this.el.componentEl.find(this.selector.swiperButtonPrev);this.el.nextEl=this.el.componentEl.find(this.selector.swiperButtonNext);this.el.indicatorScreenPrev=this.el.componentEl.find(this.selector.indicatorScreenPrev);this.el.indicatorScreenNext=this.el.componentEl.find(this.selector.indicatorScreenNext);if(this.getNowPerView()>
557q.target.length)this.el.prevEl.hide(),this.el.nextEl.hide();else{this.el.containerEl.find(this.selector.swiperSlide).target.forEach(function(aa,wa){a(aa).hasClass("swiper-slide-active")&&(d.activeSlide=wa)});if(0===this.el.containerEl.find(this.selector.swiperWrapper).target.length){var t=this.el.containerEl.find(this.selector.swiperSlide);this.slideAccessibility();q=t.clone();t.remove();t=this.el.containerEl.find(".indicator");var w=this.el.containerEl.children();0===w.target.length?this.el.containerEl.append(this.wrapperStr):
558t.target.length&&!this.el.containerEl.find(this.selector.swiperButtonPrev).target.length?t.prepend(this.wrapperStr):w.eq(0).after(this.wrapperStr);this.el.containerEl.find(this.selector.swiperWrapper).append(q);window.sg.common.image.initAll();g.initAll()}this.el.containerEl.find(this.selector.hiddenButton).off().remove();this.option.autoplay&&this.el.containerEl.target[0].insertAdjacentHTML("afterbegin",this.hiddenButton);this.option.navigation?"string"===(typeof this.option.navigation.prevEl).toLowerCase()&&
559(this.el.prevEl=this.el.componentEl.find(this.option.navigation.prevEl),this.el.nextEl=this.el.componentEl.find(this.option.navigation.nextEl)):(this.option.navigation={},this.option.navigation.prevEl=this.el.prevEl.target[0],this.option.navigation.nextEl=this.el.nextEl.target[0]);this.option.navigation.navigationDisabledClass="swiper-navigation-disabled";this.slideChangeHandler&&(this.option.on.slideChange=function(){d.slideChangeHandler(d.sw,d.sw.realIndex)});if(this.option.pagination){this.option.pagination=
560{};if(q=this.el.componentEl.find(this.selector.indicatorProgress).target[0])this.option.pagination.type="progressbar";switch(this.option.pagination.type){case "progressbar":this.option.pagination.el=q.querySelector(this.selector.indicatorProgressBar);this.option.pagination.progressbarFillClass=this.selector.indicatorProgressFillClass;break;default:this.el.componentEl.find(this.selector.indicatorList+" \x3e button").remove(),this.option.pagination.el=this.el.componentEl.find(this.selector.indicatorList).target[0],
561this.option.pagination.el&&"list"===this.option.pagination.el.getAttribute("role")?this.option.pagination.renderBullet=function(aa,wa
561){return'\x3cdiv class\x3d"div-for-accessibility" role\x3d"listitem"\x3e\x3cbutton class\x3d"indicator__item '+wa+'" data-type-clickid\x3d"'+aa+'" id\x3d"swiper'+e.createCount()+'"\x3e\x3cspan class\x3d"indicator__dot-wrap"\x3e\x3cspan class\x3d"indicator__dot"\x3e \x3cspan class\x3d"indicator__dot-inner"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"hidden"\x3eIndicator 10\x3c/span\x3e\x3c/span\x3e\x3c/button\x3e\x3c/div\x3e'}:
562this.option.pagination.el&&(this.option.pagination.renderBullet=function(aa,wa){return'\x3cbutton class\x3d"indicator__item '+wa+'" role\x3d"tab" data-type-clickid\x3d"'+aa+'" id\x3d"swiper'+e.createCount()+'"\x3e\x3cspan class\x3d"indicator__dot-wrap"\x3e\x3cspan class\x3d"indicator__dot"\x3e \x3cspan class\x3d"indicator__dot-inner"\x3e\x3c/span\x3e\x3c/span\x3e\x3cspan class\x3d"hidden"\x3eIndicator 10\x3c/span\x3e\x3c/span\x3e\x3c/button\x3e'})}}var x=function(aa){switch(void 0===aa?!1:aa){case "beginning":d.el.indicatorScreenPrev.attr("disabled",
563!0);d.el.prevEl.attr("disabled",!0);d.sw.isEnd||d.sw.perView>=d.sw.slides.length?(d.el.indicatorScreenNext.attr("disabled",!0),d.el.nextEl.attr("disabled",!0)):(d.el.indicatorScreenNext.removeAttr("disabled"),d.el.nextEl.removeAttr("disabled"));d.el.containerEl.removeClass("swiper-slide--end");d.el.containerEl.addClass("swiper-slide--beginning");break;case "end":d.el.indicatorScreenPrev.removeAttr("disabled");d.el.prevEl.removeAttr("disabled");d.el.indicatorScreenNext.attr("disabled",!0);d.el.nextEl.attr("disabled",
564!0);d.el.containerEl.addClass("swiper-slide--end");d.el.containerEl.removeClass("swiper-slide--beginning");break;case !1:d.el.indicatorScreenNext.removeAttr("disabled"),d.el.nextEl.removeAttr("disabled"),d.el.indicatorScreenPrev.removeAttr("disabled"),d.el.prevEl.removeAttr("disabled"),d.el.containerEl.removeClass("swiper-slide--end"),d.el.containerEl.removeClass("swiper-slide--beginning")}},B=function(){return!l.option.loop&&l.sw.isBeginning?"beginning":!l.option.loop&&l.sw.isEnd?"end":!1};q=this.getNowPerView();
565this.group=this.option.slidesPerGroup;this.group||(this.group=1);q=q!==this.group&&"number"===(typeof this.group).toLowerCase()&&"auto"!==q?!0:!1;var D=[];q?(this.option.slidesPerGroup=1,this.timer=null,this.option.on={slideNextTransitionStart:function(){var aa=this;0===(this.realIndex-1)%this.group&&this.slideTo(this.activeIndex+(this.group-1));var wa=!1;D.forEach(function(va){aa.realIndex===va&&(wa=!0)});wa&&this.slideNext();this.slideChangeHandler&&(this.timer&&clearTimeout(this.timer),this.timer=
566setTimeout(function(){aa.slideChangeHandler(aa.sw,aa.sw.realIndex)},200))},slidePrevTransitionStart:function(){var aa=this;0===(this.realIndex+1)%this.group&&this.slideTo(this.activeIndex-(this.group-1));var wa=!1;D.forEach(function(va){aa.realIndex===va&&(wa=!0)});wa&&this.slidePrev();this.slideChangeHandler&&(this.timer&&clearTimeout(this.timer),this.timer=setTimeout(function(){aa.slideChangeHandler(aa.sw,aa.sw.realIndex)},200))}}):this.option.pagination&&(this.option.pagination.clickable=!0);this.option.autoHeight&&
567(this.el.containerEl.find(this.selector.swiperWrapper).css({transition:"all ease-out","-o-transition":"all ease-out","-ms-transition":"all ease-out","-moz-transition":"all ease-out","-webkit-transition":"all ease-out"}),this.option.on.touchStart=function(){d.slideResize()});var z=!1;this.option.freeMode&&(this.option.on.touchEnd=function(){z=!0});this.option.on.slideChangeTransitionEnd=function(){d.slideChangeTransitionEndHandler&&d.slideChangeTransitionEndHandler(d.sw,d.sw.realIndex);d.slideAccessibility();
568z||d.customFocus();z=!1};this.sw=new m(this.el.containerEl.target[0],this.option);this.sw.init();this.option.autoplay?(this.el.autoPlayBtnEl.attr("an-tr",this.option.autoplay["an-tr"]),this.el.autoPlayBtnEl.attr("an-ca",this.option.autoplay["an-ca"]),this.el.autoPlayBtnEl.attr("an-ac",this.option.autoplay["an-ac"]),this.el.autoPlayBtnEl.attr("an-la",this.option.autoplay["an-la"]),!this.el.indicatorEl&&this.el.autoPlayBtnEl&&this.handler.renderIndicator()):this.el.autoPlayBtnEl.hide();if(this.option.pagination){this.handler.setupBullet();
569if(q){var T=0,Y=a(this.option.pagination.el).find(".swiper-pagination-bullet");
569Y.target.forEach(function(aa,wa){0===wa%d.group||wa===Y.target.length-1?(aa.setAttribute("data-type-group-index",wa),aa.setAttribute("data-type-clickid",T),T++):(D.push(wa),aa.setAttribute("disabled","false"))});this.el.componentEl.find(this.selector.indicatorItem+'[disabled\x3d"false"]').remove();this.el.componentEl.find(this.selector.indicatorItem).on("click",function(aa){aa=parseInt(a(aa.target).closest(d.selector.indicatorItem).attr("data-type-group-index"),
57010);d.sw.slideToLoop(aa)});var la=parseInt(this.getNowPerView(),0);a(this.option.pagination.el).find(".swiper-pagination-bullet").target.forEach(function(aa,wa){var va="",ha=parseInt(aa.getAttribute("data-type-slide-index"),10);if(d.option.realSlidesPerView){for(var bb=ha;bb<ha+la;bb++)va+=" "+d.headlineArr[bb];a(aa).find(".hidden").innerHTML("Slide "+(wa+1)+":"+va)}else{for(wa=ha;wa<ha+la;wa++)va=wa!==ha+la-1?va+(d.headlineArr[wa]+", "):va+(""+d.headlineArr[wa]);a(aa).find(".hidden").innerHTML(""+
571va)}})}this.option.pagination&&setTimeout(function(){d.sw.pagination&&d.sw.pagination.bullets&&(d.handler.renderIndicator(),d.sw.on("paginationUpdate",d.handler.paginationUpdateHandler),d.sw.on("paginationRender",d.handler.paginationRenderHandler))},100)}this.option.autoplay&&(this.autoPlayCheck=this.sw.autoplay.running,q=null,q=this.el.componentEl.target.length?this.el.componentEl.find(this.swiperStopEle):this.el.containerEl,this.focusInCheck=!1,q.off("mouseover",this.handler.focusInHandler).on("mouseover",
572this.handler.focusInHandler),q.off("mouseleave",this.handler.focusOutHandler).on("mouseleave",this.handler.focusOutHandler),q.off("focusin",this.handler.focusInHandler).on("focusin",this.handler.focusInHandler),q.off("focusout",this.handler.focusOutHandler).on("focusout",function(aa){setTimeout(function(){a(document.activeElement).target[0]!==d.el.autoPlayBtnEl.target[0]&&d.handler.focusOutHandler(aa)},300)}));if(this.option.loop)this.sw.slideToLoop(this.activeSlide,0);else if(this.sw.slideTo(this.activeSlide,
5730),this.el.indicatorEl&&"none"!==this.el.autoPlayBtnEl.css("display"))this.sw.on("slideChange",function(){d.sw.isEnd&&!d.el.autoPlayBtnEl.hasClass("indicator__controls--play")&&(d.clickCheck=!0,d.handler.autoPlayHandler())});this.slideAccessibility();this.el.nextEl.off("click").on("click",function(){d.sw.isEnd&&!d.option.loop&&d.el.prevEl.focu
573s()});this.el.prevEl.off("click").on("click",function(){d.sw.isBeginning&&!d.option.loop&&d.el.nextEl.focus()});this.el.indicatorScreenNext.off("click").on("click",
574function(){d.sw.slideNext();d.sw.isEnd&&!d.option.loop&&d.el.indicatorScreenPrev.focus()});this.el.indicatorScreenPrev.off("click").on("click",function(){d.sw.slidePrev();d.sw.isBeginning&&!d.option.loop&&d.el.indicatorScreenNext.focus()});this.sw.on("slideChange",function(){g.setLazyLoad();!1===B()&&x()});this.sw.on("transitionEnd",function(){g.setLazyLoad()});this.sw.on("reachBeginning",function(){x("beginning")});this.sw.on("reachEnd",function(){x("end")});this.sw.on("breakpoint",function(){setTimeout(function(){b()},
57510)});this.sw.on("update",function(){b()});this.sw.on("init",function(){d.slideInitEndHandler&&d.slideInitEndHandler()});this.option&&this.option.pagination&&"progressbar"===this.option.pagination.type&&(q=this.el.componentEl.find(this.selector.indicatorProgress).target[0],this.sw&&this.sw.params.slidesPerView<this.sw.slides.length&&q&&q.classList.add(this.selector.indicatorProgressShowClass));b()}}};e.prototype.slideStart=function(){this.sw&&(this.autoPlayCheck=!0,this.sw.autoplay.start(),this.handler.autoPlayBtnSetup(!1))};
576e.prototype.slideStop=function(){this.sw&&(this.autoPlayCheck=!1,this.sw.autoplay.stop(),this.handler.autoPlayBtnSetup(!0))};e.prototype.getNowPerView=function(){var b=0,d=this.option.breakpoints;d&&Object.keys(d).forEach(function(l){l=parseInt(l,0);f.getViewPort().width>l&&b<l&&(b=l)});d=0!==b?d[b].slidesPerView:this.option.slidesPerView;this.option.realSlidesPerView&&(d=parseInt(this.option.realSlidesPerView,0));return d};e.prototype.slideAccessibility=function(){var b=this;if(this.sw&&!this.sw.destroyed&&
577!this.option.offSlideAccessibility){var d=this.getNowPerView();this.el.containerEl.find(this.focusClass).removeAttr("tabindex");for(var l=[],q=0;q<this.sw.slides.length;q++){var t=a(this.sw.slides[q]);this.option.offTxtAccesibility?t.find(this.focusElementNotxt).attr("tabindex","-1"):t.find(this.focusElementStr).attr("tabindex","-1");t.attr("aria-hidden",!0);l.push(t)}if("auto"!==d&&1<d)for(q=this.sw.activeIndex;q<this.sw.activeIndex+d;q++)if(t=l[q])t.find(this.focusElementStr).removeAttr("tabindex"),
578t.attr("aria-hidden",!1),0<t.find(this.focusClass).target.length?t.find(this.focusClass).attr("tabindex","0"):t.find(this.focusElementStr).target.forEach(function(B){b.option.offTxtAccesibility&&!1===(B.matches?B.matches(b.focusElementNotxt):B.msMatchesSelector(b.focusElementNotxt))?B.removeAttribute("tabindex"):B.setAttribute("tabindex","0")});var w=this.el.containerEl.find(".swiper-slide-active");w.find(this.focusClass).target.length?w.find(this.focusClass).attr("tabindex","0"):w.find(this.focusElementStr).target.forEach(function(B){b.option.offTxtAccesibility&&
579!1===(B.matches?B.matches(b.focusElementNotxt):B.msMatchesSelector(b.focusElementNotxt))?B.removeAttribute("tabindex"):B.setAttribute("tabindex","0")});w.attr("aria-hidden",!1);if(this.option.pagination){var x=!0;this.textColorArr.forEach(function(B,D){w.find(B).target.length&&(b.bulletColorArr.forEach(function(z){b.el.containerEl.removeClass(z)}),x=!1,b.el.containerEl.addClass(b.bulletColorArr[D]))});x&&this.bulletColorArr.forEach(function(B){b.el.containerEl.removeClass(B)})}}};e.prototype.update=
580function(){if(this.sw){var b=this.el.containerEl.find(".swiper-slide-active").index();this.option.loop||(this.sw.activeIndex=b);this.slideResize();this.sw.update();this.slideAccessibility()}};e.prototype.slideChange=function(b){this.slideChangeHandler=b};e.prototype.slideChangeTransitionEnd=function(b){this.slideChangeTransitionEndHandler=b};e.prototype.slideInitEnd=function(b){this.sw.initialized?b():this.slideInitEndHandler=b};e.prototype.slideResize=function(){if(!1!==this.sw&&this.option.autoHeight){var b=
581this.el.containerEl.find(this.selector.swiperWrapper),d=b.find(this.selector.swiperSlide);b.css({height:""});d.css({height:""});d.target.forEach(function(l){l=a(l);var q=l.outerHeight();l.css({height:q+"px"})});d=b.find(".swiper-slide.swiper-slide-active").height();b.css({height:d+"px"})}};e.prototype.remove=function(){if(!1!==this.sw){this.el.containerEl.find(".swiper-pagination-bullet").off();this.el.componentEl.find(this.selector.indicatorControls).off();var b=this.el.containerEl.find(this.selector.swiperSlide);
582b.find(this.focusElementStr).removeAttr("tabindex");b.css({width:"",height:"",visibility:""});b.removeAttr("aria-hidden");b.removeAttr("aria-describedby");b.removeClass("swiper-slide-prev");b.removeClass("swiper-slide-next");this.option.keepWrapper||(b=b.clone(),this.el.containerEl.find(this.selector.swiperWrapper).remove(),this.el.containerEl.append(b));this.el.containerEl.find(".swiper-slide-duplicate").remove();this.sw.destroy();this.sw=!1}};e.prototype.slideSwiperDestory=function(){this.sw.destroy();
583this.sw=!1};e.prototype.resizePc=function(){k.MOBILE<f.getViewPort().width?(this.resize(),this.init()):this.remove();this.slideAccessibility()};e.prototype.resize=function(){this.el.containerEl.find(this.selector.swiperWrapper).css({height:""});this.el.containerEl.find(this.selector.swiperWrapper+" "+this.selector.swiperSlide).css({height:""});this.slideResize();this.slideAccessibility()};e.prototype.resizeMobile=function(){k.MOBILE>=f.getViewPort().width?(this.resize(),this.init()):this.remove();
584this.slideAccessibility()};e.prototype.bindEvents=function(){this.$qwindow.off("resize",this.handler.resize).on("resize",this.handler.resize);
584this.$qwindow.off("change",this.handler.resize).on("change",this.handler.resize);this.option.viewMode||this.init();this.handler.resize()};e.prototype.slideUpdate=function(b){void 0!==b&&(this.option=f.extend(this.option,b));this.update()};e.prototype.destroy=function(){!1!==this.sw&&(this.sw.destroy(),this.$qwindow.off("resize",this.handler.resize),e.instances.has(this.el.containerEl.target[0])&&
585e.instances.delete(this.el.containerEl.target[0]))};e.count=0;e.instances=new WeakMap;window.sg.components.registerClass("swiper",e);window.sg.common.swiperManager=n;a.ready(n.initAll);a.load(n.update)})();
586(function(){var a=0,m=function(){var h=window.document.createEvent("UIEvents");h.initUIEvent("resize",!0,!1,window,0);window.dispatchEvent(h)},k=function(h){h?60<a||768===window.innerWidth?m():(a++,requestAnimationFrame(function(){return k(h)})):60<a||768!==window.innerWidth?m():(a++,requestAnimationFrame(function(){return k(h)}))},f=function(){var h=document.querySelector('meta[name\x3d"viewport"]'),n=h.getAttribute("content");768>window.outerWidth&&534<window.outerWidth||window.outerWidth>window.outerHeight&&
587768<=window.outerWidth&&768>window.innerWidth?"width\x3d768"!==n&&(null!=document.getElementById("isBespokeDesignStudioUSPage")?h.setAttribute("content","width\x3ddevice-width,initial-scale\x3d1.0,minimum-scale\x3d1.0"):h.setAttribute("content","width\x3d768"),a=0,requestAnimationFrame(function(){return k(!0)})):window.outerWidth>window.outerHeight&&"width\x3d768"===n||"width\x3ddevice-width,initial-scale\x3d1.0,minimum-scale\x3d1.0"===n||(h.setAttribute("content","width\x3ddevice-width,initial-scale\x3d1.0,minimum-scale\x3d1.0"),
588a=0,requestAnimationFrame(function(){return k(!1)}))},g=function(h){window.outerWidth!==h||120<=a?f():(a++,h=window.outerWidth,requestAnimationFrame(function(){return g(h)}))};window.addEventListener("resize",f);window.addEventListener("orientationchange",function(){a=0;g(window.outerWidth)});"loading"===document.readyState?document.addEventListener("DOMContentLoaded",f):f()})();
589(function(){var a=window.sg.common.$q,m=window.sg.common.utils.closest,k=function(h,n){this.el=h;this.src=n;Array.isArray(this.src)||(this.src=[this.src]);this.init()};k.prototype.init=function(){var h=this;this.src.forEach(function(n){h.loadSvgSprite(n)});this.setSvgs(this.el)};k.prototype.load=function(h){h&&0>this.src.indexOf(h)&&(this.src.push(h),this.loadSvgSprite(h))};k.prototype.loadSvgSprite=function(h){var n=new XMLHttpRequest;n.open("GET",h);n.send();h=function(){if(4===n.readyState){var e=
590document.createElement("div");e.innerHTML=n.responseText;if(e=e.querySelector("svg"))e.setAttribute("aria-hidden","true"),e.style.position="absolute",e.style.width="0",e.style.height="0",document.body.insertBefore(e,document.body.firstChild)}};n.onreadystatechange=h;h()};k.prototype.setSvgs=function(h){h=h.querySelectorAll("use");[].concat($jscomp.arrayFromIterable(h)).forEach(function(n){var e=n.getAttribute("xlink:href")||n.getAttribute("href"),b=m(n,"svg");e&&b&&(e="#"+e.split("#")[1],n.setAttribute("xlink:href",
591e),n.setAttribute("href",e))})};k.instance=null;var f=[(document.querySelector("#cdnAkamaiDomain")?document.querySelector("#cdnAkamaiDomain").value:"")+"/etc.clientlibs/samsung/clientlibs/consumer/global/clientlib-common/resources/images/svg-sprite.svg"],g={init:function(){var h=document.querySelector("#useSvgSprite");if(!h||h&&"N"!==h.value)k.instance=new k(document,f)},load:function(h){k.instance?k.instance.load(h):0>f.indexOf(h)&&f.push(h)},setSvgs:function(h){h=void 0===h?document:h;k.instance&&
592k.instance.setSvgs(h)},redrawSvg:function(h){var n=h.parentElement;if(n){var e=[].concat($jscomp.arrayFromIterable(n.childNodes)).indexOf(h);n.removeChild(h);var b=document.createElement("div");b.appendChild(h);b.innerHTML=b.innerHTML;h=b.firstChild;n.childNodes[e]?n.insertBefore(h,n.childNodes[e]):n.appendChild(h)}},redrawSvgs:function(h){h=void 0===h?document:h;h=h.querySelectorAll("svg");[].concat($jscomp.arrayFromIterable(h)).forEach(function(n){g.redrawSvg(n)})},redrawAbnormalSvgs:function(h){h=
593void 0===h?document:h;var n=h.querySelectorAll("svg");
593[].concat($jscomp.arrayFromIterable(n)).forEach(function(e){"http://www.w3.org/2000/svg"!==h.namespaceURI&&g.redrawSvg(e)})},update:function(h){h=void 0===h?document:h;g.setSvgs(h);g.redrawSvgs(h)},updateAbnormalSvgs:function(h){h=void 0===h?document:h;g.setSvgs(h);g.redrawAbnormalSvgs(h)}};window.sg.common.icon=g;a.ready(g.init)})();
594(function(){window.sg=window.sg||{};window.sg.authoring=window.sg.authoring||{};window.sg.authoring.raiseEvent={domContentLoaded:function(){var a=document.createEvent("Event");a.initEvent("DOMContentLoaded",!0,!0);return window.document.dispatchEvent(a)}}})();
595(function(){var a=window.sg.common.$q,m=window.sg.common.constants.KEY_CODE,k=window.sg.common.scrollbar,f=function(h,n){var e=this;n=void 0===n?-1:n;this.els={el:a(h),selectEl:null,btnEl:null,btnTextEl:null,listWrapEl:null,listEl:null,itemEls:null,docEl:a(document)};this.els.selectEl=this.els.el.find("select");this.els.selectEl.hide();this.options=[].concat($jscomp.arrayFromIterable(this.els.selectEl.target[0].options));this.selectedIndex=n;this.isDisabled=this.isOpen=!1;this.itemMappedIndices=[];
596this.itemMappedIndicesExclDisabled=[];this.eventHandler={docEl:{click:function(b){b.preventDefault();b.target.hasClass("dropdown__option")||e.close()}},el:{keydown:function(b){if(!e.isDisabled)switch(b.keyCode){case m.TAB:e.els.el.removeClass("selected");break;case m.ENTER:case m.SPACE:-1===e.selectedIndex&&(e.selectedIndex=0,e.selectItem(e.selectedIndex));e.keydown(b);break;case m.PAGE_UP:case m.HOME:e.selectedIndex=0;e.selectItem(e.selectedIndex,b);break;case m.PAGE_DOWN:case m.END:e.selectedIndex=
597e.els.itemEls.target.length-1;e.selectItem(e.selectedIndex,b);break;case m.LEFT:case m.UP:-1!==e.selectedIndex&&e.selectNext(-1,b);break;case m.RIGHT:case m.DOWN:-1!==e.selectedIndex?e.selectNext(1,b):e.selectItem(0,b);break;default:e.selectItem(e.getSelectedItemIndex(b.keyCode),b)}}},btnEl:{click:function(b){b.preventDefault();b.stopPropagation();e.isDisabled||(e.els.el.toggleClass("selected"),e.els.el.hasClass("selected")?(e.els.docEl.off("click",e.eventHandler.docEl.click),e.els.docEl.on("click",
598e.eventHandler.docEl.click),e.open()):e.close())}},selectEl:{change:function(b){e.selectedIndex=b.target.selectedIndex;e.els.btnTextEl.text(b.target.options[e.selectedIndex].text);e.select()}},itemEls:{click:function(b){b.preventDefault();b=a(b.target);b.hasClass("disabled")||(b=b.closest("li").index(),e.change(b),e.close(),e.els.btnEl.focus())}}};this.init()};f.prototype.init=function(){f.instances.has(this.els.el.target[0])||(f.instances.set(this.els.el.target[0],this),this.setElements(),this.bindEvents(),
599this.update(),-1<this.selectedIndex&&this.selectItem(this.selectedIndex))};f.prototype.reInit=function(h){this.els.selectEl=this.els.el.find("select");this.els.btnEl=this.els.el.find(".dropdown__cta");this.els.listWrapEl=this.els.el.find(".dropdown__list-wrap");this.options=[].concat($jscomp.arrayFromIterable(this.els.selectEl.target[0].options));this.removeElements();this.setElements();this.bindEvents();this.update();-1<h&&this.selectItem(h)};f.prototype.removeElements=function(){this.els.btnEl.remove();
600this.els.listWrapEl.remove()};f.prototype.setElements=function(){var h=this,n=this.els.selectEl.target[0],e=n.dataset.defaultMessage;e?n.selectedIndex=-1:e=n.options[n.selectedIndex].text;this.selectedIndex=n.selectedIndex;this.els.el.append('\x3ca class\x3d"dropdown__cta" title\x3d"'+n.title+'" href\x3d"#" role\x3d"combobox" aria-haspopup\x3d"listbox" aria-expanded\x3d"false"\x3e\x3cspan\x3e'+e+"\x3c/span\x3e\x3c/a\x3e");this.els.btnEl=this.els.el.find(".dropdown__cta");this.els.btnTextEl=this.els.btnEl.find("span");
601this.els.el.append('\x3cdiv class\x3d"dropdown__list-wrap scrollbar"\x3e\x3c/div\x3e');this.els.listWrapEl=this.els.el.find(".dropdown__list-wrap");this.els.listWrapEl.append('\x3cul class\x3d"dropdown__option-list scrollbar__contents" role\x3d"listbox" tabindex\x3d"0"\x3e');this.els.listEl=this.els.listWrapEl.find(".dropdown__option-list");this.options.forEach(function(b){h.els.listEl.append('\x3cli class\x3d"dropdown__option"\x3e\x3ca href\x3d"#" role\x3d"option"\x3e\x3cspan\x3e'+b.text+"\x3c/span\x3e\x3c/a\x3e\x3c/li\x3e")});
602this.els.itemEls=this.els.listEl.find("li\x3ea");k.init(this.els.listWrapEl.target[0]);this.select()};f.prototype.select=function(){this.els.itemEls.removeAttr("aria-selected");this.els.itemEls.removeClass("active");var h=this.els.itemEls.eq(this.selectedIndex);h.addClass("active");h.attr("aria-selected",!0)};f.prototype.bindEvents=function(){this.els.btnEl.off("click").on("click",this.eventHandler.btnEl.click);this.els.itemEls.off("click").on("click",this.eventHandler.itemEls.click);this.els.selectEl.off("change").on("change",
603this.eventHandler.selectEl.change);this.els.el.off("keydown").on("keydown",this.eventHandler.el.keydown)};f.prototype.update=function(){var h=this;this.els.el.hasClass("selected")&&(this.els.el.removeClass("selected"),this.els.btnEl.trigger("click"));(this.isDisabled=this.els.el.hasClass("disabled"))?(this.els.btnEl.attr("tabindex","-1"),this.els.btnEl.attr("aria-disabled","true")):(this.els.btnEl.removeAttr("tabindex"),this.els.btnEl.attr("aria-disabled","false"));this.els.itemEls.removeClass("disabled");
604this.els.itemEls.removeAttr("tabindex");this.els.itemEls.attr("aria-disabled","false");this.itemMappedIndices=[];this.itemMappedIndicesExclDisabled=[];var n=0;this.options.forEach(function(e,b){h.itemMappedIndices.push(-1);e.disabled?(e=h.els.itemEls.eq(b),e.addClass("disabled"),e.attr("tabindex","-1"),e.attr("aria-disabled","true")):(h.itemMappedIndices[b]=n++,h.itemMappedIndicesExclDisabled.push(b))})};f.prototype.open=function(){this.els.el.css({"z-index":1});-1!==this.els.selectEl.target[0].selectedIndex&&
605this.els.itemEls.eq(this.els.selectEl.target[0].selectedIndex).focus();this.els.btnEl.attr("aria-expanded",!0);this.isOpen=!0;this.resize()};f.prototype.close=function(){this.els.el.css({"z-index":""});this.els.el.removeAttr("z-index");this.els.el.removeClass("selected");this.isOpen=!1;this.els.btnEl.attr("aria-expanded",!1);this.els.docEl.off("click",this.eventHandler.docEl.click);this.els.btnEl.focus()};f.prototype.resize=function(){k.resize(this.els.listWrapEl.target[0])};f.prototype.change=function(h){var n=
606this.els.selectEl.target[0];n.selectedIndex!==h&&(this.selectedIndex=n.selectedIndex=h,this.els.selectEl.trigger("change"))};f.prototype.keydown=function(h){this.els.btnEl.trigger("click");h.preventDefault()};f.prototype.selectNext=function(h,n){var e=-1===this.itemMappedIndices[this.selectedIndex]?0:this.itemMappedIndices[this.selectedIndex];e+=h;h=0>e?this.itemMappedIndicesExclDisabled[0]:e>this.itemMappedIndicesExclDisabled.length-1?this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-
6071]:this.itemMappedIndicesExclDisabled[e];-1!==h&&(this.els.itemEls.target[h].focus(),this.change(h));n&&n.preventDefault()};f.prototype.selectItem=function(h,n){if(!(0>h)){var e=-1;0===h?e=this.itemMappedIndicesExclDisabled[0]:h===this.itemMappedIndices.length-1?e=this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-1]:-1!==this.itemMappedIndices[h]&&(e=h);-1!==e&&(this.els.itemEls.target[e].focus(),this.change(e));n&&n.preventDefault()}};f.prototype.getSelectedItemIndex=function(h){var n=
608this,e=/[A-Z]/,b=h-48*Math.floor(h/48),d=String.fromCharCode(96<=h?b:h),l=!0,q=-1;h=this.selectedIndex;this.els.itemEls.target.forEach(function(t,w){var x=t.textContent.substring(0,1).toUpperCase();t=a(t).hasClass("disabled");e.test(x)&&x===d&&!t&&-1===q&&(q=w);e.test(x)&&x===d&&n.selectedIndex<w&&l&&!t&&(n.selectedIndex=w,l=!1)});h===this.selectedIndex&&-1!==q&&(this.selectedIndex=q);return this.selectedIndex};f.instances=new WeakMap;var g={initAll:function(){a(".dropdown").target.forEach(function(h){f.instances.has(h)||
609new f(h)})},init:function(h){f.instances.has(h)||new f(h)},reInit:function(h,n){n=void 0===n?-1:n;f.instances.has(h)?f.instances.get(h).reInit(n):new f(h,n)}};window.sg.common.dropdown=g;a.ready(g.initAll)})();
610(function(){var a=window.sg.common.$q,m=window.BezierEasing,k=window.sg.common.lazyLoad,f=function(g){this.el=g;this.init()};f.prototype.init=function(){this.scrollPos=document.body.scrollTop||document.documentElement.scrollTop;this.isAnim=!1;this.duration=600;this.easing=m(.4,0,.2,1);this.bindEvent()};f.prototype.bindEvent=function(){this.handleScroll=this.handleScroll.bind(this);window.addEventListener("scroll",this.handleScroll);this.scrollToTop=this.scrollToTop.bind(this);this.el.addEventListener("click",
611this.scrollToTop)};f.prototype.handleScroll=function(){var g=document.body.scrollTop||document.documentElement.scrollTop;0<=g&&g!==this.scrollPos&&(0===g||g>this.scrollPos||this.isAnim?this.el.classList.remove("show"):this.el.classList.add("show"),this.scrollPos=g)};f.prototype.scrollToTop=function(){var g=document.body.scrollTop||document.documentElement.scrollTop,h=function(n){window.scrollTo(0,g-g*n);1===n&&k.setDisabled(!1)};this.isAnim||(k.setDisabled(),this.animate(h))};f.prototype.animate=
612function(g){var h=this,n=Date.now();this.isAnim=!0;var e=function(){var b=(Date.now()-n)/h.duration;1<b?(g(1),h.isAnim=!1):(requestAnimationFrame(e),g(h.easing(b)))};requestAnimationFrame(e)};f.instance=null;a.ready(function(){var g=document.querySelector(".fab");g&&!f.instance&&(f.instance=new f(g))})})();
613(function(){var a=window.sg.common.$q,m=function(f){this.els={el:f,inputEl:f.querySelector("input, textArea"),clearButtonEl:f.querySelector(".icon"),assistiveMsgEl:f.querySelector(".assistive-message"),errorMsgEl:f.querySelector(".error-message"),successMsgEl:f.querySelector(".success-message")};this.init()};m.prototype.init=function(){m.instances.has(this.els.el)||(m.instances.set(this.els.el,this),this.bindEvents())};m.prototype.setAssistiveMessage=function(f){this.els.assistiveMsgEl.innerText=
614f};m.prototype.setErrorMessage=function(f){this.els.errorMsgEl.innerText=f};m.prototype.setSuccessMessage=function(f){this.els.errorMsgEl.innerText=f};m.prototype.setValue=function(f){this.els.inputEl.value=f;this.els.inputEl!==document.activeElement&&(""!==f.replace(/^\s+$/,"")?this.els.el.classList.add("text-field--active"):this.els.el.classList.remove("text-field--active"))};
614m.prototype.focusIn=function(){this.els.el.classList.add("text-field--focus")};m.prototype.focusOut=function(f){this.els.el.classList.remove("text-field--focus");
615""!==f.target.value.replace(/^\s+$/,"")?this.els.el.classList.add("text-field--active"):this.els.el.classList.remove("text-field--active")};m.prototype.bindEvents=function(){var f=this;this.focusIn=this.focusIn.bind(this);this.focusOut=this.focusOut.bind(this);this.els.inputEl.addEventListener("focus",this.focusIn);this.els.inputEl.addEventListener("blur",this.focusOut);this.els.clearButtonEl&&this.els.clearButtonEl.addEventListener("click",function(){f.els.inputEl.value="";f.els.el.classList.remove("text-field--active")})};
616m.instances=new WeakMap;var k={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".text-field"))).forEach(function(f){m.instances.has(f)||new m(f)})},init:function(f){return m.instances.has(f)?m.instances.get(f):new m(f)},setAssistiveMessage:function(f,g){m.instances.has(f)&&m.instances.get(f).setAssistiveMessage(g)},setErrorMessage:function(f,g){m.instances.has(f)&&m.instances.get(f).setErrorMessage(g)},setSuccessMessage:function(f,g){m.instances.has(f)&&m.instances.get(f).setSuccessMessage(g)},
617setValue:function(f,g){m.instances.has(f)&&m.instances.get(f).setValue(g)}};window.sg.common.textField=k;a.ready(function(){return k.initAll()})})();
618(function(){var a=window.sg.common.$q,m=window.sg.common.utils.getCurrentDevice,k=function(g){this.els={el:g,inputWrapEl:null,hintTextEl:null,inputWrapOutlineEl:null,inputEl:null,textAreaEl:null,voiceInputBtnEl:null,deleteBtnEl:null,errorIconEl:null,openDownBtnEl:null,iconEls:[],textLengthEl:null,assistiveMsgEl:null,errorMsgEl:null,successMsgEl:null};this.isCheckTextLength=this.isMultiLineHint=this.isMultiLine=this.isNoTitle=this.disabled=!1;this.maxLength=0;this.device=m();this.init()};k.prototype.init=
619function(){k.instances.has(this.els.el)||(k.instances.set(this.els.el,this),this.setElements(),this.bindEvents())};k.prototype.reInit=function(){this.unBindEvents();this.setElements();this.bindEvents()};k.prototype.destroy=function(){this.unBindEvents();k.instances.has(this.els.el)&&k.instances.delete(this.els.el);this.els=null};k.prototype.setElements=function(){this.els.inputEl=this.els.el.querySelector(".text-field-v2__input");this.els.textAreaEl=this.els.el.querySelector(".text-field-v2__input-multi-line");
620this.els.voiceInputBtnEl=this.els.el.querySelector(".text-field-v2__input-icon.voice-input");this.els.voiceInputBtnEl&&this.els.iconEls.push(this.els.voiceInputBtnEl);this.els.deleteBtnEl=this.els.el.querySelector(".text-field-v2__input-icon.delete");this.els.deleteBtnEl&&this.els.iconEls.push(this.els.deleteBtnEl);this.els.errorIconEl=this.els.el.querySelector(".text-field-v2__input-icon.error");this.els.errorIconEl&&this.els.iconEls.push(this.els.errorIconEl);this.els.openDownBtnEl=this.els.el.querySelector(".text-field-v2__input-icon.open-down");
621this.els.openDownBtnEl&&this.els.iconEls.push(this.els.openDownBtnEl);this.els.assistiveMsgEl=this.els.el.querySelector(".text-field-v2__text.assistive");this.els.errorMsgEl=this.els.el.querySelector(".text-field-v2__text.error");this.els.successMsgEl=this.els.el.querySelector(".text-field-v2__text.success");this.disabled=this.els.el.classList.contains("disabled");!this.els.inputEl&&this.els.textAreaEl&&(this.els.el.classList.add("multi-line"),this.isMultiLine=!0);!this.els.iconEls.length&&this.els.inputEl&&
622this.els.el.classList.add("no-icon");this.isNoTitle=this.els.el.classList.contains("no-title");if(this.isMultiLineHint=this.els.el.hasAttribute("data-multi-line-hint"))this.els.inputWrapEl=this.els.el.querySelector(".text-field-v2__input-wrap"),this.els.hintTextEl=this.els.el.querySelector(".text-field-v2__hint"),this.isMultiLine&&(this.els.inputWrapOutlineEl=this.els.el.querySelector(".text-field-v2__input-wrap__outline")),this.setMultiLineHint();if(this.isCheckTextLength=this.isMultiLine&&this.els.el.hasAttribute("data-text-length"))this.els.textLengthEl=
623this.els.el.querySelector(".text-field-v2__text.text-length"),this.maxLength=this.els.textAreaEl.getAttribute("maxLength"),this.setTextLength(this.els.textAreaEl.value);this.checkActive();this.els.el.classList.contains("error")?this.setState("error"):this.els.el.classList.contains("success")?this.setState("success"):this.setState("normal")};k.prototype.setAccessibility=function(g){switch(g){case "error":if(this.els.errorMsgEl)var h=this.els.errorMsgEl.id;break;case "success":this.els.successMsgEl&&
624(h=this.els.successMsgEl.id);break;default:this.els.assistiveMsgEl&&(h=this.els.assistiveMsgEl.id)}this.els.textLengthEl&&(h=h?h+" "+this.els.textLengthEl.id:this.els.textLengthEl.id);this.els.inputEl&&(h?this.els.inputEl.setAttribute("aria-describedby",h):this.els.inputEl.removeAttribute("aria-describedby"));this.els.textAreaEl&&(h?this.els.textAreaEl.setAttribute("aria-describedby",h):this.els.textAreaEl.removeAttribute("aria-describedby"))};k.prototype.handleFocus=function(){this.els.el.classList.add("active");
625this.els.el.classList.add("focus")};k.prototype.handleBlur=function(){this.els.el.classList.remove("focus");this.checkActive()};k.prototype.handleInput=function(g){""!==g.target.value.replace(/^\s+$/,"")?this.els.deleteBtnEl&&this.els.el.classList.add("delete"):(this.els.el.classList.remove("delete"),this.setState("normal"));this.setTextLength(g.target.value)};k.prototype.handleDeleteBtnClick=function(){this.els.inputEl.value="";this.els.el.classList.remove("delete");this.setState("normal");this.els.inputEl.focus()};
626k.prototype.handleDeleteBtnKeypress=function(g){13===g.keyCode&&g.stopPropagation()};k.prototype.checkActive=function(){var g="";this.els.inputEl&&(g=this.els.inputEl.value);this.els.textAreaEl&&(g=this.els.textAreaEl.value);""!==g.replace(/^\s+$/,"")?this.els.el.classList.add("active"):this.els.el.classList.remove("active")};k.prototype.setTextLength=function(g){this.isCheckTextLength&&(this.els.textLengthEl.textContent=g.length+"/"+this.maxLength)};k.prototype.bindEvents=function(){this.handleFocus=
627this.handleFocus.bind(this);this.handleBlur=this.handleBlur.bind(this);this.handleInput=this.handleInput.bind(this);this.els.inputEl&&(this.els.inputEl.addEventListener("focus",this.handleFocus),this.els.inputEl.addEventListener("blur",this.handleBlur),this.els.inputEl.addEventListener("input",this.handleInput));this.els.textAreaEl&&(this.els.textAreaEl.addEventListener("focus",this.handleFocus),this.els.textAreaEl.addEventListener("blur",this.handleBlur),this.els.textAreaEl.addEventListener("input",
628this.handleInput));this.els.deleteBtnEl&&(this.handleDeleteBtnClick=this.handleDeleteBtnClick.bind(this),this.handleDeleteBtnKeypress=this.handleDeleteBtnKeypress.bind(this),this.els.deleteBtnEl.addEventListener("click",this.handleDeleteBtnClick),this.els.deleteBtnEl.addEventListener("keypress",this.handleDeleteBtnKeypress));this.isMultiLineHint&&(this.resize=this.resize.bind(this),window.addEventListener("resize",this.resize))};k.prototype.unBindEvents=function(){this.els.inputEl&&(this.els.inputEl.removeEventListener("focus",
629this.handleFocus),this.els.inputEl.removeEventListener("blur",this.handleBlur),this.els.inputEl.removeEventListener("input",this.handleInput));this.els.textAreaEl&&(this.els.textAreaEl.removeEventListener("input",this.handleInput),this.els.textAreaEl.removeEventListener("blur",this.handleBlur),this.els.textAreaEl.removeEventListener("input",this.handleInput));this.els.deleteBtnEl&&(this.els.deleteBtnEl.removeEventListener("click",this.handleDeleteBtnClick),this.els.deleteBtnEl.removeEventListener("keypress",
630this.handleDeleteBtnKeypress));this.isMultiLineHint&&window.removeEventListener("resize",this.resize)};k.prototype.setDisabled=function(g){(this.disabled=void 0===g?!0:g)?(this.els.el.classList.add("disabled"),[].concat($jscomp.arrayFromIterable(this.els.iconEls)).forEac
630h(function(h){h&&"BUTTON"===h.tagName.toUpperCase()&&(h.disabled=!0)})):(this.els.el.classList.remove("disabled"),[].concat($jscomp.arrayFromIterable(this.els.iconEls)).forEach(function(h){h&&"BUTTON"===h.tagName.toUpperCase()&&(h.disabled=
631!1)}))};k.prototype.setState=function(g){switch(g){case "error":this.els.errorIconEl&&this.els.el.classList.remove("delete");this.els.el.classList.remove("success");this.els.el.classList.add("error");break;case "success":this.els.el.classList.remove("delete");this.els.el.classList.remove("error");this.els.el.classList.add("success");break;default:this.els.el.classList.remove("success"),this.els.el.classList.remove("error")}this.setAccessibility(g)};k.prototype.setMsg=function(g,h){switch(g){case "error":this.els.errorMsgEl&&
632(this.els.errorMsgEl.innerText=h);break;case "success":this.els.successMsgEl&&(this.els.successMsgEl.innerText=h);break;default:this.els.assistiveMsgEl&&(this.els.assistiveMsgEl.innerText=h)}};k.prototype.setMultiLineHint=function(){var g=this;if("mobile"===this.device){var h=function(e){return(100*e/360).toFixed(2)+"vw"};requestAnimationFrame(function(){if(g.isMultiLine){if(!g.isNoTitle){g.els.el.querySelector(".text-field-v2__fake-label.title")||g.els.el.insertAdjacentHTML("afterbegin",'\x3cp class\x3d"text-field-v2__fake-label title" aria-hidden\x3d"true"\x3e'+
633g.els.hintTextEl.textContent+"\x3c/p\x3e");var e=360*g.els.el.querySelector(".text-field-v2__fake-label.title").getBoundingClientRect().height/window.innerWidth+10;g.els.hintTextEl.style.transform="translate("+h(14)+", "+h(e)+")"}}else{g.isNoTitle||(g.els.el.querySelector(".text-field-v2__fake-label.title")||g.els.el.insertAdjacentHTML("afterbegin",'\x3cp class\x3d"text-field-v2__fake-label title" aria-hidden\x3d"true"\x3e'+g.els.hintTextEl.textContent+"\x3c/p\x3e"),e=360*g.els.el.querySelector(".text-field-v2__fake-label.title").getBoundingClientRect().height/
634window.innerWidth,g.els.hintTextEl.style.transform="translate(0, "+h(e)+")");g.els.inputWrapEl.querySelector(".text-field-v2__fake-label.input")||g.els.inputWrapEl.insertAdjacentHTML("afterbegin",'\x3cp class\x3d"text-field-v2__fake-label input" aria-hidden\x3d"true"\x3e'+g.els.hintTextEl.textContent+"\x3c/p\x3e");var b=g.els.el.querySelector(".text-field-v2__fake-label.input").getBoundingClientRect().height;g.els.inputEl.style.height=h(360*b/window.innerWidth);g.els.iconEls.forEach(function(d){d.style.bottom=
635h(360*b/window.innerWidth/2-6)})}})}else{var n=this.els.el.querySelector(".text-field-v2__fake-label.title");n&&n.remove();(n=this.els.el.querySelector(".text-field-v2__fake-label.input"))&&n.remove();this.els.hintTextEl.style="";this.els.inputEl&&(this.els.inputEl.style="");this.els.iconEls.forEach(function(e){e.style=""})}};k.prototype.resize=function(){var g=m();this.device!==g&&(this.device=g,this.setMultiLineHint())};k.prototype.setValue=function(g){if(this.els.inputEl)var h=this.els.inputEl;
636this.els.textAreaEl&&(h=this.els.textAreaEl);h.value=void 0===g?"":g;""!==h.value.replace(/^\s+$/,"")?(this.els.el.classList.add("active"),this.els.deleteBtnEl&&this.els.el.classList.add("delete")):(document.activeElement!==h&&this.els.el.classList.remove("active"),this.els.el.classList.remove("delete"),this.setState("normal"));this.setTextLength(h.value)};k.prototype.getValue=function(){if(this.els.inputEl)return this.els.inputEl.value;if(this.els.textAreaEl)return this.els.textAreaEl.value};k.instances=
637new WeakMap;window.sg.components.registerClass("textFieldv2",k);var f={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.text-field-v2:not([data-auto-init\x3d"false"])'))).forEach(function(g){k.instances.has(g)||new k(g)})},init:function(g){k.instances.has(g)||new k(g)},reInit:function(g){k.instances.has(g)?k.instances.get(g).reInit():new k(g)},destroy:function(g){k.instances.has(g)&&k.instances.get(g).destroy()},setDisabled:function(g,h){h=void 0===h?!0:h;k.instances.has(g)&&
638k.instances.get(g).setDisabled(h)},setState:function(g,h){k.instances.has(g)&&k.instances.get(g).setState(h)},setMsg:function(g,h,n){k.instances.has(g)&&k.instances.get(g).setMsg(h,n)}};window.sg.common.textFieldv2=f;a.ready(f.initAll)})();
639(function(){var a=window.sg.common.$q,m=function(f){this.els={el:a(f),buttonEl:null};this.on=!1;this.init()};m.prototype.init=function(){m.instances.has(this.els.el.target[0])||(m.instances.set(this.els.el.target[0],this),this.setElements(),this.bindEvents())};m.prototype.reInit=function(){this.setElements();this.bindEvents()};m.prototype.setElements=function(){this.els.buttonEl=this.els.el.find(".switch-v2__button");this.els.textEl=this.els.el.find(".switch-v2__button-text");this.on=this.els.buttonEl.hasClass("on");
640this.els.el.addClass("initialized")};m.prototype.bindEvents=function(){var f=this;this.els.buttonEl.off("click").on("click",function(){f.els.el.removeClass("initialized");f.els.buttonEl.hasClass("on")?(f.els.buttonEl.removeClass("on"),f.on=!1,f.els.buttonEl.attr("aria-pressed",!1)):(f.els.buttonEl.addClass("on"),f.on=!0,f.els.buttonEl.attr("aria-pressed",!0))})};m.instances=new WeakMap;var k={initAll:function(){a(".switch-v2").target.forEach(function(f){m.instances.has(f)||new m(f)})},reInit:function(f){m.instances.has(f)?
641m.instances.get(f).reInit():new m(f)}};window.sg.common.switchv2=k;a.ready(k.initAll())})();
642(function(){var a=window.sg.common.$q,m=window.sg.common.utils,k=m.getCurrentDevice,f=m.extend,g=m.closest,h=m.addEventListener,n=m.removeAllEventListeners,e=m.triggerEvent,b=m.isRtl,d=m.getNormalizedScrollLeft,l=m.setNormalizedScrollLeft,q=window.BezierEasing,t=function(w){this.els={el:w,wrap:null,controlEl:null,controlHiddenEl:null,indicatorListWrapEl:null,indicatorListEl:null,indicatorEls:[],indicatorDotEls:[],indicatorLineEls:[],indicatorPageEls:[],videoWrapEls:[],videoEls:[]};this.defaultOption=
643{type:"label-indicator",play:!1,control:!1,autoRolling:!1,infiniteRolling:!1,indicators:[]};this.dotSizeSmall=.5;this.dotSizeMedium=.75;this.dotSizeLarge=1;this.transitionDuration=400;this.transitionTimer=null;this.init()};t.prototype.init=function(){this.initValues();this.setElements();this.bindEvents();this.option.control||this.option.play||this.select(0);t.instances.has(this.els.el)||t.instances.set(this.els.el,this)};t.prototype.reInit=function(){this.select(-1);this.unBindEvents();this.initValues();
644this.setElements();this.bindEvents();clearTimeout(this.transitionTimer);this.option.control||this.option.play||this.select(0)};t.prototype.destroy=function(){this.select(-1);this.unBindEvents();t.instances.has(this.els.el)&&t.instances.delete(this.els.el);this.els=null};t.prototype.initValues=function(){this.option={};this.playing=!1;this.selectedIndex=-1;this.elapseTime=0;this.device=k();this.type="";this.firstIndex=this.translateX=0;this.lastIndex=6;this.maxDotNum=7;this.inTransition=!1;this.control=
645"stop";this.role="";this.animReqId&&(cancelAnimationFrame(this.animReqId),this.animReqId=null);this.videosLoaded=[];this.isRtl=b();if(this.isDotSrollable=!!this.els.el.hasAttribute("data-dot-scrollable"))this.isAnim=!1,this.duration=200,this.easing=q(.4,0,.2,1)};t.prototype.setElements=function(){var w=this,x=g(this.els.el,".indicator-container");x?(this.els.wrap=x,[].concat($jscomp.arrayFromIterable(this.els.wrap.querySelectorAll(".indicator-page"))).forEac
645h(function(D){D.classList.contains("swiper-slide-duplicate")||
646w.els.indicatorPageEls.push(D)})):this.els.wrap=null;this.els.controlEl=this.els.el.querySelector(".indicator__controls");this.els.controlHiddenEl=this.els.el.querySelector(".indicator__controls \x3e .hidden");this.els.indicatorEls=this.els.el.querySelectorAll(".indicator__item");this.els.indicatorListWrapEl=this.els.el.querySelector(".indicator__list-wrap");this.els.indicatorListEl=this.els.el.querySelector(".indicator__list");this.els.indicatorDotEls=this.els.el.querySelectorAll(".indicator__dot-inner");
647this.els.indicatorLineEls=this.els.el.querySelectorAll(".indicator__label-line-filled");var B=JSON.parse(JSON.stringify(this.defaultOption));this.role=this.els.indicatorListEl.getAttribute("role");[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(D){"tablist"===w.role&&D.setAttribute("aria-selected","false");B.indicators.push(parseInt(D.dataset.indicatorDelay))});x=JSON.parse(this.els.el.dataset.indicatorData);this.option=f(B,x);this.els.controlEl&&(this.option.control=
648!0);this.option.autoRolling&&(this.option.play=!1);this.setType();this.setDots()};t.prototype.setType=function(){if("desktop"===k())switch(this.option.type){case "dot-indicator":this.els.el.classList.remove("label-indicator");this.els.el.classList.add("dot-indicator");this.type="dot-indicator";break;case "dot-indicator-mobile-only":this.els.el.classList.remove("label-indicator");this.els.el.classList.add("dot-indicator");this.els.el.classList.add("dot-indicator-mobile-only");this.type="dot-indicator";
649break;case "progress-indicator":break;default:this.els.el.classList.remove("dot-indicator"),this.els.el.classList.remove("dot-indicator-mobile-only"),this.els.el.classList.add("label-indicator"),this.type="label-indicator"}else"dot-indicator-mobile-only"===this.option.type&&this.els.el.classList.add("dot-indicator-mobile-only"),this.els.el.classList.remove("label-indicator"),this.els.el.classList.add("dot-indicator"),this.type="dot-indicator";"dot-indicator"===this.type&&this.option.indicators.length>
650this.maxDotNum&&this.els.indicatorListWrapEl.classList.add("dot-more")};t.prototype.bindEvents=function(){var w=this;[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(x,B){h(x,"click",function(){return w.select(B)});h(x,"mouseenter",function(){return w.handleMouseEnter(B)});h(x,"mouseleave",function(){return w.handleMouseLeave(B)});h(x,"focusin",function(){w.handleMouseEnter(B);w.isDotSrollable||w.setDotsFocused(B)});h(x,"focusout",function(){w.handleMouseLeave(B)})});this.option.control&&
651h(this.els.controlEl,"click",function(){w.handleControl()});this.resize=this.resize.bind(this);window.addEventListener("resize",this.resize)};t.prototype.unBindEvents=function(){[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(w){n(w,"click");n(w,"mouseenter");n(w,"mouseleave");n(w,"focusin");n(w,"focusout")});this.option.control&&n(this.els.controlEl,"click");window.removeEventListener("resize",this.resize)};t.prototype.resize=function(){var w=k();this.device!==w&&(this.device=
652w,this.setType(),"label-indicator"===this.type&&(this.els.indicatorListEl.style.transform="",[].concat($jscomp.arrayFromIterable(this.els.indicatorEls)).forEach(function(x){x.removeAttribute("tabindex");x.removeAttribute("aria-hidden");x.style.visibility=""})),this.select(this.selectedIndex,!0));this.setDots()};t.prototype.handleMouseEnter=function(w){w=this.els.indicatorEls[w];w.classList.add("indicator__item--hover");w.classList.remove("indicator__item--not-hover")};t.prototype.handleMouseLeave=
653function(w){w=this.els.indicatorEls[w];var x=w.matches?w.matches(":hover"):w.msMatchesSelector(":hover"),B=w.matches?w.matches(":focus"):w.msMatchesSelector(":focus");x||B||(w.classList.remove("indicator__item--hover"),w.classList.add("indicator__item--not-hover"))};t.prototype.handleControl=function(w){if((w=void 0===w?null:w)?!this.playing&&"play"===w:!this.playing)this.control="play",-1<this.selectedIndex?this.play():this.select(0);else if(w?this.playing&&"pause"===w:this.playing)this.control=
654"stop",this.pause();this.option.control&&(this.setControlTagging(),w||e(this.els.el,"controlChange",{index:this.selectedIndex,playing:this.playing}))};t.prototype.setControlTagging=function(){var w="play"===this.control?"stop":"play",x=this.els.controlEl.getAttribute("an-la");x&&(x=""+x.substring(0,x.length-4)+w,this.els.controlEl.setAttribute("an-la",x))};t.prototype.select=function(w,x,B){var D=this;B=void 0===B?!1:B;if(this.els.indicatorEls.length){var z=this.selectedIndex;if(z!==w||(void 0===
655x?0:x))if(this.animReqId&&(cancelAnimationFrame(this.animReqId),this.animReqId=null),-1<z&&(this.els.indicatorEls[z].classList.contains("indicator__item--active")&&this.els.indicatorEls[z].classList.remove("indicator__item--active"),"tablist"===this.role?this.els.indicatorEls[z].setAttribute("aria-selected","false"):this.els.indicatorEls[z].removeAttribute("title"),"label-indicator"===this.type&&this.els.indicatorLineEls[z]&&(this.els.indicatorLineEls[z].style.transform="")),0>w)this.option.control&&
656this.pause(),this.selectedIndex=w;else{this.selectedIndex=w;this.els.indicatorEls[this.selectedIndex].classList.contains("indicator__item--active")||this.els.indicatorEls[this.selectedIndex].classList.add("indicator__item--active");"tablist"===this.role?this.els.indicatorEls[this.selectedIndex].setAttribute("aria-selected","true"):this.els.indicatorEls[this.selectedIndex].setAttribute("title","selected");B&&e(this.els.el,"indicatorReiterate");e(this.els.el,"indicatorMove",this.selectedIndex);this.inTransition=
657!0;var T=function(aa){aa=void 0===aa?D.transitionDuration:aa;D.transitionTimer=setTimeout(function(){D.elapseTime=0;D.inTransition=!1;D.selectedIndex===w&&("play"===D.control||!D.option.autoRolling&&D.option.play)&&D.play()},0<aa?aa:0)},Y=0,la=function(aa){var wa=D.els.videoEls[D.selectedIndex]?D.els.videoEls[D.selectedIndex]:D.els.videoEls[D.selectedIndex]=aa.querySelector(".indicator-background video");if(wa)if(4>wa.readyState&&!D.videosLoaded[D.selectedIndex]){var va=Date.now(),ha=function(){wa.removeEventListener("canplaythrough",
658ha);wa.currentTime=0;D.option.indicators[D.selectedIndex]===parseInt(D.els.indicatorEls[D.selectedIndex].dataset.indicatorDelay)&&(D.option.indicators[D.selectedIndex]=1E3*wa.duration);D.videosLoaded[D.selectedIndex]=!0;T(D.transitionDuration-(Date.now()-va+200*Y))};wa.addEventListener("canplaythrough",ha)}else wa.currentTime=0,D.option.indicators[D.selectedIndex]===parseInt(D.els.indicatorEls[D.selectedIndex].dataset.indicatorDelay)&&(D.option.indicators[D.selectedIndex]=1E3*wa.duration),D.videosLoaded[D.selectedIndex]=
659!0,T();else 5>Y&&setTimeout(function(){la(aa);Y++},200)};this.els.indicatorPageEls[this.selectedIndex]?(x=this.els.videoWrapEls[this.selectedIndex]?this.els.videoWrapEls[this.selectedIndex]:this.els.videoWrapEls[this.selectedIndex]=this.els.indicatorPageEls[this.selectedIndex].querySelector(".indicator-background .video"))?"TRUE"===x.dataset.videoEmbed.toUpperCase()&&"FALSE"===x.dataset.imageDefault.toUpperCase()?la(x):T():T():T();-1<z&&this.els.videoEls[z]&&this.els.videoEls[z].pause();this.setDots()}}};
660t.prototype.moveDots=function(){var w=this;if("dot-indicator"===this.type&&this.option.indicators.length>this.maxDotNum){var x=this.els.indicatorEls[0].getBoundingClientRect().width+parseFloat(this.isRtl?getComputedStyle(this.els.indicatorEls[0]).marginLeft:getComputedStyle(this.els.indicatorEls[0]).marginRight),B=this.firstIndex*x;if(this.isDotSrollable){var D=d(this.els.indicatorListEl);x=this.els.indicatorListEl.scrollWidth-Math.floor(this.els.indicatorListEl.getBoundingClientRect().width);B>x&&
661(B=x);B=this.isRtl?x-B-D:B-D;x=function(){if(!w.isAnim){var z=Date.now();w.isAnim=!0;var T=function(){var Y=(Date.now()-z)/w.duration;1<Y?(l(w.els.indicatorListEl,D+1*B),w.isAnim=!1):(requestAnimationFrame(T),l(w.els.indicatorListEl,D+B*w.easing(Y)))};requestAnimationFrame(T)}};0<Math.abs(B)&&x()}else B=this.isRtl?B:-B,this.els.indicatorListEl.style.transform="translate3d("+B+"px,0,0)"}};t.prototype.setDotsFocused=function(w){"dot-indicator"===this.type&&this.option.indicators.length>this.maxDotNum&&
662(w>this.lastIndex?(this.firstIndex=w-6,this.lastIndex=w,this.moveDots()):w<this.firstIndex&&(this.firstIndex=w,this.lastIndex=w+6,this.moveDots()))};t.prototype.setDots=function(){if("dot-indicator"===this.type&&this.option.indicators.length>this.maxDotNum){var w=0>this.selectedIndex?0:this.selectedIndex;w>this.lastIndex?(this.firstIndex=w-6,this.lastIndex=w):w<this.firstIndex&&(this.firstIndex=w,this.lastIndex=w+6);if(w>this.lastIndex-2){var x=2-(this.lastIndex-w),B=this.option.indicators.length-
663this.lastIndex-1;this.firstIndex+=B>=x?x:B;this.lastIndex+=B>=x?x:B}else w<this.firstIndex+2&&(x=2-(w-this.firstIndex),B=this.firstIndex,this.firstIndex-=B>=x?x:B,this.lastIndex-=B>=x?x:B);this.moveDots();for(x=0;x<this.els.indicatorEls.length;x++)if(x<this.firstIndex||x>this.lastIndex)this.els.indicatorDotEls[x].style.transform="scale("+this.dotSizeSmall+")";this.els.indicatorDotEls[w].style.transform="scale("+this.dotSizeLarge+")";if(w>this.lastIndex-3){for(x=this.firstIndex+2;x<w;x++)this.els.indicatorDotEls[x].style.transform=
664"scale("+this.dotSizeLarge+")";1<this.firstIndex?(this.els.indicatorDotEls[this.firstIndex].style.transform="scale("+this.dotSizeSmall+")",this.els.indicatorDotEls[this.firstIndex+1].style.transform="scale("+this.dotSizeMedium+")"):0<this.firstIndex&&(this.els.indicatorDotEls[this.firstIndex].style.transform="scale("+this.dotSizeMedium+")");this.els.indicatorDotEls[w+1]&&(x=parseFloat(this.els.indicatorDotEls[w+1].style.transform.replace(/[^\d.]/g,"")),this.dotSizeMedium>=x&&(this.els.indicatorDotEls[w+
6651].style.transform="scale("+this.dotSizeMedium+")"));
665this.els.indicatorDotEls[w+2]&&(x=parseFloat(this.els.indicatorDotEls[w+2].style.transform.replace(/[^\d.]/g,"")),this.dotSizeSmall>=x&&(this.els.indicatorDotEls[w+2].style.transform="scale("+this.dotSizeSmall+")"))}if(w<this.firstIndex+3){for(x=w+1;x<this.lastIndex-1;x++)this.els.indicatorDotEls[x].style.transform="scale("+this.dotSizeLarge+")";this.lastIndex<this.option.indicators.length-2?(this.els.indicatorDotEls[this.lastIndex].style.transform=
666"scale("+this.dotSizeSmall+")",this.els.indicatorDotEls[this.lastIndex-1].style.transform="scale("+this.dotSizeMedium+")"):this.lastIndex<this.option.indicators.length-1&&(this.els.indicatorDotEls[this.lastIndex].style.transform="scale("+this.dotSizeMedium+")");this.els.indicatorDotEls[w-1]&&(x=parseFloat(this.els.indicatorDotEls[w-1].style.transform.replace(/[^\d.]/g,"")),this.dotSizeMedium>=x&&(this.els.indicatorDotEls[w-1].style.transform="scale("+this.dotSizeMedium+")"));this.els.indicatorDotEls[w-
6672]&&(x=parseFloat(this.els.indicatorDotEls[w-2].style.transform.replace(/[^\d.]/g,"")),this.dotSizeSmall>=x&&(this.els.indicatorDotEls[w-2].style.transform="scale("+this.dotSizeSmall+")"))}}};t.prototype.setIndicatorDelay=function(w,x){this.option.indicators[w]=x};t.prototype.play=function(){var w=this;this.inTransition||(this.option.control&&(this.els.controlEl.classList.remove("indicator__controls--play"),this.els.controlHiddenEl.innerHTML="stop",this.control="play",this.setControlTagging()),this.playing=
668!0,this.els.videoEls[this.selectedIndex]&&!this.els.videoEls[this.selectedIndex].ended&&this.els.videoEls[this.selectedIndex].play(),this.delay=this.option.indicators[this.selectedIndex]-this.elapseTime,0<this.delay&&(this.start=Date.now(),this.animReqId=requestAnimationFrame(function(){return w.updateProgress(w.selectedIndex)})))};t.prototype.pause=function(){this.option.control&&(this.els.controlEl.classList.add("indicator__controls--play"),this.els.controlHiddenEl.innerHTML="play",this.control=
669"stop",this.setControlTagging());this.playing=!1;this.els.videoEls[this.selectedIndex]&&this.els.videoEls[this.selectedIndex].pause();this.animReqId&&(this.elapseTime+=Date.now()-this.start,cancelAnimationFrame(this.animReqId),this.animReqId=null)};t.prototype.updateProgress=function(w){var x=this;if(this.selectedIndex===w){var B=Date.now()-this.start;B>=this.delay?(e(this.els.el,"indicatorDelayEnd",{index:this.selectedIndex}),this.option.autoRolling&&(w===this.option.indicators.length-1?this.option.infiniteRolling?
670this.select(0,!1,!0):this.select(-1):this.select(w+1))):("label-indicator"===this.type&&(B=(this.elapseTime+B)/this.option.indicators[w],1<B&&(B=100),this.els.indicatorLineEls[w].style.transform="scaleX("+B+")"),this.animReqId=requestAnimationFrame(function(){return x.updateProgress(w)}))}};t.instances=new WeakMap;window.sg.components.registerClass&&window.sg.components.registerClass("indicator",t);m={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.indicator:not([data-auto-init\x3d"false"])'))).forEach(function(w){t.instances.has(w)||
671new t(w)})},init:function(w){return t.instances.has(w)?t.instances.get(w):new t(w)},reInit:function(w){t.instances.has(w)?t.instances.get(w).reInit():new t(w)},move:function(w,x,B){B=void 0===B?!1:B;t.instances.has(w)&&t.instances.get(w).select(x,B)},play:function(w){t.instances.has(w)&&t.instances.get(w).handleControl("play")},pause:function(w){t.instances.has(w)&&t.instances.get(w).handleControl("pause")},setIndicatorDelay:function(w,x,B){t.instances.has(w)&&t.instances.get(w).setIndicatorDelay(x,
672B)}};window.sg.common.indicator=m;a.ready(m.initAll)})();
673(function(){var a=window.sg.common.$q,m=function(f){this.els={el:f,mobileSourceEl:f.querySelector("source:nth-of-type(1)"),desktopSourceEl:f.querySelector("source:nth-of-type(2)"),desktopOverSourceEl:f.querySelector("source:nth-of-type(3)"),imgEl:f.querySelector("img")};this.currentPlayingVideoEl={};this.focusTargetEl={};this.init()};m.prototype.init=function(){var f=this;m.instances.get(this.els.el)||(m.instances.set(this.els.el,this),"Netscape"===navigator.appName&&-1!==navigator.userAgent.
673search("Trident")||
674-1!==navigator.userAgent.indexOf("msie")?(this.setFirstImage(),window.addEventListener("resize",function(){f.setFirstImage()})):this.els.imgEl.dataset.desktopAlt&&(this.setResponsiveAlt(),window.addEventListener("resize",function(){f.setResponsiveAlt()})))};m.prototype.setFirstImage=function(){var f=this.getTargetDevice();if(this.els.imgEl.dataset.targetDevice!==f){var g="";"mobile"===f?(g=this.els.mobileSourceEl.getAttribute("srcset").split(","),g=1.5>window.devicePixelRatio||1===g.length?g[0]:g[1]):
675"desktop"===f?(g=this.els.desktopSourceEl.getAttribute("srcset").split(","),g=1.5>window.devicePixelRatio||1===g.length?g[0]:g[1]):"desktop-over"===f&&(g=this.els.desktopOverSourceEl.getAttribute("srcset").split(","),g=1.5>window.devicePixelRatio||1===g.length?g[0]:g[1]);g=g.trim().split(" ")[0];g!==this.els.imgEl.src&&(this.els.imgEl.src=g);this.els.imgEl.dataset.desktopAlt&&("mobile"===f?this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.mobileAlt):this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.desktopAlt));
676this.els.imgEl.dataset.targetDevice=f}};m.prototype.setResponsiveAlt=function(){var f=this.getTargetDevice();this.els.imgEl.dataset.targetDevice!==f&&("mobile"===f?this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.mobileAlt):this.els.imgEl.setAttribute("alt",this.els.imgEl.dataset.desktopAlt),this.els.imgEl.dataset.targetDevice=f)};m.prototype.getTargetDevice=function(){var f=window,g="inner";"innerWidth"in window||(g="client",f=document.documentElement||document.body);f=f[g+"Width"];return 768>
677f?"mobile":768<=f&&1366>f?"desktop":"desktop-over"};m.instances=new WeakMap;var k={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".first-image"))).forEach(function(f){m.instances.has(f)||new m(f)})}};window.sg.common.firstImage=k;a.ready(k.initAll)})();
678(function(){var a=window.sg.common.$q,m=window.sg.common.constants.KEY_CODE,k=window.sg.common.scrollbar,f=window.sg.common.utils.getCurrentDevice,g=window.sg.common.utils.getMobileOS,h=window.sg.common.utils.detectTransitionEndEvent,n=window.sg.common.utils.closest,e=window.sg.common.utils.isVisible,b=window.sg.common.icon,d=function(q,t){var w=this;t=void 0===t?-1:t;this.els={el:a(q),selectEl:null,selectOptionTaggingEl:null,fieldEl:null,fieldTextEl:null,listWrapEl:null,listEl:null,scrollWrapEl:null,
679itemWrapEls:null,itemEls:null,textFiledErrorTextEl:null,docEl:a(document),winEl:a(window)};this.handler={docEl:{click:function(x){w.isDisabled||(x.preventDefault(),n(x.target,".menu")!==w.els.el.target[0]&&w.close())}},el:{keydown:function(x){if(!w.isDisabled)switch(x.keyCode){case m.TAB:case m.ESC:w.isOpen&&w.close();break;case m.PAGE_UP:case m.HOME:w.index=0;w.selectItem(w.index,x);break;case m.PAGE_DOWN:case m.END:w.index=w.els.itemEls.target.length-1;w.selectItem(w.index,x);break;case m.LEFT:case m.UP:w.selectNext(-1,
680x);break;case m.RIGHT:case m.DOWN:w.selectNext(1,x);break;case m.ENTER:case m.SPACE:"mobile"===w.getCurrentDevice()&&x.target===w.els.selectEl.target[0]&&-1===w.index&&(w.index=0,w.selectItem(w.index));break;default:w.selectItem(w.getSelectedItemIndex(x.keyCode),x)}}},fieldEl:{click:function(x){x.preventDefault();w.isDisabled||(window.sg.components.Tooltip.closeAll(),w.isOpen?w.close():w.open())}},selectEl:{change:function(x){var B=w.els.selectEl.find("option"),D=x.target.selectedIndex;B.target.forEach(function(Y,
681la){D!==la&&Y.removeAttribute("selected")});w.index=D;-1<w.index&&B.target[w.index].setAttribute("selected","");w.els.fieldTextEl.text(x.target.options[w.index].text);w.select();w.els.fieldEl.target[0].dataset.ariaLabel&&w.els.fieldEl.target[0].setAttribute("aria-label",x.target.options[w.index].text+": "+w.els.fieldEl.target[0].dataset.ariaLabel);w.els.selectEl.target[0].dataset.selectAriaLabel&&w.els.selectEl.target[0].setAttribute("aria-label",x.target.options[w.index].text+" "+w.els.selectEl.target[0].dataset.selectAriaLabel);
682w.handleMobileOptionTagging(x);if(x.target.dataset.useLink){x=B.target[w.index];var z=x.dataset.openAction,T=x.value;requestAnimationFrame(function(){"current-window"===z?window.location.href=T:"new-window"===z&&window.open(T,"_blank")})}w.setState("normal")},click:function(){"mobile"===w.getCurrentDevice()&&(window.sg.components.Tooltip.closeAll(),w.isOpen?w.close():w.open())},keyup:function(x){w.isDisabled||"mobile"===w.getCurrentDevice()&&w.isOpen&&x.keyCode===m.ESC&&w.close()}},itemWrapEls:{click:function(x){x.preventDefault();
683var B=a(x.target),D=w.els.selectEl.target[0];B.hasClass("disabled")||(B=w.els.itemWrapEls.target.indexOf(x.target.closest("li")),"click"===x.type&&D.dataset.useLink&&D.selectedIndex===B&&(D.selectedIndex=-1),w.change(B),w.close())}},winEl:{resize:this.resize.bind(this)}};this.init();this.selectItem(t)};d.prototype.init=function(){d.instances.has(this.els.el.target[0])||(d.instances.set(this.els.el.target[0],this),this.initValues(),this.setElements(),this.bindEvents(),this.update())};d.prototype.reInit=
684function(q){q=void 0===q?-1:q;this.els.listWrapEl.remove();this.initValues();this.setElements();this.bindEvents();this.update();this.selectItem(q)};d.prototype.initValues=function(){this.options={};this.index=-1;this.isDisabled=this.isOpen=!1;this.itemMappedIndices=[];this.itemMappedIndicesExclDisabled=[];this.maxHeight=0;this.maxItemNum=11;this.isAnim=!0;this.useOptgroup=0<this.els.el.find("optgroup").target.length;this.groups=[];this.device=this.getCurrentDevice();this.openDir=this.defaultOpenDir=
685"";this.focusedIndex=-1;this.isMobileCustomSelect=this.els.el.attr("data-use-customselect-mo")?"TRUE"===this.els.el.attr("data-use-customselect-mo").toUpperCase():!1};d.prototype.setElements=function(){function q(T,Y){T.forEach(function(la){var aa="",wa="";["an-tr","an-ca","an-ac","an-la"].forEach(function(va){la.hasAttribute(va)&&(aa+=" "+va+'\x3d"'+la.getAttribute(va).replace('"',"")+'" ')});w.dataset.useLink&&la.title&&""!==la.title&&(wa=' title\x3d"'+la.title+'"');Y.append('\x3cli class\x3d"menu__list-option-wrap" role\x3d"presentation"'+
686(D?"":aa)+'\x3e\x3cbutton class\x3d"menu__list-option" aria-selected\x3d"false" role\x3d"option"'+wa+(D?aa:"")+'\x3e\x3cspan class\x3d"menu__list-option-text"\x3e'+la.text+'\x3c/span\x3e\x3csvg class\x3d"menu__list-option-icon" focusable\x3d"false"\x3e\x3cuse xlink:href\x3d"#done-bold" href\x3d"#done-bold"\x3e\x3c/use\x3e\x3c/svg\x3e\x3c/button\x3e\x3c/li\x3e')})}var t=this;this.els.selectEl=this.els.el.find(".menu__select");var w=this.els.selectEl.target[0],x=this.els.selectEl.find("option[selected]");
687"ios"!==g()||this.isMobileCustomSelect||w.setAttribute("style","z-index: 1; visibility: visible;");x.target[0]&&(w.selectedIndex=[].concat($jscomp.arrayFromIterable(w)).indexOf(x.target[0]),this.els.selectEl.target[0].dataset.selectAriaLabel&&this.els.selectEl.target[0].setAttribute("aria-label",x.target[0].text+" "+this.els.selectEl.target[0].dataset.selectAriaLabel));var B=w.dataset.defaultMessage;!B&&w.options[w.selectedIndex]?B=w.options[w.selectedIndex].text:w.selectedIndex=-1;this.els.el.hasClass("menu--text-field")&&
688!x.target[0]&&(B="",w.selectedIndex=-1);this.index=w.selectedIndex;this.options=[].concat($jscomp.arrayFromIterable(w.options));-1===this.index&&this.options.forEach(function(T){T.removeAttribute("selected")});var D=this.els.el.target[0].hasAttribute("data-tagging-button");this.els.fieldEl=this.els.el.find(".menu__select-field");this.els.fieldTextEl=this.els.fieldEl.find(".menu__select-field-text");this.els.fieldTextEl.text(B);this.els.fieldEl.target[0].dataset.ariaLabel&&""!==B&&this.els.fieldEl.target[0].setAttribute("aria-label",
689B+": "+this.els.fieldEl.target[0].dataset.ariaLabel);this.els.el.append('\x3cdiv class\x3d"menu__list-wrap scrollbar"\x3e\x3c/div\x3e');this.els.listWrapEl=this.els.el.find(".menu__list-wrap");if(this.useOptgroup){this.gourps=this.els.el.find("optgroup");this.els.listWrapEl.append('\x3cdiv class\x3d"scrollbar__contents"\x3e\x3c/div\x3e');var z=this.els.listWrapEl.find(".scrollbar__contents");this.gourps.target.forEach(function(T){z.append('\x3cdiv class\x3d"menu__list-group" data-group-label\x3d"'+
690T.label+'"\x3e\x3cp class\x3d"menu__list-group-title"\x3e'+T.label+'\x3c/p\x3e\x3cul class\x3d"menu__list" role\x3d"listbox"\x3e\x3c/ul\x3e\x3c/div\x3e');q([].concat($jscomp.arrayFromIterable(T.children)),t.els.listWrapEl.find('.menu__list-group[data-group-label\x3d"'+T.label+'"] .menu__list'))})}else this.els.listWrapEl.append('\x3cul class\x3d"menu__list scrollbar__contents" role\x3d"listbox"\x3e\x3c/ul\x3e'),q(this.options,this.els.listWrapEl.find(".menu__list"));this.els.listEl=this.els.listWrapEl.find(".menu__list");
691this.els.itemWrapEls=this.els.listEl.find(".menu__list-option-wrap");this.els.itemEls=this.els.listEl.find(".menu__list-option");this.els.groupTitle=this.els.listWrapEl.find(".menu__list-group-title");k.init(this.els.listWrapEl.target[0]);this.els.scrollWrapEl=this.els.listWrapEl.find(".scrollbar__wrap");this.els.scrollWrapEl.css({"max-height":0});this.els.listWrapEl.css({visibility:"hidden"});this.els.listWrapEl.attr("aria-hidden",!0);this.els.textFiledErrorTextEl=this.els.el.find(".menu--text-field__error");
692this.els.el.attr("data-max-item-number")&&(x=parseInt(this.els.el.attr("data-max-item-number")))&&(this.maxItemNum=x);this.els.el.attr("data-open-direction")&&(x=this.els.el.attr("data-open-direction"))&&(this.defaultOpenDir=x);this.els.el.attr("data-animation")&&(x=this.els.el.attr("data-animation"))&&"false"===x.toLowerCase()&&(this.isAnim=!1);b.update(this.els.el.target[0]);this.select(!0)};d.prototype.select=function(q){if("desktop"===this.getCurrentDevice()){if(this.isOpen){var t=this.els.el.hasClass("filled"),
693w=this.els.el.offset();t=t?0:w.height;"up"===this.openDir?(this.els.el.hasClass("menu--text-field")&&(t-=parseInt(this.els.el.css("padding-top"),10)),this.els.listWrapEl.css({bottom:0===t?"0":t+"px",top:"auto"})):"down"===this.openDir&&(this.els.el.hasClass("menu--text-field")&&this.els.textFiledErrorTextEl.target.length&&(t-=this.els.textFiledErrorTextEl.offset().height.toFixed(2)),this.els.listWrapEl.css({bottom:"auto",top:0===t?"0":t+"px"}))}this.els.el.removeClass("selected");this.els.itemEls.attr("aria-selected",
694"false");this.els.itemWrapEls.removeClass("active");-1<this.index&&(this.els.el.hasClass("menu--text-field")&&(q?this.els.el.addClass("init"):this.els.el.removeClass("init")),this.els.el.addClass("selected"),this.els.itemWrapEls.eq(this.index).addClass("active"),this.els.itemEls.eq(this.index).attr("aria-selected",!0))}else-1<this.index&&(q=this.els.el.target[0].dataset.type,(this.els.el.hasClass("menu--text-field")||"textField"===q||"filled"===q)&&this.els.el.addClass("selected"))};d.prototype.bindEvents=
695function(){var q=this;this.els.fieldEl.off("click").on("click",this.handler.fieldEl.click);this.els.itemWrapEls.off("click").on("click",this.handler.itemWrapEls.click);this.els.selectEl.off("change").on("change",this.handler.selectEl.change);this.els.selectEl.off("click").on("click",this.handler.selectEl.click);this.els.selectEl.off("keyup").on("keyup",this.handler.selectEl.keyup);this.els.itemEls.off("focus").on("focus",function(t){a(t.target).closest(".menu__list-option-wrap").addClass("focus")});
696this.els.itemEls.off("blur").on("blur",function(t){a(t.target).closest(".menu__list-option-wrap").removeClass("focus")});this.els.selectEl.off("focus").on("focus",function(){q.els.el.addClass("focus")});this.els.selectEl.off("blur").on("blur",function(){q.els.el.removeClass("focus")});this.els.el.off("keydown").on("keydown",this.handler.el.keydown);this.els.winEl.off("resize",this.handler.winEl.resize).on("resize",this.handler.winEl.resize);this.els.el.hasClass("menu--text-field")&&(this.els.fieldEl.off("focus").on("focus",
697function(){q.els.el.addClass("focus")}),this.els.fieldEl.off("blur").on("blur",function(){q.els.el.removeClass("focus")}))};d.prototype.update=function(){var q=this;this.isOpen&&this.close(!1);(this.isDisabled=this.els.el.hasClass("disabled"))?(this.els.selectEl.attr("disabled",!0),this.els.fieldEl.attr("disabled",!0)):(this.els.selectEl.removeAttr("disabled"),this.els.fieldEl.removeAttr("disabled"));this.els.itemWrapEls.removeClass("disabled");"desktop"===this.device?(this.els.selectEl.attr("tabindex",
698"-1"),this.els.selectEl.attr("aria-hidden",!0),this.els.fieldEl.removeAttr("tabindex"),this.els.fieldEl.removeAttr("aria-hidden")):(this.els.selectEl.removeAttr("tabindex"),this.els.selectEl.removeAttr("aria-hidden"),this.els.fieldEl.attr("tabindex","-1"),this.els.fieldEl.attr("aria-hidden",!0),this.els.fieldEl.removeAttr("aria-expanded"));this.itemMappedIndices=[];this.itemMappedIndicesExclDisabled=[];var t=0;this.options.forEach(function(w,x){var B=q.els.itemWrapEls.eq(x);w.disabled?("desktop"===
699q.getCurrentDevice()&&B.addClass("disabled"),q.itemMappedIndices[x]=-1):(q.itemMappedIndices[x]=t++,q.itemMappedIndicesExclDisabled.push(x))})};d.prototype.open=function(q){var t=this;q=void 0===q?!0:q;this.isAnim||(q=!1);var w=function(){t.els.docEl.on("click",t.handler.docEl.click);"desktop"===t.getCurrentDevice()&&(t.focusedIndex=-1===t.els.selectEl.target[0].selectedIndex?t.itemMappedIndicesExclDisabled[0]:t.els.selectEl.target[0].selectedIndex,requestAnimationFrame(function(){t.els.itemEls.eq(t.focusedIndex).focus();
700k.resize(t.els.listWrapEl.target[0])}))};requestAnimationFrame(function(){t.els.el.addClass("open");t.isOpen=!0;
700if("desktop"===t.getCurrentDevice()){t.els.scrollWrapEl.css({"max-height":""});var x=t.els.itemWrapEls.target.length;t.maxHeight=0;t.maxHeight=x>t.maxItemNum?t.maxHeight+(t.els.itemWrapEls.eq(t.maxItemNum).offset().top-t.els.listWrapEl.offset().top+parseFloat(getComputedStyle(t.els.itemWrapEls.target[x-1]).marginBottom)):t.els.scrollWrapEl.offset().height;t.els.scrollWrapEl.css({"max-height":"0"});
701var B=t.els.el.hasClass("filled"),D=t.els.el.offset();x=window.innerHeight-D.bottom;var z=D.top,T=B?t.maxHeight-D.height:t.maxHeight,Y=B?0:D.height;B=function(){t.els.el.hasClass("menu--text-field")&&(Y-=parseInt(t.els.el.css("padding-top"),10));Y=0===Y?"0":Y+"px";t.openDir="up";t.els.listWrapEl.css({bottom:Y,top:"auto"})};D=function(){t.els.el.hasClass("menu--text-field")&&t.els.textFiledErrorTextEl.target.length&&(Y-=t.els.textFiledErrorTextEl.offset().height.toFixed(2));Y=0===Y?"0":Y+"px";t.openDir=
702"down";t.els.listWrapEl.css({bottom:"auto",top:Y})};t.defaultOpenDir?"up"===t.defaultOpenDir?B():D():T>x&&T<z?B():D();if(q){t.els.scrollWrapEl.css({transition:"max-height .2s cubic-bezier(.4,0,.2,1)"});var la=h(t.els.scrollWrapEl.target[0]);if(la){var aa=function(){w();t.els.scrollWrapEl.off(la,aa)};t.els.scrollWrapEl.on(la,aa)}else setTimeout(w,200)}else t.els.scrollWrapEl.css({transition:""}),requestAnimationFrame(w);requestAnimationFrame(function(){t.els.fieldEl.attr("aria-expanded",!0);t.els.listWrapEl.css({visibility:"visible"});
703t.els.listWrapEl.attr("aria-hidden",!1);t.els.scrollWrapEl.css({"max-height":t.maxHeight+"px"})})}else w()})};d.prototype.close=function(q){var t=this;q=void 0===q?!0:q;this.isAnim&&e(this.els.el.target[0])||(q=!1);var w=function(){t.els.listWrapEl.css({visibility:"hidden"});t.els.listWrapEl.attr("aria-hidden",!0)};requestAnimationFrame(function(){t.els.docEl.off("click",t.handler.docEl.click);t.els.el.removeClass("open");t.isOpen=!1;if("desktop"===t.getCurrentDevice()){if(q){t.els.scrollWrapEl.css({transition:"max-height .2s cubic-bezier(.4,0,.2,1)"});
704var x=h(t.els.scrollWrapEl.target[0]);if(x){var B=function(){w();t.els.scrollWrapEl.off(x,B)};t.els.scrollWrapEl.on(x,B)}else setTimeout(w,200)}else t.els.scrollWrapEl.css({transition:""}),w();t.els.fieldEl.attr("aria-expanded",!1);t.els.scrollWrapEl.css({"max-height":"0"});t.els.fieldEl.focus()}else w()})};d.prototype.resize=function(){var q=this.getCurrentDevice();this.device!==q&&(this.device=q,this.update(),"desktop"===this.device&&(this.els.el.target[0].dataset.type&&(this.els.selectEl.target[0].selectedIndex=
705-1),this.selectItem(this.index)));"desktop"===this.device&&this.isOpen&&this.close(!1)};d.prototype.change=function(q){var t=this.els.selectEl.target[0];t.selectedIndex!==q&&(this.index=t.selectedIndex=q,this.els.selectEl.trigger("change"))};d.prototype.keydown=function(q){this.els.fieldEl.trigger("click");q.preventDefault()};d.prototype.selectNext=function(q,t){this.focusedIndex=0>this.focusedIndex?-1!==this.index?this.itemMappedIndicesExclDisabled[0]:0:this.focusedIndex;var w=this.itemMappedIndices[this.focusedIndex];
706w+=q;q=0>w?this.itemMappedIndicesExclDisabled[0]:w>this.itemMappedIndicesExclDisabled.length-1?this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-1]:this.itemMappedIndicesExclDisabled[w];-1!==q&&("desktop"===this.getCurrentDevice()&&this.els.itemEls.target[q].focus(),this.focusedIndex=q);t&&t.preventDefault()};d.prototype.selectItem=function(q,t){if(!(0>q)){var w=-1;0===q?w=this.itemMappedIndicesExclDisabled[0]:q===this.itemMappedIndices.length-1?w=this.itemMappedIndicesExclDisabled[this.itemMappedIndicesExclDisabled.length-
7071]:-1!==this.itemMappedIndices[q]&&(w=q);-1!==w&&("desktop"===this.getCurrentDevice()&&this.els.itemEls.target[w].focus(),this.change(w));t&&t.preventDefault()}};d.prototype.getSelectedItemIndex=function(q){var t=this,w=/[A-Z]/,x=q-48*Math.floor(q/48),B=String.fromCharCode(96<=q?x:q),D=!0,z=-1;q=this.index;this.els.itemEls.target.forEach(function(T,Y){var la=T.textContent.substring(0,1).toUpperCase();T=a(T).closest(".menu__list-option-wrap").hasClass("disabled");w.test(la)&&la===B&&!T&&-1===z&&(z=
708Y);w.test(la)&&la===B&&t.index<Y&&D&&!T&&(t.index=Y,D=!1)});q===this.index&&-1!==z&&(this.index=z);return this.index};d.prototype.setState=function(q){if(this.els.el.hasClass("menu--text-field")){var t=this.els.el.find(".required"),w=this.els.textFiledErrorTextEl.target.length?this.els.textFiledErrorTextEl.attr("id"):"";switch(q){case "error":this.els.el.addClass("error");w&&(this.els.fieldEl.attr("aria-describedby",w),this.els.selectEl.attr("aria-labelledby",this.els.selectEl.attr("aria-labelledby")+
709" "+w),t&&t.attr("aria-hidden",!0));break;default:this.els.el.removeClass("error"),this.els.fieldEl.removeAttr("aria-describedby"),w&&this.els.selectEl.attr("aria-labelledby",this.els.selectEl.attr("aria-labelledby").replace(w,"").trim()),t&&t.removeAttr("aria-hidden")}}};d.prototype.getCurrentDevice=function(){return"ios"!==g()||this.isMobileCustomSelect?this.isMobileCustomSelect?"desktop":f():"mobile"};d.prototype.handleMobileOptionTagging=function(q){var t=this;if("mobile"===f()&&"visible"===this.els.selectEl.css("visibility")){var w=
710q.target.selectedIndex,x=(0===w||!!w)&&q.target.options[w],B=function(){t.els.selectOptionTaggingEl=t.els.el.find(".menu__select-option-tagging");return t.els.selectOptionTaggingEl&&t.els.selectOptionTaggingEl.target&&0<t.els.selectOptionTaggingEl.target.length};B()||this.els.selectEl.after('\x3cbutton class\x3d"menu__select-option-tagging hidden" tabindex\x3d"-1" aria-hidden\x3d"true"\x3e\x3c/button\x3e');requestAnimationFrame(function(){x&&B()&&(Array.from(x.attributes).forEac
710h(function(D){t.els.selectOptionTaggingEl.attr(D.name,
711D.value)}),t.els.selectOptionTaggingEl.trigger("click"))})}};d.instances=new WeakMap;window.sg.components.registerClass("menu",d);var l={initAll:function(){a('.menu:not([data-auto-init\x3d"false"])').target.forEach(function(q){d.instances.has(q)||new d(q)})},init:function(q){d.instances.has(q)||new d(q)},reInit:function(q,t){t=void 0===t?-1:t;d.instances.has(q)?d.instances.get(q).reInit(t):new d(q,t)},setState:function(q,t){d.instances.has(q)&&d.instances.get(q).setState(t)},selectItem:function(q,
712t){t=void 0===t?-1:t;d.instances.has(q)&&d.instances.get(q).selectItem(t)}};window.sg.common.menu=l;a.ready(l.initAll)})();
713(function(){var a=window.sg.common.$q,m=window.sg.common.constants.BREAKPOINTS,k=window.sg.common.utils,f=window.sg.common.icon,g=window.sg.components.Tooltip,h=function(e,b){var d=this;b=void 0===b?null:b;this.selector={swiperSlide:".option-selector__swiper-slide",swiperWrap:".option-selector__swiper",swiperPrev:".option-selector__button-prev",swiperNext:".option-selector__button-next",btnDisabledCls:"option-selector__button--disabled",capaContainer:".option-selector__swiper-container",capaItemInner:".option-selector__size",
714capaItemRadio:".option-selector__size input",flotingBox:".option-selector__floating-bar",moveWapper:".option-selector__swiper-wrapper",optionRadio:'input[type\x3d"radio"]',colorRadio:".option-selector__color input",colorName:".option-selector__color-name",tooltipCta:".option-selector__color-name-text",tooltipWrap:".option-selector__color-tooltip",closeCta:".option-selector__color-tooltip-close",slideButtonList:".option-selector__swiper-slide input",activeClass:"is-show"};this.el={window:a(window),
715component:a(e)};this.handler={timeHandler:function(){d.el.moveWapper.css({transition:"none"});d.resize();d.resizeTimer&&clearTimeout(d.resizeTimer);d.resizeTimer=setTimeout(function(){d.el.moveWapper.css({transition:""})},400)},changeCapacity:this.changeCapacity.bind(this),setHalfSlide:this.setHalfSlide.bind(this),changeColor:function(l){var q=a(l.target).closest(".option-selector__color");q=q.find(".hidden").target[0]||q.find(".option-selector__color-code").target[0];var t=a(l.target).closest(".option-selector").find(".option-selector__color-name .color-name-text");
716l=a(l.target).closest(".option-selector").find(".option-selector__color-name-text-in");null!==q&&0<t.target.length&&t.innerHTML(q.innerText);null!==q&&0<l.target.length&&l.innerHTML(q.innerText)},tooltipShow:this.tooltipShow.bind(this),tooltipKeyEvent:function(l){l.keyCode===window.sg.common.constants.KEY_CODE.ENTER?d.showBoxEvent():l.keyCode===window.sg.common.constants.KEY_CODE.ESC&&d.hideBoxEvent()},changeColorName:function(l){l=l.target.parentNode.querySelector(".hidden")||null;0<d.el.component.parent().find(".option-selector__color-name button, span.option-selector__color-name-text").target.length&&
717(d.el.component.parent().find(".option-selector__color-name .option-selector__color-name-text-in").innerHTML(l.innerText),d.el.component.parent().find(".option-selector__color-name .option-selector__color-tooltip-text").innerHTML(l.innerText),d.tooltipShow())},showBoxEvent:function(){d.showBoxEvent()},hideBoxEvent:function(l){"focusout"===l.type?requestAnimationFrame(function(){0===a(document.activeElement).closest(d.el.colorName.target[0]).target.length&&d.hideBoxEvent()}):d.hideBoxEvent()}};this.moveLength=
718null;h.instances.set(e,this);this.setElements();this.checkedActive=b;this.init()};h.prototype.setElements=function(){var e=this;this.el.swiperPrev=this.el.component.find(this.selector.swiperPrev);this.el.swiperNext=this.el.component.find(this.selector.swiperNext);this.el.swiperSlide=this.el.component.find(this.selector.swiperSlide);this.el.moveWapper=this.el.component.find(this.selector.moveWapper);this.el.capaContainer=this.el.component.find(this.selector.capaContainer);this.el.capaItemInner=this.el.component.find(this.selector.capaItemInner);
719this.el.capaItemRadio=this.el.component.find(this.selector.capaItemRadio);this.el.capaItemRadioActive=this.el.component.find(this.selector.capaItemRadio+":checked").closest(this.selector.swiperSlide);this.el.flotingBox=this.el.component.find(this.selector.flotingBox);this.el.optionRadio=this.el.component.find(this.selector.optionRadio);this.el.colorRadio=this.el.component.find(this.selector.colorRadio);this.desktopPerView=this.el.component.attr("data-desktop-view");this.mobilePerView=this.el.component.attr("data-mobile-view");
720this.maxCnt=Number(m.MOBILE<k.getViewPort().width?this.desktopPerView:this.mobilePerView);this.mobileFlg=this.desktopFlg=!1;this.slideCnt=this.el.swiperSlide.target.length;this.lastCnt=this.slideCnt<=this.maxCnt?1:this.slideCnt-this.maxCnt;this.activeCnt=this.slideCnt<=this.maxCnt&&this.el.moveWapper.target[0].scrollWidth-8>this.el.capaContainer.outerWidth()&&this.el.capaItemRadioActive.index()===this.slideCnt-1?this.lastCnt:0;this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()?
7210:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth();this.slideGradientWidth=0===this.el.component.find(".option-selector__button-prev").target.length?0:parseInt(window.getComputedStyle(this.el.component.find(".option-selector__button-prev").target[0],":after").getPropertyValue("width"));this.slideLength=0===this.el.component.find(this.selector.swiperSlide).target.length?0:this.el.component.find(this.selector.swiperSlide).target.length-1;this.slidePadding=0;this.el.colorName=
722this.el.component.parent(".option-selector").find(this.selector.colorName);this.el.tooltipCta=this.el.colorName.find(this.selector.tooltipCta);this.el.closeCta=this.el.colorName.find(this.selector.closeCta);
722this.el.tooltipWrap=this.el.colorName.find(this.selector.tooltipWrap);this.el.slideButtonList=this.el.component.find(this.selector.slideButtonList);this.resizeTimer=this.timer=null;this.reInitFlag=this.initFlag=this.activeCheck=!1;this.direction=(this.rtlFlag="rtl"===a("body").css("direction")?
723!0:!1)?1:-1;this.startActiveIdx=null;this.isCapacity=this.el.component.target[0].classList.contains("option-selector__wrap--capacity");this.checkedActive=null;this.tooltipFlag=!1;"none"!==this.el.moveWapper.css("transform")?this.moveLength=Math.abs(Number(this.el.moveWapper.css("transform").match(/-?[\d\\.]+/g)[4])):this.moveLength=0;this.el.swiperSlide.target.forEach(function(b,d){a(b).hasClass("active-slide")&&(e.startActiveIdx=d)});this.calcPos=this.rtlFlag?-1*parseInt(this.el.moveWapper.css("margin-right"),
72410):-1*parseInt(this.el.moveWapper.css("margin-left"),10);this.hiddenText=this.el.tooltipCta.find(".hidden");this.globalText=0<this.hiddenText.target.length?JSON.parse(this.hiddenText.target[0].dataset.globalText):null};h.prototype.init=function(){this.initFlag=!0;this.bindEvents();this.optionSlide();this.resize(!0);this.setHalfSlide()};h.prototype.reInit=function(e){this.setElements();this.reInitFlag=!0;this.checkedActive=e;this.init()};h.prototype.calcPadding=function(){0<this.el.component.find(".option-selector__color").target.length&&
725(this.slidePadding=parseInt(window.getComputedStyle(this.el.component.find(".option-selector__color").target[0]).getPropertyValue("padding-left")));0<this.el.component.find(".option-selector__size").target.length&&(this.slidePadding=parseInt(window.getComputedStyle(this.el.component.find(".option-selector__size-label").target[0]).getPropertyValue("padding-left"))/2)};h.prototype.setBtnDisable=function(){this.el.capaItemRadioActive=this.el.component.find(this.selector.capaItemRadio+":checked").closest(this.selector.swiperSlide);
726var e=this.el.swiperSlide.outerWidth();(this.el.component.hasClass("option-selector__wrap--wide")?0<this.el.component.find(".option-selector__color").target.length?e*this.slideCnt-2*this.slidePadding:e*this.slideCnt:e*this.slideCnt)>this.el.capaContainer.outerWidth()&&0!==this.maxPos?(this.el.swiperNext.show(),this.el.swiperPrev.show(),this.el.component.hasClass("option-selector__wrap--wide")&&this.el.component.removeClass("no-swiper-mode"),this.el.component.addClass("swiper-mode"),0<this.moveLength?
727(this.el.swiperPrev.removeClass(this.selector.btnDisabledCls),this.el.swiperPrev.attr("aria-disabled","false"),this.el.swiperPrev.attr("tabindex","0"),this.moveLength>=this.maxPos?(this.el.swiperNext.addClass(this.selector.btnDisabledCls),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),document.activeElement===this.el.swiperNext.target[0]&&this.el.swiperNext.hasClass("option-selector__button--disabled")&&this.el.swiperPrev.focus()):(this.el.swiperNext.removeClass(this.selector.btnDisabledCls),
728this.el.swiperNext.attr("aria-disabled","false"),this.el.swiperNext.attr("tabindex","0"))):(this.el.swiperNext.removeClass(this.selector.btnDisabledCls),this.el.swiperNext.attr("aria-disabled","false"),this.el.swiperNext.attr("tabindex","0"),this.el.swiperPrev.addClass(this.selector.btnDisabledCls),this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"),document.activeElement===this.el.swiperPrev.target[0]&&this.el.swiperPrev.hasClass("option-selector__button--disabled")&&
729this.el.swiperNext.focus())):(this.el.component.removeClass("swiper-mode"),this.el.component.hasClass("option-selector__wrap--wide")&&this.el.component.addClass("no-swiper-mode"),this.el.swiperNext.hide(),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),this.el.swiperPrev.hide(),this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"))};h.prototype.setActiveCnt=function(){!0===this.initFlag&&("none"===this.el.moveWapper.css("transform")?
730this.activeCnt=this.el.component.find("input:checked").closest(this.selector.swiperSlide).index():this.activeCnt=null);this.initFlag=!1};h.prototype.setSlidePos=function(e){e=void 0===e?null:e;this.desktopPerView||this.mobilePerView?(this.calcPadding(),this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()?0:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth()-Math.floor(this.slidePadding/2)):(this.el.component.addClass("option-selector__wrap--wide"),
731this.calcPos=this.rtlFlag?-1*parseInt(this.el.moveWapper.css("margin-right"),10):-1*parseInt(this.el.moveWapper.css("margin-left"),10),this.maxPos=this.el.moveWapper.target[0].scrollWidth-8<=this.el.capaContainer.outerWidth()?0:this.el.moveWapper.target[0].scrollWidth-this.el.capaContainer.outerWidth()-2*this.calcPos,0>=this.maxPos&&(this.maxPos=0,this.el.component.removeClass("swiper-mode"),this.el.component.addClass("no-swiper-mode")));this.el.component.hasClass("swiper-mode")?this.setSlideMove(e):
732this.el.moveWapper.css({transform:""})};h.prototype.setSlideMove=function(e){var b=this;e=void 0===e?null:e;var d=this.el.component.find("input:checked").closest(this.selector.swiperSlide).index(),l=this.el.component.find(this.selector.swiperSlide).outerWidth();this.slideGradientWidth=0===this.el.component.find(".option-selector__button-prev").target.length?0:parseInt(window.getComputedStyle(this.el.component.find(".option-selector__button-prev").target[0],":after").getPropertyValue("width"));this.calcPadding();
733this.reInitFlag||(null!==e?null!==this.activeCnt?0!==d&&(this.el.component.hasClass("option-selector__wrap--wide")?this.moveLength=l*this.activeCnt>this.maxPos+this.slideGradientWidth?this.maxPos:l*this.activeCnt-this.slideGradientWidth:m.MOBILE<k.getViewPort().width?this.moveLength=l*this.activeCnt>this.maxPos?this.maxPos:l*this.activeCnt-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")&&(this.moveLength=l*this.activeCnt>this.maxPos+this.slideGradientWidth?this.maxPos:
734l*this.activeCnt)):this.activeCnt=Math.ceil(this.moveLength/l):(this.checkedActive||"none"===this.el.moveWapper.css("transform")&&0===this.moveLength&&0<d)&&0!==d&&(this.el.component.hasClass("option-selector__wrap--wide")?this.moveLength=l*d>this.maxPos+this.slideGradientWidth?this.maxPos:l*d-this.slideGradientWidth:m.MOBILE<k.getViewPort().width?this.moveLength=l*d>this.maxPos?this.maxPos:l*d-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")&&(this.moveLength=l*d>
735this.maxPos+this.slideGradientWidth?this.maxPos:l*d-this.slideGradientWidth+this.slidePadding)));0<=this.moveLength&&this.el.moveWapper.css({transform:"translateX("+this.direction*this.moveLength+"px)"});this.checkedActive=null;this.reInitFlag&&(this.reInitFlag=!1);setTimeout(function(){b.setBtnDisable()},300)};h.prototype.setSwiperWidth=function(){var e=this;this.el.component.target.forEach(function(b){b=a(b);var d=[],l=b.find(e.selector.swiperSlide);l.css({width:""});l.target.forEach(function(D){d.push(a(D).width())});
736var q=Math.max.apply(null,d),t=m.MOBILE<k.getViewPort().width?e.desktopPerView:e.mobilePerView,w=["pf-product-compare","hubble-item-card__option-memory"],x=16,B=b.closest("."+w.join(",.")).target[0];void 0!==B&&(B.classList.contains(w[0])?x=m.MOBILE<k.getViewPort().width?4:8:B.classList.contains(w[1])&&(x=0));l.css({width:q+"px"});null!==t?(b.find(e.selector.swiperWrap).css({width:q*t+2+"px"}),e.calcPadding()):(q*e.slideCnt>e.el.capaContainer.outerWidth()&&e.el.component.addClass("swiper-mode"),e.el.component.addClass("option-selector__wrap--wide"),
737b.find(e.selector.swiperWrap).css({width:"auto"}));0!==b.find(e.selector.flotingBox).target.length&&b.find(e.selector.flotingBox).css({transition:"none",width:q-x+"px"})})};h.prototype.setHalfSlide=function(e){e=e?a(e.target):a(this.el.slideButtonList.target.filter(function(l){return l.checked}));if(e.target.length){var b=e.closest(this.selector.swiperSlide).index(),d=this.el.swiperSlide.outerWidth()*b;this.el.component.hasClass("swiper-mode")?(this.activeCnt=b,this.el.component.hasClass("option-selector__wrap--wide")?
738this.moveLength=d>=this.maxPos+this.slideGradientWidth?this.maxPos:d-this.slideGradientWidth:m.MOBILE<k.getViewPort().width?this.moveLength=d>=this.maxPos+this.slideGradientWidth?this.maxPos:d-this.slidePadding:this.el.component.hasClass("option-selector__wrap--color-chip")?this.moveLength=d>=this.maxPos+this.slideGradientWidth?this.maxPos:d-this.slideGradientWidth+this.slidePadding:this.moveLength=d>=this.maxPos+this.slideGradientWidth?this.maxPos:d,0===b&&(this.moveLength=0),this.el.moveWapper.css({transform:"translateX("+
739this.direction*this.moveLength+"px)"}),this.setBtnDisable(),this.el.moveWapper.find(".option-selector__color-name.active").removeClass("active"),e.closest(this.selector.swiperSlide).find(".option-selector__color-name").addClass("active")):(this.el.swiperNext.hide(),this.el.swiperNext.attr("aria-disabled","true"),this.el.swiperNext.attr("tabindex","-1"),this.el.swiperPrev.hide(),this.el.swiperPrev.attr("aria-disabled","true"),this.el.swiperPrev.attr("tabindex","-1"))}};h.prototype.optionSlide=function(){var e=
740this;
740this.el.swiperNext.target.forEach(function(b){a(b).off("click").on("click",function(){var d=e.el.swiperSlide.outerWidth();e.activeCnt+=1;e.moveLength>=e.el.moveWapper.target[0].scrollWidth-e.el.capaContainer.outerWidth()&&(e.activeCnt=e.lastCnt);e.el.component.hasClass("option-selector__wrap--wide")?e.moveLength=1===e.activeCnt?e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d-e.slideGradientWidth:e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d:m.MOBILE<k.getViewPort().width?e.moveLength=1===e.activeCnt?
741e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d-e.slidePadding:e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d:e.el.component.hasClass("option-selector__wrap--color-chip")?e.moveLength=e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d:e.moveLength=1===e.activeCnt?e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d+e.slidePadding:e.moveLength+d>e.maxPos?e.maxPos:e.moveLength+d;e.el.moveWapper.css({transform:"translateX("+e.direction*e.moveLength+"px)"});e.setBtnDisable()})});this.el.swiperPrev.target.forEach(function(b){a(b).off("click").on("click",
742function(){var d=e.el.swiperSlide.outerWidth();--e.activeCnt;0>e.activeCnt&&(e.activeCnt=0);d=0<e.moveLength%d?e.moveLength-Math.floor(e.moveLength/d)*d:d;e.el.component.hasClass("option-selector__wrap--wide")?e.moveLength=0>=e.moveLength-d?0:e.moveLength-d-e.slideGradientWidth:m.MOBILE<k.getViewPort().width?e.moveLength=0>=e.moveLength-d?0:e.moveLength-d-e.slidePadding:e.el.component.hasClass("option-selector__wrap--color-chip")?e.moveLength=0>=e.moveLength-d?0:e.moveLength-d-e.slideGradientWidth+
743e.slidePadding:e.moveLength=0>=e.moveLength-d?0:e.moveLength-d;e.el.moveWapper.css({transform:"translateX("+e.direction*e.moveLength+"px)"});e.setBtnDisable()})})};h.prototype.moveFloting=function(e){if(!(0>=e.target.length)){var b=0;0<this.el.flotingBox.closest(".pf-product-compare").target.length?b=m.MOBILE<k.getViewPort().width?2:4:1>this.el.flotingBox.closest(".hubble-item-card__option-memory").target.length&&(b=7.5);this.el.flotingBox.css({display:"block",transition:"",left:e.target[0].offsetLeft+
744b+"px"});this.flotingActive=e.closest(this.selector.swiperSlide)}};h.prototype.resize=function(e){e=void 0===e?null:e;this.setSwiperWidth();this.moveFloting(this.el.component.find(this.selector.capaItemRadio+":checked").closest(this.selector.swiperSlide));m.MOBILE<k.getViewPort().width?!1===this.desktopFlg&&(this.desktopFlg=!0,this.mobileFlg=!1,this.el.component.removeClass("no-swiper-mode"),!0===e?(this.setActiveCnt(),this.reInitFlag?(this.setBtnDisable(),this.setSlidePos()):(this.setSlidePos(),
745this.setBtnDisable())):this.desktopPerView!==this.mobilePerView&&(this.setActiveCnt(),this.setBtnDisable())):!1===this.mobileFlg&&(this.mobileFlg=!0,this.desktopFlg=!1,this.el.component.removeClass("no-swiper-mode"),!0===e?(this.setActiveCnt(),this.reInitFlag?(this.setBtnDisable(),this.setSlidePos()):(this.setSlidePos(),this.setBtnDisable())):this.desktopPerView!==this.mobilePerView&&(this.setActiveCnt(),this.setBtnDisable()));this.setSlidePos(!0);this.tooltipShow()};h.prototype.changeCapacity=function(e){e=
746a(e.currentTarget);this.el.component.find(".option-selector__wrap--capacity "+this.selector.swiperSlide+".is-active").removeClass("is-active");e.closest(this.selector.swiperSlide).addClass("is-active");this.moveFloting(e.closest(this.selector.swiperSlide))};h.prototype.tooltipShow=function(){if(0!==this.el.tooltipCta.target.length){var e=this.el.tooltipCta.outerWidth()<this.el.tooltipCta.target[0].scrollWidth,b="button"===this.el.tooltipCta.target[0].tagName.toLowerCase();e?this.tooltipFlag||(this.tooltipFlag=
747!0,b?this.el.tooltipCta.removeAttr("disabled"):this.el.tooltipCta.attr("tabindex","0")):(this.tooltipFlag=!1,b?this.el.tooltipCta.attr("disabled",""):this.el.tooltipCta.removeAttr("tabindex"))}};h.prototype.showBoxEvent=function(){this.tooltipFlag&&!this.el.colorName.hasClass(this.selector.activeClass)&&(this.el.colorName.addClass(this.selector.activeClass),this.globalText&&(this.hiddenText.text(this.globalText.Collapse),this.el.tooltipWrap.attr("aria-hidden",!1)),this.hiddenText.attr("aria-hidden",
748!1),g&&g.closeAll())};h.prototype.hideBoxEvent=function(){this.el.colorName.hasClass(this.selector.activeClass)&&(document.activeElement===this.el.closeCta.target[0]&&this.el.tooltipCta.focus(),this.el.colorName.removeClass(this.selector.activeClass),this.globalText&&(this.hiddenText.text(this.globalText.Expand),this.el.tooltipWra
748p.attr("aria-hidden",!0)),this.hiddenText.attr("aria-hidden",!0))};h.prototype.bindEvents=function(){this.el.window.off("resize",this.handler.timeHandler).on("resize",this.handler.timeHandler);
749this.el.optionRadio.off("change",this.handler.setHalfSlide).on("change",this.handler.setHalfSlide);this.el.optionRadio.off("focus",this.handler.setHalfSlide).on("focus",this.handler.setHalfSlide);this.el.capaItemRadio.off("change",this.handler.changeCapacity).on("change",this.handler.changeCapacity);this.el.colorRadio.off("change",this.handler.changeColor).on("change",this.handler.changeColor);0<this.el.colorName.target.length&&(this.el.slideButtonList.off("click",this.handler.changeColorName).on("click",
750this.handler.changeColorName),this.el.tooltipCta.off("mouseenter",this.handler.showBoxEvent).on("mouseenter",this.handler.showBoxEvent),this.el.colorName.off("mouseleave",this.handler.hideBoxEvent).on("mouseleave",this.handler.hideBoxEvent),this.el.tooltipCta.off("focus",this.handler.showBoxEvent).on("focus",this.handler.showBoxEvent),this.el.colorName.off("focusout",this.handler.hideBoxEvent).on("focusout",this.handler.hideBoxEvent),this.el.tooltipCta.off("click",this.handler.showBoxEvent).on("click",
751this.handler.showBoxEvent),this.el.closeCta.off("click",this.handler.hideBoxEvent).on("click",this.handler.hideBoxEvent),this.el.tooltipCta.off("keydown",this.handler.tooltipKeyEvent).on("keydown",this.handler.tooltipKeyEvent))};var n=function(){a(".option-selector__wrap").target.forEach(function(e){a(e).closest(".unbind-option").target.length||h.instances.has(e)||new h(e)})};h.instances=new WeakMap;a.ready(n);window.sg.common.OptionSelector={init:n,reInit:function(e,b){b=void 0===b?null:b;var d=
752a(".option-selector__wrap");void 0!==e&&(d=e.hasClass("option-selector__wrap")?e:e.find(".option-selector__wrap"));d.target.forEach(function(l){h.instances.has(l)?h.instances.get(l).reInit(b):new h(l,b);f.update(l)})}}})();
753(function(){var a=window.sg.common.$q,m=window.sg.common.utils,k=window.sg.common.constants.KEY_CODE,f=window.sg.common.swiperManager,g=window.sg.components.Tooltip,h=function(e){var b=this;this.isTouchEvent=this.keypress=this.motioning=this.dragging=!1;this.containerPadding=this.timer=this.percent=0;this.type=this.currentDevice=null;this.isCentered=!1;this.offset={startX:0,wrapperX:0,x_origine:0,y_origine:0,x_new:0,y_new:0};this.touchEvents={};this.el={window:a(window),document:a(document),section:a(e),
754component:null,slideContainer:null,slideWrap:null,slideButtonList:null,slideList:null};this.selector={wrapper:".option-selector-v2",component:".option-selector-v2__swiper",colorNameMaxchar:"data-maxchar",colorNameMaxcharPC:"data-maxchar-pc",colorNameMaxcharMO:"data-maxchar-mo",colorName:".option-selector-v2__color-name",colorNameTooltip:".option-selector-v2__color-tooltip",colorNameTooltipText:".option-selector-v2__color-tooltip-text",colorCode:".option-selector-v2__color-code",sizeText:".option-selector-v2__size-text",
755slideContainer:".option-selector-v2__swiper-container",slideWrap:".option-selector-v2__swiper-wrapper",slideButtonList:".option-selector-v2__swiper-slide button",slideList:".option-selector-v2__swiper-slide",slideSelected:".is-checked",swiperArrow:".option-selector-v2__button-prev, .option-selector-v2__button-next"};this.classes={typeColor:"option-selector-v2__wrap--color-chip",typeSize:"option-selector-v2__wrap--capacity",swiperArrowPrev:"option-selector-v2__button-prev",swiperArrowNext:"option-selector-v2__button-next",
756colorNameTooltipActive:"option-selector-v2__color-name--tooltip-active"};this.handler={touchsupport:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch||0<navigator.maxTouchPoints||0<window.navigator.msMaxTouchPoints},heightLimit:function(){return b.isTouchEvent?10:100},clickHandler:function(d){b.dragging||b.handler.slideTo(a(d.target).closest(".option-selector-v2__swiper-slide"));b.dragging=!1},slideTo:function(d){var l=b.el.slideWrap.offset();
757d=d.offset();var q=l.left-d.left;"ltr"!==h.direction&&(q=l.right-d.right);b.handler.setWrapperPos(q,!0,b.isCentered,d.width)},eventClick:function(d){d.preventDefault();d.preventDefault?d.preventDefault():d.returnValue=!1},touchStart:function(d){d=b.isTouchEvent?d.touches[0]||d.changedTouches[0]:d;b.offset.x_new=0;b.offset.y_new=0;b.offset.x_origine=d.pageX;b.offset.y_origine=d.pageY;b.offset.wrapperX=b.offset.startX;b.el.slideWrap.on(b.touchEvents.touchMove,b.handler.touchMove);b.el.document.on(b.touchEvents.touchMove,
758b.handler.touchMove);b.el.document.on(b.touchEvents.touchEnd,b.handler.touchEnd);b.el.document.on("mouseleave",b.handler.touchEnd);if(d=f.getSwiper(b.el.slideContainer.closest(".swiper-container").target[0]))d.allowTouchMove=!1},touchMove:function(d){var l=b.isTouchEvent?d.touches[0]||d.changedTouches[0]:d;b.offset.x_new=b.offset.x_origine-l.pageX;b.offset.y_new=b.offset.y_origine-l.pageY;d.preventDefault();Math.abs(b.offset.y_new)>b.handler.heightLimit()?(b.handler.touchEnd(),b.handler.eventClick(d),
759b.dragging=!1):0!==b.offset.x_new&&(b.dragging=!0,b.handler.setWrapperPos(b.offset.wrapperX-b.offset.x_new))},touchEnd:function(){b.el.slideWrap.off(b.touchEvents.touchMove,b.handler.touchMove);b.el.document.off(b.touchEvents.touchMove,b.handler.touchMove);b.el.document.off(b.touchEvents.touchEnd,b.handler.touchEnd);b.el.document.off("mouseleave",b.handler.touchEnd);setTimeout(function(){b.dragging=!1},1);var d=f.getSwiper(b.el.slideContainer.closest(".swiper-container").target[0]);d&&(d.allowTouchMove=
760!0)},resetPos:function(){b.el.slideWrap.css({transform:""})},changeHandler:function(d){b.el.slideList.removeClass("is-checked");b.el.slideList.find(".blind").remove();var l=a(d.target).closest(b.selector.slideList),q=l.find(b.selector.colorCode),t=l.find(b.selector.sizeText);d=d.target.querySelector(".hidden")||null;l.addClass("is-checked");q.target.length&&q.after('\x3cspan class\x3d"blind"\x3e'+b.globalText+"\x3c/span\x3e");t.target.length&&t.after('\x3cspan class\x3d"blind"\x3e'+b.globalText+"\x3c/span\x3e");
761null!==d&&b.setColorName(d.innerText)},keyDownHandler:function(d){d.keyCode===k.TAB&&b.el.component.hasClass("bindC
761heck")&&(b.handler.clickHandler(d),b.el.slideContainer.target[0].scrollLeft=0)},setWrapperPos:function(d,l,q,t){l=void 0===l?!1:l;q=void 0===q?!1:q;t=void 0===t?null:t;if(!isNaN(d)){var w=b.el.slideContainer.outerWidth()-b.containerPadding,x=b.el.slideWrap.outerWidth();"ltr"!==h.direction&&(d*=-1);q?d=0<d||Math.abs(d)<w/2?0:Math.max(d+w/2-t/2,-(x-w)):0<d?d=0:x+d<=w&&(d=w-x);"ltr"!==h.direction&&
762(d*=-1);b.el.slideWrap.css({transform:"translateX("+d+"px)",transition:l?"":"none"});b.offset.startX=d;d=Math.abs(d)/(w-x)*100;d=isNaN(d)?0:d;b.percent=Math.abs(d);b.el.component.removeClass("next");b.el.component.removeClass("prev");2>=b.percent?b.el.component.addClass("next"):98>=b.percent?(b.el.component.addClass("prev"),b.el.component.addClass("next")):b.el.component.addClass("prev")}},resize:function(){clearTimeout(b.timer);b.timer=setTimeout(function(){b.handler.timeResize()},10)},timeResize:function(){var d=
763m.getCurrentDevice();if(b.el.slideContainer.width()<b.el.slideWrap.width()){b.el.component.hasClass("bindCheck")||(b.el.component.addClass("bindCheck"),b.el.slideWrap.on(b.touchEvents.touchStart,b.handler.touchStart),b.el.slideWrap.on(b.touchEvents.touchEnd,b.handler.touchEnd),b.el.slideButtonList.on("click",b.handler.clickHandler));b.containerPadding=2*parseInt(b.el.slideContainer.css("padding-right"),10);var l=(b.el.slideContainer.outerWidth()-b.containerPadding-b.el.slideWrap.outerWidth())*(b.percent/
764100);"ltr"!==h.direction&&(l*=-1);b.handler.setWrapperPos(l)}else b.el.component.removeClass("bindCheck"),b.el.component.removeClass("next"),b.el.component.removeClass("prev"),b.el.component.addClass("option-selector-v2__swiper--min"),b.el.slideWrap.off(b.touchEvents.touchStart,b.handler.touchStart),b.el.slideWrap.off(b.touchEvents.touchEnd,b.handler.touchEnd),b.el.slideButtonList.off("click",b.handler.clickHandler),b.handler.resetPos();b.currentDevice!==d&&b.handleColorName();b.currentDevice=d},
765handleClickArrow:function(d){var l=a(d.currentTarget),q=l.hasClass(b.classes.swiperArrowNext);d=new DOMMatrix(getComputedStyle(b.el.slideWrap.target[0]).transform);var t=l.offset(),w=b.el.slideContainer.offset();"ltr"===h.direction?(l=b.el.slideList.target.find(function(x){return x.getBoundingClientRect().left>w.left+.8*t.width}),q?b.handler.setWrapperPos(d.m41-(l.getBoundingClientRect().left-w.left),!0):(q=b.el.slideList.eq(Math.max(a(l).index()-1,0)).offset(),b.handler.setWrapperPos(d.m41+((q.left<
766w.left?Math.abs(w.left-q.left):0)+t.width),!0))):(l=b.el.slideList.target.find(function(x){return x.getBoundingClientRect().right<w.right-.8*t.width}),q?b.handler.setWrapperPos(d.m41+(w.right-l.getBoundingClientRect().right),!0):(q=b.el.slideList.eq(Math.max(a(l).index()-1,0)).offset(),b.handler.setWrapperPos(d.m41-((q.right>w.right?Math.abs(q.right-w.right):0)+t.width),!0)))},handleColorNameTooltiopOpen:this.handleColorNameTooltiopOpen.bind(this),handleColorNameTooltiopClose:this.handleColorNameTooltiopClose.bind(this)};
767this.startX=0;this.globalText=null;h.instances.set(e,this);this.init()};h.prototype.init=function(){this.setProperty();this.bindEvents()};h.prototype.scrollX=function(){var e=window.getComputedStyle(this.el.slideWrap.target[0]).getPropertyValue("transform").match(/(-?[0-9\\.]+)/g),b=0;e&&(b=parseInt(e[4],10));return b};h.prototype.reInit=function(){this.isTouchEvent=this.handler.touchsupport();this.unBindEvents();this.setProperty();this.bindEvents()};h.prototype.setProperty=function(){"rtl"===m.getDirection()&&
768(h.direction="rtl");this.el.section.hasClass(this.classes.typeColor)?this.type="color":this.el.section.hasClass(this.classes.typeSize)&&(this.type="size");this.el.component=this.el.section.find(this.selector.component);this.el.slideWrap=this.el.component.find(this.selector.slideWrap);this.el.slideContainer=this.el.component.find(this.selector.slideContainer);this.el.slideButtonList=this.el.component.find(this.selector.slideButtonList);this.el.slideList=this.el.component.find(this.selector.slideList);
769this.el.swiperArrow=this.el.component.find(this.selector.swiperArrow);this.el.colorName=this.el.section.closest(this.selector.wrapper).find(this.selector.colorName);this.el.colorNameText=this.el.colorName.find("\x26 \x3e span");
769this.el.component.removeClass("bindCheck");this.isTouchEvent=this.handler.touchsupport();this.touchEvents={touchStart:this.isTouchEvent?"touchstart":"mousedown",touchMove:this.isTouchEvent?"touchmove":"mousemove",touchEnd:this.isTouchEvent?"touchend":"mouseup"};this.globalText=
770JSON.parse(this.el.section.target[0].dataset.globalText).selected;this.isCentered="true"===this.el.section.attr("data-align-center");this.startX=Math.abs(this.scrollX());if(0<this.startX){var e=this.startX/(this.el.slideContainer.outerWidth()-2*parseInt(this.el.slideContainer.css("padding-right"),10)-this.el.slideWrap.outerWidth())*100;this.percent=Math.abs(e)}};h.prototype.bindEvents=function(){this.el.window.on("resize",this.handler.timeResize);this.el.slideButtonList.on("click",this.handler.changeHandler);
771this.el.slideButtonList.on("keyup",this.handler.keyDownHandler);this.el.swiperArrow.on("click",this.handler.handleClickArrow);this.el.colorName.off("mouseenter",this.handler.handleColorNameTooltiopOpen).on("mouseenter",this.handler.handleColorNameTooltiopOpen);this.el.colorNameText.off("focus",this.handler.handleColorNameTooltiopOpen).on("focus",this.handler.handleColorNameTooltiopOpen);this.el.colorName.off("mouseleave",this.handler.handleColorNameTooltiopClose).on("mouseleave",this.handler.handleColorNameTooltiopClose);
772this.el.colorNameText.off("focusout",this.handler.handleColorNameTooltiopClose).on("focusout",this.handler.handleColorNameTooltiopClose);this.handler.timeResize();var e=this.el.slideContainer.find(".is-checked");0===this.startX&&e.target.length&&this.el.component.hasClass("bindCheck")&&this.handler.slideTo(e)};h.prototype.unBindEvents=function(){this.el.window.off("resize",this.handler.timeResize);this.el.slideButtonList.off("click",this.handler.clickHandler);this.el.slideButtonList.off("keyup",this.handler.keyDownHandler);
773this.el.slideButtonList.off("click",this.handler.changeHandler);this.el.swiperArrow.off("click",this.handler.handleClickArrow);this.el.slideWrap.off(this.touchEvents.touchStart,this.handler.touchStart);this.el.slideWrap.off(this.touchEvents.touchEnd,this.handler.touchEnd)};h.prototype.handleColorName=function(){if("color"===this.type){var e=this.el.section.find(this.selector.slideSelected);e.target.length&&(e=e.find(".hidden"),this.setColorName(e.target.length&&e.target[0].textContent))}};h.prototype.setColorName=
774function(e){if(null!==e&&void 0!==e){var b=this.el.section.closest(this.selector.wrapper).find(this.selector.colorName);if(b.target.length){var d=Math.max(0,parseInt(b.attr(this.selector.colorNameMaxchar))),l=Math.max(0,parseInt(b.attr(this.selector.colorNameMaxcharPC)))||d;d=Math.max(0,parseInt(b.attr(this.selector.colorNameMaxcharMO)))||d;var q="desktop"===m.getCurrentDevice()?l:d,t=b.find("\x26 \x3e span"),w=b.find(this.selector.colorNameTooltip);q?(q&&l!==d?t.target.length&&t.innerHTML('\x3cspan class\x3d"option-selector-v2__color-name--pc"\x3e'+
775m.getEllipsis(e,l)+'\x3c/span\x3e\x3cspan class\x3d"option-selector-v2__color-name--mo"\x3e'+m.getEllipsis(e,d)+"\x3c/span\x3e"):t.target.length&&t.innerHTML(m.getEllipsis(e,q)),e.length>q?(w.target.length?w.find(this.selector.colorNameTooltipText).innerHTML(e):b.append('\x3cdiv class\x3d"option-selector-v2__color-tooltip"\x3e\x3cp class\x3d"option-selector-v2__color-tooltip-text"\x3e'+e+'\x3c/p\x3e\x3cbutton class\x3d"option-selector-v2__color-tooltip-close"\x3e\x3cspan class\x3d"blind"\x3eClose\x3c/span\x3e\x3c/button\x3e\x3c/div\x3e'),
776t.attr("tabindex",0)):(w.remove(),t.removeAttr("tabindex"))):t.text(e)}}};h.prototype.handleColorNameTooltiopOpen=function(){this.el.colorName.find(this.selector.colorNameTooltip).target.length&&(g&&g.closeAll(),this.el.colorName.addClass(this.classes.colorNameTooltipActive))};h.prototype.handleColorNameTooltiopClose=function(){this.el.colorName.removeClass(this.classes.colorNameTooltipActive)};h.direction="ltr";var n=function(){a(".option-selector-v2 .option-selector-v2__wrap").target.forEach(function(e){new h(e)})};
777h.instances=new WeakMap;a.ready(n);window.sg.common.optionSelectorV2={init:n,reInit:function(e){a(e).find(".option-selector-v2 .option-selector-v2__wrap").target.forEach(function(b){h.instances.has(b)?h.instances.get(b).reInit():new h(b)})}}})();
778(function(){var a=window.sg.common.$q,m=window.sg.common.utils,k=window.sg.components.Tooltip,f=function(h){var n=this;this.isTouchEvent=this.keypress=this.motioning=this.dragging=!1;this.containerPadding=this.timer=this.percent=0;this.type=this.currentDevice=null;this.offset={startX:0,wrapperX:0,x_origine:0,y_origine:0,x_new:0,y_new:0};this.el={window:a(window),document:a(document),section:a(h),component:null,itemList:null,itemButtonList:null};this.selector={wrapper:".option-selector-v3",component:".option-selector-v3__list",
779colorNameMaxchar:"data-maxchar",colorNameMaxcharPC:"data-maxchar-pc",colorNameMaxcharMO:"data-maxchar-mo",colorName:".option-selector-v3__color-name",colorNameTooltip:".option-selector-v3__color-tooltip",colorNameTooltipText:".option-selector-v3__color-tooltip-text",colorCode:".option-selector-v3__color-code",sizeText:".option-selector-v3__size-text",itemList:".option-selector-v3__item",itemButtonList:".option-selector-v3__item button",itemSelected:".is-checked"};this.classes={typeColor:"option-selector-v3__wrap--color-chip",
780typeSize:"option-selector-v3__wrap--capacity",colorNameTooltipActive:"option-selector-v3__color-name--tooltip-active"};this.handler={touchsupport:function(){return"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch||0<navigator.maxTouchPoints||0<window.navigator.msMaxTouchPoints},heightLimit:function(){return n.isTouchEvent?10:100},eventClick:function(e){e.preventDefault();e.preventDefault?e.preventDefault():e.returnValue=!1},changeHandler:function(e){n.el.itemList.removeClass("is-checked");
781n.el.itemList.find(".blind").remove();var b=a(e.target).closest(n.selector.itemList),d=b.find(n.selector.colorCode),l=b.find(n.selector.sizeText);e=e.target.querySelector(".hidden")||null;b.addClass("is-checked");d.target.length&&d.after('\x3cspan class\x3d"blind"\x3e'+n.globalText+"\x3c/span\x3e");l.target.length&&l.after('\x3cspan class\x3d"blind"\x3e'+n.globalText+"\x3c/span\x3e");null!==e&&n.setColorName(e.innerText)},resize:function(){var e=m.getCurrentDevice();n.currentDevice!==e&&n.handleColorName();
782n.currentDevice=e},handleColorNameTooltiopOpen:this.handleColorNameTooltiopOpen.bind(this),handleColorNameTooltiopClose:this.handleColorNameTooltiopClose.bind(this)};this.startX=0;this.globalText=null;f.instances.set(h,this);this.init()};f.prototype.init=function(){this.setProperty();this.bindEvents()};f.prototype.reInit=function(){this.isTouchEvent=this.handler.touchsupport();this.setProperty();this.bindEvents()};f.prototype.setProperty=function(){"rtl"===m.getDirection()&&(f.direction="rtl");this.el.section.hasClass(this.classes.typeColor)?
783this.type="color":this.el.section.hasClass(this.classes.typeSize)&&(this.t
783ype="size");this.el.component=this.el.section.find(this.selector.component);this.el.itemButtonList=this.el.component.find(this.selector.itemButtonList);this.el.itemList=this.el.component.find(this.selector.itemList);this.el.colorName=this.el.section.closest(this.selector.wrapper).find(this.selector.colorName);this.el.colorNameText=this.el.colorName.find("\x26 \x3e span");this.globalText=JSON.parse(this.el.section.target[0].dataset.globalText).selected};
784f.prototype.bindEvents=function(){this.el.itemButtonList.off("click",this.handler.changeHandler).on("click",this.handler.changeHandler);this.el.colorName.off("mouseenter",this.handler.handleColorNameTooltiopOpen).on("mouseenter",this.handler.handleColorNameTooltiopOpen);this.el.colorNameText.off("focus",this.handler.handleColorNameTooltiopOpen).on("focus",this.handler.handleColorNameTooltiopOpen);this.el.colorName.off("mouseleave",this.handler.handleColorNameTooltiopClose).on("mouseleave",this.handler.handleColorNameTooltiopClose);
785this.el.colorNameText.off("focusout",this.handler.handleColorNameTooltiopClose).on("focusout",this.handler.handleColorNameTooltiopClose);var h=this.el.section.find(this.selector.itemSelected);h.target.length?h.eq(0).trigger("click"):this.el.itemButtonList.eq(0).trigger("click");this.el.window.off("resize",this.handler.resize).on("resize",this.handler.resize)};f.prototype.handleColorName=function(){if("color"===this.type){var h=this.el.section.find(this.selector.itemSelected);h.target.length&&(h=h.find(".hidden"),
786this.setColorName(h.target.length&&h.target[0].textContent))}};f.prototype.setColorName=function(h){if(null!==h&&void 0!==h){var n=this.el.section.closest(this.selector.wrapper).find(this.selector.colorName);if(n.target.length){var e=Math.max(0,parseInt(n.attr(this.selector.colorNameMaxchar))),b=Math.max(0,parseInt(n.attr(this.selector.colorNameMaxcharPC)))||e;e=Math.max(0,parseInt(n.attr(this.selector.colorNameMaxcharMO)))||e;var d="desktop"===m.getCurrentDevice()?b:e,l=n.find("\x26 \x3e span"),
787q=n.find(this.selector.colorNameTooltip);d?(d&&b!==e?l.target.length&&l.innerHTML('\x3cspan class\x3d"option-selector-v3__color-name--pc"\x3e'+m.getEllipsis(h,b)+'\x3c/span\x3e\x3cspan class\x3d"option-selector-v3__color-name--mo"\x3e'+m.getEllipsis(h,e)+"\x3c/span\x3e"):l.target.length&&l.innerHTML(m.getEllipsis(h,d)),h.length>d?(q.target.length?q.find(this.selector.colorNameTooltipText).innerHTML(h):n.append('\x3cdiv class\x3d"option-selector-v3__color-tooltip"\x3e\x3cp class\x3d"option-selector-v3__color-tooltip-text"\x3e'+
788h+'\x3c/p\x3e\x3cbutton class\x3d"option-selector-v3__color-tooltip-close"\x3e\x3cspan class\x3d"blind"\x3eClose\x3c/span\x3e\x3c/button\x3e\x3c/div\x3e'),l.attr("tabindex",0)):(q.remove(),l.removeAttr("tabindex"))):l.text(h)}}};f.prototype.handleColorNameTooltiopOpen=function(){this.el.colorName.find(this.selector.colorNameTooltip).target.length&&(k&&k.closeAll(),this.el.colorName.addClass(this.classes.colorNameTooltipActive))};f.prototype.handleColorNameTooltiopClose=function(){this.el.colorName.removeClass(this.classes.colorNameTooltipActive)};
789f.direction="ltr";var g=function(){a(".option-selector-v3 .option-selector-v3__wrap").target.forEach(function(h){new f(h)})};f.instances=new WeakMap;a.ready(g);window.sg.common.optionSelectorV3={init:g,reInit:function(h){a(h).find(".option-selector-v3 .option-selector-v3__wrap").target.forEach(function(n){f.instances.has(n)?f.instances.get(n).reInit():new f(n)})}}})();
790(function(){var a=window.sg.common.$q,m=window.sg.common.utils.getCurrentDevice,k=window.sg.common.video,f=window.sg.common.utils.triggerEvent,g=window.sg.common.utils.setMobileFocusLoop,h=window.sg.common.utils.removeMobileFocusLoop,n=function(b){this.el=b;this.init()};n.prototype.setElements=function(){this.els={el:this.el,videoWrapEl:this.el.querySelector(".popup-video__video-wrap"),currentVideoTitleEl:this.el.querySelector(".popup-video__current-video-title"),videoEls:this.el.querySelectorAll(".popup-video__video-wrap .video"),
791videoCloseButtonEl:this.el.querySelector(".popup-video__btn-video-close"),popupVideoLoopingStartEl:this.el.querySelector(".popup-video__looping--start"),popupVideoLoopingEndEl:this.el.querySelector(".popup-video__looping--end")};this.currentPlayingVideoEl={};this.focusTargetEl={}};n.prototype.init=function(){n.instances.get(this.el)||(n.instances.set(this.el,this),this.setElements(),this.bindEvents())};n.prototype.reInit=function(){this.currentPlayingVideoEl instanceof Element&&this.close();this.unBindEvents();
792this.setElements();this.bindEvents()};n.prototype.destroy=function(){this.unBindEvents();n.instances.has(this.els.el)&&n.instances.delete(this.els.el);this.els=null};n.prototype.setVideoSize=function(){this.els.videoWrapEl.classList.contains("popup-video__video-wrap--vertical")?"desktop"===m()?(this.els.videoWrapEl.style.height=window.innerHeight+"px",this.els.videoWrapEl.style.width=9*window.innerHeight/16+"px"):.9*window.innerWidth<7.2*window.innerHeight/16?(this.els.videoWrapEl.style.height=14.4*
793window.innerWidth/9+"px",this.els.videoWrapEl.style.width=.9*window.innerWidth+"px"):(this.els.videoWrapEl.style.height=.8*window.innerHeight+"px",this.els.videoWrapEl.style.width=7.2*window.innerHeight/16+"px"):"desktop"===m()?.9*window.innerHeight<8.1*window.innerWidth/16?(this.els.videoWrapEl.style.width=14.4*window.innerHeight/9+"px",this.els.videoWrapEl.style.height=.9*window.innerHeight+"px"):(this.els.videoWrapEl.style.width=.9*window.innerWidth+"px",this.els.videoWrapEl.style.height=8.1*window.innerWidth/
79416+"px"):(this.els.videoWrapEl.style.width=window.innerWidth+"px",this.els.videoWrapEl.style.height=9*window.innerWidth/16+"px")};
794n.prototype.setFocusToCloseButtonEl=function(){this.els.videoCloseButtonEl.focus()};n.prototype.setFocusToVideoTitleEl=function(){this.els.currentVideoTitleEl.focus()};n.prototype.bindEvents=function(){this.close=this.close.bind(this);this.setFocusToCloseButtonEl=this.setFocusToCloseButtonEl.bind(this);this.setFocusToVideoTitleEl=this.setFocusToVideoTitleEl.bind(this);
795this.setVideoSize=this.setVideoSize.bind(this);this.els.videoCloseButtonEl.addEventListener("click",this.close);this.els.popupVideoLoopingStartEl.addEventListener("focus",this.setFocusToCloseButtonEl);this.els.popupVideoLoopingEndEl.addEventListener("focus",this.setFocusToVideoTitleEl);window.addEventListener("resize",this.setVideoSize)};n.prototype.unBindEvents=function(){this.els.videoCloseButtonEl.removeEventListener("click",this.close);this.els.popupVideoLoopingStartEl.removeEventListener("focus",
796this.setFocusToCloseButtonEl);this.els.popupVideoLoopingEndEl.removeEventListener("focus",this.setFocusToVideoTitleEl);window.removeEventListener("resize",this.setVideoSize)};n.prototype.open=function(b,d,l){var q=this;b=void 0===b?0:b;d=void 0===d?null:d;"vertical"===(void 0===l?null:l)?this.els.videoWrapEl.classList.add("popup-video__video-wrap--vertical"):this.els.videoWrapEl.classList.remove("popup-video__video-wrap--vertical");this.els.currentVideoTitleEl.innerText=JSON.parse(this.els.videoEls[b].dataset.videoData).title;
797document.body.style.overflow="hidden";this.els.el.classList.add("popup-video--show");this.els.videoCloseButtonEl.focus();this.els.videoEls[b].style.display="block";this.setVideoSize();k.init(this.els.videoEls[b]);this.currentPlayingVideoEl=this.els.videoEls[b];this.focusTargetEl=d;"mobile"===m()&&g(this.els.el);setTimeout(function(){q.els.videoWrapEl.focus()},200)};n.prototype.close=function(){k.dispose(this.currentPlayingVideoEl);this.els.currentVideoTitleEl.innerText="";this.currentPlayingVideoEl.removeAttribute("style");
798this.els.el.classList.remove("popup-video--show");document.body.removeAttribute("style");this.currentPlayingVideoEl={};this.focusTargetEl instanceof Element&&this.focusTargetEl.focus();"mobile"===m()&&h();f(this.els.el,"popupVideoClose")};n.instances=new WeakMap;var e={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".popup-video"))).forEach(function(b){n.instances.has(b)||new n(b)})},init:function(b){n.instances.has(b)||new n(b)},reInit:function(b){n.instances.has(b)?
799n.instances.get(b).reInit():new n(b)},destroy:function(b){n.instances.has(b)&&n.instances.get(b).destroy()},open:function(b,d,l,q){n.instances.has(b)?n.instances.get(b).open(d,l,q):(new n(b)).open(d,l,q)},close:function(b){n.instances.has(b)?n.instances.get(b).close():(new n(b)).close()}};window.sg.common.popupVideo=e;a.ready(e.initAll)})();
800(function(){var a=window.sg.common.constants.KEY_CODE,m={getFirstFocusableEl:window.sg.common.utils.getFirstFocusableEl,setFocusFirstFocusableEl:window.sg.common.utils.setFocusFirstFocusableEl,setMobileFocusLoop:window.sg.common.utils.setMobileFocusLoop,removeMobileFocusLoop:window.sg.common.utils.removeMobileFocusLoop,hideScroll:window.sg.common.utils.hiddenScroll,showScroll:window.sg.common.utils.visibleScroll,handlePopstate:{open:window.sg.common.utils.popupControl.open,close:window.sg.common.utils.popupControl.close},
801showOverDimEls:window.sg.common.utils.showOverDimEls,hideOverDimEls:window.sg.common.utils.hideOverDimEls},k=window.sg.common.utils.getMobileOS,f=function(){return window.sg.components.Base.apply(this,arguments)||this};$jscomp.inherits(f,window.sg.components.Base);f.prototype._init=function(){this.els={el:this.el,closeEl:null,innerEl:null,scrollEls:null,childEl:null,actionsWrapEl:null};this.id=null;this.isOpen=!1;this.focusTargetEl=null;this._setElements();this._bindEvents()};f.prototype._setElements=
802function(){this.els.closeEl=this.els.el.querySelector(".popup__close");this.els.innerEl=this.els.el.querySelector(".popup__inner");this.els.scrollEls=this.els.el.querySelectorAll('[data-comp-name\x3d"scrollbar"]');this.els.childEl=this.els.el.querySelector(".popup__inner \x3e [data-comp-name]");this.els.actionsWrapEl=this.els.el.querySelector(".popup__btn-wrap");this.id=this.els.el.getAttribute("id");(this.child=this.getChild(this.els.childEl))&&this.child.setOptions({id:this.id});this.isOpen=!!this.els.el.classList.contains("popup--open")};
803f.prototype._bindEvents=function(){this.close=this.close.bind(this);this._handleKeydown=this._handleKeydown.bind(this);this._handleCloseKeydown=this._handleCloseKeydown.bind(this);this._handleActionClick=this._handleActionClick.bind(this);
803this._handleSetActions=this._handleSetActions.bind(this);this._handleReInit=this._handleReInit.bind(this);this.els.closeEl.addEventListener("click",this.close);this.els.el.addEventListener("keydown",this._handleKeydown);this.els.closeEl.addEventListener("keydown",
804this._handleCloseKeydown);this.child&&(this.child.listen("setButtons",this._handleSetActions),this.child.listen("reInit",this._handleReInit),this.child.listen("close",this.close));this.els.actionsWrapEl&&this.els.actionsWrapEl.addEventListener("click",this._handleActionClick)};f.prototype._unBindEvents=function(){this.els.closeEl.removeEventListener("click",this.close);this.els.el.removeEventListener("keydown",this._handleKeydown);this.els.closeEl.removeEventListener("keydown",this._handleCloseKeydown);
805this.child&&(this.child.unListen("setButtons",this._handleSetActions),this.child.unListen("close",this.close));this.els.actionsWrapEl&&this.els.actionsWrapEl.removeEventListener("click",this._handleActionClick)};f.prototype.open=function(g){var h=this;this.isOpen||(this.focusTargetEl=g&&g instanceof Element?g:document.activeElement,this.els.el.classList.add("popup--open"),this.isOpen=!0,m.handlePopstate.open(this.close),m.hideScroll(),m.setMobileFocusLoop(this.el),m.hideOverDimEls(),"ios"===k()?setTimeout(function(){return h._setFocusFirstFocusableEl()},
806450):this._setFocusFirstFocusableEl(),g={id:this.id},this.emit("open",g),window.sg.common.lazyLoad.setLazyLoadManually(this.els.innerEl),Array.from(this.els.scrollEls).forEach(function(n){h.getChild(n).resize()}),this._handleControl("open",g))};f.prototype._handleControl=function(g,h){if(this.child&&this.child[g]&&"function"===typeof this.child[g])this.child[g](h)};f.prototype._reInit=function(){this._unBindEvents();this._setElements();this._bindEvents()};f.prototype._destroy=function(){this._unBindEvents()};
807f.prototype.close=function(){var g=this;if(this.isOpen){this.els.el.classList.remove("popup--open");m.handlePopstate.close(this.els.el.dataset.backHistory&&"true"===this.els.el.dataset.backHistory?!0:!1);m.showScroll();m.removeMobileFocusLoop();m.showOverDimEls();if(this.focusTargetEl&&this.focusTargetEl instanceof Element){var h=function(){g.focusTargetEl.focus();g.focusTargetEl=null};"ios"===k()?setTimeout(h,200):h()}this.isOpen=!1;h={id:this.id};this.emit("close",{id:this.id},!0);this._handleControl("close",
808h)}};f.prototype._handleKeydown=function(g){if(g.shiftKey&&a.TAB===g.keyCode){var h=this._getFirstFocusableEl();h&&g.target===h&&(g.preventDefault(),this.els.closeEl.focus())}};f.prototype._handleCloseKeydown=function(g){g.shiftKey||a.TAB!==g.keyCode||(g.preventDefault(),this._setFocusFirstFocusableEl())};f.prototype._setFocusFirstFocusableEl=function(){var g=this.els.el.querySelector(".popup__title"),h=g||this._getFirstFocusableEl();g&&g.setAttribute("tabindex","-1");h&&h.focus()};f.prototype._getFirstFocusableEl=
809function(){var g=m.getFirstFocusableEl(this.els.el);if(g&&g.matches('input[type\x3d"radio"]')){var h=this.els.el.querySelector('input[type\x3d"radio"][name\x3d"'+g.name+'"]:checked');h&&(g=h)}return g};f.prototype._handleActionClick=function(g){if(g=g.target.dataset.action)g={id:this.id,action:g},this.emit("action",g),this._handleControl("action",g)};f.prototype._handleSetActions=function(g){var h=this;g.stopPropagation();var n=g.detail;Array.isArray(n)||(n=[n]);n.forEach(function(e){var b=h.els.actionsWrapEl.querySelector("[data-action\x3d'"+
810e.action+"']");b&&("enable"===e.state?(b.classList.remove("cta--disabled"),b.disabled=!1):"disable"===e.state&&(b.classList.add("cta--disabled"),b.disabled=!0),g.detail.focus&&b.focus())})};f.prototype._handleReInit=function(g){(g=g.detail.el?g.detail.el:null)?this.reInit(g):this.reInit()};window.sg.components.registerClass("popup",f)})();
811(function(){var a="function"===typeof currencyComma?currencyComma:function(l){return l},m=function(l,q){q=void 0===q?null:q;return"undefined"!==typeof Granite?Granite.I18n.get(l,q):q},k=document.querySelector("#siteCode")?document.querySelector("#siteCode").value:"",f="de dk ee fi fr hr hu it lt lv no pl pt se si ro".split(" ").includes(k),g="ro se dk fi no hr si".split(" ").includes(k),h="au ch ch_fr dk fi fr no pl se hu".split(" ").includes(k),n={ux26:"type-ux26",bg:"type-e-bg",br:"type-e-br",ch:"type-e-ch",
812ch_fr:"type-e-ch",hu:"type-e-hu","in":"type-e-in",pl:"type-e-pl",uk:"type-e-uk",pt:"type-e-pt",au:"type-b1",es:"type-b1",hk_en:"type-b1",hk:"type-b1",il:"type-b1",jp:"type-b1",n_africa:"type-b1",nz:"type-b1",pk:"type-b1",sa_en:"type-b1",sa:"type-b1",sg:"type-b1",th:"type-b1",tw:"type-b1",vn:"type-b1",za:"type-b1",ae_ar:"type-b2",ae:"type-b2",ca_fr:"type-b2",ca:"type-b2",eg:"type-b2",levant_ar:"type-b2",levant:"type-b2",se:"type-b2",no:"type-b2",dk:"type-b2",fi:"type-b2",at:"type-c",nl:"type-c",ro:"type-c",
813tr:"type-d"},e=function(l){this.apiData=l;
813this.priceObj={usePrice:!0,type:this.apiData.type,total:0,totalDisplay:"",origin:0,originDisplay:"",save:0,saveDisplay:"",installmentObj:{},installText:null,priceCurrency:this.apiData.currency||this.apiData.priceCurrency,desc:""};this.init()};e.prototype.init=function(){this.setUsePrice();this.priceObj.usePrice&&this.setPriceObjectByDefaultRule();return this.priceObj};e.prototype.setUsePrice=function(){var l=this.apiData.ctaType.toUpperCase();if("pl"===k&&
814"OUTOFSTOCK"===l)this.priceObj.usePrice=!1;else if("NOORDER"===l||"LEARNMORE"===l)this.priceObj.usePrice=!1};e.prototype.setPriceObjectByDefaultRule=function(){var l=this.priceObj,q=this.apiData;if(f){var t=q.lowestWasPrice;l.origin=0!==t&&""!==t&&null!==t&&"null"!==t&&parseFloat(q.lowestWasPrice)}else q.price&&(l.origin=parseFloat(q.price));f?l.originDisplay=q.lowestWasPriceDisplay:q.priceDisplay?l.originDisplay=q.priceDisplay:q.price&&(l.originDisplay=a(q.price,l.priceCurrency));q.promotionPrice?
815l.total=parseFloat(q.promotionPrice):q.price&&(l.total=parseFloat(q.price));q.promotionPriceDisplay?l.totalDisplay=q.promotionPriceDisplay:l.total&&(l.totalDisplay=a(l.total,l.priceCurrency));l.origin>l.total&&(l.save=l.origin-l.total,l.saveDisplay=a(l.save,l.priceCurrency));q.monthlyPriceInfo&&q.monthlyPriceInfo.leasingMonthly&&q.monthlyPriceInfo.leasingMonths&&(l.installmentObj.useMonthlyPrice=!0,l.installmentObj.monthlyPrice=a(q.monthlyPriceInfo.leasingMonthly,l.priceCurrency),l.installmentObj.tenureVal=
816q.monthlyPriceInfo.leasingMonths,q.monthlyPriceInfo.interest&&(l.installmentObj.leasingInterest=q.monthlyPriceInfo.interest));if("type-ux26"===l.type){switch(k){case "th":l.installmentObj.useMonthlyPrice&&(l.totalDisplay=m("From {0}",l.totalDisplay)+" "+m("or")+" "+m("{0}/mo",l.installmentObj.monthlyPrice)+", "+m("for {0} mos",l.installmentObj.tenureVal));break;default:l.installmentObj.useMonthlyPrice&&(l.totalDisplay=m("From {0}",l.totalDisplay)+" "+m("or")+" "+m("{0}/mo",l.installmentObj.monthlyPrice)+
817" "+m("for {0} mos",l.installmentObj.tenureVal))}l.save&&(l.saveDisplay=m("Save {0}",l.saveDisplay))}else switch(k){case "pl":l.save&&(l.saveDisplay=m("Save {0}",l.saveDisplay));l.desc="Najni\u017csza cena z 30 dni przed obni\u017ck\u0105: ";break;case "bg":case "ro":l.originDisplay=m("RRP {0}",l.originDisplay);break;case "nl":q.msrpPrice&&(l.originDisplay=m("Recommend price")+" "+q.msrpPrice);break;case "at":case "dk":case "fi":case "iq_ar":case "iq_ku":case "no":case "se":case "tr":break;case "it":l.save&&
818(l.saveDisplay=m("Save the {0}%",(l.save/l.origin*100).toFixed(2).replace(".",",")));break;case "au":case "es":case "hk_en":case "hk":case "il":case "jp":case "n_africa":case "nz":case "pk":case "sa_en":case "sa":case "sg":case "th":case "tw":case "vn":case "za":l.save&&(l.saveDisplay=q.formattedPriceSave);break;case "ae":case "ae_ar":case "levant":case "levant_ar":case "eg":case "ca":case "ca_fr":l.save&&(l.originDisplay=q.formattedPriceSave);break;case "ch":case "ch_fr":l.save&&(l.saveDisplay=q.formattedPriceSave);
819l.installText=l.installmentObj.useMonthlyPrice?m("{0}/mo at",[l.installmentObj.monthlyPrice])+" "+m("{0} Monthly installments",l.installmentObj.tenureVal)+", "+m("total (installment)")+" "+q.priceDisplay:"";break;case "hu":l.save&&(l.originDisplay=""+m("Best price in the past 30 days:")+l.originDisplay+"("+Math.round(-l.save/l.origin*100)+"%)",l.saveDisplay=q.formattedPriceSave);break;case "in":l.totalDisplay=a(l.total,l.priceCurrency);l.originDisplay="MRP: "+a(q.price,l.priceCurrency)+" (Incl. of all taxes)";
820l.save&&(l.saveDisplay=m("Save {0}",l.saveDisplay));break;case "br":l.originDisplay=q.rrpPriceDisplay;q.formattedPriceSave&&(l.save=1,l.saveDisplay=q.formattedPriceSave);break;default:l.save&&(l.saveDisplay=m("Save {0}",l.saveDisplay))}l.type||(l.type=n[k]||"type-b");this.setUseWasAndRRPSitePrice()};e.prototype.setUseWasAndRRPSitePrice=function(){if(g&&!this.priceObj.origin){var l=this.priceObj,q=this.apiData;q.price&&(l.origin=parseFloat(q.price));q.priceDisplay?l.originDisplay=q.priceDisplay:q.price&&
821(l.originDisplay=a(q.price,l.priceCurrency));l.origin>l.total&&(l.save=l.origin-l.total,l.saveDisplay=a(l.save,l.priceCurrency));
821switch(k){case "hr":case "si":l.save&&(l.saveDisplay=m("Save {0}",l.saveDisplay));break;case "bg":case "ro":l.originDisplay=m("RRP {0}",l.originDisplay)}}};e.prototype.getPriceObject=function(){return this.priceObj};var b=function(){if(b.instance)return b.instance;this.instance=this;this.priceObj};b.prototype.getPriceInfoByProductInfo=function(l){return(new e(l)).getPriceObject()};
822b.prototype.buildPrice=function(){var l=this.priceObj,q=l.type,t=l.originDisplay,w=l.totalDisplay,x=l.save,B=l.saveDisplay,D=l.installText,z=l.desc;l=function(va,ha){return'\x3cdiv class\x3d"price-ux__price-current"\x3e\x3cstrong\x3e'+va+"\x3c/strong\x3e"+(void 0===ha?"":ha)+"\x3c/div\x3e"};var T=function(va,ha){return' \x3cspan class\x3d"price-ux__price-current-sub"\x3e'+(void 0===ha||ha?"\x3cem\x3e"+va+"\x3c/em\x3e":va)+"\x3c/span\x3e"},Y=function(va){return'\x3cdiv class\x3d"price-ux__price-sub"\x3e'+
823va+"\x3c/div\x3e"},la=function(va){return'\x3cp class\x3d"price-ux__price-save"\x3e\x3cem\x3e'+va+"\x3c/em\x3e\x3c/p\x3e"},aa=function(va){return'\x3cp class\x3d"price-ux__price-original"\x3e'+(h?"\x3cdel\x3e"+va+"\x3c/del\x3e":va)+"\x3c/p\x3e"},wa=function(va){return'\x3cdiv class\x3d"price-ux__desc"\x3e'+va+"\x3c/div\x3e"};if(["type-ux26"].includes(q))return t=x?Y(aa(t)+la(B)):"",l(w)+t;if(["type-b1"].includes(q))return t=x?Y(la(B)):"",l(w)+t;if("type-b2 type-c type-e-se type-e-no type-e-dk type-e-fi type-e-bg".split(" ").includes(q))return t=
824x?Y(aa(t)):"",l(w)+t;if(["type-d"].includes(q))return l(w);if("type-e-uk type-e-mx type-e-pe type-e-co type-e-cl type-e-pt".split(" ").includes(q))return t=x?Y(aa(t)+la(B)):"",l(w)+t;if(["type-e-hu"].includes(q))return t=x?wa(t)+Y(la(B)):"",l(w)+t;if(["type-e-ch"].includes(q))return t=x?Y(la(B)):"",l(w)+t+wa(D);if(["type-e-pl"].includes(q))return B=x?T(B):"",t=x?wa(z)+Y(aa(t)):"",l(w,B)+t;if(["type-e-in"].includes(q))return x=x?T(B):"",t=Y(aa(t)),l(w,x)+t;if(["type-e-br"].includes(q))return D=x?T(" \u00e0 vista",
825!1):"",B=x?Y(la(B)):"",t=x?Y(aa(t)):"",l(w,D)+B+t;B=x?T(B):"";t=x?Y(aa(t)):"";return l(w,B)+t};b.prototype.getPriceHTML=function(l){this.priceObj=this.getPriceInfoByProductInfo(l);return'\n        \x3cdiv class\x3d"price-ux__wrap'+(h?"":" price-ux__wrap--no-line-through")+'"\x3e\n          '+(this.priceObj.usePrice?this.buildPrice():"")+"\n        \x3c/div\x3e"};var d=null;window.sg.common.price={getPriceInfoByProductInfo:function(l,q){l=Object.assign({},l,{currency:q.currency,type:void 0===q.type?
826"":q.type});d||(d=new b);return d.getPriceInfoByProductInfo(l)},getPrice:function(l,q){l=Object.assign({},l,{currency:q.currency,type:void 0===q.type?"":q.type});d||(d=new b);return d.getPriceHTML(l)}}})();
827(function(){function a(){m(g.section).target.forEach(function(b){e.instances.has(b)||new e(b)})}var m=window.sg.common.$q,k=window.sg.common.utils,f="function"===typeof currencyComma?currencyComma:function(b,d){return""+b+d},g={section:".multi-range-slider"},h={},n=(h["default"]="default",h.number="number",h.currency="currency",h),e=function(b){this.selector={rangeTrack:".multi-range-slider__track",rangeHandleMin:".multi-range-slider__range-handle--min",rangeHandleMax:".multi-range-slider__range-handle--max",
828rangeInput:".multi-range-slider__range input",rangeMinEl:".multi-range-slider__range--min",rangeMaxEl:".multi-range-slider__range--max",textFieldWrap:".multi-range-slider__text",textFieldMinEl:".multi-range-slider__text-field--min",textFieldMaxEl:".multi-range-slider__text-field--max",textInput:".multi-range-slider__text input",textMinEl:".multi-range-slider__text--min",textMaxEl:".multi-range-slider__text--max",rangeProgress:".multi-range-slider__progress",stepIndicator:".multi-range-slider__step-indicator"};
829this.type=n.default;this.els={section:m(b),sectionEl:b};this.handler={handleResize:this.handleResize.bind(this),handleInputValues:this.handleInputValues.bind(this)};this.init();e.instances.set(b,this)};e.prototype.init=function(){this.setElements();this.setType();this.setInitialValues();this.setOptions();this.setRangeSliderOptions();this.drawInitValues();this.bindEvents()};e.prototype.reInit=function(){this.unbindEvents();this.setElements();this.setType();this.setInitialValues();this.setOptions();
830this.setRangeSliderOptions();this.drawInitValues();this.bindEvents()};e.prototype.setOptions=function(){this.els.stepIndicator.target.length&&this.els.stepIndicator.remove();
830var b=this.els.section.attr("data-slider-data");if(b){var d=JSON.parse(b),l=d.stepIndicator,q=d.stepType;b=d.step;this.options=d;if(l&&q&&b){d=Math.floor(100/parseInt(b));for(l=0;l<d;l++){q=document.createElement("div");var t=b*(l+1),w=(this.rangeMaxValue-this.rangeMinValue)*t/100;q.classList.add("multi-range-slider__step-indicator");
831q.setAttribute("data-step-value",w);k.isRtl()?q.style.right=t+"%":q.style.left=t+"%";this.els.rangeTrack.append(q)}this.els.stepIndicator=this.els.section.find(this.selector.stepIndicator)}}else this.options={},this.options.stepIndicator=!1,this.options.stepType="percent",this.options.step=1,this.options.activeMaxStepIndicatorIndex=0};e.prototype.updateStepIndicatorActive=function(){var b=this;if(this.options.stepIndicator){var d=this.els.rangeMaxEl.attr("value");this.els.stepIndicator.target.forEach(function(l,
832q){l=m(l);var t=l.attr("data-step-value");parseInt(t)<=parseInt(d)?(l.addClass("multi-range-slider__step-indicator--active"),b.options.activeMaxStepIndicatorIndex=q):l.removeClass("multi-range-slider__step-indicator--active")});this.els.stepIndicator.hasClass("multi-range-slider__step-indicator--active")||(this.options.activeMaxStepIndicatorIndex=-1)}};e.prototype.setElements=function(){this.els.rangeTrack=this.els.section.find(this.selector.rangeTrack);this.els.rangeHandleMin=this.els.section.find(this.selector.rangeHandleMin);
833this.els.rangeHandleMax=this.els.section.find(this.selector.rangeHandleMax);this.els.rangeInput=this.els.section.find(this.selector.rangeInput);this.els.rangeMinEl=this.els.section.find(this.selector.rangeMinEl);this.els.rangeMaxEl=this.els.section.find(this.selector.rangeMaxEl);this.els.textFieldWrap=this.els.section.find(this.selector.textFieldWrap);this.els.textFieldMinEl=this.els.section.find(this.selector.textFieldMinEl);this.els.textFieldMaxEl=this.els.section.find(this.selector.textFieldMaxEl);
834this.els.textInput=this.els.section.find(this.selector.textInput);this.els.textMinEl=this.els.section.find(this.selector.textMinEl);this.els.textMaxEl=this.els.section.find(this.selector.textMaxEl);this.els.rangeProgress=this.els.section.find(this.selector.rangeProgress);this.els.stepIndicator=this.els.section.find(this.selector.stepIndicator)};e.prototype.setType=function(){var b=this;switch((this.els.section.attr("data-type")||"default").toLowerCase()){case n.default:case n.number:this.type=n.number;
835this.adaptor=function(d){return(new Intl.NumberFormat("en-US")).format(String(d))};break;case n.currency:this.type=n.currency;this.currency=this.els.section.attr("data-currency")||"";this.adaptor=function(d){return f(d,b.currency)};break;default:this.type=n.default,this.adaptor=function(d){return(new Intl.NumberFormat("en-US")).format(String(d))}}};e.prototype.setInitialValues=function(){this.rangeMinValue=this.els.rangeMinEl.attr("min")||0;this.rangeMaxValue=this.els.rangeMaxEl.attr("max")||100;
836this.minPrefix=this.els.textFieldMinEl.attr("data-prefix")||"";this.minSuffix=this.els.textFieldMinEl.attr("data-suffix")||"";this.maxPrefix=this.els.textFieldMaxEl.attr("data-prefix")||"";this.maxSuffix=this.els.textFieldMaxEl.attr("data-suffix")||"";this.initialMinValue=this.els.rangeMinEl.attr("value")||this.rangeMinValue;this.initialMaxValue=this.els.rangeMaxEl.attr("value")||this.rangeMaxValue};e.prototype.setRangeSliderOptions=function(){var b=this;this.range=this.rangeMaxValue-this.rangeMinValue;
837this.rangeStart=this.rangeMinValue/this.range*100;this.rangeGap=this.options.stepIndicator?0:10;this.step=this.els.rangeMinEl.attr("data-step")?this.els.rangeMinEl.attr("data-step")*this.range/100:1*this.range/100;this.els.rangeInput.target.forEach(function(d){d.min=b.rangeMinValue;d.max=b.rangeMaxValue;d.step=b.step})};e.prototype.drawValues=function(b){for(var d=[],l=0;l<arguments.length;++l)d[l-0]=arguments[l];l=Math.min(this.rangeMaxValue,Math.max(this.rangeMinValue,2>d.length?0:d[0]));d=Math.max(this.rangeMinValue,
838Math.min(this.rangeMaxValue,2>d.length?d[0]:d[1]));this.updateInputValue(this.els.rangeMinEl,l);this.updateInputValue(this.els.rangeMaxEl,d);this.makeDisplayText(l,d);this.setOffset(l,d);"rtl"===k.getDirection()?(this.els.rangeProgress.css({right:l/this.range*100-this.rangeStart+this.minHandleOffset+"%",left:100-d/this.range*100+this.rangeStart+this.maxHandleOffset+"%"}),this.els.rangeHandleMin.css({right:l/this.range*100-this.rangeStart+this.minHandleOffset+"%"}),this.els.rangeHandleMax.css({left:100-
839d/this.range*100+this.rangeStart+this.maxHandleOffset+"%"})):(this.els.rangeProgress.css({left:l/this.range*100-this.rangeStart+this.minHandleOffset+"%",right:100-d/this.range*100+this.rangeStart+this.maxHandleOffset+"%"}),this.els.rangeHandleMin.css({left:l/this.range*100-this.rangeStart+this.minHandleOffset+"%"}),this.els.rangeHandleMax.css({right:100-d/this.range*100+this.rangeStart+this.maxHandleOffset+"%"}));this.updateStepIndicatorActive()};e.prototype.drawInitValues=function(){this.drawValues(this.initialMinValue,
840this.initialMaxValue)};e.prototype.bindEvents=function(){window.addEventListener("resize",this.handler.handleResize);this.els.rangeInput.on("input",this.handler.handleInputValues)};e.prototype.unbindEvents=function(){window.removeEventListener("resize",this.handler.handleResize);this.els.rangeInput.off("input",this.handler.handleInputValues)};e.prototype.makeDisplayText=function(b,d){var l=parseFloat(b),q=parseFloat(d);0<=l&&(b=""+this.minPrefix+this.adaptor(b)+this.minSuffix,this.updateInputValue(this.els.textMinEl,
841b));0<=q&&(d=""+this.maxPrefix+this.adaptor(d)+this.maxSuffix,this.updateInputValue(this.els.textMaxEl,d))};e.prototype.updateInputValue=function(b,d){b.target[0]&&(b.target[0].value=d,b.attr("value",d))};e.prototype.getHandleSize=function(){this.handleSize=this.els.rangeHandleMin.target.length&&!this.options.stepIndicator?this.els.rangeHandleMin.target[0].offsetWidth:0};e.prototype.getRangeTrackSize=function(){this.rangeTrackW=this.els.rangeTrack.offset().width};e.prototype.setOffset=function(b,
842d){this.getHandleSize();this.getRangeTrackSize();this.minHandleOffset=(this.handleSize/2-(b-this.rangeMinValue)/this.range*this.handleSize)/this.rangeTrackW*100;this.maxHandleOffset=(this.handleSize/2-(this.rangeMaxValue-d)/this.range*this.handleSize)/this.rangeTrackW*100};e.prototype.handleInputValues=function(b){if(this.els.rangeMinEl.target.length&&this.els.rangeMaxEl.target.length){var d=parseInt(this.els.rangeMinEl.target[0].value),l=parseInt(this.els.rangeMaxEl.target[0].value);l/this.range*
843100-d/this.range*100<=this.rangeGap&&(b.target===this.els.rangeMinEl.target[0]?d=l-parseInt(this.rangeGap*this.range/100):l=d+parseInt(this.rangeGap*this.range/100));this.drawValues(d,l)}};e.prototype.handleResize=function(){this.getHandleSize();this.getRangeTrackSize()};e.prototype.goNextStep=function(){var b=this.els.stepIndicator.eq
843(this.options.activeMaxStepIndicatorIndex+1);b.target.length&&this.drawValues(b.attr("data-step-value"))};e.prototype.goPrevStep=function(){var b=this.els.rangeMaxEl.attr("value"),
844d=this.options.activeMaxStepIndicatorIndex;d=this.els.stepIndicator.eq(d);var l=d.attr("data-step-value");b>l?this.drawValues(l):(d=this.options.activeMaxStepIndicatorIndex-1,d=this.els.stepIndicator.eq(d),l=d.attr("data-step-value"),this.drawValues(d.target.length?l:this.rangeMinValue))};e.instances=new WeakMap;window.sg.components.RangeSlider={init:a,reInit:function(){m(g.section).target.forEach(function(b){e.instances.has(b)?e.instances.get(b).reInit():new e(b)})},updateRange:function(b,d,l){e.instances.has(b)?
845e.instances.get(b).drawValues(d,l):(new e(b)).drawValues(d,l)},goNextStep:function(b){return e.instances.has(b)?e.instances.get(b).goNextStep():(new e(b)).goNextStep()},goPrevStep:function(b){return e.instances.has(b)?e.instances.get(b).goPrevStep():(new e(b)).goPrevStep()},getRangeSlider:function(b){return e.instances.has(b)?e.instances.get(b):new e(b)}};m.ready(a)})();
846(function(){var a=function(){return window.sg.components.Base.apply(this,arguments)||this};$jscomp.inherits(a,window.sg.components.Base);a.prototype._init=function(){this.els={el:this.el,containerEl:null,wrapperEl:null,slideEls:null,prevEl:null,nextEl:null,indicatorEl:null};this.isCarousel=!1;this.indicator=this.swiper=null;this.isLoop=!1;this._setElements();this._setSwiper();this._bindEvents()};a.prototype._setElements=function(){this.els.containerEl=this.els.el.querySelector(".slider__container");
847this.els.wrapperEl=this.els.el.querySelector(".slider__wrapper");this.els.slideEls=this.els.el.querySelectorAll(".slider__slide");this.els.prevEl=this.els.el.querySelector(".arrow-indicator--prev");this.els.nextEl=this.els.el.querySelector(".arrow-indicator--next");this.els.indicatorEl=this.els.el.querySelector(".indicator")};a.prototype._setSwiper=function(){if(this.isCarousel=1<this.els.slideEls.length)this.isLoop=this.els.el.hasAttribute("data-loop"),this.swiper=new Swiper(this.els.containerEl,
848{loop:this.isLoop,navigation:{prevEl:this.els.prevEl,nextEl:this.els.nextEl}}),this.els.slideEls=this.els.el.querySelectorAll(".slider__slide"),this._setSwiperArrows(),this._setAccessibility(),this.indicator=this.getChild(this.els.indicatorEl)};a.prototype._bindEvents=function(){var m=this;this.isCarousel&&(this.swiper.on("slideChange",function(){m._setSwiperArrows();m._setAccessibility();m.indicator.select(m.swiper.realIndex);window.sg.common.lazyLoad.setLazyLoadManually(m.els.slideEls[m.swiper.activeIndex])}),
849this._handleIndicatorMove=this._handleIndicatorMove.bind(this),this.els.indicatorEl.addEventListener("indicatorMove",this._handleIndicatorMove))};a.prototype._unBindEvents=function(){this.isCarousel&&this.els.indicatorEl.removeEventListener("indicatorMove",this._handleIndicatorMove)};a.prototype._setSwiperArrows=function(){this.isLoop||(this.swiper.isBeginning?(document.activeElement===this.els.prevEl&&this.els.nextEl.focus(),this.els.prevEl.style.display="none"):this.els.prevEl.style.display="",
850this.swiper.isEnd?(document.activeElement===this.els.nextEl&&this.els.prevEl.focus(),this.els.nextEl.style.display="none"):this.els.nextEl.style.display="")};a.prototype._setAccessibility=function(){var m=this;[].concat($jscomp.arrayFromIterable(this.els.slideEls)).forEach(function(k,f){f===m.swiper.activeIndex?(k.removeAttribute("aria-hidden"),[].concat($jscomp.arrayFromIterable(k.querySelectorAll('input, select, textarea, button, [href], [tabindex]:not([tabindex\x3d"-1"])'))).forEach(function(g){g.removeAttribute("tabindex");
851g.removeAttribute("aria-hidden")})):(k.setAttribute("aria-hidden","true"),[].concat($jscomp.arrayFromIterable(k.querySelectorAll('input, select, textarea, button, [href], [tabindex]:not([tabindex\x3d"-1"])'))).forEach(function(g){g.setAttribute("tabindex","-1");g.setAttribute("aria-hidden","true")}))})};a.prototype._handleIndicatorMove=function(m){this.swiper&&m.detail!==this.swiper.realIndex&&this.swiper.slideToLoop(m.detail)};a.prototype._reInit=function(){this._unBindEvents();this.swiper&&this.swiper.destroy();
852this._setElements();this._setSwiper();this._bindEvents()};a.prototype._destroy=function(){this._unBindEvents();this.swiper.destroy()};window.sg.components.registerClass("slider",a)})();
853(function(){var a=window.sg.common.$q,m=function(f){this.els={el:f,linkActionEl:f.querySelector(".cta")};this.init()};m.prototype.init=function(){m.instances.get(this.els.el)||(m.instances.set(this.els.el,this),this.bindEvents())};m.prototype.bindEvents=function(){this.els.el.style.bottom=-this.els.el.getBoundingClientRect().height+"px";this.els.linkActionEl&&this.els.linkActionEl.setAttribute("tabindex","-1")};m.prototype.open=function(){var f=this;this.els.el.removeAttribute("aria-hidden");this.els.linkActionEl&&
854this.els.linkActionEl.removeAttribute("tabindex");this.els.el.classList.add("show");this.els.el.style.bottom="24px";setTimeout(function(){f.els.el.style.transitionProperty="opacity";f.els.el.style.opacity="0"},3500);setTimeout(function(){f.els.el.classList.remove("show");f.els.el.removeAttribute("style");f.els.el.setAttribute("aria-hidden",!0);f.els.el.style.bottom=-f.els.el.getBoundingClientRect().height+"px";f.els.linkActionEl&&f.els.linkActionEl.setAttribute("tabindex","-1")},4E3)};m.instances=
855new WeakMap;var k={initAll:function(){[].concat($jscomp.arrayFromIterable(document.querySelectorAll(".snack-bar"))).forEac
855h(function(f){m.instances.has(f)||new m(f)})},show:function(f){m.instances.has(f)?m.instances.get(f).open():(new m(f)).open()}};window.sg.common.snackBar=k;a.ready(k.initAll)})();
856(function(){var a=window.sg.common.$q,m=window.sg.common.utils.getCurrentDevice,k=window.sg.common.utils.getCurrentMediaType,f=window.BezierEasing,g=window.sg.common.utils.triggerEvent,h=window.sg.common.utils.addEventListener,n=window.sg.common.utils.removeAllEventListeners,e=window.sg.common.utils.getNormalizedScrollLeft,b=window.sg.common.utils.setNormalizedScrollLeft,d=window.sg.common.utils.isRtl,l=window.sg.common.constants.KEY_CODE,q=window.sg.common.lazyLoad,t=function(x,B){this.selector=
857{setPositionOption:"[data-set-scroll-position]",focusable:"a[href], button:not([disabled])"};this.els={el:x,tabListEl:null,tabItemTitleEls:[],tabLeftArrowEl:null,tabRightArrowEl:null};this.selectedAriaTypeText={selected:"selected",current:"current"};this.scrollEndTime=this.dragStartTitle=null;this.init(void 0===B?0:B)};t.prototype.init=function(x){x=void 0===x?0:x;t.instances.has(this.els.el)||(t.instances.set(this.els.el,this),this.initValues(),this.setElements(),this.setSelectedAriaType(),this.bindEvents(),
858this.select(x,!0))};t.prototype.reInit=function(x){x=void 0===x?0:x;this.unBindEvents();this.initValues();this.setElements();this.setSelectedAriaType();this.bindEvents();if("false"===this.els.el.dataset.reinitActive){var B=this.els.el.querySelector(".tab__item--active .tab__item-title");B?this.index=[].concat($jscomp.arrayFromIterable(this.els.tabItemTitleEls)).indexOf(B):this.select(x)}else this.select(x)};t.prototype.destroy=function(){this.unBindEvents();t.instances.has(this.els.el)&&t.instances.delete(this.els.el);
859this.els=null};t.prototype.initValues=function(){this.index=-1;this.startX=0;this.isAnim=this.isContentsDragging=!1;this.diffX=0;this.device="";this.selectDisabled=!1;this.selectedAriaType=this.selectedAriaTypeText.selected;this.selectedAriaDisabled=!1;this.isUseArrow=void 0!==this.els.el.dataset.useArrow;this.isUseArrowMo=void 0!==this.els.el.dataset.useArrowMo;this.setPositionOption=this.els.el.dataset.setScrollPosition;this.intoScrollExtend=this.els.el.dataset.intoScrollExtend;this.duration=300;
860this.easing=f(.4,0,.2,1);this.isRtl=d()};t.prototype.setElements=function(){this.els.tabListEl=this.els.el.querySelector(".tab__list");this.els.tabItemTitleEls=this.els.el.querySelectorAll(".tab__item-title");if(this.isUseArrow){this.els.tabLeftArrowEl=this.els.el.querySelector(".tab__left-arrow");this.els.tabRightArrowEl=this.els.el.querySelector(".tab__right-arrow");if(this.isRtl){var x=this.els.tabLeftArrowEl.getAttribute("aria-label"),B=this.els.tabRightArrowEl.getAttribute("aria-label");this.els.tabLeftArrowEl.setAttribute("aria-label",
861B);this.els.tabRightArrowEl.setAttribute("aria-label",x)}this.setArrow()}};t.prototype.setSelectedAriaType=function(){this.selectedAriaType=this.els.el.hasAttribute("data-selected-aria-type")&&this.els.el.getAttribute("data-selected-aria-type")===this.selectedAriaTypeText.current?this.selectedAriaTypeText.current:this.selectedAriaTypeText.selected;this.selectedAriaDisabled=this.els.el.hasAttribute("data-selected-aria-type")&&"false"===this.els.el.getAttribute("data-selected-aria-type")?!0:!1};t.prototype.select=
862function(x,B){var D=this;B=void 0===B?!1:B;var z=parseInt(x);x===this.index||this.isAnim||(this.index=z,Array.from(this.els.tabItemTitleEls).forEach(function(T,Y){if(Y===D.index){if(a(T).parent().addClass("tab__item--active"),!D.selectedAriaDisabled)a:switch(D.selectedAriaType){case D.selectedAriaTypeText.selected:a(T).attr("aria-"+D.selectedAriaType,"true");break a;case D.selectedAriaTypeText.current:Y=T.dataset.ariaCurrentValue?T.dataset.ariaCurrentValue:"page",a(T).attr("aria-"+D.selectedAriaType,
863Y)}}else if(a(T).parent().removeClass("tab__item--active"),!D.selectedAriaDisabled)a:switch(D.selectedAriaType){case D.selectedAriaTypeText.selected:a(T).attr("aria-"+D.selectedAriaType,"false");break a;case D.selectedAriaTypeText.current:a(T).removeAttr("aria-"+D.selectedAriaType)}}),0>z||(B?this.setPosition(z,!1):this.setPosition(z),B||g(this.els.el,"tabSelect",this.index)))};t.prototype.selectTab=function(x){this.selectDisabled||(this.select(x),this.setPosition(x))};t.prototype.setPosition=function(x,
864B){var D=this;B=void 0===B?!0:B;var z=Math.max(0,parseInt(x)),T=this.els.tabListEl.getBoundingClientRect(),Y=this.els.tabItemTitleEls[z];if(Y){x=Y.getBoundingClientRect();var la=this.els.tabListEl.getBoundingClientRect(),aa=B?this.duration:0;B=this.isUseArrow?this.els.el.querySelector(".tab__left-arrow-wrap").getBoundingClientRect().width||this.els.el.querySelector(".tab__right-arrow-wrap").getBoundingClientRect().width:0;var wa=2>this.els.tabItemTitleEls.length?0:(this.isRtl?this.els.tabItemTitleEls[0].getBoundingClientRect().left-
865this.els.tabItemTitleEls[1].getBoundingClientRect().right:this.els.tabItemTitleEls[1].getBoundingClientRect().left-this.els.tabItemTitleEls[0].getBoundingClientRect().right)/2,va=B+wa,ha=function(bb){bb=bb.getBoundingClientRect();return bb.right+va>T.right?(D.scrollTo(bb.right-T.right+va,aa),!0):bb.left-va<T.left?(D.scrollTo(-(T.left-bb.left+va),aa),!0):!1};B=function(){var bb=D.isRtl?-1:1,Jb=D.els.tabItemTitleEls[z+bb],ua=Jb&&Jb.getBoundingClientRect(),Qa=(bb=D.els.tabItemTitleEls[z-bb])&&bb.getBoundingClientRect();
866ua&&ua.right+va>T.right?ha(Jb):Qa&&Qa.left-va<T.left?ha(bb):ha(Y)};if("mobile"===m())switch(this.setPositionOption){case "center":this.scrollTo(x.left-la.width/2+x.width/2,aa);break;case "start":this.isRtl?this.scrollTo(x.left-(la.width-x.width)+va):this.scrollTo(x.left-va);break;default:ha(Y)}else"true"===this.intoScrollExtend?B():ha(Y)}};t.prototype.animate=function(x,B,D){var z=this,T=Date.now();this.isAnim=!0;this.isContentsDragging=!1;var Y=function(){var la=(Date.now()-T)/B;1<la?(x(1),z.isAnim=
867!1):(requestAnimationFrame(Y),x(D(la)))};requestAnimationFrame(Y)};t.prototype.scrollTo=function(x,B){var D=this;B=void 0===B?this.duration:B;var z=e(this.els.tabListEl),T=this.els.tabListEl.scrollWidth-this.els.el.getBoundingClientRect().width;z+x>T&&(x=T-z);0>z+x&&(x=-z);T=function(Y){b(D.els.tabListEl,z+x*Y)};0<B?this.isAnim||this.animate(T,B,this.easing):T(1)};t.prototype.handleScroll=function(){this.isUseArrow&&this.setArrow();this.scrollEndTime&&clearTimeout(this.scrollEndTime);this.scrollEndTime=
868setTimeout(function(){q.setLazyLoad()},100)};t.prototype.getCurrentPixelSize=function(x){var B=k(),D=parseFloat(x),z="desktop-over"!==B;B=-1<B.indexOf("mobile")?360:1440;if(!isNaN(D))return z?parseFloat((x/B*window.innerWidth).toFixed(3)):x};t.prototype.setArrow=function(){if("desktop"===m()&&this.isUseArrow||this.isUseArrowMo&&this.isUseArrow){var x=this.els.tabListEl.scrollWidth-this.els.el.getBoundingClientRect().width,B=this.els.tabLeftArrowEl.parentElement,D=this.els.tabRightArrowEl.parentElement,
869z=e(this.els.tabListEl);4>z?(document.activeElement===this.els.tabLeftArrowEl&&this.els.tabRightArrowEl.focus(),B.classList.add("disabled"),this.els.tabLeftArrowEl.setAttribute("disabled",!0),this.els.tabLeftArrowEl.setAttribute("aria-disabled",!0),this.els.tabLeftArrowEl.setAttribute("tabindex",-1)):B.classList.contains("disabled")&&(B.classList.remove("disabled"),this.els.tabLeftArrowEl.removeAttribute("disabled"),this.els.tabLeftArrowEl.removeAttribute("aria-disabled"),this.els.tabLeftArrowEl.removeAttribute("tabindex"));
870z>x-4?(document.activeElement===this.els.tabRightArrowEl&&this.els.tabLeftArrowEl.focus(),D.classList.add("disabled"),this.els.tabRightArrowEl.setAttribute("disabled",!0),this.els.tabRightArrowEl.setAttribute("aria-disabled",!0),this.els.tabRightArrowEl.setAttribute("tabindex",-1)):D.classList.contains("disabled")&&(D.classList.remove("disabled"),this.els.tabRightArrowEl.removeAttribute("disabled"),this.els.tabRightArrowEl.removeAttribute("aria-disabled"),this.els.tabRightArrowEl.removeAttribute("tabindex"))}};
871t.prototype.handleTabLeftArrowClick=function(){if("desktop"===m()&&this.isUseArrow||this.isUseArrowMo&&this.isUseArrow){for(var x=this.els.el.getBoundingClientRect().left+this.getCurrentPixelSize(56),B=-1,D=this.els.tabItemTitleEls.length,z=0;z<D;z++){var T=this.els.tabItemTitleEls[z].parentElement.getBoundingClientRect().left;if(!this.isRtl){if(T+4>x||z===D-1){B=z-1;break}}else if(T+4<x){B=z;break}}this.scrollTo(this.els.tabItemTitleEls[B].parentElement.getBoundingClientRect().left-x)}};t.prototype.handleTabRightArrowClick=
872function(){if("desktop"===m()&&this.isUseArrow||this.isUseArrowMo&&this.isUseArrow){for(var x=this.els.el.getBoundingClientRect().right-this.getCurrentPixelSize(56),B=-1,D=this.els.tabItemTitleEls.length,z=0;z<D;z++){var T=this.els.tabItemTitleEls[z].parentElement.getBoundingClientRect().right;if(!this.isRtl){if(T-4>x){B=z;break}}else if(T-4<x||z===D-1){B=z-1;break}}this.scrollTo(this.els.tabItemTitleEls[B].parentElement.getBoundingClientRect().right-x)}};t.prototype.handleKeydown=function(x){var B=
873this,D=x.currentTarget;if(D.matches(this.selector.focusable)){var z=[].concat($jscomp.arrayFromIterable(this.els.tabItemTitleEls)).filter(function(Y){return Y.matches(B.selector.focusable)});D=z.indexOf(D);var T=this.isRtl?l.RIGHT:l.LEFT;x.keyCode===(this.isRtl?l.LEFT:l.RIGHT)||x.keyCode===l.DOWN?z[D+1]&&z[D+1].focus():(x.keyCode===T||x.keyCode===l.UP)&&z[D-1]&&z[D-1].focus()}};t.prototype.bindEvents=function(){var x=this;[].concat($jscomp.arrayFromIterable(this.els.tabItemTitleEls)).forEac
873h(function(B,
874D){h(B,"click",function(){x.selectDisabled||x.select(D)});h(B,"keydown",function(z){x.handleKeydown(z)})});this.handleContentsDragStart=this.handleContentsDragStart.bind(this);this.handleContentsDrag=this.handleContentsDrag.bind(this);this.handleContentsDragEnd=this.handleContentsDragEnd.bind(this);this.els.el.addEventListener("mousedown",this.handleContentsDragStart);this.handleScroll=this.handleScroll.bind(this);this.handleTabLeftArrowClick=this.handleTabLeftArrowClick.bind(this);this.handleTabRightArrowClick=
875this.handleTabRightArrowClick.bind(this);this.els.tabListEl.addEventListener("scroll",this.handleScroll);this.isUseArrow&&(this.els.tabLeftArrowEl.addEventListener("click",this.handleTabLeftArrowClick),this.els.tabRightArrowEl.addEventListener("click",this.handleTabRightArrowClick));this.resize=this.resize.bind(this);window.addEventListener("resize",this.resize)};t.prototype.unBindEvents=function(){[].concat($jscomp.arrayFromIterable(this.els.tabItemTitleEls)).forEach(function(x){n(x,"click")});this.els.el.removeEventListener("mousedown",
876this.handleContentsDragStart);this.els.tabListEl.removeEventListener("scroll",this.handleScroll);this.isUseArrow&&(this.els.tabLeftArrowEl.removeEventListener("click",this.handleTabLeftArrowClick),this.els.tabRightArrowEl.removeEventListener("click",this.handleTabRightArrowClick));window.removeEventListener("resize",this.resize)};t.prototype.resize=function(){var x=m();this.device!==x&&(this.device=x,this.setPosition(this.index));this.setArrow()};t.prototype.handleContentsDragStart=function(x){if("mobile"===
877m()||"desktop"===m()&&this.isUseArrow)this.dragStartTitle=x.target.closest(".tab__item-title"),this.startX=x.clientX+e(this.els.tabListEl),this.isContentsDragging=!0,this.diffX=0,document.addEventListener("mousemove",this.handleContentsDrag),document.addEventListener("mouseup",this.handleContentsDragEnd)};t.prototype.handleContentsDrag=function(x){if(!this.isAnim&&this.isContentsDragging){this.diffX=this.startX-(x.clientX+e(this.els.tabListEl));0!==this.diffX&&this.dragStartTitle&&"A"===this.dragStartTitle.tagName&&
878(this.dragStartTitle.style.pointerEvents="none");x=e(this.els.tabListEl)+this.diffX;var B=this.els.tabListEl.scrollWidth-this.els.el.getBoundingClientRect().width;0>x?x=0:x>B&&(x=B);b(this.els.tabListEl,x)}};t.prototype.handleContentsDragEnd=function(){this.isContentsDragging=!1;this.dragStartTitle&&(this.dragStartTitle.style.pointerEvents="auto");this.dragStartTitle=null;document.removeEventListener("mousemove",this.handleContentsDrag);document.removeEventListener("mouseup",this.handleContentsDragEnd)};
879t.prototype.setSelectDisabled=function(x){this.selectDisabled=x};t.instances=new WeakMap;window.sg.components.registerClass("tab",t);var w={initAll:function(){for(var x=[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.tab:not([data-auto-init\x3d"false"])'))),B=[].concat($jscomp.arrayFromIterable(document.querySelectorAll('.static-content .tab:not([data-auto-init\x3d"false"])'))),D=0;D<x.length;D++){for(var z=x[D],T=!1,Y=0;Y<B.length;Y++)if(z===B[Y]){T=!0;break}T||t.instances.has(z)||
880new t(z)}},init:function(x,B){t.instances.has(x)?(x=t.instances.get(x),x.reInit(B)):x=new t(x,B);return x},reInit:function(x,B){t.instances.has(x)?t.instances.get(x).reInit(B):new t(x,B)},selectTab:function(x,B){t.instances.has(x)&&t.instances.get(x).selectTab(B)},setSelectDisabled:function(x,B){t.instances.has(x)&&t.instances.get(x).setSelectDisabled(B)},destroy:function(x){t.instances.has(x)&&t.instances.get(x).destroy()}};window.sg.common.tab=w;a.ready(w.initAll)})();
881(function(){function a(){m(g.section).target.forEach(function(n){h.instances.has(n)?h.instances.get(n).reInit():new h(n)})}var m=window.sg.common.$q,k=window.sg.common.utils,f=window.sg.common.constants.KEY_CODE,g={section:'[data-js-action\x3d"tooltipUx"]:not([data-auto-init\x3d"false"])'},h=function(n){this.selector={tooltip:'[data-js-action\x3d"tooltipUx"]',layer:'[data-js-action\x3d"tooltipUxLayer"]',button:'[data-js-action\x3d"tooltipUxButton"]',close:'[data-js-action\x3d"tooltipUxClose"]',dataShow:"data-tooltip-ux-show",
882dataOptionHover:"data-tooltip-ux-hover"};this.el={section:m(n),document:m(document)};this.handler={handleTooltipOpen:this.handleTooltipOpen.bind(this),handleTooltipClose:this.handleTooltipClose.bind(this)};this.isHover="true"===this.el.section.attr(this.selector.dataOptionHover);this.focusTargetEl=null;this.init();h.instances.set(n,this)};h.prototype.init=function(){this.setElements();this.bindEvents()};h.prototype.reInit=function(){this.init()};h.prototype.setElements=function(){this.el.button=this.el.section.find(this.selector.button);
883this.el.layer=this.el.section.find(this.selector.layer);this.el.close=this.el.section.find(this.selector.close)};h.prototype.bindEvents=function(){this.el.button.off("click",this.handler.handleTooltipOpen).on("click",this.handler.handleTooltipOpen);this.isHover&&(this.el.button.off("mouseenter",this.handler.handleTooltipOpen).on("mouseenter",this.handler.handleTooltipOpen),this.el.button.off("focus",this.handler.handleTooltipOpen).on("focus",this.handler.handleTooltipOpen),this.el.section.off("mouseleave",
884this.handler.handleTooltipClose).on("mouseleave",this.handler.handleTooltipClose),this.el.section.off("focusout",this.handler.handleTooltipClose).on("focusout",this.handler.handleTooltipClose))};h.prototype.handleTooltipOpen=function(n){var e=this,b=m(n.currentTarget).closest(this.selector.tooltip),d=n.relatedTarget||document.activeElement;!this.isHover&&"click"===n.type&&this.isShow()?this.handleTooltipClose(n):"focus"===n.type&&b.target[0].contains(d)||(window.sg.components.Tooltip.closeAll(),this.focusTargetEl=
885n&&n.currentTarget,this.el.section.attr(this.selector.dataShow,!0),this.el.button.attr("aria-expanded",!0),this.el.close.off("click",this.handler.handleTooltipClose).on("click",this.handler.handleTooltipClose),k.triggerEvent(window,"commonTooltipOpen",{container:b.target[0],button:n.currentTarget,layer:b.find(this.selector.layer).target[0]}),setTimeout(function(){e.el.document.off("click",e.handler.handleTooltipClose).on("click",e.handler.handleTooltipClose);e.el.document.off("keydown",e.handler.handleTooltipClose).on("keydown",
886e.handler.handleTooltipClose)},10))};h.prototype.handleTooltipClose=function(n){var e=n.type,b=m(n.target),d=n.relatedTarget||document.activeElement;if("keydown"!==e||n.keyCode===f.ESC)if("focusout"!==e||!this.el.section.target[0].contains(d))if("click"!==e||b.closest(this.selector.close).target.length||!b.closest(this.selector.tooltip).target.length||this.isShow())this.close(),this.focusTargetEl&&this.focusTargetEl!==b.target[0]&&"mouseleave"!==e&&this.focusTargetEl.focus(),this.focusTargetEl=null};
887h.prototype.close=function(){this.el.close.off("click",this.handler.handleTooltipClose);this.el.document.off("click",this.handler.handleTooltipClose);this.el.document.off("keydown",this.handler.handleTooltipClose);this.el.section.attr(this.selector.dataShow,!1);this.el.button.attr("aria-expanded",!1)};h.prototype.isShow=function(){return"true"===this.el.section.attr(this.selector.dataShow)};h.instances=new WeakMap;window.sg.components.Tooltip={init:a,reInit:function(){m(g.section).target.forEach(function(n){h.instances.has(n)?
888h.instances.get(n).reInit():new h(n)})},closeAll:function(){m(g.section).target.forEach(function(n){h.instances.has(n)&&h.instances.get(n).close()})}};m.ready(a)})();
889(function(){function a(l){var q=l.getAttribute("aria-label");null!==q&&l.setAttribute("data-old-labeltxt",q);l.removeAttribute("aria-label")}function m(l){var q=l.getAttribute("data-old-labeltxt");null!==q&&l.setAttribute("aria-label",q);l.removeAttribute("data-old-labeltxt")}function k(l){l=void 0===l?null:l;n(b.start||".wishlist-popup").hide();e.window.off("keydown",d.focusLockPop);g.visibleScroll();l instanceof Element?l.focus():b.closefocus.focus();b.start=null;b.close=null;b.closefocus=null}
890function f(){e.window.off("keydown",d.hideBoxHover).on("keydown",d.hideBoxHover);e.component.off("click",d.clickBtn).on("click",d.clickBtn);e.component.target.forEach(function(l){var q=n(l);
890q.on("keydown",d.hideBoxEvent);q.on("click",d.showBoxEvent);q.on("blur",d.showBoxEvent);q.on("mouseleave",d.showBoxEvent);l.classList.contains("pd-wishlist-cta--on")?!0===l.hasAttribute("data-product-name")?l.setAttribute("aria-label",l.getAttribute("data-added-text")+" : "+l.getAttribute("data-product-name")):
891l.setAttribute("aria-label",l.getAttribute("data-added-text")):!0===l.hasAttribute("data-product-name")?l.setAttribute("aria-label",l.getAttribute("data-add-text")+" : "+l.getAttribute("data-product-name")):l.setAttribute("aria-label",l.getAttribute("data-add-text"))})}var g=window.sg.common.utils,h=window.sg.common.constants,n=window.sg.common.$q,e={component:null,window:n(window)},b={start:null,close:null,closefocus:null},d={clickBtn:function(l){l=n(l.currentTarget);var q=n(l.attr("data-div-id")||
892"");if(!(0>=q.target.length)){var t=q.find(".wishlist-popup__close");b.start=q.target[0];b.close=t.target[0];b.closefocus=l;q.show();e.window.off("keydown",d.focusLockPop).on("keydown",d.focusLockPop);g.hiddenScroll();q.focus();t.off("click",k).on("click",k)}},hideBoxEvent:function(l){l.keyCode===window.sg.common.constants.KEY_CODE.ESC?a(l.currentTarget||l.target):l.keyCode===window.sg.common.constants.KEY_CODE.ENTER&&m(l.currentTarget||l.target)},hideBoxHover:function(l){l.keyCode===window.sg.common.constants.KEY_CODE.ESC&&
893(l=document.querySelector(".pd-wishlist-cta:hover"),null!==l&&a(l))},showBoxEvent:function(l){m(l.currentTarget||l.target)},focusLockPop:function(l){l.keyCode===h.KEY_CODE.TAB&&(b.close===document.activeElement&&!1===l.shiftKey?(l.preventDefault(),b.start.focus()):b.start===document.activeElement&&!0===l.shiftKey&&(l.preventDefault(),b.close.focus()))}};window.sg.components.wishlistIcon={reInit:function(){e.component=n(".pd-wishlist-cta");f()},closeWishlistPop:k};n.ready(function(){e.component=n(".pd-wishlist-cta");
894f()})})();var SITE_CD="";SITE_CD=""!==$("#siteCode").val()&&void 0!==$("#siteCode").val()?$("#siteCode").val():"sec";var USE_ESTORE=!0,DOMAIN="";DOMAIN=""!==$("#domain").val()&&void 0!==$("#domain").val()?$("#domain").val():"www.samsung.com";var STORE_DOMAIN="";"N"===$("#useStore").val()&&(USE_ESTORE=!1);
895""!==$("#storeDomain").val()?STORE_DOMAIN=$("#storeDomain").val():(STORE_DOMAIN=location.protocol+"shop.samsung.com","us"===SITE_CD&&(STORE_DOMAIN=-1!=window.location.host.indexOf("www")?"https://p1-smu-api-cdn.shop.samsung.com":"https://s2-smu-api-cdn.ecom-stg.samsung.com"));var STORE_SITE_CODE=$("#store_sitecode").val(),IS_B2B="Y"===$("#b2bFlag").val()?!0:!1,IS_EPP=checkEppSite(),EPP_COMPANYCODE="";null!=window.sg&&null!=window.sg.epp&&null!=window.sg.epp.common&&(EPP_COMPANYCODE=window.sg.epp.common.companyCode);
896var SEC_LOCAL_URL_CHECKMEMBERSTATE="http://local.sec.samsung.com/comLocal/checkMemberStateAjax.do",SEC_LOCAL_URL_SIGNIN="http://local.sec.samsung.com/comLocal/loginCheck.do",login_user_info={};$("#signInForm input[name\x3ddomain]").val(DOMAIN);$("#joinForm input[name\x3ddomain]").val(DOMAIN);$("#findAccountForm input[name\x3ddomain]").val(DOMAIN);
897(function(a,m){a(function(){a(".layer_popup .close, .layer_popup .icon-close-x, .layer_popup .alert-ok-button").click(function(){"close"===a(this).data("popup")&&a(".accesseFocusTarget").trigger("focus");a(".layer_popup").hide();a(".lightbox-skrim").hide();return!1})})})(jQuery,window);
898$.cookies.data={SEARCH_NAME:"sk",ACCESSORY_SEARCH_NAME:"ask",NAVIGATION_NAME:"nh",PRIVATECODE_NAME:"pv",COMPARELIST_NAME:"cl",WISHLIST_NAME:"wl",INSTORE_PRIVATECODE_NAME:"ipv",STORE_REGION_NUM:"cnregionnum",STORE_REGION_CODE:"cnregion",STORE_REGION_NAME:"cnregionname",STORE_CITY_NUM:"cncitynamenum",STORE_CITY_CODE:"cncity",STORE_CITY_NAME:"cncityname",SEARCH_MAX_SIZE:4,PRIVATECODE_MAX_SIZE:5,WISHLIST_MAX_SIZE:6,STORE_REGION_MAX_SIZE:1,STORE_CITY_MAX_SIZE:1};var CONTENT="/content/samsung";
899$.cookies.getDefaultOption=function(a,m){a&&a instanceof Date||(a=new Date,a.setTime(a.getTime()+864E5));m?-1<window.location.pathname.indexOf(CONTENT)&&(m=CONTENT+m):m="/";var k=".samsung.com";"cn"===SITE_CD&&(k=".samsung.com.cn");return{expiresAt:a,path:m,domain:k,secure:!1}};$.cookies.setWishList=function(a,m){var k=this.data.WISHLIST_NAME,f=this.get(k);if(f){if(0<=$.inArray(a,f))return;f.length>=this.data.WISHLIST_MAX_SIZE&&f.splice(0,1);f.push(a)}else f=[a];this.set(k,f,this.getDefaultOption(m))};
900$.cookies.getWishListCnt=function(){var a=this.get(this.data.WISHLIST_NAME);return a&&$.isArray(a)?a.length:0};$.cookies.getWishList=function(){var a=this.get(this.data.WISHLIST_NAME);return a&&$.isArray(a)?a:[]};$.cookies.isAddedWishList=function(a){var m=this.get(this.data.WISHLIST_NAME);if(m&&$.isArray(m))for(var k=0,f=m.length;k<f;k++)if(m[k]===a)return!0;return!1};
901$.cookies.deleteWishProduct=function(a,m){var k=this.data.WISHLIST_NAME,f=this.get(k);return f&&$.isArray(f)&&(a=$.inArray(a,f),0<=a)?(f.splice(a,1),0>=f.length?this.del(k,this.getDefaultOption(m)):this.set(k,f,this.getDefaultOption(m)),!0):!1};$.cookies.deleteWishList=function(a){this.del(this.data.WISHLIST_NAME,this.getDefaultOption(a))};
902try{if(!$.cookies.get("cookie_country")||""===$.cookies.get("cookie_country"))$.cookies.set("cookie_country",SITE_CD,$.cookies.getDefaultOption());else if(SITE_CD!==$.cookies.get("cookie_country")){var deleteOption=$.cookies.getDefaultOption();$.cookies.del($.cookies.data.NAVIGATION_NAME,deleteOption);$.cookies.del($.cookies.data.PRIVATECODE_NAME,deleteOption);$.cookies.del($.cookies.data.COMPARELIST_NAME,deleteOption);$.cookies.del($.cookies.data.WISHLIST_NAME,deleteOption);$.cookies.del($.cookies.data.INSTORE_PRIVATECODE_NAME,
903deleteOption);$.cookies.set("cookie_country",SITE_CD,$.cookies.getDefaultOption())}}catch(a){}var ss=$;
904(function(a){ss.EstoreIfQueue={setQueue:function(m){var k=a.cookies.get("iPlanetDirectoryPro",{domain:".samsung.com"}),f=a.cookies.get("snsSessionId",{domain:".samsung.com"});k||f?USE_ESTORE?this.getIsSignReady()?this.callFunction(m,arguments):this.queue.push(arguments):this.callFunction(m,arguments):this.callFunction(m,arguments)},callFunction:function(m,k){if(m&&"function"==typeof m){for(var f=[],g=1;g<k.length;g++)f.push(k[g]);m.apply(null,f)}},setIsSignReady:function(m){this.isSignReady=m;if(!0===
905m||"true"===m)for(m=0;m<this.queue.length;m++)this.queue[m].length&&this.callFunction(this.queue[m][0],this.queue[m])},getIsSignReady:function(){return this.isSignReady}
905,setProperties:function(){this.isSignReady=!1;this.queue=[]},init:function(){this.setProperties()}};ss.EstoreIfQueue.init()})(jQuery);
906var estore=function(){var a=function(g){var h="?",n=0,e;for(e in g){0!=n&&(h+="\x26");var b=g[e];$.isArray(b)?$.each(b,function(d,l){h+=e+"\x3d"+l;d<b.length-1&&(h+="\x26")}):h+=e+"\x3d"+b;n++}return h},m=function(g){var h=$("#popup_alert");h.find(".msg-text").html(g);"sec"===SITE_CD&&h.find(".pop-btn").find(".button").text("\ud655\uc778");$(".layer_popup").hide();h.parent().show();"sec"===SITE_CD?$(".lightbox-skrim").show():$(".lightbox-skrim").hide();g=parseInt(($("body").width()-h.width())/2);
907var n=parseInt($(window).scrollTop()+($(window).height()-h.height())/2);$(window).height()<h.height()&&(n=$(window).scrollTop()+10);h.css({top:n+"px",left:g+"px"});$("#popup_alert .popup_wrap .pop-btn").find("a").focus()},k=function(g,h,n){var e=!1;-1<location.href.indexOf("/consumer")&&(e=!0);var b=$("#hybrisApiJson").val(),d="Hybris-new"===$("#shopIntegrationFlag").val()?!0:!1,l="Hybris-intg"===$("#shopIntegrationFlag").val()?!0:!1,q="Hybris"===$("#shopIntegrationFlag").val()?!0:!1,t=$("#newHyvStoreDomain").val(),
908w="";if("ae"==SITE_CD||"ae_ar"==SITE_CD){var x=$.cookies.get("estoreSitecode")?$.cookies.get("estoreSitecode").toString():"";w=fnIsNull(x)?SITE_CD:x}else"levant"==SITE_CD?w="jo":"levant_ar"==SITE_CD?w="jo_ar":"n_africa"==SITE_CD&&(w="ma");IS_EPP&&""!=w&&(w=EPP_COMPANYCODE);var B=IS_EPP?EPP_COMPANYCODE:STORE_SITE_CODE;x=IS_EPP?EPP_COMPANYCODE:SITE_CD;var D="";"addCart"===g&&("ar"===SITE_CD||"br"===SITE_CD?(D=STORE_DOMAIN+"/"+SITE_CD+"/getServicesProduct"+(h?a(h):""),window.location.href=D):"py"===
909SITE_CD&&(D=STORE_DOMAIN+"/getServicesProduct"+(h?a(h):""),window.location.href=D));(d||l||q||IS_B2B)&&"getCartCount"===g?D=IS_B2B?STORE_DOMAIN+"/tokocommercewebservices/v2/"+B+"/minicart/totalProducts":d?""!=w?STORE_DOMAIN+"/tokocommercewebservices/v2/"+w+"/minicart/totalProducts":STORE_DOMAIN+"/tokocommercewebservices/v2/"+B+"/minicart/totalProducts":""!=w?t+"/tokocommercewebservices/v2/"+w+"/minicart/totalProducts":t+"/tokocommercewebservices/v2/"+B+"/minicart/totalProducts":"ar"!==SITE_CD&&"br"!==
910SITE_CD||"getCartCount"!==g?"py"===SITE_CD?D="getCartCount"===g&&"py"===SITE_CD?STORE_DOMAIN+"/_v/private/ng/p4v1/"+g+(h?a(h):""):STORE_DOMAIN+"/ng/p4v1/"+g+(h?a(h):""):""!=w?D=STORE_DOMAIN+"/"+w+"/ng/p4v1/"+g+(h?a(h):""):d&&"uk"!=SITE_CD&&"cn"!=SITE_CD||IS_B2B?(t=$("#storeWebDomain").val(),D=t+"/"+x+"/ng/p4v1/"+g+(h?a(h):""),IS_B2B&&(D=t+"/ng/p4v1/"+g+(h?a(h):""))):D=STORE_DOMAIN+"/"+B+"/ng/p4v1/"+g+(h?a(h):""):D=STORE_DOMAIN+"/"+SITE_CD+"/_v/private/ng/p4v1/"+g+(h?a(h):"");(d||l||q||IS_B2B)&&"getCartCount"===
911g?""!=D&&$.ajax({url:D,type:"GET",dataType:"json",crossDomain:!0,xhrFields:{withCredentials:!0},success:function(z){$.isFunction(n)&&("undefined"!==typeof shopAppUtilInstance&&shopAppUtilInstance.isPlatformReady()&&shopAppUtilInstance.updateCartCount(z),n(z))}}):"getRealTimeProductSimpleInfo"===g&&e&&"br"!==SITE_CD&&"Y"!==b?$.ajax({url:D,type:"GET",dataType:"jsonp",jsonpCallback:"jQuery1910499421933433041_1385598221584",jsonp:"callback",success:function(z){"2100"===z.resultCode||2100===z.resultCode?
912h&&h.hasOwnProperty("returnUrl")&&""!==h.returnUrl?$.Auth.signOut(h.returnUrl):$.Auth.signOut():"cn"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"sec"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||
9139E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||"2002"===z.resultCode||2002===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"cn"!==SITE_CD&&"sec"!==SITE_CD&&"0000"!==z.resultCode&&"9000"!==z.resultCode&&"9001"!==z.resultCode&&"9002"!==z.resultCode&&9E3!==z.resultCode&&9001!==z.resultCode&&9002!==z.resultCode&&"2110"!==z.resultCode&&2110!==z.resultCode&&m(z.resultMessage):m(z.resultMessage):
914m(z.resultMessage);$.isFunction(n)&&n(z)},error:function(z,T,Y){}}):"getRealTimeProductSimpleInfo"===g&&"sec"===SITE_CD?$.ajax({url:D,type:"GET",dataType:"jsonp",jsonpCallback:"jQuery1910499421933433041_1385598221584",jsonp:"callback",timeout:1E4,success:function(z){"2100"===z.resultCode||2100===z.resultCode?h&&h.hasOwnProperty("returnUrl")&&""!==h.returnUrl?$.Auth.signOut(h.returnUrl):$.Auth.signOut():"cn"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||
9159E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"sec"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||"2002"===z.resultCode||2002===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&
916"3"!==z.resultCode.charAt(0)?"cn"!==SITE_CD&&"sec"!==SITE_CD&&"0000"!==z.resultCode&&"9000"!==z.resultCode&&"9001"!==z.resultCode&&"9002"!==z.resultCode&&9E3!==z.resultCode&&9001!==z.resultCode&&9002!==z.resultCode&&"2110"!==z.resultCode&&2110!==z.resultCode&&m(z.resultMessage):(-1!==z.resultMessage.indexOf("\uad6c\ub9e4 \ud55c\ub3c4\ub97c \ucd08\uacfc\ud558\uc5ec \uad6c\ub9e4\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.\x3cbr /\x3e")&&(z.resultMessage="\uad6c\ub9e4 \ud55c\ub3c4"+z.resultMessage.split("\uad6c\ub9e4 \ud55c\ub3c4")[1].replace("\x3cbr /\x3e",
917"\n")),m(z.resultMessage)):m(z.resultMessage);$.isFunction(n)&&n(z)},error:function(z,T,Y){"au"!==SITE_CD&&"nz"!==SITE_CD&&"sec"!==SITE_CD||window.location.pathname!=="/"+SITE_CD+"/wishlist"||n();"sec"===SITE_CD&&"timeout"===Y&&$("#product-detail-current-modelcode").val()&&($("#BT_shop .BT_txt").html("\ud574\ub2f9 \uc0c1\ud488\uc744 \ud310\ub9e4 \uc900\ube44\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uad6c\ub9e4 \uac00\ub2a5 \uc5ec\ubd80\ub294\x3cbr /\x3e\uac00\uae4c\uc6b4 \ub9e4\uc7a5\uc774\ub098 \uc0bc\uc131\uc804\uc790 \uacf5\uc2dd \ud310\ub9e4\ucc98\uc5d0 \ubb38\uc758\ud558\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4."),
918$("#BT_shop").show(),$("#BT_shop .product-details__link.s-cta-retailer.js-cta-buy-sec").hide(),$("#BT_shop .BT_help").hide(),$("#BT_shop .BT_help-content").hide(),$("#BT_shop .BT_txt").show(),$("#find-store-shopmain").show(),$("#store-reservation").hide())}}):"getRealTimeProductSimpleInfo"===g&&e&&"Y"===b?$.ajax({url:D,type:"GET",dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,success:function(z){"2100"===z.resultCode||2100===z.resultCode?
919h&&h.hasOwnProperty("returnUrl")&&""!==h.returnUrl?$.Auth.signOut(h.returnUrl):$.Auth.signOut():"cn"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"sec"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||
9209E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||"2002"===z.resultCode||2002===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"cn"!==SITE_CD&&"sec"!==SITE_CD&&"0000"!==z.resultCode&&"9000"!==z.resultCode&&"9001"!==z.resultCode&&"9002"!==z.resultCode&&9E3!==z.resultCode&&9001!==z.resultCode&&9002!==z.resultCode&&"2110"!==z.resultCode&&2110!==z.resultCode&&m(z.resultMessage):m(z.resultMessage):
921m(z.resultMessage);$.isFunction(n)&&n(z)},error:function(z,T,Y){}}):"getRealTimeProductSimpleInfo"===g||e||"Y"!==b?$.ajax({url:D,type:"GET",dataType:"jsonp",jsonp:"callback",success:function(z){"2100"===z.resultCode?h&&h.hasOwnProperty("returnUrl")&&""!==h.returnUrl?$.Auth.signOut(h.returnUrl):$.Auth.signOut():"cn"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||
9222110===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"sec"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||"2002"===z.resultCode||2002===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"cn"!==SITE_CD&&"sec"!==SITE_CD&&"0000"!==z.resultCode&&
923"9000"!==z.resultCode&&"9001"!==z.resultCode&&"9002"!==z.resultCode&&9E3!==z.resultCode&&9001!==z.resultCode&&9002!==z.resultCode&&"2110"!==z.resultCode&&2110!==z.resultCode&&m(z.resultMessage):(-1!==z.resultMessage.indexOf("\uad6c\ub9e4 \ud55c\ub3c4\ub97c \ucd08\uacfc\ud558\uc5ec \uad6c\ub9e4\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.\x3cbr /\x3e")&&(z.resultMessage="\uad6c\ub9e4 \ud55c\ub3c4"+z.resultMessage.split("\uad6c\ub9e4 \ud55c\ub3c4")[1].replace("\x3cbr /\x3e","\n")),m(z.resultMessage)):
924m(z.resultMessage);$.isFunction(n)&&n(z)},error:function(z,T,Y){"au"!==SITE_CD&&"nz"!==SITE_CD&&"sec"!==SITE_CD||window.location.pathname!=="/"+SITE_CD+"/wishlist"||n()}}):$.ajax({url:D,type:"GET",dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,success:function(z){"2100"===z.resultCode||2100===z.resultCode?h&&h.hasOwnProperty("returnUrl")&&""!==h.returnUrl?$.Auth.signOut(h.returnUrl):$.Auth.signOut():"cn"!==SITE_CD||"0000"===z.resultCode||
925"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"sec"!==SITE_CD||"0000"===z.resultCode||"9000"===z.resultCode||"9001"===z.resultCode||"9002"===z.resultCode||9E3===z.resultCode||9001===z.resultCode||9002===z.resultCode||"2110"===z.resultCode||2110===z.resultCode||"2002"===z.resultCode||2002===
926z.resultCode||4!==z.resultCode.length||"2"!==z.resultCode.charAt(0)&&"3"!==z.resultCode.charAt(0)?"cn"!==SITE_CD&&"sec"!==SITE_CD&&"0000"!==z.resultCode&&"9000"!==z.resultCode&&"9001"!==z.resultCode&&"9002"!==z.resultCode&&9E3!==z.resultCode&&9001!==z.resultCode&&9002!==z.resultCode&&"2110"!==z.resultCode&&2110!==z.resultCode&&m(z.resultMessage):(-1!==z.resultMessage.indexOf("\uad6c\ub9e4 \ud55c\ub3c4\ub97c \ucd08\uacfc\ud558\uc5ec \uad6c\ub9e4\uac00 \ubd88\uac00\ub2a5\ud569\ub2c8\ub2e4.\x3cbr /\x3e")&&
927(z.resultMessage="\uad6c\ub9e4 \ud55c\ub3c4"+z.resultMessage.split("\uad6c\ub9e4 \ud55c\ub3c4")[1].replace("\x3cbr /\x3e","\n")),m(z.resultMessage)):m(z.resultMessage);$.isFunction(n)&&n(z)},error:function(z,T,Y){"au"!==SITE_CD&&"nz"!==SITE_CD&&"sec"!==SITE_CD||window.location.pathname!=="/"+SITE_CD+"/wishlist"||n()}})},f=function(){};f.prototype.makeBuyNowCookie=function(g){$.EstoreIfQueue.setQueue(k,"makeBuyNowCookie",null,g)};f.prototype.addCart=function(g,h){$.EstoreIfQueue.setQueue(k,"addCart",
928g,h)};f.prototype.getCartCount=function(g){$.EstoreIfQueue.setQueue(k,"getCartCount",null,g)};f.prototype.getRealTimeProductSimpleInfo=function(g,h){$.EstoreIfQueue.setQueue(k,"getRealTimeProductSimpleInfo",g,h)};f.prototype.getRealTimeProductListInfo=function(g,h){$.EstoreIfQueue.setQueue(k,"getRealTimeProductListInfo",g,h)};f.prototype.addWishListItem=function(g,h){$.EstoreIfQueue.setQueue(k,"addWishListItem",g,h)};f.prototype.addWishListItemForce=function(g,h){k("addWishListItem",g,h)};f.prototype.delWishListItem=
929function(g,h){$.EstoreIfQueue.setQueue(k,"delWishListItem",g,h)};f.prototype.getWishList=function(g,h){var n={page:1,pageSize:5};g&&!$.isFunction(g)&&(n=$.extend(n,g));$.EstoreIfQueue.setQueue(k,"getWishList",n,h)};f.prototype.login=function(g){$.EstoreIfQueue.setQueue(k,"login",null,g)};f.prototype.logout=function(g,h){$.EstoreIfQueue.setQueue(k,"logout",g,h)};f.prototype.getRealTimeWishProductListInfo=function(g,h){$.EstoreIfQueue.setQueue(k,"getRealTimeWishProductListInfo",g,h)};f.prototype.getGuestOrderExistYn=
930function(g,h){$.EstoreIfQueue.setQueue(k,"getGuestOrderExistYn",g,h)};f.prototype.getSnsUserInfo=function(g,h){$.EstoreIfQueue.setQueue(k,"getSnsUserInfo",g,h)};f.prototype.setAgreeStorePolicy=function(g,h){$.EstoreIfQueue.setQueue(k,"setAgreeStorePolicy",g,h)};f.prototype.getSessionCheck=function(g,h){$.EstoreIfQueue.setQueue(k,"getSessionCheck",g,h)};f.prototype.getEstoreCategoryList=function(g){$.EstoreIfQueue.setQueue(k,"getEstoreCategoryList",null,g)};f.prototype.getCurrentUserInfo=function(g,
931h){$.EstoreIfQueue.setQueue(k,"getCurrentUserInfo",g,h)};f.prototype.buyNow=function(g,h){$.EstoreIfQueue.setQueue(k,"buyNow",g,h)};f.prototype.getReviews=function(g,h){$.EstoreIfQueue.setQueue(k,"getReviewList",g,h)};f.prototype.getMyReview=function(g,h){$.EstoreIfQueue.setQueue(k,"getMyReview",g,h)};f.prototype.addReview=function(g,h){$.EstoreIfQueue.setQueue(k,"addReview",g,h)};f.prototype.updateReview=function(g,h){$.EstoreIfQueue.setQueue(k,"updateReview",g,h)};f.prototype.deleteReview=function(g,
932h){$.EstoreIfQueue.setQueue(k,"deleteReview",g,h)};f.prototype.addReviewHelpful=function(g,h){$.EstoreIfQueue.setQueue(k,"setReviewHelpful",g,h)};f.prototype.addReviewHelpful=function(g,h){$.EstoreIfQueue.setQueue(k,"setReviewHelpful",g,h)};f.prototype.addReviewUnHelpful=function(g,h){$.EstoreIfQueue.setQueue(k,"setReviewUnHelpful",g,h)};f.prototype.addReviewAbuse=function(g,h){$.EstoreIfQueue.setQueue(k,"setReviewAbuse",g,h)};f.prototype.getExpertReviewList=function(g,h){$.EstoreIfQueue.setQueue(k,
933"getExpertReviewList",g,h)};f.prototype.getProductDetailRegion=function(g,h){$.EstoreIfQueue.setQueue(k,"getProductDetailRegion",g,h)};f.prototype.getProductDetailCity=function(g,h){$.EstoreIfQueue.setQueue(k,"getProductDetailCity",g,h)};f.prototype.showProductOpenphoneOption=function(g,h){$.EstoreIfQueue.setQueue(k,"showProductOpenphoneOption",g,h)};f.prototype.preCalc=function(g,h){$.EstoreIfQueue.setQueue(k,"pre
933Calc",g,h)};f.prototype.preCalcApply=function(g,h){$.EstoreIfQueue.setQueue(k,"preCalcApply",
934g,h)};f.prototype.stores=function(g,h){$.EstoreIfQueue.setQueue(k,"stores",g,h)};f.prototype.getReviewStatus=function(g,h){$.EstoreIfQueue.setQueue(k,"getReviewStatus",g,h)};f.prototype.addViewCount=function(g,h){$.EstoreIfQueue.setQueue(k,"addViewCount",g,h)};return new f}();
935(function(){function a(){m(n.section).target.forEach(function(b){e.instances.has(b)||new e(b)})}var m=window.sg.common.$q,k=window.sg.common.utils,f=window.sg.common.lazyLoad,g=window.sg.common.constants.KEY_CODE,h=window.sg.common.swiperManager,n={section:".nv00-gnb-v4"},e=function(b){this.selector={header:".nv00-gnb-v4__header",container:".nv00-gnb-v4__container",containerInner:".nv00-gnb-v4__container-inner",featuredWrap:".nv00-gnb-v4__featured-wrap",featuredSwiper:".nv00-gnb-v4__featured-list",
936featuredSwiperSlide:".nv00-gnb-v4__featured-item",featuredSwiperIndicator:".nv00-gnb-v4__featured-list .screen-indicator-wrap",l0MenuList:".nv00-gnb-v4__l0-menu-list",l0MenuListRight:".nv00-gnb-v4__l0-menu-list--right",l0Menu:".nv00-gnb-v4__l0-menu",l0MenuItem:'[data-js-action\x3d"l0MenuBtn"]',l0MenuTitle:".nv00-gnb-v4__l0-menu-title",l0MenuBtn:".nv00-gnb-v4__l0-menu-btn",l0MenuLink:".nv00-gnb-v4__l0-menu-link",l0MenuToggleBtn:".nv00-gnb-v4__l0-menu-toggle-btn",l1MenuContainer:".nv00-gnb-v4__l1-menu-container",
937l1MenuInner:".nv00-gnb-v4__l1-menu-inner",l1MenuList:".nv00-gnb-v4__l1-menu-list",l1MenuItem:".nv00-gnb-v4__l1-menu-btn, .nv00-gnb-v4__l1-menu-link",l1MenuAccordion:'.nv00-gnb-v4__l1-menu [data-js-action\x3d"accordionBtn"]',l2FeaturedWrap:".nv00-gnb-v4__l1-featured-wrap",l2FeaturedAccordionContainer:'.nv00-gnb-v4__l2-featured-container[data-js-action\x3d"accordionContainer"]',l2FeaturedLink:".nv00-gnb-v4__l2-featured-link",utilityList:".nv00-gnb-v4__utility-list",utilityUserWrap:".nv00-gnb-v4__utility-wrap",
938utilityUserBtn:".nv00-gnb-v4__utility-user",utilityUserList:".nv00-gnb-v4__utility-menu-list",utilityMenuWrap:".nv00-gnb-v4__utility-menu-wrap",mobileExpandMenuButton:".nv00-gnb-v4__utility-hamburger",mobileExpandCloseButton:".nv00-gnb-v4__close-btn",mobileContainerHeader:".nv00-gnb-v4__container-header",mobileContainerHeaderSearch:".nv00-gnb-v4__container-header .nv00-gnb-v4__search",mobileL0MenuBtn:'[data-js-action\x3d"l0MenuBtn"]',mobileBackwardBtn:".nv00-gnb-v4__backward-btn",mobileLeftMenuList:".nv00-gnb-v4__mo-left-menu-list",
939l0AccordionList:".nv00-gnb-v4__accordion-list",accordionBtn:'[data-js-action\x3d"accordionBtn"]',accordionWrap:'[data-js-action\x3d"accordionWrap"]',accordionContainer:'[data-js-action\x3d"accordionContainer"]',accordionInner:'[data-js-action\x3d"accordionInner"]',dimm:".nv00-gnb-v4__dim",layerPopup:".layer-popup",layerPopupWrap:".nv00-gnb-v4__layer-popup-wrap",layerPopupOpenButton:".js-layer-open",layerPopupCloseButton:".layer-popup__close",layerPopupLoopingStart:".nv00-gnb-v4__layer-popup-looping--start",
940layerPopupLoopingEnd:".nv00-gnb-v4__layer-popup-looping--end",heroKv:".hd08-hero-kv-home"};this.classes={textType:"nv00-gnb-v4--text-type",gnbShow:"nv00-gnb-v4--show",gnbOpended:"nv00-gnb-v4--opended",gnbl1MenuShow:"nv00-gnb-v4--l1-show",l0MenuShow:"nv00-gnb-v4__l0-menu--show",l0MenuBannerType:"nv00-gnb-v4__l0-menu--type-banner",l0MenuListShow:"nv00-gnb-v4__l0-menu-list--show",l1MenuShow:"nv00-gnb-v4__l1-menu--show",l1MenuGroupType:"nv00-gnb-v4__l1-menu-inner--group",featuredTextType:"nv00-gnb-v4__l1-featured-list--text",
941accordionActive:"nv00-gnb-v4__accordion--active",userMenuShow:"nv00-gnb-v4__utility-wrap--show",fixed:"nv00-gnb-v4--fixed",down:"nv00-gnb-v4--down",shyLight:"nv00-gnb-v4--shy-light",shyDark:"nv00-gnb-v4--shy-dark",mobileOnly:"nv00-gnb-v4--mobile-only",l2FeaturedLinkHide:"nv00-gnb-v4__l2-featured-link--hide",popupLooping:"layer-popup__looping"};this.el={section:m(b),window:m(window)};this.currentDevice=null;this.stickyMode=!1;this.shyTheme=null;this.scrollTop=window.scrollY;this.navRightMenuTop=this.navOffsetTop=
9420;this.isDimClick=this.isTextType=this.isTouchScreen=!1;this.resizeTimer=this.swiper=null;if("ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch||0<navigator.maxTouchPoints||0<window.navigator.msMaxTouchPoints)this.isTouchScreen=!0;this.menuOpenTimeout=this.menuEnterTimeout=null;this.isKeydown=this.isLeaveAfterTouch=this.isTouch=this.isActiveMenuOpen=this.isRightpcMenuOpen=!1;this.handler={resize:this.resize.bind(this),scroll:this.scroll.bind(this),mousewheel:this.mousewheel.bind(this),
943keydown:this.keydown.bind(this),handleSticky:this.handleSticky(this),handleMenuMouseEnter:this.handleMenuMouseEnter.bind(this),handleMenuMouseLeave:this.handleMenuMouseLeave.bind(this),hanledMenuListMouseLeave:this.hanledMenuListMouseLeave.bind(this),handleMenuToggleClick:this.handleMenuToggleClick.bind(this),handleMenuToggleKeydown:this.handleMenuToggleKeydown.bind(this),handleMenuLinkClick:this.handleMenuLinkClick.bind(this),handleMenuLinkKeydown:this.handleMenuLinkKeydown.bind(this),handleLeaveFirstFocus:this.handleLeaveFirstFocus.bind(this),
944handleMobileGnbOpen:this.handleMobileGnbOpen.bind(this),handleMobileGnbClose:this.handleMobileGnbClose.bind(this),handleMobileMenuOpen:this.handleMobileMenuOpen.bind(this),handleMobileMenuClose:this.handleMobileMenuClose.bind(this),handleUtilityMouseEnter:this.handleUtilityMouseEnter.bind(this),handleAccordionToggle:this.handleAccordionToggle.bind(this),handleAccordionKeydown:this.handleAccordionKeydown.bind(this),handleUserMenuMouseEnter:this.handleUserMenuMouseEnter.bind(this),handleUserMenuMouseLeave:this.handleUserMenuMouseLeave.bind(this),
945handleUserMenuKeydown:this.handleUserMenuKeydown.bind(this),handleCheckClickDim:this.handleCheckClickDim.bind(this),handleClickDim:this.handleClickDim.bind(this),openLayerPopup:this.openLayerPopup.bind(this),closeLayerPopup:this.closeLayerPopup.bind(this)};this.init();e.instances.set(b,this)};e.prototype.init=function(){this.currentDevice=this.getCurrentDevice();this.setElements();this.setAccessbility();this.setL1MenuHeight();this.reInitL2Featured();this.initSwiper();this.setShyGNB();this.setScrollPaddingTop();
946this.bindEvent();this.resize();this.setUSOfferCID()};e.prototype.setUSOfferCID=function(){var b=$("#siteCode").val(),d=window.location.href;("us"===b||d.includes("/us/"))&&(b=this.getParamCaseInsensitive("offerCID"))&&this._setCookie("bs_offerCID",b,".samsung.com",1)};e.prototype.getParamCaseInsensitive=function(b){var d=new URLSearchParams(window.location.search);b=b.toLowerCase();
946d=$jscomp.makeIterator(d.entries());for(var l=d.next();!l.done;l=d.next()){var q=$jscomp.makeIterator(l.value);l=q.next().value;
947q=q.next().value;if(l.toLowerCase()===b)return q}return null};e.prototype._setCookie=function(b,d,l,q){var t=new Date;t.setTime(t.getTime()+864E5*(q||1));q="expires\x3d"+t.toUTCString();document.cookie=b+"\x3d"+d+";"+q+";path\x3d/;domain\x3d"+l};e.prototype.reInit=function(){this.init()};e.prototype.reInitL2Featured=function(){var b=this;this.el.l0Menu.target.forEach(function(d){if(m(d).find(b.selector.l2FeaturedAccordionContainer).target.length){var l=m(d).find(b.selector.l2FeaturedLink+":not(."+
948b.classes.mobileOnly+")");d=m(d).find("."+b.classes.featuredTextType).target.length?l.target.slice(10):l.target.slice(8);l.removeClass(b.classes.l2FeaturedLinkHide);m(d).addClass(b.classes.l2FeaturedLinkHide)}})};e.prototype.setElements=function(){this.el.header=this.el.section.find(this.selector.header);this.el.container=this.el.section.find(this.selector.container);this.el.containerInner=this.el.section.find(this.selector.containerInner);this.el.featuredWrap=this.el.section.find(this.selector.featuredWrap);
949this.el.featuredSwiper=this.el.section.find(this.selector.featuredSwiper);this.el.featuredSwiperSlide=this.el.section.find(this.selector.featuredSwiperSlide);this.el.featuredSwiperIndicator=this.el.section.find(this.selector.featuredSwiperIndicator);this.el.l0MenuList=this.el.section.find(this.selector.l0MenuList);this.el.l0Menu=this.el.section.find(this.selector.l0Menu);this.el.l0MenuTitle=this.el.section.find(this.selector.l0MenuTitle);this.el.l0MenuItem=this.el.section.find(this.selector.l0MenuItem);
950this.el.l0MenuBtn=this.el.section.find(this.selector.l0MenuBtn);this.el.l0MenuLink=this.el.section.find(this.selector.l0MenuLink);this.el.l0MenuToggleBtn=this.el.section.find(this.selector.l0MenuToggleBtn);this.el.l1MenuContainer=this.el.section.find(this.selector.l1MenuContainer);this.el.l1MenuInner=this.el.section.find(this.selector.l1MenuInner);this.el.l1MenuAccordion=this.el.section.find(this.selector.l1MenuAccordion);this.el.l2FeaturedWrap=this.el.section.find(this.selector.l2FeaturedWrap);this.el.l2FeaturedAccordionContainer=
951this.el.section.find(this.selector.l2FeaturedAccordionContainer);this.el.l2FeaturedLink=this.el.section.find(this.selector.l2FeaturedLink);this.el.utilityList=this.el.section.find(this.selector.utilityList);this.el.dimm=this.el.section.find(this.selector.dimm);this.el.utilityUserWrap=this.el.section.find(this.selector.utilityUserWrap);this.el.utilityUserBtn=this.el.section.find(this.selector.utilityUserBtn);this.el.utilityUserList=this.el.section.find(this.selector.utilityUserList);this.el.mobileExpandMenuButton=
952this.el.section.find(this.selector.mobileExpandMenuButton);this.el.mobileExpandCloseButton=this.el.section.find(this.selector.mobileExpandCloseButton);this.el.mobileContainerHeader=this.el.section.find(this.selector.mobileContainerHeader);this.el.mobileContainerHeaderSearch=this.el.section.find(this.selector.mobileContainerHeaderSearch);this.el.mobileL0MenuBtn=this.el.section.find(this.selector.mobileL0MenuBtn);this.el.mobileBackwardBtn=this.el.section.find(this.selector.mobileBackwardBtn);this.el.mobileLeftMenuList=
953this.el.section.find(this.selector.mobileLeftMenuList);this.el.l0AccordionList=this.el.section.find(this.selector.l0AccordionList);this.el.accordionWrap=this.el.section.find(this.selector.accordionWrap);this.el.accordionBtn=this.el.section.find(this.selector.accordionBtn);this.el.accordionContainer=this.el.section.find(this.selector.accordionContainer);this.el.accordionInner=this.el.section.find(this.selector.accordionInner);this.el.layerPopupOpenButton=this.el.section.find(this.selector.layerPopupOpenButton);
954this.el.layerPopupWrap=this.el.section.find(this.selector.layerPopupWrap);this.el.layerPopupLoopingStart=this.el.section.find(this.selector.layerPopupLoopingStart);this.el.layerPopupLoopingEnd=this.el.section.find(this.selector.layerPopupLoopingEnd);this.el.section.hasClass(this.classes.textType)&&(this.isTextType=!0)};e.prototype.bindEvent=function(){var b=this;"mobile"===this.getCurrentDevice()?this.bindMobileEvents():this.bindDesktopEvents();this.el.window.off("resize",this.handler.resize).on("resize",
955this.handler.resize);this.el.window.off("scroll",this.handler.scroll).on("scroll",this.handler.scroll);this.el.window.off("mousewheel",this.handler.mousewheel).on("mousewheel",this.handler.mousewheel);this.el.dimm.off("click",this.handler.handleMobileGnbClose).on("click",this.handler.handleMobileGnbClose);this.el.layerPopupOpenButton.target.forEach(function(d){m(d).off("click").on("click",function(){return b.handler.openLayerPopup(d.dataset.targetPopup)})})};e.prototype.bindMobileEvents=function(){this.el.window.off("keydown",
956this.handler.keydown);this.el.l0MenuToggleBtn.off("click",this.handler.handleMenuToggleClick);this.el.l0MenuToggleBtn.off("keydown",this.handler.handleMenuToggleKeydown);this.el.l0MenuBtn.off("click",this.handler.handleMenuToggleClick);this.el.l0MenuBtn.off("keydown",this.handler.handleMenuToggleKeydown);
956this.el.l0MenuLink.off("click",this.handler.handleMenuLinkClick);this.el.l0MenuLink.off("keydown",this.handler.handleMenuLinkKeydown);this.el.utilityList.off("mouseenter",this.handler.handleUtilityMouseEnter);
957this.el.l0MenuItem.off("mouseenter",this.handler.handleMenuMouseEnter);this.el.l0MenuItem.off("mouseleave",this.handler.handleMenuMouseLeave);this.el.l0MenuList.off("mouseleave",this.handler.hanledMenuListMouseLeave);this.el.utilityUserWrap.off("mouseenter",this.handler.handleUserMenuMouseEnter);this.el.utilityUserWrap.off("mouseleave",this.handler.handleUserMenuMouseLeave);this.el.utilityUserBtn.off("keydown",this.handler.handleUserMenuKeydown);this.el.mobileExpandMenuButton.off("click",this.handler.handleMobileGnbOpen).on("click",
958this.handler.handleMobileGnbOpen);this.el.mobileExpandCloseButton.off("click",this.handler.handleMobileGnbClose).on("click",this.handler.handleMobileGnbClose);this.el.mobileBackwardBtn.off("click",this.handler.handleMobileMenuClose).on("click",this.handler.handleMobileMenuClose);this.el.accordionBtn.off("click",this.handler.handleAccordionToggle).on("click",this.handler.handleAccordionToggle);this.el.l1MenuAccordion.off("keydown",this.handler.handleAccordionKeydown).on("keydown",this.handler.handleAccordionKeydown);
959if(this.isTextType)this.el.l0MenuBtn.off("click",this.handler.handleMobileMenuOpen).on("click",this.handler.handleMobileMenuOpen),this.el.l0MenuToggleBtn.off("click",this.handler.handleMobileMenuOpen).on("click",this.handler.handleMobileMenuOpen);else this.el.mobileL0MenuBtn.off("click",this.handler.handleMobileMenuOpen).on("click",this.handler.handleMobileMenuOpen)};e.prototype.bindDesktopEvents=function(){var b=this;this.el.mobileExpandMenuButton.off("click",this.handler.handleMobileGnbOpen);this.el.mobileExpandCloseButton.off("click",
960this.handler.handleMobileGnbClose);this.el.mobileBackwardBtn.off("click",this.handler.handleMobileMenuClose);this.el.accordionBtn.off("click",this.handler.handleAccordionToggle);this.el.l1MenuAccordion.off("keydown",this.handler.handleAccordionKeydown);this.isTextType?(this.el.l0MenuBtn.off("click",this.handler.handleMobileMenuOpen),this.el.l0MenuToggleBtn.off("click",this.handler.handleMobileMenuOpen)):this.el.mobileL0MenuBtn.off("click",this.handler.handleMobileMenuOpen);this.el.l0MenuList.target.forEach(function(d){b.setPcFocusLooping(d,
961"l0menu")});this.el.l1MenuInner.target.forEach(function(d){var l=d.closest(b.selector.l0Menu).querySelector(b.selector.l0MenuToggleBtn||b.selector.l0MenuBtn);b.setPcFocusLooping(d,"l1menu",l)});this.el.utilityUserWrap.target.forEach(function(d){var l=d.querySelector(b.selector.utilityUserBtn);d=d.querySelector(b.selector.utilityMenuWrap);b.setPcFocusLooping(d,"usermenu",l)});this.el.window.off("keydown",this.handler.keydown).on("keydown",this.handler.keydown);this.el.l0MenuToggleBtn.off("click",this.handler.handleMenuToggleClick).on("click",
962this.handler.handleMenuToggleClick);this.el.l0MenuToggleBtn.off("keydown",this.handler.handleMenuToggleKeydown).on("keydown",this.handler.handleMenuToggleKeydown);this.el.l0MenuLink.off("click",this.handler.handleMenuLinkClick).on("click",this.handler.handleMenuLinkClick);this.el.l0MenuLink.off("keydown",this.handler.handleMenuLinkKeydown).on("keydown",this.handler.handleMenuLinkKeydown);this.el.l0MenuBtn.off("click",this.handler.handleMenuToggleClick).on("click",this.handler.handleMenuToggleClick);
963this.el.l0MenuBtn.off("keydown",this.handler.handleMenuToggleKeydown).on("keydown",this.handler.handleMenuToggleKeydown);this.el.utilityList.off("mouseenter",this.handler.handleUtilityMouseEnter).on("mouseenter",this.handler.handleUtilityMouseEnter);this.el.l0MenuItem.off("mouseenter",this.handler.handleMenuMouseEnter).on("mouseenter",this.handler.handleMenuMouseEnter);this.el.l0MenuItem.off("mouseleave",this.handler.handleMenuMouseLeave).on("mouseleave",this.handler.handleMenuMouseLeave);this.el.l0MenuList.off("mouseleave",
964this.handler.hanledMenuListMouseLeave).on("mouseleave",this.handler.hanledMenuListMouseLeave);this.el.utilityUserWrap.off("mouseenter",this.handler.handleUserMenuMouseEnter).on("mouseenter",this.handler.handleUserMenuMouseEnter);this.el.utilityUserWrap.off("mouseleave",this.handler.handleUserMenuMouseLeave).on("mouseleave",this.handler.handleUserMenuMouseLeave);this.el.utilityUserBtn.off("keydown",this.handler.handleUserMenuKeydown).on("keydown",this.handler.handleUserMenuKeydown)};e.prototype.resize=
965function(){var b=this,d=this.getCurrentDevice();this.navOffsetTop=this.el.section.target[0].offsetTop;this.navRightMenuTop=this.el.section.target[0].getBoundingClientRect().top;this.el.section.target[0].style.setProperty("--gnb04-top",this.navOffsetTop+"px");this.el.section.target[0].style.setProperty("--gnb04-rightmenu-top",this.navRightMenuTop+"px");d!==this.currentDevice&&(this.setDeviceBindEvents(),this.setAccessbility());clearTimeout(this.resizeTimer);this.resizeTimer=setTimeout(function(){"mobile"===
966d&&b.updateSwiper();b.setL1MenuHeight();b.setScrollPaddingTop()});this.currentDevice=d};
966e.prototype.scroll=function(){this.isRightpcMenuOpen&&(this.setRightMenuTop(),this.hanledMenuListMouseLeave());this.stickyMode&&this.handleSticky()};e.prototype.mousewheel=function(b){var d=this.el.section.find(".nv00-gnb-v4__l0-menu--show .nv00-gnb-v4__l1-menu-container");"desktop"===this.getCurrentDevice()&&d.target.length&&b.clientY>d.offset().bottom&&(this.isActiveMenuOpen=!1,this.pcMenuClose())};e.prototype.keydown=
967function(b){"desktop"===this.getCurrentDevice()&&b.keyCode===g.ESC&&(this.isActiveMenuOpen=!1,this.el.section.find("."+this.classes.l0MenuShow).target.length?this.pcMenuClose():this.el.section.find("."+this.classes.userMenuShow).target.length&&this.userMenuClose())};e.prototype.setPcFocusLooping=function(b,d,l){function q(x){if("desktop"===t.getCurrentDevice()){var B=w.target.findIndex(function(z){return z===x.target});if(x&&x.keyCode===g.TAB&&!0===x.shiftKey&&0===B&&"l0menu"!==d)t.handleLeaveFirstFocus(d),
968x.preventDefault();else if("l0menu"!==d||x.keyCode===g.RIGHT||x.keyCode===g.LEFT)if(t.isKeydownNextInput(x)||t.isKeydownPrevInput(x)){var D;t.isKeydownNextInput(x)?D=w.target[B+1]:t.isKeydownPrevInput(x)&&0===B&&"l0menu"!==d?D=l:t.isKeydownPrevInput(x)&&(D=w.target[B-1]);D&&D.focus();D===l&&t.handleLeaveFirstFocus(d);x.preventDefault()}}}l=void 0===l?null:l;if(b){var t=this,w=this.getFocusableElements(b,d);w&&w.off("keydown").on("keydown",q)}};e.prototype.getFocusableElements=function(b,d){var l=
969this;b=b.target?b:m(b);d="mobile"===this.getCurrentDevice()?[].concat($jscomp.arrayFromIterable(b.find("a, button").target)).filter(function(q){return!q.closest(".nv00-gnb-v4--pc-only")}):"l0menu"===d?[].concat($jscomp.arrayFromIterable(b.find(this.selector.l0MenuItem+", "+this.selector.l0MenuToggleBtn).target)):"l1menu"===d?b.closest(this.selector.l0MenuListRight).target.length?[].concat($jscomp.arrayFromIterable(b.find("a").target)):[].concat($jscomp.arrayFromIterable(b.find("a, button").target)).filter(function(q){return!(m(q).hasClass("nv00-gnb-v4__l1-featured-btn")||
970m(q).hasClass(l.classes.mobileOnly)||m(q).hasClass(l.classes.l2FeaturedLinkHide)||q.closest(".
970nv00-gnb-v4__l2-menu-container"))}):[].concat($jscomp.arrayFromIterable(b.find("a").target));return m(d)};e.prototype.handleLeaveFirstFocus=function(b){this.isActiveMenuOpen=!1;"l1menu"===b?this.pcMenuClose():"usermenu"===b&&this.userMenuClose()};e.prototype.setRightMenuTop=function(){this.el.section.hasClass(this.classes.fixed)?this.el.section.target[0].style.setProperty("--gnb04-rightmenu-top",0):(this.navRightMenuTop=
971this.el.section.target[0].getBoundingClientRect().top,this.el.section.target[0].style.setProperty("--gnb04-rightmenu-top",this.navRightMenuTop+"px"))};e.prototype.setDeviceBindEvents=function(){"mobile"===this.getCurrentDevice()?(this.hanledMenuListMouseLeave(),this.bindMobileEvents()):(this.handleMobileGnbClose(),this.bindDesktopEvents())};e.prototype.setAccessbility=function(){var b=this,d=[this.el.l1MenuContainer,this.el.utilityUserList],l=[this.el.container,this.el.l1MenuContainer,this.el.accordionContainer];
972"mobile"===this.getCurrentDevice()?(this.el.l0MenuList.attr("role","menu"),this.el.l2FeaturedWrap.removeAttr("role"),this.el.l2FeaturedWrap.removeAttr("aria-label"),d.forEach(function(q){q.removeAttr("aria-hidden")}),l.forEach(function(q){q.attr("aria-hidden",!0)}),this.el.l2FeaturedAccordionContainer.target.forEach(function(q){var t=q.dataset.jsTitle?q.dataset.jsTitle:null;t&&m(q).attr("aria-label",t);m(q).attr("role","menu");m(q).find(b.selector.l2FeaturedLink).attr("tabindex",-1)}),this.el.l0MenuTitle.target.forEach(function(q){m(q).find("a, button").removeAttr("aria-expanded");
973b.isTextType?m(q).find("button").attr("aria-haspopup",!0):(m(q).find("a, button").removeAttr("aria-haspopup"),m(q).closest(b.selector.l0Menu).find(b.selector.l1MenuContainer).target[0]&&m(q).find(b.selector.l0MenuItem).attr("aria-haspopup",!0))}),this.el.l1MenuAccordion.target.forEach(function(q){m(q).attr("role","button");m(q).attr("aria-expanded",!1);m(q).attr("tabindex","0");m(q).closest(b.selector.accordionWrap).find(b.selector.accordionInner+" a").attr("tabindex",-1)})):(k.removeMobileFocusLoop(),
974this.el.container.find(".layer-popup__looping--first, .layer-popup__looping--end").remove(),this.el.l0MenuList.attr("role","menubar"),this.el.l0MenuTitle.removeAttr("aria-hidden"),this.el.l2FeaturedAccordionContainer.removeAttr("role"),this.el.l2FeaturedAccordionContainer.removeAttr("aria-label"),l.forEach(function(q){q.removeAttr("aria-hidden")}),d.forEach(function(q){q.attr("aria-hidden",!0)}),this.el.l0MenuTitle.target.forEach(function(q){m(q).find("a, button").removeAttr("aria-expanded");m(q).find("a, button").removeAttr("aria-haspopup");
975m(q).closest(b.selector.l0Menu).find(b.selector.l1MenuContainer).target[0]&&(m(q).find(b.selector.l0MenuToggleBtn).target[0]?(m(q).find(b.selector.l0MenuToggleBtn).attr("aria-expanded",!1),m(q).find(b.selector.l0MenuToggleBtn).attr("aria-haspopup",!0)):(m(q).find(b.selector.l0MenuItem).attr("aria-expanded",!1),m(q).find(b.selector.l0MenuItem).attr("aria-haspopup",!0)))}),this.el.l1MenuAccordion.target.forEach(function(q){m(q).attr("role","menuitem");m(q).removeAttr("aria-expanded");q.classList.contains("nv00-gnb-v4__l1-menu-btn")&&
976m(q).attr("tabindex",-1);m(q).closest(b.selector.accordionWrap).find(b.selector.accordionInner+" a").removeAttr("tabindex")}),this.el.l2FeaturedWrap.target.forEach(function(q){var t=q.dataset.jsTitle?q.dataset.jsTitle:null;t&&m(q).attr("aria-label",t);m(q).attr("role","menu")}),this.el.l2FeaturedLink.removeAttr("tabindex"))};e.prototype.setL1MenuHeight=function(){var b=this;this.el.l1MenuInner.target.forEach(function(d){if(m(d).hasClass(b.classes.l1MenuGroupType)){d=m(d).find(b.selector.l1MenuList).target.map(function(w){return m(w).find(b.selector.l1MenuItem)});
977var l=Math.max.apply(Math,$jscomp.arrayFromIterable(d.map(function(w){return w.target.length}))),q=[];d.forEach(function(w){w.css({height:""})});if("mobile"!==b.getCurrentDevice()){for(var t={$jscomp$loop$prop$i$103:0};t.$jscomp$loop$prop$i$103<l;t={$jscomp$loop$prop$i$103:t.$jscomp$loop$prop$i$103},t.$jscomp$loop$prop$i$103+=2)q.push(d.flatMap(function(w){return function(x){return x.target.slice(w.$jscomp$loop$prop$i$103,w.$jscomp$loop$prop$i$103+2)}}(t)));q.forEach(function(w){var x=Math.max.apply(Math,
978$jscomp.arrayFromIterable(w.map(function(B){return B.getBoundingClientRect().height})));
978w.forEach(function(B){m(B).css({height:Math.round(x)+"px"})})})}}})};e.prototype.handleMenuMouseEnter=function(b){this.isTouch=!1;this.isLeaveAfterTouch||this.handlePcMenuOpen(b)};e.prototype.handleMenuLinkKeydown=function(){this.isKeydown=!0};e.prototype.handleMenuLinkClick=function(b){this.isTouchScreen&&(this.isKeydown?this.isKeydown=!1:1>m(b.target).closest(this.selector.l0Menu).find(this.selector.l1MenuContainer).target.length||
979(this.isTouch=!0,this.handlePcMenuOpen(b)))};e.prototype.handleMenuToggleKeydown=function(b){this.isKeydown=!0;b.keyCode===g.DOWN&&(b.preventDefault(),this.handleMenuToggle(b))};e.prototype.handleMenuToggleClick=function(b){this.isTouch=!0;this.handleMenuToggle(b)};e.prototype.handleMenuToggle=function(b){b=m(b.target).closest(this.selector.l0Menu);var d=b.find(this.selector.l1MenuContainer),l=this.isKeydown?d.find("a:not(.nv00-gnb-v4__l1-menu-container-title), button:not(.nv00-gnb-v4__l1-menu-container-title):not(.nv00-gnb-v4__l1-menu-btn)").target[0]:
980null;this.isKeydown&&(this.isKeydown=!1);!b.hasClass(this.classes.l0MenuShow)&&d.target.length?(this.isActiveMenuOpen=!0,this.pcMenuOpen(b,l)):(this.isActiveMenuOpen=!1,this.pcMenuClose())};e.prototype.handlePcMenuOpen=function(b){var d=this;m(b.target).closest(this.selector.l0Menu).hasClass(this.classes.l0MenuShow)||b.preventDefault();clearTimeout(this.menuOpenTimeout);this.menuOpenTimeout=setTimeout(function(){clearTimeout(d.menuEnterTimeout);var l=b.type,q=m(b.target).closest(d.selector.l0Menu),
981t=q.find(d.selector.l1MenuContainer),w=100;d.isLeaveAfterTouch&&"mouseenter"===l||(!q.hasClass(d.classes.l0MenuShow)&&t.target.length?(d.isActiveMenuOpen=!0,d.el.section.hasClass(d.classes.gnbShow)&&(w=300),"click"===l?w=0:"mouseenter"===l&&d.el.l0MenuList.find(d.selector.l0MenuItem+":focus, "+d.selector.l0MenuToggleBtn+":focus").blur(),d.menuEnterTimeout=setTimeout(function(){d.pcMenuOpen(q)},w)):t.target.length||(d.isActiveMenuOpen=!1,setTimeout(function(){d.pcMenuClose()})))})};e.prototype.handleMenuMouseLeave=
982function(){this.isTouch?this.isLeaveAfterTouch=!0:this.isActiveMenuOpen=this.isLeaveAfterTouch=!1};e.prototype.hanledMenuListMouseLeave=function(){var b=this;this.isTouch?this.isTouch=!1:(this.isActiveMenuOpen=!1,setTimeout(function(){b.pcMenuClose()}))};e.prototype.pcMenuOpen=function(b,d){d=void 0===d?null:d;if(this.isActiveMenuOpen){var l=b.find(this.selector.l0MenuBtn+", "+this.selector.l0MenuToggleBtn),q=b.closest(this.selector.l0Menu),t=q.find(this.selector.l1MenuContainer),w=q.find(this.selector.l1MenuInner);
983q=b.closest(this.selector.l0MenuList);w=w.innerHeight();var x=this.el.section.find("."+this.classes.l0MenuShow),B=x.find(this.selector.l0MenuBtn+", "+this.selector.l0MenuToggleBtn),D=this.el.section.find("."+this.classes.l0MenuShow).target.length;this.isRightpcMenuOpen=b.closest(this.selector.l0MenuListRight).target.length;f.setLazyLoadManually(t.target[0]);D&&(this.el.section.addClass(this.classes.gnbOpended),x.removeClass(this.classes.l0MenuShow),B.attr("aria-expanded",!1),x.find(this.selector.l1MenuContainer).attr("aria-hidden",
984!0));this.isRightpcMenuOpen&&this.setRightMenuTop();b.addClass(this.classes.l0MenuShow);l.attr("aria-expanded",!0);t.attr("aria-hidden",!1);d&&d.focus();this.el.section.target[0].style.setProperty("--l1-container-current-height",w+"px");this.el.section.hasClass(this.classes.gnbShow)||this.el.section.addClass(this.classes.gnbShow);q.hasClass(this.classes.l0MenuListShow)||(this.el.section.removeClass(this.classes.gnbOpended),this.el.l0MenuList.removeClass(this.classes.l0MenuListShow),q.addClass(this.classes.l0MenuListShow))}};
985e.prototype.pcMenuClose=function(){if(!this.isActiveMenuOpen){var b=this.el.section.find("."+this.classes.l0MenuShow),d=b.find(this.selector.l0MenuToggleBtn).target.length?b.find(this.selector.l0MenuToggleBtn):b.find(this.selector.l0MenuItem);b=b.find(this.selector.l1MenuContainer+" a:focus").target.length?b.find(this.selector.l1MenuContainer+" a:focus"):null;"desktop"===this.getCurrentDevice()&&(this.el.l0MenuBtn.attr("aria-expanded",!1),this.el.l0MenuToggleBtn.attr("aria-expanded",!1));b&&d&&d.focus();
986this.el.l1MenuContainer.attr("aria-hidden",!0);this.el.section.removeClass(this.classes.gnbOpended);this.el.section.removeClass(this.classes.gnbShow);this.el.l0MenuList.removeClass(this.classes.l0MenuListShow);this.el.l0Menu.removeClass(this.classes.l0MenuShow);this.el.section.target[0].style.setProperty("--l1-container-current-height",0);this.isRightpcMenuOpen=!1}};e.prototype.handleUtilityMouseEnter=function(){this.isActiveMenuOpen=this.isRightpcMenuOpen?!0:!1};e.prototype.handleMobileGnbOpen=function(){this.el.section.hasClass(this.classes.gnbShow)||
987(this.isTextType?f.setLazyLoadManually(this.el.featuredWrap.target[0]):f.setLazyLoadManually(this.el.mobileLeftMenuList.target[0]),this.el.l0MenuTitle.target.forEach(function(b){return f.setLazyLoadManually(b)}),this.el.section.addClass(this.classes.gnbShow),this.el.l0MenuTitle.attr("aria-hidden",!1),this.el.container.attr("aria-hidden",!1),this.el.container.setLayerFocus(this.selector.mobileContainerHeaderSearch,this.selector.mobileExpandCloseButton,!1),this.el.mobileContainerHeaderSearch.focus(),
988this.setAccordion(),k.setMobileFocusLoop(this.el.container.target[0]),this.el.header.find("a, button").attr("tabindex",-1),k.hiddenScroll(),this.el.window.off("
988click",this.handler.handleClickDim).on("click",this.handler.handleClickDim),this.el.window.off("pointerdown",this.handler.handleCheckClickDim).on("pointerdown",this.handler.handleCheckClickDim))};e.prototype.handleMobileGnbClose=function(){var b=this;this.isLeaveAfterTouch=this.isTouch=!0;this.el.section.hasClass(this.classes.gnbShow)&&(k.removeMobileFocusLoop(),
989this.el.section.removeClass(this.classes.gnbShow),this.el.header.find("a, button").removeAttr("tabindex"),this.el.mobileExpandMenuButton.focus(),this.el.l0MenuTitle.attr("aria-hidden",!1),this.el.l0Menu.attr("aria-hidden",!1),this.el.l1MenuContainer.attr("aria-hidden",!0),this.el.container.attr("aria-hidden",!0),this.el.l0MenuList.removeClass(this.classes.l0MenuListShow),this.el.section.removeClass(this.classes.gnbl1MenuShow),this.el.l0Menu.removeClass(this.classes.l0MenuShow),this.setAccordion(),
990k.visibleScroll(),this.el.window.off("click",this.handler.handleClickDim),this.el.window.off("pointerdown",this.handler.handleCheckClickDim),setTimeout(function(){b.el.containerInner.target[0].scrollTo({top:0})},300))};e.prototype.handleCheckClickDim=function(b){this.isDimClick=!b.target.closest(this.selector.container)&&!b.target.closest(this.selector.header)};e.prototype.handleMobileMenuOpen=function(b){var d=m(b.currentTarget).closest(".nv00-gnb-v4__l0-menu"),l=d.closest(this.selector.l0MenuList),
991q=d.find(this.selector.l1MenuContainer);!d.hasClass(this.classes.l0MenuBannerType)&&!d.hasClass(this.classes.l0MenuShow)&&d.target.length&&q.target.length&&(this.isTextType||b.preventDefault(),q.attr("aria-hidden",!1),f.setLazyLoadManually(l.target[0]),this.el.l0Menu.removeClass(this.classes.l0MenuShow),this.el.section.addClass(this.classes.gnbl1MenuShow),l.addClass(this.classes.l0MenuListShow),d.addClass(this.classes.l0MenuShow),this.setAccordion(),this.el.mobileContainerHeaderSearch.removeClass(this.classes.popupLooping),
992this.el.container.setLayerFocus(this.selector.mobileBackwardBtn,this.selector.mobileExpandCloseButton,!1),d.find("a.nv00-gnb-v4__l1-menu-container-title, "+this.selector.l1MenuItem).eq(0).focus(),this.el.l0MenuList.find(this.selector.l0Menu+":not(."+this.classes.l0MenuShow+")").attr("aria-hidden",!0),this.el.l0MenuTitle.attr("aria-hidden",!0))};e.prototype.handleMobileMenuClose=function(){var b=this,d=this.el.section.find("."+this.classes.l0MenuShow),l=d.find(this.selector.l0MenuItem);this.isTextType&&
993(l=d.find(".nv00-gnb-v4__l0-menu-title button"));this.el.l0MenuTitle.attr("aria-hidden",!1);this.el.l0Menu.attr("aria-hidden",!1);this.el.l0Menu.removeClass(this.classes.l0MenuShow);this.el.section.removeClass(this.classes.gnbl1MenuShow);this.el.l0MenuList.removeClass(this.classes.l0MenuListShow);this.setAccordion();this.el.mobileBackwardBtn.removeClass(this.classes.popupLooping);setTimeout(function(){b.el.container.setLayerFocus(b.selector.mobileContainerHeaderSearch,b.selector.mobileExpandCloseButton,
994!1);l.target[0].focus();b.el.l1MenuContainer.attr("aria-hidden",!0)},400)};e.prototype.initSwiper=function(){var b=this,d=this.el.featuredSwiper.target[0];d&&(h.slideReInit(d),h.slideUpdate(d,{realSlidesPerView:Math.round(this.getRealSlidePerview())}),h.slideInitEnd(d,function(){b.swiper=h.getSwiper(d);b.setSwiperStatus()}))};e.prototype.updateSwiper=function(){var b=this.el.featuredSwiper.target[0];b&&(h.slideUpdate(b,{realSlidesPerView:Math.round(this.getRealSlidePerview())}),this.setSwiperStatus())};
995e.prototype.getRealSlidePerview=function(){var b=parseInt(window.getComputedStyle(this.el.featuredSwiper.target[0]).paddingLeft);b=this.el.featuredSwiper.offset().width-b;var d=this.el.featuredSwiperSlide.offset().width;b/=d;return.8<b-Math.floor(b)?b:Math.floor(b)};e.prototype.setSwiperStatus=function(){var b=this.el.featuredSwiper.target[0];(this.swiper=h.getSwiper(b))?this.swiper.slides.length<=this.getRealSlidePerview()||1===this.swiper.slides.length?(this.swiper.allowTouchMove=!1,this.el.featuredSwiperIndicator.hide(),
996h.destroy(b)):(this.swiper.allowTouchMove=!0,this.el.featuredSwiperIndicator.show()):this.initSwiper()};e.prototype.handleAccordionKeydown=function(b){b.keyCode===g.SPACE&&(b.preventDefault(),this.handleAccordionToggle(b))};e.prototype.setAccordion=function(){var b=this,d=null,l=null;l=this.el.section.hasClass(this.classes.gnbl1MenuShow);var q=!this.el.section.hasClass(this.classes.gnbShow);l?(d=this.el.l0MenuList.find("."+this.classes.l0MenuListShow+" "+this.selector.accordionWrap),l=this.el.section.find(this.selector.l0Menu+
997":not(."+this.classes.l0MenuShow+") "+this.selector.accordionWrap+", "+this.selector.l0AccordionList)):q?l=this.el.section.find(this.selector.accordionWrap):(d=this.el.l0AccordionList,l=this.el.l0MenuList.find(this.selector.accordionWrap));d&&d.target.forEach(function(t){t=m(t);var w=t.find(b.selector.accordionBtn);t.hasClass(b.classes.accordionActive)?b.openAccordion(w):b.closeAccordion(t)});l&&l.target.forEach(function(t){t=m(t);b.closeAccordion(t)})};e.prototype.handleAccordionToggle=function(b){b.preventDefault();
998b=m(b.currentTarget);var d=b.closest(this.selector.accordionWrap);d.hasClass(this.classes.accordionActive)?(this.closeAccordion(d),d.removeClass(this.classes.accordionActive)):(this.openAccordion(b),d.addClass(this.classes.accordionActive))};e.prototype.openAccordion=function(b){var d=b.closest(this.selector.accordionWrap),l=d.find(this.selector.accordionContainer),q=d.find(this.selector.accordionInner);d=d.find("a");
998q=q.innerHeight();l.css({"max-height":q+"px"});b.attr("aria-expanded",!0);l.attr("aria-hidden",
999!1);d.removeAttr("tabindex")};e.prototype.closeAccordion=function(b){var d=b.find(this.selector.accordionContainer),l=b.find(this.selector.accordionBtn);b=b.find(this.selector.accordionInner+" a");d.attr("aria-hidden",!0);d.css({"max-height":null});l.attr("aria-expanded",!1);b.attr("tabindex",-1)};e.prototype.handleUserMenuMouseEnter=function(b){b=m(b.currentTarget);this.userMenuOpen(b)};e.prototype.handleUserMenuMouseLeave=function(){this.userMenuClose()};e.prototype.handleUserMenuKeydown=function(b){if("keydown"!==
1000b.type||this.isKeydownEvent(b)){b.preventDefault();b=m(b.currentTarget).closest(this.selector.utilityUserWrap);var d=b.find(".nv00-gnb-v4__utility-menu").target[0];b.hasClass(this.classes.userMenuShow)?this.userMenuClose():this.userMenuOpen(b,d)}};e.prototype.handleClickDim=function(b){!this.isDimClick||b.target.closest(this.selector.container)||b.target.closest(this.selector.header)||this.handleMobileGnbClose()};e.prototype.userMenuOpen=function(b,d){d=void 0===d?null:d;var l=b.find(this.selector.utilityMenuWrap);
1001l=l.innerHeight()+parseFloat(window.getComputedStyle(l.target[0]).marginTop)+15;var q=b.find(this.selector.utilityUserBtn),t=b.find(this.selector.utilityUserList);this.isActiveMenuOpen=!1;this.pcMenuClose();b.target[0].style.setProperty("--gnb04-utility-user-height",l+"px");b.addClass(this.classes.userMenuShow);q.attr("aria-expanded",!0);t.attr("aria-hidden",!1);d&&d.focus()};e.prototype.userMenuClose=function(){var b=this.el.section.find("."+this.classes.userMenuShow),d=b.find(this.selector.utilityUserBtn),
1002l=b.find(this.selector.utilityUserList);l.find(".nv00-gnb-v4__utility-menu:focus").target.length&&l.find(".nv00-gnb-v4__utility-menu:focus")&&d.focus();b.removeClass(this.classes.userMenuShow);d.attr("aria-expanded",!1);l.attr("aria-hidden",!0)};e.prototype.setShyGNB=function(){var b=m(this.selector.heroKv).eq(0);if(b.target.length){var d=this.el.section.offset().top+this.el.section.height(),l=b.offset().top;d=10>Math.abs(parseInt(d-l));b.target.length&&d&&(this.stickyMode=!0,this.shyTheme=b.hasClass("hd08-hero-kv-home--text-white")?
1003"dark":"light",this.setShyTheme())}else this.stickyMode=!1};e.prototype.setShyMode=function(b){this.stickyMode=!0;this.shyTheme=b;this.setShyTheme()};e.prototype.handleSticky=function(){if(this.stickyMode){var b=window.scrollY,d=b>this.scrollTop?"down":"up",l=0>this.el.section.offset().top;"up"===d&&l?(this.el.section.addClass(this.classes.fixed),this.removeShyTheme()):(this.el.section.removeClass(this.classes.fixed),this.setShyTheme());"down"===d&&l?this.el.section.addClass(this.classes.down):this.el.section.removeClass(this.classes.down);
1004this.scrollTop=b}else this.el.section.removeClass(this.classes.fixed),this.el.section.removeClass(this.classes.down)};e.prototype.setShyTheme=function(){"dark"===this.shyTheme?this.el.section.addClass(this.classes.shyDark):"light"===this.shyTheme?this.el.section.addClass(this.classes.shyLight):this.removeShyTheme()};e.prototype.removeShyTheme=function(){this.el.section.removeClass(this.classes.shyDark);this.el.section.removeClass(this.classes.shyLight)};e.prototype.setScrollPaddingTop=function(){this.stickyMode&&
1005k.setScrollPaddingTop("gnbV4",this.el.section.innerHeight())};e.prototype.openLayerPopup=function(b){var d=this,l=b&&this.el.layerPopupWrap.find(b);b&&l.target.length&&(k.setMobileFocusLoop(this.el.layerPopupWrap.target[0]),this.el.layerPopupWrap.addClass("show"),this.el.layerPopupWrap.setLayerFocus(this.selector.layerPopupLoopingStart,this.selector.layerPopupLoopingEnd),l.addClass("show"),b=l.find(this.selector.layerPopupCloseButton),b.focus(),b.off("click").on("click",function(){return d.handler.closeLayerPopup(l.target[0])}),
1006this.el.layerPopupWrap.off("click").on("click",function(q){q.target.closest(".layer-popup")||d.handler.closeLayerPopup(l.target[0])}),k.hiddenScroll())};e.prototype.closeLayerPopup=function(b){k.removeMobileFocusLoop();b=b?m(b):this.el.section.find(this.el.layerPopup+".show");b.removeClass("show");this.el.layerPopupWrap.removeClass("show");this.el.layerPopupWrap.offLayerFocus();this.el.layerPopupWrap.off("click");b="mobile"===this.getCurrentDevice()?this.el.section.find('.nv00-gnb-v4__header [data-target-popup\x3d"#'+
1007b.attr("id")+'"]'):this.el.section.find('.nv00-gnb-v4__container [data-target-popup\x3d"#'+b.attr("id")+'"]');b.target.length&&b.focus();k.visibleScroll()};e.prototype.getCurrentDevice=function(){return 1279<k.getViewPort().width?"desktop":"mobile"};e.prototype.isKeydownEvent=function(b){return"keydown"===b.type&&(b.keyCode===g.ENTER||b.keyCode===g.DOWN||b.keyCode===g.SPACE)};e.prototype.isKeydownNextInput=function(b){return b&&b.keyCode===g.RIGHT||b.keyCode===g.DOWN};e.prototype.isKeydownPrevInput=
1008function(b){return b&&b.keyCode===g.LEFT||b.keyCode===g.UP};e.instances=new WeakMap;window.sg.components.Nv00GnbV4={init:a,reInit:function(){m(n.section).target.forEach(function(b){e.instances.has(b)?e.instances.get(b).reInit():new e(b)})}
1008,openLayerPopup:function(b){m(n.section).target.forEach(function(d){e.instances.has(d)&&e.instances.get(d).openLayerPopup(b)})},closeLayerPopup:function(b){m(n.section).target.forEach(function(d){e.instances.has(d)&&e.instances.get(d).closeLayerPopup(b)})},getCurrentDevice:function(){var b=
1009document.querySelector(n.section);if(b)return e.instances.get(b).getCurrentDevice()},setShyLight:function(){m(n.section).target.forEach(function(b){e.instances.has(b)&&e.instances.get(b).setShyMode("light")})},setShyDark:function(){m(n.section).target.forEach(function(b){e.instances.has(b)&&e.instances.get(b).setShyMode("dark")})}};m.ready(a)})();ss=$;var reservationUserData=null;function nextGenLoginResult(a){}
1010(function(a){ss.Sign=function(){function m(K){if(!K)return{};var F={};K.slice(1).split("\x26").map(function(U){return U.split("\x3d")}).forEach(function(U){var V=$jscomp.makeIterator(U);U=V.next().value;V=V.next().value;U&&V&&(F[U]=decodeURIComponent(V))});return F}function k(){a.cookies.del("estoreLoginRequesting");a.cookies.del("estoreLoginRequesting",{domain:P})}function f(){a.cookies.del("snsSessionId");a.cookies.del("snsSessionId",{path:"/",domain:P});a.cookies.del("isStoreLogedIn");a.cookies.del("sa_em");
1011a.cookies.del("sa_em",{path:"/",domain:P});a.cookies.del("eVar67");a.cookies.del("eVar67",{path:"/",domain:P});a.cookies.del("lastName",{domain:P});a.cookies.del("firstName",{domain:P});a.cookies.del("guid",{domain:P});a.cookies.del("ReD",{domain:P});a.cookies.del("ReDCheck",{domain:P});a.cookies.del("directCallFl",{expires:null,domain:P});a.cookies.del("directCallFlv2",{expires:null,domain:P});a.cookies.del("returnURL",{domain:P});a.cookies.del("mVal10",{domain:P});a.cookies.del("mVal11",{domain:P});
1012a.cookies.del("flpe",{domain:P});a.cookies.del("encGuid",{domain:P});a.cookies.del("dcgue",{domain:P});a.cookies.del("dg_sai",{domain:P});a.cookies.del("glbState",{domain:P});a.cookies.del("cntoken",{domain:P});a.cookies.del("cnfl",{domain:P});if(IS_B2B){var K="/"+SITE_CD+"/";a.cookies.del("emailId",{domain:P});a.cookies.del("emailAddr",{domain:P});a.cookies.del("phone",{domain:P});a.cookies.del("userAccount",{domain:P});a.cookies.del("dotcomReturnURL",{domain:P});a.cookies.del("isSMBRegisteredUserYN",
1013{path:K,domain:P})}k();a.cookies.del("prof_id",{path:"/",domain:P});a.cookies.del("prof_lname",{path:"/",domain:P});a.cookies.del("prof_bpno",{path:"/",domain:P});a.cookies.del("prof_bpno_s",{path:"/",domain:P});a.cookies.del("rew_enr",{path:"/",domain:P});a.cookies.del("prof_fname",{path:"/",domain:P});a.cookies.del("tppid",{path:"/",domain:P});a.cookies.del("tmktid",{path:"/",domain:P});a.cookies.del("tmktname",{path:"/",domain:P});a.cookies.del("tlgimg",{path:"/",domain:P});a.cookies.del("taccessrtype",
1014{path:"/",domain:P});a.cookies.del("remoteId",{path:"/",domain:P});a.cookies.del("tsgmt",{path:"/",domain:P});a.cookies.del("epp_verified",{path:"/",domain:P});a.cookies.del("store_id",{path:"/",domain:P});login_user_info={};if(IS_EPP){K=document.cookie.split(";");K=$jscomp.makeIterator(K);for(var F=K.next();!F.done;F=K.next()){F=F.value;var U=F.indexOf("\x3d");F=unescape(F.slice(0,U)).trim();(-1<F.indexOf("useAuthorizedApi.")||-1<F.indexOf("groupName."))&&a.cookies.del(F,{domain:P})}}}function g(){a.cookies.del("xsdcxyn");
1015a.cookies.del("xsdcxyn",{path:"/",domain:P});a.cookies.del("xsdcbxyn");a.cookies.del("xsdcbxyn",{path:"/",domain:P});a.cookies.del("iPlanetDirectoryPro");a.cookies.del("iPlanetDirectoryPro",{path:"/",domain:P});a.cookies.del("iPlanetDirectoryProOptVal");a.cookies.del("iPlanetDirectoryProOptVal",{path:"/",domain:P})}function h(){window.localStorage.removeItem("dcgue");window.localStorage.removeItem("flpe");window.localStorage.removeItem("encGuid");window.localStorage.removeItem("guidSet");window.localStorage.removeItem("TierName");
1016window.localStorage.removeItem("TierCode")}function n(K){var F={education:"/us/shop/offer-program/education/","first responder":"/us/shop/offer-program/first-responders/",government:"/us/shop/offer-program/government/",workplace:"/us/shop/offer-program/workplace/",military:"/us/shop/offer-program/military/"},U=a.cookies.get("tlgimg"),V=a.cookies.get("tmktname"),ja=a.cookies.get("tmktid"),ra=a.cookies.get("tsgmt"),sb=a.cookies.get("xsdcxyn"),ta;if(K){if(ta=K.store_info)ta.image_logo_url&&(U=ta.image_logo_url),
1017ta.store_disp_name&&(V=ta.store_disp_name),ta.store_id&&(ja=ta.store_id),ta.store_segment&&(ra=ta.store_segment);"sa_login"===K.login_type?(ta=!0,window.isSaLogin=!0):(ta=!1,window.isSaLogin=!1)}K=ra&&F[ra.toLowerCase()]||"/us/shop/offer-program/";window.EcommFlutterClient&&(window.EcommFlutterClient.onmessage=function(Ma){Ma=JSON.parse(Ma.data);var Cb=Ma.data.status;"isSignedInStatus"===Ma.name&&(window.isShopSignedIn=Cb)},window.EcommFlutterClient.postMessage(JSON.stringify({name:"isSignedIn",params:{callbackEvent:"isSignedInStatus"}})));
1018F=a(".epp-bar-wrap");F.show();F.addClass("gnb-edited");ra=F.find(".epp-bar-msg");ra.empty();var Ea=F.find(".benfit-wrap");Ea.empty();var Bb=F.find(".epp-bar-logo");Bb.empty();
1018U&&Bb.append("\x3cimg src\x3d"+U+" /\x3e");V?(sb?ta||window.isShopSignedIn?ra.append('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+V+" Store!\x3c/div\x3e Please enjoy our special offers for you."):ra.append('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+V+' Store!\x3c/div\x3e Please \x3ca href\x3d"#" class\x3d"epp-login"\x3elogin\x3c/a\x3e to access your special pricing.'):
1019("4145500"===ja&&"17593200"===a.cookies.get("tppid")?(a(".epp-bar-logo img").remove(),a(".epp-bar-logo").append('\x3cimg src\x3d"'+U+'"/\x3e'),a(".epp-bar-msg").html("Welcome to Samsung's Friends and Family Store! Enjoy special pricing. Please \x3ca href\x3d'#' id\x3d'openLogin' style\x3d'font-size:12px;font-weight: bold'\x3elogin/signup\x3c/a\x3e to make a purchase.")):"900297"==ja||"4789760653"==ja?(a(".epp-bar-logo img").remove(),a(".epp-bar-logo").append('\x3cimg src\x3d"'+U+'"/\x3e'),a(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+
1020V+" Store!\x3c/div\x3e")):(a(".epp-bar-logo img").remove(),a(".epp-bar-logo").append('\x3cimg src\x3d"'+U+'"/\x3e'),a(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username" style\x3d"color:#1428a0;"\x3e'+V+" Store!\x3c/div\x3e Please \x3ca href\x3d'#' id\x3d'openLogin' style\x3d'color:#1428a0;font-weight: bold'\x3elogin\x3c/a\x3e to enjoy our special pricing."),a("#openLogin").click(function(Ma){Ma.preventDefault();a(".gnb-login").trigger("click")})),a(".epp-bar-wrap").slideDown()),
1021"900297"!=ja&&"4789760653"!=ja&&Ea.append('\x3ca class\x3d"benfit-wrap__offers" href\x3d"'+K+'"\x3eSPECIAL OFFERS\x3c/a\x3e'),ta||"900297"==ja||"4789760653"==ja||Ea.append('\x3cspan class\x3d"benfit-wrap__gap"\x3e\x3c/span\x3e\x3ca class\x3d"benfit-wrap__exit"\x3eEXIT STORE\x3c/a\x3e'),F.find(".epp-login").click(function(Ma){Ma.preventDefault();a(".nv00-gnb-v4__utility-menu.loginBtn").trigger("click")}),Ea.find(".benfit-wrap__exit").click(function(){window.AEMapp.eppStore.exitStore();a(document).trigger("exit__store");
1022a(".epp-bar-wrap").hide();a(".epp-bar-wrap").find(".epp-bar-msg").empty();a(".epp-bar-wrap").find(".epp-bar-logo").empty();a(".epp-bar-wrap").find(".benfit-wrap").empty()})):F.hide();window.location.href.includes("us/business")&&F.hide()}function e(){f();g();h();clearInterval(Ab);Ga=null;(USE_ESTORE||Da)&&d(!1);return!1}function b(K,F,U,V){var ja=a.trim(K+" "+F);"jp"===siteCode&&(ja=a.trim(F+" "+K));"cn"===SITE_CD&&(ja=F);K=ja;null!=ub&&void 0!=ub.emailAddr&&null!=ub.emailAddr&&(K+=". "+ub.emailAddr,
1023ub.emailAddr&&(ub.emailAddr.includes("@")?window.userEmailDomain=ub.emailAddr.split("@")[1]:window.userEmailDomain=ub.emailAddr));a(".nv00-gnb-v4__utility-menu.nv00-gnb-v4__utility-menu--user-profile.nv00-gnb-v4--pc-only.js-user-name").attr("aria-label",K);Ya.find(".image__main");K=Ya.find(".user-name");F=a(".js-gnb-afterlogin-image");var ra=a(".js-gnb-afterlogin-no-image");if(""!=u&&null!=u&&U){od("LazyLoad_Home",u);var sb=u;F.find(".image__main").attr("src",sb);F.show();ra.remove()}else F.remove();
1024V&&(vc="https://account.samsung.com/membership/contents/profile/profile-gate",Ya.attr("href",vc));K.html(ja);window.sg.common.lazyLoad.setLazyLoadManually(F[0]);!window.localStorage.getItem("guidSet")&&U?(window.digitalData.user.sa=Ja,window.localStorage.setItem("guidSet","true"),a.ajax({url:"/aemapi/v6/mysamsung/pdrewards/tierinfo",type:"GET",data:{siteCode:SITE_CD,ncp:Math.random()},dataType:"json"}).done(function(ta){if(ta&&ta.resultData&&ta.resultData.apiResult&&ta.resultData.apiResult.d){var Ea=
1025ta.resultData.apiResult.d.TierCode;window.localStorage.setItem("TierName",ta.resultData.apiResult.d.TierName);window.localStorage.setItem("TierCode",Ea)}})):window.digitalData.user.sa=""}function d(K){null==mb||null==eb?b("","",!1):"vn"===SITE_CD?b("",eb,!1):b(mb,"",!1)}function l(K,F){var U=new Date;U.setDate(U.getDate()+F);document.cookie="_common_saveEmail\x3d"+encodeURIComponent(K)+"; path\x3d/; domain\x3d.samsung.com; expires\x3d"+U.toGMTString()+";"}function q(){var K=document.cookie+";",F=
1026K.indexOf("_common_saveEmail",0),U="";-1!=F&&(K=K.substring(F,K.length),F=K.indexOf("\x3d",0)+1,U=K.indexOf(";",F),U=decodeURIComponent(K.substring(F,U)));""!==U&&(Fc.next().css({visibility:"hidden"}),Fc.val(U),jc.attr("checked","checked"),jc.prop("checked",!0),jc.next().addClass(jc.next().attr("data-acc-onclass")))}function t(){"N"===a.cookies.get("directCallFlv2")&&("undefined"!=typeof dataLayer&&"object"==typeof dataLayer&&dataLayer.push({event:"login",eventNonInteraction:!0}),a.cookies.set("directCallFlv2",
1027"Y",{expires:null,domain:P}))}function w(K){K?(ss.Auth.getUserProfile(function(F){null!=F&&""!==F?"vn"===SITE_CD?b("",F.lastName,!0):b(F.firstName,F.lastName,!0):b("","",!0)}),IS_EPP||IS_B2B||!Kc||a(".nv00-gnb-v4__utility-user-menu-rewards-link"),Ba.addClass("hide")):Ba.removeClass("hide")}function x(){a.ajax({url:"https://account.samsung.com/api/v1/users",type:"GET",dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,success:function(K){console.log("reload sa cookie -"+
1028new Date)},error:function(K,F,U){}})}function B(){function K(V){U<F.length?(estore.addWishListItemForce({productC
1028ode:F[U]},K),U++):(a.cookies.deleteWishList(),a.EstoreIfQueue&&a.EstoreIfQueue.setIsSignReady(!0))}var F=a.cookies.getWishList(),U=0;0<F.length?K():a.EstoreIfQueue&&a.EstoreIfQueue.setIsSignReady(!0)}function D(){void 0!=window.sg.components.Nv00GnbV4&&(window.sg.components.Nv00GnbV4.closeLayerPopup("#"+Vb.attr("id")),window.sg.components.Nv00GnbV4.closeLayerPopup("#"+yc.attr("id")))}function z(K){if(K){var F=
1029LOGIN.msg.errorTitleText,U="";switch(K){case "DW":case "AW":case "WP":U=LOGIN.msg.errorText1;break;case "BA":U=LOGIN.msg.errorText2;break;case "UK":U=LOGIN.msg.errorText3;break;case "ES":U=LOGIN.msg.errorText4}Nb=xc;-1=="pop-tit".indexOf(a("#confirmPopup \x3ediv\x3e div.popup_wrap").find("h2").attr("class"))&&(xc.append('\x3ch2 class\x3d"pop-tit"\x3e'),xc.append('\x3cp class\x3d"msg-text tc"\x3e'));a(".pop-tit",xc).text(F);a(".msg-text",xc).text(U)}D();if(fa){a("#privacy-terms").parent().find(".checkbox-v2__label-text").empty();
1030a("#privacy-terms2").parent().find(".checkbox-v2__label-text").remove();a("#privacy-terms2").parent().find(".layer-popup__checkbox-desc").remove();if(0<gb.length){var V=gb[0].data.content;if(null!=gb[1]){var ja=gb[1].data.content;ja=ja.replace("checkbox-v2__label-text","checkbox-radio__label-text checkbox-v2__label-text")}}a("#privacy-terms").parent().find(".checkbox-v2__label-text").append(V);null!=ja&&a("#privacy-terms2").parent().append(ja)}Nb&&0<Nb.length&&void 0!=window.sg.components.Nv00GnbV4&&
1031window.sg.components.Nv00GnbV4.openLayerPopup("#"+Nb.attr("id"))}function T(K){var F="",U=a.cookies.get("jwt_"+ia,{domain:P});fa&&(F=STORE_DOMAIN+"/v4/identity/preferences");a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*","x-ecom-app-id":"identity-store","x-ecom-jwt":U},url:F,type:"PUT",dataType:"json",data:K,xhrFields:{withCredentials:!0},beforeSend:function(V){"Y"===Ib&&V.setRequestHeader("x-ecom-locale",yb)},success:function(V){D();
1032Nb="Y"===M||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:yc;z()},error:function(V,ja,ra){console.error(ja)}})}function Y(){var K="";IS_B2B?K=Ca+"/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa:"au"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===SITE_CD||"ae_ar"===SITE_CD||"jp"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||
1033"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"my"===SITE_CD||"pt"===SITE_CD||"sg"===SITE_CD||"eg"==SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"pk"===SITE_CD||"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD?K=STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa:L?(K=Ca+"/"+STORE_SITE_CODE+"/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa,"tr"===SITE_CD&&(K=STORE_DOMAIN+"/tokocommercewebservices/v2/tr/users/current/agreeStorePolicy?receiveEmail\x3d"+
1034qa+"\x26etkOptin\x3d"+sa+"\x26dataTransferConsent\x3d"+nb)):K="es"===SITE_CD||"it"===SITE_CD?-1<STORE_DOMAIN.indexOf("https://")?STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa:STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/setAgreeStorePolicy?receiveEmail\x3d"+qa:"levant"===SITE_CD?STORE_DOMAIN+"/jo/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa:"levant_ar"===SITE_CD?STORE_DOMAIN+"/jo_ar/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+qa:"n_africa"===SITE_CD?STORE_DOMAIN+"/ma/ng/p4v1/agreeStorePolicy?receiveEmail\x3d"+
1035qa:STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/setAgreeStorePolicy?receiveEmail\x3d"+qa;oc?a.ajax({url:K,type:"GET",data:{ssoID:Ja},dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,beforeSend:function(){},success:function(F){D();"0000"===F.resultCode&&(Nb="Y"===M||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:yc,z())},error:function(F,U,V){console.error(U)}}):a.ajax({url:K,
1036type:"GET",dataType:"jsonp",data:{ssoID:Ja},jsonp:"callback",beforeSend:function(){},success:function(F){D();"0000"===F.resultCode&&(Nb="Y"===M||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:yc,z())},error:function(F,U,V){console.error(U)}})}
1036function la(){var K=!0,F=a.cookies.get("new_sa_login",{domain:".samsung.com"});F&&"us"===SITE_CD&&(K=!1);if(Z)K=a.cookies.get("sa_state",{domain:P}),F=a.cookies.get("temp_sa_state",{domain:P}),
1037!K&&!F||mb&&eb?shopAppUtilInstance.isPlatformReady()?window.flutter_inappwebview.callHandler("login",window.location.href):window.addEventListener("flutterInAppWebViewPlatformReady",function(){window.flutter_inappwebview.callHandler("login",window.location.href)}):ua();else if("cn"===SITE_CD)a("#signInForm").attr("action",hb),a("#client_id",Ua).val(a("#loginAccountServiceId").val()),K=a("#redirect_uri",Ua).val(),F="https://"+window.location.host+K,a("#redirect_uri",Ua).val(F),a("#response_type",Ua).val("code"),
1038a("#scope",Ua).val("server"),a("#signInState",Ua).val("STATE"),a.cookies.set("glbState","STATE",{domain:P}),pa=window.location.href,a.cookies.set("returnURL",pa,{domain:P}),IS_B2B&&a.cookies.set("dotcomReturnURL",pa,{domain:P}),Ua.submit(),pa=void 0;else if(K){pa=window.location.href;K=a("#redirect_uri",Ua).val();F="https://"+window.location.host+K;K="GLB"+Math.random().toString(36).substr(2,7);a.cookies.set("glbState",K,{domain:P});var U=a("#loginAccountServiceId").val(),V=a("#languageCode").val(),
1039ja=a("#countryCode").val();"id"==SITE_CD&&(V="in");V=V+"-"+ja;a.cookies.set("returnURL",pa,{domain:P});IS_B2B&&a.cookies.set("dotcomReturnURL",pa,{domain:P});pa=void 0;(ja=jc.is(":checked"))?l(a.trim(Fc.val()),7):l(null,-1);K={clientId:U,redirectUri:encodeURIComponent(F),responseType:"code",scope:"",state:K};window.samsung.account.signIn(K,{locale:V})}else if(!IS_B2B||null!=hb&&""!=hb&&IS_B2B){a("#signInForm").attr("action",hb);pa=window.location.href;K=a("#redirect_uri",Ua).val();F="";F=window.location.port;
1040F=null==F||""===F||"80"===F||"8080"===F?"https://"+window.location.host:"http://"+window.location.host;0>K.indexOf(window.location.hostname)&&(F+=K,a("#redirect_uri",Ua).val(F));K="GLB"+Math.random().toString(36).substr(2,11);a.cookies.set("glbState",K,{domain:P});a("#response_type",Ua).val("code");a("#countryCode",Ua).val(a("#countryCode",Ua).val());a("#redirect_uri",Ua).val(a("#redirect_uri",Ua).val());a("#signInState",Ua).val(K);a("#signInGoBackURL",Ua).val(pa);a(".goBackURL").val(pa);a("#scope",
1041Ua).val("");(F=a.cookies.get("new_sa_login",{domain:".samsung.com"}))&&"us"===SITE_CD&&(K=btoa(window.location.href+"?state\x3d"+K),a("#signInState",Ua).val(K),K=-1<window.location.host.indexOf("p6-pre-qa")||-1<window.location.host.indexOf("p6-qa")?"https://us.ecom-qa.samsung.com/v4/sso/sa/login":"https://www.samsung.com/us/api/v4/sso/sa/login",a("#redirect_uri",Ua).val(K));if(K=a("#loginAccountServiceId").val())U=K,a("#client_id",Ua).val(U);V=a("#languageCode").val();ja=a("#countryCode").val();V&&
1042ja&&(V=V+"_"+ja,a("#locale",Ua).val(V));a.cookies.set("returnURL",pa,{domain:P});IS_B2B&&a.cookies.set("dotcomReturnURL",pa,{domain:P});Ua.submit();(ja=jc.is(":checked"))?l(a.trim(Fc.val()),7):l(null,-1);pa=void 0}}function aa(){var K=!0;pa=window.location.href;a.cookies.set("returnURL",pa,{domain:P});var F=a.cookies.get("new_sa_login",{domain:".samsung.com"});F&&"us"===SITE_CD&&(K=!1);if("cn"===SITE_CD){var U=a.cookies.get("cntoken",{domain:P});U=decodeURIComponent(U).split("|");a.ajax({headers:{"Cache-Control":"no-cache",
1043"Content-Type":"application/json","Access-Control-Allow-Origin":"*",Authorization:"Bearer "+U[0]},url:kc,type:"POST",data:JSON.stringify({accessToken:U[0],channel:"hybris"}),dataType:"json",xhrFields:{withCredentials:!0},success:function(V){null!=V&&"200"==V.status?(e(),pa=window.location.href,pa=pa.escapeHtml(),location.href=Ca+"/cn/logout?redirectUrl\x3d"+encodeURIComponent(pa)):null!=V&&"500"==V.status&&console.error(V.code+" : "+V.message)}})}else if(K)window.samsung.account.signOut().then(function(){location.href=
1044"/aemapi/v6/data-login/afterLogout."+SITE_CD+".json?state\x3dstate\x26result\x3dsuccess"}).catch(function(V){console.error(V);console.error("sign-out failure");a("#signOutForm").attr("action",kc);pa=window.location.href;!a("#tempTitle").val()||"page-my-samsung"!==a("#tempTitle").val()&&"page-my-products"!==a("#tempTitle").val()&&"page-my-rewards"!==a("#tempTitle").val()&&"page-my-referrals"!==a("#tempTitle").val()||(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/");a.cookies.set("returnURL",
1045pa,{domain:P});if(IS_B2B){a.cookies.set("dotcomReturnURL",pa,{domain:P});V="/"+SITE_CD+"/";a.cookies.del("useTaxExPriceYN",{path:V,domain:P});
1045var ja=a.cookies.get("useSMBCookiePaths");a.cookies.del("useSMBCookiePaths",{path:"/",domain:P});if(null!=ja){V=ja.split(";");for(var ra in V)""!=V[ra]&&null!=V[ra]&&a.cookies.del("isSMBRegisteredUserYN",{path:V[ra],domain:P})}else a.cookies.del("isSMBRegisteredUserYN",{path:V,domain:P})}ra=a("#signOutURL",db).val();V=window.location.port;V=null==V||""===V||
1046"80"===V||"8080"===V?"https://"+window.location.host:"http://"+window.location.host;0>ra.indexOf(window.location.hostname)&&(ra=V+ra,a("#signOutURL",db).val(ra));ra="GLB"+Math.random().toString(36).substr(2,11);a.cookies.set("glbState",ra,{domain:P});a("#signOutState",db).val(ra);"us"===SITE_CD&&(ra=btoa(window.location.href+"?state\x3d"+ra),a("#signOutState",db).val(ra),ra=-1<window.location.host.indexOf("p6-pre-qa")?"https://us3.ecom-qa.samsung.com/v2/sso/user/logout":"/us/api/v2/sso/user/logout",
1047a("#signOutURL",db).val(ra));(ra=a("#loginAccountServiceId").val())&&a("#client_id",db).val(ra);h();clearInterval(Ab);oc&&"us"===siteCode?(ra=Ca+"/us/logout?redirectUrl\x3d"+encodeURIComponent(window.location.href),location.href=ra):db.submit();pa=void 0});else{a("#signOutForm").attr("action",kc);pa=window.location.href;!a("#tempTitle").val()||"page-my-samsung"!==a("#tempTitle").val()&&"page-my-products"!==a("#tempTitle").val()&&"page-my-rewards"!==a("#tempTitle").val()&&"page-my-referrals"!==a("#tempTitle").val()||
1048(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/");a.cookies.set("returnURL",pa,{domain:P});if(IS_B2B)if(a.cookies.set("dotcomReturnURL",pa,{domain:P}),F="/"+SITE_CD+"/",a.cookies.del("useTaxExPriceYN",{path:F,domain:P}),K=a.cookies.get("useSMBCookiePaths"),a.cookies.del("useSMBCookiePaths",{path:"/",domain:P}),null!=K)for(U in F=K.split(";"),F)""!=F[U]&&null!=F[U]&&a.cookies.del("isSMBRegisteredUserYN",{path:F[U],domain:P});else a.cookies.del("isSMBRegisteredUserYN",{path:F,
1049domain:P});U=a("#signOutURL",db).val();F="";F=window.location.port;F=null==F||""===F||"80"===F||"8080"===F?"https://"+window.location.host:"http://"+window.location.host;0>U.indexOf(window.location.hostname)&&(U=F+U,a("#signOutURL",db).val(U));U="GLB"+Math.random().toString(36).substr(2,11);a.cookies.set("glbState",U,{domain:P});a("#signOutState",db).val(U);(F=a.cookies.get("new_sa_login",{domain:".samsung.com"}))&&"us"===SITE_CD&&(U=btoa(window.location.href+"?state\x3d"+U),a("#signOutState",db).val(U),
1050U=-1<window.location.host.indexOf("p6-pre-qa")?"https://us3.ecom-qa.samsung.com/v2/sso/user/logout":"/us/api/v2/sso/user/logout",a("#signOutURL",db).val(U));(U=a("#loginAccountServiceId").val())&&a("#client_id",db).val(U);h();clearInterval(Ab);db.submit();pa=void 0}}function wa(){function K(F){F?ss.Auth.signOut(pa):a.cookies.get("sa_state",{domain:P})&&"cn"!=SITE_CD&&"us"!=SITE_CD?ua():la()}wc.click(function(){signIn()});ad.click(function(){pa="http://"+window.location.host+"/"+SITE_CD+"/";a("#joinReturnURL",
1051zb).val(pa);a("#joinGoBackURL",zb).val(pa);var F=a("#joinRegistURL",zb).val();var U=window.location.port;U=null==U||""===U||"80"===U||"8080"===U?"https://"+window.location.host:"http://"+window.location.host;0>F.indexOf(window.location.hostname)&&(F=U+F,a("#joinRegistURL",zb).val(F));F=a("#joinEmailActivationURL",zb).val();0>F.indexOf(window.location.hostname)&&(F=window.location.protocol+"//"+window.location.host+F,a("#joinEmailActivationURL",zb).val(F));zb.submit()});Tc.click(function(){pa=window.location.href;
1052a("#findReturnURL",Qb).val(pa);a("#findGoBackURL",Qb).val(pa);Qb.submit()});ed.click(function(){a(this).closest("#loginLayerPopup").is(":visible")&&(a("body").removeClass("gb-login-open"),a("#loginLayerPopup .popAlign").trigger("clickoutside","touchstartoutside"))});bd.click(function(){"es"===SITE_CD&&ss.Auth.signOut();D();return!1});a(document).on("click",".loginBtn",function(F){F.preventDefault();F=!1;a(this).hasClass("nv00-gnb-v4__utility-btn")?"mobile"===window.sg.components.Nv00GnbV4.getCurrentDevice()&&
1053(F=!0):F=!0;F&&(fa?ss.Auth.checkSignInUs():ss.Auth.checkSignIn(K))});a(document).on("click",".js-account",function(F){F.preventDefault();fnIsNull(vc)?window.location.href="cn"===SITE_CD?"https://shop.samsung.com.cn/cn/mypage":"https://account.samsung.com/membership/contents/profile/profile-gate":window.location.href=vc});a(document).on("click",".logoutBtn",function(F){F.preventDefault();F=a(this).attr("data-return-url");fa&&!IS_B2B?("dev"===S?(pa=window.location.protocol+"//"+window.location.host+
1054"/content/samsung/"+SITE_CD+".html",IS_B2B&&(pa=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+"/business.html")):"qa"===S?(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+".html",IS_B2B&&(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business.html")):"live"===S&&(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/",IS_B2B&&(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business/")),ss.Auth.signOutUs()):
1055(null!=F&&""!==F?pa=F:"dev"===S?(pa=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+".html",IS_B2B&&(pa=window.location.protocol+"//"+window.location.host+"/content/samsung/"+SITE_CD+"/business.html")):"qa"===S?(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+".html",IS_B2B&&(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business.html")):"live"===S&&(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/",IS_B2B&&
1056(pa=window.location.protocol+"//"+window.location.host+"/"+SITE_CD+"/business/")),ss.Auth.checkSignIn(K));return!1});a(".sign_input").focusin(function(){switch(a(this).attr("id")){case Fc.attr("id"):Uc.hide();break;case cd.attr("id"):Pc.hide()}});
1056a(".sign-in__form-text").unbind("keydown").bind("keydown",function(F){if("13"===F.keyCode)switch(F.preventDefault(),a(this).attr("id")){case Fc.attr("id"):case cd.attr("id"):signIn()}});jc.focusin(function(F){F.preventDefault();Qc.addClass("fs-boarder")});
1057jc.focusout(function(F){F.preventDefault();Qc.removeClass()});dd.click(function(){var F=Oc.is(":checked");if("tr"!=siteCode&&!F)return Zc.show(),!1;qa=uc.is(":checked");"tr"==siteCode&&(sa=Rb.is(":checked"),nb=gd.is(":checked"));if(0<gb.length){var U=gb[0].id;if(null!=gb[1])var V=gb[1].id}if(ea)return a.cookies.set("shopPrivacyPolicyAgreeYN","Y",{domain:P}),Qa();if(fa){var ja=Oc.is(":checked")?!0:!1;F=null!=V?uc.is(":checked")?!0:!1:!1;U='{"consents": {"'+U+'" : {"is_accepted" : '+ja+"}";null!=V&&
1058(U+=',"'+V+'" : {"is_accepted" : '+F+"}");return T(U+"}}")}return Y()});Oc.change(function(){Zc.hide()});id.click(function(){if("Y"===ka)fa?(a("#accountModifyForm").attr("target",""),a("#accountModifyForm").submit()):window.location.href=fc;else if(null!=Jc&&""!==Jc)if("ca"===SITE_CD||"ca_fr"===SITE_CD){var F=a.cookies.get("prof_id",{domain:P}),U=a.cookies.get("prof_country",{domain:P});window.location.href="https://support-ca.samsung.com/seca/myaccount/ap/premodify/go?prof_id\x3d"+F+"\x26lang\x3d"+
1059U+"\x26page\x3dmyaccount"}else window.location.href=STORE_DOMAIN+Jc;else window.location.href=IS_B2B?Ca+"/ng/my-samsung/updatemyprofile":STORE_DOMAIN+"/"+SITE_CD+"/ng/my-samsung/updatemyprofile"});jd.click(function(){a(this).closest("#layerPreference").is(":visible")&&a(this).closest("#layerPreference").hide()});Mc.click(function(){a(".icon-down-arrow",ic).toggleClass("icon-up-arrow")})}function va(){return"undefined"!==typeof window?!(!window.EcommAndroidClient&&!window.flutter_inappwebview):!1}
1060function ha(){function K(){if(fa){if(!window.sg.epp.common.isPreLanding){var V={"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"};if("in"===siteCode){window&&window.EcommAndroidClient&&(V["x-ecom-app-id"]="samsung-mobile-app");if(va()){var ja=-1<(navigator.userAgent&&navigator.userAgent.toLowerCase()).indexOf("android")?"samsung-mobile-app":"samsung-mobile-app-ios";V["x-ecom-app-id"]=ja}V["x-ecom-source"]="AEM.PDP"}a.ajax({headers:V,url:STORE_DOMAIN+"/v4/shopping-carts/",
1061type:"POST",data:JSON.stringify({}),dataType:"json",xhrFields:{withCredentials:!0},beforeSend:function(ra){null!=U&&""!=U&&ra.setRequestHeader("x-ecom-jwt",U)},success:function(){var ra=a.cookies.get("s_ecom_sc_cnt",{domain:P});null!=ra&&""!==ra&&(0===ra?ob.hide():ob.show(),ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productCountText").val()+" : \x3c/span\x3e"+ra))}})}}else ss.Auth.getGlobalCartCount()}null==window.sg.epp&&(window.sg.epp={},window.sg.epp.common={});var F=window.sg.epp.common.isLogged;
1062!F&&"in"===siteCode&&window.sg.epp.common.isEndlessAisleSite&&window.sg.epp.common.isGuestLogged&&(F=!0);var U=a.cookies.get("jwt_"+ia,{domain:P});a(".js-epp-partner-bar-exit").on("click",function(){window.sg.epp.common.signOut(!0)});F?(!window.sg.epp.common.isExternalSSO&&mb&&eb?b(mb,eb,!0,!1):b(window.sg.epp.common.tempUserName,"",!0,!1),K(),Ba.addClass("hide"),a(document).on("click",".logoutBtn",function(V){V.preventDefault();window.sg.epp.common.signOut()})):(Ba.removeClass("hide"),K(),a(document).on("click",
1063".loginBtn",function(V){V.preventDefault();window.sg.epp.common.signIn()}))}function bb(K){var F=!0;a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*","x-ecom-app-id":"identity-store","x-ecom-jwt":K},url:STORE_DOMAIN+"/v4/identity/preferences",type:"GET",dataType:"json",cache:!0,xhrFields:{withCredentials:!0},beforeSend:function(U){"Y"===Ib&&U.setRequestHeader("x-ecom-locale",yb)},success:function(U){if(null!=U&&""!==U){if("pl"===SITE_CD)F=
1064!0;else if(null!=U.consents&&""!==U.consents){gb=Array(U.consents.length);for(var V=0;V<U.consents.length;V++){var ja=U.consents[V];gb[V]=ja;!0===ja.data.is_required&&!0!==ja.is_accepted&&(F=!1)}}!1===F&&(D(),Nb="Y"===M||"de"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:Vb,z())}},error:function(U,V,ja){console.error(V)}})}function Jb(K){var F=a.cookies.get("jwt_"+ia,{domain:P}),U=function(){f();g();Gc.val("N")},V=
1065function(Ma){var Cb={jwt:Ma};if("us"===siteCode){var lb=a.cookies.get("epp_verified",{domain:P}),Oa=a.cookies.get("tmktid",{domain:P}),tb=a.cookies.get("store_id",{domain:P});null!=lb&&(lb=lb.toString(),"true"==lb&&null!=Oa&&""!=Oa?Cb.store_id=Oa.toString():null!=tb&&""!=tb&&(Cb.store_id=tb.toString()))}a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(Cb),
1066xhrFields:{withCredentials:!0},beforeSend:function(Mb){"Y"===Ib&&Mb.setRequestHeader("x-ecom-locale",yb)},success:function(Mb){if(200===Mb.statusCode||"200"===Mb.statusCode){var nc=a.cookies.get("jwt_"+ia,{domain:P});Gc.val("Y");var gc=function(){if(a.cookies.get("xsdcxyn")){if(a.cookies.get("tppid")&&a.cookies.get("tmktname")){var Sa=a.cookies.get("tlgimg");Sa&&(Sa=a('\x3cimg src\x3d"'+Sa+'"\x3e'),a(".epp-bar-logo").append(Sa));Sa=a.cookies.get("tmktname")+" Store";a(".epp-bar-username").text(Sa);
1067"16568500"===a.cookies.get("tppid")&&a(".gnb__utility-link.sea").removeClass("hidden");a(".epp-bar-wrap").show()}}else if(a.cookies.get("tppid")){var Nc=a.cookies.get("xsdcxyn");Sa=a.cookies.get("tlgimg");var Hc=a.cookies.get("tmktname");Nc?(Nc=a.cookies.get("prof_fname")?a.cookies.get("prof_fname"):a.cookies.get("tmktname"),a(".epp-bar-logo img").remove(),Sa&&a(".epp-bar-logo").append('\x3cimg src\x3d"'+Sa+'"/\x3e'),"null"!=Nc?a(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+
1068Hc+" Store.\x3c/div\x3e Please enjoy our special offers for you"):a(".epp-bar-msg").html('Welcome \x3cdiv class\x3d"epp-bar-username"\x3e'+Hc+'!\x3c/div\x3e Please \x3cdiv class\x3d"epp-bar-username"\x3e\x3ca href\x3d"#" id\x3d"openLogin"\x3elogin\x3c/a\x3e\x3c/div\x3e to enjoy our special offers for you')):"4145500"===a.cookies.get("tmktid")&&"17593200"===a.cookies.get("tppid")?(a(".epp-bar-logo img").remove(),Sa&&a(".epp-bar-logo").append('\x3cimg src\x3d"'+Sa+'"/\x3e'),a(".epp-bar-msg").html("Welcome to Samsung's Friends and Family Store! Enjoy special pricing. Please \x3cdiv class\x3d'epp-bar-username'\x3e\x3ca href\x3d'#' id\x3d'openLogin' style\x3d'font-size:12px;'\x3elogin/signup\x3c/a\x3e\x3c/div\x3e to make a purchase.")):
1069"900297"==a.cookies.get("tmktid")||"4789760653"==a.cookies.get("tmktid")?(a(".epp-bar-logo img").remove(),Sa&&a(".epp-bar-logo").append('\x3cimg src\x3d"'+Sa+'"/\x3e'),a(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+Hc+" Store!\x3c/div\x3e")):(a(".epp-bar-logo img").remove(),Sa&&a(".epp-bar-logo").append('\x3cimg src\x3d"'+Sa+'"/\x3e'),a(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username" style\x3d"color:#1428a0;"\x3e'+Hc+" Store!\x3c/div\x3e Please \x3cdiv class\x3d'epp-bar-username' style\x3d'color:#1428a0;'\x3e\x3ca href\x3d'#' id\x3d'openLogin' style\x3d'color:#1428a0;'\x3elogin\x3c/a\x3e\x3c/div\x3e to enjoy our special pricing."));
1070a(".epp-bar-wrap").slideDown()}else a(".epp-bar-wrap").hide();window.location.href.includes("us/business")&&a(".epp-bar-wrap").hide()};-1<window.location.href.indexOf("/us/")&&gc();-1<window.location.hostname.indexOf("stgwebus")||-1<window.location.hostname.indexOf("p6-pre-qa")||window.location.hostname.indexOf("p6-pre-qa");"us"!==siteCode||a.cookies.get("rewards_tier",{domain:P})||a.ajax({url:"https://www.samsung.com/us/api/ecom/v4/rewards/reward-points",method:"GET",xhrFields:{withCredentials:!0},
1071crossDomain:!0,headers:{"x-ecom-jwt":a.cookies.get("jwt_USA",{domain:P})}});gc={"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*","x-ecom-jwt":nc};if("in"===siteCode){window&&window.EcommAndroidClient&&(gc["x-ecom-app-id"]="samsung-mobile-app");if(va()){var $c=-1<(navigator.userAgent&&navigator.userAgent.toLowerCase()).indexOf("android")?"samsung-mobile-app":"samsung-mobile-app-ios";gc["x-ecom-app-id"]=$c}gc["x-ecom-source"]="AEM.PDP"}a.ajax({headers:gc,
1072url:STORE_DOMAIN+"/v4/shopping-carts/",type:"POST",dataType:"json",data:JSON.stringify({}),xhrFields:{withCredentials:!0},beforeSend:function(Sa){"Y"===Ib&&Sa.setRequestHeader("x-ecom-locale",yb)},success:function(){var Sa=a.cookies.get("s_ecom_sc_cnt",{domain:P});null!=Sa&&""!==Sa&&(0===Sa?ob.hide():ob.show(),ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productC
1072ountText").val()+" : \x3c/span\x3e"+Sa))}});null!=Mb.user_info.firstname&&""!==Mb.user_info.firstname?(Ba.addClass("hide"),b(Mb.user_info.firstname,
1073Mb.user_info.lastname,!0)):a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/jwt/details",type:"POST",dataType:"json",data:JSON.stringify({jwt:nc}),xhrFields:{withCredentials:!0},beforeSend:function(Sa){"Y"===Ib&&Sa.setRequestHeader("x-ecom-locale",yb)},success:function(Sa){null!=Sa&&""!==Sa&&(null!=Sa.user_info.firstname&&""!==Sa.user_info.firstname?(Ba.addClass("hide"),b(Sa.user_info.firstname,Sa.user_info.lastname,
1074!0)):(Ba.addClass("hide"),b("User","",!0)),login_user_info.user_info=Sa.user_info,login_user_info.login_type=Sa.login_type,login_user_info.user_identity=Sa.user_identity)}});bb(Ma)}else a.cookies.del("jwt_"+ia,{domain:P}),a(".epp-bar-wrap").hide(),U()},error:function(Mb,nc,gc){console.error(nc);a.cookies.del("jwt_"+ia,{domain:P});U()}})},ja=function(){a.ajax({url:"/aemapi/v6/data-login/callSALogin."+siteCode+".json",type:"GET",dataType:"json",success:function(Ma){var Cb=a.cookies.get("jwt_"+ia,{domain:P});
1075t();200===Ma.statusCode&&"Y"===Ma.redCookieChk?Cb?V(Cb):U():"N"===Ma.redCookieChk&&K?(f(),g(),la()):U()},error:function(Ma,Cb,lb){console.error(Cb);U()}})},ra=a.cookies.get("sa_state",{domain:P});a.cookies.get("temp_sa_state",{domain:P});ra&&(x(),Ab=setInterval(x,9E5));if(F){ra={jwt:F};var sb=!1;if("us"===siteCode){var ta=a.cookies.get("epp_verified",{domain:P}),Ea=a.cookies.get("tmktid",{domain:P}),Bb=a.cookies.get("store_id",{domain:P});null!=ta&&(ta=ta.toString(),"true"==ta&&null!=Ea&&""!=Ea?ra.store_id=
1076Ea.toString():null!=Bb&&""!=Bb&&(ra.store_id=Bb.toString()));a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/jwt/details",type:"POST",async:!1,dataType:"json",data:JSON.stringify({jwt:F}),xhrFields:{withCredentials:!0},success:function(Ma){Ma&&"us"===siteCode&&n(Ma);null==Ma||""===Ma||null==Ma.login_type||"guest_epp_store"!==Ma.login_type&&"referral_url"!==Ma.login_type?a.cookies.set("isUSGuestUser","N"):(sb=
1077!0,a.cookies.set("isUSGuestUser","Y"),a.cookies.del("snsSessionId"),a.cookies.del("snsSessionId",{path:"/",domain:P}),a.cookies.del("isStoreLogedIn"),a.cookies.del("sa_em"),a.cookies.del("sa_em",{path:"/",domain:P}),a.cookies.del("eVar67"),a.cookies.del("eVar67",{path:"/",domain:P}),a.cookies.del("lastName",{domain:P}),a.cookies.del("firstName",{domain:P}),a.cookies.del("guid",{domain:P}),a.cookies.del("ReD",{domain:P}),a.cookies.del("ReDCheck",{domain:P}),a.cookies.del("directCallFl",{expires:null,
1078domain:P}),a.cookies.del("directCallFlv2",{expires:null,domain:P}),a.cookies.del("returnURL",{domain:P}),a.cookies.del("mVal10",{domain:P}),a.cookies.del("mVal11",{domain:P}),a.cookies.del("flpe",{domain:P}),a.cookies.del("encGuid",{domain:domainName}),a.cookies.del("dcgue",{domain:P}),a.cookies.del("dg_sai",{domain:P}),a.cookies.del("glbState",{domain:domainName}),k(),g(),Gc.val("N"))}})}sb||a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},
1079url:STORE_DOMAIN+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(ra),xhrFields:{withCredentials:!0},beforeSend:function(Ma){"Y"===Ib&&Ma.setRequestHeader("x-ecom-locale",yb)},success:function(Ma){if(200===Ma.statusCode||"200"===Ma.statusCode){var Cb=a.cookies.get("jwt_"+ia,{domain:P});Gc.val("Y");t();null!=Ma.user_info.firstname&&""!==Ma.user_info.firstname?(Ba.addClass("hide"),Cb=a.cookies.get("guid",{domain:P}),fnIsNull(Cb)?b(Ma.user_info.firstname,Ma.user_info.lastname,
1080!0,!0):b(Ma.user_info.firstname,Ma.user_info.lastname,!0)):a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/jwt/details",type:"POST",dataType:"json",data:JSON.stringify({jwt:Cb}),xhrFields:{withCredentials:!0},beforeSend:function(lb){"Y"===Ib&&lb.setRequestHeader("x-ecom-locale",yb)},success:function(lb){null!=lb&&""!==lb&&(null!=lb.user_info.firstname&&""!==lb.user_info.firstname?(Ba.addClass("hide"),b(lb.user_info.firstname,
1081lb.user_info.lastname,!0,!0)):(Ba.addClass("hide"),b("User","",!0,!0)),login_user_info.user_info=lb.user_info,login_user_info.login_type=lb.login_type,login_user_info.user_identity=lb.user_identity)}});bb(F);-1<window.location.hostname.indexOf("stgwebus")||-1<window.location.hostname.indexOf("p6-pre-qa")||window.location.hostname.indexOf("p6-pre-qa");"us"!==siteCode||a.cookies.get("rewards_tier",{domain:P})||a.ajax({url:"https://www.samsung.com/us/api/ecom/v4/rewards/reward-points",method:"GET",xhrFields:{withCredentials:!0},
1082crossDomain:!0,headers:{"x-ecom-jwt":a.cookies.get("jwt_USA",{domain:P})}})}else ja()},error:function(Ma,Cb,lb){console.error(Cb);console.log(Ma);void 0==Ma.responseJSON||"StoreIdNotPresent"!==Ma.responseJSON.error?ja():Gc.val("N")}})}else K?ja():Gc.val("N")}function ua(){a.ajax({url:"/aemapi/v6/data-login/holdLogin."+siteCode+".json",type:"GET",data:{return_url:window.location.href},dataType:"json",success:function(K){200===K.statusCode?location.reload(!0):301===K.statusCode?location.replace(K.returnURL):
1083e()},error:function(K,F,U){e()}})}function Qa(){var K=!IS_B2B||IS_B2B&&"Y"==a("#useLogin").val()&&null!=hb&&""!=hb?!0:!1,F=a.cookies.get("snsSessionId",{domain:P}),U=a.cookies.get("xsdcxyn",{domain:P}),V=a.cookies.get("xsdcbxyn",{domain:P}
1083),ja=a.cookies.get("cntoken",{domain:P}),ra=a.cookies.get("sa_state",{domain:P}),sb=a.cookies.get("temp_sa_state",{domain:P});ra&&(x(),Ab=setInterval(x,9E5));var ta="Y"===a.cookies.get("estoreLoginRequesting",{domain:P})?!0:!1;q();t();Ba.removeClass("hide");if(K){if(!IS_B2B&&
1084("YG"===U||"us"===SITE_CD&&"YA"===U||"YH"===U)&&mb&&eb||IS_B2B&&V&&mb&&eb)if(USE_ESTORE&&!Fa&&"cn"!=SITE_CD){K=!1;if(!ta){ta=[P];for(F=0;F<ta.length;F++)if(-1<document.referrer.indexOf(ta[F])){K=!0;break}Z&&(K=!0);if(K)for(ta="www.samsung.com dev.samsung.com p4.samsung.com stgweb4.samsung.com ptcweb4.samsung.com local.dev.my.eu.samsung.com dev.my.eu.samsung.com stg.my.eu.samsung.com my.eu.samsung.com www.eumysamsung.com stg-account.samsung.com account.samsung.com local.sec.samsung.com dev-aem.samsung.com stg-aem.samsung.com itg-aem.samsung.com aem.samsung.com org-aem.samsung.com qaweb.samsung.com org-qaweb.samsung.com org-ap.samsung.com org-eu.samsung.com org-aem-eu.samsung.com aem-eu.samsung.com org-qashop.samsung.com qashop.samsung.com pre-qa.samsung.com pre-qa2.samsung.com p6-pre-qa.samsung.com p6-pre-qa2.samsung.com p6-pre-qa3.samsung.com ushl.samsung.com".split(" "),
1085F=document.referrer.replace(/http(s)?:\/\//,""),U="",ja=0;ja<ta.length;ja++)if("es"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===SITE_CD||"ae_ar"===SITE_CD||"jp"===SITE_CD||"uk"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"it"===SITE_CD||"au"===SITE_CD||"cn"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"my"===SITE_CD||"pt"===SITE_CD||"sg"===SITE_CD||
1086"eg"==SITE_CD||"levant"==SITE_CD||"levant_ar"==SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"n_africa"==SITE_CD||"pk"==SITE_CD||"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD||L||IS_B2B){if(U="account.samsung.com"===ta[ja]||"stg-account.samsung.com"===ta[ja]?ta[ja]+"/":ta[ja]+"/"+SITE_CD+"/",-1<F.indexOf(U)&&"Y"!==a.cookies.get("isStoreLogedIn")){K=!1;break}}else if(U=ta[ja]+"/"+SITE_CD+"/",-1<U.indexOf(F)&&"Y"!==a.cookies.get("isStoreLogedIn")){K=!1;break}}if(K)"es"===
1087SITE_CD&&D(),w(!0),a.EstoreIfQueue&&a.EstoreIfQueue.setIsSignReady(!0);else{nextGenLoginResult=function(Oa){if("0000"!==Oa.resultCode)"903"===Oa.resultCode||903===Oa.resultCode?z("BA"):Oa.customerStatus?z(Oa.customerStatus):z("UK"),k();else if(w(!0),"Y"===a.cookies.get("estoreLoginRequesting",{domain:P})&&(k(),ss.Auth.getGlobalCartCount()),B(),a.cookies.set("isStoreLogedIn","Y"),!Oa.hasAddInfo&&("au"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===SITE_CD||"ae_ar"===SITE_CD||
1088"jp"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"uk"===SITE_CD||"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"my"===SITE_CD||"pt"===SITE_CD||"sg"===SITE_CD||"eg"==SITE_CD||"levant"==SITE_CD||"levant_ar"==SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"n_africa"==SITE_CD||"pk"==SITE_CD||"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD||L||IS_B2B||("es"===SITE_CD||
1089"it"===SITE_CD)&&-1<STORE_DOMAIN.indexOf("https://"))||!Oa.hasAddInfo&&"cn"!==SITE_CD)ea?Y():(Nb="Y"===M||"de"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:Vb,z())};a.cookies.set("estoreLoginRequesting","Y",{domain:P});var Ea="";ta="";Ea=STORE_DOMAIN.split("/")[2];if(L||IS_B2B)Ea=Ca.split("/")[2];ta="https://"+Ea+"/"+SITE_CD+"/ng/p4v1/sessionCheck";IS_B2B&&(ta=Ca+"/ng/p4v1/sessionCheck");"levant"==SITE_CD?ta="https://"+
1090Ea+"/jo/ng/p4v1/sessionCheck":"levant_ar"==SITE_CD?ta="https://"+Ea+"/jo_ar/ng/p4v1/sessionCheck":"n_africa"==SITE_CD&&(ta="https://"+Ea+"/ma/ng/p4v1/sessionCheck");"tr"===SITE_CD&&(ta=STORE_DOMAIN+"/tokocommercewebservices/v2/tr/users/current/sessionCheck");"us"===SITE_CD&&(ta=STORE_DOMAIN+"/tokocommercewebservices/v2/us/users/current/sessionCheck");if(oc)try{a.ajax({url:ta,type:"GET",data:{ssoID:Ja},dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,
1091success:function(Oa){"0000"!==Oa.resultCode?ss.Auth.signOut():nextGenLoginResult(Oa)},error:function(Oa,tb,Mb){Xa=!1}}),Xa||ss.Auth.signOut()}catch(Oa){Xa=!1}else if("es"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===SITE_CD||"ae_ar"===SITE_CD||"jp"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"it"===SITE_CD||"au"===SITE_CD||"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"uk"===SITE_CD||"my"===
1092SITE_CD||"pt"===SITE_CD||"sg"===SITE_CD||"us"===SITE_CD||"eg"===SITE_CD||"levant"==SITE_CD||"levant_ar"==SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"n_africa"==SITE_CD||"pk"==SITE_CD||"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD||L||IS_B2B)try{a.ajax({url:ta,type:"GET",dataType:"jsonp",data:{ssoID:Ja},jsonp:"callback",success:function(Oa){var tb="0000"===Oa.resultCode?!0:!1;"latin"===SITE_CD&&(tb=!0,Oa.hasAddInfo=!0);tb?nextGenLoginResult(Oa):ss.Auth.signOut()},error:function(Oa,
1093tb,Mb){Xa=!1}}),Xa||ss.Auth.signOut()}catch(Oa){Xa=!1}else"cn"===SITE_CD&&(a("body").append("\x3ciframe id\x3d'storeLoginIframe' src\x3d'"+STORE_DOMAIN+"/"+SITE_CD+"/ng/p4v1/login' style\x3d'display:block;width:0px;height:0px;border:none;'\x3e\x3c/iframe\x3e"),a("#storeLoginIframe").load(function(){a("#storeLoginIframe").unbind("load");try{document.getElementById("storeLoginIframe").contentWindow.postMessage("","https://"+Ea);var Oa=0;Ea=STORE_DOMAIN.split("/")[2];a.ajax({url:"https://"+Ea+"/"+SITE_CD+
1094"/ng/p4v1/getSessionCheck",type:"GET",dataType:"jsonp",jsonp:"callback",success:function(tb){var Mb="0000"===tb.resultCode?!0:!1,nc="N";Oa++;if(Mb)Oa=0,nextGenLoginResult(tb);else{var gc=function($c){Oa++;a.ajax({url:"https://"+Ea+"/"+SITE_CD+"/ng/p4v1/getSessionCheck",type:"GET",dataType:"jsonp",jsonp:"callback",success:function(Sa){var Nc="0000"===Sa.resultCode?!0:!1;nc="N";Nc?(Oa=0,nextGenLoginResult(Sa)):(Oa="Y"===nc)?(nc="N",setTimeout(function(Hc){Oa=2;return function(){gc(Hc)}}(Sa),5E3)):ss.Auth.signOut()},
1095error:function(Sa,Nc,Hc){Xa=!1}})};setTimeout(function($c){return function(){gc($c)}}(tb),6E3)}},error:function(tb,Mb,nc){Xa=!1}});Xa||ss.Auth.signOut()}catch(tb){Xa=!1,ss.Auth.signOut()}}))}}else if(Da||Fa)w(!0);else{if("cn"==SITE_CD&&Ja&&ja){w(!0);var Bb=decodeURIComponent(ja).split("|");a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:"https://shop-support.samsung.com.cn/api/auth/login/refresh",type:"POST",data:JSON.stringify({clientId:Bb[3],
1096clientSecret:Bb[4],refreshToken:Bb[1]}),dataType:"json",xhrFields:{withCredentials:!0},success:function(Oa){if(null!=Oa&&"200"==Oa.status){var tb=Oa.data.refresh_token,Mb=Oa.data.expires_in;Oa=encodeURIComponent(Oa.data.access_token)+"|"+encodeURIComponent(tb)+"|"+encodeURIComponent(Mb)+"|"+encodeURIComponent(Bb[3])+"|"+encodeURIComponent(Bb[4]);a.cookies.set("cntoken",Oa,{domain:P})}else e()}})}}else U&&!IS_B2B||IS_B2B&&V?"cn"==SITE_CD?e():ra&&"cn"!=SITE_CD?ua():la():F?(w(!0),USE_ESTORE&&B()):!ra&&
1097!sb||mb&&eb||"cn"==SITE_CD||"us"==SITE_CD||ua();if(IS_B2B&&V&&null!=Ja&&"true"===a("#shopIntegrationFlag").val()){V=a.cookies.get("isSMBRegisteredUserYN");var Ma=a.cookies.get("goSMBRegisterYN"),Cb=a.cookies.get("smbRegisterUrl"),lb=a.cookies.get("useSMBCookiePaths");null==lb&&(lb="");a.cookies.del("goSMBRegisterYN",{path:"/",domain:P});a.cookies.del("smbRegisterUrl",{path:"/",domain:P});V&&"Y"!=Ma||a.ajax({url:STORE_DOMAIN+"/tokocommercewebservices/v2/"+STORE_SITE_CODE+"/users/current/getCustomer",
1098type:"GET",dataType:"json",async:!1,xhrFields:{withCredentials:!0},crossDomain:!0,beforeSend:function(){},success:function(Oa){if(null!=Oa&&null!=Oa.customer){var tb="/"+SITE_CD+"/";1==Oa.customer.isSMBRegisteredUser?(a.cookies.set("isSMBRegisteredUserYN","Y",{path:tb,domain:P}),lb+=tb+";"):"Y"==Ma?document.location.href=Cb:(a.cookies.set("isSMBRegisteredUserYN","N",{path:tb,domain:P}),lb+=tb+";");a.cookies.set("useSMBCookiePaths",lb,{path:"/",domain:P})}},error:function(Oa){"401"==Oa.status&&ss.Auth.signOut()}})}"Y"==
1099a.cookies.get("isSMBRegisteredUserYN")?a("li.js-smb-user-only-menu").show():a("li.js-smb-user-only-menu").remove()}ss.Auth.getGlobalCartCount();V=m(document.location.search);if(null!=V.customerStatus||null!=V.isblock)V.isblock&&"true"===V.isblock?z("BA"):data.customerStatus?z(data.customerStatus):z("UK")}function H(){var K=a.cookies.get("xsdcxyn",{domain:P}),F=a.cookies.get("xsdcbxyn",{domain:P});fa&&!IS_B2B?K?K?Jb(K):Jb():Jb():(K&&!IS_B2B||F&&IS_B2B)&&ea?(K=STORE_DOMAIN+"/"+STORE_SITE_CODE,IS_B2B&&
1100(K=Ca),a.ajax({url:K+"/ng/p4v1/getGuidCheckInfo",type:"GET",dataType:"jsonp",data:{ssoID:Ja},jsonp:"callback",beforeSend:function(){},success:function(U){"0000"===U.resultCode?"N"===U.resultValue?(D(),Nb="Y"===M||"de"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"se"===SITE_CD||"si"===SITE_CD?null:Vb,z()):Qa():ss.Auth.signOut()},error:function(U,V,ja){console.error(V)}})):Qa()}var J=navigator.userAgent,M="N";"in"===SITE_CD&&(-1<J.indexOf("MyGalaxy")||
1101-1<J.indexOf("SamsungShopSDK"))&&(M="Y");Granite.I18n.setLocale(a("#language").val());var S=a("#runmodeInfo").val(),Z="undefined"!==typeof shopAppUtilInstance&&shopAppUtilInstance.isWebView(),ea="es"!==SITE_CD||Z?!1:!0,qa=!1,sa=!1,nb=!1,Ga=null,Xa=!0,pa="",hb=a("#loginLinkURL").val(),kc=a("#logoutURL").val(),Sb=!IS_B2B||IS_B2B&&"Y"==a("#useLogin").val()&&null!=hb&&""!=hb?!0:!1,ob=a(".gnb-cart-count"),Ya=a(".nv00-gnb-v4__inner").find(".js-user-name"),Ba=a(".before-login");a("#scene7domain").val();
1102var P=".samsung.com";"cn"===SITE_CD&&(P=".samsung.com.cn");var zc=a.cookies.get("xsdcxyn",{domain:P}),Vc=a.cookies.get("xsdcbxyn",{domain:P}),qc=!IS_B2B&&("YG"===zc||"us"===SITE_CD&&"YA"===zc)||IS_B2B&&"YGB"===Vc||IS_EPP&&zc?!0:!1;!qc&&(window.localStorage.getItem("dcgue")||window.localStorage.getItem("flpe")||window.localStorage.getItem("encGuid"))&&h();var Ja=a.cookies.get("guid",{domain:P}),$b=window.cookies.getCookie("flpe");if(!(a.cookies.get("sa_state",{domain:P})||Z||"ae"!==SITE_CD&&"ae_ar"!==
1103SITE_CD&&"levant"!==SITE_CD&&"levant_ar"!==SITE_CD&&"iq_ar"!==SITE_CD&&"iq_ku"!==SITE_CD&&"sa"!==SITE_CD&&"sa_en"!==SITE_CD&&"n_africa"!==SITE_CD&&"eg"!==SITE_CD&&"il"!==SITE_CD&&"pk"!==SITE_CD&&"za"!==SITE_CD&&"ca"!==SITE_CD&&"ca_fr"!==SITE_CD&&"pl"!==SITE_CD&&"ro"!==SITE_CD&&"cz"!==SITE_CD&&"sk"!==SITE_CD&&"hr"!==SITE_CD&&"si"!==SITE_CD&&"hu"!==SITE_CD&&"lv"!==SITE_CD&&"lt"!==SITE_CD&&"ee"!==SITE_CD&&"gr"!==SITE_CD&&"mx"!==SITE_CD&&"cl"!==SITE_CD&&"co"!==SITE_CD&&"pe"!==SITE_CD&&"au"!==SITE_CD&&
1104"kz_ru"!==SITE_CD&&"kz_kz"!==SITE_CD&&"ua"!==SITE_CD&&"jp"!==SITE_CD&&"de"!==SITE_CD&&"fr"!==SITE_CD&&"be"!==SITE_CD&&"be_fr"!==SITE_CD&&"nl"!==SITE_CD&&"uk"!==SITE_CD&&"it"!==SITE_CD&&"es"!==SITE_CD&&"pt"!==SITE_CD&&"se"!==SITE_CD&&"dk"!==SITE_CD&&"fi"!==SITE_CD&&"no"!==SITE_CD&&"at"!==SITE_CD&&"ch"!==SITE_CD&&"ch_fr"!==SITE_CD&&"id"!==SITE_CD&&"th"!==SITE_CD&&"my"!==SITE_CD&&"ph"!==SITE_CD&&"sg"!==SITE_CD&&"nz"!==SITE_CD&&"vn"!==SITE_CD&&"ru"!==SITE_CD&&"tw"!==SITE_CD&&"hk"!==SITE_CD&&"hk_en"!==
1105SITE_CD))e();else if(Sb){var qb=window.cookies.getCookie("dcgue"),Zb=a.cookies.get("encGuid",{domain:P});qb?(qb=decodeURIComponent(qb),window.localStorage.setItem("dcgue",encodeURIComponent(qb)),a.cookies.del("dcgue",{domain:P}),void 0!=$b&&window.localStorage.setItem("flpe",encodeURIComponent($b)),void 0!=Zb&&window.localStorage.setItem("encGuid",encodeURIComponent(Zb))):window.localStorage.getItem("dcgue")&&qc&&(qb=decodeURIComponent(window.localStorage.getItem("dcgue")),void 0==$b&&window.localStorage.getItem("flpe")&&
1106($b=decodeURIComponent(window.localStorage.getItem("flpe")),document.cookie="flpe\x3d"+$b+";domain\x3d"+P+";path\x3d/"),void 0==Zb&&window.localStorage.getItem("encGuid")&&(Zb=decodeURIComponent(window.localStorage.getItem("encGuid")),document.cookie="encGuid\x3d"+Zb+";domain\x3d"+P+";path\x3d/"));if(qc&&qb&&!Ja&&Zb){var rc=Zb.substring(4,36).toLowerCase(),Yb=CryptoJS.enc.Utf8.parse(rc
1106),Xb=CryptoJS.AES.decrypt(qb,Yb,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7});Ja=CryptoJS.enc.Utf8.stringify(Xb)}var Ic=
1107function(){a.ajax({url:"/aemapi/v6/data-login/getidentity."+siteCode+".json",type:"GET",data:{siteCode:siteCode,return_url:window.location.href,enc:Zb},dataType:"json",async:!1,timeout:1E4,success:function(K){200===K.statusCode&&(Ja=K.identity)}})};qc&&!Ja&&Ic();var ub={};if($b&&Ja){var Wb=a("#cck").val(),sc=CryptoJS.enc.Utf8.parse(Wb),Ia=(CryptoJS.AES.encrypt(""+Ja,sc,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7})+Wb).substring(0,32),Ka=CryptoJS.enc.Utf8.parse(Ia),hc=CryptoJS.AES.decrypt($b,
1108Ka,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7}),Ha=CryptoJS.enc.Utf8.stringify(hc);ub=JSON.parse(decodeURIComponent(Ha))}Z&&a.cookies.get("sa_state",{domain:P})&&(a.cookies.del("firstName"),a.cookies.del("firstName",{domain:P}),a.cookies.del("lastName"),a.cookies.del("lastName",{domain:P}));var mb=ub.firstName?ub.firstName:a.cookies.get("firstName",{domain:P}),eb=ub.lastName?ub.lastName:a.cookies.get("lastName",{domain:P}),u=ub.picturePath?ub.picturePath:a.cookies.get("mVal11",{domain:P});
1109null!=u&&""!=u&&(u=decodeURI(u.toString()));var Tb=a.cookies.get("cnfl",{domain:P});if("cn"===SITE_CD&&Ja&&Tb&&!IS_EPP){var Rc=a("#cck").val(),Wc=CryptoJS.enc.Utf8.parse(Rc),pc=(CryptoJS.AES.encrypt(""+Ja,Wc,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7})+Rc).substring(0,32),Xc=CryptoJS.enc.Utf8.parse(pc),vb=CryptoJS.AES.decrypt(Tb,Xc,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7}),$a=CryptoJS.enc.Utf8.stringify(vb);mb=Granite.I18n.get("Hello");eb=decodeURIComponent($a)}}var Ab=0,Da=a("#isLoginWithNoStore").val();
1110Da="Y"===Da?!0:!1;var fc=a("#gnbMyAccountUrl").val(),L="Hybris-new"===a("#shopIntegrationFlag").val()?!0:!1,ca="Hybris-intg"===a("#shopIntegrationFlag").val()?!0:!1,ba="Hybris"===a("#shopIntegrationFlag").val()?!0:!1,fa="GPv2"===a("#shopIntegrationFlag").val()?!0:!1,ka=fa||L||"Hybris-intg"===a("#shopIntegrationFlag").val()?"Y":"",ia=a("#countryIsoCode").val(),Ca=a("#storeWebDomain").val(),Fa=!1;if("ar"===SITE_CD||"co"===SITE_CD||"py"===SITE_CD||"mx"===SITE_CD||"uy"===SITE_CD||"br"===SITE_CD)Fa=!0;
1111if(fa){var fb=a.cookies.get("s_ecom_sc_cnt",{domain:P});null!=fb&&""!==fb&&(ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productCountText").val()+" : \x3c/span\x3e"+fb),0===fb?ob.hide():ob.show())}var Ib=a("#multiLanguageYn").val(),yb=a("#localLang").val();null!=yb&&(yb=yb.toLowerCase());var ya="https://sso-stg.us.samsung.com/sso";"prod"===a("#serverType").val()&&(ya="https://sso-us.samsung.com/sso");var gb=[],vc="",oc=a("#hybrisApiJson").val(),Nb=null,ic=null,zb=null,Qb=null,Ua=null,db=null,wc=null,
1112ad=null,Tc=null,Mc=null,bd=null,Oc=null,uc=null,Rb=null,gd=null,Zc=null,Fc=null,cd=null,jc=null,Qc=null,Uc=null,Pc=null,ed=null,Vb=null,yc=null,xc=null,dd=null,id=null,jd=null,Gc=a("#loginValidateYnForGPv2"),Kc=!fnIsNull(a("#mySamsungRewardsTierType").val())&&"none"!=a("#mySamsungRewardsTierType").val(),Jc=a("#updateProfileURL").val();ss.Auth={};Date.prototype.format=function(K){if(!this.valueOf())return" ";var F=this;return K.replace(/(yyyy|MM|dd|HH|mm|ss)/gi,function(U){switch(U){case "yyyy":return F.getFullYear();
1113case "MM":return(F.getMonth()+1).zf(2);case "dd":return F.getDate().zf(2);case "HH":return F.getHours().zf(2);case "mm":return F.getMinutes().zf(2);case "ss":return F.getSeconds().zf(2);default:return U}})};String.prototype.string=function(K){for(var F="",U=0;U++<K;)F+=this;return F};String.prototype.zf=function(K){return"0".string(K-this.length)+this};Number.prototype.zf=function(K){return this.toString().zf(K)};String.prototype.escapeHtml=function(){return this.replace(/</g,"\x26lt;").replace(/"/g,
1114"\x26quot;").replace(/>/g,"\x26gt;").replace(/'/g,"\x26#039;")};var od=function(K,F){K="?$"+K;F=F.toLowerCase();return K=-1<F.indexOf(".jpg")?K+"_JPG$":-1<F.indexOf(".jpeg")?K+"_JPG$":-1<F.indexOf(".png")?K+"_PNG$":-1<F.indexOf(".gif")?K+"_GIF$":K+"_PNG$"};ss.Auth.checkSignInUs=function(K){var F=a.cookies.get("xsdcxyn",{domain:P}),U=a.cookies.get("jwt_"+ia,{domain:P}),V=function(){a.ajax({url:"/aemapi/v6/data-login/callSALogin."+siteCode+".json",type:"GET",dataType:"json",success:function(Ea){200===
1115Ea.statusCode?"N"===Ea.redCookieChk?(f(),g(),K&&"function"==typeof K?K():la()):a.cookies.get("jwt_"+ia,{domain:P})?location.reload(!0):(f(),g(),K&&"function"==typeof K?K():la()):(f(),g(),K&&"function"==typeof K?K():la())},error:function(Ea,Bb,Ma){console.error(Bb);f();g();K&&"function"==typeof K?K():la()}})};if(U){F={jwt:U};var ja=!1;if("us"===siteCode){var ra=a.cookies.get("epp_verified",{domain:P}),sb=a.cookies.get("tmktid",{domain:P}),ta=a.cookies.get("store_id",{domain:P});null!=ra&&(ra=ra.toString(),
1116"true"==ra&&null!=sb&&""!=sb?F.store_id=sb.toString():null!=ta&&""!=ta&&(F.store_id=ta.toString()));a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/jwt/details",type:"POST",async:!1,dataType:"json",data:JSON.stringify({jwt:U}),xhrFields:{withCredentials:!0},success:function(Ea){Ea&&"us"===siteCode&&n(Ea);null==Ea||""===Ea||null==Ea.login_type||"guest_epp_store"!==Ea.login_type&&"referral_url"!==Ea.login_type?
1117a.cookies.set("isUSGuestUser","N"):(ja=!0,a.cookies.set("isUSGuestUser","Y"))}})}ja?K&&"function"==typeof K?K():la():a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/user/validate",type:"POST",dataType:"json",data:JSON.stringify(F),xhrFields:{withCredentials:!0},beforeSend:function(Ea){"Y"===Ib&&Ea.setRequestHeader("x-ecom-locale",yb)},success:function(Ea){200!==Ea.statusCode&&"200"!==Ea.statusCode?V():null!=
1118Ea.user_info.firstname&&""!==Ea.user_info.firstname&&(Ba.addClass("hide"),fnIsNull(Ja)?b(Ea.user_info.firstname,Ea.user_info.lastname,!0,!0):b(Ea.user_info.firstname,Ea.user_info.lastname,!0),-1<window.location.hostname.indexOf("stgwebus")||-1<window.location.hostname.indexOf("p6-pre-qa")||window.location.hostname.indexOf("p6-pre-qa"),"us"!==siteCode||a.cookies.get("rewards_tier",{domain:P})||a.ajax({url:"https://www.samsung.com/us/api/ecom/v4/rewards/reward-points",method:"GET",xhrFields:{withCredentials:!0},
1119crossDomain:!0,headers:{"x-ecom-jwt":a.cookies.get("jwt_USA",{domain:P})}}))},error:function(Ea,Bb,Ma){console.error(Bb);V()}})}else F?V():K&&"function"==typeof K?K():la()};ss.Auth.checkSignIn=function(K,F,U){var V=!1;
1119if(!IS_B2B||null!=hb&&""!=hb&&IS_B2B){var ja=a.cookies.get("xsdcxyn",{domain:P}),ra=a.cookies.get("xsdcbxyn",{domain:P}),sb=a.cookies.get("snsSessionId",{domain:P});if(!IS_B2B&&ja||IS_B2B&&(ra||sb))if(F){if(USE_ESTORE&&!Fa){F="";F=STORE_DOMAIN.split("/")[2];if(L||IS_B2B)F=Ca.split("/")[2];
1120"au"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===SITE_CD||"ae_ar"===SITE_CD||"jp"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"uk"===SITE_CD||"ca"===SITE_CD||"ca_fr"===SITE_CD||"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"my"===SITE_CD||"es"===SITE_CD||"it"===SITE_CD||"pt"===SITE_CD||"sg"===SITE_CD||"eg"==SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"pk"==SITE_CD||
1121"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD||L||IS_B2B?(F="https://"+F+"/"+SITE_CD+"/ng/p4v1/sessionCheck",IS_B2B&&(F=Ca+"/ng/p4v1/sessionCheck")):F="levant"===SITE_CD?"https://"+F+"/jo/ng/p4v1/sessionCheck":"levant_ar"===SITE_CD?"https://"+F+"/jo_ar/ng/p4v1/sessionCheck":"n_africa"===SITE_CD?"https://"+F+"/ma/ng/p4v1/sessionCheck":"https://"+F+"/"+SITE_CD+"/ng/p4v1/getSessionCheck";"tr"===SITE_CD&&(F=STORE_DOMAIN+"/tokocommercewebservices/v2/tr/users/current/sessionCheck");"us"===SITE_CD&&(F=
1122STORE_DOMAIN+"/tokocommercewebservices/v2/us/users/current/sessionCheck");oc?a.ajax({url:F,type:"GET",data:{ssoID:Ja},dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,success:function(ta){K&&"function"==typeof K&&(ta="0000"===ta.resultCode?!0:!1,0==ta&&(e(),U&&la()),K(ta))},error:function(ta,Ea,Bb){}}):a.ajax({url:F,type:"GET",dataType:"jsonp",data:{ssoID:Ja},jsonp:"callback",success:function(ta){K&&"function"==typeof K&&(ta="0000"===ta.resultCode?
1123!0:!1,0==ta&&(e(),U&&la()),K(ta))},error:function(ta,Ea,Bb){}})}}else V=!0,K&&"function"==typeof K&&K(V);else K&&"function"==typeof K&&(K(V),U&&la()),w(!1)}return V};ss.Auth.callSaSignInGate=function(){la()};ss.Auth.getUserProfile=function(K){if(Ga)K&&"function"==typeof K&&K(Ga);else{var F=a.cookies.get("xsdcxyn",{domain:P}),U=a.cookies.get("snsSessionId",{domain:P}),V=a.cookies.get("xsdcbxyn",{domain:P});!IS_B2B&&!F&&U||IS_B2B&&!V&&U?oc?a.ajax({url:STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/getSnsUserInfo?snsSessionId\x3d"+
1124U,type:"GET",dataType:"json",xhrFields:{withCredentials:!0},contentType:"application/x-www-form-urlencoded",crossDomain:!0,beforeSend:function(){},success:function(ja){Ga=ja?{firstName:ja.givenName,lastName:ja.familyName}:null;K&&"function"==typeof K&&K(Ga)},error:function(ja,ra,sb){console.error(ra)}}):a.ajax({url:STORE_DOMAIN+"/"+STORE_SITE_CODE+"/ng/p4v1/getSnsUserInfo?snsSessionId\x3d"+U,type:"GET",dataType:"jsonp",jsonp:"callback",beforeSend:function(){},success:function(ja){Ga=ja?{firstName:ja.givenName,
1125lastName:ja.familyName}:null;K&&"function"==typeof K&&K(Ga)},error:function(ja,ra,sb){console.error(ra)}}):F&&!IS_B2B?(b(mb,eb,!0),Ga={firstName:mb,lastName:eb},reservationUserData={firstName:mb,lastName:eb}):V&&IS_B2B?(F=a.cookies.get("emailId",{domain:P}),b(mb,eb,!0),Ga={firstName:mb,lastName:eb,emailId:F}):(F=function(){console.log("get user profile Success");if(null!=mb||null!=eb){Ga={firstName:mb,lastName:eb};reservationUserData={firstName:mb,lastName:eb};if(IS_B2B){var ja=a.cookies.get("emailId",
1126{domain:P}),ra=a.cookies.get("emailAddrText",{domain:P}),sb=a.cookies.get("phone",{domain:P}),ta=a.cookies.get("userAccount",{domain:P});Ga={firstName:mb,lastName:eb,emailId:ja};reservationUserData={firstName:mb,lastName:eb,emailAddr:ra,phone:sb,userAccount:ta}}if(USE_ESTORE||Da)"vn"===SITE_CD?b("",eb,!0):b(mb,eb,!0)}else Ga=null,(USE_ESTORE||Da)&&b("","",!0);K&&"function"==typeof K&&K(Ga)},"Y"===a("#useLogin").val()&&(USE_ESTORE?ss.EstoreIfQueue.setQueue(F):F()))}};ss.Auth.signOutUs=function(K){pa=
1127K?K:window.location.href;pa=pa.escapeHtml();var F=a.cookies.get("jwt_"+ia,{domain:P});if("us"==siteCode){var U=-1==window.location.hostname.indexOf("www.samsung.com")?"https://us.ecom-stg.samsung.com":"https://www.samsung.com/us/api";K=btoa(window.location.href+"?state\x3d"+Math.random().toString(36).substr(2,11));var V=a("#loginAccountServiceId").val();U+="/v2/sso/user/logout";var ja=-1==window.location.hostname.indexOf("www.samsung.com")?"https://stg-account.samsung.com/accounts/v1/samsung_com_us":
1128"https://account.samsung.com/accounts/v1/samsung_com_us";window.location.href=ja+"/signOutGate?client_id\x3d"+V+"\x26signOutURL\x3d"+U+"\x26state\x3d"+K}else F?(a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Allow-Origin":"*"},url:STORE_DOMAIN+"/v1/sso/user/logout",type:"GET",dataType:"json",xhrFields:{withCredentials:!0},crossDomain:!0,async:!1,beforeSend:function(ra){"Y"===Ib&&ra.setRequestHeader("x-ecom-locale",yb);"us"===siteCode&&ra.setRequestHeader("x-ecom-jwt",
1129F)},success:function(ra){200===ra.statusCode||"200"===ra.statusCode?"us"===siteCode?a.ajax({headers:{"Cache-Control":"no-cache","Content-Type":"application/json","Access-Control-Request-Headers":"access-control-allow-origin","Access-Control-Allow-Origin":"*"},url:ya+"/apiservices/logout",type:"GET",dataType:"jsonp",async:!1,crossDomain:!0,xhrFields:{withCredentials:!0},success:function(sb){window.location.replace("/"+SITE_CD)},error:function(sb,ta,Ea){console.error(ta);a.cookies.del("jwt_"+ia,{domain:P});
1130window.location.replace("/"+SITE_CD)}}):window.location.replace("/"+SITE_CD):a.cookies.del("jwt_"+ia,{domain:P})},error:function(ra,sb,ta){console.error(sb);a.cookies.del("jwt_"+ia,{domain:P});window.location.replace("/"+SITE_CD)},complete:function(){aa()}}),Ba.removeClass("hide"),b("","",!1)):location.href=pa,pa=void 0};ss.Auth.signOut=function(K){pa=K?K:window.location.href;pa=pa.escapeHtml();(USE_ESTORE||Da||Fa||IS_B2B)&&Xa?"au"===SITE_CD||"latin"===SITE_CD||"tw"===SITE_CD||"ru"===SITE_CD||"ae"===
1131SITE_CD||"ae_ar"===SITE_CD||"jp"===SITE_CD||"vn"===SITE_CD||"th"===SITE_CD||"sa"===SITE_CD||"sa_en"===SITE_CD||"nz"===SITE_CD||"uk"===SITE_CD||Da||Fa||"ca"===SITE_CD||"ca_fr"===SITE_CD||"se"===SITE_CD||"dk"===SITE_CD||"fi"===SITE_CD||"no"===SITE_CD||"at"===SITE_CD||"my"===SITE_CD||("es"===SITE_CD||"it"===SITE_CD)&&-1<STORE_DOMAIN.indexOf("https://")||"pt"===SITE_CD||"sg"===SITE_CD||"za"==SITE_CD||"hk"==SITE_CD||"hk_en"==SITE_CD||"hu"==SITE_CD||"eg"==SITE_CD||"levant"==SITE_CD||"levant_ar"==SITE_CD||
1132"n_africa"==SITE_CD||"pk"==SITE_CD||"ch"==SITE_CD||"ch_fr"==SITE_CD||"il"==SITE_CD||L||IS_B2B?(aa(),d(!1)):(h(),clearInterval(Ab),location.href=STORE_DOMAIN+"/"+SITE_CD+"/ng/logout?goUrl\x3d"+encodeURIComponent(pa)):location.href=pa;pa=void 0;Ga=null};ss.Auth.setCartEl=function(K){K=a(".js-global-cart-btn");var F=a("#pageTrack").val();K.each(function(){a(this).hasClass("js-has-carturl")&&a(this).attr("an-tr","nv00_gnb-"+F+"-gnb cart icon-navigation6")});K.removeClass("js-layer-open");K.removeAttr("data-target-popup");
1133var U=K.data("cart-url");K.attr("href",U)};ss.Auth.getGlobalCartCount=function(K){function F(V){var ja=!1,ra=0;L||ca||ba||IS_B2B?V?(V=parseInt(V),!isNaN(V)&&0<V?(ra=99<V?99:V,ja=!0):ja=!1):ja=!1:V?"0000"===V.resultCode?(ra=99<parseInt(V.cartCount)?99:parseInt(V.cartCount),0<ra&&(ja=!0)):ja=!1:ja=!1;
1133ja?(ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productCountText").val()+" : \x3c/span\x3e"+ra),ob.show()):(ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productCountText").val()+" : \x3c/span\x3e0"),ob.hide());
1134ss.Auth.setCartEl(ja);K&&"function"==typeof K&&K(V)}function U(V){if(V)estore.getCartCount(F);else{IS_EPP&&ss.cookies.del("everAddCart",{path:"/"+siteCode,domain:P});V=ss.cookies.get("everAddCart",{domain:P});if("br"===SITE_CD||"ar"===SITE_CD||"mx"===SITE_CD||"co"===SITE_CD||"py"===SITE_CD||"uy"===SITE_CD)V="Y";"sec"!==SITE_CD||void 0!==V&&null!==V||(V="N");"Y"===V?estore.getCartCount(F):(ob.html('\x3cspan class\x3d"hidden"\x3e'+a("#productCountText").val()+" : \x3c/span\x3e0"),ob.hide(),ss.Auth.setCartEl(!1))}}
1135USE_ESTORE&&"Y"!==a.cookies.get("estoreLoginRequesting",{domain:P})&&(IS_EPP?window.sg.epp.common.isLogged?U(!0):U(!1):ss.Auth.checkSignIn(U))};ss.Auth.setReturnURL=function(K){};zb=a("#joinForm");Qb=a("#findAccountForm");Ua=a("#signInForm");db=a("#signOutForm");ic=a("#loginLayerPopup");Fc=a("#email");cd=a("#password");jc=a("#save-mail");Qc=a("label[for\x3d'save-mail']");Uc=a("#errorId");Pc=a("#errorPw");wc=a("input[type\x3d'submit'].sign-in__btn-submit");ad=a(".sign-in__btn-submit__black");Tc=a(".sign-in__form-forgot-password a");
1136Mc=a("#signToggleArrow");ed=a("#loginLayerPopup .login-close-btn");bd=a(".login-leave-btn");Vb=a("#layerPrivacy");fa&&(Vb=a("#layerPrivacyGPV2"));yc=a("#layerPreference");xc=a("#confirmPopup");dd=a("#privacyBtn",Vb);Oc=a("#privacy-terms",Vb);uc=a("#privacy-terms2",Vb);Rb=a("#privacy-terms3",Vb);gd=a("#privacy-terms4",Vb);Zc=a("#errorPrivacy",Vb);id=a("#preferenceCheckBtn",yc);jd=a("#privacyCloseBtn");IS_EPP?ha():(wa(),H())}})(jQuery);new ss.Sign;
1137(function(){window.AEMapp=window.AEMapp||{};window.AEMapp.eppStore=window.AEMapp.eppStore||{};window.AEMapp.eppStore.isRealEppUser=function(){var n=$.cookies.get("jwt_USA"),e=$.cookies.get("tmktid"),b=$.cookies.get("taccessrtype")||"";return!!n&&!!e&&~b.toLowerCase().indexOf("email")};window.AEMapp.eppStore.isUnverifiedEppUser=function(){var n=$.cookies.get("tmktid"),e=$.cookies.get("taccessrtype")||"";return!!$.cookies.get("jwt_USA")&&!!n&&-1==e.toLowerCase().indexOf("email")};window.AEMapp.eppStore.setEppStoreCookie=
1138function(n){var e=n&&n.store_info,b={path:"/",domain:".samsung.com"};$.cookies.set("jwt_USA",n.jwt,b);$.cookies.set("epp_verified",n.epp_verified,b);$.cookies.set("tmktname",e.store_disp_name,b);$.cookies.set("tmktid",e.store_id,b);$.cookies.set("tlgimg",e.image_logo_url,b);$.cookies.set("tppid",e.legacy_plan_id,b);$.cookies.set("tsgmt",e.store_segment,b)};window.AEMapp.eppStore.clearEppStoreCookie=function(){var n={path:"/",domain:".samsung.com"};$.cookies.del("tmktname",n);$.cookies.del("tmktid",
1139n);$.cookies.del("tlgimg",n);$.cookies.del("tppid",n);$.cookies.del("tsgmt",n);$.cookies.del("epp_verified",n)};window.AEMapp.eppStore.getEcomURL=function(){var n="https://www.samsung.com/us/api/ecom";~window.location.href.indexOf("stgwwwus")&&(n="https://us.ecom-qa.samsung.com");~window.location.href.indexOf("stgwebus")&&(n="https://us.ecom-stg.samsung.com");return n};window.AEMapp.eppStore.getEppStore=function(){return new Promise(function(n,e){$.ajax({url:"/us/smg/content/samsung/content-library/prepurchase/eppdiscount/epp-discount.json",
1140method:"GET",success:function(b){n(b)},error:function(b){n({eppDiscounts:[{storeId:"4789741110",label:"Education Discounts"},{storeId:"654345",label:"First Responders Discounts"},{storeId:"4789760945",label:"Government Discounts"},{storeId:"3485000",label:"Workplace Discounts"},{storeId:"4789760940",label:"Military Discounts"}]})}})})};window.AEMapp.eppStore.exitStore=function(){$.cookies.get("jwt_USA")&&$.ajax({url:window.AEMapp.eppStore.getEcomURL()+"/v1/sso/user/private-store/exit-store",method:"GET",
1141headers:{"x-ecom-jwt":$.cookies.get("jwt_USA")},success:function(n){n&&n.jwt?$.cookies.set("jwt_USA",n.jwt,{path:"/",domain:".samsung.com"}):$.cookies.del("jwt_USA",{path:"/",domain:".samsung.com"})},fail:function(){$.cookies.del("jwt_USA",{path:"/",domain:".samsung.com"})}});window.AEMapp.eppStore.clearEppStoreCookie()};window.AEMapp.eppStore.updateGNBCartSaving=function(){function n(e,b){_.each(e,function(d){b=((100*d.line_item_cost.unit_list_price-100*d.line_item_cost.unit_price)/100*1E5*d.quantity/
11421E3+100*b)/100;d.line_items&&0<Object.keys(d.line_items).length&&(b=n(d.line_items,b))});return b}($.cookies.get("remoteId")||$.cookies.get("xsdcxyn"))&&$.cookies.get("tppid")&&
11421<=$.cookies.get("s_ecom_sc_cnt")?$.ajax({type:"POST",url:window.AEMapp.eppStore.getEcomURL()+"/v4/shopping-carts/fetch-cart",headers:{"x-ecom-jwt":$.cookies.get("jwt_USA"),"x-ecom-app-id":"temp"},contentType:"application/json",data:JSON.stringify({}),xhrFields:{withCredentials:!0,crossDomain:!0}}).then(function(e){(e=n(e.line_items,
11430))&&(0<$(".epp-bar-save").length?$(".epp-bar-save").html("You will save \x3cb\x3e$"+e.toFixed(2)+"\x3c/b\x3e on this purchase."):$(".epp-bar-msg").after('\x3cspan class\x3d"epp-bar-save"\x3eYou will save \x3cb\x3e$'+e.toFixed(2)+"\x3c/b\x3e on this purchase.\x3c/span\x3e"))}):$(".epp-bar-save").remove()};window.AEMapp.eppStore.updateEppGNB=function(n,e){var b={education:"/us/shop/discount-program/education/","first responder":"/us/shop/discount-program/first-responders/",government:"/us/shop/discount-program/government/",
1144employee:"/us/shop/discount-program/workplace/",military:"/us/shop/discount-program/military/"}[($.cookies.get("tsgmt")||"").toLowerCase()]||"/us/shop/discount-program/",d=$(".epp-bar-wrap");d.show();d.addClass("gnb-edited");var l=d.find(".epp-bar-msg");l.empty();var q=d.find(".benfit-wrap");q.empty();var t=d.find(".epp-bar-logo");t.empty();$.cookies.get("tlgimg")&&($(".epp-bar-logo img").remove(),t.append("\x3cimg src\x3d"+$.cookies.get("tlgimg")+" /\x3e"));window.EcommFlutterClient&&(window.EcommFlutterClient.onmessage=
1145function(w){w=JSON.parse(w.data);var x=w.data.status;"isSignedInStatus"===w.name&&(window.isShopSignedIn=x)},window.EcommFlutterClient.postMessage(JSON.stringify({name:"isSignedIn",params:{callbackEvent:"isSignedInStatus"}})));$.cookies.get("remoteId")||$.cookies.get("xsdcxyn")||window.isShopSignedIn?l.append('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+n+" Store!\x3c/div\x3e Please enjoy our special offers for you."):"900297"==$.cookies.get("tmktid")||"4789760653"==$.cookies.get("tmktid")?
1146l.append('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+n+" Store!\x3c/div\x3e"):l.append('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+n+' Store!\x3c/div\x3e Please \x3ca href\x3d"#" class\x3d"epp-login"\x3elogin\x3c/a\x3e to access your special pricing.');"900297"!=$.cookies.get("tmktid")&&"4789760653"!=$.cookies.get("tmktid")&&q.append('\x3ca class\x3d"benfit-wrap__offers" href\x3d"'+b+'"\x3eSPECIAL OFFERS\x3c/a\x3e\x3cspan class\x3d"benfit-wrap__gap"\x3e\x3c/span\x3e\x3ca class\x3d"benfit-wrap__exit"\x3eEXIT STORE\x3c/a\x3e');
1147d.find(".epp-login").click(function(w){w.preventDefault();$(".nv00-gnb-v4__utility-menu.loginBtn").trigger("click")});q.find(".benfit-wrap__exit").click(function(){window.AEMapp.eppStore.exitStore();$(document).trigger("exit__store");$(".epp-bar-wrap").hide();$(".epp-bar-wrap").find(".epp-bar-msg").empty();$(".epp-bar-wrap").find(".epp-bar-logo").empty();$(".epp-bar-wrap").find(".benfit-wrap").empty()});($.cookies.get("remoteId")||$.cookies.get("xsdcxyn"))&&$.cookies.get("tppid")&&1<=$.cookies.get("s_ecom_sc_cnt")&&
1148window.AEMapp.eppStore.updateGNBCartSaving();n=d.find(".benfit-wrap__exit");n.attr("an-tr","epp discount-"+e+"-text-link");n.attr("an-ca","content click");n.attr("an-ac","feature");n.attr("an-la","epp:bar:exit store");n=d.find(".benfit-wrap__offers");n.attr("an-tr","epp discount-"+e+"-text-link");n.attr("an-ca","content click");n.attr("an-ac","feature");n.attr("an-la","epp:bar:special offer");window.location.href.includes("us/business")&&d.hide()};if("us"===siteCode&&!window.location.href.includes("us/business"))if($.cookies.get("tmktid")||
1149$.cookies.get("tppid")){var a=$.cookies.get("xsdcxyn")||$.cookies.get("remoteId"),m=$.cookies.get("tlgimg"),k=$.cookies.get("tmktname");if(k)if(window.AEMapp&&window.AEMapp.eppStore&&window.AEMapp.eppStore.isUnverifiedEppUser()&&!window.isSaLogin)window.AEMapp.eppStore.updateEppGNB(k,window.digitalData&&window.digitalData.page&&window.digitalData.page.pageInfo&&window.digitalData.page.pageInfo.pageTrack||"");else{if(a){var f=$.cookies.get("guid",{domain:".samsung.com"});a=$.cookies.get("flpe",{domain:".samsung.com"});
1150var g={};if(a&&f){g=$("#cck").val();var h=CryptoJS.enc.Utf8.parse(g);
1150f=(CryptoJS.AES.encrypt(f,h,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7})+g).substring(0,32);f=CryptoJS.enc.Utf8.parse(f);a=CryptoJS.AES.decrypt(a,f,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7});a=CryptoJS.enc.Utf8.stringify(a);g=JSON.parse(decodeURIComponent(a))}a=(a=g.firstName)?a:$.cookies.get("tmktname");$(".epp-bar-logo img").remove();m&&$(".epp-bar-logo").append('\x3cimg src\x3d"'+m+'"/\x3e');"null"!=a&&(window.isSaLogin||
1151window.isShopSignedIn)?$(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+k+" Store.\x3c/div\x3e Please enjoy our special offers for you"):$(".epp-bar-msg").html('Welcome \x3cdiv class\x3d"epp-bar-username"\x3e'+k+'!\x3c/div\x3e Please \x3ca href\x3d"#" id\x3d"openLogin" style\x3d"color:#1428a0;font-weight: bold"\x3elogin\x3c/a\x3e to enjoy our special offers for you')}else a&&"4145500"===$.cookies.get("tmktid")&&"17593200"===$.cookies.get("tppid")?($(".epp-bar-logo img").remove(),
1152m&&$(".epp-bar-logo").append('\x3cimg src\x3d"'+m+'"/\x3e'),$(".epp-bar-msg").html("Welcome to Samsung's Friends and Family Store! Enjoy special pricing. Please \x3ca href\x3d'#' id\x3d'openLogin' style\x3d'font-size:12px;font-weight: bold'\x3elogin/signup\x3c/a\x3e to make a purchase.")):"900297"==$.cookies.get("tmktid")||"4789760653"==$.cookies.get("tmktid")?($(".epp-bar-logo img").remove(),m&&$(".epp-bar-logo").append('\x3cimg src\x3d"'+m+'"/\x3e'),$(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username"\x3e'+
1153k+" Store!\x3c/div\x3e")):($(".epp-bar-logo img").remove(),m&&$(".epp-bar-logo").append('\x3cimg src\x3d"'+m+'"/\x3e'),$(".epp-bar-msg").html('Welcome to the \x3cdiv class\x3d"epp-bar-username" style\x3d"color:#1428a0;"\x3e'+k+" Store!\x3c/div\x3e Please \x3ca href\x3d'#' id\x3d'openLogin' style\x3d'color:#1428a0;font-weight: bold'\x3elogin\x3c/a\x3e to enjoy our special pricing."),$("#openLogin").click(function(n){n.preventDefault();$(".gnb-login").trigger("click")}));$(".epp-bar-wrap").slideDown();
1154window.AEMapp&&window.AEMapp.eppStore&&window.AEMapp.eppStore.updateGNBCartSaving()}else $(".epp-bar-wrap").hide()}else $(".epp-bar-wrap").hide()})();
1155(function(a,m){function k(g,h){var n={};n.cid=g;n.utm_source=h;m.ajax({type:"GET",data:n,url:"/aemapi/v6/business/common/campaignCookie",success:function(e,b,d){console.log("call success")}})}var f=function(){var g=m("#typeCodeForGNB").val(),h=m("#groupCodeForGNB").val();m(".js-gnb-menu-btn");if(!fnIsNull(g)||!fnIsNull(h)){var n=m(".gnb__depth2-menu").filter("[data-type-code\x3d'"+g+"']");fnIsNull(n)&&(n=m(".gnb__depth2-menu").filter("[data-group-code\x3d'"+h+"']"));fnIsNull(n)||n.each(function(e){0===
1156e&&(n.closest(".gnb__depth1-menu").addClass("active-first"),n.addClass("active-second"))})}};m(function(){f();var g="Y"===m("#b2bFlag").val()?!0:!1,h=m("#siteCode").val();if(g&&("nl"===h||"be"===h||"be_fr"===h)){var n=new URLSearchParams(location.search);g=n.get("cid");h=n.get("utm_source");var e=n.get("utm_medium");n=n.get("utm_campaign");console.log("cid\x3d["+g+"]");console.log("utm_source\x3d["+h+"]");null!=g&&null!=h&&""!=g&&""!=h&&null!=e&&null!=n&&""!=e&&""!=n&&2<g.length&&2<h.length&&(e=cookies.getCookie("cid"),
1157n=cookies.getCookie("utm_source"),console.log("cookieCidString\x3d["+e+"]"),console.log("cookieUtmSourceString\x3d["+n+"]"),null!=e&&null!=n&&""!=e&&""!=n?e!=g&&n!=h&&k(g,h):(console.log("cookieCid, cookieUtmSourceString is empty~"),k(g,h)))}});m("div.s-page-error div.s-page-error__wrap a.s-link-text").on("click",function(){if(-1<location.pathname.indexOf("/"+m("#siteCode").val()+"/multistore/")){var g=location.pathname.substring(location.pathname.indexOf("/"+m("#siteCode").val()+"/multistore/"),
1158location.pathname.length).split("/");4<g.length&&g[4]&&m(this).attr("href","/"+m("#siteCode").val()+"/multistore/"+g[3])}})})(window,$);
1159(function(){if("us"===siteCode){var a=$("#storeDomain").val(),m=$("#isUSPFpage").val(),k=$("#hybrisApiJson").val(),f=window.location.pathname;!k||f.includes("/us/multistore")||f.includes("/us/business")||f.includes("/us/support")||commonLoginCheck()&&("/us/"===f||"/us/shop/"===f||"/us/offer/"===f||f.includes("/us/shop/offer-program/")||"Y"===m)&&fetch(a+"/tokocommercewebservices/v2/us/users/current/eppEligibility",{method:"POST",credentials:"include",headers:{"Content-Type":"application/json"},body:JSON.stringify({email:""})}).then(function(g){return g.json()}).then(function(g){!0===
1160(null==g?void 0:g.eligible)&&(null==g?0:g.multistoreLoginUrl)&&(null==g?0:g.multistoreUrl)&&(null==g||!g.multistoreUrl.includes("/us/business"))&&(window.location.href=g.multistoreLoginUrl)}).catch(function(g){console.error("EPP Eligibility API Error:",g)})}})();function getNextApiDomain(){return STORE_DOMAIN}
1161function updateTotalCartCount(a){/^[0-9]+$/.test(a)||(a=0);99<a&&(a=99);$(".gnb-cart-count").html('\x3cspan class\x3d"hidden"\x3e'+$("#productCountText").val()+" : \x3c/span\x3e"+a);0<a?($(".gnb-cart-count").show(),ss.Auth.setCartEl(!0)):($(".gnb-cart-count").hide(),ss.Auth.setCartEl(!1))}function hideMiniCart(){navigation.miniCartHide()}
1162function nextViewPopup(a){a=$("#"+a.split("#")[1]);$(".layer_popup, .layer_popup_ng").hide();a.parent().show();$(".lightbox-skrim").show();var m=document.getElementById(a.attr("id"));setTimeout(function(){m.popAlign()},100);return!1}function hidePopup(){$(".layer_popup, .layer_popup_ng").hide();$(".lightbox-skrim").hide();return!1}
1163function viewGlovalMessagePopup(a){var m=$("#gloval_message_popup");m.find(".msg-text").text(a);m.find(".button").attr("tabindex","1");m.find(".button").attr("data-focus-id","shop-popover-ok");m.find(".button").attr("data-tab-next","shop-popover-close");m.find(".icon-close-x").attr("data-tab-next","shop-popover-ok");m.attr("data-tab-next","nav-cart-link");m.find(".button").focus();nextViewPopup("#"+m.attr("id"));m.find(".button").focus();m.find(".pop-btn\x3e.button").click(function(){hidePopup();
1164$(".cartbutton.item").focus();return!1})}function getProtocal(){return document.location.href.split("://")[0]}
1165(function(){var a=window.sg.common.$q,m=window.sg.common.utils,k=function(g){this.selector={gnbMenu:".gnb__depth1-menu.has-depth-menu .gnb__depth1-link, .gnb__depth2-menu.has-depth-menu .gnb__depth2-link"};this.el={window:a(window),component:a(g)};this.handler={resize:this.resize.bind(this)};k.instances.set(g,this);this.setElements();this.init()};k.prototype.setElements=function(){this.el.gnbMenu=this.el.component.find(this.selector.gnbMenu);this.breakpoint=1279;this.mobileFlag=this.desktopFlag=!1};
1166k.prototype.init=function(){this.bindEvents();this.resize()};k.prototype.reInit=function(){this.setElements();this.bindEvents();this.resize()};k.prototype.removeTagging=function(){this.el.gnbMenu.removeAttr("an-tr");this.el.gnbMenu.removeAttr("an-la");this.el.gnbMenu.removeAttr("an-ca");this.el.gnbMenu.removeAttr("an-ac")};k.prototype.setTagging=function(){this.el.gnbMenu.target.forEach(function(g){var h=a(g);g=void 0!==g.dataset.engname?g.dataset.engname:"";var n=h.hasClass("gnb__depth1-link")?"nv00_gnb--click-depth1":
1167"nv00_gnb--click-depth2";h.attr("an-tr",n);h.attr("an-la",g);h.attr("an-ca","navigation");h.attr("an-ac","gnb")})};k.prototype.resize=function(){this.breakpoint<m.getViewPort().width?!1===this.desktopFlag&&(this.desktopFlag=!0,this.mobileFlag=!1,this.removeTagging()):!1===this.mobileFlag&&(this.mobileFlag=!0,this.desktopFlag=!1,this.setTagging())};k.prototype.bindEvents=function(){this.el.window.off("resize",this.handler.resize).on("resize",this.handler.resize)};k.instances=new WeakMap;var f=function(){a(".gnb").target.forEach(function(g){k.instances.has(g)||
1168new k(g)})};a.ready(f);window.sg.components.gnbTagging={init:f,reInit:function(){a(".gnb").target.forEach(function(g){k.instances.has(g)?k.instances.get(g).reInit():new k(g)})}}})();
1169(function(){function a(){m(e.section).target.forEach(function(d){b.instance.has(d)||new b(d)})}var m=window.sg.common.$q,k=window.sg.common.lazyLoad,f=window.sg.common.utils.setMobileFocusLoop,g=window.sg.common.utils.removeMobileFocusLoop,h=window.sg.common.swiperManager,n=window.sg.common.utils,e={section:".srd19-gnb-search"},b=function(d){this.selector={focusLoopingStart:".srd19-gnb-search__looping--start",focusLoopingEnd:".srd19-gnb-search__looping--end",searchInput:".srd19-gnb-search__input",
1170searchInputWrap:".srd19-gnb-search__input-wrap",btnSearch:".nv00-gnb-v3__utility-btn",btnClose:".srd19-gnb-search__close",dim:".srd19-gnb-search__dimmed",searchList:".srd19-gnb-search__list-swiper",searchItem:".srd19-gnb-search__list-item",contentsWrap:".srd19-gnb-search__contents",chipLink:".srd19-gnb-search__list-link",chipRemove:".srd19-gnb-search__list-link-remove"};this.class={searchShowClass:"srd19-gnb-search--show",searchCloseClass:"srd19-gnb-search--close",searchShowBodyClass:"srd19-gnb-search--layer-open",
1171searchInputOverflowClass:"srd19-gnb-search__input--overflow",searchInputMa
1171x:"srd19-gnb-search__input--max",listWrapHide:"srd19-gnb-search__list-wrap--hide"};this.el={window:m(window),body:m("body"),section:m(d)};this.returnFocusEl=!1;this.wasListSwiperFlag=window.innerWidth;this.handler={handleInputText:this.handleInputText.bind(this),handleResize:n.bindRaf(this.handleResize.bind(this)),close:this.close.bind(this)};this.init();b.instance.set(d,this)};b.prototype.init=function(){this.setElements();
1172this.bindEvents()};b.prototype.reInit=function(){this.init();this.loadImages()};b.prototype.setElements=function(){this.el.searchInput=this.el.section.find(this.selector.searchInput);this.el.searchInputWrap=this.el.section.find(this.selector.searchInputWrap);this.el.btnClose=this.el.section.find(this.selector.btnClose);this.el.focusLoopingStart=this.el.section.find(this.selector.focusLoopingStart);this.el.focusLoopingEnd=this.el.section.find(this.selector.focusLoopingEnd);this.el.dim=this.el.section.find(this.selector.dim);
1173this.el.searchList=this.el.section.find(this.selector.searchList);this.el.contentsWrap=this.el.section.find(this.selector.contentsWrap)};b.prototype.bindEvents=function(){this.el.searchInput.off("input",this.handler.handleInputText).on("input",this.handler.handleInputText);this.el.btnClose.off("click",this.handler.close).on("click",this.handler.close);this.el.window.off("resize",this.handler.handleResize).on("resize",this.handler.handleResize)};b.prototype.show=function(d){var l=this;this.returnFocusEl=
1174d;this.el.body.addClass(this.class.searchShowBodyClass);this.el.section.css({display:"block"});f(this.el.section.target[0]);this.el.section.setLayerFocus(this.selector.focusLoopingStart,this.selector.focusLoopingEnd);this.el.section.find(".layer-popup__looping--first,.layer-popup__looping--end").attr("aria-hidden",!0);if(m(".nv00-gnb-v3").target.length&&"mobile"===window.sg.components.nv00GnbV3.getCurrentDevice()){d=m(".nv00-gnb-v3__inner-wrap");var q=m(".nv00-gnb-v3__close-btn");d.hasClass("show")&&
1175q.trigger("click")}else m(".nv00-gnb-v4").target.length&&"mobile"===window.sg.components.Nv00GnbV4.getCurrentDevice()&&(d=m(".nv00-gnb-v4"),q=m(".nv00-gnb-v4__close-btn"),d.hasClass("nv00-gnb-v4--show")&&q.trigger("click"));this.el.section.addClass(this.class.searchShowClass);this.loadImages();this.el.dim.off("click").on("click",function(){l.close()});setTimeout(function(){l.el.searchInput.focus();l.setSearchListSwiper(!0)},500)};b.prototype.close=function(){function d(){l.el.body.removeClass(l.class.searchShowBodyClass);
1176l.el.section.off("transitionend",d);setTimeout(function(){l.el.section.css({display:"none"});l.el.section.removeClass(l.class.searchCloseClass);l.returnFocusEl&&l.returnFocusEl.focus()},500)}var l=this;this.el.section.on("transitionend",d);this.el.section.addClass(this.class.searchCloseClass);this.el.section.removeClass(this.class.searchShowClass);this.el.dim.off("click");g();this.el.section.offLayerFocus()};b.prototype.loadImages=function(){this.el.section.find(".image").target.forEach(function(d){k.setLazyLoadManually(d)})};
1177b.prototype.handleResize=function(){this.handleInputText();this.setSearchListSwiper()};b.prototype.handleInputText=function(){var d=this.el.searchInput.target[0];150<=d.value.length?this.el.searchInputWrap.addClass(this.class.searchInputMax):this.el.searchInputWrap.removeClass(this.class.searchInputMax);d.scrollLeft?this.el.searchInputWrap.addClass(this.class.searchInputOverflowClass):this.el.searchInputWrap.removeClass(this.class.searchInputOverflowClass)};b.prototype.setSearchListSwiper=function(d){var l=
1178this;if(1280>window.innerWidth!==this.wasListSwiperFlag||(void 0===d?0:d))this.wasListSwiperFlag=1280>window.innerWidth,this.el.searchList.target.forEach(function(q){if(!q.classList.contains(l.class.listWrapHide)){var t=h.getSwiper(q);1280<=window.innerWidth?(h.destroy(l.el.searchList.target[0]),l.el.searchList.find(l.selector.chipLink+", "+l.selector.chipRemove).removeAttr("tabindex")):setTimeout(function(){void 0===t?h.slideInit(q):h.slideReInit(q);h.slideUpdate(q);if((t=h.getSwiper(q))&&!t.destroyed){var w=
1179l.el.contentsWrap.offset(),x=function(){l.el.searchList.find(".swiper-slide").target.forEach(function(B){var D=m(B).offset();D.left>=w.left&&D.right<w.right?m(B).find("a, button").removeAttr("tabindex"):m(B).find("a, button").attr("tabindex","-1")})};x();t.on("transitionEnd",function(){x()})}},500)}})};b.instance=new WeakMap;window.sg.components.GnbSearchV25={init:a,reInit:function(){m(e.section).target.forEach(function(d){b.instance.has(d)?b.instance.get(d).reInit():new b(d)})},show:function(d){d=
1180void 0===d?!1:d;m(e.section).target.forEach(function(l){b.instance.has(l)&&b.instance.get(l).show(d)})},setSearchListSwiper:function(){m(e.section).target.forEach(function(d){b.instance.has(d)&&b.instance.get(d).setSearchListSwiper(!0)})}};m.ready(a)})();
1181(function(a){function m(){Da.gnbSearchRecent.addClass("srd19-gnb-search__list-wrap--hide");Da.gnbSearchSuggested.addClass("srd19-gnb-search__list-wrap--hide");Da.gnbSearchAISuggested.addClass("srd19-gnb-search__list-wrap--hide");Da.gnbSearchNoSuggestions.addClass("srd19-gnb-search__list-wrap--hide");Da.gnbSearchPopular.addClass("srd19-gnb-search__list-wrap--hide")}function k(){m();d();Da.gnbSearchRecent.removeClass("srd19-gnb-search__list-wrap--hide")}function f(){m();0<Ia.length&&(d(),Da.gnbSearchPopular.removeClass("srd19-gnb-search__list-wrap--hide"));
1182Tb&&Wb&&Da.gnbSearchAISuggested.removeClass("srd19-gnb-search__list-wrap--hide")}function g(){f();Da.gnbSearchNoSuggestions.removeClass("srd19-gnb-search__list-wrap--hide")}function h(){"us"===Ba?(Da.gnbSearchRelatedThumb.addClass("srd19-gnb-search__list-wrap--hide"),window.RECOMMENDATIONS_DATA&&Da.gnbSearchRecommendedThumb.removeClass("srd19-gnb-search__list-wrap--hide"),u&&Da.gnbSearchRecommendedThumb.removeClass("srd19-gnb-search__list-wrap--hide")):(Da.gnbSearchRelatedThumb.addClass("srd19-gnb-search__list-wrap--hide"),
1183Da.gnbSearchRecommendedThumb.removeClass("srd19-gnb-search__list-wrap--hide"))}function n(){Da.gnbSearchRecommendedThumb.addClass("srd19-gnb-search__list-wrap--hide");Da.gnbSearchRelatedThumb.removeClass("srd19-gnb-search__list-wrap--hide")}function e(){Da.gnbSearchRecommendedThumb.addClass("srd19-gnb-search__list-wrap--hide")}function b(){Da.gnbSearchRelatedThumb.addClass("srd19-gnb-search__list-wrap--hide")}function d(){if(0<sc.length){var L="";a.each(sc,function(ca,ba){L+='\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e';
1184L+='   \x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent("us"===Ba?J(ba):M(ba))+hb("recentsearch")+'" an-tr\x3d"srd19_gnb search-'+vb+'-search history-search" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"search history:'+(ca+1+"_"+S(ba))+'"\x3e';L+='       \x3cspan class\x3d"srd19-gnb-search__list-link-text"\x3e\x3cstrong\x3e'+ba+"\x3c/strong\x3e\x3c/span\x3e";L+="   \x3c/a\x3e";L+="\x3c/li\x3e"});Da.gnbSearchRecent.find("ul").html(L)}}function l(L){var ca,ba,fa,ka,
1185ia,Ca,Fa,fb,Ib,yb,ya,gb,vc,oc,Nb,ic,zb,Qb;return $jscomp.asyncExecutePromiseGeneratorProgram(function(Ua){switch(Ua.nextAddress){case 1:return ca=Ba+":"+Math.floor((new Date).getTime()/1E3)+":"+Math.floor(1E5+9E5*Math.random()),ia=ka=fa=ba="",Ua.setCatchFinallyBlocks(2),Ua.yield(alloy("getIdentity").then(function(db){return db.identity.ECID}),4);case 4:ia=Ua.yieldResult;Ua.leaveTryBlock(3);break;case 2:Ua.enterCatchBlock(),ia="";case 3:Ca=".samsung.com","cn"===Ba&&(Ca=".samsung.com.cn"),commonLoginCheck()&&
1186(ba=a.cookies.get("guid",{domain:Ca}
1186),(Fa=a.cookies.get("dcgue",{domain:Ca}))?(Fa=decodeURIComponent(Fa),window.localStorage.setItem("dcgue",encodeURIComponent(Fa)),a.cookies.del("dcgue",{domain:Ca})):window.localStorage.getItem("dcgue")&&(Fa=window.localStorage.getItem("dcgue"),Fa=decodeURIComponent(Fa)),fb=a.cookies.get("encGuid",{domain:Ca}),Fa&&fb&&(Ib=fb.substring(4,36).toLowerCase(),yb=CryptoJS.enc.Utf8.parse(Ib),ya=CryptoJS.AES.decrypt(Fa,yb,{mode:CryptoJS.mode.ECB,padding:CryptoJS.pad.Pkcs7}),
1187ba=CryptoJS.enc.Utf8.stringify(ya)),gb=function(){a.ajax({url:"/aemapi/v6/data-login/getidentity."+Ba+".json",type:"GET",data:{siteCode:Ba,return_url:window.location.href,enc:fb},dataType:"json",async:!1,timeout:1E4,success:function(db){200===db.statusCode&&(ba=db.identity)}})},ba||gb(),fa=a.cookies.get("sa_id",{domain:Ca}),ka=a.cookies.get("s_ecid",{domain:Ca})),vc=a.cookies.get("cmapi_cookie_privacy",{domain:Ca}),oc=cookies.getCookie("recent_list"),Nb=[],a.each(cookies.getCookies(),function(db,
1188wc){-1!=db.indexOf("AMCV_")&&Nb.push(wc.toString())}),ic=window.location.href,zb={requestId:ca,country:Ba,num:Ab.recommend},Qb={pageType:"search",guid:ba,ecid:ia,saId:fa,visitorId:ka,visitorIdList:Nb,consent:vc,recentList:oc,targetModel:"",rewardPoint:"",url:ic},checkEppSite()&&(zb.siteType="epp",Qb.eppStoreName=window.sg.epp.common.companyCode),a.ajax({headers:zb,url:"https://api-recommender.bigdata.samsung.com/prodrec/recommendation",type:"POST",data:JSON.stringify(Qb),contentType:"application/json; charset\x3dutf-8",
1189dataType:"json",xhrFields:{withCredentials:!0},cache:!0,timeout:2E4}).done(function(db){db.code&&200===db.code&&db.recommendations&&0<db.recommendations.length&&q(db.recommendations,db.requestId)}).fail(function(db){console.log("error::"+db)}),Ua.jumpToEnd()}})}function q(L,ca){var ba="";L.forEach(function(fa,ka){var ia=fa.product.modelList.find(function(Ca){return"Y"===Ca.selected});ka<Ab.recommend&&(checkEppSite()&&(ia.pdpUrl=ia.pdpUrl.replace("feature.","buy.")),ia.promotionPriceDisplay&&(ia.priceDisplay=
1190ia.promotionPriceDisplay),ba+='\x3cli class\x3d"srd19-gnb-search__thumb-item"\x3e\n                  \x3ca href\x3d"'+ia.pdpUrl+'" class\x3d"srd19-gnb-search__thumb-link" role\x3d"menuitem" an-tr\x3d"srd19_gnb search-'+vb+'-recommended product click-search4" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"recommended:'+fa.recType+":card"+(ka+1)+"_"+fc(ia.displayName)+':product click"\n                  data-modelcode\x3d"'+ia.modelCode+'" data-modelname\x3d"'+ia.modelName+'" data-modeldisplay\x3d"'+
1191qa(ia.displayName)+'" data-modelprice\x3d"'+ia.price+'" data-modelrevenue\x3d"'+ia.promotionPrice+'"\n                  data-pvitype\x3d"'+ia.pviTypeName+'" data-pvisubtype\x3d"'+ia.pviSubtypeName+'" data-requested\x3d"'+ca+'"\x3e\n                    \x3cdiv class\x3d"srd19-gnb-search__thumb-image"\x3e\n                      \x3cdiv class\x3d"image"\x3e\n                        \x3cimg class\x3d"image__main '+("us"===Ba?"us-image":"")+' lazy-load-man responsive-img hover-scale" data-desktop-src\x3d"'+
1192(ia.thumbUrl+'?$200_200_PNG$" data-mobile-src\x3d"')+(ia.thumbUrl+'?$140_140_PNG$" alt\x3d"" role\x3d"img" data-comp-name\x3d"image"\x3e\n                      \x3c/div\x3e\n                    \x3c/div\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-name"\x3e')+ea(ia.displayName,20)+'\x3c/p\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-price"\x3e'+ia.priceDisplay+"\x3c/p\x3e\n                  \x3c/a\x3e\n                \x3c/li\x3e")});Da.gnbSearchRecommendedThumb.find("ul").html(ba);
1193window.sg.components.GnbSearchV25.reInit();0==L.length?e():h()}function t(L){if(null===L||void 0===L||"null"===L||"undefined"===L||""===L)return!1;L=parseFloat(String(L).trim());return!isNaN(L)&&0!==L}function w(L){if(Array.isArray(L)&&L.length){var ca=[];L.forEach(function(ba){var fa=t((null==ba?void 0:ba.value)||null),ka=t((null==ba?void 0:ba.promoPrice)||null),ia="N"!==(null==ba?void 0:ba.stockFlag);(fa||ka)&&ia&&(ba.customDisplayValue=ka?ba.promoPrice:ba.value,ca.push(ba))});Ka=ca;x(ca)}}function x(L){var ca=
1194"";L.forEach(function(ba,fa){if(fa<Ab.recommend){var ka;ca+='\x3cli class\x3d"srd19-gnb-search__thumb-item"\x3e\n                  \x3ca an-ca\x3d"search" an-ac\x3d"search layer" an-la\x3d"pzn\x3erecommended\x3e'+(fa+1)+"\x3e"+(null==(ka=ba.name)?void 0:ka.replaceAll('"',""))+'" an-tr\x3d"select_search_recommended_card_click"  href\x3d"'+ba.pageUrl+'" class\x3d"srd19-gnb-search__thumb-link gnb-tagging-trigger" role\x3d"menuitem"\x3e\n                    \x3cdiv class\x3d"srd19-gnb-search__thumb-image"\x3e\n                      \x3cdiv class\x3d"image"\x3e\n                        \x3cimg class\x3d"image__main us-image lazy-load-man responsive-img hover-scale" data-desktop-src\x3d"'+
1195ba.thumbnailUrl+'" data-mobile-src\x3d"'+ba.thumbnailUrl+'" alt\x3d"'+ba.name+'" role\x3d"img" data-comp-name\x3d"image"\x3e\n                      \x3c/div\x3e\n                    \x3c/div\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-name"\x3e'+ba.name+'\x3c/p\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-price"\x3e$ '+ba.customDisplayValue+"\x3c/p\x3e\n                  \x3c/a\x3e\n                \x3c/li\x3e"}});Da.gnbSearchRecommendedThumb.find("ul").html(ca);
1196window.sg.components.GnbSearchV25.reInit();0==L.length&&e()}function B(L){Ha=!0;a.ajax({type:"GET",data:{siteCd:Ba,stage:$a.stage,searchValue:""},dataType:"json",jsonCallback:"samsungcallback",url:nb($a.domain)+$a.uri,error:function(){},success:function(ca){(ca=ca.response.resultData)&&ca.common&&ca.common.suggestedKeywords&&Y({resultSet:ca.common.suggestedKeywords})},complete:function(){Xa("");window.sg.components.GnbSearchV25.show(L)}})}function D(L){Ha=!0;var ca=window.location.pathname.split(Ba)[1]||
1197"";-1<ca.indexOf("/content/samsung")&&(ca=ca.split(".html")[0]);a.ajax({type:"POST",crossDomain:!0,headers:$a.headers,data:{clientCode:"b2c",clientName:"scom",countryCode:Ba,storeID:Xb,baseURL:ca},dataType:"json",url:$a.domain+"/us/popularSearch",success:function(ba){if("OK"==ba.statusCode){ba=ba.popularSearchResults;0<ba.resultCount&&(Ia=ba.resultSet,la(ba.resultSet),f());ba=ba.resultCount;var fa=ca,ka=window.navigator.userAgent.match(/(Windows\sNT|iOS|iPhone\sOS|Android)\s([\d_]+)/);ba="si\x3d"+
1198Ga()+"\x26qt\x3d"+fa.replace(/ /ig,"_")+"\x26cn\x3dscom\x26ch\x3d"+Xb+"\x26cc\x3d"+B
1198a+"\x26lc\x3d"+a("#languageCode").val()+"\x26sc\x3d"+ba+"\x26ff\x3d"+(ka,ka?ka[1].split(" ")[0].toLowerCase():"")+"\x26ui\x3d"+Ga()+"\x26ti\x3d"+Ga()+"\x26qi\x3d"+Ga();window.ssMetrics=ba;a.ajax({headers:{"Content-Type":"application/x-www-form-urlencoded"},type:"POST",data:{metricsParam:ba},url:"cn"==Ba?$a.domain+"/metrics/popularSearch":$a.domain+"/"+Ba+"/metrics/popularSearch"})}},complete:function(){Xa("");window.sg.components.GnbSearchV25.show(L)}})}
1199function z(){var L=window.location.pathname;"cn"!==Ba&&(L=L.split(Ba)[1]);if(-1<L.indexOf(".html"))L=L.split(".html")[0];else{var ca=L.lastIndexOf("/");L.length-1==ca&&(L=L.substr(0,ca))}return L}function T(L){Ha=!0;var ca=z();a.ajax({type:"POST",crossDomain:!0,headers:$a.headers,data:{clientCode:"b2c",countryCode:Ba,storeID:Xb,baseURL:ca},dataType:"json",url:$a.domain+"/popularSearch",success:function(ba){"OK"==ba.statusCode&&(ba=ba.popularSearchResults,0<ba.resultCount&&Y(ba))},complete:function(){Xa("");
1200window.sg.components.GnbSearchV25.show(L)}})}function Y(L){var ca="";a.each(L.resultSet,function(ba,fa){0>Ia.indexOf(fa)&&Ia.push(fa);ba<Ab.popular&&(ca+='\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e',ca+='\x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent(M(fa))+hb("popularsearch")+'" title\x3d"'+sa(fa)+'" an-tr\x3d"srd19_gnb search-'+vb+'-popular keywords-search" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"popular keywords:'+(ba+1)+"_"+fc(fa)+
1201'"\x3e',ca+='\x3cspan class\x3d"srd19-gnb-search__list-link-text"\x3e\x3cstrong\x3e'+fa+"\x3c/strong\x3e\x3c/span\x3e",ca+="\x3c/a\x3e",ca+="\x3c/li\x3e")});Da.gnbSearchPopular.find("ul").html(ca)}function la(L){var ca="";a.each(L,function(ba,fa){ba<Ab.popular&&(ca+='\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e',ca+='\x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent(J(fa))+'" title\x3d"'+sa(fa)+'" an-tr\x3d"gnb search-'+vb+'-popular keywords-search" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"popular keywords:'+
1202(ba+1)+"_"+fc(fa)+'"\x3e',ca+='\x3cspan class\x3d"srd19-gnb-search__list-link-text"\x3e\x3cstrong\x3e'+fa+"\x3c/strong\x3e\x3c/span\x3e",ca+="\x3c/a\x3e",ca+="\x3c/li\x3e")});Da.gnbSearchPopular.find("ul").html(ca)}function aa(){clearTimeout(Wc);Wc=setTimeout(function(){$a.data.isTyping="N";var L=M(a.trim(Da.gnbSearchInput.val()));L&&wa(L,!0)},500)}function wa(L,ca,ba){$a.data[$a.keywordKey]=L;!eb&&"us"!==Ba||ca||aa();a.ajax({type:$a.type,crossDomain:!0,dataType:"json",data:$a.data,url:$a.domain+
1203$a.uri,headers:$a.headers,success:function(fa){if(mb||ba){m();var ka,ia=0;if("us"===Ba){var Ca=fa.resultData.suggestedSearches;fa=fa.resultData.relatedProducts;pc=ka=Ca.results.length;Xc=L;va(Ca.results,L);fa&&fa.results&&0<fa.results.length?(ia=fa.results.length,ua(fa.results,L)):b();Qa(ka,L)}else if(eb)Tb&&Wb&&""===L?(Ca=fa.resultData.suggestedAiSearches,ka=Ca.results.length,ha(Ca.results,L)):(Ca=fa.resultData.suggestedSearches,ka=Ca.results.length,bb(Ca.results,L)),fa=fa.resultData.relatedProducts,
1204u&&Jb(fa.results,L),Qa(ka,L);else{Ca=fa.response.resultData;ka=Ca.common.relatedKeywords.length;fa=Ca.common.relatedKeywords;Ca="";for(var Fa=0;Fa<fa.length;Fa++){var fb=fa[Fa]||"";fb=ea(fb,58);if(Fa<Ab.suggest){var Ib="suggested searches:"+(Fa+1)+"_"+fc(fb)+":keyword:"+a.trim(L),yb=Z(fb,L);Ca+='\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e\x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent(M(fa[Fa]))+'" title\x3d"'+sa(fb)+'" an-tr\x3d"srd19_gnb search-'+
1205vb+'-suggested searches-search" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"'+Ib+'"\x3e'+qa(fb).toLowerCase()+"\x3e"+L+'"\x3e'+yb+"\x3c/a\x3e\x3c/li\x3e"}}Da.gnbSearchSuggested.find("ul").html(Ca)}u||(e(),b());0<ka?(Tb&&Wb&&""===L||Da.gnbSearchSuggested.removeClass("srd19-gnb-search__list-wrap--hide"),!eb&&"us"!==Ba||ba?h():e(),"us"===Ba&&0<ia?n():"us"===Ba&&(b(),window.RECOMMENDATIONS_DATA||e())):(g(),b(),e())}},error:function(){g()},complete:function(){ba&&(Xa(""),window.sg.components.GnbSearchV25.show(ba))}});
1206if(eb||"us"===Ba)$a.data.isTyping="Y"}function va(L,ca){var ba="",fa=Da.gnbSearchInput.val();a.each(L,function(ka,ia){var Ca=ea(ia.name,58),Fa=ia.category;if(ka<Ab.suggest){var fb=Z(Ca,ca),Ib=ba;ka='\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e\x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent(J(ia.name))+'" title\x3d"'+sa(Ca)+'" an-tr\x3d"srd19_gnb search-'+vb+'-suggested searches-search" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"suggested searches:'+
1207(ka+1)+"_"+(Ca&&Ca.replace(/"/g,"\x26quot;"))+":"+Fa+":keyword:"+fa+'"\x3e';if(ia=fb)"us"===Ba?fb.includes("in")?(Fa=fb.split(" in "),1<Fa.length&&(ia=Fa[0]+' \x3cem class\x3d"srd19-gnb-search__list-category"\x3ein '+Fa[1]+"\x3c/em\x3e")):ia=fb+' \x3cem class\x3d"srd19-gnb-search__list-category"\x3ein '+Fa+"\x3c/em\x3e":(Fa=fb.split(" in "),1<Fa.length&&(ia=Fa[0]+' \x3cem class\x3d"srd19-gnb-search__list-category"\x3ein '+Fa[1]+"\x3c/em\x3e"));ba=Ib+(ka+ia+"\x3c/a\x3e\x3c/li\x3e")}});Da.gnbSearchSuggested.find("ul").html(ba)}
1208function ha(L,ca){var ba="";a.each(L,function(fa,ka){var ia=ea(ka.name,58);fa<Ab.suggestAi&&(Z(ia,ca),ba+='\n\t\t\t\t\x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e\n\t\t\t\t\t\x3ca href\x3d"'+Ja+encodeURIComponent(M(ka))+hb("suggestedsearch")+'" title\x3d"'+sa(ka)+'" class\x3d"srd19-gnb-search__list-link"\n\t\t\t\t\t\tdata-feedback\x3d"'+ka.feedbackParam+'"\n\t\t\t\t\t\tan-tr\x3d"srd19_gnb search-'+vb+'-ai suggested searches-search"\n\t\t\t\t\t\tan-ca\x3d"search"\n\t\t\t\t\t\tan-ac\x3d"gnb search"\n\t\t\t\t\t\tan-la\x3d"ai suggested searches:'+
1209ka+':keyword:"\n\t\t\t\t\t\t\x3e\n\t\t\t\t\t\t\x3cspan class\x3d"srd19-gnb-search__list-link-text"\x3e'+ka+"\x3c/span\x3e\n\t\t\t\t\t\x3c/a\x3e\n\t\t\t\t\u00a0\x3c/li\x3e\n\t\t\t\t")});Da.gnbSearchAISuggested.find("ul").html(ba)}function bb(L,ca){var ba="";a.each(L,function(fa,ka){var ia=ea(ka.name,58);if(fa<Ab.suggest){var Ca=Z(ia,ca),Fa="srd19_gnb search-"+vb+"-suggested searches-search";fa="suggested searches:"+(fa+1)+"_"+fc(ka.name)+":keyword:"+a.trim(ca);Tb&&Wb&&(Fa="srd19_gnb search-"+vb+"-ai suggested searches-search",
1210fa="ai suggested searches:"+fc(ka.name)+":keyword:"+a.trim(ca));ba+='\n                \x3cli class\x3d"srd19-gnb-search__list-item" role\x3d"listitem"\x3e\n                    \x3ca class\x3d"srd19-gnb-search__list-link" href\x3d"'+Ja+encodeURIComponent(M(ka.name))+hb("suggestedsearch")+'"\n\t\t\t\t\t\ttitle\x3d"'+sa(ia)+'"\n\t\t\t\t\t\tdata-feedback\x3d"'+ka.feedbackParam+'"\n\t\t\t\t\t\tan-tr\x3d"'+Fa+'" \n\t\t\t\t\t\tan-ca\x3d"search" \n\t\t\t\t\t\tan-ac\x3d"gnb search" \n\t\t\t\t\t\tan-la\x3d"'+
1211fa+'"\x3e\n                        '+Ca+" \n                    \x3c/a\x3e\n                \x3c/li\x3e\n\t\t\t\t"}});Tb&&Wb&&Da.gnbSearchSuggested.find("p").text(Granite.I18n.get("AI Suggested Searches"));Da.gnbSearchSuggested.find("ul").html(ba)}function Jb(L,ca){var ba="";a.each(L,function(fa,ka){if(fa<Ab.recommend){var ia="";ka.images&&(ia=ka.images.laImage);ba+='\x3cli class\x3d"srd19-gnb-search__thumb-item"\x3e\n                  \x3ca href\x3d"'+ka.pdpURL+'"  class\x3d"srd19-gnb-search__thumb-link" role\x3d"menuitem" data-feedback\x3d"'+
1212ka.feedbackParam+'"\n                  an-tr\x3d"srd19_gnb search-'+vb+'-related product click-search4" an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"related products:card'+(fa+1)+"_"+fc(ka.name)+":product click:keyword:"+ca+'"\n                  data-modelcode\x3d"'+ka.sku+'"  data-modelname\x3d"'+ka.modelName+'" data-modeldisplay\x3d"'+ka.name+'" data-modelprice\x3d"'+ka.msrp+'" data-modelrevenue\x3d"'+ka.salePrice+'" data-pvisubtype\x3d"'+ka.classification+'"\x3e\n                    \x3cdiv class\x3d"srd19-gnb-search__thumb-image"\x3e\n                      \x3cdiv class\x3d"image"\x3e\n                        \x3cimg class\x3d"image__main '+
1213("us"===Ba?"us-image":"")+' lazy-load-man responsive-img hover-scale" data-desktop-src\x3d"'+(ia+'?$200_200_PNG$" data-mobile-src\x3d"')+(ia+'?$140_140_PNG$" alt\x3d"alt text" role\x3d"img" data-comp-name\x3d"image"\x3e\n                      \x3c/div\x3e\n                    \x3c/div\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-name"\x3e')+ea(ka.name,20)+'\x3c/p\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-price"\x3e'+currencyComma(ka.salePrice,$b)+"\x3c/p\x3e\n                  \x3c/a\x3e\n                \x3c/li\x3e"}});
1214Da.gnbSearchRelatedThumb.find("ul").html(ba);window.sg.components.GnbSearchV25.reInit();0==L.length?b():n()}function ua(L,ca){var ba="",fa=Da.gnbSearchInput.val();a.each(L,function(ka,ia){if(ka<Ab.recommend){var Ca="";ia.images&&(Ca=ia.images.laImage);var Fa,fb=ia.name&&(null==(Fa=ia.name.replace(/"/g,"\x26quot;"))?void 0:Fa.toLowerCase())||"";ba+='\x3cli class\x3d"srd19-gnb-search__thumb-item"\x3e\n                  \x3ca href\x3d"'+ia.pdpURL+'"  class\x3d"srd19-gnb-search__thumb-link" data-feedback\x3d"'+
1215(ia.feedbackParam&&ia.feedbackParam.replace(/"/g,"\x26quot;"))+'"\n                  an-ca\x3d"search" an-ac\x3d"gnb search" an-la\x3d"related products:card'+(ka+1)+"_"+fb+":product click:keyword:"+fa+'" an-tr\x3d"srd19_gnb search-'+vb+"-related product click-search"+(ka+1)+'"\n                  data-modelcode\x3d"'+ia.sku+'"  data-modelname\x3d"'+ia.modelName+'" data-modeldisplay\x3d"'+(ia.name&&ia.name.replace(/"/g,"\x26quot;"))+'" data-modelprice\x3d"'+ia.msrp+'" data-modelrevenue\x3d"'+ia.salePrice+
1216'" data-pvisubtype\x3d"'+ia.classification+'"\x3e\n                    \x3cdiv class\x3d"srd19-gnb-search__thumb-image"\x3e\n                      \x3cdiv class\x3d"image"\x3e\n                        \x3cimg class\x3d"image__main us-image lazy-load-man responsive-img hover-scale" data-desktop-src\x3d"'+Ca+'" data-mobile-src\x3d"'+Ca+'" alt\x3d"alt text" role\x3d"img" data-comp-name\x3d"image"\x3e\n                      \x3c/div\x3e\n                    \x3c/div\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-name"\x3e'+
1217ia.name+'\x3c/p\x3e\n                    \x3cp class\x3d"srd19-gnb-search__thumb-price"\x3e'+currencyComma(ia.salePrice,$b)+"\x3c/p\x3e\n                  \x3c/a\x3e\n                \x3c/li\x3e"}});Da.gnbSearchRelatedThumb.find("ul").html(ba);window.sg.components.GnbSearchV25.reInit();0==L.length?(b(),window.RECOMMENDATIONS_DATA&&h()):n()}function Qa(L,ca){var ba=window.navigator.userAgent.match(/(Windows\sNT|iOS|iPhone\sOS|Android)\s([\d_]+)/);L="si\x3d"+Ga()+"\x26qt\x3d"+ca.replace(/ /ig,"_")+
1218"\x26cn\x3dscom\x26ch\x3d"+Xb+"\x26cc\x3d"+Ba+"\x26lc\x3d"+a("#languageCode").val()+"\x26sc\x3d"+L+"\x26ff\x3d"+(ba,ba?ba[1].split(" ")[0].toLowerCase():"")+"\x26ui\x3d"+Ga()+"\x26ti\x3d"+Ga()+"\x26qi\x3d"+Ga();window.ssMetrics=L;a.ajax({headers:{"Content-Type":"application/x-www-form-urlencoded"},type:"POST",data:{metricsParam:L},url:"cn"==Ba?$a.domain+"/metrics/suggestedSearch":$a.domain+"/"+Ba+"/metrics/suggestedSearch"})}function H(L,ca,ba){var fa=window.ssMetrics,ka=fa.match(/(ui=)([^&]+)/)[2],
1219ia=fa.match(/(qi=)([^&]+)/)[2],Ca=fa.match(/(si=)([^&]+)/)[2],Fa=fa.match(/(ti=)([^&]+)/)[2],fb=fa.match(/(ch=)([^&]+)/)[2];fa=fa.match(/(sc=)([^&]+)/)[2];L=a.extend({feedbackParam:"st\x3d"+fb+"\x26ct\x3d"+Ba+"\x26qt\x3d"+L.replace(/ /ig,"_")+"\x26cn\x3dscom\x26ui\x3d"+ka+"\x26si\x3d"+Ca+"\x26ti\x3d"+Fa+"\x26qi\x3d"+ia+"\x26ft\x3dSS\x26tr\x3d"+fa+"\x26dr\x3d"+ca,actionType:"click"},{feedbackParam:ba});a.ajax({headers:{"Content-Type":"application/x-www-form-urlencoded"},type:"POST",url:"cn"==Ba?$a.domain+
1220"/feedback/click":$a.domain+"/"+Ba+"/feedback/click",data:L})}function J(L){var ca=L;null!=L&&(ca=ca.split('"').join('"').split("\x3cb\x3e").join("").split("\x3c/b\x3e").join(""),ca=ca.split(" in ")[0]);return ca}function M(L){null!=L&&(L=L.split("\x3c").join("").split("\x3e").join("").split("\x26lt").join("").split("\x26gt").join(""));return L}function S(L){var ca=/[\{\}\[\]?,;:|\)*~`!^_<>@#$%&\\=\('"]/gi;"cn"===Ba&&(ca=/[\{\}\[\]?,;:|\)*~`!^_<>@#$%&\\=\("]/gi);ca.test(L)&&(L=L.replace(ca,""));return L}
1221function Z(L,ca){null!=L&&(L=L.replace(new RegExp("("+ca+")","i"),"\x3cstrong\x3e$1\x3c/strong\x3e"));return L}function ea(L,ca){if(!L)return"";for(var ba,fa=0,ka=L.length,ia="",Ca=0;Ca<ka;Ca++){ba=L.charAt(Ca);4<encodeURI(ba).length?fa+=2:fa++;if(fa>ca){ia+="...";break}ia+=ba}return ia}function qa(L){null!=L&&(L=L.split('"').join("\x26quot;").split("\x3cb\x3e").join("").split("\x3c/b\x3e").join(""));return L}function sa(L){qa(L);return Granite.I18n.get("search.comp.queryInput.searchButton")}function nb(L){var ca=
1222L;L.lastIndexOf("/")===L.length-1&&(ca=L.substr(0,L.length-1));return ca}function Ga(){var L=window.crypto||window.msCrypto;return"10000000-1000-4000-8000-100000000000".replace(/[018]/g,function(ca){return(ca^L.getRandomValues(new Uint8Array(1))[0]&15>>ca/4).toString(16)})}function Xa(L){Da.gnbSearchInputSubmitButton.attr("an-la","search bar:keyword submit:keyword:"+L)}function pa(L){if(hc===L)return!1;hc=L;return!0}function hb(L){var ca="";Tb&&("suggestedsearch"===L&&Wb&&(L="aisuggestedsearch"),
1223ca="\x26querySource\x3d"+L);return ca}function kc(){Da.gnbSearchInput.val("");Da.gnbSearchInput.trigger("input");Da.gnbSearchInputWrap.removeClass("srd19-gnb-search__input--overflow");Da.gnbSearchInput.focus()}function Sb(){var L=a(".srd19-gnb-search__input"),ca=!1,ba="";L.off("input.resetState").on("input.resetState",function(){""===this.value&&(ca=!1,ba="")});L.off("keydown.firstKey").on("keydown.firstKey",function(fa){var ka=this.value;ca||""!==ba||0!==ka.length||1!==fa.key.length||(window._satellite&&
1224"us"===Ba&&_satellite.track("searchoverlaytyping",{an_tr:"select_search_search layer_start_typing_click",an_ca:"search",an_ac:"search layer",an_la:"start typing"}),ca=!0);ba=ka});L.off("blur.resetState").on("blur.resetState",function(){ca=!1;ba=""})}function ob(){Granite.I18n.setLocale(a("#language").val());var L="searchvalue",ca={"Content-type":"application/x-www-form-urlencoded"};"cn"===Ba&&(zc="https://sribsrch.ecom.samsung.com/estoresearch-api/v1/scom/cn");if("us"===Ba){L="searchvalue";var ba,
1225fa=Ic?(null==(ba=sg)?void 0:ba.epp.common.storeId)||Xb:"us";$a={type:"POST",uri:"/us/suggestedSearch",domain:Vc,keywordKey:"query",data:{countryCode:Ba,clientName:"scom",storeID:fa,isTyping:"Y",clientCode:"b2c",query:""},headers:ca};Ja=qb}else eb||Rc?($a={type:"POST",uri:"/suggestedSearch",domain:zc,keywordKey:"query",data:{countryCode:Ba,storeID:Xb,isTyping:"Y",clientCode:"b2c",query:""},headers:ca},Tb&&Wb&&($a.data.clientName="scom")):$a={type:"GET",uri:"/search/suggest/v6",domain:nb(P),keywordKey:"searchValue",
1226data:{siteCd:Ba,stage:qc,searchValue:""},headers:{}};Ja=-1<Ja.indexOf(".html")?Ja+("?"+L+"\x3d"):Ja+("/?"+L+"\x3d");Ic&&window.sg.epp&&window.sg.epp.common&&window.sg.epp.common.isPosStore&&"Y"===a("#scannerYn").val()&&(Da.gnbSearchScanBarcodeButton.removeClass("srd19-gnb-search__scan-barcode--hide"),L=location.pathname.substr(0,location.pathname.indexOf(window.sg.epp.common.companyCode))+window.sg.epp.common.companyCode,L=0<location.pathname.indexOf(".html")?L+".scanner.html":L+".scanner/",a.ajax({url:L,
1227success:function(ka){a("section.srd19-gnb-search").append(ka)},error:function(ka){console.log(ka)}}))}var Ya=a("section.srd19-gnb-search");if(Ya){var Ba=a("#siteCode").val(),P=a.trim(a("#esapiSearchDomain").val()),zc="https://sribsrch.ecom.samsung.com/estoresearch-api/v1/scom",Vc=-1<window.location.host.indexOf("www")||-1<window.location.host.indexOf("org-p6")?"https://sribsrch.ecom.samsung.com/estoresearch-api/v1/scom":"https://sribsrch.ecom-qa.samsung.com/estoresearch-api/v1/scom";window.location.href.indexOf("www.samsung.com");
1228window.location.href.indexOf("www.samsung.com");var qc=a.trim(a("#apiStageInfo").val()),Ja=a("#sc_gnb_searchURL").val(),$b=a("#gPriceCurrency").val(),qb=a("#sc_gnb_AI_searchURL").val();a("#sc_gnb_placeholder").val();var Zb=a("#sc_gnb_aiSearchUseYn").val(),rc=a("#sc_gnb_bdcApiUseYn").val(),Yb=a("#sc_gnb_AiLoginUseYn").val(),Xb=a("#siteCode").val(),Ic="Y"===a("#eppFlag").val(),ub=a("#sc_gnb_eppUseGnbAiSearchYn").val();a("#loginLinkURL").val();var Wb=commonLoginCheck(),sc=a.cookies.getSearchKeyword(),
1229Ia=[],Ka=[],hc="",Ha=!1,mb=!1,eb="Y"===Zb,u="Y"===rc,Tb="Y"===Yb,Rc="Y"===ub,Wc=null,pc=0,Xc="",vb=(digitalData.page.pageInfo.pageTrack||"").toLowerCase(),$a={keywordKey:"",url:null,data:{}},Ab={recommend:4,popular:4,suggest:5,suggestAi:4},Da={gnbSearchInput:Ya.find(".srd19-gnb-search__input"),gnbSearchInputWrap:Ya.find(".srd19-gnb-search__input-wrap"),gnbSearchInputClearButton:Ya.find(".srd19-gnb-search__clear"),gnbSearchInputSubmitButton:Ya.find(".srd19-gnb-search__btn-search"),gnbSearchResultWrap:Ya.find(".srd19-gnb-search__result-wrap"),
1230gnbSearchRecent:Ya.find(".srd19-gnb-search__recent"),gnbSearchPopular:Ya.find(".srd19-gnb-search__popular"),gnbSearchSuggested:Ya.find(".srd19-gnb-search__suggested"),gnbSearchAISuggested:Ya.find(".srd19-gnb-search__ai-search"),gnbSearchRelatedThumb:Ya.find(".srd19-gnb-search__related"),gnbSearchRecommendedThumb:Ya.find(".srd19-gnb-search__recommended"),gnbSearchNoSuggestions:Ya.find(".srd19-gnb-search__no-suggestions"),gnbSearchCloseBtn:Ya.find(".srd19-gnb-search__btn--close"),gnbSearchScanBarcodeButton:Ya.find(".srd19-gnb-search__scan-barcode"),
1231gnbSearchSearchSearches:Ya.find(".srd19-gnb-search__searches")},fc=function(L){fnIsNull(L)||(L=L.replace(/&/g,"\x26amp;").replace(/</g,"\x26lt;").replace(/>/g,"\x26gt;").replace(/"/g,"\x26#92;\x26quot;").replace(/'/g,"\x26#039;"));return L};Ya.on("focus",".srd19-gnb-search__input",function(){Sb();var L=M(a.trim(a(this).val()));if(pa(L)||""==L)sc=a.cookies.getSearchKeyword(),m(),L&&0<L.length?wa(L):0<sc.length?k():f(),window.sg.components.GnbSearchV25.reInit()});Ya.on("click",".srd19-gnb-search__clear",
1232function(){kc()});Ya.on("propertychange change keyup paste input",".srd19-gnb-search__input",function(){var L=a(this).val();pa(L)&&(a(this).val(S(L)),L=a.trim(L),sc=a.cookies.getSearchKeyword(),Xa(L),L&&0<L.length?(mb=!0,Da.gnbSearchInputClearButton.addClass("srd19-gnb-search__clear--show"),wa(L)):(mb=!1,Da.gnbSearchInputClearButton.removeClass("srd19-gnb-search__clear--show"),0<sc.length?k():f(),h(),Da.gnbSearchSuggested.find("ul").empty()))});Ya.on("click",".srd19-gnb-search__suggested a, .srd19-gnb-search__ai-search a",
1233function(){var L=a(this).text();a.cookies.setSearchKeyword(decodeURIComponent(L));eb&&(L=a(this).attr("data-feedback"),H("","",L))});Ya.on("click",".srd19-gnb-search__popular a",function(){var L=a(this).text();a.cookies.setSearchKeyword(decodeURIComponent(L))});Ya.on("click",".srd19-gnb-search__related .srd19-gnb-search__thumb-item a",function(){var L=a(this).attr("data-feedback");H("","",L)});Ya.on("click",".srd19-gnb-search__btn-search",function(L){L.preventDefault();
1233if(L=M(a.trim(Da.gnbSearchInput.val()))){a.cookies.setSearchKeyword(decodeURIComponent(L));
1234if("us"===Ba){encodeURIComponent(L);Qa(pc,Xc);var ca=qb+"/?searchvalue\x3d"+encodeURIComponent(L);window.location.href=ca}else window.location.href=Ja+encodeURIComponent(L)+hb("suggestedsearch");window.gmap=null;"undefined"!==typeof window&&window._satellite&&"us"===Ba&&_satellite.track("searchoverlaytyping",{an_tr:"select_search_search layer_finish_typing_click",an_ca:"search",an_ac:"search layer",an_la:"finish typing",global_search_term:""+L})}});a(document).on("click",".gnb__search-btn-js",function(){Tb=
1235Tb&&"true"===window.sg.common.utils.getCookie("aisearch");kc();u?l(this):Da.gnbSearchRecommendedThumb.hide();"us"===Ba||Ha?(Xa(""),window.sg.components.GnbSearchV25.show(this)):eb||Rc?Tb&&Wb?($a.data.isTyping="N",wa("",!0,this)):T(this):B(this);if("us"===Ba)if(Ia&&0<Ia.length?f():D(this),Ka&&0<Ka.length)x(Ka);else{var L=window&&window.RECOMMENDATIONS_DATA&&window.RECOMMENDATIONS_DATA["target-search-recs-scom51498"];L&&0<L.length&&w(L)}});a(document).on("click",".shop-with-expert-search",function(L){L.preventDefault();
1236768>a(window).width()?window.open("https://www.samsung.com/us/expert-chat/?search_instant","newwindow"):window.open("https://www.samsung.com/us/expert-chat/?search_instant","newwindow","height\x3d700, width\x3d440, top\x3d0, left\x3d0, toolbar\x3dno, menubar\x3dno, scrollbars\x3dno, resizable\x3dno, location\x3dno, status\x3dno")});Ya.on("click",".srd19-gnb-search__scan-barcode",function(L){L.preventDefault();Ic&&(L=new CustomEvent("scanner.enabled"),document.dispatchEvent(L),window.sg.components.barcodeScannerPopup.showPopup(this))});
1237a(function(){Ja&&""!==Ja&&ob()})}})(window.jQuery);
1238(function(){var a,m,k,f,g,h,n,e,b,d,l,q,t;function w(){var aa=document.querySelector(".cod03-delivery-location-selector");if(aa)for(a=aa,m=aa.querySelector(".cod03-delivery-location-selector__select"),k=aa.querySelector("#detail-btn"),f=aa.querySelector(".menu__select"),g=aa.querySelector(".cod03-delivery-location-selector__region-name"),h=aa.querySelector(".cod03-delivery-location-selector__select-ctas"),n=aa.querySelector(".cod03-delivery-location-selector__popup"),e=aa.querySelector(".cod03-delivery-location-selector__popup--contents"),
1239b=aa.querySelector(".cta--confirm"),d=aa.querySelector(".cta--cancel"),l=aa.querySelector(".cod03-delivery-location-selector__popup--close"),q=aa.querySelector(".cod03-delivery-location-selector__popup--looping-start"),t=aa.querySelector(".cod03-delivery-location-selector__popup--looping-end"),T=aa.querySelector(".menu__select"),x(),aa=0;aa<T.length;aa++)T.options[aa].hasAttribute("selected")&&(la=aa)}function x(){a.querySelector(".cod03-delivery-location-selector__region-icon").addEventListener("click",
1240function(){m.classList.contains("show")?(m.classList.remove("show"),m.classList.add("hide"),k.setAttribute("xlink:href","#open-down-regular"),k.setAttribute("href","#open-down-regular")):m.classList.contains("hide")?(m.classList.remove("hide"),m.classList.add("show"),k.setAttribute("xlink:href","#close-up-regular"),k.setAttribute("href","#close-up-regular")):m.classList.add("hide")});f.addEventListener("change",function(){n.classList.add("cod03-delivery-location-selector__popup--show");e.classList.add("show");
1241b.focus()});l.addEventListener("click",function(){B();D()});d.addEventListener("click",function(){B();D()});b.addEventListener("click",function(){Y=T.options[T.selectedIndex].text;g.textContent=Y;la=T.selectedIndex;D()});q.addEventListener("focus",function(){l.focus()});t.addEventListener("focus",function(){e.querySelector(".cta").focus()})}function B(){window.sg.common.menu.selectItem(a.querySelector(".menu"),la)}function D(){e.classList.remove("show");n.classList.remove("cod03-delivery-location-selector__popup--show");
1242h.focus()}var z=window.sg.common.$q;var T=t=q=l=d=b=e=n=h=g=f=k=m=a=void 0;var Y,la;window.sg.components.deliveryLocationSelector={init:w};z.ready(function(){return w()})})();var componentDeliveryLocationSelector={};
1243(function(a,m){"undefined"===typeof a.smg&&(a.smg={});a.smg.deliverylocationselector=a.smg.deliverylocationselector||{};var k=m("#siteCode").val(),f=m("#tempTitle").val();a=m.cookies.get("country_region",{domain:".samsung.com"});if(null==a||""==a)a="CA-ON",m.cookies.set("country_region",a,{domain:".samsung.com"});for(var g=m(".cod03-delivery-location-selector__select-ctas .menu__select").children(),h=0;h<g.length;h++)if(a==g.eq(h).val()){g.eq(h).val();var n=g.eq(h).text();m(".cod03-delivery-location-selector__select-ctas .menu__select option").eq(h).attr("selected",
1244!0);m(".cod03-delivery-location-selector__region-name").text(n)}a="cod03_delivery location selector-"+m("#pageTrackPd").val()+"-province selector-content_click";m(".cod03-delivery-location-selector__popup .cta--confirm").attr("an-tr",a).attr("an-ca","content click").attr("an-ac","feature").attr("an-la","confirm popup:confirm");m(".cod03-delivery-location-selector__popup .cta--cancel").attr("an-tr",a).attr("an-ca","content click").attr("an-ac","feature").attr("an-la","confirm popup:cancel");m(".cod03-delivery-location-selector__popup--close").attr("an-tr",
1245a).attr("an-ca","content click").attr("an-ac","feature").attr("an-la","confirm popup:cancel");m(".cod03-delivery-location-selector").find(".menu__list-option").on("click",function(){console.log("$componentByDropDownOption   click!!!");var e=m(this).find(".menu__list-option-text").text().trim();console.log("delivery-location-selector-confirm   clickedSelectedText\x3d["+e+"]")});
1245m(document).off("click","#delivery-location-selector-confirm");m(document).on("click","#delivery-location-selector-confirm",
1246function(){var e=m(".cod03-delivery-location-selector__select-ctas .menu__select option:selected").val(),b=m(".cod03-delivery-location-selector__select-ctas .menu__select option:selected").text();m.cookies.set("country_region",e,{domain:".samsung.com"});m(".cod03-delivery-location-selector__region-name").text(b);m(document).ready(function(){("ca"==k||"ca_fr"==k)&&("page-standard-pd"==f||"page-buying-pd"==f||"page-pf"==f||"page-pf-ux2"==f||"page-search"==f||"page-wearable-bc"==f||"page-bc-pd"==f||
1247"page-pcd"==f&&0<m(".pf-product-compare").length)&&location.reload()})});componentDeliveryLocationSelector={initGrid:function(){}}})(window,$);
1248(function(){var a=window.sg.common.$q,m=window.sg.common.libs,k=window.sg.common.constants.BREAKPOINTS,f=window.sg.common.utils,g="undefined"!==typeof commonLoginCheck?commonLoginCheck():!1,h=function(n){var e=this;this.selector={section:".footer",footerTopCta:".footer-top__content-link",category:".footer-category__anchor",categoryActive:"footer-category__anchor--active",categoryList:".footer-category__list-wrap",categoryItem:".footer-column__item",language:".footer-language__anchor",languagePanel:".footer-language__panel .footer-language__content",
1249languageActive:"footer-language__anchor--active",languageTopTarget:".footer-copyright-align",topBtn:".footer-back-to-top__cta",showFormBtn:'[data-js-action\x3d"showForm"]'};this.ele={window:a(window),section:a(n),wrap2list:[]};this.setProperty();this.prevDevice-0;this.isPCmode=k.MOBILE<f.getViewPort().width;this.handler={resize:this.resize.bind(this),focusLock:this.focusLock.bind(this),outClick:this.outClick.bind(this),clickLanguage:function(){e.ele.language.hasClass(e.selector.languageActive)?e.closeLanguage():
1250e.openLanguage()},handleShowFormBtnClick:this.handleShowFormBtnClick.bind(this)};h.instances.set(n,this);this.init()};h.prototype.setProperty=function(){var n=this;this.ele.topBtn=this.ele.section.find(this.selector.topBtn).eq(0);this.ele.footerTopCta=this.ele.section.find(this.selector.footerTopCta);var e=this.ele.section.find("."+this.selector.categoryActive);this.ele.categoryActive=0>=e.target.length?null:e;this.ele.category=this.ele.section.find(this.selector.category);this.ele.language=this.ele.section.find(this.selector.language);
1251this.ele.languagePanel=this.ele.section.find(this.selector.languagePanel);this.ele.languageTopTarget=this.ele.section.find(this.selector.languageTopTarget);this.ele.wrap2list=[];this.ele.section.find(this.selector.categoryList).target.forEach(function(b){b=b.querySelectorAll(".footer-category__list");1<b.length&&n.ele.wrap2list.push([].concat($jscomp.arrayFromIterable(b)))});this.ele.showFormBtn=this.ele.section.find(this.selector.showFormBtn)};h.prototype.focusLock=function(n){var e=this;n.keyCode===
1252m.keyCode.TAB_KEY&&setTimeout(function(){if(0>=a(document.activeElement).closest(e.selector.languagePanel).target.length)if("desktop"===f.getCurrentDevice())e.closeLanguage(document.activeElement);else if(n.shiftKey){var b=e.ele.languagePanel.eq(0).find("a");b.target[b.target.length-1].focus()}}.bind(this),30)};h.prototype.outClick=function(n){(("touchend"===n.type?0>=a(n.target||n.touches[0].target).closest(this.ele.languagePanel.target[0]).target.length:0>=a(n.target).closest(this.ele.languagePanel.target[0]).target.length)||
1253n.target===document.documentElement)&&this.closeLanguage()};h.prototype.init=function(){var n=this;this.setLengthTop();this.bindEvents();var e=this.ele.section.find(".image__preview");if(0<e.target.length)e.eq(e.target.length-1).on("load",function(){n.setLengthTop()});this.setContentIdDamTagging();this.setLoginStatus()};h.prototype.reInit=function(){this.setProperty();this.bindEvents();this.resize();this.setContentIdDamTagging();this.setLoginStatus()};h.prototype.resize=function(){this.isPCmode=k.MOBILE<
1254f.getViewPort().width;this.setLengthTop();this.isPCmode?(null!==this.ele.categoryActive&&this.closeCategory(this.ele.categoryActive,!0),this.ele.language.hasClass(this.selector.languageActive)&&this.closeLanguage(!1),this.ele.category.removeAttr("aria-expanded")):this.ele.category.attr("aria-expanded",!1)};h.prototype.bindEvents=function(){var n=this;this.ele.topBtn.off("click").on("click",this.moveScroll.bind(this));this.ele.category.off("click").on("click",function(e){e=a(e.currentTarget);e.hasClass(n.selector.categoryActive)?
1255n.closeCategory(e):n.openCategory(e)});this.ele.showFormBtn.off("click",this.handler.handleShowFormBtnClick).on("click",this.handler.handleShowFormBtnClick);this.ele.language.off("click").on("click",this.handler.clickLanguage);this.ele.window.off("resize",this.handler.resize).on("resize",this.handler.resize)};h.prototype.moveScroll=function(){f.scrollTo(0)};h.prototype.openLanguage=function(){var n=this,e="mobile"===f.getCurrentDevice();this.ele.language.addClass(this.selector.languageActive);this.ele.language.attr("aria-expanded",
1256!0);e&&window.sg.common.utils.setMobileFocusLoop(this.ele.languagePanel.target[0]);var b=e?this.ele.languagePanel.eq(0).find(".footer-language__link--selected").target[0]:this.ele.languagePanel.eq(1).find(".footer-language__link--selected").target[0];b&&b.blur();
1256setTimeout(function(){b&&b.focus();n.ele.window.off("keydown",n.handler.focusLock).on("keydown",n.handler.focusLock);n.ele.window.off("click",n.handler.outClick).on("click",n.handler.outClick);n.ele.window.off("touchend",n.handler.outClick).on("touchend",
1257n.handler.outClick)},30)};h.prototype.closeLanguage=function(n){var e=this;n=void 0===n?null:n;this.ele.language.attr("aria-expanded",!1);"mobile"===f.getCurrentDevice()&&window.sg.common.utils.removeMobileFocusLoop();this.ele.window.off("keydown",this.handler.focusLock);this.ele.window.off("click",this.handler.outClick);this.ele.window.off("touchend",this.handler.outClick);setTimeout(function(){e.ele.language.removeClass(e.selector.languageActive);null===n&&e.ele.language.target.forEach(function(b){"none"!==
1258a(b).closest(".footer-language").css("display")&&b.focus()})},30)};h.prototype.openCategory=function(n){if(null!==this.ele.categoryActive){this.ele.categoryActive.removeClass(this.selector.categoryActive);n.addClass(this.selector.categoryActive);var e=n.closest(this.selector.categoryItem).target[0].getBoundingClientRect();e.top<-1*n.height()&&window.scrollTo(document.body.scrollLeft||document.documentElement.scrollLeft,(document.body.scrollTop||document.documentElement.scrollTop)+e.top);this.ele.categoryActive.addClass(this.selector.categoryActive);
1259n.removeClass(this.selector.categoryActive);this.closeCategory(this.ele.categoryActive)}n.addClass(this.selector.categoryActive);n.attr("aria-expanded",!0);n.parent().find(this.selector.categoryList).slideDown(500);e=n.find(".hidden").target[0].dataset.i18nClose;n.find(".hidden").target[0].innerHTML=e;this.ele.categoryActive=n};h.prototype.closeCategory=function(n,e){var b=this;e=void 0===e?!1:e;var d=n.parent().find(this.selector.categoryList),l=n.find(".hidden").target[0].dataset.i18nOpen;if(e)n.removeClass(this.selector.categoryActive),
1260n.find(".hidden").target[0].innerHTML=l;else{var q=d.isAnimate();d.stop().slideUp(500,function(){n.removeClass(b.selector.categoryActive);n.find(".hidden").target[0].innerHTML=l;q&&d.css({height:"",display:"",overflow:""})})}n.attr("aria-expanded",!1);this.ele.categoryActive=null};h.prototype.setLengthTop=function(){};h.prototype.handleShowFormBtnClick=function(n){"undefined"!==typeof KAMPYLE_ONSITE_SDK&&(n=parseInt(n.currentTarget.getAttribute("data-form-id")),KAMPYLE_ONSITE_SDK.loadForm(n)&&KAMPYLE_ONSITE_SDK.showForm(n))};
1261h.prototype.setLoginStatus=function(){var n=this.ele.footerTopCta.target[0];n&&n.setAttribute("href",g?n.dataset.loginUrl:n.dataset.logoutUrl)};h.prototype.setContentIdDamTagging=function(){function n(x,B){var D="";return D="desktop"===B?x.find(".image__main[data-desktop-aem-asset-id], .image-v2__main[data-desktop-aem-asset-id], .first-image img[data-desktop-aem-asset-id], .video[data-desktop-aem-asset-id], .image__main[data-aem-asset-id], .image-v2__main[data-aem-asset-id], .first-image img[data-aem-asset-id], .video[data-aem-asset-id]").target.map(function(z){return a(z).attr("data-desktop-aem-asset-id")||
1262a(z).attr("data-aem-asset-id")}).filter(function(z){return null!==z&&""!==z}).join(","):x.find(".image__main[data-mobile-aem-asset-id], .image-v2__main[data-mobile-aem-asset-id], .first-image img[data-mobile-aem-asset-id], .video[data-mobile-aem-asset-id], .image__main[data-aem-asset-id], .image-v2__main[data-aem-asset-id], .first-image img[data-aem-asset-id], .video[data-aem-asset-id]").target.map(function(z){return a(z).attr("data-mobile-aem-asset-id")||a(z).attr("data-aem-asset-id")}).filter(function(z){return null!==
1263z&&""!==z}).join(",")}function e(x,B){var D=n(t,B);x.forEach(function(z){z=a(z);switch(B){case "desktop":z.attr("an-as",D);break;case "mobile":z.attr("an-as",D)}})}function b(x,B){x.forEach(function(D){D=a(D);var z=n(D,B);switch(B){case "desktop":D.attr("an-as",z);break;case "mobile":D.attr("an-as",z)}})}var d=this;this.prevDevice=f.getCurrentDevice();var l=this.ele.window,q=this.ele.section,t=q.find(".footer-local-logo__item a"),w=q.find(".footer-category__anchor, .footer-category__link, .footer-language__link, .footer-language__anchor, .footer-terms__link, .footer-sns__link").target;
1264a(".fab").target.length&&w.push(a(".fab").target[0]);e(w,this.prevDevice);b(t.target,this.prevDevice);l.on("resize",function(){var x=f.getCurrentDevice();d.prevDevice!==x&&(d.prevDevice=x,e(w,d.prevDevice),b(t.target,d.prevDevice))})};h.instances=new WeakMap;window.sg.components.footer={reInit:function(){a(".footer").target.forEach(function(n){h.instances.has(n)&&h.instances.get(n).reInit()})}};a.ready(function(){a(".footer").target.forEach(function(n){h.instances.has(n)||new h(n)})})})();
1265(function(){var a=window.sg.common.$q,m=window.sg.common.menu,k=window.sg.common.utils.getCurrentDevice,f=function(h){this.els={el:h,cookieBarShopBanner:h.querySelector(".cookie-bar__app-banner"),cookieBarShopBannerCloseButton:h.querySelector(".cookie-bar__shop-app-close"),cookieBarMainArea:h.querySelector(".cookie-bar__wrap"),settingButton:h.querySelector(".cookie-bar__setting"),settingConditionWrap:h.querySelector(".cookie-bar__setting-condition-wrap"),cookieBarMainCloseButton:h.querySelector(".cookie-bar__main-close")};
1266this.isMainArea=this.isMobileShopBanner=this.isShowSettingConditionWrap=!1;this.init()};f.prototype.init=function(){f.instances.get(this.els.el)||(f.instances.set(this.els.el,this),this.bindEvents(),this.checkCookieBarCloseStatus())};f.prototype.reInitMobileAppBar=function(){this.checkCookieBarCloseStatus()};f.prototype.bindEvents=function(){var h=this;this.els.cookieBarMainCloseButton.addEventListener("click",this.closeMain.bind(this));this.els.cookieBarShopBannerCloseButton&&this.els.cookieBarShopBannerCloseButton.addEventListener("click",
1267this.closeBanner.bind(this));this.els.settingButton&&this.els.settingButton.addEventListener("click",function(){h.isShowSettingConditionWrap?(h.els.settingConditionWrap.removeAttribute("style"),h.isS
1267howSettingConditionWrap=!1):(h.els.settingConditionWrap.style.display="block",h.isShowSettingConditionWrap=!0)});window.addEventListener("resize",function(){h.checkCookieBarCloseStatus()})};f.prototype.checkCookieBarCloseStatus=function(){this.isMobileShopBanner&&!this.isMainArea&&("mobile"===k()?this.els.el.style.display=
1268"block":this.els.el.style.display="none")};f.prototype.closeBanner=function(){this.els.cookieBarShopBanner.classList.remove("cookie-bar__app-banner--visible");this.isMobileShopBanner=!1;this.isMainArea||(this.els.el.style.display="none")};f.prototype.showBanner=function(){this.els.cookieBarShopBanner.classList.remove("cookie-bar--hidden");this.isMobileShopBanner=!0};f.prototype.closeMain=function(){this.els.cookieBarMainArea.classList.add("cookie-bar--hidden");this.isMainArea=!1;this.isMobileShopBanner?
1269this.checkCookieBarCloseStatus():this.els.el.style.display="none"};f.prototype.showMain=function(){this.els.cookieBarMainArea.classList.remove("cookie-bar--hidden");this.isMainArea=!0};f.instances=new WeakMap;var g={init:function(){a(".cookie-bar").target.forEach(function(h){f.instances.has(h)||new f(h)})},reInit:function(){a(".cookie-bar").find(".menu").target.forEach(function(h){m.reInit(h)})},showCookieBar:function(){f.instances.get(document.querySelector(".cookie-bar")).isMainArea=!0;f.instances.get(document.querySelector(".cookie-bar")).showMain();
1270f.instances.get(document.querySelector(".cookie-bar")).els.el.style.display="block"},showMobileAppBanner:function(){this.showCookieBar();f.instances.get(document.querySelector(".cookie-bar")).els.cookieBarMainArea.classList.add("cookie-bar--hidden");f.instances.get(document.querySelector(".cookie-bar")).isMainArea=!1;f.instances.get(document.querySelector(".cookie-bar")).els.cookieBarShopBanner.classList.add("cookie-bar__app-banner--visible");f.instances.get(document.querySelector(".cookie-bar")).isMobileShopBanner=
1271!0;f.instances.get(document.querySelector(".cookie-bar")).reInitMobileAppBar()}};window.sg.components.cookieBar=g;a.ready(g.init)})();
1272(function(a,m){var k=[{site_code:"CA_FR",global:{country_name:"Canada",lang:"French"},local:{country_name:"Canada",lang:"Fran\u00e7ais"},country_codes:["ca"]},{site_code:"CA",global:{country_name:"Canada",lang:"English"},local:{country_name:"Canada",lang:"English"},country_codes:["ca"]},{site_code:"MX",global:{country_name:"Mexico",lang:"Spanish"},local:{country_name:"M\u00e9xico",lang:"Espa\u00f1o"},country_codes:["mx"]},{site_code:"BR",global:{country_name:"Brazil",lang:"Portuguese"},local:{country_name:"Brasil",
1273lang:"Portugu\u00eas"},country_codes:["br"]},{site_code:"LATIN",global:{country_name:"Latin America",lang:"Spanish"},local:{country_name:"Latin",lang:"Espa\u00f1ol"},country_codes:"gt ni do bo ec sv cr pa hn".split(" ")},{site_code:"LATIN_EN",global:{country_name:"Latin America",lang:"English"},local:{country_name:"Latin",lang:"English"},country_codes:"gy gp mq bb bm bz lc sr aw ht ag jm ky tt".split(" ")},{site_code:"CO",global:{country_name:"Colombia",lang:"Spanish"},local:{country_name:"Colombia",
1274lang:"Espa\u00f1ol"},country_codes:["co"]},{site_code:"AR",global:{country_name:"Argentina",lang:"Spanish"},local:{country_name:"Argentina",lang:"Espa\u00f1ol"},country_codes:["ar"]},{site_code:"UY",global:{country_name:"Uruguay",lang:"Spanish"},local:{country_name:"Uruguay",lang:"Espa\u00f1ol"},country_codes:["uy"]},{site_code:"PY",global:{country_name:"Paraguay",lang:"Spanish"},local:{country_name:"Paraguay",lang:"Espa\u00f1ol"},country_codes:["py"]},{site_code:"CL",global:{country_name:"Chile",
1275lang:"Spanish"},local:{country_name:"Chile",lang:"Espa\u00f1ol"},country_codes:["cl"]},{site_code:"PE",global:{country_name:"Peru",lang:"Spanish"},local:{country_name:"Per\u00fa ",lang:"Espa\u00f1ol"},country_codes:["pe"]},{site_code:"SG",global:{country_name:"Singapore",lang:"English"},local:{country_name:"Singapore",lang:"English"},country_codes:["sg"]},{site_code:"AU",global:{country_name:"Australia",lang:"English"},local:{country_name:"Australia",lang:"English"},country_codes:["au"]},{site_code:"NZ",
1276global:{country_name:"New Zealand",lang:"English"},local:{country_name:"New Zealand",lang:"English"},country_codes:["nz"]},{site_code:"ID",global:{country_name:"Indonesia",lang:"Indonesian"},local:{country_name:"Indonesia",lang:"Bahasa Indonesia"},country_codes:["id"]},{site_code:"TH",global:{country_name:"Thailand",lang:"Thai"},local:{country_name:"\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22",lang:"\u0e44\u0e17\u0e22"},country_codes:["th"]},{site_code:"VN",global:{country_name:"Vietnam",
1277lang:"Vietnamese"},local:{country_name:"Vi\u1ec7t Nam",lang:"Ti\u1ebfng Vi\u1ec7t"},country_codes:["vn"]},{site_code:"MY",global:{country_name:"Malaysia",lang:"English"},local:{country_name:"Malaysia",lang:"English"},country_codes:["my"]},{site_code:"MM",global:{country_name:"Myanmar",lang:"Burmese"},local:{country_name:"Myanmar",lang:"Burmese"},country_codes:["mm"]},{site_code:"JP",global:{country_name:"Japan",lang:"Japanese"},local:{country_name:"\u65e5\u672c",lang:"\u65e5\u672c\u8a9e"},country_codes:["jp"]},
1278{site_code:"IN",global:{country_name:"India",lang:"English"},local:{country_name:"India",lang:"English"},country_codes:["in","np","bd","lk"]},{site_code:"UK",global:{country_name:"United Kingdom",lang:"English"},local:{country_name:"United Kingdom",lang:"English"},country_codes:["gb","uk"]},{site_code:"IE",global:{country_name:"Ireland",lang:"English"},local:{country_name:"Ireland",lang:"English"},country_codes:["ie"]},{site_code:"IT",global:{country_name:"Italy",lang:"Italian"},local:{country_name:"Italia",
1279lang:"Italiano"},country_codes:["it","mt"]},{site_code:"ES",global:{country_name:"Spain",lang:"Spanish"},local:{country_name:"Espana",lang:"Espanol"},country_codes:["es"]},{site_code:"HU",global:{country_name:"Hungary",lang:"Hungarian"},local:{country_name:"Magyarorsz\u00e1g",lang:"Magyar"},country_codes:["hu"]},{site_code:"DE",global:{country_name:"Germany",lang:"German"},local:{country_name:"Deutschland",lang:"Deutsch"},country_codes:["de"]},{site_code:"SE",global:{country_name:"Sweden",lang:"Swedish"},
1280local:{country_name:"Sverige",lang:"Svenska"},country_codes:["se"]},{site_code:"DK",global:{country_name:"Denmark",lang:"Danish"},local:{country_name:"Danmark",lang:"Dansk"},country_codes:["dk"]},{site_code:"FI",global:{country_name:"Finland",lang:"Finnish"},local:{country_name:"Suomi",lang:"Suomi"},country_codes:["fi"]},{site_code:"NO",global:{country_name:"Norway",lang:"Norwegian"},local:{country_name:"Norge",lang:"Norsk"},country_codes:["no"]},{site_code:"FR",global:{country_name:"France",lang:"French"},
1281local:{country_name:"France",lang:"Fran\u00e7ais"},country_codes:["fr"]},{site_code:"PT",global:{country_name:"Portugal",lang:"Portuguese"}
1281,local:{country_name:"Portugal",lang:"Portugu\u00eas"},country_codes:["pt"]},{site_code:"PL",global:{country_name:"Poland",lang:"Polish"},local:{country_name:"Polska",lang:"Polski"},country_codes:["pl"]},{site_code:"GR",global:{country_name:"Greece",lang:"Greek"},local:{country_name:"\u0395\u03bb\u03bb\u03ac\u03b4\u03b1",lang:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},
1282country_codes:["gr"]},{site_code:"CZ",global:{country_name:"Czech",lang:"Czech"},local:{country_name:"\u010cesk\u00e1 republika",lang:"\u010ce\u0161tina"},country_codes:["cz"]},{site_code:"SK",global:{country_name:"Slovakia",lang:"Slovakian"},local:{country_name:"Slovensko",lang:"Sloven\u010dina"},country_codes:["sk"]},{site_code:"RO",global:{country_name:"Romania",lang:"Romanian"},local:{country_name:"Romania",lang:"Romanian"},country_codes:["ro"]},{site_code:"BG",global:{country_name:"Bulgaria",
1283lang:"Bulgarian"},local:{country_name:"\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f",lang:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},country_codes:["bg"]},{site_code:"AT",global:{country_name:"Austria",lang:"German"},local:{country_name:"\u00d6sterreich",lang:"Deutsch"},country_codes:["at"]},{site_code:"CH",global:{country_name:"Switzerland",lang:"German"},local:{country_name:"Schweiz",lang:"Deutsch"},country_codes:["ch"]},{site_code:"CH_FR",global:{country_name:"Switzerland",lang:"French"},
1284local:{country_name:"Suisse",lang:"Francaise"},country_codes:["ch"]},{site_code:"BE",global:{country_name:"Belgium",lang:"Dutch"},local:{country_name:"Belgi\u00eb",lang:"Nederlands"},country_codes:["be"]},{site_code:"BE_FR",global:{country_name:"Belgium",lang:"French"},local:{country_name:"Belgium",lang:"French"},country_codes:["lu"]},{site_code:"NL",global:{country_name:"Netherlands",lang:"Dutch"},local:{country_name:"Nederland",lang:"Nederlands"},country_codes:["nl"]},{site_code:"LV",global:{country_name:"Latvia",
1285lang:"Latvian"},local:{country_name:"Latvija",lang:"Latvie\u0161u"},country_codes:["lv"]},{site_code:"LT",global:{country_name:"Lithuania",lang:"Lithuanian"},local:{country_name:"Lietuva",lang:"Lietuvi\u0173"},country_codes:["lt"]},{site_code:"EE",global:{country_name:"Estonia",lang:"Estonian"},local:{country_name:"Eesti",lang:"Eesti"},country_codes:["ee"]},{site_code:"RS",global:{country_name:"Serbia",lang:"Serbian"},local:{country_name:"C\u0440\u0431\u0438\u0458\u0430",lang:"C\u0440\u043f\u0441\u043a\u0438"},
1286country_codes:["rs"]},{site_code:"HR",global:{country_name:"Croatia",lang:"Croatian"},local:{country_name:"Hrvatska",lang:"Hrvatski"},country_codes:["hr"]},{site_code:"SI",global:{country_name:"Slovenia",lang:"Slovenijan"},local:{country_name:"Slovenija",lang:"Sloven\u0161\u010dina"},country_codes:["sl"]},{site_code:"AL",global:{country_name:"Albania",lang:"Albania"},local:{country_name:"Shqip\u00ebri",lang:"Shqi"},country_codes:["al"]},{site_code:"RU",global:{country_name:"Russia",lang:"Russian"},
1287local:{country_name:"\u0420\u043e\u0441\u0441\u0438\u044f",lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["ru"]},{site_code:"UA",global:{country_name:"Ukraine",lang:"Ukrainian"},local:{country_name:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",lang:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},country_codes:["ua"]},{site_code:"UA_RU",global:{country_name:"Ukraine",lang:"Russian"},local:{country_name:"\u0423\u043a\u0440\u0430\u0438\u043d\u0430",lang:"P\u0443\u0441\u0441\u043a\u0438\u0439"},
1288country_codes:["ua"]},{site_code:"KZ_RU",global:{country_name:"Kazakhstan",lang:"Russian"},local:{country_name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",lang:"P\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["kz"]},{site_code:"KZ_KZ",global:{country_name:"Kazakhstan",lang:"Kazakh"},local:{country_name:"\u049a\u0430\u0437\u0430\u049b\u0441\u0442\u0430\u043d",lang:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},country_codes:["kz"]},{site_code:"UZ_RU",global:{country_name:"Uzbekistan",
1289lang:"Russian"},local:{country_name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["uz"]},{site_code:"UZ_UZ",global:{country_name:"Uzbekistan",lang:"Uzbek"},local:{country_name:"O'zbekiston",lang:"O'zbek"},country_codes:["uz"]},{site_code:"AE",global:{country_name:"UAE",lang:"English"},local:{country_name:"UAE",lang:"English"},country_codes:"bh ae ye om qa kw".split(" ")},{site_code:"AE_AR",global:{country_name:"UAE",
1290lang:"Arabic"},local:{country_name:"\u0627\u0644\u0625\u0645\u0627\u0631\u0627\u062a ",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:["ae"]},{site_code:"IL",global:{country_name:"Israel",lang:"Hebrew"}
1290,local:{country_name:"\u05d9\u05e9\u05e8\u05d0\u05dc",lang:"\u05e2\u05d1\u05e8\u05d9\u05ea"},country_codes:["il"]},{site_code:"SA",global:{country_name:"Saudi Arabia",lang:"Arabic"},local:{country_name:"\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",
1291lang:"\u0639\u0631\u0628\u064a"},country_codes:["sa","ly"]},{site_code:"SA_EN",global:{country_name:"Saudi Arabia",lang:"English"},local:{country_name:"Saudi Arabia",lang:"English"},country_codes:["sa"]},{site_code:"TR",global:{country_name:"Turkey",lang:"Turkish"},local:{country_name:"T\u00fcrkiye",lang:"T\u00fcrk\u00e7e"},country_codes:["tr"]},{site_code:"IRAN",global:{country_name:"Iran",lang:"Persian"},local:{country_name:"\u0627\u06cc\u0631\u0627\u0646",lang:"\u0641\u0627\u0631\u0633\u064a"},
1292country_codes:["lr"]},{site_code:"LEVANT",global:{country_name:"Levant",lang:"English"},local:{country_name:"Levant",lang:"English"},country_codes:["lb","jo","iq","ps"]},{site_code:"LEVANT_AR",global:{country_name:"Levant",lang:"Arabic"},local:{country_name:"Levant",lang:"Arabic"},country_codes:["lb","jo","iq","ps"]},{site_code:"PK",global:{country_name:"Pakistan",lang:"English"},local:{country_name:"Pakistan",lang:"English"},country_codes:["pk","af"]},{site_code:"EG",global:{country_name:"Egypt",
1293lang:"Arabic"},local:{country_name:"\u0627\u0644\u0628\u0644\u062f \u0645\u0635\u0631",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:["eg","so","er"]},{site_code:"LB",global:{country_name:"Lebanon",lang:"Lebanon"},local:{country_name:"Lebanon",lang:"English"},country_codes:["lb"]},{site_code:"N_AFRICA",global:{country_name:"Africa",lang:"French"},local:{country_name:"Maroc",lang:"Fran\u00e7ais"},country_codes:["ma","dz","tn"]},{site_code:"AFRICA_EN",global:{country_name:"Africa Pan",
1294lang:"English"},local:{country_name:"Africa",lang:"English"},country_codes:"gh gm na ng lr mw bw sz sl et ug zm zw ke tz".split(" ")},{site_code:"AFRICA_FR",global:{country_name:"Africa Pan",lang:"French"},local:{country_name:"Afrique",lang:"Fran\u00e7ais"},country_codes:"ga gn ne rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" ")},{site_code:"AFRICA_PT",global:{country_name:"Africa Pan",lang:"Portuguese"},local:{country_name:"\u00c1frica",lang:"Portugu\u00eas"},country_codes:["gw",
1295"mz","ao","cv"]},{site_code:"ZA",global:{country_name:"South Africa",lang:"English"},local:{country_name:"South Africa",lang:"English"},country_codes:["za"]},{site_code:"US",global:{country_name:"USA",lang:"English"},local:{country_name:"USA",lang:"English"},country_codes:["us"]},{site_code:"CN",global:{country_name:"China",lang:"Chinese"},local:{country_name:"\u4e2d\u56fd",lang:"\u4e2d\u6587"},country_codes:["cn"]},{site_code:"HK",global:{country_name:"Hong Kong",lang:"Chinese"},local:{country_name:"\u9999\u6e2f",
1296lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["hk"]},{site_code:"HK_EN",global:{country_name:"Hong Kong",lang:"English"},local:{country_name:"Hong Kong",lang:"English"},country_codes:["hk"]},{site_code:"TW",global:{country_name:"Taiwan",lang:"Chinese"},local:{country_name:"\u53f0\u7063",lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["tw"]},{site_code:"SEC",global:{country_name:"Korea",lang:"Korean"},local:{country_name:"\ub300\ud55c\ubbfc\uad6d",lang:"\ud55c\uad6d\uc5b4"},country_codes:["kr"]},
1297{site_code:"PH",global:{country_name:"Philippines",lang:"English"},local:{country_name:"Philippines",lang:"English"},country_codes:["ph"]},{site_code:"VE",global:{country_name:"Venezuela",lang:"English"},local:{country_name:"Venezuela",lang:"English"},country_codes:["sg","ve"]}];"undefined"===typeof a.smg&&(a.smg={});"undefined"===typeof a.smg.aem&&(a.smg.aem={});"undefined"===typeof a.smg.aem.common&&(a.smg.aem.common={});var f=function(){var g=m("#siteCode").val(),h=!0;"cn"===g&&(h=!1);var n={closeBtn:".cookie-bar__close",
1298akkoordBtn:"#akkoord_btn",cookieAcceptBtn:".cta--contained",geoSelectWrap:".cookie-bar__select",visitBtnsWrap:".cookie-bar__select-ctas .menu__select",geoMsgCookieWrap:".cookie-bar__msg-wrap",typeManage:".cookie-bar--type-manage",paramsCookie:{commonaccepted:"cookiesaccepted",accepted:"cookiesaccepted-geo",acceptedCountries:"cookiesaccepted-countries",banneraccepted:"cookiesaccepted_banner",countryCodes:"country_codes",siteCode:"site_cd"}};return{init:function(e,b){if(!(1>m(".cookie-bar").length||
1299"undefined"!==typeof shopAppUtilInstance&&shopAppUtilInstance.isWebView())){var d="N",l=navigator.userAgent;if("in"===g||"es"===g||"de"===g||"nl"===g||"uk"===g){if(-1<l.indexOf("MyGalaxy")||-1<l.indexOf("SamsungShopSDK"))d="Y";if("Y"===d){m(".cookie-bar").remove();return}navigator.userAgent.match(/iPhone|iPad|iPod/i);window.location.href.indexOf("/"+g+"/support/")}(this.$container=e).length&&!this.$container.data("initialized")&&g&&(this.options=def(n,b||{}),this.assignedHTMLElements(),this.initProperties(),
1300this.isAcceptedCountries()&&this.$geoMsgCookieWrap.remove(),this.isAcceptedBanner()&&this.removebannerInner(),this.setCountryInfo(),!this.isAcceptedGeo()&&!this.isLocalLanguageSite()&&""!==this.visitCountryCode&&this.currentCountrySiteInfo[0]||!this.isAcceptedCountries()||null!==this.$bannerInner&&(null===this.$bannerInner||0!==this.$bannerInner.length))&&(this.bindEvents(),this.$container.attr("data-initialized",!0),"es"!==g&&"de"!==g&&"nl"!==g&&"uk"!==g||this.$geoMsgCookieWrap.hide(),window.sg.components.c
1300ookieBar.showCookieBar())}},
1301assignedHTMLElements:function(){var e=this.$container,b=this.options;this.$visitBtnsWrap=e.find(b.visitBtnsWrap);this.$cookieGeoClose=e.find(b.closeBtn);this.$akkoordBtn=e.find(b.akkoordBtn);this.$cookieAcceptBtn=e.find(b.cookieAcceptBtn);this.$geoSelectWrap=e.find(b.geoSelectWrap);this.$selectListToggleBtn=e.find(b.selectListToggleBtn);this.$geoMsgCookieWrap=e.find(b.geoMsgCookieWrap);this.$bannerClose=m(".cookie-bar__shop-app-close");this.$bannerInner=m(".cookie-bar__app-banner")},initProperties:function(){var e=
1302this.options.paramsCookie;this.testSiteCd=this.getParam(e.siteCode);this.currentSiteCode=g.toLowerCase();this.visitCountryCode=this.testSiteCd?this.testSiteCd:cookies.getCookie(e.countryCodes).toLowerCase();this.currentCountrySiteInfo=[];this.visitCountrySiteInfo=[];this.selectedSiteCode="";this.acceptedCountries=[];cookies.getCookie(e.acceptedCountries)&&(this.acceptedCountries=cookies.getCookie(e.acceptedCountries).split(","))},isLocalLanguageSite:function(){return this.currentSiteCode===this.visitCountryCode},
1303isSameSiteGroup:function(){var e=this.visitCountrySiteInfo,b=this.currentCountrySiteInfo[0],d=!1;b&&m.each(b.country_codes,function(l,q){m.each(e,function(t,w){0<=m.inArray(q,w.country_codes)&&(d=!0)})});return d},setCountryInfo:function(){m.each(k,m.proxy(function(e,b){e=b.country_codes;var d=b.site_code.toLowerCase();m.each(e,m.proxy(function(l,q){d===this.currentSiteCode&&this.currentCountrySiteInfo.push(b);q===this.visitCountryCode&&this.visitCountrySiteInfo.push(b)},this))},this))},append:function(){var e=
1304this.visitCountrySiteInfo,b=this.currentCountrySiteInfo[0];if(e.length&&b){var d="",l="",q=0;this.isSameSiteGroup()||(q++,d+='\x3coption value\x3d"'+q+'" site_cd\x3d"'+b.site_code.toLowerCase()+'" title\x3d"Visit '+b.local.country_name+"/"+b.local.lang+' site"\x3e'+b.local.country_name+" / "+b.local.lang+"\x3c/option\x3e",l=b.local.country_name+" / "+b.local.lang);m.each(e,m.proxy(function(t,w){q++;d+='\x3coption value\x3d"'+q+'" site_cd\x3d"'+w.site_code.toLowerCase()+'" title\x3d"Visit '+w.local.country_name+
1305"/"+w.local.lang+' site"\x3e'+w.local.country_name+" / "+w.local.lang+"\x3c/option\x3e";""===l&&(l=w.local.country_name+" / "+w.local.lang)},this));this.$visitBtnsWrap.attr("data-default-message",l);this.$visitBtnsWrap.html(d);window.sg.components.cookieBar.reInit()}else this.$geoSelectWrap.remove()},bindEvents:function(){this.$visitBtnsWrap.on("change",m.proxy(this.onSelectBtnsClick,this));this.$cookieGeoClose.on("click",m.proxy(this.onCloseBtnClick,this));this.$akkoordBtn.on("click",m.proxy(this.onAkkoordBtnClick,
1306this));this.$cookieAcceptBtn.on("click",m.proxy(this.onAcceptClick,this));this.$bannerClose.on("click",m.proxy(this.onBaanerCloseBtnClick,this))},isTypeManage:function(){return this.$container.is(this.options.typeManage)},onCloseBtnClick:function(){this.isTypeManage()||this.setCookieAccept()},onAkkoordBtnClick:function(){this.isTypeManage()||(this.setCookieAccept(),m(".cookie-bar").hide())},setCookieAccept:function(){var e=this.options.paramsCookie;0>m.inArray(this.currentSiteCode,this.acceptedCountries)&&
1307this.acceptedCountries.push(this.currentSiteCode);cookies.setCookie2(e.acceptedCountries,this.acceptedCountries,90,h);cookies.setCookie2(e.commonaccepted,"true",90,h)},setCookieGeo:function(){var e=this.options.paramsCookie;cookies.setCookie(e.accepted,"true",90);cookies.setCookie2(e.commonaccepted,"true",90,h)},setBannerCookie:function(){cookies.setCookie(this.options.paramsCookie.banneraccepted,"true",90)},onAcceptClick:function(){this.setCookieAccept();this.isTypeManage()?m(".cookie-bar").hide():
1308this.$geoMsgCookieWrap.remove()},onSelectBtnsClick:function(e){e=this.options.paramsCookie;this.selectedSiteCode=m(".cookie-bar__select-ctas .menu__select option:selected").attr("site_cd");this.setParamsCookie(e.siteCode,this.selectedSiteCode,999);this.setCookieGeo();this.isTypeManage()||this.setCookieAccept()},onBaanerCloseBtnClick:function(){this.setBannerCookie()},isAcceptedGeo:function(){return!!cookies.getCookie(this.options.paramsCookie.accepted)},isAcceptedBanner:function(){return!!cookies.getCookie(this.options.paramsCookie.banneraccepted)},
1309isAcceptedCountries:function(){return 0>m.inArray(this.currentSiteCode,this.acceptedCountries)?!1:!0},removebannerInner:function(){null!==this.$bannerInner&&(this.$bannerInner.remove(),this.$bannerInner=null)},setParamsCookie:function(e,b,d){var l=new Date,q=window.location.protocol+"//"+window.location.host+"/"+this.selectedSiteCode;l.setDate(l.getDate()+parseInt(d));document.cookie=e+"\x3d"+escape(b)+"; path\x3d/;
1309 expires\x3d"+l.toGMTString()+";";window.location.href=q},getParam:function(e){var b=
1310{};document.location.search.replace("?","").replace(/(?:^|\?|&)([^=]+)(?==)(?:=([^&]*))?/g,function(d,l,q){b[decodeURIComponent(l.split("+").join(" "))]=decodeURIComponent(q.split("+").join(" "))});return b[e]}}}();m(function(){f.init(m(".cookie-bar__wrap"))})})(window,jQuery);
1311(function(){function a(){m(k.section).target.forEach(function(g){f.instances.has(g)||new f(g)})}var m=window.sg.common.$q,k={section:".notice"},f=function(g){var h=this;this.selector={section:k.section,btn:".notice__toggle-btn",hidden:".notice__toggle-btn .hidden",content:".notice__inner",nomarl:".notice__column notice__column--collapsed",expend:".notice__column notice__column--expanded",close:".notice__close"};this.timer=null;this.ele={window:m(window),section:m(g),btn:null,content:null,nomarl:null,
1312expand:null,close:null};this.toggleType=this.ele.section.hasClass("notice--toggle");this.handler={resize:function(){h.toggleType&&(h.ele.section.css({height:""}),h.timer&&clearTimeout(h.timer),setTimeout(function(){h.setHeight()},400))},clickClose:function(n){n.preventDefault();h.ele.section.hide();h.ele.window.trigger("resize")}};this.init();f.instances.set(g,this)};f.prototype.setProperty=function(){this.ele.btn=this.ele.section.find(this.selector.btn);this.toggleType?(this.ele.hidden=this.ele.section.find(this.selector.hidden),
1313this.ele.content=this.ele.section.find(this.selector.content),this.ele.pdBanner=this.ele.section.find(this.selector.pdBanner),this.ele.nomarl=this.ele.section.find(this.selector.nomarl),this.ele.expand=this.ele.section.find(this.selector.expend)):this.ele.close=this.ele.section.find(this.selector.close)};f.prototype.init=function(){this.setProperty();this.bindEvents()};f.prototype.reInit=function(){this.setProperty();this.bindEvents()};f.prototype.setHeight=function(){this.ele.section.css({height:this.ele.content.outerHeight()+
1314"px"})};f.prototype.bindEvents=function(){var g=this;if(this.toggleType)this.ele.btn.off("click").on("click",function(){g.ele.section.hasClass("is-expanded")?g.closeBanner():g.openBanner()}),this.setHeight();else this.ele.close.off("click").on("click",this.handler.clickClose);this.ele.window.off("resize",this.handler.resize).on("resize",this.handler.resize)};f.prototype.openBanner=function(){this.ele.section.addClass("is-expanded");this.ele.section.attr("aria-expanded",!0);this.ele.nomarl.hide();
1315this.ele.expand.show();this.ele.hidden.innerHTML("Click to Collapse");this.setHeight()};f.prototype.closeBanner=function(){this.ele.section.removeClass("is-expanded");this.ele.section.attr("aria-expanded",!1);this.ele.nomarl.show();this.ele.expand.hide();this.ele.hidden.innerHTML("Click to Expand");this.setHeight()};f.instances=new WeakMap;window.sg.components.notice={init:a,reInit:function(){m(k.section).target.forEach(function(g){f.instances.has(g)?f.instances.get(g).reInit():new f(g)})},closeBanner:function(g){g=
1316void 0===g?!0:g;m(k.section).target.forEach(function(h){f.instances.has(h)&&f.instances.get(h).closeBanner(g)})}};m.ready(a)})();
1317(function(){function a(){m(g.section).target.forEach(function(e){n.instance.has(e)||new n(e)})}var m=window.sg.common.$q,k=window.sg.common.utils,f=window.sg.common.utils.getCurrentDevice,g={section:".nv16-country-selector"},h=[{site_code:"AE",local:{country_name:"UAE",lang:"English"},country_codes:"ae ae_ar bh ye om qa kw".split(" "),lang_code:"en-AE"},{site_code:"AE_AR",local:{country_name:"\u0627\u0644\u062e\u0644\u064a\u062c",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:"ae ae_ar bh ye om qa kw".split(" "),
1318lang_code:"ar-AE"},{site_code:"AFRICA_EN",local:{country_name:"Africa",lang:"English"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" "),lang_code:"en-002"},{site_code:"AFRICA_FR",local:{country_name:"Afrique",lang:"Fran\u00e7ais"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" "),
1319lang_code:"fr-002"},{site_code:"AFRICA_PT",local:{country_name:"\u00c1frica",lang:"Portugu\u
131900eas"},country_codes:"africa_en africa_fr africa_pt gh gm ga gn gw na ng ne lr mz mw bw sz sl et ug zm zw ke tz ao cv rw re mg yt ml mu mr bj bi bf sn sc cf dj td cm km ci cg cd tg".split(" "),lang_code:"pt-002"},{site_code:"AL",local:{country_name:"Shqip\u00ebri",lang:"Shqip"},country_codes:["al"],lang_code:"sq-AL"},{site_code:"AR",local:{country_name:"Argentina",lang:"Espa\u00f1ol"},country_codes:["ar"],
1320lang_code:"es-AR"},{site_code:"AT",local:{country_name:"\u00d6sterreich",lang:"Deutsch"},country_codes:["at"],lang_code:"de-AT"},{site_code:"AZ",local:{country_name:"Az\u0259rbaycan",lang:"Az\u0259rbaycan dili"},country_codes:["az"],lang_code:"az_AZ"},{site_code:"AU",local:{country_name:"Australia",lang:"English"},country_codes:["au"],lang_code:"en-AU"},{site_code:"BA",local:{country_name:"Bosna i Hercegovina",lang:"Bosanski"},country_codes:["ba"],lang_code:"bs-BA"},{site_code:"BD",local:{country_name:"Bangladesh",
1321lang:"English"},country_codes:["bd"],lang_code:"en-BD"},{site_code:"BE",local:{country_name:"Belgi\u00eb",lang:"Nederlands"},country_codes:["be","be_fr","lu"],lang_code:"nl-BE"},{site_code:"BE_FR",local:{country_name:"Belgium",lang:"French"},country_codes:["be","be_fr","lu"],lang_code:"fr-BE"},{site_code:"BG",local:{country_name:"\u0411\u044a\u043b\u0433\u0430\u0440\u0438\u044f",lang:"\u0411\u044a\u043b\u0433\u0430\u0440\u0441\u043a\u0438"},country_codes:["bg"],lang_code:"bg-BG"},{site_code:"BR",
1322local:{country_name:"Brasil",lang:"Portugu\u00eas"},country_codes:["br"],lang_code:"pt-BR"},{site_code:"CA",local:{country_name:"Canada",lang:"English"},country_codes:["ca","ca_fr"],lang_code:"en-CA"},{site_code:"CA_FR",local:{country_name:"Canada",lang:"Fran\u00e7ais"},country_codes:["ca","ca_fr"],lang_code:"fr-CA"},{site_code:"CH",local:{country_name:"Schweiz",lang:"Deutsch"},country_codes:["ch","ch_fr"],lang_code:"de-CH"},{site_code:"CH_FR",local:{country_name:"Suisse",lang:"Francaise"},country_codes:["ch",
1323"ch_fr"],lang_code:"fr-CH"},{site_code:"CL",local:{country_name:"Chile",lang:"Espa\u00f1ol"},country_codes:["cl"],lang_code:"es-CL"},{site_code:"CN",local:{country_name:"\u4e2d\u56fd",lang:"\u4e2d\u6587"},country_codes:["cn"],lang_code:"zh-CN"},{site_code:"CO",local:{country_name:"Colombia",lang:"Espa\u00f1ol"},country_codes:["co"],lang_code:"es-CO"},{site_code:"CZ",local:{country_name:"\u010cesk\u00e1 republika",lang:"\u010ce\u0161tina"},country_codes:["cz"],lang_code:"cs-CZ"},{site_code:"DE",local:{country_name:"Deutschland",
1324lang:"Deutsch"},country_codes:["de"],lang_code:"de-DE"},{site_code:"DK",local:{country_name:"Danmark",lang:"Dansk"},country_codes:["dk"],lang_code:"da-DK"},{site_code:"EE",local:{country_name:"Eesti",lang:"Eesti"},country_codes:["ee"],lang_code:"et-EE"},{site_code:"EG",local:{country_name:"\u0627\u0644\u0628\u0644\u062f \u0645\u0635\u0631",lang:"\u0627\u0644\u0639\u0631\u0628\u064a\u0629"},country_codes:["eg","so","er"],lang_code:"ar-EG"},{site_code:"ES",local:{country_name:"Espana",lang:"Espanol"},
1325country_codes:["es"],lang_code:"es-ES"},{site_code:"FI",local:{country_name:"Suomi",lang:"Suomi"},country_codes:["fi"],lang_code:"fi-FI"},{site_code:"FR",local:{country_name:"France",lang:"Fran\u00e7ais"},country_codes:["fr"],lang_code:"fr-FR"},{site_code:"GE",local:{country_name:"\u10e1\u10d0\u10e5\u10d0\u10e0\u10d7\u10d5\u10d4\u10da\u10dd",lang:"\u10e5\u10d0\u10e0\u10d7\u10e3\u10da\u10d8"},country_codes:["ge"],lang_code:"ka_GE"},{site_code:"GR",local:{country_name:"\u0395\u03bb\u03bb\u03ac\u03b4\u03b1",
1326lang:"\u0395\u03bb\u03bb\u03b7\u03bd\u03b9\u03ba\u03ac"},country_codes:["gr"],lang_code:"el-GR"},{site_code:"HK",local:{country_name:"\u9999\u6e2f",lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["hk","hk_en"],lang_code:"zh-HK"},{site_code:"HK_EN",local:{country_name:"Hong Kong",lang:"English"},country_codes:["hk","hk_en"],lang_code:"en-HK"},{site_code:"HR",local:{country_name:"Hrvatska",lang:"Hrvatski"},country_codes:["hr"],lang_code:"hr-HR"},{site_code:"HU",local:{country_name:"Magyarorsz\u00e1g",
1327lang:"Magyar"},country_codes:["hu"],lang_code:"hu-HU"},{site_code:"ID",local:{country_name:"Indonesia",lang:"Bahasa Indonesia"},country_codes:["id"],lang_code:"id-ID"},{site_code:"IE",local:{country_name:"Ireland",lang:"English"},country_codes:["ie"],lang_code:"en-IE"}
1327,{site_code:"IL",local:{country_name:"\u05d9\u05e9\u05e8\u05d0\u05dc",lang:"\u05e2\u05d1\u05e8\u05d9\u05ea"},country_codes:["il"],lang_code:"he-IL"},{site_code:"IN",local:{country_name:"India",lang:"English"},country_codes:["in","np",
1328"bd","lk"],lang_code:"en-IN"},{site_code:"IQ_AR",local:{country_name:"\u0627\u0644\u0639\u0631\u0627\u0642",lang:"\u0639\u0631\u0628\u064a"},country_codes:["iq","iq_ar","iq_ku"],lang_code:"ar-IQ"},{site_code:"IQ_KU",local:{country_name:"\u06a9\u0648\u0631\u062f\u0633\u062a\u0627\u0646",lang:"\u06a9\u0648\u0631\u062f\u06cc"},country_codes:["iq","iq_ar","iq_ku"],lang_code:"ku-IQ"},{site_code:"IRAN",local:{country_name:"\u0627\u06cc\u0631\u0627\u0646",lang:"\u0641\u0627\u0631\u0633\u064a"},country_codes:["lr",
1329"iran"],lang_code:"fa-IR"},{site_code:"IT",local:{country_name:"Italia",lang:"Italiano"},country_codes:["it","mt"],lang_code:"it-IT"},{site_code:"JP",local:{country_name:"\u65e5\u672c",lang:"\u65e5\u672c\u8a9e"},country_codes:["jp"],lang_code:"ja-JP"},{site_code:"KZ_KZ",local:{country_name:"\u049a\u0430\u0437\u0430\u049b\u0441\u0442\u0430\u043d",lang:"\u049a\u0430\u0437\u0430\u049b\u0448\u0430"},country_codes:["kz","kz_kz","kz_ru"],lang_code:"kk-KZ"},{site_code:"KZ_RU",local:{country_name:"\u041a\u0430\u0437\u0430\u0445\u0441\u0442\u0430\u043d",
1330lang:"P\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["kz","kz_kz","kz_ru"],lang_code:"ru-KZ"},{site_code:"LATIN",local:{country_name:"Latin",lang:"Espa\u00f1ol"},country_codes:"latin_en latin gt ni do bo ec sv cr pa hn gy gp mq bb bm bz lc sr aw ht ag jm ky tt".split(" "),lang_code:"es-419"},{site_code:"LATIN_EN",local:{country_name:"Latin",lang:"English"},country_codes:"latin_en latin gt ni do bo ec sv cr pa hn gy gp mq bb bm bz lc sr aw ht ag jm ky tt".split(" "),lang_code:"en-419"},{site_code:"LB",
1331local:{country_name:"Lebanon",lang:"English"},country_codes:["lb"],lang_code:"en-LB"},{site_code:"LEVANT",local:{country_name:"Levant",lang:"English"},country_codes:["levant_ar","levant","jo"],lang_code:"en-JO"},{site_code:"LEVANT_AR",local:{country_name:"Levant",lang:"Arabic"},country_codes:["levant_ar","levant","jo"],lang_code:"ar-JO"},{site_code:"LT",local:{country_name:"Lietuva",lang:"Lietuvi\u0173"},country_codes:["lt"],lang_code:"lt-LT"},{site_code:"LV",local:{country_name:"Latvija",lang:"Latvie\u0161u"},
1332country_codes:["lv"],lang_code:"lv-LV"},{site_code:"MK",local:{country_name:"\u0421\u0435\u0432\u0435\u0440\u043d\u0430 \u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0438\u0458\u0430",lang:"\u041c\u0430\u043a\u0435\u0434\u043e\u043d\u0441\u043a\u0438"},country_codes:["mk"],lang_code:"mk-MK"},{site_code:"MM",local:{country_name:"Myanmar",lang:"Burmese"},country_codes:["mm"],lang_code:"my-MM"},{site_code:"MN",local:{country_name:"\u041c\u043e\u043d\u0433\u043e\u043b \u0443\u043b\u0441",lang:"\u041c\u043e\u043d\u0433\u043e\u043b \u0445\u044d\u043b"},
1333country_codes:["mn"],lang_code:"mn-MN"},{site_code:"MX",local:{country_name:"M\u00e9xico",lang:"Espa\u00f1o"},country_codes:["mx"],lang_code:"es-MX"},{site_code:"MY",local:{country_name:"Malaysia",lang:"English"},country_codes:["my"],lang_code:"en-MY"},{site_code:"N_AFRICA",local:{country_name:"Maroc",lang:"Fran\u00e7ais"},country_codes:["ma","dz","tn"],lang_code:"fr-MA"},{site_code:"NL",local:{country_name:"Nederland",lang:"Nederlands"},country_codes:["nl"],lang_code:"nl-NL"},{site_code:"NO",local:{country_name:"Norge",
1334lang:"Norsk"},country_codes:["no"],lang_code:"no-NO"},{site_code:"NZ",local:{country_name:"New Zealand",lang:"English"},country_codes:["nz"],lang_code:"en-NZ"},{site_code:"PE",local:{country_name:"Per\u00fa ",lang:"Espa\u00f1ol"},country_codes:["pe"],lang_code:"es-PE"},{site_code:"PH",local:{country_name:"Philippines",lang:"English"},country_codes:["ph"],lang_code:"en-PH"},{site_code:"PK",local:{country_name:"Pakistan",lang:"English"},country_codes:["pk","af"],lang_code:"en-PK"},{site_code:"PL",local:{country_name:"Polska",
1335lang:"Polski"},country_codes:["pl"],lang_code:"pl-PL"},{site_code:"PS",local:{country_name:"\u0641\u0644\u0633\u0637\u064a\u0646",lang:" \u062f\u0648\u0644\u0629"},country_codes:["ps"],lang_code:"ar-PS"}
1335,{site_code:"PT",local:{country_name:"Portugal",lang:"Portugu\u00eas"},country_codes:["pt"],lang_code:"pt-PT"},{site_code:"PY",local:{country_name:"Paraguay",lang:"Espa\u00f1ol"},country_codes:["py"],lang_code:"es-PY"},{site_code:"RO",local:{country_name:"Romania",lang:"Romanian"},country_codes:["ro"],
1336lang_code:"ro-RO"},{site_code:"RS",local:{country_name:"C\u0440\u0431\u0438\u0458\u0430",lang:"C\u0440\u043f\u0441\u043a\u0438"},country_codes:["rs"],lang_code:"sr-RS"},{site_code:"RU",local:{country_name:"\u0420\u043e\u0441\u0441\u0438\u044f",lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["ru"],lang_code:"ru-RU"},{site_code:"SA",local:{country_name:"\u0627\u0644\u0645\u0645\u0644\u0643\u0629 \u0627\u0644\u0639\u0631\u0628\u064a\u0629 \u0627\u0644\u0633\u0639\u0648\u062f\u064a\u0629",
1337lang:"\u0639\u0631\u0628\u064a"},country_codes:["sa","sa_en","ly"],lang_code:"ar-SA"},{site_code:"SA_EN",local:{country_name:"Saudi Arabia",lang:"English"},country_codes:["sa","sa_en","ly"],lang_code:"en-SA"},{site_code:"SE",local:{country_name:"Sverige",lang:"Svenska"},country_codes:["se"],lang_code:"sv-SE"},{site_code:"SEC",local:{country_name:"\ub300\ud55c\ubbfc\uad6d",lang:"\ud55c\uad6d\uc5b4"},country_codes:["kr"],lang_code:"ko"},{site_code:"SG",local:{country_name:"Singapore",lang:"English"},
1338country_codes:["sg"],lang_code:"en-SG"},{site_code:"SI",local:{country_name:"Slovenija",lang:"Sloven\u0161\u010dina"},country_codes:["si"],lang_code:"sl-SI"},{site_code:"SK",local:{country_name:"Slovensko",lang:"Sloven\u010dina"},country_codes:["sk"],lang_code:"sk-SK"},{site_code:"TH",local:{country_name:"\u0e1b\u0e23\u0e30\u0e40\u0e17\u0e28\u0e44\u0e17\u0e22",lang:"\u0e44\u0e17\u0e22"},country_codes:["th"],lang_code:"th-TH"},{site_code:"TR",local:{country_name:"T\u00fcrkiye",lang:"T\u00fcrk\u00e7e"},
1339country_codes:["tr"],lang_code:"tr-TR"},{site_code:"TW",local:{country_name:"\u53f0\u7063",lang:"\u7e41\u9ad4\u4e2d\u6587"},country_codes:["tw"],lang_code:"zh-TW"},{site_code:"UA",local:{country_name:"\u0423\u043a\u0440\u0430\u0457\u043d\u0430",lang:"\u0423\u043a\u0440\u0430\u0457\u043d\u0441\u044c\u043a\u0430"},country_codes:["ua"],lang_code:"uk-UA"},{site_code:"UK",local:{country_name:"United Kingdom",lang:"English"},country_codes:["gb","uk"],lang_code:"en-GB"},{site_code:"US",local:{country_name:"USA",
1340lang:"English"},country_codes:["us"],lang_code:"en"},{site_code:"UY",local:{country_name:"Uruguay",lang:"Espa\u00f1ol"},country_codes:["uy"],lang_code:"es-UY"},{site_code:"UZ_UZ",local:{country_name:"O'zbekiston",lang:"O'zbek"},country_codes:["uz","uz_ru","uz_uz"],lang_code:"uz-uz"},{site_code:"UZ_RU",local:{country_name:"\u0423\u0437\u0431\u0435\u043a\u0438\u0441\u0442\u0430\u043d",lang:"\u0420\u0443\u0441\u0441\u043a\u0438\u0439"},country_codes:["uz","uz_ru","uz_uz"],lang_code:"uz-ru"},{site_code:"VN",
1341local:{country_name:"Vi\u1ec7t Nam",lang:"Ti\u1ebfng Vi\u1ec7t"},country_codes:["vn"],lang_code:"vi-VN"},{site_code:"ZA",local:{country_name:"South Africa",lang:"English"},country_codes:["za"],lang_code:"en-ZA"}],n=function(e){this.els={window:m(window),wrap:m("#wrap"),section:m(e)};this.settings={SITECD:this.getSITECD(),selector:{content:".nv16-country-selector__content-wrap",countrySelector:".nv16-country-selector__menu .menu",countryList:".nv16-country-selector__menu .menu__select",menuOptionText:".nv16-country-selector__menu .menu__list-option-text",
1342menuSelectFieldText:".menu__select-field-text",urlSitecd:"[data-country-type\x3dsitecd]",locationSitecd:"[data-country-type\x3dlocation]",continue:"[data-action\x3dcountrySelectorContinue]",close:"[data-action\x3dcountrySelectorClose]"},cookies:{accept:{name:"cookiesaccepted-geo",value:!0,days:90},selectedSitecd:{name:"site_cd",days:999},countryCodes:{name:"country_codes",value:k.getCookie("country_codes")}},otherCountry:"/function/ipredirection/ipredirectionLocalList/"};this.currentDevice=f();this.handler=
1343{handleResize:this.handleResize.bind(this),handleCountryChange:this.handleCountryChange.bind(this)};n.instance.set(e,this);this.init()};n.prototype.init=function(){this.settings.SITECD=this.getSITECD();this.settings.cookies.countryCodes.value=k.getCookie("country_codes");this.isExistSitecd()&&(this.setElements(),this.bindEvents(),this.isAccepted()||this.isCountrySelected()||!this.checkCountryValid()||this.isWebViewFlag()?this.remove():this.show())};n.prototype.reInit=function(){this.init()};n.prototype.getSITECD=
1344function(){return document.querySelector("#siteCode")?document.querySelector("#siteCode").value.toLowerCase():"test"};n.prototype.setElements=function(){var e=this;this.els.content=this.els.section.find(this.settings.selector.content);this.els.countrySelector=this.els.section.find(this.settings.selector.countrySelector);this.els.countryList=this.els.section.find(this.settings.selector.countryList);this.els.continue=this.els.section.find(this.settings.selector.continue);this.els.close=this.els.section.find(this.settings.selector.close);
1345this.els.countryList.find(this.settings.selector.urlSitecd).remove();this.els.countryList.find(this.settings.selector.locationSitecd).remove();var b=[];h.forEach(function(d){(d.country_codes.find(function(l){return l===e.settings.SITECD})||d.site_code.toLowerCase()===e.settings.SITECD)&&b.push(d.site_code)});h.forEach(function(d){d.country_codes.find(function(l){return l===e.settings.cookies.countryCodes.value})&&b.push(d.site_code)});b=[].concat($jscomp.arrayFromIterable(new Set(b)));b.forEach(function(d){var l=
1346h.find(function(q){return q.site_code===d});e.setOptions(l)});window.sg.common.menu.reInit(this.els.section.find(".menu").target[0]);this.setLangCode();this.changeSelectedLangCode();this.changeSelectedText()};n.prototype.setLangCode=function(){var e=this.els.section.find(".menu option");this.els.section.find(this.settings.selector.menuOptionText).target.forEach(function(b,d){(d=e.target[d].getAttribute("lang"))&&m(b).attr("lang",d)})};n.prototype.bindEvents=function(){this.els.continue.off("click").on("click",
1347this.handleContinue.bind(this));this.els.close.off("click").on("click",this.close.bind(this));this.els.countrySelector.off("click").on("click",this.handleCountrySelector.bind(this));this.els.countryList.off("change",this.handler.handleCountryChange).on("change",this.handler.handleCountryChange);this.els.window.off("resize",this.handler.handleResize).on("resize",this.handler.handleResize)};n.prototype.show=function(){var e=this;this.els.section.css({height:this.els.content.height()+"px"});this.els.section.slideDown(400,
1348function(){e.els.section.addClass("nv16-country-selector--init");e.els.section.css({height:"auto"})})};n.prototype.close=function(){this.setAcceptCookie();this.els.section.css({height:this.els.section.height()+"px"});
1348this.els.section.slideUp(350,this.remove.bind(this,"close"))};n.prototype.handleCountrySelector=function(){var e=this,b=new MutationObserver(function(d){d[0].target.classList.contains("open")?e.els.section.addClass("s-menu-opened"):(e.els.section.removeClass("s-menu-opened"),b.disconnect())});
1349b.observe(this.els.countrySelector.target[0],{attributes:!0,childList:!1})};n.prototype.handleCountryChange=function(){this.changeSelectedLangCode();this.changeSelectedText()};n.prototype.changeSelectedLangCode=function(){var e=this.els.countryList.target[0].querySelector("option[selected]")&&this.els.countryList.target[0].querySelector("option[selected]").getAttribute("lang");e?this.els.section.find(this.settings.selector.menuSelectFieldText).attr("lang",e):this.els.section.find(this.settings.selector.menuSelectFieldText).removeAttr("lang")};
1350n.prototype.changeSelectedText=function(){var e=this.els.countryList.target[0].options;(e=m(e[e.selectedIndex]).attr("data-display-text"))&&this.els.section.find(this.settings.selector.menuSelectFieldText).text(e)};n.prototype.handleContinue=function(){var e=this.els.countryList.target[0].querySelector("option[selected]").getAttribute("value"),b=checkEppSite();if("other"===e)window.location.href=window.location.origin+"/"+this.settings.SITECD+this.settings.otherCountry;else{k.setCookie(this.settings.cookies.selectedSitecd.name,
1351e,this.settings.cookies.selectedSitecd.days);this.setAcceptCookie();this.close();var d=window.location.origin;"cn"===this.settings.SITECD&&window.location.origin.endsWith(".com.cn")&&(d=window.location.origin.replace("samsung.com.cn","samsung.com"));e===this.settings.SITECD?window.location.reload():this.isB2b()?window.location.href=d+"/"+e+"/business/":b?(e=document.getElementById("eppStoreCountryPath").value,window.location.href=d+"/"+e+"/"):window.location.href=d+"/"+e+"/"}};n.prototype.handleResize=
1352function(){var e=f();e!==this.currentDevice&&"desktop"===e&&this.changeSelectedText();this.currentDevice=e};n.prototype.setAcceptCookie=function(){var e=this.settings.cookies.accept;k.setCookie(e.name,e.value,e.days)};n.prototype.setOptions=function(e){if(e.site_code&&e.local&&e.local.country_name&&e.local.lang){var b=e.site_code.toLowerCase(),d=e.lang_code,l=b===this.settings.SITECD,q='an-tr\x3d"nv16_country selector-'+(window.digitalData&&window.digitalData.page&&window.digitalData.page.pageInfo&&
1353window.digitalData.page.pageInfo.pageTrack||"")+'-drop down menu-navigation2" an-ca\x3d"navigation" an-ac\x3d"gnb" an-la\x3d"'+(this.isB2b()?"b2b_":"")+'country selector"';e="\x3coption"+(l?" selected":"")+' value\x3d"'+b+'" data-country-type\x3d'+(l?"sitecd":"location")+' lang\x3d"'+d+'" data-display-text\x3d"'+e.local.country_name+'" '+q+"\x3e"+e.local.country_name+" / "+e.local.lang+"\x3c/option\x3e";this.els.countryList.find("option[value\x3dother]").target[0].insertAdjacentHTML("beforebegin",
1354e)}};n.prototype.remove=function(e){e=void 0===e?!1:e;this.els.section.remove();this.els.wrap.target.length&&"close"===e&&k.setFocusFirstFocusableEl(this.els.wrap.target[0],["#header [href]","#header button, #haeder input, #haeder textarea, #haeder select"])};n.prototype.isAccepted=function(){return k.getCookie(this.settings.cookies.accept.name)?!0:!1};n.prototype.isCountrySelected=function(){return this.settings.SITECD===k.getCookie(this.settings.cookies.selectedSitecd.name)?!0:!1};n.prototype.isLocalSite=
1355function(){var e=this;return!!this.els.countryList.find(this.settings.selector.locationSitecd).target.map(function(b){return b.value}).find(function(b){return b===e.settings.SITECD})};n.prototype.isExistSitecd=function(){var e=this;return h.find(function(b){return b.site_code.toLowerCase()===e.settings.SITECD})?!0:!1};n.prototype.checkCountryValid=function(){return this.els.countryList.find(this.settings.selector.urlSitecd).target.length&&this.els.countryList.find(this.settings.selector.locationSitecd).target.length?
1356!0:!1};n.prototype.isOnlyOption=function(){return 2>this.els.countryList.find(this.settings.selector.urlSitecd).target.length};n.prototype.isWebViewFlag=function(){var e=!1;window.addEventListener("flutterInAppWebViewPlatformReady",function(){e=!0});var b=navigator.userAgent.toLowerCase(),d=-1<b.indexOf("line")||-1<b.indexOf("naver")||-1<b.indexOf("kakao")||-1<b.indexOf("instagram")||-1<b.indexOf("fbsn")||-1<b.indexOf("twitter"),l=!(!window.EcommAndroidClient&&!window.flutter_inappwebview)||-1<b.indexOf("samsung-mobile-app"),
1357q=-1<b.indexOf("mygalaxy")||-1<b.indexOf("samsungshopsdk");b=-1<b.indexOf("wv")||-1<b.indexOf("webview");return sessionStorage.getItem("isInAppWebViewSessionStorage")||e||d||l||q||b?!0:!1};n.prototype.isB2b=function(){var e=document.getElementById("b2bFlag");return e&&"Y"===e.value};n.instance=new WeakMap;window.sg.components.CountrySelector={init:a,reInit:function(){m(g.section).target.forEach(function(e){n.instance.has(e)&&n.instance.get(e).reInit()})},show:function(){m(g.section).target.forEach(function(e){n.instance.has(e)&&
1358n.instance.get(e).show()})},close:function(){m(g.section).target.forEach(function(e){n.instance.has(e)&&n.instance.get(e).close()})}};m.ready(a)})();
1359(function(a,m){var k=document.querySelector(".nv16-country-selector__menu");null!=k&&k.querySelector(".menu__select").addEventListener("change",function(f){if(checkEppSite()){var g=document.getElementById("eppStoreCountryPath");if(null==g){var h=document.createElement("input");h.setAttribute("type","hidden");h.setAttribute("id","eppStoreCountryPath");k.appendChild(h);g=document.getElementById("eppStoreCountryPath")}var n=f.target.selectedOptions[0].value;if("other"!=n){f=m.trim(m("input#searchDomain").val());
1360h=m.trim(m("input#apiStageInfo").val());var e=window.sg.epp.common.storeId;f=f+"/"+h+"/epp/v2/cms/storeinfo";h={siteCode:m.trim(n),companyCode:e};m.ajax({url:f,data:h,type:"GET",dataType:"json",async:!1,success:function(b){g.value=b&&b.response&&b.response.resultData&&b.response.resultData.storeInfo?n+"/multistore/"+e:""+n},error:function(b){g.value=""+n}})}}})})(window,$);
1361(function(a,m){function k(){var B=m("#searchDomain").val(),D=m("#apiStageInfo").val();m.ajax({url:B+"/"+D+"/"+(w?"epp/v2":"b2c")+"/contents/mobileappbanner?siteCode\x3d"+e+(w?"\x26companyCode\x3d"+a.sg.epp.common.companyCode:""),type:"GET",dataType:"json",crossDomain:!0,cache:!0,timeout:2E4,success:function(z){200===z.response.statusCode&&null!=z.response.resultData&&null!=z.response.resultData.mobileAp
1361pBanner&&(z=z.response.resultData.mobileAppBanner,x=l?{useFlag:z.iosUseFlag,headlineTitle:z.iosHeadlineTitle,
1362description:z.iosDescription,ctaTitle:z.iosCtaTitle,ctaUrl:z.iosCtaUrl,imgUrl:z.iosImgUrl}:{useFlag:z.aosUseFlag,headlineTitle:z.aosHeadlineTitle,description:z.aosDescription,ctaTitle:z.aosCtaTitle,ctaUrl:z.aosCtaUrl,imgUrl:z.aosImgUrl})},error:function(){},complete:function(){var z=x;if(0<t.length){var T=t.get(0);T.innerHTML="";if("Y"===("Y"===z.useFlag?"Y":"N")){var Y='\x3cdiv class\x3d"cod05-app-banner__icon"\x3e\t\x3cimg src\x3d"'+(z.imgUrl+'" alt\x3d"Samsung Shop App Icon"/\x3e');Y=Y+'\x3c/div\x3e\x3cdiv class\x3d"cod05-app-banner__content"\x3e\t\x3ch3 class\x3d"cod05-app-banner__title"\x3e'+
1363(z.headlineTitle+"\x3c/h3\x3e");Y+='\t\x3cp class\x3d"cod05-app-banner__desc"\x3e'+z.description+"\x3c/p\x3e";Y+='\t\x3ca class\x3d"cta cta--underline cta--black cod05-app-banner__cta" href\x3d"'+getEppMultiStorePath(z.ctaUrl)+'" aria-label\x3d"'+z.ctaTitle+'" an-tr\x3d"cod05_app banner-'+digitalData.page.pageInfo.pageTrack+'-cta-content click" an-ca\x3d"content click" an-ac\x3d"feature" an-la\x3d"top banner:samsung shop app:download"\x3e';Y+=z.ctaTitle;T.innerHTML=Y+'\t\x3c/a\x3e\x3c/div\x3e\x3cbutton class\x3d"cod05-app-banner__close"\x3e\t\x3cspan class\x3d"hidden"\x3eClose\x3c/span\x3e\t\x3csvg class\x3d"icon" focusable\x3d"false" aria-hidden\x3d"true"\x3e\t\t\x3cuse xlink:href\x3d"#delete-bold" href\x3d"#delete-bold"\x3e\x3c/use\x3e\t\x3c/svg\x3e\x3c/button\x3e'}}z=
1364"Y"===z.useFlag?"Y":"N";!q||"Y"!==z||h()||n()?t.hide():t.show();g()}})}function f(){0<t.length&&(t.get(0).innerHTML="",t.hide())}function g(){var B=m(".cod05-app-banner__close");if(0<B.length)B.on("click",function(D){cookies.setCookie2("shopappBannerExp","true",1,!0);f()})}function h(){return!!cookies.getCookie("shopappBannerExp")}function n(){var B=!1;window.flutter_inappwebview?B=!0:window.webkit&&window.webkit.messageHandlers&&window.webkit.messageHandlers.firebase&&(B=!0);return B}var e=m("#siteCode").val(),
1365b=window.sg.common.utils.getCurrentDevice,d=window.sg.common.utils.getMobileOS,l="ios"===d(),q="mobile"===b(),t=m(".cod05-app-banner"),w=checkEppSite(),x={useFlag:"N",headlineTitle:null,description:null,ctaTitle:null,ctaUrl:null,imgUrl:null};m(function(){0<t.length&&(q="mobile"===b(),(h()||n())&&f(),!q||h()||n()||(w?k():(t.show(),g())))})})(window,jQuery);

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.