// written 2021-03-16T17:14:10.849Z !function(globalThis){var module=(a={},{define:function(t,e,s){a[t]={deps:e,fn:s,exec:!1,val:null}},require:function(t,e){var s=f(t,!1);e.apply(void 0,s)},get:function(t,e){return f([t],e)[0]},has:function(t){return t in a}}),a;function f(t,e){return t.map(function(t){if(t in a)return a[t].exec||(a[t].exec=!0,a[t].val=a[t].fn.apply(void 0,f(a[t].deps))),a[t].val;if(!e)throw new Error("Unknown module "+t)})}module.define("globals",[],function(){var t=console,e={version:"2021/03/09_hotfix/1.47.1",debug:{on:!1,lets:0,log:function(){e.debug.on&&t.log.apply(t,Array.prototype.slice.call(arguments,0))}}};return e}),module.define("tools/utils",[],function(){function a(t){return t<26?t+65:t<52?t+71:t<62?t-4:62===t?43:63===t?47:65}var o=function(n,i,r){return new Promise(function(e,s){try{var t=n();e(t)}catch(t){i<=0?s(t):setTimeout(function(){o(n,i-1,r).then(function(t){e(t)}).catch(function(t){s(t)})},r)}})};return{cpObj:function(t){return JSON.parse(JSON.stringify(t))},evalString:function(t,e){e=e||!1;var s,n,i="eval";try{var r=t.split(/[\[\]".]+/).filter(function(t){return t});s=window,r.forEach(function(t,e){e").text(e).html()},getCookie:function(t){var e=document.cookie.match(RegExp("(?:^|;\\s*)"+t.replace(/([.*+?\^${}()|\[\]\/\\])/g,"\\$1")+"=([^;]*)"));return e?e[1]:null},atob:function(d){return String.fromCharCode.apply(null,new Uint16Array(function(){for(var t,e,s,n=d.replace(/[^A-Za-z0-9\+\/]/g,""),i=n.length,r=2*Math.ceil((3*i+1>>>2)/2),o=new Uint8Array(r),a=0,c=0,l=0;l>>(16>>>t&24)&255;a=0}return o}().buffer))},btoa:function(n){var t=new Uint16Array(n.length);return Array.prototype.forEach.call(t,function(t,e,s){s[e]=n.charCodeAt(e)}),function(t){for(var e,s=(3-t.length%3)%3,n="",i=t.length,r=0,o=0;o>>e&24),2!=e&&t.length-o!=1||(n+=String.fromCharCode(a(r>>>18&63),a(r>>>12&63),a(r>>>6&63),a(63&r)),r=0);return 0==s?n:n.substring(0,n.length-s)+(1==s?"=":"==")}(new Uint8Array(t.buffer))},throttle:function(e,s){var n=null;return function(){var t=Array.prototype.slice.call(arguments,0);null==n&&(n=setTimeout(function(){n=null,e.apply(this,t)},s))}},retry:o}}),module.define("tools/async/forEach",["tools/async/Queue"],function(a){return function(t,e,s,n){var i=null,r=!1,o=new a(function(t,e){null==i?s(t.data,t.index,e):r||(r=!0,n(i))},e||1);o.drain=function(){r||n(null)},t.forEach(function(t,e){o.push({data:t,index:e},function(t){null!=t&&(i=t)})})}}),module.define("tools/async/Queue",[],function(){function t(t,e){this.callback=t,this.parallelism=e||1,this.queue=[],this.inProgress=0}return t.prototype.push=function(t,e){this.queue.push({task:t,callback:e}),this._next()},t.prototype._next=function(){if(this.idle()&&"function"==typeof this.drain&&setTimeout(this.drain,0),!(this.inProgress>=this.parallelism||0===this.queue.length)){++this.inProgress;var e=this.queue.shift();this.callback(e.task,function(t){--this.inProgress,"function"==typeof e.callback&&e.callback(t),this._next()}.bind(this)),this._next()}},t.prototype.idle=function(){return 0===this.queue.length&&0===this.inProgress},t}),module.define("tools/async/retry",[],function(){return function(t,e,s){function n(){var t=Array.prototype.slice.call(arguments,0);o||(clearTimeout(a),o=!0,s.apply(null,t))}var i=(t=t||{}).times||1,r=t.delay||0,o=!1,a=null,c=function(){e(function(){var t=Array.prototype.slice.call(arguments,0);null!=t[0]&&0<--i?a=setTimeout(c,r):n.apply(null,t)})};return a=setTimeout(c,0),{stop:n}}}),module.define("tools/async/timeout",[],function(){return function(t,e,s){function n(){var t=Array.prototype.slice.call(arguments,0);i||(clearTimeout(r),i=!0,s.apply(null,t))}var i=!1,r=setTimeout(function(){n("Timeout")},t);return setTimeout(function(){e(n)},0),{stop:n}}}),module.define("tools/async/waterfall",[],function(){return function(s,n){var i=!1,r=function(t){if(!i){if(Array.isArray(t)||(t=[]),0===s.length)return t.unshift(null),n.apply(null,t);var e=s.shift();t.push(function(){var t=Array.prototype.slice.call(arguments,0),e=t.shift();if(null!=e&&!i)return n.call(null,e);r(t)}),e.apply(null,t)}};return setTimeout(function(){r()},0),{stop:function(){i=!0}}}}),module.define("tools/async",["tools/async/Queue","tools/async/timeout","tools/async/waterfall","tools/async/forEach","tools/async/retry"],function(t,e,s,n,i){return{Queue:t,timeout:e,waterfall:s,forEach:n,retry:i}}),module.define("tools/CustomMutationObserver",[],function(){function l(t){this.throttle={},this.throttleDelay=10,this.observeCallback=t,this.period=250,this.shouldStop=!1,this.observerid=l.oid++}return l.prototype.disconnect=function(){this.shouldStop=!0},l.oid=0,l.id=0,l.prototype.renewalCondition=function(t){var e=document.querySelector(t);if(null===e)return!1;if(void 0===e.setAttribute)return!1;if(e.childNodes.length<=0)return!1;for(var s=null,n=0;n>>0,s=Number(arguments[1])||0;for((s=s<0?Math.ceil(s):Math.floor(s))<0&&(s+=e);s>10|55296,1023&n|56320)}function n(){_()}var t,h,b,r,i,v,p,g,x,l,d,_,w,o,m,y,a,f,k,S="sizzle"+ +new Date,M=s.document,C=0,T=0,c=rt(),$=rt(),A=rt(),I=function(t,e){return t===e&&(d=!0),0},L={}.hasOwnProperty,e=[],E=e.pop,P=e.push,B=e.push,O=e.slice,q=function(t,e){for(var s=0,n=t.length;s+~]|"+j+")"+j+"*"),W=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),Q=new RegExp(R),Y=new RegExp("^"+D+"$"),J={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+N+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},K=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,X=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,st=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig");try{B.apply(e=O.call(M.childNodes),M.childNodes),e[M.childNodes.length].nodeType}catch(t){B={apply:e.length?function(t,e){P.apply(t,O.call(e))}:function(t,e){for(var s=t.length,n=0;t[s++]=e[n++];);t.length=s-1}}}function it(t,e,s,n){var i,r,o,a,c,l,d,u,p,f;if((e?e.ownerDocument||e:M)!==w&&_(e),s=s||[],a=(e=e||w).nodeType,"string"!=typeof t||!t||1!==a&&9!==a&&11!==a)return s;if(!n&&m){if(11!==a&&(i=tt.exec(t)))if(o=i[1]){if(9===a){if(!(r=e.getElementById(o))||!r.parentNode)return s;if(r.id===o)return s.push(r),s}else if(e.ownerDocument&&(r=e.ownerDocument.getElementById(o))&&k(e,r)&&r.id===o)return s.push(r),s}else{if(i[2])return B.apply(s,e.getElementsByTagName(t)),s;if((o=i[3])&&h.getElementsByClassName)return B.apply(s,e.getElementsByClassName(o)),s}if(h.qsa&&(!y||!y.test(t))){if(u=d=S,p=e,f=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(l=v(t),(d=e.getAttribute("id"))?u=d.replace(st,"\\$&"):e.setAttribute("id",u),u="[id='"+u+"'] ",c=l.length;c--;)l[c]=u+vt(l[c]);p=et.test(t)&&ft(e.parentNode)||e,f=l.join(",")}if(f)try{return B.apply(s,p.querySelectorAll(f)),s}catch(t){}finally{d||e.removeAttribute("id")}}}return g(t.replace(G,"$1"),e,s,n)}function rt(){var n=[];return function t(e,s){return n.push(e+" ")>b.cacheLength&&delete t[n.shift()],t[e+" "]=s}}function ot(t){return t[S]=!0,t}function at(t){var e=w.createElement("div");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function ct(t,e){for(var s=t.split("|"),n=t.length;n--;)b.attrHandle[s[n]]=e}function lt(t,e){var s=e&&t,n=s&&1===t.nodeType&&1===e.nodeType&&(~e.sourceIndex||1<<31)-(~t.sourceIndex||1<<31);if(n)return n;if(s)for(;s=s.nextSibling;)if(s===e)return-1;return t?1:-1}function dt(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function ut(s){return function(t){var e=t.nodeName.toLowerCase();return("input"===e||"button"===e)&&t.type===s}}function pt(o){return ot(function(r){return r=+r,ot(function(t,e){for(var s,n=o([],t.length,r),i=n.length;i--;)t[s=n[i]]&&(t[s]=!(e[s]=t[s]))})})}function ft(t){return t&&void 0!==t.getElementsByTagName&&t}for(t in h=it.support={},i=it.isXML=function(t){var e=t&&(t.ownerDocument||t).documentElement;return!!e&&"HTML"!==e.nodeName},_=it.setDocument=function(t){var e,s,c=t?t.ownerDocument||t:M;return c!==w&&9===c.nodeType&&c.documentElement?(o=(w=c).documentElement,(s=c.defaultView)&&s!==s.top&&(s.addEventListener?s.addEventListener("unload",n,!1):s.attachEvent&&s.attachEvent("onunload",n)),m=!i(c),h.attributes=at(function(t){return t.className="i",!t.getAttribute("className")}),h.getElementsByTagName=at(function(t){return t.appendChild(c.createComment("")),!t.getElementsByTagName("*").length}),h.getElementsByClassName=X.test(c.getElementsByClassName),h.getById=at(function(t){return o.appendChild(t).id=S,!c.getElementsByName||!c.getElementsByName(S).length}),h.getById?(b.find.ID=function(t,e){if(void 0!==e.getElementById&&m){var s=e.getElementById(t);return s&&s.parentNode?[s]:[]}},b.filter.ID=function(t){var e=t.replace(nt,u);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var s=t.replace(nt,u);return function(t){var e=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return e&&e.value===s}}),b.find.TAG=h.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):h.qsa?e.querySelectorAll(t):void 0}:function(t,e){var s,n=[],i=0,r=e.getElementsByTagName(t);if("*"!==t)return r;for(;s=r[i++];)1===s.nodeType&&n.push(s);return n},b.find.CLASS=h.getElementsByClassName&&function(t,e){if(m)return e.getElementsByClassName(t)},a=[],y=[],(h.qsa=X.test(c.querySelectorAll))&&(at(function(t){o.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+j+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||y.push("\\["+j+"*(?:value|"+N+")"),t.querySelectorAll("[id~="+S+"-]").length||y.push("~="),t.querySelectorAll(":checked").length||y.push(":checked"),t.querySelectorAll("a#"+S+"+*").length||y.push(".#.+[+~]")}),at(function(t){var e=c.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&y.push("name"+j+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(h.matchesSelector=X.test(f=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&at(function(t){h.disconnectedMatch=f.call(t,"div"),f.call(t,"[s!='']:x"),a.push("!=",R)}),y=y.length&&new RegExp(y.join("|")),a=a.length&&new RegExp(a.join("|")),e=X.test(o.compareDocumentPosition),k=e||X.test(o.contains)?function(t,e){var s=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(s.contains?s.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},I=e?function(t,e){if(t===e)return d=!0,0;var s=!t.compareDocumentPosition-!e.compareDocumentPosition;return s||(1&(s=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!h.sortDetached&&e.compareDocumentPosition(t)===s?t===c||t.ownerDocument===M&&k(M,t)?-1:e===c||e.ownerDocument===M&&k(M,e)?1:l?q(l,t)-q(l,e):0:4&s?-1:1)}:function(t,e){if(t===e)return d=!0,0;var s,n=0,i=t.parentNode,r=e.parentNode,o=[t],a=[e];if(!i||!r)return t===c?-1:e===c?1:i?-1:r?1:l?q(l,t)-q(l,e):0;if(i===r)return lt(t,e);for(s=t;s=s.parentNode;)o.unshift(s);for(s=e;s=s.parentNode;)a.unshift(s);for(;o[n]===a[n];)n++;return n?lt(o[n],a[n]):o[n]===M?-1:a[n]===M?1:0},c):w},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==w&&_(t),e=e.replace(W,"='$1']"),h.matchesSelector&&m&&(!a||!a.test(e))&&(!y||!y.test(e)))try{var s=f.call(t,e);if(s||h.disconnectedMatch||t.document&&11!==t.document.nodeType)return s}catch(t){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(nt,u),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,u),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||it.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&it.error(t[0]),t},PSEUDO:function(t){var e,s=!t[6]&&t[2];return J.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":s&&Q.test(s)&&(e=v(s,!0))&&(e=s.indexOf(")",s.length-e)-s.length)&&(t[0]=t[0].slice(0,e),t[2]=s.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(nt,u).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=c[t+" "];return e||(e=new RegExp("(^|"+j+")"+t+"("+j+"|$)"))&&c(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(s,n,i){return function(t){var e=it.attr(t,s);return null==e?"!="===n:!n||(e+="","="===n?e===i:"!="===n?e!==i:"^="===n?i&&0===e.indexOf(i):"*="===n?i&&-1(?:<\/\1>|)$/,m=/^.[^:#\[\.,]*$/;function y(t,s,n){if(k.isFunction(s))return k.grep(t,function(t,e){return!!s.call(t,e,t)!==n});if(s.nodeType)return k.grep(t,function(t){return t===s!==n});if("string"==typeof s){if(m.test(s))return k.filter(s,t,n);s=k.filter(s,t)}return k.grep(t,function(t){return 0<=k.inArray(t,s)!==n})}k.filter=function(t,e,s){var n=e[0];return s&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?k.find.matchesSelector(n,t)?[n]:[]:k.find.matches(t,k.grep(e,function(t){return 1===t.nodeType}))},k.fn.extend({find:function(t){var e,s=[],n=this,i=n.length;if("string"!=typeof t)return this.pushStack(k(t).filter(function(){for(e=0;e)[^>]*|#([\w-]*))$/;(k.fn.init=function(t,e){var s,n;if(!t)return this;if("string"!=typeof t)return t.nodeType?(this.context=this[0]=t,this.length=1,this):k.isFunction(t)?void 0!==b.ready?b.ready(t):t(k):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),k.makeArray(t,this));if(!(s="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:w.exec(t))||!s[1]&&e)return!e||e.jquery?(e||b).find(t):this.constructor(e).find(t);if(s[1]){if(e=e instanceof k?e[0]:e,k.merge(this,k.parseHTML(s[1],e&&e.nodeType?e.ownerDocument||e:x,!0)),f.test(s[1])&&k.isPlainObject(e))for(s in e)k.isFunction(this[s])?this[s](e[s]):this.attr(s,e[s]);return this}if((n=x.getElementById(s[2]))&&n.parentNode){if(n.id!==s[2])return b.find(t);this.length=1,this[0]=n}return this.context=x,this.selector=t,this}).prototype=k.fn,b=k(x);var S=/^(?:parents|prev(?:Until|All))/,M={children:!0,contents:!0,next:!0,prev:!0};function C(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}k.extend({dir:function(t,e,s){for(var n=[],i=t[e];i&&9!==i.nodeType&&(void 0===s||1!==i.nodeType||!k(i).is(s));)1===i.nodeType&&n.push(i),i=i[e];return n},sibling:function(t,e){for(var s=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&s.push(t);return s}}),k.fn.extend({has:function(t){var e,s=k(t,this),n=s.length;return this.filter(function(){for(e=0;e
a",_.leadingWhitespace=3===e.firstChild.nodeType,_.tbody=!e.getElementsByTagName("tbody").length,_.htmlSerialize=!!e.getElementsByTagName("link").length,_.html5Clone="<:nav>"!==x.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,s.appendChild(t),_.appendChecked=t.checked,e.innerHTML="",_.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,s.appendChild(e),e.innerHTML="",_.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,_.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){_.noCloneEvent=!1}),e.cloneNode(!0).click()),null==_.deleteExpando){_.deleteExpando=!0;try{delete e.test}catch(t){_.deleteExpando=!1}}})(),function(){var t,e,s=x.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(_[t+"Bubbles"]=e in h)||(s.setAttribute(e,"t"),_[t+"Bubbles"]=!1===s.attributes[e].expando);s=null}();var U=/^(?:input|select|textarea)$/i,V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,Q=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function J(){return!0}function K(){return!1}function Z(){try{return x.activeElement}catch(t){}}function X(t){var e=tt.split("|"),s=t.createDocumentFragment();if(s.createElement)for(;e.length;)s.createElement(e.pop());return s}k.event={global:{},add:function(t,e,s,n,i){var r,o,a,c,l,d,u,p,f,h,v,g=k._data(t);if(g){for(s.handler&&(s=(c=s).handler,i=c.selector),s.guid||(s.guid=k.guid++),(o=g.events)||(o=g.events={}),(d=g.handle)||((d=g.handle=function(t){return typeof k===P||t&&k.event.triggered===t.type?void 0:k.event.dispatch.apply(d.elem,arguments)}).elem=t),a=(e=(e||"").match($)||[""]).length;a--;)f=v=(r=Y.exec(e[a])||[])[1],h=(r[2]||"").split(".").sort(),f&&(l=k.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=k.event.special[f]||{},u=k.extend({type:f,origType:v,data:n,handler:s,guid:s.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(".")},c),(p=o[f])||((p=o[f]=[]).delegateCount=0,l.setup&&!1!==l.setup.call(t,n,h,d)||(t.addEventListener?t.addEventListener(f,d,!1):t.attachEvent&&t.attachEvent("on"+f,d))),l.add&&(l.add.call(t,u),u.handler.guid||(u.handler.guid=s.guid)),i?p.splice(p.delegateCount++,0,u):p.push(u),k.event.global[f]=!0);t=null}},remove:function(t,e,s,n,i){var r,o,a,c,l,d,u,p,f,h,v,g=k.hasData(t)&&k._data(t);if(g&&(d=g.events)){for(l=(e=(e||"").match($)||[""]).length;l--;)if(f=v=(a=Y.exec(e[l])||[])[1],h=(a[2]||"").split(".").sort(),f){for(u=k.event.special[f]||{},p=d[f=(n?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=r=p.length;r--;)o=p[r],!i&&v!==o.origType||s&&s.guid!==o.guid||a&&!a.test(o.namespace)||n&&n!==o.selector&&("**"!==n||!o.selector)||(p.splice(r,1),o.selector&&p.delegateCount--,u.remove&&u.remove.call(t,o));c&&!p.length&&(u.teardown&&!1!==u.teardown.call(t,h,g.handle)||k.removeEvent(t,f,g.handle),delete d[f])}else for(f in d)k.event.remove(t,f+e[l],s,n,!0);k.isEmptyObject(d)&&(delete g.handle,k._removeData(t,"events"))}},trigger:function(t,e,s,n){var i,r,o,a,c,l,d,u=[s||x],p=g.call(t,"type")?t.type:t,f=g.call(t,"namespace")?t.namespace.split("."):[];if(o=l=s=s||x,3!==s.nodeType&&8!==s.nodeType&&!Q.test(p+k.event.triggered)&&(0<=p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),r=p.indexOf(":")<0&&"on"+p,(t=t[k.expando]?t:new k.Event(p,"object"==typeof t&&t)).isTrigger=n?2:3,t.namespace=f.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=s),e=null==e?[t]:k.makeArray(e,[t]),c=k.event.special[p]||{},n||!c.trigger||!1!==c.trigger.apply(s,e))){if(!n&&!c.noBubble&&!k.isWindow(s)){for(a=c.delegateType||p,Q.test(a+p)||(o=o.parentNode);o;o=o.parentNode)u.push(o),l=o;l===(s.ownerDocument||x)&&u.push(l.defaultView||l.parentWindow||h)}for(d=0;(o=u[d++])&&!t.isPropagationStopped();)t.type=1]","i"),nt=/^\s+/,it=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,rt=/<([\w:]+)/,ot=/\s*$/g,ft={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:_.htmlSerialize?[0,"",""]:[1,"X
","
"]},ht=X(x).appendChild(x.createElement("div"));function vt(t,e){var s,n,i=0,r=typeof t.getElementsByTagName!==P?t.getElementsByTagName(e||"*"):typeof t.querySelectorAll!==P?t.querySelectorAll(e||"*"):void 0;if(!r)for(r=[],s=t.childNodes||t;null!=(n=s[i]);i++)!e||k.nodeName(n,e)?r.push(n):k.merge(r,vt(n,e));return void 0===e||e&&k.nodeName(t,e)?k.merge([t],r):r}function gt(t){G.test(t.type)&&(t.defaultChecked=t.checked)}function _t(t,e){return k.nodeName(t,"table")&&k.nodeName(11!==e.nodeType?e:e.firstChild,"tr")?t.getElementsByTagName("tbody")[0]||t.appendChild(t.ownerDocument.createElement("tbody")):t}function mt(t){return t.type=(null!==k.find.attr(t,"type"))+"/"+t.type,t}function yt(t){var e=ut.exec(t.type);return e?t.type=e[1]:t.removeAttribute("type"),t}function bt(t,e){for(var s,n=0;null!=(s=t[n]);n++)k._data(s,"globalEval",!e||k._data(e[n],"globalEval"))}function xt(t,e){if(1===e.nodeType&&k.hasData(t)){var s,n,i,r=k._data(t),o=k._data(e,r),a=r.events;if(a)for(s in delete o.handle,o.events={},a)for(n=0,i=a[s].length;n")?r=t.cloneNode(!0):(ht.innerHTML=t.outerHTML,ht.removeChild(r=ht.firstChild)),!(_.noCloneEvent&&_.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||k.isXMLDoc(t)))for(n=vt(r),a=vt(t),o=0;null!=(i=a[o]);++o)n[o]&&wt(i,n[o]);if(e)if(s)for(a=a||vt(t),n=n||vt(r),o=0;null!=(i=a[o]);o++)xt(i,n[o]);else xt(t,r);return 0<(n=vt(r,"script")).length&&bt(n,!c&&vt(t,"script")),n=a=i=null,r},buildFragment:function(t,e,s,n){for(var i,r,o,a,c,l,d,u=t.length,p=X(e),f=[],h=0;h")+d[2],i=d[0];i--;)a=a.lastChild;if(!_.leadingWhitespace&&nt.test(r)&&f.push(e.createTextNode(nt.exec(r)[0])),!_.tbody)for(i=(r="table"!==c||ot.test(r)?""!==d[1]||ot.test(r)?0:a:a.firstChild)&&r.childNodes.length;i--;)k.nodeName(l=r.childNodes[i],"tbody")&&!l.childNodes.length&&r.removeChild(l);for(k.merge(f,a.childNodes),a.textContent="";a.firstChild;)a.removeChild(a.firstChild);a=p.lastChild}else f.push(e.createTextNode(r));for(a&&p.removeChild(a),_.appendChecked||k.grep(vt(f,"input"),gt),h=0;r=f[h++];)if((!n||-1===k.inArray(r,n))&&(o=k.contains(r.ownerDocument,r),a=vt(p.appendChild(r),"script"),o&&bt(a),s))for(i=0;r=a[i++];)dt.test(r.type||"")&&s.push(r);return a=null,p},cleanData:function(t,e){for(var s,n,i,r,o=0,a=k.expando,c=k.cache,l=_.deleteExpando,d=k.event.special;null!=(s=t[o]);o++)if((e||k.acceptData(s))&&(r=(i=s[a])&&c[i])){if(r.events)for(n in r.events)d[n]?k.event.remove(s,n):k.removeEvent(s,n,r.handle);c[i]&&(delete c[i],l?delete s[a]:typeof s.removeAttribute!==P?s.removeAttribute(a):s[a]=null,u.push(i))}}}),k.fn.extend({text:function(t){return F(this,function(t){return void 0===t?k.text(this):this.empty().append((this[0]&&this[0].ownerDocument||x).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||_t(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=_t(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return this.domManip(arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},remove:function(t,e){for(var s,n=t?k.filter(t,this):this,i=0;null!=(s=n[i]);i++)e||1!==s.nodeType||k.cleanData(vt(s)),s.parentNode&&(e&&k.contains(s.ownerDocument,s)&&bt(vt(s,"script")),s.parentNode.removeChild(s));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&k.cleanData(vt(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&k.nodeName(t,"select")&&(t.options.length=0)}return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return F(this,function(t){var e=this[0]||{},s=0,n=this.length;if(void 0===t)return 1===e.nodeType?e.innerHTML.replace(et,""):void 0;if("string"==typeof t&&!ct.test(t)&&(_.htmlSerialize||!st.test(t))&&(_.leadingWhitespace||!nt.test(t))&&!ft[(rt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(it,"<$1>");try{for(;s")).appendTo(e.documentElement))[0].contentWindow||kt[0].contentDocument).document).write(),e.close(),s=Ct(t,e),kt.detach()),Mt[t]=s),s}_.shrinkWrapBlocks=function(){return null!=St?St:(St=!1,(e=x.getElementsByTagName("body")[0])&&e.style?(t=x.createElement("div"),(s=x.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(s).appendChild(t),typeof t.style.zoom!==P&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(x.createElement("div")).style.width="5px",St=3!==t.offsetWidth),e.removeChild(s),St):void 0);var t,e,s};var $t,At,It,Lt,Et,Pt,Bt,Ot,qt,Nt=/^margin/,jt=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Ht=/^(top|right|bottom|left)$/;function Dt(e,s){return{get:function(){var t=e();if(null!=t){if(!t)return(this.get=s).apply(this,arguments);delete this.get}}}}function zt(){var t,e,s,n;(e=x.getElementsByTagName("body")[0])&&e.style&&(t=x.createElement("div"),(s=x.createElement("div")).style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",e.appendChild(s).appendChild(t),t.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute",Pt=Bt=!1,qt=!0,h.getComputedStyle&&(Pt="1%"!==(h.getComputedStyle(t,null)||{}).top,Bt="4px"===(h.getComputedStyle(t,null)||{width:"4px"}).width,(n=t.appendChild(x.createElement("div"))).style.cssText=t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",n.style.marginRight=n.style.width="0",t.style.width="1px",qt=!parseFloat((h.getComputedStyle(n,null)||{}).marginRight),t.removeChild(n)),t.innerHTML="
t
",(n=t.getElementsByTagName("td"))[0].style.cssText="margin:0;border:0;padding:0;display:none",(Ot=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",Ot=0===n[0].offsetHeight),e.removeChild(s))}h.getComputedStyle?($t=function(t){return t.ownerDocument.defaultView.opener?t.ownerDocument.defaultView.getComputedStyle(t,null):h.getComputedStyle(t,null)},At=function(t,e,s){var n,i,r,o,a=t.style;return o=(s=s||$t(t))?s.getPropertyValue(e)||s[e]:void 0,s&&(""!==o||k.contains(t.ownerDocument,t)||(o=k.style(t,e)),jt.test(o)&&Nt.test(e)&&(n=a.width,i=a.minWidth,r=a.maxWidth,a.minWidth=a.maxWidth=a.width=o,o=s.width,a.width=n,a.minWidth=i,a.maxWidth=r)),void 0===o?o:o+""}):x.documentElement.currentStyle&&($t=function(t){return t.currentStyle},At=function(t,e,s){var n,i,r,o,a=t.style;return null==(o=(s=s||$t(t))?s[e]:void 0)&&a&&a[e]&&(o=a[e]),jt.test(o)&&!Ht.test(e)&&(n=a.left,(r=(i=t.runtimeStyle)&&i.left)&&(i.left=t.currentStyle.left),a.left="fontSize"===e?"1em":o,o=a.pixelLeft+"px",a.left=n,r&&(i.left=r)),void 0===o?o:o+""||"auto"}),(It=x.createElement("div")).innerHTML="
a",(Lt=(Et=It.getElementsByTagName("a")[0])&&Et.style)&&(Lt.cssText="float:left;opacity:.5",_.opacity="0.5"===Lt.opacity,_.cssFloat=!!Lt.cssFloat,It.style.backgroundClip="content-box",It.cloneNode(!0).style.backgroundClip="",_.clearCloneStyle="content-box"===It.style.backgroundClip,_.boxSizing=""===Lt.boxSizing||""===Lt.MozBoxSizing||""===Lt.WebkitBoxSizing,k.extend(_,{reliableHiddenOffsets:function(){return null==Ot&&zt(),Ot},boxSizingReliable:function(){return null==Bt&&zt(),Bt},pixelPosition:function(){return null==Pt&&zt(),Pt},reliableMarginRight:function(){return null==qt&&zt(),qt}})),k.swap=function(t,e,s,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=s.apply(t,n||[]),e)t.style[r]=o[r];return i};var Rt=/alpha\([^)]*\)/i,Ft=/opacity\s*=\s*([^)]*)/,Gt=/^(none|table(?!-c[ea]).+)/,Ut=new RegExp("^("+z+")(.*)$","i"),Vt=new RegExp("^([+-])=("+z+")","i"),Wt={position:"absolute",visibility:"hidden",display:"block"},Qt={letterSpacing:"0",fontWeight:"400"},Yt=["Webkit","O","Moz","ms"];function Jt(t,e){if(e in t)return e;for(var s=e.charAt(0).toUpperCase()+e.slice(1),n=e,i=Yt.length;i--;)if((e=Yt[i]+s)in t)return e;return n}function Kt(t,e){for(var s,n,i,r=[],o=0,a=t.length;o
a",ae=re.getElementsByTagName("a")[0],ce=(oe=x.createElement("select")).appendChild(x.createElement("option")),ie=re.getElementsByTagName("input")[0],ae.style.cssText="top:1px",_.getSetAttribute="t"!==re.className,_.style=/top/.test(ae.getAttribute("style")),_.hrefNormalized="/a"===ae.getAttribute("href"),_.checkOn=!!ie.value,_.optSelected=ce.selected,_.enctype=!!x.createElement("form").enctype,oe.disabled=!0,_.optDisabled=!ce.disabled,(ie=x.createElement("input")).setAttribute("value",""),_.input=""===ie.getAttribute("value"),ie.value="t",ie.setAttribute("type","radio"),_.radioValue="t"===ie.value;var me=/\r/g;k.fn.extend({val:function(s){var n,t,i,e=this[0];return arguments.length?(i=k.isFunction(s),this.each(function(t){var e;1===this.nodeType&&(null==(e=i?s.call(this,t,k(this).val()):s)?e="":"number"==typeof e?e+="":k.isArray(e)&&(e=k.map(e,function(t){return null==t?"":t+""})),(n=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):e?(n=k.valHooks[e.type]||k.valHooks[e.nodeName.toLowerCase()])&&"get"in n&&void 0!==(t=n.get(e,"value"))?t:"string"==typeof(t=e.value)?t.replace(me,""):null==t?"":t:void 0}}),k.extend({valHooks:{option:{get:function(t){var e=k.find.attr(t,"value");return null!=e?e:k.trim(k.text(t))}},select:{get:function(t){for(var e,s,n=t.options,i=t.selectedIndex,r="select-one"===t.type||i<0,o=r?null:[],a=r?i+1:n.length,c=i<0?a:r?i:0;c").append(k.parseHTML(t)).find(n):t)}).complete(s&&function(t,e){o.each(s,i||[t.responseText,e,t])}),this},k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){k.fn[e]=function(t){return this.on(e,t)}}),k.expr.filters.animated=function(e){return k.grep(k.timers,function(t){return e===t.elem}).length};var is=h.document.documentElement;function rs(t){return k.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}return k.offset={setOffset:function(t,e,s){var n,i,r,o,a,c,l=k.css(t,"position"),d=k(t),u={};"static"===l&&(t.style.position="relative"),a=d.offset(),r=k.css(t,"top"),c=k.css(t,"left"),i=("absolute"===l||"fixed"===l)&&-1a");if(null!=o&&0","").trim(),a.push(l)}0 li > div.product-item-information a.thumb");if(null!=e&&0 li > div.product-item-information",100,300,function(t,e){t&&(e.off("mouseenter.sensefuel_product_inspected_productListing"),e.on("mouseenter.sensefuel_product_inspected_productListing",function(){var t=h(this);v("mouseenter catched sensefuel_product_inspected_productListing");var n=this,i=!1;t.off("mouseleave.sensefuel_product_inspected_productListing"),t.on("mouseleave.sensefuel_product_inspected_productListing",function(){i=!0}),window.setTimeout(function(){if(!i){var t=[],e={};t.push(e);var s=h(n).find("a.thumb");null!=s&&0 li > div.product-item-information div.product-item-image-wrapper a.thumb, ul.product-listing > li > div.product-item-information div.details span.product-is-label a",100,300,function(t,e){function s(){v("click catched sensefuel_product_clicked_productListing");var t=[],e={};t.push(e);var s=h(this).parent().find("a.thumb");null!=s&&0 li > div.product-item-information a.thumb");if(null!=e&&0 li > div.product-item-information a.thumb");if(null!=r&&0 li > div.product-item-information",100,300,function(t,e){t&&(e.off("mouseenter.sensefuel_product_inspected_searchListing"),e.on("mouseenter.sensefuel_product_inspected_searchListing",function(){var t=h(this);v("mouseenter catched sensefuel_product_inspected_searchListing");var n=this,i=!1;t.off("mouseleave.sensefuel_product_inspected_searchListing"),t.on("mouseleave.sensefuel_product_inspected_searchListing",function(){i=!0}),window.setTimeout(function(){if(!i){var t=[],e={};t.push(e);var s=h(n).find("a.thumb");null!=s&&0 li > div.product-item-information div.product-item-image-wrapper a.thumb, ul.product-listing > li > div.product-item-information div.details span.product-is-label a",100,300,function(t,e){function s(){v("click catched sensefuel_product_clicked_searchListing");var t=[],e={};t.push(e);var s=h(this).parent().find("a.thumb");null!=s&&0 span.total-ttc-amount, div.dropdown-footer div.col-md-9 h3");null!=s&&0parseInt(e.k))return 1;if(parseInt(t.k)==parseInt(e.k)&&t.k.lengthe.k.length)return 1}return ie.k?1:void 0:s"+h.environment.labels.content.r_b_bps[1]+' "'+e.terms_origin+'"',n=''+e.terms_processed+""),h.context.low_screen_display()?a+='
':(a+='
'+n+h.environment.labels.content.g_colon[1]+" "+o+""+(1'+r+"
",a+='
'+i+"
"),this.$headercontainer.html(a);var c=!1;if(h.interactionManager.get_response_structure().scopeRemoved&&(f("#sfs-a-h-i > div.sfs-spn-rmb").prepend(h.environment.labels.content.r_t_oos[1]+" "),f("#sfs-a-h-i > div.sfs-spn-rmb").append(".
"+h.environment.labels.content.r_t_oos_rs[1]+"
"),c=!0),c&&(f("#sfs-a-h-i > div.sfs-spn-rmb").append('
ok
').addClass("sfs-spn-rmb-relax"),f("div.sfs-spn-rmb-bv").on("click",function(){h.scopes.destroy(),h.scopes.build(),f("#sfs-a-h-i > div.sfs-spn-rmb").remove(),h.layer.contentStuckHeight()})),this.build_actions(),h.context.low_screen_display()){var l=h.interactionManager.get_response_structure(),d=h.interactionManager.get_products_count(),u=h.environment.labels.content.m_b_vp[1
"+(1";f("#sfs-a-h-l-c").html(p)}},t.prototype.build_actions=function(){f("#sfs-q-wsk").off(),f("#sfs-q-wsk").click(function(){h.actions.store("WithoutSpellCheck","Grid"),h.query.get_result("WithoutSpellCheck")})},t.prototype.destroy=function(){this.$headercontainer.html("")},t}),module.define("references/References",["jquery","globals"],function(o,a){function t(t,e,s){this.$=t,this.parts=e,this.parts_comp=s,this.count=e.length,this.$container=this.$("#sfs-r-c"),this.containerHeight=0,this.position="after",this.ids,this.exact_match=!1,this.matched=!1,this.matched_by_attr={}}return t.prototype.analyse=function(t){var i=this,r=[],s=[],e=a.interactionManager.get_response_structure();i.$.each(i.parts_comp,function(t,e){var s=e.ref.toLowerCase().removeAccents(),n=a.interactionManager.get_term().toLowerCase().removeAccents();s==n?i.exact_match=!0:-1'+a.environment.labels.content.r_t_rrc[2].replace("$1",a.references.count)+' "'+a.boxes.term+'"
'+a.environment.labels.content.r_t_cts[1]+"
":'
'+a.environment.labels.content.r_t_rrc[1]+' "'+a.boxes.term+'"
'+a.environment.labels.content.r_t_cts[1]+"
"},t.prototype.build=function(){var t,e=this,s=e.count;e.$container.html(""),t=a.interactionManager.get_html_block_products("r");var n=e.build_title();0'+n+'
'+t+"
"),e.$container.insertBefore("#sfs-a-ow-sl-c"),e.position="before"):(e.$container.html('
'+n+'
'+t+"
"),e.$container.insertAfter("#sfs-a-ow-sl-c"),e.position="after")),e.containerHeight=e.$container.outerHeight(!0),0>>>> "+t+" <- "+e),s.last=t,s.last_action_origin=e;var n=s.action_behavior[t].sat,i=s.action_behavior[t].sqn,r=s.action_behavior[t].eat;if(n){var o=s.detect_searchaction(t);o&&o.isSA&&!o.sended&&r&&(s.delayed_external_analytics=!0)}else s.searchactiontosend=!1;i&&(s.last_search_action=t,s.last_search_action_origin=e,"KeyHit"!=t&&(u.boxes.correction_started=!1))},t.prototype.detect_searchaction=function(t){var e,s,n={isSA:!1,sended:!1},i="actual",r=u.interactionManager.get_terms();return void 0===r.terms_processed&&(r=u.interactionManager.get_terms_saved(),i="saved"),void 0===r||"undefined"==r.terms_processed||(e=r.terms_processed,s=r.terms_processed!=r.terms_origin?r.terms_origin:void 0,"KeyHit"!=t&&void 0!==e&&(n.isSA=!0,(this.associated_term!=e&&1u.layer.items_perLine?r="div#sfs-r-c div#sfsabcr div.sf-vpc":r+=", div#sfs-r-c div#sfsabcr div.sf-vpc"):u.interactionManager.get_products_count()<=u.layer.items_perLine&&(r+=", div#sfs-r-c div#sfsabcr div.sf-vpc"),i.$.map(i.$(r),function(t){return{link:u.interactionManager.get_product_link_from_domelement(t)}}));var c=null,l=[];0
'+(n="",i=(s=e).split(";")[0],r=s.split(";")[1],"before"==o.environment.currency_position?n+=o.environment.labels.content.f_t_prg[1]+" "+o.environment.currency+" "+i+" "+o.environment.labels.content.f_t_prg[2]+" "+r:n+=o.environment.labels.content.f_t_prg[1]+" "+i+" "+o.environment.labels.content.f_t_prg[2]+" "+r+" "+o.environment.currency,n)+'
';var s,n,i,r},default:function(t,e){var s=e;return"andere farbe"==s&&(s="andere Farben"),'
  • '+s+'
  • '}}}return s.prototype.render_range_price=function(t){var e="",s=t.split(";")[0],n=t.split(";")[1];return"before"==o.environment.currency_position?e+=o.environment.labels.content.f_t_prg[1]+" "+o.environment.currency+" "+s+" "+o.environment.labels.content.f_t_prg[2]+" "+n:e+=o.environment.labels.content.f_t_prg[1]+" "+s+" "+o.environment.labels.content.f_t_prg[2]+" "+n+" "+o.environment.currency,e},s.prototype.sync_boxes=function(){var t=this;0!=Object.keys(t.list).length&&(o.boxes.textWidth+t.boxesWidth+30>o.boxes.textWidthFull?(t.$container.css("left",0),t.$container.addClass("sfsR")):(t.$container.css("left",o.boxes.textWidth+5),t.$container.removeClass("sfsR")),o.boxes.containerHeight=t.$("#sfs-rsh")[0].clientHeight,o.layer.contentStuckBox())},s.prototype.save_filters_list=function(){var s=this;s.filtersSortedList={},o.filters.parts.forEach(function(t,e){"prcn"!=t.n&&(s.filtersSortedList[t.n]=e)})},s.prototype.add=function(t,e){var s,n,i=this,r="ApplyFilter";i.lastApplied=t,0==Object.keys(i.list).length&&i.save_filters_list(),"prcn"==t?(n=e,i.list[t]=n):(n=e.toString(),i.list[t]?-1<(s=i.$.inArray(n,i.list[t]))?(i.list[t].splice(s,1),0==i.list[t].length&&delete i.list[t]):i.list[t].push(n):(i.list[t]=[],i.list[t].push(n))),o.actions.store(r,"Filter"),o.query.get_result(r)},s.prototype.addList=function(e,t){var s=this,n="ApplyFilter";s.lastApplied=e,0==Object.keys(s.list).length&&s.save_filters_list(),s.list[e]||(s.list[e]=[],t.forEach(function(t){s.list[e].push(t)}),o.actions.store(n,"Grid"),o.query.get_result(n,null,"Grid"))},s.prototype.remove=function(t,e){var s=this;if("prcn"==t)delete s.list[t];else if(s.list[t]){var n=s.$.inArray(e.toString(),s.list[t]);s.list[t].splice(n,1),0==s.list[t].length&&delete s.list[t]}o.actions.store("RemoveFilter","AppliedFilter"),o.query.get_result("RemoveFilter")},s.prototype.add_invalid=function(t,e){void 0===this.list_invalid[t]&&(this.list_invalid[t]=[]),this.list_invalid[t].push(e)},s.prototype.remove_invalid=function(){this.list_invalid={}},s.prototype.hightlight_invalid=function(){var s="";this.$.each(this.list_invalid,function(e,t){t.forEach(function(t){""!=s&&(s+=","),s+='li[data-sfsfv="'+t+'"][data-sfsfn="'+e+'"]'})}),this.$container.find("li").removeClass("sfsI"),this.$container.find(s).addClass("sfsI")},s.prototype.is_value_applied=function(t,e){return!!this.list[t]&&-1'+a+"":(t.pieceSwitchButton&&null!=t.weightByPiece&&2<=t.units.length&&(e+='
    '+t.units[0]+'
    '+t.units[1]+"
    "),e+='
    ',t.pieceQtyMax>t.pieceQtyMin&&0-
    ':s="sfs-vignet__addtocart-qty--full",e+='
    ',"vignet"==t.pieceInput?e+='':e+=t.getCurrentQtyDisplay(),e+="
    ",t.pieceQtyMax>t.pieceQtyMin&&0+'),e+="",t.pieceTrashButton&&(e+='
    '),"popin"==t.pieceInput&&(e+='
    '+i+'
    '+r.replace("$1",t.pieceQtyMin).replace("$2",t.pieceQtyMax)+'
    ',e+='',e+='
    '+c+"
    "));else if(e+='
    ',t.vracQtyMax>t.vracQtyMin&&0-
    ':s="sfs-vignet__addtocart-qty--full",e+='
    ',"vignet"==t.vracInput?e+='':e+=t.getCurrentQtyDisplay(),e+="
    ",t.vracQtyMax>t.vracQtyMin&&0+'),e+="",t.vracTrashButton&&(e+='
    '),"popin"==t.vracInput){var l=t.vracQtyMin+("pc"==t.units[0]?"":t.units[0]),d=t.vracQtyMax+("pc"==t.units[0]?"":t.units[0]);e+='
    '+i+'
    '+r.replace("$1",l).replace("$2",d)+'
    ',"pc"!=t.units[0]&&(e+="
    "+o+"
    "),e+='',"pc"!=t.units[0]&&(e+="
    "+t.units[0]+"
    "),e+='
    '+c+"
    "}return"off"!=t.addToCartStatus&&(e+='
    '+c+"
    "),e},t.prototype.getCurrentQtyDisplay=function(){var t=this;return 1=e?this.currentQty-=t:this.currentQty=0,this.update_remote_cart()},t.prototype.update_remote_cart=function(){u.interactionManager.Cart.update_quantity(this.parent,this.currentQty,this.currentUnit)},t}),module.define("cart/View",["jquery","tools/utils","globals"],function(u,e,p){function t(){}return t.prototype.update_vignet=function(t,e){var s=e.cart.pieceQtyMax;e.cart.vracType?s=e.cart.vracQtyMax:(0==e.cart.currentQty?(t.find(".sfs-vignet__addtocart-unitselector").removeClass("sfs-vignet__addtocart-unitselector--active"),t.find(".sfs-vignet__addedtocart").removeClass("sfs-vignet__addedtocart--active")):(t.find(".sfs-vignet__addtocart-unitselector").addClass("sfs-vignet__addtocart-unitselector--active"),t.find(".sfs-vignet__addedtocart").addClass("sfs-vignet__addedtocart--active")),t.find(".sfs-vignet__addtocart-unit").removeClass("sfs-vignet__addtocart-unit--active"),t.find('div[data-unit="'+e.cart.currentUnit+'"]').addClass("sfs-vignet__addtocart-unit--active")),0==e.cart.currentQty?(t.find(".sfs-vignet__addtocart-btn").addClass("sfs-vignet__addtocart-btn--active"),t.find(".sfs-vignet__addtocart-adder").removeClass("sfs-vignet__addtocart-adder--active"),t.find(".sfs-vignet__addtocart-remover").removeClass("sfs-vignet__addtocart-remover--active")):(t.find(".sfs-vignet__addtocart-btn").removeClass("sfs-vignet__addtocart-btn--active"),t.find(".sfs-vignet__addtocart-adder").addClass("sfs-vignet__addtocart-adder--active"),t.find(".sfs-vignet__addtocart-remover").addClass("sfs-vignet__addtocart-remover--active")),e.cart.currentQty>=s?t.find(".sfs-vignet__addtocart-plus").addClass("sfs-vignet__addtocart-plus--disabled"):t.find(".sfs-vignet__addtocart-plus").removeClass("sfs-vignet__addtocart-plus--disabled"),t.find(".sfs-vignet__addtocart-qty").html(e.cart.getCurrentQtyDisplay()),0=o&&s.val()<=a?(n.find(".sfs-vignet__addtocart-vracerr").removeClass("sfs-vignet__addtocart-vracerr--active"),n.find(".sfs-vignet__addtocart-vracbtn").addClass("sfs-vignet__addtocart-vracbtn--active")):(n.find(".sfs-vignet__addtocart-vracerr").addClass("sfs-vignet__addtocart-vracerr--active"),n.find(".sfs-vignet__addtocart-vracbtn").removeClass("sfs-vignet__addtocart-vracbtn--active"))}),u(e+".sfs-vignet__addtocart-vracquit").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this).parents(".sf-vpc"),s=e.attr("data-psxyz").split(":"),n=p.interactionManager.get_product(s);e.find(".sfs-vignet__addtocart-vrac").removeClass("sfs-vignet__addtocart-vrac--active"),0==n.cart.currentQty&&(e.find(".sfs-vignet__addtocart-adder").removeClass("sfs-vignet__addtocart-adder--active"),e.find(".sfs-vignet__addtocart-unitselector").removeClass("sfs-vignet__addtocart-unitselector--active"),e.find(".sfs-vignet__addtocart-remover").removeClass("sfs-vignet__addtocart-remover--active"),e.find(".sfs-vignet__addtocart-btn").addClass("sfs-vignet__addtocart-btn--active"))}),u(e+".sfs-vignet__addtocart-remover").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this).parents(".sf-vpc"),s=e.attr("data-psxyz").split(":"),n=p.interactionManager.get_product(s);n.cart.set_qty(0),e.find(".sfs-vignet__addtocart-vracqty").val(""),e.find(".sfs-vignet__addtocart-vrac").removeClass("sfs-vignet__addtocart-vrac--active"),e.find(".sfs-vignet__addtocart-vracbtn").removeClass("sfs-vignet__addtocart-vracbtn--active"),p.cartview.update_vignet(e,n)}),u(e+".sfs-vignet__addtocart-qty").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this).parents(".sf-vpc"),s=e.attr("data-psxyz").split(":"),n=p.interactionManager.get_product(s);if("popin"==n.cart.vracInput&&n.cart.vracType||"popin"==n.cart.pieceInput&&!n.cart.vracType){e.find(".sfs-vignet__addtocart-vrac").addClass("sfs-vignet__addtocart-vrac--active");var i=e.find(".sfs-vignet__addtocart-vracqty"),r=i.val();i.val(""),i.focus(),i.val(r)}}),u(e+".sfs-vignet__addtocart-vrac").on("click tap",".sfs-vignet__addtocart-vracbtn--active",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this).parents(".sf-vpc"),s=e.attr("data-psxyz").split(":"),n=p.interactionManager.get_product(s),i=parseInt(e.find(".sfs-vignet__addtocart-vracqty").val(),10);isNaN(i)&&(i=0),0==i&&e.find(".sfs-vignet__addtocart-vracqty").val(""),n.cart.set_qty(i),e.find(".sfs-vignet__addtocart-vrac").removeClass("sfs-vignet__addtocart-vrac--active"),p.cartview.update_vignet(e,n)}),u(e+".sfs-vignet__addtocart-btn, "+e+".sfs-vignet__addtocart-plus, "+e+".sfs-vignet__addtocart-moins").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this),s=e.parents(".sf-vpc"),n=s.attr("data-psxyz").split(":"),i=p.interactionManager.get_product(n),r=i.selected_data.gid;Array.isArray(r)&&(r=r[0]);var o=i.selected_data.id;Array.isArray(o)&&(o=o[0]);var a=i.selected_data.offs;Array.isArray(a)&&(a=a[0]);var c=i.selected_data.lnk;Array.isArray(c)&&(c=c[0]),e.hasClass("sfs-vignet__addtocart-btn")&&(e.hasClass("sfs-vignet__addtocart-btn--disabled")||(p.actions.store("AddToCart","Grid"),p.actions.send_product_addtocart(c,a,r,n[2],1))),e.hasClass("sfs-vignet__addtocart-moins")?(i.cart.decrement_qty(),p.cartview.update_vignet(s,i)):e.hasClass("sfs-vignet__addtocart-plus")?(i.cart.increment_qty(),p.cartview.update_vignet(s,i)):e.hasClass("sfs-vignet__addtocart-btn--disabled")||(i.cart.vracType&&"popin"==i.cart.vracInput||!i.cart.vracType&&"popin"==i.cart.pieceInput?(e.removeClass("sfs-vignet__addtocart-btn--active"),s.find(".sfs-vignet__addtocart-adder").addClass("sfs-vignet__addtocart-adder--active"),s.find(".sfs-vignet__addtocart-unitselector").addClass("sfs-vignet__addtocart-unitselector--active"),s.find(".sfs-vignet__addtocart-remover").addClass("sfs-vignet__addtocart-remover--active"),s.find(".sfs-vignet__addtocart-vrac").addClass("sfs-vignet__addtocart-vrac--active"),s.find(".sfs-vignet__addtocart-vracqty").focus()):(i.cart.add_min_qty(),p.cartview.update_vignet(s,i)))}),u(e+".sfs-vignet__addedtocart").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()}),u(e+".sfs-vignet__addtocart-unitselector").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this),s=e.parents(".sf-vpc"),n=s.attr("data-psxyz").split(":"),i=p.interactionManager.get_product(n),r=e.find(".sfs-vignet__addtocart-unit:not(.sfs-vignet__addtocart-unit--active)").data("unit");i.cart.set_current_unit(r),p.cartview.update_vignet(s,i)})},t}),module.define("dommap/DomMap",["globals"],function(t){function e(){this.map={box_main:{0:"#sfs-shbx-z-or",1:".sfs-hdr__boxes input"},scopes_list:{0:"#sfs-spn-c",1:".sfs-hdr__scopes-list"}}}return e.prototype.get_selector_box_main=function(){return this.map.box_main[t.expmode]},e.prototype.get_selector_scopes_list=function(){return this.map.scopes_list[t.expmode]},e}),module.define("extensions",[],function(){return{WebAnalytics_GA:function(t){if(window.ga&&null!=t.terms){var e="";null!=t.trkName&&0
    "},"sf-f-cb-1":function(t,e,s,n){return 1==s?'
  • ":""},"sf-f-cp":function(t,e,s,n){return'
  • '+s+" ("+n+")
  • "},"sf-fv-b":function(t,e,s,n){return'
  • '+s+"
  • "}},this.htmlPriceBlocPattern=function(t,e){var s="";return"max"==t?s=k.environment.labels.content.f_t_pmx[1]:"min"==t&&(s=k.environment.labels.content.f_t_pmn[1]),'
    '+s+'
    '+("before"==k.environment.currency_position?k.environment.currency+" "+Math.floor(e.from_min):Math.floor(e.from_min)+" "+k.environment.currency)+'
    '+("before"==k.environment.currency_position?k.environment.currency+" "+Math.ceil(e.to_max):Math.ceil(e.to_max)+" "+k.environment.currency)+"
    "},k.environment.productlistingview_list){var e=[];t.forEach(function(t){e.push(t.n)}),this.names_list=e}}return t.prototype.frontMCloseFilters=function(){this.mfiltersOpened=!1,this.$("#sfsmc").removeClass("sfs-f-ve")},t.prototype.frontMOpenFilters=function(){this.mfiltersOpened=!0,this.$("#sfsmc").addClass("sfs-f-ve"),this.$("#sfs-f-h-tbin").scrollLeft(0)},t.prototype.get_offset=function(){var t=0;return 0==k.expmode&&(1'+t+""),a+='
      ',e.forEach(function(t){var e=k.afilters.is_value_applied(s,t.k)?"checked":"";a+=o.htmlValuesPattern[r](s,e,t.k,t.c)}),a+="
    ")});var t=k.interactionManager.get_attribute_label(s,"single");o.$("#sfs-f-ow-m-s-t").html(t),o.$("#sfs-f-ow-m-l").html(a),o.build_actions_lazy(),o.show_lazy()},t.prototype.build_alpha_lazy=function(t,e,s){var n={"0..9":{values:[]},a:{values:[]},b:{values:[]},c:{values:[]},d:{values:[]},e:{values:[]},f:{values:[]},g:{values:[]},h:{values:[]},i:{values:[]},j:{values:[]},k:{values:[]},l:{values:[]},m:{values:[]},n:{values:[]},o:{values:[]},p:{values:[]},q:{values:[]},r:{values:[]},s:{values:[]},t:{values:[]},u:{values:[]},v:{values:[]},w:{values:[]},x:{values:[]},y:{values:[]},z:{values:[]},Autres:{values:[]}};e.sort(function(t,e){return e.k"+e+"")+"",a+='
      ';for(var c=0;c",r
      '+k.environment.labels.content.f_b_mfv[1].replace("$1",""+i+"").replace("$2",s)+"
      "),(a+="")+"
      "},t.prototype.buildPushActions=function(){var s=this;s.$(".sfs-vfilter--std li").on("click",function(){s.$(this).attr("checked",!s.$(this).attr("checked")),1<=s.$('.sfs-vfilter--std li[checked="checked"]').length?s.$(".sfs-vfilter--std .sfs-vpush__cta").addClass("sfs-vpush__ctactive"):s.$(".sfs-vfilter--std .sfs-vpush__cta").removeClass("sfs-vpush__ctactive")}),s.$(".sfs-vfilter--std .sfs-vpush__cta").on("click",function(){if(s.$(".sfs-vfilter--std .sfs-vpush__cta").hasClass("sfs-vpush__ctactive")){var t="",e=[];s.$('.sfs-vfilter--std li[checked="checked"]').each(function(){t=s.$(this).data("sfsfn"),e.push(s.$(this).data("sfsfv").toString())}),k.afilters.addList(t,e)}}),s.$(".sfs-vfilter--std .sfs-morefi").on("click",function(){var t=s.$(this).attr("data-sfsfbn");s.frontMOpenFilters(),s.$('.sf-fc[data-sfsfbn="'+t+'"]').removeClass("sf-f-t"),s.$('.sfs-f-d-b[data-sfsfn="'+t+'"]').click()})},t.prototype.sortByScores=function(){0k.afilters.filtersSortedList[e.n]?1:0;var s=t.s,n=e.s;return s'+r+(n?i:"")+""+s.build_button()),n&&s.build_bloc_price_slider("prcn",n),k.context.low_screen_display()&&(s.$("#sfs-f-h-tb").addClass("sfsS"),null==k.afilters.lastApplied&&(s.frontMCloseFilters(),s.close_filters(),s.hide_lazy())),s.build_actions(),"closed"==k.environment.dynconfig.sassConfig["filter-state"]&&s.close_filters(),s.$containerParent.removeClass("sfsH"),k.afilters.build()},t.prototype.getFilterValuesType=function(t){var e;switch(t){case"isDsc":case"isNew":e="sf-f-cb-1";break;case"prcn":break;case"smclr":e="sf-f-cp";break;case"siz":e="sf-fv-b";break;case"brn":default:e="sf-f-cb"}return e},t.prototype.build_title=function(){var t="",e="";return t+='
      ',t+='
      ',t+='
      '+k.environment.labels.content.btnFiPar+"
      ",void 0!==k.afilters&&0!=Object.keys(k.afilters.list).length||(e=' class="sfsH"'),(t+='
      "+k.environment.labels.content.topClear+'
      ')+"
      "},t.prototype.build_button=function(){var t=k.interactionManager.get_response_structure(),e=k.interactionManager.get_products_count(),s=k.environment.labels.content.m_b_vp[1
      '+s.replace("$1",e)+"
      "},t.prototype.build_bloc=function(e,i,t){var r,o=this,s=w.cpObj(e),n="",a=s.length,c=!1;a>2*o.filterValuesMax&&"smclr"!=i&&("l"==k.environment.filters_position||"b"==k.environment.filters_position||k.context.low_screen_display())?(c=!0,s.sort(function(t,e){var s=t.s,n=e.s,i=t.pr,r=e.pr;return r
      '+d+"
      ";"b"!=k.environment.filters_position?v+='
      ('+a+")
      ":0('+h+")"),v+='
      ';var g="",_=Math.ceil((c?o.filterValuesMax:a)/o.filterValuesMax);if(g='
      '+v+'
      '+v+'
      ',10
      '),"siz"==i){var m=e.length;"l"!=k.environment.filters_position&&"b"!=k.environment.filters_position||c&&(m=o.filterValuesMax),s=k.interactionManager.sizes_organizer(s,"list",m)}g+='
        ',k.afilters.list[i]&&(f=k.afilters.list[i].slice());var y=0;if(o.$.each(s,function(t,e){if(c&&y>=o.filterValuesMax)return!1;var s=k.afilters.is_value_applied(i,e.k)?"checked":"";p+=o.htmlValuesPattern[r](i,s,e.k,e.c),y++;var n=o.$.inArray(e.k,f);k.afilters.list[i]&&-1!==n&&f.splice(n,1)}),0
        ...
        ';o.$.each(e,function(t,e){var s=o.$.inArray(e.k,f);-1!==s&&(x+=o.htmlValuesPattern[r](i,"checked",e.k,e.c),f.splice(s,1),b+=e.c)}),0
      ",c&&(o.delayedFilters[i]=e,g+='
      '+k.environment.labels.content.f_b_mfv[1].replace("$1",""+a+"").replace("$2",u)+"
      "),g+="
      ")},t.prototype.build_bloc_price=function(t,e){var s,n=!1,i=!1;void 0!==k.afilters.list.prcn&&0';r+='
      '+k.interactionManager.get_attribute_label(e,"single")+"
        "+k.environment.labels.content.f_t_prg[1]+"
      ";var o='
      '+(null!=s?s[0].split(";")[0]:Math.floor(t.bn.from_significant))+"
      ";o+="
      "+k.environment.labels.content.f_t_prg[2]+"
      ",o+='
      '+(null!=s?s[0].split(";")[1]:Math.ceil(t.bn.to_significant))+"
      ";var a='
      '+k.environment.currency+'
      ';"before"==k.environment.currency_position?r+=a+o:r+=o+a,r+="";var c="";return c='
      '+r+'
      '+r+'
      ',c+='
        ',"mono"!=k.environment.slider_price_type?(c+=this.htmlPriceBlocPattern("max",t.bn),c+=this.htmlPriceBlocPattern("min",t.bn)):c+=this.htmlPriceBlocPattern("minmax",t.bn),(c+="
      ")+"
      "},t.prototype.build_bloc_price_slider=function(i,t){var e=Math.ceil(t.bn.to),s=Math.ceil(t.bn.to_min),n=Math.ceil(t.bn.to_max),r=Math.ceil(t.bn.to_significant),o=Math.floor(t.bn.from),a=Math.floor(t.bn.from_min),c=Math.floor(t.bn.from_max),l=Math.floor(t.bn.from_significant);if(a!=n){var d,u={range:{min:a,max:n},tooltips:!0,step:1,format:{to:function(t){return"before"==k.environment.currency_position?k.environment.currency+" "+t:t+" "+k.environment.currency},from:function(t){return t.replace(k.environment.currency,"").trim()}}};if("mono"!=k.environment.slider_price_type){var p=document.getElementById("sf-sliderprice-max-c"),f=document.getElementById("sf-sliderprice-min-c");this.$("#sf-sliderprice-max, #sf-sliderprice-min").addClass("sfs-f-sp-me"),d=this.$.extend({connect:[!1,!0,!0,!0],start:[o,s,e],margin:1},u);var h=this.$.extend({connect:[!0,!0,!0,!1],start:[o,c,e],margin:1},u);k.filtersview.sliderManager.noUiSlider.create(p,d),k.filtersview.sliderManager.noUiSlider.create(f,h),p.noUiSlider.on("set",function(t){var e=[f.noUiSlider.get()[0].replace(k.environment.currency,"").trim()+";"+t[2].replace(k.environment.currency,"").trim()];k.interactionManager.add_afilters(i,e)}),f.noUiSlider.on("set",function(t){var e=[t[0].replace(k.environment.currency,"").trim()+";"+p.noUiSlider.get()[2].replace(k.environment.currency,"").trim()];k.interactionManager.add_afilters(i,e)}),p.getElementsByClassName("sf-noUi-origin")[0].setAttribute("disabled",!0),p.getElementsByClassName("sf-noUi-origin")[1].setAttribute("disabled",!0),f.getElementsByClassName("sf-noUi-origin")[1].setAttribute("disabled",!0),f.getElementsByClassName("sf-noUi-origin")[2].setAttribute("disabled",!0)}else{var v=document.getElementById("sf-sliderprice-minmax-c");d=this.$.extend({connect:[!1,!0,!1],start:[o,e],margin:1},u),k.filtersview.sliderManager.noUiSlider.create(v,d),v.noUiSlider.on("set",function(t){var e=parseInt(t[0].replace(k.environment.currency,"").trim()),s=parseInt(t[1].replace(k.environment.currency,"").trim());r-1=t+1&&(e=this.filters.build_bloc(this.filters_store[t].b,this.filters_store[t].n,this.filters_store[t].pr)),e},t.prototype.set_insert_actions=function(){i.filtersview.set_insert_actions()},t}),module.define("filters/SideBarView",[],function(){function t(){}return t.prototype.get_html_structure=function(){return'
      '},t}),module.define("filters/SliderManager",[],function(){function t(){this.sliderStart()}return t.prototype.sliderStart=function(){this.noUiSlider=function(){function R(t,e){var s=document.createElement("div");return U(s,e),t.appendChild(s),s}function i(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}function F(t,e,s){0=e[s];)s+=1;return s}function s(t,e,s){if(s>=t.slice(-1)[0])return 100;var n,i,r,o,a,c,l=p(s,t);return n=t[l-1],i=t[l],r=e[l-1],o=e[l],r+(c=s,u(a=[n,i],a[0]<0?c+Math.abs(a[0]):c-a[0])/d(r,o))}function n(t,e,s,n){if(100===n)return n;var i,r,o,a,c=p(n,t);return s?(i=t[c-1],((r=t[c])-i)/2",s[1]&&(o+="
      "+r.to(s[0])+"
      ")}),t.innerHTML=o,t}function n(t){var e=t.mode,s=t.density||1,n=t.filter||!1,i=y(s,e,function(t,e,s){if("range"===t||"steps"===t)return b.xVal;if("count"===t){var n,i=100/(e-1),r=0;for(e=[];(n=r++*i)<=100;)e.push(n);t="positions"}return"positions"===t?e.map(function(t){return b.fromStepping(s?b.getStep(t):t)}):"values"===t?s?e.map(function(t){return b.fromStepping(b.getStep(b.toStepping(t)))}):e:void 0}(e,t.values||!1,t.stepped||!1)),r=t.format||{to:Math.round};return f.appendChild(x(i,n,r))}function w(){var t=a.getBoundingClientRect(),e="offset"+["Width","Height"][p.ort];return 0===p.ort?t.width||a[e]:t.height||a[e]}function k(n,e,i,r){function s(t){return!f.hasAttribute("disabled")&&(e=f,s=p.cssClasses.tap,(e.classList?!e.classList.contains(s):!new RegExp("\\b"+s+"\\b").test(e.className))&&(t=function(t,e){t.preventDefault();var s,n,i=0===t.type.indexOf("touch"),r=0===t.type.indexOf("mouse"),o=0===t.type.indexOf("pointer"),a=t;0===t.type.indexOf("MSPointer")&&(o=!0);if(i){if(1s.stepAfter.startValue&&(i=s.stepAfter.startValue-n),r=n>s.thisStep.startValue?s.thisStep.step:!1!==s.stepBefore.step&&n-s.stepBefore.highestStep,100===t?i=null:0===t&&(r=null);var o=b.countStepDecimals();return null!==i&&!1!==i&&(i=Number(i.toFixed(o))),null!==r&&!1!==r&&(r=Number(r.toFixed(o))),[r,i]})},on:z,off:function(t){var n=t&&t.split(".")[0],i=n&&t.substring(n.length);Object.keys(_).forEach(function(t){var e=t.split(".")[0],s=t.substring(e.length);n&&n!==e||i&&i!==s||delete _[t]})},get:D,set:H,reset:function(t){H(p.start,t)},__moveHandles:function(t,e,s){M(t,e,h,s)},options:r,updateOptions:function(e,t){var s=D(),n=["margin","limit","range","animate","snap","step","format"];n.forEach(function(t){void 0!==e[t]&&(r[t]=e[t])});var i=Q(r);n.forEach(function(t){void 0!==e[t]&&(p[t]=i[t])}),i.spectrum.direction=b.direction,b=i.spectrum,p.margin=i.margin,p.limit=i.limit,h=[],H(e.start||s,t)},target:f,pips:n},(d=p.events).fixed||c.forEach(function(t,e){k(u.start,t.children[0],I,{handleNumbers:[e]})}),d.tap&&k(u.start,a,L,{}),d.hover&&k(u.move,a,E,{hover:!0}),d.drag&&o.forEach(function(t,e){if(!1!==t&&0!==e&&e!==o.length-1){var s=c[e-1],n=c[e],i=[t];U(t,p.cssClasses.draggable),d.fixed&&(i.push(s.children[0]),i.push(n.children[0])),i.forEach(function(t){k(u.start,t,I,{handles:[s,n],handleNumbers:[e-1,e]})})}}),H(p.start),p.pips&&n(p.pips),p.tooltips&&(i=c.map(s),z("update",function(t,e,s){if(i[e]){var n=t[e];!0!==p.tooltips[e]&&(n=p.tooltips[e].to(s[e])),i[e].innerHTML=n}})),l}return{create:function(t,e){if(!t.nodeName)throw new Error("noUiSlider.create requires a single element.");var s=A(t,Q(e),e);return t.noUiSlider=s}}}()},t}),module.define("filters/View",["filters/SliderManager","jquery","globals"],function(t,s,n){function e(){this.sliderManager=new t}return e.prototype.check_insert_buttonapply=function(){0
      '+e.environment.labels.content.btnFiltr+'
      '+e.environment.labels.content.o_b_mob[1]+"
      ",e.context.low_screen_display()||(t+=e.interactionManager.get_html_structure_sidebar()),t+'
      '},t}),module.define("history/Entry",[],function(){function t(t,e){this.entry_type=t,this.layer_state=e,this.build()}return t.prototype.build=function(){var t={entry_type:this.entry_type,layer_state:this.layer_state},e=window.history.state||{};((e["sf-history"]||{}).layer_state||{}).context=this.layer_state.context;var s="push";switch(this.entry_type){case"cart-open":case"product-open":s="none",((e["sf-history"]||{}).layer_state||{}).scrollPosition=this.layer_state.scrollPosition,((e["sf-history"]||{}).layer_state||{})["product-apn"]=this.layer_state["product-apn"],window.history.replaceState(e,"",""+window.location);break;case"search-action":case"context-change":t.entry_type="layer-open",s="replace";break;case"closed":s="replace";break;case"layer-open":e["sf-history"]&&(s="replace")}e["sf-history"]?"none"==s?window.history.replaceState(e,"",""+window.location):"replace"==s||"closed"==e["sf-history"].entry_type?window.history.replaceState({"sf-history":t},"",""+window.location):window.history.pushState({"sf-history":t},"",""+window.location):window.history.pushState({"sf-history":t},"",""+window.location)},t}),module.define("history/Manager",["scopes/Scopes","sortings/Sortings","history/Entry","filters/AppliedFilters","tools/utils","jquery","globals"],function(e,s,i,n,o,l,d){function t(){this.is_history=!1,this.history_state_available="function"==typeof window.history.pushState}return t.prototype.add_entry=function(t,e,s){if(this.history_state_available){var n=this.get_state_layer();null!=e&&null!=e&&(n.scrollPosition=e),null!=s&&null!=s&&(n["product-apn"]=s),new i(t,n)}},t.prototype.analyse_history=function(t){if(this.history_state_available){var e=window.history.state||{};if(e["sf-history"])switch(t&&(d.interactionManager.clean_results(),d.layer.toggleVisibility(!1,null,!0)),e["sf-history"].entry_type){case"layer-open":this.load_state(e);break;case"closed":d.layer.toggleVisibility(!1)}else d.layer.toggleVisibility(!1)}},t.prototype.load_state_data=function(t){d.actions.associated_term=t["sf-history"].layer_state.last_searchaction_term,d.interactionManager.set_user_payload(t["sf-history"].layer_state.payload),d.afilters=new n(l),d.afilters.list=JSON.parse(JSON.stringify(t["sf-history"].layer_state.context.afilters)),d.afilters.build(),d.scopes=new e(l),d.scopes.list=JSON.parse(JSON.stringify(t["sf-history"].layer_state.context.scopes)),d.scopes.build(),d.sortings=new s(l),d.sortings.sso=JSON.parse(JSON.stringify(t["sf-history"].layer_state.context.sortings)),d.sortings.build()},t.prototype.load_state=function(t){if(d.layer.opened){if(0==t["sf-history"].layer_state.term.length&&0==t["sf-history"].layer_state.context.scopes.length)return d.interactionManager.clean_results(),void d.boxes.$box_main.focus();d.layer&&d.layer.opened&&d.interactionManager.get_term()!=t["sf-history"].layer_state.term&&(this.load_state_data(t),d.interactionManager.set_box_val(t["sf-history"].layer_state.term,"HistoryRedraw")),this.goto_scrollposition(t["sf-history"].layer_state.scrollPosition,t["sf-history"].layer_state["product-apn"])}else d.interactionManager.clean_results(),this.load_state_data(t),d.boxes.$box_main.focus(),d.interactionManager.set_box_val(t["sf-history"].layer_state.term),d.boxes.term=t["sf-history"].layer_state.term,d.boxes.term_brut=t["sf-history"].layer_state.term,d.layer.toggleVisibility(!0,null,!0),(""!=t["sf-history"].layer_state.term||0$1 produit",2:"Voir les $1 produits"},micMsg:"Gagnez du temps,
      recherchez en parlant !",noSize:"Veuillez choisir une option",recipe:{plural:"Recettes",singular:"Recette"},rsuBtn:"J'ai compris !",rsuSub:"Une autorisation d'accès à votre micro
      va vous être demandée par votre navigateur.",rsuTtl:"Utilisation de la
      recherche vocale",txtVLP:"Voir les produits",article:{plural:"Articles",singular:"Article"},f_b_mfv:{1:"Voir les $1 $2"},f_t_pmn:{1:"minimum"},f_t_pmx:{1:"maximum"},f_t_prg:{1:"de",2:"à"},f_v_boo:{0:"Non",1:"Oui"},g_colon:{1:" :"},g_t_isf:{1:"Je recherche..."},houston:"Houston ? On a eu un problème... $1 Tapez le micro pour recommencer ou ici pour utiliser votre $2",i_b_atl:{1:"Ajouter à la liste"},i_b_atc:{1:"Voir le produit",2:"Ajouter au panier",3:"Ajouté",4:"Quelle quantité ?",5:"Saisissez une valeur
      entre $1 et $2",6:"Env."},i_t_dst:{1:"promotion"},i_t_new:{1:"nouveauté"},i_t_ssc:{1:"prix catalogue"},i_t_ssf:{1:"à partir de"},i_t_sso:{1:"chez d'autres vendeurs"},o_b_mob:{1:"trier"},o_t_asc:{1:"croissant"},o_t_dsc:{1:"décroissant"},o_t_stv:{1:"pertinence"},p_b_sms:{1:"toutes les suggestions",2:"fermer les suggestions"},r_b_bps:{1:"relancer la recherche avec"},r_t_cts:{1:"Précisez votre recherche si la référence recherchée n'est pas présente..."},r_t_ite:{1:"de l'offre",2:"dans l'offre"},r_t_itf:{1:"au filtre",2:"aux filtres"},r_t_itm:{1:"référence"},r_t_ito:{1:"offre",2:"offres"},r_t_itp:{1:"du rayon",2:"dans le rayon"},r_t_its:{1:"de la boutique",2:"dans la boutique"},r_t_oos:{1:"Aucun produit correspondant"},r_t_rrc:{1:"Référence correspondant à",2:"Références correspondant à"},rsuTxt1:"Sans autorisation, nous ne pourrons pas vous faire profiter de la recherche vocale :(",rsuTxt2:"A noter : cette autorisation ne sera donnée que pour notre site.",rsuTxt3:" ",s_b_etb:{1:"entrer dans la boutique"},s_b_sbp:{1:"voir ce produit",2:"voir ces produits"},s_t_sbp:{1:"$1 autre produit pour $2 au sein de la marque : $3",2:"$1 autres produits pour $2 au sein de la marque : $3",3:"$1 autres produits pour $2 au sein des marques : $3"},s_t_ttl:{1:"Cette page pourrait vous intéresser ...",2:"Ces pages pourraient vous intéresser ..."},topPlus:"Plus de filtres",txtVLXP:{1:"Voir le produit '$1' de l'offre",2:"Voir les $1 produits '$2' de l'offre"},btnEvent:"NOS OFFRES",btnFiPar:"FILTRER PAR :",btnFiltr:"FILTRER",btnScope:"Choisir ce rayon",colExist:"Existe en $1 coloris",topClear:"Effacer les filtres",topOther:"Autres filtres",topSortr:"Supprimer le tri",ttlMPage:{1:"$1 : $2 autre produit dans ces rayons",2:"$1 : $2 autres produits dans ces rayons"},txtAlHdr:{1:"produit",2:"produits"},txtSortg:"Trier par",txtZRL00:"Essayez de reformuler votre recherche...",txtZRL01:"Nous ne trouvons aucun produit pour",txtZRL02:"Cependant, la réponse se trouvera peut-être...",txtZRL03:"... parmi ces produits :",txtZRL99:"... sinon, en essayant de reformuler votre recherche.",txtZRVPM:"Voir plus",IMWorking:"Je travaille sur votre demande... $1 Désolé, cela me prend parfois un peu de temps, personne n'est parfait ;) $2",btnPushFi:"Je filtre par $1",catIsACat:"Appelons un chat un chat... Je n'ai pas bien saisi votre demande ;) $1 Tapez le micro pour recommencer ou ici pour utiliser votre $2",eventView:{0:"Voir les articles de cette offre",1:"Voir le résultat pour cette offre",2:"Voir les $1 résultats pour cette offre"},topSearch:"Recherche effectuée sur",univTitle:"Je choisis mon univers",brandTitle:"Ces boutiques pourraient vous intéresser",btnPushCta:"Appliquer",cantUseMic:"On dirait que je n'ai pas le droit d'utiliser votre micro :( $1 Tapez ici pour utiliser votre $2",r_t_oos_rf:{1:"Ce filtre a été supprimé.",2:"Ces filtres ont été supprimés."},r_t_oos_rs:{1:"La recherche a été élargie à l'ensemble du catalogue."},scopeTitle:"Ces rayons pourraient vous aider",topInvalid:"Aucun résultat pour ces filtres",treesTitle:"Ces rayons pourraient vous aider",brandedView:{0:"Voir les articles de cette boutique",1:"Voir le résultat dans cette boutique",2:"Voir les $1 résultats dans cette boutique"},inactiveMic:"Il me semble que votre micro n'est pas actif. $1 Vérifiez votre micro ou tapez ici pour utiliser votre $2",newsArticle:{plural:"Articles",singular:"Article"},speakLouder:"Pourriez-vous parler un peu plus fort svp ? $1 ou vérifiez le volume de votre micro $2 ou tapez ici pour utiliser votre $3",contentRecipe:"Découvrez nos $1 ",saidSomething:"Vous avez dit quelque chose ? Je n'ai rien entendu... $1 Vérifiez votre micro ou tapez ici pour utiliser votre $2",technicalOups:"Oups... Un problème technique m'empêche de vous aider :( $1 Tapez ici pour utiliser votre $2",tooLongDemand:"Pourriez-vous raccourcir votre demande ? Je n'ai pas tout noté... $1 Recommencez ou tapez ici pour utiliser votre $2",contentArticle:"Ces $1 pourraient vous intéresser",repeatQuestion:"Vous pouvez répéter la question ? $1 Tapez le micro pour recommencer ou ici pour utiliser votre $2",textStartVoice:"Je vous écoute, que puis-je trouver pour vous ?",eventInsertTitle:"Ne ratez pas ces offres",speakMoreQuietly:"Pourriez-vous parler un peu moins fort svp ? $1 ou vérifiez le volume de votre micro $2 ou tapez ici pour utiliser votre $3",brandedInsertTitle:"Ces boutiques pourraient vous intéresser",takeOnlyOneQuestion:"Je ne prends qu'une seule question à la fois :) $1 Recommencez ou tapez ici pour utiliser votre $2",contentView:{0:"Voir les $1 $2",1:"contenu",2:"contenus"}},this.dynConfig.ui.qvlt={content:{}},this.dynConfig.ui.qvlt.content=[],this.dynConfig.ui.qvom={content:{}},this.dynConfig.ui.qvom.content=null,this.dynConfig.ui.rprd={content:{}},this.dynConfig.ui.rprd.content={},this.dynConfig.ui.vplt={content:{}},this.dynConfig.ui.vplt.content=[],this.dynConfig.ui.vpom={content:{}},this.dynConfig.ui.vpom.content=null,this.modules_config=e||{},globals.user=new User(this.$,s||function(){return{}},n||function(){return{}}),globals.environment=new Environment(this.$),globals.environment.dynconfig.sassConfig["new-experience"]&&(globals.expmode=1))},ImmersiveSearch.prototype.initCore=function(t){return null!=globals.layer&&!t||(globals.context=new Context(this.$),globals.modulesManager.init(),globals.interactionManager.init(),globals.layer=new Layer(this.$),globals.domMap=new DomMap),Promise.resolve()},ImmersiveSearch.prototype.waitDOM=function(){return new Promise(function(t){/complete|interactive|loaded/.test(document.readyState)?t():document.addEventListener("DOMContentLoaded",t,!1)})},ImmersiveSearch.prototype.waitCSS=function(){return utils.retry(this.checkCss.bind(this),100,100)},ImmersiveSearch.prototype.checkCss=function(){if("auto"==window.getComputedStyle(document.getElementById("sfsmc")).getPropertyValue("z-index"))throw new Error("#SF ERR: CSS is not loaded");return this.cssloaded=!0},ImmersiveSearch.prototype.waitBoxes=function(){return utils.retry(this.checkBoxes.bind(this),30,100)},ImmersiveSearch.prototype.checkBoxes=function(){var t=$(this.searchZoneSelector),e=$('[data-sfsnbard="true"]');if(null!=t&&0
      '),s+='
      ',s+='
      ',!globals.context.low_screen_display()&&"b"!=globals.environment.filters_position||(s+=globals.interactionManager.get_html_structure_sidebar()),s+=globals.interactionManager.get_html_structure_boxes(),s+='
      ',s+='
      ',s+='
      ',s+='
      ',s+='
      ',s+=globals.interactionManager.getHtmlZeroResults(),s+=globals.interactionManager.get_html_structure_previewer(),s+=globals.interactionManager.get_html_structure_topbar(),s+='
      ',s+=globals.interactionManager.get_html_structure_leftbar(),0==globals.expmode&&(s+='
      ',s+='
      '),s+='
      ',s+="
      ",s+='
      ',s+='
      ',s+="
      ",s+="
      ",0==globals.expmode&&(s+='
      '),s+='
      ',s+="",t.$container.html(s),globals.interactionManager.evt_dom_ready(),setTimeout(function(){t.build_actions()},0)},Layer.prototype.build_actions=function(){var e=this;$("#sfsmc").on("click",function(t){t.stopPropagation(),t.stopImmediatePropagation();var e=$(t.target)[0];null!=e&&("sfsmc"!=e.id&&"sfs-cc"!=e.id&&"sfs-t"!=e.id&&"sfs-rt-c"!=e.id||globals.interactionManager.user_wantsToClose())}),$("#sfsmc .sfs-kbdcloser").on("mousedown click",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),globals.boxes.$box_main.blur()}),document.onkeydown=function(t){27==(t=t||window.event).keyCode&&e.opened&&globals.interactionManager.user_wantsToClose()},e.$("#sfs-i-b-s").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),globals.boxes.$box_main.trigger("blur")}),window.onresize=function(){clearTimeout(e.rebuildOnResizeTimer),e.rebuildOnResizeTimer=setTimeout(function(){var t=globals.layer.set_structural_info();globals.boxes&&globals.boxes.sync(),globals.interactionManager.init_openers(),globals.layer.opened&&globals.boxes&&0e.$container.outerHeight(!0)?e.$container.css("height","100vh"):globals.context.low_screen_display()?e.$container.css("height","100%"):e.$container.css("height","")},400)},e.$container.mouseleave(function(){e.opened&&globals.actions.store("MouseLeaveIS","Window")}),e.$("#sfs-she").click(function(){globals.interactionManager.user_wantsToClose()}),e.$("#sfs-shbx-z-c").on("click",function(t){t.stopPropagation(),globals.boxes.$box_main.is(":focus")||globals.boxes.$box_main.focus()})},Layer.prototype.clean=function(){globals.query.clean(),globals.termsManager.clean_lastPrefix(),globals.eventSpotlights&&globals.eventSpotlights.destroy(),globals.brandedSpotlights&&globals.brandedSpotlights.destroy(),globals.scopes&&globals.scopes.destroy(),globals.afilters&&globals.afilters.destroy(),globals.sisterspages&&globals.sisterspages.destroy(),globals.actions.store("CloseIS","Layer"),globals.actions.associated_term="",globals.boxes.term="",globals.boxes.term_brut="",globals.boxes.term_saved="",globals.interactionManager.set_box_val("","input"),globals.boxes.sync(),globals.is.customerSearchZone.val("")},Layer.prototype.toggleVisibility=function(open,noFocusOnBox,fromHistory,clean){var that=this;clean=null==clean||clean;var isFirstOpening=that.firstOpening;if(!open&&that.opened){void 0!==that.customer_meta_viewport&&($('head meta[name="viewport"]').remove(),$(that.customer_meta_viewport).appendTo("head")),!isFirstOpening&&clean&&that.clean(),that.$("#sfs-cc").addClass("sfsnv"),that.$container.removeClass("sfsmcs");var closeTO=200;if(fromHistory&&(closeTO=0),setTimeout(function(){that.$container.addClass("sfsH"),that.$("#sfs-sh").removeClass("sfis-shbx-semt"),that.$("body, html").removeClass("sfsOFHI"),that.$("body").scrollTop(0)},closeTO),globals.is.customerSearchZone.removeClass("sfsViHi"),((globals.environment.labels||{}).content||{}).sfcf_cl)try{eval(globals.environment.labels.content.sfcf_cl)}catch(t){globals.debug.log(t)}that.opened=!1,null==fromHistory&&globals.interactionManager.evt_layer_closed()}else if(open&&!that.opened){if(globals.interactionManager.init_openers(),0').appendTo("head")}!isFirstOpening&&clean&&that.clean(),globals.is.setupCPC(),that.$("body, html").scrollTop(0),that.$("body, html").addClass("sfsOFHI"),that.$container.removeClass("sfsH"),that.$container.addClass("sfsmcs"),setTimeout(function(){if(that.opened=!0,globals.interactionManager.evt_layer_opening(fromHistory),isFirstOpening&&(that.$container.removeAttr("style"),globals.modulesManager.rows_active||that.$("#sfs-a-ow").lazy(),that.firstOpening=!1),setTimeout(function(){that.$("#sfs-cc").removeClass("sfsnv"),noFocusOnBox||(globals.boxes.$box_main.focus(),globals.layer.$container.addClass("sfsbhf"))},0),globals.is.customerSearchZone.addClass("sfsViHi"),globals.boxes.containerHeight=(that.$(".sfs-hdr")[0]||{}).clientHeight,that.set_structural_info(isFirstOpening),1==globals.expmode&&globals.layer.contentStuckBox(),((globals.environment.labels||{}).content||{}).sfcf_ol)try{eval(globals.environment.labels.content.sfcf_ol)}catch(t){globals.debug.log(t)}that.$("body, html").scrollTop(0)},0)}},Layer.prototype.get_boxes_maxWidth=function(){var e=this,s=20;setTimeout(function(){!function t(){0 div#sfsabcr div.sf-vpc":t+=", div#sfs-r-c.sfs-r-c-t > div#sfsabcr div.sf-vpc",this.last_seen_products=this.$.map(this.$(t),function(t){return{link:e.interactionManager.get_product_link_from_domelement(t)}})},s.prototype.build=function(){this.ids=this.f_ids(),this.tfp=this.f_tfp()},s}),module.define("list/Manager",["list/ProductList","list/List","list/View","tools/utils","tools/Watcher","extensions","globals"],function(n,i,t,r,o,e,a){function s(){var i=this;this.list,this.args={},this.method={},this.view=new t,this.addToListByFunctionMethod=function(t){var e=r.evalString(t.remote_function_add,!0),s=e.data,n=r.evalString(t.remote_function_content);"object"==typeof n&&(n=t.remote_function_content),i.method={f:i.view.set_products_actions_byfunction.bind(i.view),type:"byfunction",remote_function_add:s,remote_function_add_context:e.context,remote_function_content:n},void 0===i.method.remote_function_add&&(a.modulesManager.list_active="blocked")},this.args={}}return s.prototype.update_list_content=function(){var e=this,s={articles:{}},t=this.remote_content();Promise.resolve(t).then(function(t){s.articles=t.articles,e.list=new i(s,e.args.defaultList),e.update_list_html()}).catch(function(t){a.debug.log(t)})},s.prototype.remote_content=function(){return"function"==typeof this.method.remote_function_content?this.method.remote_function_content():r.evalString(this.method.remote_function_content)||{}},s.prototype.remote_add=function(t,e,s){return"function"==typeof this.method.remote_function_add?this.method.remote_function_add.apply(this.method.remote_function_add_context,[t,e,s]):r.evalString(this.method.remote_function_add)||{}},s.prototype.set_products_actions=function(t){this.method.f(t)},s.prototype.toggleFromList=function(t,e){var s=this;try{if(void 0!==this.method.remote_function_add){var n=this.remote_add(t.id,this.args.defaultList,e);Promise.resolve(n).then(function(t){switch(t){case"information required":"hide"===s.args.information_required_mode?(a.interactionManager.user_wantsToClose(!1),new o(s.args.information_required_match,s.args.information_required_match_timeout,"cookie"===s.args.information_required_match_mode).run().then(function(){a.layer.toggleVisibility(!0,void 0,void 0,!1),s.update_list_content()}).catch(function(){a.interactionManager.user_wantsToClose()})):a.interactionManager.user_wantsToClose();break;case"error":a.debug.log("error customer side");break;case"success":default:"close_layer"===s.args.action_after_add?a.interactionManager.user_wantsToClose():s.update_list_content()}}).catch(function(t){a.debug.log(t)})}}catch(t){a.debug.log(t)}},s.prototype.get_product_list_data=function(t){var e=this.list.get_product_already_added(t),s=this.get_product_add_list_status(t);return new n(t,e,s)},s.prototype.get_product_add_list_status=function(t){if(!this.args.availabilityAttribute)return"on";var e=JSON.parse(this.args.availabilityAttribute).reduce(function(t,e){return t?t[e]:void 0},t.data_source);return void 0===e?"off":this.args.availabilityDisabledTab&&-1'+s+'
      '+e+"
      "},t}),module.define("list/List",[],function(){function t(t,e){this.content=t,this.defaultList=e}return t.prototype.get_product_already_added=function(t){if(this.content&&this.content.articles){var e=this.content.articles[t.id];if(e&&e.lists)return Boolean(e.lists[this.defaultList])}return!1},t}),module.define("list/View",["jquery","globals"],function(d,u){function t(){}return t.prototype.update_vignet=function(t,e){$addedToList=t.find(".sfs-vignet__addedtolist"),$btn=t.find(".sfs-vignet__addtolist-btn"),e.list.alreadyAdded?($addedToList.addClass("sfs-vignet__addedtolist--active"),$btn.removeClass("sfs-vignet__addtolist-btn--active")):($addedToList.removeClass("sfs-vignet__addedtolist--active"),$btn.addClass("sfs-vignet__addtolist-btn--active"))},t.prototype.set_products_actions_byfunction=function(t){var l=this,e="#sfsabc"+t+" ";d(e+".sfs-vignet__addedtolist").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=d(this).parents(".sf-vpc"),s=e.attr("data-psxyz").split(":"),n=u.interactionManager.get_product(s);n.list.removeFromList(),l.update_vignet(e,n)}),d(e+".sfs-vignet__addtolist-btn").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=d(this);if(!e.hasClass("sfs-vignet__addtolist-btn--disabled")){var s=e.parents(".sf-vpc"),n=s.attr("data-psxyz").split(":"),i=u.interactionManager.get_product(n),r=i.selected_data.gid;Array.isArray(r)&&(r=r[0]);var o=i.selected_data.id;Array.isArray(o)&&(o=o[0]);var a=i.selected_data.offs;Array.isArray(a)&&(a=a[0]);var c=i.selected_data.lnk;Array.isArray(c)&&(c=c[0]),i.list.addToList(),l.update_vignet(s,i)}})},t}),module.define("zero-results/NoresultSuggestedTerms",[],function(t){function e(t){this.$=t,this.list=[],this.term=""}return e.prototype.store=function(t,e){this.list=t,this.term=e},e.prototype.destroy=function(){this.list=[],this.term=""},e}),module.define("previewer/type/View",["globals"],function(t){function e(){}return e.prototype.get_html_structure=function(){return""+'
      '+t.environment.labels.content.s_b_etb[1]+'
      '+t.environment.labels.content.p_b_sms[1]+'
      '},e}),module.define("previewer/Manager",["globals"],function(t){function e(){t.modulesManager.previewer_active&&t.modulesManager.enhance_proto("previewer","PreviewerManager",this),t.modulesManager.previewer_original_active&&t.modulesManager.enhance_proto("previewer_original","PreviewerManager",this)}return e.prototype.get_html_structure=function(){return t.modulesManager.previewer_active?this.Previewer.get_html_structure():this.Original.get_html_structure()},e.prototype.set_dom_obj=function(){this.Previewer.set_dom_obj()},e.prototype.get_trace=function(t){return this.Previewer.get_trace(t)},e.prototype.render=function(){this.Previewer.render()},e.prototype.destroy=function(){this.Previewer.destroy()},e}),module.define("products/InteractionManager",["globals"],function(r){function t(){}return t.prototype.init_dynconfig=function(t){r.producthelper.init(t)},t.prototype.store_products=function(t,e,s,n,i){r.interactionManager.check_response_key_current(t)&&(r.variantsmanager.analyse(t,e,s),r.productsmanager.store_products(e,s,n,i))},t.prototype.get_products=function(t){return r.productsmanager.get_products(t)},t.prototype.get_product=function(t){return r.productsmanager.get_product(t)},t.prototype.get_html_products=function(t,e){return r.productsmanager.get_html_products(t,e)},t.prototype.set_products_actions=function(t){r.productsview.set_products_actions(t)},t.prototype.get_products_count=function(){return r.productsmanager.get_products_count()},t.prototype.get_product_price_html=function(t){return r.producthelper.get_prices_html(t)},t.prototype.get_product_rate_html=function(t){return r.producthelper.get_rate_html(t)},t.prototype.get_prices=function(t){return r.producthelper.get_prices(t)},t.prototype.get_product_discount_html=function(t){return r.producthelper.get_discount_html(t)},t.prototype.getProductBehavior=function(){return r.productsmanager.getProductBehavior()},t}),module.define("products/Product",["tools/utils","jquery","globals"],function(f,t,h){function e(t,e,s,n,i){this.data_source=t,this.best_variant_path,this.variants_selectors,this.variants_data,this.bloc=e,this.index=parseInt(s),this.list_index=parseInt(n),this.levels_count,this.selected_path,this.selected_data,this.id=t.id,this.cart,this.list,this.spath_calculated_data={},this.productBehavior=i,this.build(t)}return e.prototype.build=function(t){this.best_variant_path=t.v_best_path,this.best_variant_path_str=JSON.stringify(this.best_variant_path).replace(/"/g,"'"),this.variants_selectors=t.v_selectors,this.variants_data=t.v_brothers||{},this.levels_count=Object.keys(this.variants_selectors).length,this.selected_data=this.get_data(this.best_variant_path,1,0==h.producthelper.variants_prices_agglevel),this.cart=h.interactionManager.get_product_cart_data(this),this.list=h.interactionManager.get_product_list_data(this)},e.prototype.set_selected_data=function(t,e,s){return this.selected_data=this.get_data(t,e,s),this.selected_path},e.prototype.get_data=function(o,a,c){var l=f.cpObj(this.variants_data),d={},u=1;return Object.keys(o).forEach(function(t){(function(t){c&&1==t?d=f.cpObj(l.p_stats):this.levels_count==a||c?l.p_stats&&0
      article indisponible
      '):this.data_source.v_brothers_available_count"+h.interactionManager.get_product_debug_data(this.selected_data)+""},e.prototype.get_content_img=function(){return""+'
      '+this.get_flags()+'
      '},e.prototype.get_content_infos=function(){var t="",e=this.get_infos();return t+""+this.get_reference()+e},e.prototype.get_availability=function(t){var e="",s=(t||this.selected_data).avl;switch(Array.isArray(s)&&(s=s[0]),s){case"in stock":case"en stock":e="1";break;case"out of stock":case"non disponible":e="0";break;case"preorder":case"précommande":e="2";break;default:e="1"}return e},e.prototype.get_link=function(){var t,e,s="",n="?";if(e=this.selected_data.lnk,Array.isArray(e)&&(e=e[0]),((h.environment.labels||{}).content||{}).sxU){var i=h.environment.labels.content.sxU;0<=e.indexOf("?")&&(n="&"),s=0<=(t=e.indexOf("#"))?t==e.length?e.substr(0,t-1)+n+i+"#":e.substr(0,t)+n+i+e.substr(t):e+n+i}else s=e;if(!this.productBehavior.link.absolute){var r=s.match(/^(?:https?:\/\/)?(?:[^@\/\n]+@)?(?:www\.)?([^:\/?\n]+)/);s=s.substr(r[0].length+r.index,s.length)}return s},e.prototype.get_image=function(){return this.selected_data.img||h.interactionManager.get_img_placeholder()},e.prototype.get_infos=function(){var i=this.selected_data,r="";return t.each(h.environment.vignet_builder.content,function(t,e){var s=i[e.k]||"",n='data-attrn="'+e.k+'"';if(null!=e.render)try{s=e.render(i)}catch(t){h.debug.log(t),s=""}r+="
      "+s+"
      "}),r},e.prototype.get_flags=function(){var n=this.selected_data,i="";return t.each(h.environment.flag_builder.content,function(t,e){var s=n[e.k]||"";if(null!=e.render)try{s=e.render(n)}catch(t){h.debug.log(t),s=""}if(""!=s)return i=s,!1}),i},e.prototype.get_reference=function(){if("r"!=this.bloc)return"";var t=this.selected_data;return'
      '+h.environment.labels.content.r_t_itm[1]+h.environment.labels.content.g_colon[1]+" "+t.ref_matched_value+"
      "},e.prototype.get_variants=function(){var l,d=0,i="",u=f.cpObj(this.variants_data),p=0;return this.variants_selectors.forEach(function(t,e){var r=e+1,s=!0,o=t.length,a=0;1
      ';break;case"hidden":e+=" sfsH";break;default:i+=t.value}i='
      '+i,c+=i+="
      "}.bind(this)),p+=a;var n=!1;s&&0
      '+c+"
      ")+i}.bind(this)),this.data_source.v_brothers_available_count=p,i='
      '+(1
      '+d+"
      ":"")+'
      '+i+"
      "},e}),module.define("products/Helper",["globals"],function(d){function t(){this.price_colored=!1,this.price_halign="left",this.price_add00Cents=!1,this.price_discount_price_position="after",this.price_discount_rate_active=!0,this.price_discount_rate_position="after",this.price_discount_price_colored=!1,this.currency="€",this.currency_position="in",this.discount_modulo=5,this.variants_valign="between",this.variants_prices_agglevel=0,this.price_separator=".",this.round_discount="floor",this.prefix_label="à partir de"}return t.prototype.init=function(t){this.price_colored=t.products_module_price_colored,this.price_halign=t.products_module_price_halign,this.price_add00Cents=t.products_module_price_add00Cents,this.price_discount_rate_active=t.products_module_price_discount_rate_active,this.price_discount_price_position=t.products_module_price_discount_price_position,this.price_discount_rate_position=t.products_module_price_discount_rate_position,this.price_discount_price_colored=t.products_module_price_discount_price_colored,this.currency=t.products_module_currency,this.currency_position=t.products_module_currency_position,this.discount_modulo=t.products_module_discount_modulo,this.price_separator=t.products_module_price_separator||".",this.round_discount=t.products_module_round_discount||"floor",this.variants_valign=t.products_module_variants_valign,this.variants_prices_agglevel=t.products_module_variants_prices_agglevel,this.viewmore_btn=t.products_module_viewmore,this.prefix_label=d.environment.labels.content.i_t_ssf[1],this.viewmore_label=d.environment.labels.content.i_b_atc[1]},t.prototype.format_price=function(t){var e,s=t.toString(),n=s.split(".")[0],i=function(t){var e="",s="in"!=this.currency_position?this.price_separator:"";return t?e=s+(t+"00").substring(0,2):this.price_add00Cents&&(e=s+"00"),'
      '+e+"
      "}.call(this,s.split(".")[1]),r='
      '+this.currency+"
      ";switch(this.currency_position){case"before":e=r+n+i;break;case"in":e=n+r+i;break;default:e=n+i+r}return e},t.prototype.format_crossrate=function(t,e){return void 0===e&&(e=""),null!=t&&0- '+t+"%":""},t.prototype.get_prices=function(t){var e=t.p_min,s=t.p_max,n=t.pp_min,i=t.prcn;Array.isArray(i)&&(i=i[0]);var r=t.pprcn||t.prcn;Array.isArray(r)&&(r=r[0]);var o={price:i,price_html:void 0,price_crossed:r,price_crossed_html:void 0,is_promo:!1,discount_modulo:this.discount_modulo,need_prefix:!1,prefix_label:this.prefix_label,price_prefix_html:"",currency:this.currency,currency_position:this.currency_position,price_separator:this.price_separator,round_discount:this.round_discount,price_colored:this.price_colored,price_halign:this.price_halign,price_discount_rate_active:this.price_discount_rate_active,price_discount_price_position:this.price_discount_price_position,price_discount_rate_position:this.price_discount_rate_position,price_discount_price_colored:this.price_discount_price_colored,crossrate_html:void 0};e&&e!=s&&(o.price=e,o.need_prefix=!0,void 0===n&&(o.price_crossed=e)),n&&n!=e?(o.price_crossed=n,o.is_promo=!0):r&&r!=i&&(o.price_crossed=r,o.is_promo=!0),o.price_prefix_html='
      '+o.prefix_label+"
      ",o.price_html=this.format_price(o.price),o.price_crossed_html=o.is_promo?this.format_price(o.price_crossed):"";var a=this.discount_modulo,c=t.crossRate-t.crossRate%a;return"dsc_max"in t&&(c=t.dsc_max-t.dsc_max%a),o.crossrate_html=this.format_crossrate(c),o},t.prototype.get_rate_html=function(t){var e="";if(null!=t.rte&&void 0!==t.rte){e='
      ',e+='
      ';for(var s=parseFloat(t.rte),n=1;n<=s;n++)e+='
      ',s-n==.5&&(e+='
      ');e+="
      ",e+="
      "}return e},t.prototype.get_prices_html=function(t){var e=this.get_prices(t),s="",n="",i=e.price_prefix_html;if("8721e987-8745-48d5-b473-5024adc90956"==d.interactionManager.get_environment_uuid()&&null!=t.upm&&null!=t.upbm){var r="kg",o=parseFloat(t.upm),a="";t.upm!=t.upbm&&(a="
      "+this.format_price(e.price/o)+" / kg
      "),o<1&&(r="g",o=1e3*parseFloat(o)),e.price_html=e.price_html+" / "+(1!=o?o:"")+" "+r+""+a}var c='
      '+e.price_html+"
      ";if(e.is_promo){var l='
      '+e.price_crossed_html+"
      ";s="before"==e.price_discount_price_position?l+c:c+l,e.price_discount_rate_active&&("before"==e.price_discount_rate_position?s=e.crossrate_html+s:s+=e.crossrate_html),n+="sfs-vignet__prices--dsc "+(e.price_discount_price_colored?"sfs-vignet__prices--colored":"")}else n+=e.price_colored?"sfs-vignet__prices--colored":"",s=c;return i+'
      '+s+"
      "},t.prototype.get_discount_html=function(t){var e="",s=t.crossRate,n=t.isDsc,i=this.discount_modulo,r=t.dsc_min,o=t.dsc_max;return r-=r%i,s-=s%i,o&&0
      jusqu\'à
      - '+o+"%":'
      - '+o+"%
      ":n&&0- '+s+"%"),e},t}),module.define("products/Products",["products/Product","globals"],function(n,o){function t(t,e,s){this.products_list={},this.bloc=e,this.from=o.interactionManager.get_query_from(e),this.count=t.length,this.config=s,this.build(t)}return t.prototype.build=function(t){var s=this.from;t.forEach(function(t,e){this.products_list[e]=new n(t,this.bloc,e,s,this.config),s++}.bind(this))},t.prototype.get_html=function(t){for(var e=o.interactionManager.showDistinctPr(),s="",n=Object.keys(this.products_list).length,i=0;ie[0].scrollWidth&&(c=e[0].scrollWidth):i-r<0&&(c=0),e.animate({scrollLeft:c},o)},t.prototype.toggle_scroller=function(t,e,s){var n=0;s&&(n=100),setTimeout(function(){e[0].scrollWidth>t.outerWidth(!0)?(t.children(".sfs-variants-selectors__lvl-scroller").removeClass("sfs-dnone"),e.scrollLeft()+t[0].clientWidth>=e[0].scrollWidth&&t.children(".sfs-variants-selectors__lvl-scroller--right").addClass("sfs-dnone"),0==e.scrollLeft()&&t.children(".sfs-variants-selectors__lvl-scroller--left").addClass("sfs-dnone")):t.addClass("sfs-variants-selectors__lvl-scroller--without")},n)},t.prototype.set_products_actions=function(t){var h=this,e="#sfsabc";v(e+t+" .sfs-variant-selector").on("mouseenter",function(){var t=v(this);if(!t.hasClass("sfs-variant-selector--off")){var e=t.parents(".sf-vpc"),s=t.parents(".sfs-variants-selectors"),n=e.attr("data-psxyz").split(":"),i=g.productsmanager.get_product(n),r=JSON.parse(s.attr("data-spath").replace(/'/g,'"')),o=t.parents(".sfs-variants-selectors__lvl").attr("data-vslevel"),a=t.attr("data-vskey");r[o]=a,r=i.set_selected_data(r,parseInt(o),!1),s.attr("data-spath",JSON.stringify(r).replace(/"/g,"'"));var c=i.get_content_img(),l=i.get_content_infos(),d=e.find(".sfs-vignet__img"),u=e.find(".sfs-vignet__infos");d.html(c),u.html(l);var p=i.get_availability();e.attr("data-sfsavl",p);var f=i.get_link();e.find(".sf-vp > a").attr("href",f),h.highlight_variants_values(e,i,r),h.select_variants_values(e,r)}}),v(e+t+" .sfs-variants-selectors").on("mouseleave",function(){var t=v(this),e=t.parents(".sf-vpc"),s=e.find(".sf-vp > a"),n=e.attr("data-psxyz").split(":"),i=g.productsmanager.get_product(n),r=i.best_variant_path;i.set_selected_data(r,1,0==g.producthelper.variants_prices_agglevel);var o=i.get_content_img(),a=i.get_content_infos(),c=e.find(".sfs-vignet__img"),l=e.find(".sfs-vignet__infos");c.html(o),l.html(a);var d=i.get_availability();e.attr("data-sfsavl",d);var u=i.get_link();s.attr("href",u),t.attr("data-spath",i.best_variant_path_str),h.highlight_variants_values(e,i,r),h.select_variants_values(e,r)}),v(e+t+" .sfs-variants-selectors__lvl-scroller").on("click",function(t){t.preventDefault(),t.stopPropagation();var e=v(this),s=e.parent(),n=s.children(".sfs-variants-selectors__lvl-list");h.animate_scrollLeft(e,n,s)}),v(e+t+" .sf-vpc:not([class*=vpush])").on("mouseenter",function(){var t=v(this),i=t.attr("data-psxyz").split(":"),r=g.productsmanager.get_product(i);t.find(".sfs-variants-selectors__lvl-list").each(function(){var t=v(this),e=t.parent();h.toggle_scroller(e,t)}),h.inspectedProductTimeout=setTimeout(function(){if(null!=r&&null!=r.selected_data){var t=r.selected_data.lnk;Array.isArray(t)&&(t=t[0]);var e=r.selected_data.offs;Array.isArray(e)&&(e=e[0]);var s=r.selected_data.gid;Array.isArray(s)&&(s=s[0]);var n=i[2];g.interactionManager.evt_product_inspected("Grid",t,e,s,n)}},3e3)}),v(e+t+" .sf-vpc:not([class*=vpush])").on("mouseleave",function(){clearTimeout(h.inspectedProductTimeout)}),v(e+t+" div.sf-vpc div.sf-vp > a").on("click tap",function(t){var e=!1,s=!1,n=v(this).parents(".sf-vpc"),r="mouseButton-"+t.which,o=n.attr("data-psxyz").split(":"),a=g.productsmanager.get_product(o);function i(t){var e=a.selected_data.lnk;Array.isArray(e)&&(e=e[0]);var s=a.selected_data.offs;Array.isArray(s)&&(s=s[0]);var n=a.selected_data.gid;Array.isArray(n)&&(n=n[0]);var i=o[2];g.interactionManager.evt_product_clicked("Grid",e,s,n,i,r),t&&window.location.reload()}if(1==t.which&&"mousedown"!=t.type){var c=window.location.origin,l=window.location.hash,d=encodeURI(window.location.href.replace(c,"").replace(l,"")),u=v(t.currentTarget),p=u[0].hash;d==encodeURI(u[0].href.replace(c,"").replace(p,""))&&(e=!0,""!=p&&(s=!0)),g.interactionManager.evt_user_visitProduct(o[2],e),i(s)}else 2!=t.which&&3!=t.which||i(s)})},t}),module.define("products/VariantsManager",["tools/utils","jquery","globals"],function(f,v,g){function t(){}return t.prototype.get_data_src=function(t){var e="";switch(t){case"smclr":case"thmb":e="src";break;default:e="txt"}return e},t.prototype.build_best_map=function(t){var e=t.split("_"),s={},n=!1,i=!1,r=0;return e.forEach(function(t){"d"==t?i=!(n=!0):n?(s[r=t]="",i=!(n=!1)):i&&(s[r]=t,i=n=!1)}),s},t.prototype.build_selectors_data=function(c){var t=this,l=[];return c.o.forEach(function(n,i){l.push([]);var r=c.i[n[0]].md,o=t.get_data_src(r),a=[];n[1].forEach(function(t){var e=c.i[n[0]].kv[t][o];0w.boxes.terms_prefixes.length&&(v=""),"KeyHit"!=i&&"UseAcpProposition"!=i||t.relaxed||e.spellchecked&&e.terms_processed.indexOf(v)<0?d="SEARCH":w.boxes.correction_started?(l=!1,p.forEach(function(t,e){0!=t.indexOf(w.boxes.terms_prefixes[e])&&e!=f-1&&(w.boxes.terms_prefixes[e]=null,l=!0)}),l&&(d="SEARCH")):(l=!1,p.forEach(function(t,e){0!=t.indexOf(w.boxes.terms_prefixes[e])&&e!=f-1&&(w.boxes.terms_prefixes[e]=null,l=!0)}),l?d="SEARCH":""==v||h.length>=v.length&&h!=v||h.length<(w.boxes.terms_prefixes[w.boxes.terms_count-1]||"").length?d="PREFIX":0==v.indexOf(h)&&(d="SAME")),this.query_type=d){case"SEARCH":s("SEARCH");break;case"PREFIX":var g=w.is.nativeApiUrl+"/searchf/prefix/"+w.is.siteUUID,_={key:c,prefixQuery:{keywords:u}};a.clean(d),w.debug.lets=Date.now(),w.is.getExecutionTime("GET PREFIX - "+c);var m=a.$.ajax({type:"POST",url:g,contentType:w.communication.get_ajax_ContentType(),async:!0,crossDomain:!0,data:JSON.stringify(_),success:function(t){if(w.is.getExecutionTime("PREFIX - "+c),null!=t&&"OK"==t.code){var e=t.data.prefixQuery.bestPrefixOnLastWord;v!=e?s("PREFIX"):n(),w.termsManager.terms_lastPrefix=e,w.boxes.correction_started?0!=h.indexOf(w.boxes.terms_prefixes[w.boxes.terms_count-1])&&(w.boxes.terms_prefixes[w.boxes.terms_count-1]=h):w.boxes.terms_prefixes[w.boxes.terms_count-1]=h}}});a.check_launched=m;break;case"SAME":n()}t.reused&&w.debug.log("..... # SAME - "+t.key)},t.prototype.build=function(s,t,e,n){var i=this;i.action=e,i.key=s,w.interactionManager.set_response_key_current(s);var r=w.scopes.get_scopes("contents"),o={},a=0 ").slice(1).join(" > "):s+=t.u,0!=e&&(n+=" > "),n+=s}),n},t.prototype.get_scopes=function(e){var t=this.list,s=[];return t.forEach(function(t){"pages"==e&&("matched"!=t.t&&"suggested"!=t.t||s.push(t.q)),"spotlights"==e?"brandedSpotlight"!=t.t&&"eventSpotlight"!=t.t||s.push(t.q):t.t==e&&s.push(t.q)}),s},t.prototype.is_type_already_applied=function(s){var n=-1;return this.list.forEach(function(t,e){if(t.t==s||("suggested"==t.t||"matched"==t.t)&&("suggested"==s||"matched"==s))return n=e,!1}),n},t.prototype.add=function(t,e,s,n,i){var r=this,o=t,a=s,c=e;if("contents"==o)r.list=[{t:o,q:c,u:a}],d.eventSpotlights&&d.eventSpotlights.destroy(),d.brandedSpotlights&&d.brandedSpotlights.destroy();else{var l=r.is_type_already_applied(o);setTimeout(function(){"brandedSpotlight"==o?-1==l&&r.list.push({t:o,q:c,u:a}):(-1 ")[1];s.list[t].u=n,s.list[t].q.level=1,s.list[t].q.name="",s.list[t].q.path="root > "+n}else s.list.splice(t,1);s.list[t]&&"contents"==s.list[t].t&&d.afilters&&d.afilters.destroy(),d.scopes.build(),d.actions.store("Unscope","Scope"),0==s.list.length&&0==d.boxes.term.trim().length?d.interactionManager.cleanLayer():d.query.get_result("Unscope"),d.interactionManager.evt_scope_removed()},t.prototype.build=function(){var t=this,s=[],n=t.list.length;if(0!=n){var i,e=t.list,r="",o="",a="",c="";e.forEach(function(t,e){switch(a=t.u.toLowerCase(),t.t){case"contents":c="",i={1:t.q,2:t.q};break;case"matched":case"suggested":c=t.q.name.toLowerCase(),i=d.environment.labels.content.r_t_itp;break;case"brandedSpotlight":c="",i=d.environment.labels.content.r_t_its;break;case"eventSpotlight":c="",i=d.environment.labels.content.r_t_ite}r+='
      ',r+='
      ',r+=a,r+='
      ',r+="
      ",""!=c&&(r+='
      >  '+c+'
      '),r+="
      ",o=(0==e&&1"'+a+(""!=c?" > "+c:"")+'" ',s.push(o)}),s.reverse(),t.html_contentHeader=s.join(""),t.html_contentHeader=t.html_contentHeader.slice(0,-1),t.$container.html("
      "+r+"
      "),0==d.expmode&&d.layer.get_boxes_maxWidth(),t.$("#sfs-shbx-tt").addClass("sfsH"),d.context.low_screen_display()&&(t.$("#sfs-sh").removeClass("sfis-shbx-semt"),setTimeout(function(){d.layer.contentStuckBox()},400)),t.build_actions()}else t.destroy()},t.prototype.build_actions=function(){var r=this;r.$container.find("div.sfs-spn-pe-s").on("click",function(t){var e;t.preventDefault(),t.stopPropagation();var s=!1,n=r.$(t.target);n.hasClass("sfs-spn-pe-s")||(n=n.parents("div.sfs-spn-pe-s"));var i=n.parents(".sfs-spn-pe[data-sfscopeidx]");e=i.attr("data-sfscopeidx"),"sc"==n.attr("data-sfscopet")?(s=!0,n.addClass("animated zoomOut")):i.find("> div").addClass("animated zoomOut"),setTimeout(function(){d.interactionManager.remove_scope(e,s)},200),setTimeout(function(){if(r.list[e]&&("matched"==r.list[e].t||"suggested"==r.list[e].t||"brandedSpotlight"==r.list[e].t||"eventSpotlight"==r.list[e].t||"contents"==r.list[e].t))if(s){var t=r.list[e].q.path.split(" > ")[1];r.list[e].u=t,r.list[e].q.level=1,r.list[e].q.name="",r.list[e].q.path="root > "+t}else r.list.splice(e,1);d.scopes.build(),d.actions.store("Unscope","Scope"),0==r.list.length&&0==d.boxes.term.trim().length?d.interactionManager.cleanLayer():d.query.get_result("Unscope")},200)})},t.prototype.destroy=function(){this.list=[],this.$container.html(""),this.html_contentHeader="",this.containerWidth=0,this.$("#sfs-shbx-tt").removeClass("sfsH"),d.context.low_screen_display()&&d.boxes&&0",(e+=t)+'
      '+(s.environment.dynconfig.sassConfig["placeholder-text"]?s.environment.dynconfig.sassConfig["placeholder-text"]:"")+'