// written 2021-03-16T20:52:19.184Z !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(u){return String.fromCharCode.apply(null,new Uint16Array(function(){for(var t,e,s,n=u.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(){v()}var t,h,b,r,i,_,p,g,w,l,u,v,k,o,m,y,a,f,x,S="sizzle"+ +new Date,M=s.document,C=0,T=0,c=rt(),$=rt(),A=rt(),E=function(t,e){return t===e&&(u=!0),0},I={}.hasOwnProperty,e=[],L=e.pop,P=e.push,O=e.push,q=e.slice,N=function(t,e){for(var s=0,n=t.length;s+~]|"+D+")"+D+"*"),Q=new RegExp("="+D+"*([^\\]'\"]*?)"+D+"*\\]","g"),J=new RegExp(F),G=new RegExp("^"+B+"$"),K={ID:new RegExp("^#("+H+")"),CLASS:new RegExp("^\\.("+H+")"),TAG:new RegExp("^("+H.replace("w","w*")+")"),ATTR:new RegExp("^"+z),PSEUDO:new RegExp("^"+F),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+D+"*(even|odd|(([+-]|)(\\d*)n|)"+D+"*(?:([+-]|)"+D+"*(\\d+)|))"+D+"*\\)|)","i"),bool:new RegExp("^(?:"+j+")$","i"),needsContext:new RegExp("^"+D+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+D+"*((?:-\\d)?\\d*)"+D+"*\\)|)(?=[^-]|$)","i")},X=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,tt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,st=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+D+"?|("+D+")|.)","ig");try{O.apply(e=q.call(M.childNodes),M.childNodes),e[M.childNodes.length].nodeType}catch(t){O={apply:e.length?function(t,e){P.apply(t,q.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,u,d,p,f;if((e?e.ownerDocument||e:M)!==k&&v(e),s=s||[],a=(e=e||k).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))&&x(e,r)&&r.id===o)return s.push(r),s}else{if(i[2])return O.apply(s,e.getElementsByTagName(t)),s;if((o=i[3])&&h.getElementsByClassName)return O.apply(s,e.getElementsByClassName(o)),s}if(h.qsa&&(!y||!y.test(t))){if(d=u=S,p=e,f=1!==a&&t,1===a&&"object"!==e.nodeName.toLowerCase()){for(l=_(t),(u=e.getAttribute("id"))?d=u.replace(st,"\\$&"):e.setAttribute("id",d),d="[id='"+d+"'] ",c=l.length;c--;)l[c]=d+_t(l[c]);p=et.test(t)&&ft(e.parentNode)||e,f=l.join(",")}if(f)try{return O.apply(s,p.querySelectorAll(f)),s}catch(t){}finally{u||e.removeAttribute("id")}}}return g(t.replace(V,"$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=k.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 ut(e){return function(t){return"input"===t.nodeName.toLowerCase()&&t.type===e}}function dt(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},v=it.setDocument=function(t){var e,s,c=t?t.ownerDocument||t:M;return c!==k&&9===c.nodeType&&c.documentElement?(o=(k=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=Y.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,d);return function(t){return t.getAttribute("id")===e}}):(delete b.find.ID,b.filter.ID=function(t){var s=t.replace(nt,d);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=Y.test(c.querySelectorAll))&&(at(function(t){o.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&y.push("[*^$]="+D+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||y.push("\\["+D+"*(?:value|"+j+")"),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"+D+"*[*^$|!~]?="),t.querySelectorAll(":enabled").length||y.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),y.push(",.*:")})),(h.matchesSelector=Y.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("!=",F)}),y=y.length&&new RegExp(y.join("|")),a=a.length&&new RegExp(a.join("|")),e=Y.test(o.compareDocumentPosition),x=e||Y.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},E=e?function(t,e){if(t===e)return u=!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&&x(M,t)?-1:e===c||e.ownerDocument===M&&x(M,e)?1:l?N(l,t)-N(l,e):0:4&s?-1:1)}:function(t,e){if(t===e)return u=!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?N(l,t)-N(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):k},it.matches=function(t,e){return it(t,null,null,e)},it.matchesSelector=function(t,e){if((t.ownerDocument||t)!==k&&v(t),e=e.replace(Q,"='$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,d),t[3]=(t[3]||t[4]||t[5]||"").replace(nt,d),"~="===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 K.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":s&&J.test(s)&&(e=_(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,d).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("(^|"+D+")"+t+"("+D+"|$)"))&&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(x.isFunction(s))return x.grep(t,function(t,e){return!!s.call(t,e,t)!==n});if(s.nodeType)return x.grep(t,function(t){return t===s!==n});if("string"==typeof s){if(m.test(s))return x.filter(s,t,n);s=x.filter(s,t)}return x.grep(t,function(t){return 0<=x.inArray(t,s)!==n})}x.filter=function(t,e,s){var n=e[0];return s&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?x.find.matchesSelector(n,t)?[n]:[]:x.find.matches(t,x.grep(e,function(t){return 1===t.nodeType}))},x.fn.extend({find:function(t){var e,s=[],n=this,i=n.length;if("string"!=typeof t)return this.pushStack(x(t).filter(function(){for(e=0;e)[^>]*|#([\w-]*))$/;(x.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):x.isFunction(t)?void 0!==b.ready?b.ready(t):t(x):(void 0!==t.selector&&(this.selector=t.selector,this.context=t.context),x.makeArray(t,this));if(!(s="<"===t.charAt(0)&&">"===t.charAt(t.length-1)&&3<=t.length?[null,t,null]:k.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 x?e[0]:e,x.merge(this,x.parseHTML(s[1],e&&e.nodeType?e.ownerDocument||e:w,!0)),f.test(s[1])&&x.isPlainObject(e))for(s in e)x.isFunction(this[s])?this[s](e[s]):this.attr(s,e[s]);return this}if((n=w.getElementById(s[2]))&&n.parentNode){if(n.id!==s[2])return b.find(t);this.length=1,this[0]=n}return this.context=w,this.selector=t,this}).prototype=x.fn,b=x(w);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}x.extend({dir:function(t,e,s){for(var n=[],i=t[e];i&&9!==i.nodeType&&(void 0===s||1!==i.nodeType||!x(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}}),x.fn.extend({has:function(t){var e,s=x(t,this),n=s.length;return this.filter(function(){for(e=0;e
a",v.leadingWhitespace=3===e.firstChild.nodeType,v.tbody=!e.getElementsByTagName("tbody").length,v.htmlSerialize=!!e.getElementsByTagName("link").length,v.html5Clone="<:nav>"!==w.createElement("nav").cloneNode(!0).outerHTML,t.type="checkbox",t.checked=!0,s.appendChild(t),v.appendChecked=t.checked,e.innerHTML="",v.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,s.appendChild(e),e.innerHTML="",v.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,v.noCloneEvent=!0,e.attachEvent&&(e.attachEvent("onclick",function(){v.noCloneEvent=!1}),e.cloneNode(!0).click()),null==v.deleteExpando){v.deleteExpando=!0;try{delete e.test}catch(t){v.deleteExpando=!1}}})(),function(){var t,e,s=w.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})e="on"+t,(v[t+"Bubbles"]=e in h)||(s.setAttribute(e,"t"),v[t+"Bubbles"]=!1===s.attributes[e].expando);s=null}();var U=/^(?:input|select|textarea)$/i,W=/^key/,Q=/^(?:mouse|pointer|contextmenu)|click/,J=/^(?:focusinfocus|focusoutblur)$/,G=/^([^.]*)(?:\.(.+)|)$/;function K(){return!0}function X(){return!1}function Z(){try{return w.activeElement}catch(t){}}function Y(t){var e=tt.split("|"),s=t.createDocumentFragment();if(s.createElement)for(;e.length;)s.createElement(e.pop());return s}x.event={global:{},add:function(t,e,s,n,i){var r,o,a,c,l,u,d,p,f,h,_,g=x._data(t);if(g){for(s.handler&&(s=(c=s).handler,i=c.selector),s.guid||(s.guid=x.guid++),(o=g.events)||(o=g.events={}),(u=g.handle)||((u=g.handle=function(t){return typeof x===P||t&&x.event.triggered===t.type?void 0:x.event.dispatch.apply(u.elem,arguments)}).elem=t),a=(e=(e||"").match($)||[""]).length;a--;)f=_=(r=G.exec(e[a])||[])[1],h=(r[2]||"").split(".").sort(),f&&(l=x.event.special[f]||{},f=(i?l.delegateType:l.bindType)||f,l=x.event.special[f]||{},d=x.extend({type:f,origType:_,data:n,handler:s,guid:s.guid,selector:i,needsContext:i&&x.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,u)||(t.addEventListener?t.addEventListener(f,u,!1):t.attachEvent&&t.attachEvent("on"+f,u))),l.add&&(l.add.call(t,d),d.handler.guid||(d.handler.guid=s.guid)),i?p.splice(p.delegateCount++,0,d):p.push(d),x.event.global[f]=!0);t=null}},remove:function(t,e,s,n,i){var r,o,a,c,l,u,d,p,f,h,_,g=x.hasData(t)&&x._data(t);if(g&&(u=g.events)){for(l=(e=(e||"").match($)||[""]).length;l--;)if(f=_=(a=G.exec(e[l])||[])[1],h=(a[2]||"").split(".").sort(),f){for(d=x.event.special[f]||{},p=u[f=(n?d.delegateType:d.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),c=r=p.length;r--;)o=p[r],!i&&_!==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--,d.remove&&d.remove.call(t,o));c&&!p.length&&(d.teardown&&!1!==d.teardown.call(t,h,g.handle)||x.removeEvent(t,f,g.handle),delete u[f])}else for(f in u)x.event.remove(t,f+e[l],s,n,!0);x.isEmptyObject(u)&&(delete g.handle,x._removeData(t,"events"))}},trigger:function(t,e,s,n){var i,r,o,a,c,l,u,d=[s||w],p=g.call(t,"type")?t.type:t,f=g.call(t,"namespace")?t.namespace.split("."):[];if(o=l=s=s||w,3!==s.nodeType&&8!==s.nodeType&&!J.test(p+x.event.triggered)&&(0<=p.indexOf(".")&&(p=(f=p.split(".")).shift(),f.sort()),r=p.indexOf(":")<0&&"on"+p,(t=t[x.expando]?t:new x.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]:x.makeArray(e,[t]),c=x.event.special[p]||{},n||!c.trigger||!1!==c.trigger.apply(s,e))){if(!n&&!c.noBubble&&!x.isWindow(s)){for(a=c.delegateType||p,J.test(a+p)||(o=o.parentNode);o;o=o.parentNode)d.push(o),l=o;l===(s.ownerDocument||w)&&d.push(l.defaultView||l.parentWindow||h)}for(u=0;(o=d[u++])&&!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:v.htmlSerialize?[0,"",""]:[1,"X
","
"]},ht=Y(w).appendChild(w.createElement("div"));function _t(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||x.nodeName(n,e)?r.push(n):x.merge(r,_t(n,e));return void 0===e||e&&x.nodeName(t,e)?x.merge([t],r):r}function gt(t){V.test(t.type)&&(t.defaultChecked=t.checked)}function vt(t,e){return x.nodeName(t,"table")&&x.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!==x.find.attr(t,"type"))+"/"+t.type,t}function yt(t){var e=dt.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++)x._data(s,"globalEval",!e||x._data(e[n],"globalEval"))}function wt(t,e){if(1===e.nodeType&&x.hasData(t)){var s,n,i,r=x._data(t),o=x._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)),!(v.noCloneEvent&&v.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||x.isXMLDoc(t)))for(n=_t(r),a=_t(t),o=0;null!=(i=a[o]);++o)n[o]&&kt(i,n[o]);if(e)if(s)for(a=a||_t(t),n=n||_t(r),o=0;null!=(i=a[o]);o++)wt(i,n[o]);else wt(t,r);return 0<(n=_t(r,"script")).length&&bt(n,!c&&_t(t,"script")),n=a=i=null,r},buildFragment:function(t,e,s,n){for(var i,r,o,a,c,l,u,d=t.length,p=Y(e),f=[],h=0;h")+u[2],i=u[0];i--;)a=a.lastChild;if(!v.leadingWhitespace&&nt.test(r)&&f.push(e.createTextNode(nt.exec(r)[0])),!v.tbody)for(i=(r="table"!==c||ot.test(r)?""!==u[1]||ot.test(r)?0:a:a.firstChild)&&r.childNodes.length;i--;)x.nodeName(l=r.childNodes[i],"tbody")&&!l.childNodes.length&&r.removeChild(l);for(x.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),v.appendChecked||x.grep(_t(f,"input"),gt),h=0;r=f[h++];)if((!n||-1===x.inArray(r,n))&&(o=x.contains(r.ownerDocument,r),a=_t(p.appendChild(r),"script"),o&&bt(a),s))for(i=0;r=a[i++];)ut.test(r.type||"")&&s.push(r);return a=null,p},cleanData:function(t,e){for(var s,n,i,r,o=0,a=x.expando,c=x.cache,l=v.deleteExpando,u=x.event.special;null!=(s=t[o]);o++)if((e||x.acceptData(s))&&(r=(i=s[a])&&c[i])){if(r.events)for(n in r.events)u[n]?x.event.remove(s,n):x.removeEvent(s,n,r.handle);c[i]&&(delete c[i],l?delete s[a]:typeof s.removeAttribute!==P?s.removeAttribute(a):s[a]=null,d.push(i))}}}),x.fn.extend({text:function(t){return R(this,function(t){return void 0===t?x.text(this):this.empty().append((this[0]&&this[0].ownerDocument||w).createTextNode(t))},null,t,arguments.length)},append:function(){return this.domManip(arguments,function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||vt(this,t).appendChild(t)})},prepend:function(){return this.domManip(arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=vt(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?x.filter(t,this):this,i=0;null!=(s=n[i]);i++)e||1!==s.nodeType||x.cleanData(_t(s)),s.parentNode&&(e&&x.contains(s.ownerDocument,s)&&bt(_t(s,"script")),s.parentNode.removeChild(s));return this},empty:function(){for(var t,e=0;null!=(t=this[e]);e++){for(1===t.nodeType&&x.cleanData(_t(t,!1));t.firstChild;)t.removeChild(t.firstChild);t.options&&x.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 x.clone(this,t,e)})},html:function(t){return R(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)&&(v.htmlSerialize||!st.test(t))&&(v.leadingWhitespace||!nt.test(t))&&!ft[(rt.exec(t)||["",""])[1].toLowerCase()]){t=t.replace(it,"<$1>");try{for(;s")).appendTo(e.documentElement))[0].contentWindow||xt[0].contentDocument).document).write(),e.close(),s=Ct(t,e),xt.detach()),Mt[t]=s),s}v.shrinkWrapBlocks=function(){return null!=St?St:(St=!1,(e=w.getElementsByTagName("body")[0])&&e.style?(t=w.createElement("div"),(s=w.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(w.createElement("div")).style.width="5px",St=3!==t.offsetWidth),e.removeChild(s),St):void 0);var t,e,s};var $t,At,Et,It,Lt,Pt,Ot,qt,Nt,jt=/^margin/,Dt=new RegExp("^("+z+")(?!px)[a-z%]+$","i"),Ht=/^(top|right|bottom|left)$/;function Bt(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=w.getElementsByTagName("body")[0])&&e.style&&(t=w.createElement("div"),(s=w.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=Ot=!1,Nt=!0,h.getComputedStyle&&(Pt="1%"!==(h.getComputedStyle(t,null)||{}).top,Ot="4px"===(h.getComputedStyle(t,null)||{width:"4px"}).width,(n=t.appendChild(w.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",Nt=!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",(qt=0===n[0].offsetHeight)&&(n[0].style.display="",n[1].style.display="none",qt=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||x.contains(t.ownerDocument,t)||(o=x.style(t,e)),Dt.test(o)&&jt.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+""}):w.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]),Dt.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"}),(Et=w.createElement("div")).innerHTML="
a",(It=(Lt=Et.getElementsByTagName("a")[0])&&Lt.style)&&(It.cssText="float:left;opacity:.5",v.opacity="0.5"===It.opacity,v.cssFloat=!!It.cssFloat,Et.style.backgroundClip="content-box",Et.cloneNode(!0).style.backgroundClip="",v.clearCloneStyle="content-box"===Et.style.backgroundClip,v.boxSizing=""===It.boxSizing||""===It.MozBoxSizing||""===It.WebkitBoxSizing,x.extend(v,{reliableHiddenOffsets:function(){return null==qt&&zt(),qt},boxSizingReliable:function(){return null==Ot&&zt(),Ot},pixelPosition:function(){return null==Pt&&zt(),Pt},reliableMarginRight:function(){return null==Nt&&zt(),Nt}})),x.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 Ft=/alpha\([^)]*\)/i,Rt=/opacity\s*=\s*([^)]*)/,Vt=/^(none|table(?!-c[ea]).+)/,Ut=new RegExp("^("+z+")(.*)$","i"),Wt=new RegExp("^([+-])=("+z+")","i"),Qt={position:"absolute",visibility:"hidden",display:"block"},Jt={letterSpacing:"0",fontWeight:"400"},Gt=["Webkit","O","Moz","ms"];function Kt(t,e){if(e in t)return e;for(var s=e.charAt(0).toUpperCase()+e.slice(1),n=e,i=Gt.length;i--;)if((e=Gt[i]+s)in t)return e;return n}function Xt(t,e){for(var s,n,i,r=[],o=0,a=t.length;o
a",ae=re.getElementsByTagName("a")[0],ce=(oe=w.createElement("select")).appendChild(w.createElement("option")),ie=re.getElementsByTagName("input")[0],ae.style.cssText="top:1px",v.getSetAttribute="t"!==re.className,v.style=/top/.test(ae.getAttribute("style")),v.hrefNormalized="/a"===ae.getAttribute("href"),v.checkOn=!!ie.value,v.optSelected=ce.selected,v.enctype=!!w.createElement("form").enctype,oe.disabled=!0,v.optDisabled=!ce.disabled,(ie=w.createElement("input")).setAttribute("value",""),v.input=""===ie.getAttribute("value"),ie.value="t",ie.setAttribute("type","radio"),v.radioValue="t"===ie.value;var me=/\r/g;x.fn.extend({val:function(s){var n,t,i,e=this[0];return arguments.length?(i=x.isFunction(s),this.each(function(t){var e;1===this.nodeType&&(null==(e=i?s.call(this,t,x(this).val()):s)?e="":"number"==typeof e?e+="":x.isArray(e)&&(e=x.map(e,function(t){return null==t?"":t+""})),(n=x.valHooks[this.type]||x.valHooks[this.nodeName.toLowerCase()])&&"set"in n&&void 0!==n.set(this,e,"value")||(this.value=e))})):e?(n=x.valHooks[e.type]||x.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}}),x.extend({valHooks:{option:{get:function(t){var e=x.find.attr(t,"value");return null!=e?e:x.trim(x.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(x.parseHTML(t)).find(n):t)}).complete(s&&function(t,e){o.each(s,i||[t.responseText,e,t])}),this},x.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){x.fn[e]=function(t){return this.on(e,t)}}),x.expr.filters.animated=function(e){return x.grep(x.timers,function(t){return e===t.elem}).length};var is=h.document.documentElement;function rs(t){return x.isWindow(t)?t:9===t.nodeType&&(t.defaultView||t.parentWindow)}return x.offset={setOffset:function(t,e,s){var n,i,r,o,a,c,l=x.css(t,"position"),u=x(t),d={};"static"===l&&(t.style.position="relative"),a=u.offset(),r=x.css(t,"top"),c=x.css(t,"left"),i=("absolute"===l||"fixed"===l)&&-1 div.flex.items-center.justify-start div.flex.items-center.text-primary>a.q-link");if(null!=o&&0","").trim(),a.push(l)}0 label.price-ht");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(),u=h.interactionManager.get_products_count(),d=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&&(d.boxes.correction_started=!1))},t.prototype.detect_searchaction=function(t){var e,s,n={isSA:!1,sended:!1},i="actual",r=d.interactionManager.get_terms();return void 0===r.terms_processed&&(r=d.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&&1d.layer.items_perLine?r="div#sfs-r-c div#sfsabcr div.sf-vpc":r+=", div#sfs-r-c div#sfsabcr div.sf-vpc"):d.interactionManager.get_products_count()<=d.layer.items_perLine&&(r+=", div#sfs-r-c div#sfsabcr div.sf-vpc"),i.$.map(i.$(r),function(t){return{link:d.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"+t.substring(e)+""},t.prototype.get_html=function(){var e="";return n.interactionManager.is_inputSource_voice()||this.parts.forEach(function(t){e+='
    '+this.highlight_suggestion(t.key)+'
    '}.bind(this)),e},t.prototype.set_actions=function(){s(".sfs-acp__proposition").on("mousedown",function(t){t.stopPropagation(),t.stopImmediatePropagation(),t.preventDefault();var e=s(this).text();n.interactionManager.search(e,"Previewer","UseAcpProposition")})},t}),module.define("associatedterms/Manager",["associatedterms/AssociatedTerms"],function(e){function t(){this.associatedTerms=null}return t.prototype.analyse=function(t){return this.associatedTerms=new e(t),this.associatedTerms.count},t.prototype.get_html=function(){return this.associatedTerms.get_html()},t.prototype.set_actions=function(){this.associatedTerms.set_actions()},t}),module.define("backtotop/BackToTop",[],function(){function t(){this._D_container=document.getElementById("sfs-btt"),this.visible=!1,this.enabled=!0,this.position,this.build_actions()}return t.prototype.toggle=function(t,e){void 0===e?this.position!=t&&(200<(this.position=t)&&!this.visible?(this.visible=!0,this.enabled&&(this._D_container.className="")):t<200&&this.visible&&(this.visible=!1,this.enabled&&(this._D_container.className="sfsH"))):this._D_container.className=e},t.prototype.enable=function(){this.enabled=!0,this.visible&&(this._D_container.className="")},t.prototype.disable=function(){this.enabled=!1,this._D_container.className="sfsH"},t.prototype.build_actions=function(){this._D_container.addEventListener("click",function(){document.getElementById("sfs-a-ow").scrollTop=0})},t}),module.define("boxes/Boxes",["tools/utils","globals"],function(u,d){function t(t){this.$=t,this.term="",this.term_brut="",this.terms_count="",this.terms_prefixes=[],this.lastProposition="",this.textWidth=50,this.textWidthFull=50,this.textHeight=30,this.boxMaxWidth=50,this.containerHeight=0,this.focus=!1,this.$box_main=this.$(d.domMap.get_selector_box_main()),this.$box_proposition=this.$("#sfs-shbx-z-st"),this.$box_position=this.$("#sfs-shbx-z"),this.correction_started=!1,this.previousKeyCode,this.lastKeyCode,this.last_term,this.build()}return t.prototype.build=function(){this.initSearchZonesActions()},t.prototype.initSearchZonesActions=function(){var i=this,r={37:{v:-1,nf:!0},38:{v:-1,nf:!0},39:{v:1,nf:!0},40:{v:1,nf:!1},9:{v:1,nf:!1}};function s(t){""!=t&&(d.acp&&d.acp.destroy(),i.sync("AskResult"),d.actions.store("AskResult","Boxes"),d.query.get_result("AskResult"))}function o(t,e){t==i.previousKeyCode?(clearTimeout(i.keyHitTO),i.keyHitTO=setTimeout(function(){s(e)},100)):s(e)}i.$box_main.off(),i.$box_main.on("HistoryRedraw",function(){d.context.low_screen_display()&&!i.$("#sfs-sh").hasClass("sfis-shbx-semt")&&0==d.scopes.list.length&&i.$("#sfs-sh").addClass("sfis-shbx-semt"),d.interactionManager.set_layer_activesearch(),i.sync("HistoryRedraw"),d.actions.store("HistoryRedraw","History"),d.query.get_result("HistoryRedraw")}),i.$box_main.on("keydown",function(t){var e=t.keyCode;e&&(!r[e]&&13!=e||(13==e?(t.preventDefault(),o(e,u.getCleanVal(i.$,i.$(this).val())),d.context.low_screen_display()&&i.$(this).blur()):d.interactionManager.acp_selectable()&&(r[e].nf&&d.acp.selected||!r[e].nf)&&(t.preventDefault(),function(t){var e=d.acp.count;if(null==d.acp.selected)d.acp.selected=-1;else if(d.acp.selected+t==e)return;var s=d.acp.selected+t;if(s!=e&&(d.acp.selected=s%e),d.acp.selected<0)d.acp.selected=null;else{var n=d.acp.parts[d.acp.selected].key;i.sync("SelectAcpProposition",n),d.interactionManager.set_box_val(n),d.interactionManager.select_proposition_acp(d.acp.selected+1)}}(r[e].v))),i.previousKeyCode=e)}),i.$box_main.on("input paste",function(){var t=i.$(this),e=u.getCleanVal(i.$,t.val()),s=e,n=e.replace(/ /g,"").toLowerCase();if(i.track_mouvement(s,t[0].selectionStart,t[0].selectionEnd),d.afilters.destroy(),0==s.length)return i.last_term=n,void d.interactionManager.clean_results();d.context.low_screen_display()&&!i.$("#sfs-sh").hasClass("sfis-shbx-semt")&&0==d.scopes.list.length&&(i.$("#sfs-sh").addClass("sfis-shbx-semt"),d.interactionManager.set_layer_activesearch()),2<=s.length&&d.interactionManager.set_layer_activesearch(),d.interactionManager.box_inputs(),i.sync("KeyHit"),d.brandedSpotlights.bypass=!1,i.lastKeyCode&&i.lastKeyCode==i.previousKeyCode?n!=i.last_term&&(clearTimeout(i.keyHitTO),i.keyHitTO=setTimeout(function(){d.actions.store("KeyHit","Boxes"),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]),u=t.vracQtyMax+("pc"==t.units[0]?"":t.units[0]);e+='
    '+i+'
    '+r.replace("$1",l).replace("$2",u)+'
    ',"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(){d.interactionManager.Cart.update_quantity(this.parent,this.currentQty,this.currentUnit)},t}),module.define("cart/View",["jquery","tools/utils","globals"],function(d,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"))}),d(e+".sfs-vignet__addtocart-vracquit").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=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"))}),d(e+".sfs-vignet__addtocart-remover").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=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)}),d(e+".sfs-vignet__addtocart-qty").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=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)}}),d(e+".sfs-vignet__addtocart-vrac").on("click tap",".sfs-vignet__addtocart-vracbtn--active",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=d(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)}),d(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=d(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)))}),d(e+".sfs-vignet__addedtocart").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()}),d(e+".sfs-vignet__addtocart-unitselector").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=d(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("contents/Content",["globals"],function(c){function t(t,e,s){this.data=t,this.bloc=e,this.index=s}return t.prototype.get_html=function(){var t="",e=this.data,s=e["@type"],n=c.interactionManager.getContentsConfig().display[s].label_kicker_singular||s,i=c.interactionManager.Contents.translate_type(n).singular,r="Article"==s||"NewsArticle"==s?e.description:"


    ",o="Article"==s||"NewsArticle"==s?"Lire":"Découvrir",a=(e.image_link||c.interactionManager.Contents.get_fallback_img()).replace(/'/g,"\\'").replace(/\(/g,"\\(").replace(/\)/g,"\\)");return t+'
    "},t}),module.define("contents/Contents",["contents/Content"],function(s){function t(t,e){this.contents_list={},this.bloc=e,this.count=t.length,this.build(t)}return t.prototype.build=function(t){t.forEach(function(t,e){this.contents_list[e]=new s(t,this.bloc,e)}.bind(this))},t.prototype.get_html=function(){var e="";return Object.keys(this.contents_list).forEach(function(t){e+=this.contents_list[t].get_html()}.bind(this)),e},t}),module.define("contents/Manager",["contents/Contents","contents/Content","jquery","globals"],function(i,a,r,o){function t(){this.types={},this.contents_store={},this.contents_total=0,this.contents_previewer_total=0,this.inserts_store={},this.contentsConfig={use:!1,defaultFieldValues:{}},"CONTENTS_CONFIG"==this.contentsConfig&&(this.contentsConfig={use:!1,facets:{"NewsArticle.custom_newsarticle_article_type":{contentType:"NewsArticle",type:"terms",labels:{single:"Catégorie",plural:"Catégories"}},"Recipe.custom_recipe_occasion":{contentType:"Recipe",type:"terms",labels:{single:"Occasion",plural:"Occasions"}},"Recipe.custom_recipe_type-cuisine":{contentType:"Recipe",type:"terms",labels:{single:"Cuisine",plural:"Cuisines"}},"Recipe.custom_recipe_type-course":{contentType:"Recipe",type:"terms",labels:{single:"Moment",plural:"Moments"}},"Recipe.custom_recipe_type-plat":{contentType:"Recipe",type:"terms",labels:{single:"Type",plural:"Types"}},"Recipe.custom_recipe_dietetique":{contentType:"Recipe",type:"terms",labels:{single:"Diététique",plural:"Diététiques"}},"LocalBusiness.schema_address.schema_postaladdress_addressLocality":{contentType:"LocalBusiness",type:"terms",labels:{single:"Localisation de magasin",plural:"Localisations de magasins"}}}})}return t.prototype.is_used=function(){return this.contentsConfig.use},t.prototype.store_contents=function(t,e,s,n){0==e&&(this.contents_store={},this.contents_total=n,this.inserts_store={}),this.contents_store[e]=new i(t,e)},t.prototype.get_html_contents=function(t){var e="";return this.contents_store[t]&&(e=this.contents_store[t].get_html()),e},t.prototype.analyse=function(t){this.types={},this.contents_previewer_total=0,this.contents_total=0;var e={};return t.kickerContents&&0
    '+o.environment.labels.content.contentView[0].replace("$1",t).replace("$2",i)+"
    "},t.prototype.get_facets_label=function(t){return this.contentsConfig.facets[t]},t.prototype.set_insert_actions=function(e){var s=this;r('.sfs-insert__contents div[data-sfs-contenttype="'+e+'"]').on("click",function(){var t=r(this).attr("data-sfs-idx");document.location.href=s.types[e].contents[t].link})},t.prototype.set_contents_actions=function(e){var s=this;r("#sfsabc"+e+" .sfs-content").on("click",function(){var t=r(this).attr("data-sfs-idx");document.location.href=s.contents_store[e].contents_list[t].data.link})},t.prototype.get_types_html=function(){for(var t="",e=Object.keys(this.types),s=0;s'+this.translate_type(r).plural+"("+n+')
    '}return t},t.prototype.set_types_actions=function(s,t){var n=this,e="";switch(s){case"Previewer":e="#sfs-previewer";break;case"Insert":e=".sfs-insert"}var i="[data-contenttype]";t&&(i='[data-contenttype="'+t+'"]'),r(e+" "+i).on("click tap",function(){var t=r(this).attr("data-contenttype"),e=n.contentsConfig.display[t].label_kicker_plural||t;o.interactionManager.add_scope("contents",t,n.translate_type(e).plural,!1,s)})},t.prototype.translate_type=function(t){var e={singular:t,plural:t};switch(t){case"Recipe":e=o.environment.labels.content.recipe;break;case"Article":e=o.environment.labels.content.article;break;case"NewsArticle":e=o.environment.labels.content.newsArticle}return e},t.prototype.get_fallback_img=function(){return(this.contentsConfig.defaultFieldValues||{}).image_link||""},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{AddToCart_ByFunction:function(t){null!=t.idSource&&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=x.environment.labels.content.f_t_pmx[1]:"min"==t&&(s=x.environment.labels.content.f_t_pmn[1]),'
    '+s+'
    '+("before"==x.environment.currency_position?x.environment.currency+" "+Math.floor(e.from_min):Math.floor(e.from_min)+" "+x.environment.currency)+'
    '+("before"==x.environment.currency_position?x.environment.currency+" "+Math.ceil(e.to_max):Math.ceil(e.to_max)+" "+x.environment.currency)+"
    "},x.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==x.expmode&&(1'+t+""),a+='
      ',e.forEach(function(t){var e=x.afilters.is_value_applied(s,t.k)?"checked":"";a+=o.htmlValuesPattern[r](s,e,t.k,t.c)}),a+="
    ")});var t=x.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
      '+x.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())}),x.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(){0x.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),x.context.low_screen_display()&&(s.$("#sfs-f-h-tb").addClass("sfsS"),null==x.afilters.lastApplied&&(s.frontMCloseFilters(),s.close_filters(),s.hide_lazy())),s.build_actions(),"closed"==x.environment.dynconfig.sassConfig["filter-state"]&&s.close_filters(),s.$containerParent.removeClass("sfsH"),x.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+='
      '+x.environment.labels.content.btnFiPar+"
      ",void 0!==x.afilters&&0!=Object.keys(x.afilters.list).length||(e=' class="sfsH"'),(t+='
      "+x.environment.labels.content.topClear+'
      ')+"
      "},t.prototype.build_button=function(){var t=x.interactionManager.get_response_structure(),e=x.interactionManager.get_products_count(),s=x.environment.labels.content.m_b_vp[1
      '+s.replace("$1",e)+"
      "},t.prototype.build_bloc=function(e,i,t){var r,o=this,s=k.cpObj(e),n="",a=s.length,c=!1;a>2*o.filterValuesMax&&"smclr"!=i&&("l"==x.environment.filters_position||"b"==x.environment.filters_position||x.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
      '+u+"
      ";"b"!=x.environment.filters_position?_+='
      ('+a+")
      ":0('+h+")"),_+='
      ';var g="",v=Math.ceil((c?o.filterValuesMax:a)/o.filterValuesMax);if(g='
      '+_+'
      '+_+'
      ',10
      '),"siz"==i){var m=e.length;"l"!=x.environment.filters_position&&"b"!=x.environment.filters_position||c&&(m=o.filterValuesMax),s=x.interactionManager.sizes_organizer(s,"list",m)}g+='
        ',x.afilters.list[i]&&(f=x.afilters.list[i].slice());var y=0;if(o.$.each(s,function(t,e){if(c&&y>=o.filterValuesMax)return!1;var s=x.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);x.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&&(w+=o.htmlValuesPattern[r](i,"checked",e.k,e.c),f.splice(s,1),b+=e.c)}),0
      ",c&&(o.delayedFilters[i]=e,g+='
      '+x.environment.labels.content.f_b_mfv[1].replace("$1",""+a+"").replace("$2",d)+"
      "),g+="
      ")},t.prototype.build_bloc_price=function(t,e){var s,n=!1,i=!1;void 0!==x.afilters.list.prcn&&0';r+='
      '+x.interactionManager.get_attribute_label(e,"single")+"
        "+x.environment.labels.content.f_t_prg[1]+"
      ";var o='
      '+(null!=s?s[0].split(";")[0]:Math.floor(t.bn.from_significant))+"
      ";o+="
      "+x.environment.labels.content.f_t_prg[2]+"
      ",o+='
      '+(null!=s?s[0].split(";")[1]:Math.ceil(t.bn.to_significant))+"
      ";var a='
      '+x.environment.currency+'
      ';"before"==x.environment.currency_position?r+=a+o:r+=o+a,r+="";var c="";return c='
      '+r+'
      '+r+'
      ',c+='
        ',"mono"!=x.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 u,d={range:{min:a,max:n},tooltips:!0,step:1,format:{to:function(t){return"before"==x.environment.currency_position?x.environment.currency+" "+t:t+" "+x.environment.currency},from:function(t){return t.replace(x.environment.currency,"").trim()}}};if("mono"!=x.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"),u=this.$.extend({connect:[!1,!0,!0,!0],start:[o,s,e],margin:1},d);var h=this.$.extend({connect:[!0,!0,!0,!1],start:[o,c,e],margin:1},d);x.filtersview.sliderManager.noUiSlider.create(p,u),x.filtersview.sliderManager.noUiSlider.create(f,h),p.noUiSlider.on("set",function(t){var e=[f.noUiSlider.get()[0].replace(x.environment.currency,"").trim()+";"+t[2].replace(x.environment.currency,"").trim()];x.interactionManager.add_afilters(i,e)}),f.noUiSlider.on("set",function(t){var e=[t[0].replace(x.environment.currency,"").trim()+";"+p.noUiSlider.get()[2].replace(x.environment.currency,"").trim()];x.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 _=document.getElementById("sf-sliderprice-minmax-c");u=this.$.extend({connect:[!1,!0,!1],start:[o,e],margin:1},d),x.filtersview.sliderManager.noUiSlider.create(_,u),_.noUiSlider.on("set",function(t){var e=parseInt(t[0].replace(x.environment.currency,"").trim()),s=parseInt(t[1].replace(x.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 F(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 R(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,d(a=[n,i],a[0]<0?c+Math.abs(a[0]):c-a[0])/u(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(w(i,n,r))}function k(){var t=a.getBoundingClientRect(),e="offset"+["Width","Height"][p.ort];return 0===p.ort?t.width||a[e]:t.height||a[e]}function x(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(v).forEach(function(t){var e=t.split(".")[0],s=t.substring(e.length);n&&n!==e||i&&i!==s||delete v[t]})},get:B,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=B(),n=["margin","limit","range","animate","snap","step","format"];n.forEach(function(t){void 0!==e[t]&&(r[t]=e[t])});var i=J(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},(u=p.events).fixed||c.forEach(function(t,e){x(d.start,t.children[0],E,{handleNumbers:[e]})}),u.tap&&x(d.start,a,I,{}),u.hover&&x(d.move,a,L,{hover:!0}),u.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),u.fixed&&(i.push(s.children[0]),i.push(n.children[0])),i.forEach(function(t){x(d.start,t,E,{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,J(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+='
      ';for(var n=1;n<=5;n++){var i="";s-n==.5&&(i="sff-star-half"),n<=parseFloat(t.c_review)&&(i+=" sff-star-hl"),""!=i&&(e+='
      ')}e+="
      "}return e+""}},{k:"id",render:function(t){return"REF : "+t.id}},{k:"prcn",render:function(t){var e,s=!1,n=0,i=0,r=0,o="",a="",c="",l=1.2,u=window.getCustomerType,d="premium siret"==u||"pro"==u||"premium pro"==u,p=null!=t.ofr&&null!=t.ofr["offers.c_prix_pro"];return t.ofr&&null!=t.ofr.isDsc&&(s=t.ofr.isDsc,Array.isArray(s)&&(s=s[0])),t.ofr&&null!=t.ofr.prcn&&(r=t.ofr.prcn,Array.isArray(r)&&(r=r[0]),t.c_vat_percent&&(l=1+parseFloat(t.c_vat_percent)/100),e=(100*((r=r.toFixed(2))/l).toFixed(3)/100).toFixed(2),d?(t.c_packaging_quantity&&t.c_packaging_type&&(a='
      '+(e/t.c_packaging_quantity).toFixed(2).replace(".",",")+" €/"+t.c_packaging_type+" HT
      "),o+='
      '+e.replace(".",",")+" € HT
      ",o+='
      '+r.replace(".",",")+" € TTC
      "):(t.c_packaging_quantity&&t.c_packaging_type&&(a='
      '+(r/t.c_packaging_quantity).toFixed(2).replace(".",",")+" €/"+t.c_packaging_type+" TTC
      "),o+='
      '+r.replace(".",",")+" € TTC
      ",o+='
      '+e.replace(".",",")+" € HT
      "),o+=a,d&&p?(pricepro=parseFloat(t.ofr["offers.c_prix_pro"]).toFixed(2),e=(100*(pricepro/l).toFixed(3)/100).toFixed(2),htBasePrice=(100*(r/l).toFixed(3)/100).toFixed(2),a="",t.c_packaging_quantity&&t.c_packaging_type&&(a='
      '+(e/t.c_packaging_quantity).toFixed(2).replace(".",",")+" €/"+t.c_packaging_type+" HT
      "),n=Math.round(100-e/htBasePrice*100),n-=n%1,o='
      '+htBasePrice+" € HT
      ",!isNaN(n)&&0-'+n+"%"),o+='
      '+e.replace(".",",")+" € HT
      ",o+='
      '+pricepro.replace(".",",")+" € TTC
      ",o+=a):s&&null!=t.ofr.pprcn&&(i=t.ofr.pprcn,Array.isArray(i)&&(i=i[0]),i=i.toFixed(2),n=Math.round(100-r/i*100),n-=n%1,o='
      '+i+" € TTC
      ",!isNaN(n)&&0-'+n+"%"),o+='
      '+r.replace(".",",")+" € TTC
      ",o+='
      '+e.replace(".",",")+" € HT
      ",o+=a)),d&&p&&(c+='
      '),'
      '+o+"
      "+c}},{k:"avl",render:function(t){var e="",s=!1;if(null!=t.ofr&&"en stock"==t.ofr["offers.c_label"]&&(s=!0),e+='
      ',t.c_delivery_mode&&(t.c_delivery_mode.includes("Drive 2 h")||t.c_delivery_mode.includes("Libre-Service"))&&s?e+='':e+='',t.c_delivery_mode&&t.c_delivery_mode.includes("Locale 50 km")&&s?e+='':e+='',t.c_delivery_mode&&(t.c_delivery_mode.includes("Chronopost domicile")||t.c_delivery_mode.includes("Chronopost Point Relais"))&&s?e+='':e+='',e+="
      ",null!=t.ofr&&null!=t.ofr["offers.c_label"]){var n=t.ofr["offers.c_label"].charAt(0).toUpperCase()+t.ofr["offers.c_label"].slice(1);e+="En stock"==n?'
      En stock
      ':'
      '+n+"
      "}else e+='
      Produit indisponible
      ';return e}}],this.dynConfig.ui.lbls={content:{}},this.dynConfig.ui.lbls.content={zr:{0:"Nous n'avons pas trouvé de produits correspondant à votre recherche",1:"Essayez de reformuler votre demande ou vérifiez l'orthographe.",2:"Ces recherches vous apporteront peut-être une réponse :",3:"Quelques recommandations pour continuer votre shopping :",4:"Vous trouverez peut-être votre réponse dans ces pages :",5:"Ces pages ou ces recherches vous apporteront peut-être une réponse :",6:"Vous pourriez aussi consulter",7:"Votre recherche dans d'autres "},zut:"Zut ! Il me manque une partie de votre demande ! :( $1 Recommencez ou tapez ici pour utiliser votre $2",oups:"Oups ! Un problème m'empêche de vous aider :( $1 Tapez ici pour utiliser votre $2",sorry:"Désolé, je n'ai pas compris votre demande... $1 Tapez le micro pour recommencer ou ici pour utiliser votre $2",btnEsp:"En savoir plus",m_b_vp:{1:"$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:"Besoin de quoi aujourd'hui ?"},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("links/Links",["jquery","globals"],function(a,c){function t(t){if(this.parts=[],this.keywords=[],void(this.count=0)!==t&&null!=t){this.keywords=t.keywords;var e=c.interactionManager.get_term(),a=e.trim().split(" "),s=e.trim().split(" ").length;t.parts.forEach(function(r){var t=r.matchedKeywords,o=!1;t==s&&1 '+t.label+'
      '}),n},t.prototype.set_links_actions=function(r){var o=this;a(".sfs-shortcut").on("click",function(){var t,e,s=a(this).attr("data-sfs-idx"),n=a(this).parents('[class*="__column"]').attr("data-idx");if(null==s)e=t=a(this).attr("data-sfs-url");else{var i=o.parts[s];e=i.id||i.url,t=i.url}void 0!==e&&(c.interactionManager.trace_click(n,e,r),window.location.href=t)})},t}),module.define("links/Manager",["links/Links","promote/RulesManager"],function(i,r){function t(){this.links=null}return t.prototype.analyse=function(t){var e={parts:[],keywords:[]},s={pinned:[],preferred:[],default:[]};for(var n in t.parts.forEach(function(t){s[t.promotion].push(t)}),s)s[n].sort(function(t,e){return t.score-e.score});return e.parts=r.getItems(s),e.keywords=t.keywords,this.links=new i(e),this.links.count},t.prototype.get_links_html=function(){return this.links.get_html()},t.prototype.getLinksCount=function(){return this.links.parts.length},t.prototype.set_links_actions=function(t){this.links.set_links_actions(t)},t.prototype.get_links_id_byindex=function(t){return this.links.parts[t].id||this.links.parts[t].url},t}),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(u,d){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+" ";u(e+".sfs-vignet__addedtolist").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=d.interactionManager.get_product(s);n.list.removeFromList(),l.update_vignet(e,n)}),u(e+".sfs-vignet__addtolist-btn").on("click tap",function(t){t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation();var e=u(this);if(!e.hasClass("sfs-vignet__addtolist-btn--disabled")){var s=e.parents(".sf-vpc"),n=s.attr("data-psxyz").split(":"),i=d.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/max/View",["jquery","globals"],function(r,i){function t(){}return t.prototype.animate_scrollLeft=function(t,e,s){var n=e.scrollLeft(),i=Math.ceil(e[0].scrollWidth-20),r=Math.ceil((e[0].scrollWidth-20)/250),o=1;t.is("[class*=--left]")&&(o=-1);var a=n+i/r*o;0e[0].scrollWidth&&(a=e[0].scrollWidth):n-1.5*r<0&&(a=0),e.animate({scrollLeft:a},{queue:!1,duration:200})},t.prototype.toggle_scroller=function(t,e,s){var n=0;s&&(n=100);var i=!1;setTimeout(function(){e&&e[0].scrollWidth>t[0].clientWidth&&r(".sfs-previewer__scroller").removeClass("sfs-dnone"),e&&e.scrollLeft()+t[0].clientWidth==e[0].scrollWidth?r(".sfs-previewer__scroller--right").addClass("sfs-dnone"):i=!0,e&&0==e.scrollLeft()?r(".sfs-previewer__scroller--left").addClass("sfs-dnone"):i=!0,i&&r(".sfs-previewer__container").addClass("sfs-previewer__container--scroll")},n)},t.prototype.init_scrollers=function(){var t,e=this,s=r("#sfs-previewer"),n=r("#sfs-p-c");e.toggle_scroller(n,s),s.on("scroll",function(){e.toggle_scroller(n,s,!0),clearTimeout(t),t=setTimeout(function(){i.interactionManager.PreviewerManager.Previewer.check_elements_visible(!0)},150)}),r(".sfs-previewer__scroller").on("click",function(){var t=r(this);e.animate_scrollLeft(t,s,n)})},t}),module.define("previewer/max/Previewer",["jquery","globals"],function(u,_){function t(){this.destination_container_selector="sfs-p-c",this.destination_container,this.$container,this.origin="Previewer",_.interactionManager.setOrigin(this.origin,"#"+this.destination_container_selector),this.traces={viewed:{}}}return t.prototype.get_trace=function(t){return this.traces[t]},t.prototype.get_html_structure=function(){return'
      '},t.prototype.set_dom_obj=function(){this.destination_container=document.getElementById(this.destination_container_selector),this.destination_container.innerHTML='
      ',this.$container=u("#sfs-previewer"),u("#sfs-a-ow-c").removeClass("sfsH")},t.prototype.render=function(){var t,e=0,s="",n=_.interactionManager.get_response_structure(),i=[];this.traces={viewed:{}};var r=n.products<=_.interactionManager.get_layer_products_per_line();if(0===n.products)return this.destroy();if(1'+_.interactionManager.get_associatedTerms_html()+"",i.push(_.interactionManager.set_associatedTerms_actions),e++),1'+o+"",i.push(_.interactionManager.set_suggested_actions.bind(_.interactionManager,this.origin)),e++}if((1'+c+"",e++}if(0'+u.content+"",this.traces[e]=_.interactionManager.new_trace(["impression"],"previewer","wide",0,null,"column","shortcut",e,null,"shortcut",null,u.ids),i.push(_.interactionManager.set_links_actions.bind(_.interactionManager,this.origin)),e++}if(0'+d.content+"",this.traces[e]=_.interactionManager.new_trace(["impression"],"previewer","wide",0,null,"column","event",e,null,"event",null,d.ids),i.push(_.interactionManager.set_events_actions.bind(_.interactionManager,this.origin)),e++)}if(0'+p.content+"",this.traces[e]=_.interactionManager.new_trace(["impression"],"previewer","wide",0,null,"column","branded",e,null,"branded",null,p.ids),i.push(_.interactionManager.set_branded_actions.bind(_.interactionManager,this.origin)),e++}}0'+s+""),void 0===this.traces.viewed.event&&(this.traces.viewed.event={}),void 0===this.traces.viewed.branded&&(this.traces.viewed.branded={}),void 0===this.traces.viewed.shortcut&&(this.traces.viewed.shortcut={}),this.check_elements_visible(),i.forEach(function(t){t()}),_.previewerview.init_scrollers()):this.destroy()},t.prototype.check_elements_visible=function(t){var e=u(".sfs-previewer__branded").attr("data-idx"),s=this.traces[e],i=[];u(".sfs-previewer__branded > div").each(function(t,e){var s=u(e).attr("data-sfs-idx");if(_.interactionManager.is_element_inviewport(u(e))){var n=_.interactionManager.get_spotlights_id_byindex("branded",s,!0);void 0===this.traces.viewed.branded[n]&&(i.push(n),this.traces.viewed.branded[n]=!0)}}.bind(this)),0 div").each(function(t,e){var s=u(e).attr("data-sfs-idx");if(_.interactionManager.is_element_inviewport(u(e))){var n=_.interactionManager.get_spotlights_id_byindex("event",s,!0);void 0===this.traces.viewed.event[n]&&(o.push(n),this.traces.viewed.event[n]=!0)}}.bind(this)),0 div").each(function(t,e){var s=u(e).attr("data-sfs-idx");if(_.interactionManager.is_element_inviewport(u(e))){var n=_.interactionManager.get_links_id_byindex(s);void 0===this.traces.viewed.shortcut[n]&&(l.push(n),this.traces.viewed.shortcut[n]=!0)}}.bind(this)),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,u=0,i="",d=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
      '+u+"
      ":"")+'
      '+i+"
      "},e}),module.define("products/Helper",["globals"],function(u){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=u.environment.labels.content.i_t_ssf[1],this.viewmore_label=u.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"==u.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";_(e+t+" .sfs-variant-selector").on("mouseenter",function(){var t=_(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(),u=e.find(".sfs-vignet__img"),d=e.find(".sfs-vignet__infos");u.html(c),d.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)}}),_(e+t+" .sfs-variants-selectors").on("mouseleave",function(){var t=_(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 u=i.get_availability();e.attr("data-sfsavl",u);var d=i.get_link();s.attr("href",d),t.attr("data-spath",i.best_variant_path_str),h.highlight_variants_values(e,i,r),h.select_variants_values(e,r)}),_(e+t+" .sfs-variants-selectors__lvl-scroller").on("click",function(t){t.preventDefault(),t.stopPropagation();var e=_(this),s=e.parent(),n=s.children(".sfs-variants-selectors__lvl-list");h.animate_scrollLeft(e,n,s)}),_(e+t+" .sf-vpc:not([class*=vpush])").on("mouseenter",function(){var t=_(this),i=t.attr("data-psxyz").split(":"),r=g.productsmanager.get_product(i);t.find(".sfs-variants-selectors__lvl-list").each(function(){var t=_(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)}),_(e+t+" .sf-vpc:not([class*=vpush])").on("mouseleave",function(){clearTimeout(h.inspectedProductTimeout)}),_(e+t+" div.sf-vpc div.sf-vp > a").on("click tap",function(t){var e=!1,s=!1,n=_(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,u=encodeURI(window.location.href.replace(c,"").replace(l,"")),d=_(t.currentTarget),p=d[0].hash;u==encodeURI(d[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,_,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];0k.boxes.terms_prefixes.length&&(_=""),"KeyHit"!=i&&"UseAcpProposition"!=i||t.relaxed||e.spellchecked&&e.terms_processed.indexOf(_)<0?u="SEARCH":k.boxes.correction_started?(l=!1,p.forEach(function(t,e){0!=t.indexOf(k.boxes.terms_prefixes[e])&&e!=f-1&&(k.boxes.terms_prefixes[e]=null,l=!0)}),l&&(u="SEARCH")):(l=!1,p.forEach(function(t,e){0!=t.indexOf(k.boxes.terms_prefixes[e])&&e!=f-1&&(k.boxes.terms_prefixes[e]=null,l=!0)}),l?u="SEARCH":""==_||h.length>=_.length&&h!=_||h.length<(k.boxes.terms_prefixes[k.boxes.terms_count-1]||"").length?u="PREFIX":0==_.indexOf(h)&&(u="SAME")),this.query_type=u){case"SEARCH":s("SEARCH");break;case"PREFIX":var g=k.is.nativeApiUrl+"/searchf/prefix/"+k.is.siteUUID,v={key:c,prefixQuery:{keywords:d}};a.clean(u),k.debug.lets=Date.now(),k.is.getExecutionTime("GET PREFIX - "+c);var m=a.$.ajax({type:"POST",url:g,contentType:k.communication.get_ajax_ContentType(),async:!0,crossDomain:!0,data:JSON.stringify(v),success:function(t){if(k.is.getExecutionTime("PREFIX - "+c),null!=t&&"OK"==t.code){var e=t.data.prefixQuery.bestPrefixOnLastWord;_!=e?s("PREFIX"):n(),k.termsManager.terms_lastPrefix=e,k.boxes.correction_started?0!=h.indexOf(k.boxes.terms_prefixes[k.boxes.terms_count-1])&&(k.boxes.terms_prefixes[k.boxes.terms_count-1]=h):k.boxes.terms_prefixes[k.boxes.terms_count-1]=h}}});a.check_launched=m;break;case"SAME":n()}t.reused&&k.debug.log("..... # SAME - "+t.key)},t.prototype.build=function(s,t,e,n){var i=this;i.action=e,i.key=s,k.interactionManager.set_response_key_current(s);var r=k.scopes.get_scopes("contents"),o={},a=0e[0].scrollWidth&&(a=e[0].scrollWidth):n-1.5*r<0&&(a=0),e.animate({scrollLeft:a},{queue:!1,duration:150})},t.prototype.toggle_scroller=function(e,s,t){var n=0;t&&(n=100);var i=!1;setTimeout(function(){s[0].scrollWidth>e[0].clientWidth&&e.children(".sfs-insert__scroller").removeClass("sfs-dnone"),s.scrollLeft()+e[0].clientWidth==s[0].scrollWidth?e.children(".sfs-insert__scroller--right").addClass("sfs-dnone"):i=!0,0==s.scrollLeft()?e.children(".sfs-insert__scroller--left").addClass("sfs-dnone"):i=!0,i&&e.addClass("sfs-insert__content--scroll");var t=e.parents('div[id^="sfsabc"]').attr("data-idx");r.interactionManager.trace_insert_view(t)},n)},t.prototype.toggle_scrollers=function(){var s=this;i(".sfs-insert__list").each(function(){var t=i(this),e=t.parent();s.toggle_scroller(e,t)})},t.prototype.init_scrollers=function(){var n=this;this.toggle_scrollers(),i(".sfs-insert__list").each(function(){var t=i(this),e=t.parent();t.on("scroll",function(){n.toggle_scroller(e,t,!0)})}),i(".sfs-insert__scroller").on("click",function(){var t=i(this),e=t.parent(),s=e.children(".sfs-insert__list");n.animate_scrollLeft(t,s,e)})},t}),module.define("rows/CutView",[],function(){function t(t,e,s){this.totalProduct=t||0,this.moreThanOneProduct=e||!1,this.terms=s||""}return t.prototype.renderHtml=function(){return""+'
      Voir tous les résultats('+this.totalProduct+')
      '},t.prototype.renderTitle=function(){return""+this.totalProduct+" autre"+(this.moreThanOneProduct?"s":"")+" résultat"+(this.moreThanOneProduct?"s":"")+" pour « "+this.terms+" »"},t}),module.define("rows/CutController",["jquery","globals"],function(s,n){function t(){}return t.prototype.getShowPr1ButtonAction=function(){s(".sfs-insert__cut .sfs-page").on("click",function(){s(".sfs-row--pr1").removeClass("sfsH"),s(".sfs-row--cut").addClass("sfsH");var t=s("#sfs-a-ow"),e=s(".sfs-row--pr1");t.animate({scrollTop:e.offset().top-t.offset().top+t.scrollTop()-s(".sfs-topbar").height()},500),n.insertview.toggle_scrollers()})},t}),module.define("rows/InteractionManager",["globals"],function(e){function t(){}return t.prototype.init=function(){e.rowsmanager.init()},t.prototype.render_row=function(t){e.rowsmanager.render_row(t)},t.prototype.get_row_from=function(t){return e.rowsmanager.get_row_from(t)},t.prototype.get_row_index_served=function(t){return e.rowsmanager.rows_store[t].index_served},t.prototype.destroy=function(){e.rowsmanager.destroy()},t.prototype.get_insert_trace=function(t){return e.rowsbooker.rows_insert[t].trace},t.prototype.prepare_rows_insert=function(){e.rowsbooker.prepare_rows_insert()},t}),module.define("rows/Row",["globals"],function(l){function t(t,e,s,n,i,r,o,a,c){this.index=t,this.index_served=e,this.height=n,this.type=s,this.from=i,this.to=r,this.html_content=o||"",this.html_top=a||"",this.css_class=void 0===c?"grid"+l.interactionManager.get_layer_responsive_step():"",this.loaded=!1}return t.prototype.get_row_html_structure=function(t){var e="";switch(t){case"CUT":e+="sfs-row--cut";break;case"PR1":e+=" sfs-row--pr1 sfsH"}return'
      '+this.html_top+'
      '+this.html_content+"
      "},t}),module.define("rows/Booker",["rows/CutView","rows/CutController","globals"],function(v,m,y){function t(){this.origin="Insert",y.interactionManager.setOrigin(this.origin,".sfs-row--insert"),this.products_limit_low=5,this.rows_insert_height={filters:{std:270,solo:270},contents:{std:330,solo:430},events:{std:330,solo:430},branded:{std:330,solo:430},trees:{std:330,solo:330},cut:{std:180}},this.rows_insert_count=0,this.rows_insert_modulo=2,this.rows_insert={},this.actions_to_set=[],this.traces={}}return t.prototype.prepare_rows_insert=function(){var e,s,t=y.interactionManager.get_response_structure(),n=y.interactionManager.showDistinctPr();this.rows_insert={},this.rows_insert_count=0,this.actions_to_set=[];var i=!(this.traces={});if(n){var r=y.interactionManager.get_layer_products_per_block();e=Math.ceil(t.pr.pr0/r)}function o(){this.rows_insert_count++;var t=this.rows_insert_count*this.rows_insert_modulo-1;return n&&(t"+y.interactionManager.get_filter_name(f)+""),o+=y.interactionManager.get_filter_html(f),o+='
      '+y.environment.labels.content.btnPushCta+"
      ",o+='
      '+y.environment.labels.content.topPlus+"
      ",this.actions_to_set.push(y.interactionManager.set_filters_insert_actions);break;case"event":var h=y.interactionManager.get_spotlights_html("event",null,null,{destination:"insert"});0
      '+g+"
      ",this.actions_to_set.push(y.interactionManager.set_references_insert_actions.bind(y.interactionManager))}return""!=o&&(n.unstacking=!1,s+='
      '+c+'
      '+o+'
      '),s},t.prototype.set_insert_actions=function(){this.actions_to_set.forEach(function(t){t()})},t}),module.define("rows/Manager",["rows/Row","jquery","globals"],function(S,M,C){function t(){this.rows_store={},this.rows_viewed={},this.rows_count={total:0,totalPr0:0},this.rows_count_total=0,this.rows_height_default=0,this.productsPerRows=0,this.scroll_timeout=null,this.scroll_timeout_delay=100,this.btt_timeout_delay=75,this.last_execution=0,this.destination_container=null}return t.prototype.destroy=function(){null!=this.destination_container&&(this.destination_container.innerHTML="")},t.prototype.init=function(){M("#sfs-a-ow").on("scroll",this.follow_scroll.bind(this)),this.destination_container=document.getElementById("sfs-a-ow-sl-c")},t.prototype.getRowByIndex=function(t){return this.rows_store[t]},t.prototype.render_row=function(t){var e="";switch(C.interactionManager.get_response_structure().type){case"products":void 0===this.rows_store[t]||"products"==this.rows_store[t].type&&(e=C.interactionManager.get_html_block_products(this.rows_store[t].index_served));break;case"contents":e=C.interactionManager.get_html_block_contents(this.rows_store[t].index_served)}"products"!=this.rows_store[t].type&&"contents"!=this.rows_store[t].type||null==typeof document.getElementById("sfsabc"+t)||(document.getElementById("sfsabc"+t).innerHTML=e,C.interactionManager.evt_block_ready(t))},t.prototype.get_rows_count=function(t){var e=C.interactionManager.get_response_structure(),s=0;switch(e.type){case"products":s=e.products;break;case"contents":s=e.contents.total}var n=C.interactionManager.get_layer_products_per_block();return t?Math.ceil(e.pr.pr0/n)+Math.ceil(e.pr.pr1/n):Math.ceil(s/n)},t.prototype.prepare_rows_next=function(){this.rows_store={},this.rows_viewed={};var t=C.interactionManager.get_response_structure(),e=C.interactionManager.showDistinctPr(),s="",n=0,i=t.type;switch(i){case"products":n=t.products;break;case"contents":n=t.contents.total}var r=C.interactionManager.get_layer_products_per_block(),o=C.interactionManager.get_layer_products_per_line(),a=t.pr.pr0,c=t.pr.pr1;if(0this.rows_count&&(h=this.rows_count);for(var _=this.rows_count_total=this.rows_count+h,g=0;g<_;g++){var v=C.rowsbooker.get_insert_html(g);if(""==v){if(0==f){var m;m="contents"==i?C.interactionManager.get_html_block_contents(f):C.interactionManager.get_html_block_products(f),this.rows_store[g]=new S(g,f,i,"auto",d,p,m),s+=this.rows_store[g].get_row_html_structure(a=Math.ceil(t.pr.pr0/r)?"PR1":"";x=e&&"cut"===C.rowsbooker.rows_insert[g].type?"CUT":x,s+=this.rows_store[g].get_row_html_structure(x)}}}else 0==t.references.count?C.interactionManager.is_response_filtered()&&C.interactionManager.remove_filters():M(this.destination_container).html("");(0==n||t.products<=r)&&Object.keys(C.rowsbooker.rows_insert).forEach(function(t){s+=C.rowsbooker.get_insert_html(t,!0)}.bind(this)),0==n&&0==t.references.count?(M(this.destination_container).html(""),C.interactionManager.renderZeroResults()):(M(this.destination_container).append(s),C.interactionManager.destroyZeroResults()),C.interactionManager.evt_response_rendered(),C.insertview.init_scrollers(),C.rowsbooker.set_insert_actions()},t.prototype.check_rows_toload=function(t){if(0!=Object.keys(this.rows_store).length){var e,s,n;this.last_execution=Date.now();for(var i=0,r=this.rows_count_total,o=0;othis.btt_timeout_delay&&C.interactionManager.toggle_backtotop(e),s>this.scroll_timeout_delay?(this.check_rows_toload(e),C.interactionManager.toggle_backtotop(e)):this.scroll_timeout=setTimeout(function(){this.check_rows_toload.call(this,e,"time"),C.interactionManager.toggle_backtotop(e)}.bind(this),this.scroll_timeout_delay-s)):this.last_execution=Date.now()},t.prototype.get_row_from=function(t){return(this.rows_store[t]||{from:0}).from},t}),module.define("scopes/Scopes",["globals"],function(u){function t(t){this.$=t,this.$container=this.$(u.domMap.get_selector_scopes_list()),this.containerWidth=0,this.html_contentHeader="",this.list=[]}return t.prototype.get_scopes_analytics=function(){var t=this.list,n="";return t.forEach(function(t,e){var s="";"object"==typeof t.q?s+=t.q.path.split(" > ").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}],u.eventSpotlights&&u.eventSpotlights.destroy(),u.brandedSpotlights&&u.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&&u.afilters&&u.afilters.destroy(),u.scopes.build(),u.actions.store("Unscope","Scope"),0==s.list.length&&0==u.boxes.term.trim().length?u.interactionManager.cleanLayer():u.query.get_result("Unscope"),u.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=u.environment.labels.content.r_t_itp;break;case"brandedSpotlight":c="",i=u.environment.labels.content.r_t_its;break;case"eventSpotlight":c="",i=u.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==u.expmode&&u.layer.get_boxes_maxWidth(),t.$("#sfs-shbx-tt").addClass("sfsH"),u.context.low_screen_display()&&(t.$("#sfs-sh").removeClass("sfis-shbx-semt"),setTimeout(function(){u.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(){u.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);u.scopes.build(),u.actions.store("Unscope","Scope"),0==r.list.length&&0==u.boxes.term.trim().length?u.interactionManager.cleanLayer():u.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"),u.context.low_screen_display()&&u.boxes&&0',n.modulesManager.mic_available||(e="sfs-vhidden"),t+='
      '+n.environment.labels.content.micMsg+'
      ',(t+=n.interactionManager.get_html_structure_cart())+'
      '},t.prototype.set_dom_obj=function(){this.$hdr=s(".sfs-hdr"),this.$box_container=s(".sfs-hdr__boxes"),this.$box_input=s(".sfs-hdr__boxes input"),this.$input_cleaner=s(".sfs-box__inputtxt-bsp"),this.$closer=s(".sfs-hdr__cls"),n.modulesManager.voice_active&&this.Voice.set_dom_obj(),this.init_actions()},t.prototype.init_actions=function(){this.$closer.off(),this.$closer.on("click",function(){n.interactionManager.user_wantsToClose()}),this.$input_cleaner.on("click",function(){n.interactionManager.clean_results(),n.interactionManager.set_box_val("",null,!0)})},t.prototype.box_isnt_empty=function(){this.$input_cleaner.removeClass("sfs-dnone")},t.prototype.box_is_empty=function(){this.$input_cleaner.addClass("sfs-dnone")},t.prototype.layer_closed=function(){this.box_mode("input",!1)},t.prototype.box_mode=function(t,e){switch(t){case"voice":n.interactionManager.box_is_empty(),s("#sfs-c").addClass("sfs-activevcl"),this.$hdr.addClass("sfs-hdr--vcl sfs-hdr--vcl-asking");break;case"input":s("#sfs-c").removeClass("sfs-activevcl"),this.$hdr.removeClass("sfs-hdr--vcl sfs-hdr--vcl-asking sfs-hdr--vcl-preparing"),e&&this.$box_input.focus(),0 '+this.data.label+'
      '},e}),module.define("sisterspages/SistersPages",["globals"],function(a){function t(t){this.$=t,this.$container=this.$("#sfs-a-m"),this.containerHeight=0,this.$list=[],this.count=0,this.products_count=0,this.mainsister_path=""}return t.prototype.store=function(t,e,s){var n=this;n.mainsister_path=e,n.products_count=0,"page"==s?n.$list=a.pages.$container.find('div[data-sfspue="'+t+'"]').clone().removeClass().addClass("sfg-rp"+a.context.responsive_step):"sisterpage"==s&&(n.$list=n.$container.find('div[data-sfspue="'+t+'"]').clone().removeClass().addClass("sfg-rp"+a.context.responsive_step)),n.$list.length<=1?n.destroy():(n.count=0
      '+a.environment.labels.content.ttlMPage[1
      ',t.$container.html(e),t.$container.find("#sfs-a-m-c").html(t.$list),t.$container.find('div[data-sfspph="'+t.mainsister_path+'"]').addClass("sfsH"),t.containerHeight=t.$container.outerHeight(!0),t.build_actions()},t.prototype.anim_click=function(t){var e=this;e.$container.find("div[data-sfspph] > div.sfs-p-v, div[data-sfspph] > div.sfs-sl-v").removeClass("animated fadeIn fadeOut"),e.$container.find('div[data-sfspph!="'+t+'"] > div.sfs-p-v, div[data-sfspph!="'+t+'"] > div.sfs-sl-v').addClass("animated zoomOut"),setTimeout(function(){e.$container.find("div.animated.zoomOut").css("visibility","hidden")},225)},t.prototype.build_actions=function(){var o=this;o.$container.find('div[data-sfspte="matched"],div[data-sfspte="suggested"]').on("click",function(){var t=o.$(this),e=t.data("sfspte"),s="";t.children("div.sfs-p-v").hasClass("sfs-p-v-invertUnivers")||(s=t.find(".sfs-p-v-l").text());var n=t.attr("data-sfspph"),i=t.attr("data-sfspue"),r=parseInt(t.attr("data-sfspll"));o.store(i,n,"sisterpage"),o.anim_click(n),a.scopes.add(e,{level:r,name:s,type:e,path:n},i,!1,"Sister")})},t.prototype.destroy=function(){this.$list=[],this.mainsister_path="",this.count=0,this.products_count=0,this.$container.html("")},t}),module.define("sortings/Sortings",["globals"],function(u){function t(t){this.$=t,this.$container=this.$("#sfs-a-s"),this.$containerMobile=this.$("#sfs-sorting"),this.html_content="",this.current_sorting=u.environment.labels.content.o_t_stv[1],this.sso={st:!1,sac:null,fc:null}}return t.prototype.show=function(){this.$container.removeClass("sfsH")},t.prototype.hide=function(){this.$container.addClass("sfsH")},t.prototype.build_actions=function(){var t,r=this;r.$("#sfs-s-h").off(),r.$("#sfs-s-h").click(function(){r.$("#sfs-a-s-lt").addClass("sfsS"),r.$("#sfs-a-s-lt-v").html(u.environment.labels.content.m_b_vp[1 span").html(r.current_sorting),u.interactionManager.populateTopbarSorting(r.current_sorting),n=i.attr("id"),e=i.attr("sf_sort_field"),s=i.attr("sf_sort_order"),r.sso.st&&r.sso.fc.id==n||(r.sso="is"!=e?{st:!0,sac:{field:e,order:s},fc:{id:n}}:{st:!1,sac:null,fc:null},"sfs-a-s-r"==i.attr("id")?(r.$("#sfs-a-s-lt").removeClass("sfsS"),r.$("#sfs-a-s-r").addClass("sfsH")):r.$("#sfs-a-s-r").removeClass("sfsH"),u.actions.store("Sort","Grid"),u.query.get_result("Sort")))}),r.$("#sfs-a-s-lt").off(),r.$("#sfs-a-s-lt").click(function(){!u.context.low_screen_display()&&"b"!=u.environment.filters_position||(r.$("#sfs-a-s-lt").removeClass("sfsS"),u.backtotop.enable())}),r.$("#sfs-a-s-lt").on("mouseleave",function(){u.context.low_screen_display()||"b"==u.environment.filters_position||r.$("#sfs-a-s-lt").removeClass("sfsS")}),r.$("#sfs-a-s-lt-t > div.sff").off(),r.$("#sfs-a-s-lt-t > div.sff").on("click",function(t){t.stopPropagation(),r.$("#sfs-a-s-lt").removeClass("sfsS")})},t.prototype.get_current_sorting=function(){return this.current_sorting},t.prototype.clean=function(){this.$("#sfs-a-s-lt").remove(),u.context.low_screen_display()||"b"==u.environment.filters_position?this.$containerMobile.append(this.html_content):this.$container.html(this.html_content),this.build_actions(),this.sso={st:!1,sac:null,fc:null}},t.prototype.build=function(){this.$("#sfs-a-s-lt").remove();var t=u.environment.fieldsMap.sort,e=Object.keys(t),s="";if("b"==u.environment.filters_position){var n='
      '+u.environment.labels.content.topSortr+'
      ';s+='
      '+u.environment.labels.content.txtSortg+u.environment.labels.content.g_colon[1]+n+"
      "}else u.context.low_screen_display()?s+='
      '+u.environment.labels.content.txtSortg+u.environment.labels.content.g_colon[1]+'
      '+u.environment.labels.content.o_t_stv[1]+"
      ":(s+=u.environment.labels.content.txtSortg+""+u.environment.labels.content.o_t_stv[1]+'
      ',s+='
      '+u.environment.labels.content.o_t_stv[1]+"
      ");for(var i=0;i
      '+c+"
      ":s+='
      '+c+"
      "}s+='
      ',s+="
      ",this.html_content=s,u.context.low_screen_display()||"b"==u.environment.filters_position?this.$containerMobile.append(s):this.$container.html(s),this.build_actions()},t}),module.define("spotlights/BrandedSpotlights",["jquery","promote/RulesManager","globals"],function(c,u,_){function t(){this.$=c,this.all=[],this.interesting=[],this.appliedBySearch={},this.matchedKeywords={},this.matchedProducts={},this.elected={},this.promote={},this.bypass=!1,this.config=_.environment.spotlights_data.brand.entries,this.pages_completion=[],this.brandHeight={d:85,m:56},this.build_actions_global()}return t.prototype.getPromotion=function(t){return this.config[t].promotion},t.prototype.get_logo=function(t){return this.config[t].display.logo},t.prototype.get_background=function(t){return this.config[t].display.background},t.prototype.get_title=function(t){return""!=this.config[t].display.title?this.config[t].display.title:this.get_label(t)},t.prototype.get_label=function(t){return this.config[t].label},t.prototype.get_mode=function(t){return this.config[t].mode},t.prototype.get_elected=function(){return this.elected.id},t.prototype.renderVignet=function(t){var e="";return"pinned"==this.getPromotion(t)&&(e=" sfs-vbranded--pinned"),'
      '},t.prototype.buildPushActions=function(t){var r=this;if(r.$(".sfs-vbranded").on("click",function(){var t=r.$(this).attr("data-sfsslid"),e=r.$(this).attr("data-sfspph"),s=_.brandedSpotlights.get_title(t),n=c(this).parents('[id^="sfsabc"]').attr("id").replace("sfsabc",""),i=_.blocksContainer.blocksList[n].traces.branded;_.interactionManager.update_trace(i,!0,"click",[t]),_.pages.anim_click(e),_.scopes.add("brandedSpotlight",t,s,!1,"Grid")}),_.context.low_screen_display())r.$("#sfs-bline"+t+" .sfs-bline__btprv").hide(),r.$("#sfs-bline"+t+" .sfs-bline__btnxt").hide();else{var e=0,s=r.$("#sfs-bline"+t+" .sfs-bline__bar").width()-r.$("#sfs-bline"+t+" .sfs-bline__scr").width();r.$("#sfs-bline"+t+" .sfs-bline__btprv").hide(),s<=0&&r.$("#sfs-bline"+t+" .sfs-bline__btnxt").hide(),r.$("#sfs-bline"+t+" .sfs-bline__btprv").on("click",function(){e=Math.max(0,e-335),r.$("#sfs-bline"+t+" .sfs-bline__scr").animate({scrollLeft:e},{queue:!1,duration:300}),e<=0&&r.$("#sfs-bline"+t+" .sfs-bline__btprv").hide(),e';return n+="
      ",n+='
      '+_.environment.labels.content.brandTitle+"
      ",n+='
      ',t.data.forEach(function(t){var e=t.tag||t.id;n+=s.renderVignet(e)}),n+="
      ",n+='
      ',n+='
      ',n+="
      ",n+="
      ",n+="
      "},t.prototype.analyse=function(e,t){var s=this;if(s.all=e.all,this.interesting=e.interesting||[],this.promote=e.promote,s.pages_completion=[],_.references&&0<_.references.count)return s.elected={},"continue";var n,i=!1,r=0,o=!1,a=e.productCount;if(s.appliedBySearch=e.autoApplied,s.matchedKeywords=e.parts,s.matchedProducts=e.productsMatched,s.currentApplied=e.currentAppliedBrandedSpotlights||{},"BypassBrandedSpotlight"==t||s.bypass)return s.bypass=!0,s.elected={},"continue";if(0",5 div:nth-child(1)").html(_.environment.labels.content.s_t_sbp[l].replace("$1",""+o+"").replace("$2",'"'+c+'"').replace("$3","
      "+a+"
      ")),t.$("div#sfs-sl-bp-c > div#sfs-sl-bp-cta").html(_.environment.labels.content.s_b_sbp[u]),t.$("div#sfs-sl-bp-c").removeClass("sfsH")}var d=_.boxes.containerHeight+(_.pages?_.pages.containerHeight:0)+(_.context.low_screen_display()?200:300);t.$("#sfs-sl-bk").css({height:d,"background-image":"url("+s+")"}),t.$("#sfs-p-sl-l").html('')}},t.prototype.build_actions_global=function(){var r=this;r.$("#sfs-m-sl-ob").click(function(){var t=_.brandedSpotlights.get_title(_.brandedSpotlights.elected.id);_.scopes.add("brandedSpotlight",_.brandedSpotlights.elected.id,t,!1,"Branded")}),r.$("#sfs-sl-bp-cta").on("click",function(){_.actions.store("BypassBrandedSpotlight","Branded"),_.query.get_result("BypassBrandedSpotlight")}),r.$("#sfs-p-sl-lr-l, #sfs-p-sl-lr-r").on("click",function(){var t=r.$("#sfs-p-ow").width(),e=r.$("#sfs-p-ow")[0].scrollWidth,s=t/_.layer.pages_perLine,n=r.$("#sfs-p-ow").scrollLeft(),i=0;switch(r.$(this).attr("id")){case"sfs-p-sl-lr-r":i=n+s+24;break;case"sfs-p-sl-lr-l":i=n-s-24}r.$("#sfs-p-ow").animate({scrollLeft:i},{queue:!1,duration:200}),i<=0?r.$("#sfs-p-sl-lr-l").addClass("sfsH"):r.$("#sfs-p-sl-lr-l").removeClass("sfsH"),e<=i+t+24?r.$("#sfs-p-sl-lr-r").addClass("sfsH"):r.$("#sfs-p-sl-lr-r").removeClass("sfsH")})},t.prototype.get_html=function(t,e,s){var n,i,r="",o=[],a=[];if("insert"===(s||{}).destination&&1===this.promote.pinned.length)return i=(n=this.promote.pinned[0]).tag||n.id,r=this.get_html_byId(i,n,0),o.push(i),{content:r,ids:o};if(e&&(a=this.interesting),0==(a=u.getItems(this.promote)).length)return{content:r,ids:o};for(var c=this.get_elected(),l=0;l<(t||a.length);l++)c!=(i=(n=a[l]).tag||n.id)&&(r+=this.get_html_byId(i,n,l),o.push(i));return{content:r,ids:o}},t.prototype.get_html_byId=function(t,e,s){var n="",i=this.get_background(t),r=this.get_logo(t),o="";void 0===e?o+='
      '+_.environment.labels.content.brandedView[0]+'
      ':1'+_.environment.labels.content.brandedView[2].replace("$1",e.productsCount)+'
      ':o+='
      '+_.environment.labels.content.brandedView[1]+'
      ';var a="";return"pinned"==this.getPromotion(t)&&(a=1===this.promote.pinned.length?" sfs-branded--solo":" sfs-branded--pinned"),n+'
      '+o+'
      '},t.prototype.set_actions=function(r,o){var a=this,t=_.interactionManager.getOrigin(r).container;c(t+" .sfs-branded").on("click",function(){var t=c(this).attr("data-sfs-idx"),e=c(this).parents("[id^=sfsabc]").attr("data-idx");null==e&&(e=c(this).parents('[class*="__column"]').attr("data-idx"));var s=u.getItems(a.promote)[t];Array.isArray(o)&&(s=o[t]);var n=s?s.tag||s.id:void 0;if(void 0!==n){var i=_.brandedSpotlights.get_title(n);_.interactionManager.trace_click(e,n,r),_.interactionManager.add_scope("brandedSpotlight",n,i,!1,r)}else _.debug.log("["+r+"][BrandedSpotlight] onClick unknown spotlights")})},t.prototype.undraw=function(){var t=this;t.elected={},_.layer.$container.removeClass("sfs-sl sfs-sl-hl sfs-sl-ex"),setTimeout(function(){t.$("#sfs-sl-bk").css({height:0,"background-image":"none"})},200)},t.prototype.destroy=function(){this.undraw(),this.bypass=!1},t}),module.define("spotlights/EventSpotlights",["jquery","promote/RulesManager","globals"],function(y,b,w){function t(){this.$=y,this.$containerParent=this.$("#sfs-sidebar-c"),this.$container=this.$("#sfs-e-ow"),this.$containerLazy=this.$("#sfs-e-ow-m"),this.all=[],this.promote={},this.interesting=[],this.elected={},this.autoApplied={},this.maxItems=2,this.mSpotlightsOpened=!1,this.config=w.environment.spotlights_data.event.entries,this.traces={viewed:{}}}return t.prototype.getPromotion=function(t){return this.config[t].promotion},t.prototype.get_logo=function(t){return this.config[t].display.logo},t.prototype.get_background=function(t){return this.config[t].display.background},t.prototype.get_title=function(t){return""!=this.config[t].display.title?this.config[t].display.title:this.get_label(t)},t.prototype.get_label=function(t){return this.config[t].label},t.prototype.get_description=function(t){return this.config[t].display.description},t.prototype.get_elected=function(){return this.elected.id||this.autoApplied.id},t.prototype.analyse=function(t){var e,s=this.all=b.getItems(t.promote),n="";if(this.interesting=t.interesting||[],this.traces={viewed:{}},this.promote=y.extend(!0,{},t.promote),0';n+='
      ',n+='
      ',n+='
      ',""!=this.config[t].display.logo&&null!=this.config[t].display.logo&&(n+=' ',n+='
      '),n+="
      ",n+='
      '+this.config[t].display.title+"
      ",n+='
      '+this.config[t].display.description+"

      ";var i=w.interactionManager.get_terms().terms_processed;return n+=1'+w.environment.labels.content.txtVLXP[2].replace("$1",e).replace("$2",i)+"
      ":'
      '+w.environment.labels.content.txtVLXP[1].replace("$1",i)+"
      ",n+="
      ",(n+="")+""},t.prototype.buildPushActions=function(n){var i=this;i.$('.sfs-vevent[data-sfsslid="'+n+'"]').on("click",function(){var t=i.config[n].display.title;i.elected={id:n},i.$("#sfsmc").removeClass("sfs-e-ve"),i.$("#sfs-e-ow-m").removeClass("sfsS");var e=y(this).parents('[id^="sfsabc"]').attr("id").replace("sfsabc",""),s=w.blocksContainer.blocksList[e].traces.event;w.interactionManager.update_trace(s,!0,"click",[n]),w.scopes.add("eventSpotlight",n,t,!1,"Grid")})},t.prototype.buildActions=function(){var i=this;i.$("#sfs-e-ow-m-e").on("click",function(){i.$containerLazy.removeClass("sfsS"),i.$containerParent.removeClass("sfs-oh")}),i.$(".sfs-e-t").off(),"t"!=w.environment.filters_position||w.context.low_screen_display()||i.$(".sfs-e-t").on("click",function(){w.filters.close_filters(),i.$("#sfs-e-ow").removeClass("sfs-e-f-t")}),i.$container.find(".sfs-e-b").off(),w.context.low_screen_display()||"t"!=w.environment.filters_position||i.$container.find(".sfs-e-b").mouseleave(function(t){var e=setTimeout(function(){i.close_events()},300);i.$(t.target).mouseenter(function(){clearTimeout(e)})}),i.$(".sfs-e-v").off(),i.$(".sfs-e-v").on("click",function(){var t=i.$(this),e=t.attr("data-sfsslid");if(t.hasClass("sfs-elected"))w.scopes.list.splice(e,1),w.scopes.build(),i.$("#sfsmc").removeClass("sfs-e-ve"),i.$("#sfs-e-ow-m").removeClass("sfsS"),w.actions.store("Unscope","Event"),0',o+='
      ',o+='
      ',o+="
      ",o+='
      ',o+='
      '+n.config[s].display.title+"
      ",o+='
      ',o+=" "+n.config[s].display.description,o+="
      ",o+='
      ',o+='
      '+w.environment.labels.content.txtVLP+"
      ",o+="
      ",o+="",(c'+u.content+""}r='
      '+w.environment.labels.content.btnEvent+'
      '+w.environment.labels.content.btnEvent+'
      '+w.environment.labels.content.btnEvent+"
      "+r+"
      ",a='
      '+w.environment.labels.content.btnEvent+'
      '+a+"
      ",n.$containerLazy.html(a),n.$containerLazy.find(".sfs-e-v").addClass("sfs-hover")}else n.$("#sfs-f-h-tb").removeClass("sfs-f-h-sl");if(""==i)if(n.elected={},1==t.length&&(t[0].productCount||t[0].productsCount)==w.interactionManager.get_products_count()){var d=t[0].id||t[0].tag;n.autoApplied={id:d}}else n.autoApplied={};else n.elected={id:i};t.length>n.maxItems&&"l"==w.environment.filters_position&&(e='
      '+w.environment.labels.content.f_b_mfv[1].replace("$1",""+t.length+"").replace("$2",w.environment.labels.content.r_t_ito[2])+"
      "),""!=r?(n.$container.html("
      "+r+e+"
      "),n.buildActions()):n.$container.html("");var p=n.elected.id,f=n.autoApplied.id;if(!w.brandedSpotlights.elected.id||0'):n.$("#sfs-p-sl-l").addClass("sfs-e-large").html('
      '+n.config[h].display.description+"
      ")}else n.undraw()}if(p&&n.$('[data-sfsslid="'+p+'"]').addClass("sfs-elected"),void 0!==p&&(l=y.grep(l,function(t){return t!=p})),0'+w.environment.labels.content.eventView[0]+'
      ':1'+w.environment.labels.content.eventView[2].replace("$1",e.productsCount)+'
      ':c+='
      '+w.environment.labels.content.eventView[1]+'
      ';var l="";return"pinned"==this.getPromotion(t)&&(l=" sfs-event--pinned"),n&&(l+=" sfs-elected"),i+'
      '+o+'
      '+a+c+"
      "},t.prototype.set_actions=function(r,o){var a=this,t=w.interactionManager.getOrigin(r).container;y(t+" .sfs-event").on("click",function(){var t=y(this).attr("data-sfs-idx");if(null==(e=y(this).parents("[id^=sfsabc]").attr("data-idx")))var e=y(this).parents('[class*="__column"]').attr("data-idx");var s=b.getItems(a.promote)[t];Array.isArray(o)&&(s=o[t]);var n=s?s.tag||s.id:void 0;if(void 0!==n){var i=w.eventSpotlights.get_title(n);w.interactionManager.trace_click(e,n,r),w.interactionManager.add_scope("eventSpotlight",n,i,!1,r)}else w.debug.log("["+r+"][EventSpotlight] onClick unknown spotlights")})},t.prototype.openSpotlightsLayer=function(){if(this.mSpotlightsOpened=!0,w.backtotop.disable(),this.$("#sfsmc").addClass("sfs-e-ve"),this.$("#sfs-f-h-tbin").scrollLeft(0),void 0!==this.traces.event&&void 0===this.traces.viewed.all){this.traces.viewed.all=!0;var t=this.traces.event;w.interactionManager.update_trace(t,!0,"view")}},t.prototype.closeSpotlightsLayer=function(){this.mSpotlightsOpened=!1,w.backtotop.enable(),this.$("#sfsmc").removeClass("sfs-e-ve")},t.prototype.undraw=function(){var t=this;w.layer.$container.removeClass("sfs-sl sfs-sl-hl sfs-sl-ex"),setTimeout(function(){t.$("#sfs-sl-bk").css({height:0,"background-image":"none"})})},t.prototype.destroy=function(){this.$container.html(""),this.elected={},this.$("#sfs-f-h-tb").removeClass("sfsS"),this.$("#sfsmc").removeClass("sfs-e-ve"),this.undraw()},t}),module.define("spotlights/Manager",["globals"],function(d){function t(){}return t.prototype.analyse=function(t){function e(t,e){return 1==t.applied?-1:s(t,e)}function s(t,e){var s=t.score,n=e.score;return s div")):n.filters.open_filter(s(".sfs-f-cont > div:nth-of-type(n+"+e+")"))))},e.prototype.destroy=function(){n.topbar.destroy()},e}),module.define("topbar/TopBar",["jquery","globals"],function(e,x){function t(){this.$container,this.$infoContainer,this.filtersLimit}return t.prototype.set_dom_obj=function(){this.$container=e(".sfs-topbar"),this.$infoContainer=e(".sfs-topinfo")},t.prototype.get_html_structure=function(){return'
      '},t.prototype.populateSorting=function(){},t.prototype.build_html_content=function(){var a=this;switch(x.context.get_responsive_step().step){case 4:case 3:a.filtersLimit=3;break;case 2:a.filtersLimit=2;break;case 1:a.filtersLimit=1;break;default:a.filtersLimit=0}var t=0,e="",c=x.interactionManager.get_response_structure();switch(c.type){case"products":e=1<(t=c.products)?x.environment.labels.content.txtAlHdr[2]:x.environment.labels.content.txtAlHdr[1];break;case"contents":e=1<(t=c.contents.total)?x.environment.labels.content.contentView[2]:x.environment.labels.content.contentView[1];break;default:e=1<(t=x.interactionManager.get_products_count())?x.environment.labels.content.txtAlHdr[2]:x.environment.labels.content.txtAlHdr[1]}var l="",s="";if(0',l+=" "+t+" "+e,l+="",0'+x.environment.labels.content.btnEvent+""}var u=0,d=x.interactionManager.get_topbar_filters();if(l+='
      ',d.filters.forEach(function(t,e){if(e";l+='
      '+n+"
      "}(e>a.filtersLimit||e==a.filtersLimit&&d.filters.length>a.filtersLimit+1)&&d.afilters&&void 0!==d.afilters.list[t.n]&&(u+=d.afilters.list[t.n].length)}),d.filters.length>a.filtersLimit+1){var i="",r=x.environment.labels.content.topPlus,o="";0'+r+o+"
      "}var p="";void 0!==d.afilters&&0!=Object.keys(d.afilters.list).length||(p=" sfs-topbar__filter-remove--hidden"),l+='
      '+x.environment.labels.content.topClear+'
      ',l+="";var f=x.interactionManager.get_current_sorting(),h=x.environment.labels.content.o_b_mob[1],_="";f!=x.environment.labels.content.o_t_stv[1]&&(_=" sfs-topbar__sorting--active");var g=c.products<=x.layer.items_perLine;"contents"!=c.type&&!g||(_=" sfs-vhidden"),l+='
      '+h+"
      ";var v="",m=x.interactionManager.get_terms();if(m.spellchecked){v=" sfs-invalid--after";var y=m.terms_processed,b=x.environment.labels.content.r_b_bps[1]+" '"+m.terms_origin+"'";y='\''+m.terms_processed.toProperCase()+"'",s+='
      '+x.environment.labels.content.topSearch+" "+y+x.environment.labels.content.g_colon[1]+'
      '+b+"
      "}if(0
      '+x.environment.labels.content.topInvalid+x.environment.labels.content.g_colon[1]+"
      ",Object.keys(d.afilters.list_invalid).forEach(function(e){d.afilters.list_invalid[e].forEach(function(t){s+='
      '+t+'
      '})}),s+=""),x.interactionManager.get_response_structure().scopeRemoved){var w="",k=x.scopes?x.scopes.html_contentHeader:"";w+='
      '+x.environment.labels.content.r_t_oos[1]+" "+k+".
      "+x.environment.labels.content.r_t_oos_rs[1]+'
      ok
      ',s+=w}}this.$container.html(l),this.$infoContainer.html(s)},t.prototype.init_actions=function(){e(".sfs-topbar__filter").on("click",function(){var t=e(this).data("sfsfbn");x.interactionManager.TopBar.openFilter(t)}),e(".sfs-topbar__filter-remove").on("click",function(){x.interactionManager.remove_filters()}),e(".sfs-topbar__events").on("click",function(){x.interactionManager.TopBar.toggleSpotlightsLayer()}),e("#sfs-e-l-bt").click(function(){x.interactionManager.TopBar.toggleSpotlightsLayer()}),e("#sfs-e-ow-c").click(function(t){t.target==this&&x.interactionManager.TopBar.toggleSpotlightsLayer()}),e(".sfs-topbar__sorting").on("click",function(){x.interactionManager.TopBar.updateSortings()}),e(".sfs-invalid__value").on("click",function(){x.interactionManager.remove_filter(e(this).data("sfsfn"),e(this).data("sfsfv"))}),e(".sfs-spellcheck__button").on("click",function(){x.interactionManager.remove_spellcheck()}),e("div.sfs-spn-rmb-bv").on("click",function(){x.scopes.destroy(),x.scopes.build(),e("div.sfs-spn-rmb").remove(),x.layer.contentStuckHeight()})},t.prototype.destroy=function(){this.$container.html(""),this.$infoContainer.html("")},t}),module.define("tracker/Manager",["tracker/Trace","jquery","tools/utils","globals"],function(_,g,r,v){function t(){this.events_store=[]}return t.prototype.clean=function(){this.events_store=[]},t.prototype.send=function(){if(0!=this.events_store.length){var t={events:this.events_store},e=v.interactionManager.get_trace_usertracks();g.extend(t,e),v.interactionManager.send_trace(t),this.clean()}},t.prototype.new_trace=function(t,e,s,n,i,r,o,a,c,l,u,d,p){var f=new _(t,e,s,n,i,r,o,a,c,l,u,d),h=v.interactionManager.get_trace_keys();return g.extend(f,h),this.events_store.push(f),p&&this.send(),f},t.prototype.update_trace=function(t,e,s,n){var i=r.cpObj(t);void 0!==s&&(i.type=[s]),void 0!==n&&(i.elements=n),i.datetime=new Date,this.events_store.push(i),e&&this.send()},t.prototype.is_element_inviewport=function(t){var e=t.getBoundingClientRect(),s=.15*e.height,n=.15*e.width;return 0<=e.top+s&&0<=e.left+n&&e.bottom-s<=(window.innerHeight||document.documentElement.clientHeight)&&e.right-n<=(window.innerWidth||document.documentElement.clientWidth)&&0 "),e.retro?e.retro=e.retro+1:e.retro=1;var l=o[o.length-(1+e.retro)];l?(e.name=l+" "+e.name,a=!0):c=!0}return!c&&(!a||d.call(this,t))}return!0}if(null!=t.universPages){var i=t.universPages.parts||[];this.sameUniverse=i.length<=1;for(var r=0;r'+s+"("+t.foundProductCount+')
      '}),n},t.prototype.render=function(t){var n="",e=this.all,s=this.count;return t.onlyInteresting&&(e=this.interesting_pages,s=this.interesting_pages.length),0==s||e.forEach(function(t,e){var s=g.interactionManager.get_pages_imageLink(t);n+='
      '+t.name+'('+(t.foundProductCount||t.productCount)+")"+(t.name==t.universe||this.sameUniverse?"":'
      '+t.universe+"
      ")+'
      '}.bind(this)),n},t.prototype.getTreesHtml=function(t,e){var s={displayImage:!0,onlyInteresting:t||!1};return this.render(s)},t.prototype.set_insert_actions=function(){var n=this;r(".sfs-insert__trees .sfs-page").on("click",function(){var t=r(this).attr("data-sfs-idx"),e=n.all[t],s=e.universe==e.name?"":e.name;g.interactionManager.add_scope(e.type,{level:e.level,name:s,type:e.type,path:e.path},e.universe,!1,"Insert")})},t.prototype.set_universes_actions=function(s){var n=this;r(".sfs-universe").on("click",function(){var t=r(this).attr("data-sfs-idx"),e=n.universes[t];g.interactionManager.add_scope("suggested",{level:e.level,name:"",type:"suggested",path:e.path},e.universe,!1,s)})},t.prototype.set_suggested_actions=function(n){var i=this;r(".sfs-page").on("click",function(){var t=r(this).attr("data-sfs-idx"),e=i.interesting_pages[t],s=e.universe==e.name?"":e.name;g.interactionManager.add_scope(e.type,{level:e.level,name:s,type:e.type,path:e.path},e.universe,!1,n)})},t}),module.define("voice/AjaxStream",["tools/Stream","jquery","tools/async","globals"],function(o,a,c,l){function t(t,e){o.call(this),this.options={url:t.url,sampleRate:t.sampleRate||44100,encoding:t.encoding||"LINEAR16"},this.chunkId=0,this.responseId=-1,this.queryBuilder=e,this.error=!1,this.started=!1,this.killed=!1,this.queue=new c.Queue(function(t,e){this.sendData(t.data,t.isLast,e)}.bind(this),4)}return((t.prototype=Object.create(o.prototype)).constructor=t).prototype.init=function(s){if(this.killed)return setTimeout(function(){s("Killed")},0);var n=this.queryBuilder.buildInit({sampleRate:this.options.sampleRate,encoding:this.options.encoding});this.chunkId=0,c.timeout(2500,function(t){c.retry({times:2,delay:100},function(e){l.debug.log("Send init",n),a.ajax({url:this.options.url,type:"POST",crossDomain:!0,data:JSON.stringify(n),contentType:"application/x-www-form-urlencoded",success:function(t){e(null,t)},error:function(t){e(t)}})}.bind(this),t)}.bind(this),function(t,e){return null!=t?(this.error=!0,s(t)):(l.debug.log("AjaxStream init response",e),"OK"!==e.code?(this.error=!0,s(e.error)):(this.started=!0,this.streamId=e.data.voiceOutput.id,this.debug=e.data.voiceOutput.debug||!1,void s(null)))}.bind(this))},t.prototype.write=function(t){this.queue.push({data:t,isLast:!1})},t.prototype.sendData=function(t,n,i){if(!this.error&&this.started){var e,r=this.chunkId;e=n?this.queryBuilder.buildEnd({id:this.streamId,chunkId:r}):(this.chunkId++,this.queryBuilder.buildChunk({id:this.streamId,chunkId:r,chunk:t})),c.timeout(n?4e3:2e3,function(s){l.debug.log("Send",n?"end":"stream chunk "+r,e),a.ajax({url:this.options.url,type:"POST",crossDomain:!0,data:JSON.stringify(e),contentType:"application/x-www-form-urlencoded",success:function(t){s(null,t)},error:function(t,e){s(e)}})}.bind(this),function(t,e){var s=t||("NOK"===e.code?e.error:null);null!=s?n&&this.trigger("error",s,r):this.responseId>8&255,r=255&t[n];e+=String.fromCharCode(r),e+=String.fromCharCode(i)}return window.btoa(e)},t.prototype.sendDebugData=function(t,s){if(-1!=this.streamId){var n=this.chunkId,e={id:this.streamId,chunkId:n};s||(this.chunkId++,e.chunk=this.bufferToBase64(this.convertoFloat32ToInt16(t))),o.timeout(5e3,function(s){r.ajax({url:a.is.nativeVoiceApiUrl+"/voice/record/"+a.is.siteUUID,type:"POST",crossDomain:!0,data:JSON.stringify(e),contentType:"application/x-www-form-urlencoded",success:function(t){s(null,t)},error:function(t,e){s(e)}})}.bind(this),function(t,e){null!=t?a.debug.log("Debug recorder error",n,t):"OK"!==e.code&&a.debug.log("Debug recorder error",n,e.error),s&&i.prototype.end.call(this)}.bind(this))}},t.prototype.write=function(t){this.sendDebugData(t)},t.prototype.end=function(){this.sendDebugData(null,!0),setTimeout(function(){i.prototype.end.call(this)}.bind(this),0)},t}),module.define("voice/DownsamplerStream",["tools/Stream"],function(e){function t(t){e.call(this),"object"!=typeof t&&(t={}),this.options={inSampleRate:t.inSampleRate||44100,outSampleRate:t.outSampleRate||44100}}return((t.prototype=Object.create(e.prototype)).constructor=t).prototype.write=function(t){this.options.inSampleRate>this.options.outSampleRate&&(t=this.downsample(t)),this.trigger("data",t)},t.prototype.downsample=function(t){var e=t.length*(this.options.outSampleRate/this.options.inSampleRate),s=new Float32Array(e),n=(t.length-1)/(e-1);s.set([t[0]],0);for(var i=1;i> onerror",t),"no-speech"==t.error)return this.finalTranscript="";this.error(n.googleError(t))}.bind(this),this.recognition.onspeechstart=function(){this.trigger("speak:start")}.bind(this),this.recognition.onspeechend=function(){this.trigger("speak:stop")}.bind(this),this.recognition.onend=function(){this.stop(r)}.bind(this)},a.prototype.start=function(){this.isInitialised()||this.init(),this.recognition.start(),this.recognition.onaudiostart=function(){o.debug.log("audio start"),this.waitUserStartSpeeking(!0),s.prototype.start.call(this)}.bind(this)},a.prototype.stop=function(t){this.recognition.stop(),o.debug.log("Voice listener stop"),s.prototype.stop.call(this),o.interactionManager.Voice.user_stopsToSpeak(t)},a.prototype.kill=function(t){null!=this.voiceTranscriptionDisplay&&this.voiceTranscriptionDisplay.kill(),s.prototype.kill.call(this,t)},a.prototype.askNative=function(){if(!this.isKilled()){this.voiceQueryBuilder=new i;var t=this.voiceQueryBuilder.buildQuery(this.response.data.voiceOutput);r.timeout(5e3,function(s){e.ajax({url:o.is.nativeVoiceApiUrl+"/searchf/"+o.is.siteUUID,type:"POST",crossDomain:!0,data:JSON.stringify(t),contentType:"application/x-www-form-urlencoded",success:function(t){s(null,t)},error:function(t,e){s(e)}})}.bind(this),function(t,e){var s=t||("NOK"===e.code?e.error:null);if(null!=s)return o.debug.log("NATIVE ERROR",s),this.error(n.nativeApi(s));this.voiceTranscriptionDisplay.write(e),this.voiceTranscriptionDisplay.end()}.bind(this))}},a}),module.define("voice/InteractionManager",["voice/VoiceListenerFactory","globals"],function(t,s){function e(){this.mic_position_horizontal="right",this.voiceListener}return e.prototype.place_vcl_opener=function(){s.interactionManager.SearchInputsManager.SearchInputs.Voice.place_vcl_opener(this.mic_position_horizontal)},e.prototype.render_voice_stream=function(t,e){""!=t.data.voiceOutput.transcription&&(s.interactionManager.SearchInputsManager.SearchInputs.Voice.user_speaking||s.interactionManager.SearchInputsManager.SearchInputs.Voice.user_start_speaking()),s.interactionManager.SearchInputsManager.SearchInputs.Voice.render_voice_stream(t,e)},e.prototype.prepare_layer_before_speech=function(){s.acp&&s.acp.destroy(!0),s.scopes&&s.scopes.destroy(),s.afilters&&s.afilters.destroy(),s.interactionManager.set_layer_activesearch()},e.prototype.user_wantsToSpeak=function(){this.voiceListener=t.create(),this.voiceListener.on("volume:change",function(t){this.trigger("volume:change",t)},this.voiceListener),this.voiceListener.on("listening",function(){s.interactionManager.SearchInputsManager.SearchInputs.Voice.mic_toggle(!0)},this.voiceListener),this.voiceListener.start()},e.prototype.user_wantsToStopSpeak=function(){s.interactionManager.set_layer_inactivesearch(),this.voiceListener&&(this.voiceListener.userKill(),this.voiceListener.off("volume:change",void 0,this),this.voiceListener.off("listening",void 0,this))},e.prototype.user_stopsToSpeak=function(t){s.interactionManager.SearchInputsManager.SearchInputs.Voice.user_stopsToSpeak(t)},e.prototype.voice_error=function(t){s.interactionManager.SearchInputsManager.SearchInputs.Voice.ask_question("error",t),s.interactionManager.SearchInputsManager.SearchInputs.Voice.emergency_stop()},e}),module.define("voice/Linear16PCMEncoderStream",["tools/Stream"],function(t){function e(){t.call(this)}return((e.prototype=Object.create(t.prototype)).constructor=e).prototype.write=function(t){this.trigger("data",this.convertoFloat32ToInt16(t))},e.prototype.convertoFloat32ToInt16=function(t){for(var e=t.length,s=new Int16Array(e);e--;)s[e]=32767*t[e];return s},e}),module.define("voice/LowPassIIFStream",["tools/Stream"],function(e){function t(t){e.call(this),"object"!=typeof t&&(t={}),this.options={sampleRate:t.sampleRate||44100,cutOffFrequency:t.cutOffFrequency||2e4},this.lastOutput=0,this.alpha1=this.options.sampleRate/(this.options.sampleRate+1/(2*Math.PI*this.options.cutOffFrequency)),this.alpha2=1-this.alpha1}return((t.prototype=Object.create(e.prototype)).constructor=t).prototype.write=function(t){this.trigger("data",this.filter(t))},t.prototype.filter=function(t){var s=new Float32Array(t.length);return t.forEach(function(t,e){s.set([this.filterSample(t)],e)},this),s},t.prototype.filterSample=function(t){return this.lastOutput=this.alpha1*t+this.alpha2*this.lastOutput,this.lastOutput},t}),module.define("voice/MicrophoneStream",["tools/Stream","globals"],function(e,t){function s(t){e.call(this),"object"!=typeof t&&(t={}),this.options={bufferSize:t.bufferSize||0},this.listening=!1,this.stoped=!1,this.constraints={audio:!0,video:!1},this.mediaStream=null,this.audioContext=new window.AudioContext,this.recorder=this.audioContext.createScriptProcessor(this.options.bufferSize,1,1),this.streamId=-1,this.chunkId=0}return((s.prototype=Object.create(e.prototype)).constructor=s).prototype.init=function(e){navigator.mediaDevices.getUserMedia(this.constraints).then(function(t){this.mediaStream=t,this.stoped?this.mediaStream.getAudioTracks()[0].stop():this.input=this.audioContext.createMediaStreamSource(this.mediaStream),setTimeout(function(){e(this.stoped||null)}.bind(this),0)}.bind(this)).catch(e)},s.prototype.getAudioContext=function(){return this.audioContext},s.prototype.getMediaStream=function(){return this.mediaStream},s.prototype.getSampleRate=function(){return this.audioContext.sampleRate},s.prototype.listen=function(){t.debug.log("Microphone listening",!this.stoped),this.stoped?null!=this.mediaStream&&this.mediaStream.getAudioTracks()[0].stop():(this.recorder.connect(this.audioContext.destination),this.input.connect(this.recorder),this.recorder.onaudioprocess=this.processing.bind(this),this.listening=!0)},s.prototype.isListening=function(){return this.listening},s.prototype.end=function(){t.debug.log("Microphone stop"),this.listening&&(this.input.disconnect(this.recorder),this.recorder.disconnect(this.audioContext.destination),this.audioContext.close()),this.listening=!1,this.stoped=!0,setTimeout(function(){e.prototype.end.call(this)}.bind(this),0),null!=this.mediaStream&&this.mediaStream.getAudioTracks()[0].stop()},s.prototype.processing=function(t){var e=t.inputBuffer.getChannelData(0);this.trigger("data",new Float32Array(e))},s}),module.define("voice/MuLawEncoderStream",["tools/Stream"],function(t){function e(){t.call(this)}return((e.prototype=Object.create(t.prototype)).constructor=e).prototype.write=function(t){this.trigger("data",this.encode(t))},e.prototype.encode=function(t){for(var e=t.length,s=new Uint8Array(e),n=0;n>8&128;0!=e&&(t=~t),32767<(t+=132)&&(t=32767);for(var s=7,n=16384;(t&n)!=n&&1<=s;)n>>=1,s--;return 255&~(e|s<<4|t>>s+3&15)},e}),module.define("voice/RecorderStream",["tools/Stream","globals"],function(e,t){function s(t){e.call(this),"object"!=typeof t&&(t={}),this.options={memBufferSize:t.memBufferSize||0},this.recording=!1,this.memBuffer=[]}return((s.prototype=Object.create(e.prototype)).constructor=s).prototype.record=function(){t.debug.log("Redorder recording"),0this.options.memBufferSize&&this.memBuffer.splice(0,this.memBuffer.length-this.options.memBufferSize))},s.prototype.end=function(){this.recording=!1,setTimeout(function(){e.prototype.end.call(this)}.bind(this),0)},s}),module.define("voice/SearchInputs",["jquery","globals"],function(l,u){function t(t){this.parent=t,this.opener_placed=!1,this.$vcl_opener,this.$mic_opener,this.$mic_input,this.mic_listening=!1,this.user_speaking=!1,this.user_hasspoken=null,this.user_notified=!0,this.last_listening_ended=!0,this.vocalPopinClosed=!1,(window.g_fc5ad4177b7f4a52a511540dceca6dc2.getLayerUserState()||{}).vocalPopinClosed&&(this.vocalPopinClosed=!0),this.voice_stream_last="",this.TO_speech_preparing,this.TO_mic_opening,this.TO_result_building,this.TO_mic_closing,this.TO_mic_waiting;var e='
      ',s='
      ';this.oups_tab=[u.environment.labels.content.houston.replace("$1",e).replace("$2",s),u.environment.labels.content.repeatQuestion.replace("$1",e).replace("$2",s)],this.notspoken_tab=[u.environment.labels.content.saidSomething.replace("$1",e).replace("$2",s)],this.empty_tab=[u.environment.labels.content.catIsACat.replace("$1",e).replace("$2",s),u.environment.labels.content.sorry.replace("$1",e).replace("$2",s)],this.analyse_tab=[u.environment.labels.content.IMWorking.replace("$1",e).replace("$2","")],this.error_default=u.environment.labels.content.oups.replace("$1",e).replace("$2",s),this.error_tab={0:u.environment.labels.content.cantUseMic.replace("$1",e).replace("$2",s),1:u.environment.labels.content.technicalOups.replace("$1",e).replace("$2",s),2:u.environment.labels.content.inactiveMic.replace("$1",e).replace("$2",s),3:u.environment.labels.content.saidSomething.replace("$1",e).replace("$2",s),4:u.environment.labels.content.tooLongDemand.replace("$1",e).replace("$2",s),5:u.environment.labels.content.zut.replace("$1",e).replace("$2",s),6:u.environment.labels.content.takeOnlyOneQuestion.replace("$1",e).replace("$2",s),7:u.environment.labels.content.speakLouder.replace("$1",e).replace("$2",'
      ').replace("$3",s),8:u.environment.labels.content.speakMoreQuietly.replace("$1",e).replace("$2",'
      ').replace("$3",s)},this.html_wave='
      '}return t.prototype.set_dom_obj=function(){this.$vcl_opener=l(".sfs-vcl"),this.$mic_opener=l(".sfs-hdr__mic"),this.$mic_input=l(".sfs-box__vcl"),this.$vcl_hdr=l(".sfs-hdr"),this.init_actions()},t.prototype.init_actions=function(){var t=this;t.$vcl_opener.off(),t.$vcl_opener.on("click",function(){t.user_wantsToSpeak(),u.layer.toggleVisibility(!0,!0)}),t.$mic_opener.off(),t.$mic_opener.on("click tap",function(){t.mic_listening?t.user_wantsToStopSpeak():(u.interactionManager.clean_results(),t.user_wantsToSpeak())}),t.$mic_input.off(),t.$mic_input.on("click tap",function(){t.user_wantsToStopSpeak(),t.box_setText(l(this).find(".sfs-box__vcl-txt").text())}),t.$vcl_hdr.off(),t.$vcl_hdr.on("click tap",".sfs-hdr__reassu-button, .sfs-hdr__reassu-close",function(){t.close_reassu()})},t.prototype.place_vcl_opener=function(t){if(!this.opener_placed){var s,e=u.interactionManager.get_searchZoneSelector(),n=l(e),i={};if(l.each(n,function(t,e){e.offsetParent&&(s=n[t],i=n[t].getBoundingClientRect())}),i.height){var r=t,o=(i.height-48)/2,a="auto",c="auto";switch(r){case"left":a=32,c="auto";break;case"right":a="auto",c=32}this.opener_placed=!0,l(".sfs-vcl").insertAfter(s).css({left:a,top:o,right:c}).removeClass("sfs-dnone")}}},t.prototype.close_reassu=function(){l(".sfs-hdr__reassu").remove(),this.vocalPopinClosed=!0,window.g_fc5ad4177b7f4a52a511540dceca6dc2.updateLayerUserState({vocalPopinClosed:!0}),this.user_wantsToSpeak()},t.prototype.show_reassu=function(t){this.$vcl_hdr.prepend(t),this.$vcl_hdr.addClass("sfs-hdr--vcl sfs-hdr--vcl-asking")},t.prototype.build_reassu=function(){var t='
      ';return t+='
      ',t+='
      ',t+='
      ',t+='
      '+u.environment.labels.content.rsuTtl+"
      ",t+="
      ",t+='
      '+u.environment.labels.content.rsuSub+"
      ",t+='
      '+u.environment.labels.content.rsuTxt1+"
      ",t+='
      '+u.environment.labels.content.rsuTxt2+"
      ",t+='
      '+u.environment.labels.content.rsuTxt3+"
      ",(t+='
      '+u.environment.labels.content.rsuBtn+"
      ")+"
      "},t.prototype.show_question=function(t){var e=this;e.$mic_input.find(".sfs-box__vcl-question").addClass("sfs-box__vcl-question--remove"),setTimeout(function(){e.$mic_input.html(t)},150)},t.prototype.build_question=function(t,e){var s='
      '+t+"
      ";return e&&(s+='
      '+this.html_wave+"
      "),s+"
      "},t.prototype.ask_question=function(t,e){var s=this,n="",i="";if(!s.user_notified)switch(t){case"start":i=u.environment.labels.content.textStartVoice,n=s.build_question(i,!0),s.show_question(n);break;case"userHasNotSpoken":i=s.notspoken_tab[Math.floor(Math.random()*(s.notspoken_tab.length-1-1+1))],n=s.build_question(i),s.show_question(n),s.user_notified=!0;break;case"empty":i=s.empty_tab[Math.floor(Math.random()*(s.empty_tab.length-1-1+1))],n=s.build_question(i),s.show_question(n),s.user_notified=!0;break;case"analyse":i=s.analyse_tab[Math.floor(Math.random()*(s.analyse_tab.length-1-1+1))],n=s.build_question(i,!0),s.show_question(n);break;case"error":i=s.error_tab[e]?s.error_tab[e]:s.error_default,n=s.build_question(i),s.show_question(n)}},t.prototype.user_wantsToStopSpeak=function(){this.mic_toggle(!1,!0),this.parent.box_mode("input",!0),this.last_listening_ended=!0,this.user_notified=!0,this.user_speaking=!1,this.user_hasspoken=null,this.voice_stream_last="",u.interactionManager.Voice.user_wantsToStopSpeak()},t.prototype.emergency_stop=function(){this.last_listening_ended=!0,this.user_speaking=!1,this.user_hasspoken=null,this.voice_stream_last="",this.mic_toggle(!1)},t.prototype.user_wantsToSpeak=function(){var t=this;if(t.vocalPopinClosed)t.last_listening_ended&&(t.parent.box_mode("voice",!1),t.parent.$hdr.addClass("sfs-hdr--vcl-preparing"),u.interactionManager.Voice.prepare_layer_before_speech(),t.last_listening_ended=!1,t.user_notified=!1,t.user_speaking=!1,t.user_hasspoken=null,t.voice_stream_last="",t.waiting_voice_input(),t.TO_speech_preparing=setTimeout(function(){u.interactionManager.Voice.user_wantsToSpeak()},250));else{var e=t.build_reassu();t.show_reassu(e)}},t.prototype.box_setText=function(t){u.interactionManager.set_box_val(t),u.interactionManager.set_terms_typed(t)},t.prototype.render_voice_stream=function(t,e){var s=this,n=t.data.voiceOutput.transcription;s.voice_stream_last!=n&&0'+n+"
      "),s.voice_stream_last=n,u.boxes.term=n,u.boxes.term_brut=n),e&&(s.TO_result_building=setTimeout(function(){s.last_listening_ended=!0,null==s.user_hasspoken||s.user_hasspoken?0==s.voice_stream_last.length?s.ask_question("empty"):(s.parent.$hdr.removeClass("sfs-hdr--vcl-asking"),s.box_setText(n),s.parent.box_mode("input",!1),u.interactionManager.analyse_response(t)):s.ask_question("userHasNotSpoken")},700))},t.prototype.mic_toggle=function(t,e){t?(this.mic_on(e),this.mic_listening=!0):(this.mic_off(e),this.mic_listening=!1)},t.prototype.mic_on=function(){var t=this;t.TO_mic_closing&&clearTimeout(t.TO_mic_closing),t.TO_mic_waiting&&clearTimeout(t.TO_mic_waiting),t.TO_mic_opening=setTimeout(function(){t.parent.$hdr.addClass("sfs-hdr--mic-open"),t.parent.$hdr.removeClass("sfs-hdr--vcl-preparing"),u.interactionManager.on("volume:change",function(t){var e=Math.floor(Math.exp(4*t/255)),s=t/255*.25;l(".sfs-mic__volume").css({top:"-"+e+"px",bottom:"-"+e+"px",left:"-"+e+"px",right:"-"+e+"px",opacity:s}),setTimeout(function(){l(".sfs-mic__volume").css({top:"-"+e/2+"px",bottom:"-"+e/2+"px",left:"-"+e/2+"px",right:"-"+e/2+"px",opacity:s})},100)}),t.ask_question("start")},250)},t.prototype.mic_off=function(t){var e=this,s=t?0:400;e.TO_mic_opening&&clearTimeout(e.TO_mic_opening),e.TO_result_building&&clearTimeout(e.TO_result_building),e.TO_mic_waiting&&clearTimeout(e.TO_mic_waiting),e.TO_speech_preparing&&clearTimeout(e.TO_speech_preparing),u.interactionManager.off("volume:change"),e.TO_mic_closing=setTimeout(function(){e.parent.$hdr.removeClass("sfs-hdr--mic-open"),e.parent.$hdr.removeClass("sfs-hdr--vcl-preparing"),l(".sfs-mic__volume").removeAttr("style")},s)},t.prototype.empty_voice_input=function(){this.$mic_input.html("")},t.prototype.waiting_voice_input=function(){this.$mic_input.html('
      ')},t.prototype.user_start_speaking=function(){this.user_speaking=!0,this.user_hasspoken=!0,this.$mic_input.find(".sfs-box__vcl-question-txt").remove()},t.prototype.user_stopsToSpeak=function(t){this.usr_speaking=!1,this.mic_toggle(!1),t?this.last_listening_ended||""!=this.voice_stream_last||this.ask_question("analyse"):this.user_hasspoken=!1,this.last_listening_ended=!0},t}),module.define("voice/VoiceDetector",["tools/Stream","globals"],function(e,n){function t(t){e.call(this),"object"!=typeof t&&(t={}),this.options={bufferSize:t.bufferSize||2048,sampleRate:t.sampleRate||44100,silenceTicks:t.silenceTicks||1,startTicks:t.startTicks||3,stopTicks:t.stopTicks||10,oneShoot:"boolean"!=typeof t.oneShoot||t.oneShoot,volumeTicks:t.volumeTicks||1,volumeMindB:t.volumeMindB||-70,volumeMaxdB:t.volumeMaxdB||-10},this.interval=1e3*this.options.bufferSize/this.options.sampleRate,this.reset()}return((t.prototype=Object.create(e.prototype)).constructor=t).prototype.reset=function(){this.isSpeaking=!1,this.speakingFrame=0,this.startCounter=0,this.stopCounter=0,this.silence={ste:0,zrmse:0,frame:0},this.voice={ste:0,zrmse:0,frame:0},this.featuresStats={frames:0,errors:0,ste:-100},this.volume={value:0,counter:0},this.isListening=!0,this.trigger("volume:change",0)},t.prototype.stop=function(){this.isListening&&(this.isListening=!1,this.isSpeaking=!1,n.debug.log("VoiceDetector : stoped","mean:",this.featuresStats.ste,"silence:",this.silence.ste,"voice:",this.voice.ste,"is off:",this.isMicrophoneOff(),"is low:",this.isVolumeLow(),"is high:",this.isVolumeHigh()))},t.prototype.write=function(t){this.analyze(t)},t.prototype.analyze=function(t){if(this.isListening){var e=this.getFeatures(t);if(++this.featuresStats.frames,this.featuresStats.ste=this.featuresStats.ste*(this.featuresStats.frames-1)/this.featuresStats.frames+(-1/0===e.ste?-100:e.ste)/this.featuresStats.frames,this.computeVolume(e.ste),-1/0!==e.ste&&!Number.isNaN(e.zrmse)&&1/0!==e.zrmse||(++this.featuresStats.errors,this.isSpeaking)){var s=this.speakingFrame*this.interval/15e3*.7+.3;this.isSpeaking?(e.zrmse<((1-s)*this.silence.zrmse+s*this.voice.zrmse)/2||-1/0===e.ste||Number.isNaN(e.zrmse)||1/0===e.zrmse?(++this.stopCounter,this.stopCounter>=this.options.stopTicks&&(this.isSpeaking=!1,this.trigger("speak:stop"),this.options.oneShoot&&this.stop())):(this.stopCounter=0,++this.voice.frame,this.voice.zrmse=this.voice.zrmse*(this.voice.frame-1)/this.voice.frame+e.zrmse/this.voice.frame,this.voice.ste=this.voice.ste*(this.voice.frame-1)/this.voice.frame+e.ste/this.voice.frame),++this.speakingFrame):this.silence.frame>this.options.silenceTicks&&(-60this.silence.ste+6&&e.zrmse>2*this.silence.zrmse||-10this.silence.ste+4&&e.zrmse>3*this.silence.zrmse)?(++this.startCounter,this.startCounter>=this.options.startTicks&&(this.isSpeaking=!0,this.trigger("speak:start"))):(this.startCounter=0,++this.silence.frame,this.silence.zrmse=this.silence.zrmse*(this.silence.frame-1)/this.silence.frame+e.zrmse/this.silence.frame,this.silence.ste=this.silence.ste*(this.silence.frame-1)/this.silence.frame+e.ste/this.silence.frame),n.debug.log(e,this.startCounter,this.stopCounter,this.silence,this.voice,this.featuresStats)}}},t.prototype.getFeatures=function(t){for(var e=0,s=Math.pow(t[0],2),n=1;n=this.options.volumeTicks&&(this.volume.counter=0,this.volume.value=0),++this.volume.counter,this.volume.value+=e/this.options.volumeTicks,this.volume.counter>=this.options.volumeTicks&&this.trigger("volume:change",Math.floor(this.volume.value))},t.prototype.isBugged=function(){return 0===this.featuresStats.frames},t.prototype.isMicrophoneOff=function(){return.5'+r.environment.labels.content.zr[1]+"
      ")),t=""==s?'
      '+n+"
      ":'
      '+n+"
      ",e+'
      '+r.environment.labels.content.zr[0]+".
      "+s+(""==s?t:"")+"
      "+(""!=s?t:"")},t.prototype.getLineHtml=function(t,e){return'
      '+((e=e||!1)?'
      ':"")+'
      '+t+"
      "+(e?'
      ':"")+"
      "},t.prototype.getColumnHtml=function(t,e,s){return'
      '+t+"
      "},t.prototype.getKeywordsHtml=function(n,t){var e="",i="";if(0
      '+t.display+(void 0!==t.missed_fields?'
      '+r.environment.labels.content.zr[7]+r.interactionManager.get_attribute_label(t.missed_fields[0],"plural")+"
      ":"")+'
      '+s+"
      "}else i+='
      '+t.display+'
      '}.bind(this)),""!=i)if("main"==n){e=i;var s=this.data.keywordsGroups[n].map(function(t){return t.search});0
      '}),s+='
      '},t.prototype.getEventSpotlightsHtml=function(t){var s="";return 0'+r.environment.labels.content.zr[6]+""+this.getLineHtml(this.getKeywordsHtml("others",t++)+("top"==this.data.keywords.type?"":this.getPagesHtml(t++))+("top"==this.data.keywords.type?"":this.getProductsHtml(t++))+this.getEventSpotlightsHtml(t++)+this.getBrandedSpotlightsHtml(t++),!0))),e},t.prototype.setActions=function(t,e){s(".sfs-oups__acps").on("click",function(){var t=s(this).find(".sfs-acp__proposition").first().attr("data-sfskts");r.interactionManager.trace_zero_results_keywords_click(t),r.interactionManager.removeAllScopes(),r.interactionManager.search(t,"Noresult","UseZRAcpProposition"),r.interactionManager.searchBoxFocus()}),r.interactionManager.set_suggested_actions(e),r.interactionManager.set_links_actions(e),r.interactionManager.set_branded_actions(e,t.spotlights.branded),r.interactionManager.set_events_actions(e,t.spotlights.event)},t}),module.define("zero-results/Model",["jquery","globals","promote/RulesManager"],function(o,c,a){function t(){}return t.prototype.stop=function(){null!=this._request&&4!=this._request.readyState&&(this._request.abort(),this._request=null)},t.prototype.getSuggests=function(t){var e=c.interactionManager.get_terms();return this.query(e,t).then(function(t){return this.analyze(t),this.getData()}.bind(this)).catch(function(t){throw new Error("Cannot get suggests")})},t.prototype.query=function(t,e){var i=Date.now(),s=i.toString()+"-0-ZRSuggestions",r={inputs:{terms:{expression:t.terms_processed||t.terms_origin},key:s,parentKey:c.query.key_parent,userIds:c.user.ids,sellerId:c.cpc_alt_b.sosID,trackFingerPrint:c.user.tfp},modules:{keywords:{size:5,type:e?"top":"suggests"},products:{size:3},productTypes:{size:5},spotlights:{size:5}}};return new Promise(function(e,s){var n=o.ajax({type:"POST",url:c.is.nativeApiUrl+"/search/suggestions/"+c.is.siteUUID,contentType:c.communication.get_ajax_ContentType(),data:JSON.stringify(r),success:function(t){n==this._request&&((this._request=null)==t||"OK"!=t.code?s("Cannot get suggests"):e(t.data,i))}.bind(this),error:function(t){n==this._request&&null!=t&&0!=t.readyState&&(this._request=null,s(t))}.bind(this)});this._request=n}.bind(this))},t.prototype.analyze=function(t){this.response=t,this.response.keywordsGroups=this.analyzeKeywords(t.keywords);for(var e=[],s=[],n=t.keywords.parts.map(function(t){return t.products.p.slice(0)});0"+t.omit.keyword+"",search:t.keywords,missed_fields:t.omit.attributes,products:t.products,score:t.score,group:t.group}):s.others.push({display:t.keywords,search:t.keywords,products:t.products,score:t.score,group:t.group}))}),0==s.main.length&&(s.omitToDisplay=!1,s.main=s.others,s.others=[]),s.others.forEach(function(t){s.main.push(t)}),s.others=[],s},t.prototype.analyzeProducts=function(t){c.interactionManager.products_storing("BYPASSKEY",t,"zr","products",4)},t.prototype.getData=function(){return this.response},t}),module.define("zero-results/Scrollers",["jquery"],function(i){function t(){}return t.prototype.init=function(){var n=this;i(".sfs-oups__line").each(function(){var t=i(this),e=t.parent();n.toggle(e,t),t.on("scroll",function(){n.toggle(e,t,!0)})}),i(".sfs-oups__scroller").on("click",function(){var t=i(this),e=t.parent(),s=e.children(".sfs-oups__line");n.animateScrollLeft(t,s,e)})},t.prototype.animateScrollLeft=function(t,e,s){var n=e.scrollLeft(),i=e[0].clientWidth-75,r=1;t.is("[class*=--left]")&&(r=-1);var o=n+i*r;0e[0].scrollWidth&&(o=e[0].scrollWidth):n-i<0&&(o=0),e.animate({scrollLeft:o},{queue:!1,duration:150})},t.prototype.toggle=function(t,e,s){var n=0;s&&(n=100);var i=!1;setTimeout(function(){e[0].scrollWidth>t[0].clientWidth&&t.children(".sfs-oups__scroller").removeClass("sfs-dnone"),e.scrollLeft()+t[0].clientWidth==e[0].scrollWidth?t.children(".sfs-oups__scroller--right").addClass("sfs-dnone"):i=!0,0==e.scrollLeft()?t.children(".sfs-oups__scroller--left").addClass("sfs-dnone"):i=!0,i&&t.addClass("sfs-oups__scroller--scroll")},n)},t}),module.define("zero-results/Manager",["jquery","zero-results/Model","zero-results/View","zero-results/Scrollers","globals"],function(t,e,r,o,s){function n(t){this.wrapperId=t,this.$wrapper,this.$container,this.origin="Suggester",this.lastRender=null,s.interactionManager.setOrigin(this.origin,"#"+this.wrapperId)}return n.prototype.getHtml=function(){return'
      '},n.prototype.setDom=function(){this.$wrapper=document.getElementById(this.wrapperId),this.$wrapper.innerHTML='
      ',this.$container=document.getElementById("sfs-oups")},n.prototype.render=function(){null!=this.model&&this.model.stop();var t=new r({partial:!0});this.$container.innerHTML=t.render(),this.$wrapper.classList.remove("sfsH"),s.backtotop&&s.backtotop.disable(),s.shortcuts&&s.shortcuts.destroy(),this._render()},n.prototype._render=function(i){this.model=new e,this.model.getSuggests(i).then(function(t,e){if(!(null!=this.lastRender&&this.lastRender>e)){if(this.lastRender=e,!i&&0==t.keywordsGroups.main.length)return this._render(!0);var s=new r(t),n=new o;this.traces=s.traces,this.$container.innerHTML=s.render(),n.init(),s.setActions(t,this.origin)}}.bind(this)).catch(function(t){s.debug.log(t);var e=new r({error:!0});this.$container.innerHTML=e.render()}.bind(this))},n.prototype.destroy=function(){this.$container.innerHTML="",this.$wrapper.classList.add("sfsH"),s.backtotop&&s.backtotop.enable()},n.prototype.getTrace=function(t){return this.traces[t]},n}),module.require(["zero-results/Manager","globals"],function(e,t){t.modulesManager.modules_activated.zeroResults={ModulesManager:{init:function(t){t.zeroResultsActive=!0}},InteractionManager:{init:function(t){t.zeroResults=new e("sfs-oups-g")}}}}),module.require(["associatedterms/Manager","globals"],function(e,s){s.modulesManager.modules_activated.associatedTerms={ModulesManager:{init:function(t){t.associatedTerms_active=s.environment.dynconfig.sassConfig.previewer_module_active&&s.environment.dynconfig.sassConfig.rowinsert_module_active}},InteractionManager:{init:function(t){t.AssociatedTerms=new e}}}}),module.require(["cart/Manager","cart/View","extensions","globals"],function(e,t,s,n){n.cartview=new t,n.modulesManager.modules_activated.cart={ModulesManager:{init:function(t){void 0===s||void 0===s.AddToCart_ByUrl&&void 0===s.AddToCart_ByFunction||("blocked"!=t.cart_active?t.cart_active=!0:t.cart_active=!1)}},InteractionManager:{init:function(t){t.Cart=new e}}}}),module.require(["contents/Manager","globals"],function(e,t){t.modulesManager.modules_activated.contents={ModulesManager:{init:function(t){t.contents_active=!0}},InteractionManager:{init:function(t){t.Contents=new e}}}}),module.require(["filters/View","filters/Manager","filters/SideBarView","globals"],function(t,e,s,n){n.filtersview=new t,n.sidebar=new s,n.modulesManager.modules_activated.filters={ModulesManager:{init:function(t){t.filters_active=!0}},InteractionManager:{init:function(t){t.Filters=new e}}}}),module.require(["history/Manager","globals"],function(e,t){t.modulesManager.modules_activated.historymanager={ModulesManager:{init:function(t){t.history_active=!0}},InteractionManager:{init:function(t){t.HistoryManager=new e}}}}),module.require(["is/Communication","globals"],function(t,e){e.communication=new t}),module.require(["links/Manager","globals"],function(e,s){s.modulesManager.modules_activated.links={ModulesManager:{init:function(t){t.links_active=s.environment.dynconfig.sassConfig.previewer_module_active&&s.environment.dynconfig.sassConfig.rowinsert_module_active}},InteractionManager:{init:function(t){t.Links=new e}}}}),module.require(["list/Manager","extensions","globals"],function(e,s,t){t.modulesManager.modules_activated.list={ModulesManager:{init:function(t){s&&s.AddToList_ByFunction&&(t.list_active="blocked"!=t.list_active)}},InteractionManager:{init:function(t){t.List=new e}}}}),module.require(["previewer/Manager","globals"],function(e,t){t.modulesManager.modules_activated.previewermanager={ModulesManager:{init:function(t){t.previewermanager_active=!0}},InteractionManager:{init:function(t){t.PreviewerManager=new e}}}}),module.require(["previewer/max/View","previewer/max/Previewer","globals"],function(t,e,s){s.previewerview=new t,s.modulesManager.modules_activated.previewer={ModulesManager:{init:function(t){t.previewer_active=!0}},PreviewerManager:{init:function(t){t.Previewer=new e}}}}),module.require(["products/Manager","products/ProductsView","products/Helper","products/VariantsManager","products/InteractionManager","globals"],function(t,e,s,n,i,r){r.productsmanager=new t,r.productsview=new e,r.producthelper=new s,r.variantsmanager=new n,r.modulesManager.modules_activated.products={ModulesManager:{init:function(t){t.products_active=!0}},InteractionManager:{init:function(t){t.Products=new i}}}}),module.require(["response/InteractionManager","globals"],function(e,t){t.modulesManager.modules_activated.response={ModulesManager:{init:function(t){t.response_active=!0}},InteractionManager:{init:function(t){t.Response=new e}}}}),module.require(["rows/InsertView","rows/Manager","rows/Booker","rows/InteractionManager","globals"],function(t,e,s,n,i){i.insertview=new t,i.rowsmanager=new e,i.rowsbooker=new s,i.modulesManager.modules_activated.rows={ModulesManager:{init:function(t){t.rows_active=i.environment.dynconfig.sassConfig.previewer_module_active&&i.environment.dynconfig.sassConfig.rowinsert_module_active}},InteractionManager:{init:function(t){t.Rows=new n}}}}),module.require(["searchinputs/Manager","globals"],function(e,t){t.modulesManager.modules_activated.searchinputsmanager={ModulesManager:{init:function(t){t.searchinputsmanager_active=!0}},InteractionManager:{init:function(t){t.SearchInputsManager=new e}}}}),module.require(["searchinputs/max/View","globals"],function(e,t){t.modulesManager.modules_activated.searchinputs={ModulesManager:{init:function(t){t.searchinputs_active=!0}},SearchInputsManager:{init:function(t){t.SearchInputs=new e}}}}),module.require(["spotlights/Manager","globals"],function(e,s){s.modulesManager.modules_activated.spotlights={ModulesManager:{init:function(t){t.spotlights_active=s.environment.dynconfig.sassConfig.previewer_module_active&&s.environment.dynconfig.sassConfig.rowinsert_module_active}},InteractionManager:{init:function(t){t.SpotlightsManager=new e}}}}),module.require(["terms/Manager","globals"],function(t,e){e.termsManager=new t}),module.require(["topbar/InteractionManager","globals"],function(e,s){s.modulesManager.modules_activated.topbar={ModulesManager:{init:function(t){t.topbar_active="bar"==s.environment.dynconfig.sassConfig.filterposition}},InteractionManager:{init:function(t){t.TopBar=new e}}}}),module.require(["tracker/Manager","globals"],function(e,t){t.modulesManager.modules_activated.tracking={ModulesManager:{init:function(t){t.tracker_active=!0}},InteractionManager:{init:function(t){t.Tracker=new e}}}}),module.require(["trees/Manager","globals"],function(e,s){s.modulesManager.modules_activated.trees={ModulesManager:{init:function(t){t.trees_active=s.environment.dynconfig.sassConfig.previewer_module_active&&s.environment.dynconfig.sassConfig.rowinsert_module_active}},InteractionManager:{init:function(t){t.Trees=new e}}}}),module.require(["voice/InteractionManager","voice/SearchInputs","globals"],function(e,s,n){n.modulesManager.modules_activated.voice={ModulesManager:{init:function(t){t.voice_active=n.environment.dynconfig.sassConfig["vocal-search"],t.mic_available=t.voice_active&&navigator&&navigator.mediaDevices&&navigator.mediaDevices.getUserMedia&&window.AudioContext}},InteractionManager:{init:function(t){t.Voice=new e}},SearchInputs:{init:function(t){t.Voice=new s(t)}}}}),module.get("is/ImmersiveSearch")}),module.require(["Tracking","ImmersiveSearch","jquery","tools/scripts/inject","globals"],function(t,e,s,n,i){var r=window.g_cbf19975f168298c0d10f1b5380ba931||{};if("object"!=typeof globalThis.sensefuel_a038457e){var o={nativeApiUrl:"https://na.search.sensefuel.live",nativeVoiceApiUrl:"https://voice.na.search.sensefuel.live",siteUUID:"be64e824-7125-4451-8190-4c98ee743f65",searchZoneSelector:r.searchZoneSelector||"input#search",fieldsMap:{fields:{brn:{labels:{single:"marque",plural:"marques"}},id:{labels:{single:"id article",plural:"ids articles"}},altprdctsbarbs:{labels:{single:"Sous-arborescences",plural:"Sous-arborescences"}},dscrptn:{labels:{single:"description article",plural:"descriptions articles"}},img:{labels:{single:"lien photo article",plural:"liens photos article"}},addilnk:{labels:{single:"image additionelle",plural:"images additionelles"}},variants:{labels:{single:"variations valides des caractéristiques article",plural:"variations valides des caractéristiques articles"}},cndt:{labels:{single:"etat produit",plural:"etats produit"}},isNew:{labels:{single:"nouveauté",plural:"nouveautés"}},avl:{labels:{single:"disponibilité article",plural:"disponibilités articles"}},ptyp:{labels:{single:"classification produit",plural:"classifications produit"}},isDsc:{labels:{single:"promotion",plural:"promotions"}},ttl:{labels:{single:"titre article",plural:"titres article"}},gid:{labels:{single:"id de regroupement des articles",plural:"ids de regroupement des articles"}},prc:{labels:{single:"prix",plural:"prix"}},sprc:{labels:{single:"prix",plural:"prix"}},prcn:{labels:{single:"prix",plural:"prix"}},pprcn:{labels:{single:"prix",plural:"prix"}},curr:{labels:{single:"prix",plural:"prix"}},lnk:{labels:{single:"lien fiche article",plural:"liens fiches articles"}},prt_dpth_1:{labels:{single:"Noeud 1 arborescence",plural:"Noeud 1 arborescence"}},prt_dpth_2:{labels:{single:"Noeud 2 arborescence",plural:"Noeud 2 arborescence"}},prt_dpth_3:{labels:{single:"Noeud 3 arborescence",plural:"Noeud 3 arborescence"}},prt_dpth_4:{labels:{single:"Noeud 4 arborescence",plural:"Noeud 4 arborescence"}},prt_dpth_5:{labels:{single:"Noeud 5 arborescence",plural:"Noeud 5 arborescence"}},hl_prt_dpth_1:{labels:{single:"Noeud 1 arborescence mis en avant",plural:"Noeud 1 arborescence mis en avant"}},hl_prt_dpth_2:{labels:{single:"Noeud 2 arborescence mis en avant",plural:"Noeud 2 arborescence mis en avant"}},hl_prt_dpth_3:{labels:{single:"Noeud 3 arborescence mis en avant",plural:"Noeud 3 arborescence mis en avant"}},hl_prt_dpth_4:{labels:{single:"Noeud 4 arborescence mis en avant",plural:"Noeud 4 arborescence mis en avant"}},c_delivery:{labels:{single:"Livraison",plural:"Livraison"}},c_drive:{labels:{single:"Drive",plural:"Drive"}},c_orderable_on_deposit:{labels:{single:"Attribut complémentaire orderable_on_deposit",plural:"Attributs complémentaires orderable_on_deposit"}},c_packaging_type:{labels:{single:"Attribut complémentaire packaging_type",plural:"Attributs complémentaires packaging_type"}},c_vat_percent:{labels:{single:"Attribut complémentaire vat_percent",plural:"Attributs complémentaires vat_percent"}},c_delivery_mode:{labels:{single:"Méthodes de livraison",plural:"Méthodes de livraison"}},c_packaging_quantity:{labels:{single:"Attribut complémentaire packaging_quantity",plural:"Attributs complémentaires packaging_quantity"}},c_review:{labels:{single:"Attribut complémentaire review",plural:"Attributs complémentaires review"}},hl_prt_dpth_5:{labels:{single:"Noeud 5 arborescence mis en avant",plural:"Noeud 5 arborescence mis en avant"}},c_operation_commerciale:{labels:{single:"Attribut complémentaire operation_commerciale",plural:"Attributs complémentaires operation_commerciale"}},c_destockage:{labels:{single:"Attribut complémentaire destockage",plural:"Attributs complémentaires destockage"}}},sort:{isDsc:{type:"boolean",orders:["desc"]},prcn:{type:"numeric",orders:["desc","asc"]}},filters:{brn:{},isDsc:{},prcn:{},c_delivery_mode:{}},modules:{references:{size:5}}},grabSellerConfig:r.grabSellerConfig||{mode:"GlobalJsEval",expression:"window.getShopId"},offersConfig:{useOffers:!0,showProductsWithoutSellers:!0,forceDisplayMinPrice:!1,offersView:"restricted",getOutOfStockProductsWithSellers:!0,demoMode:!1,fieldsToDisplay:["c_availability","c_label","c_prix_pro","c_sale_price","g_quantity"]},spotlightsConfig:{b:{e:!0,n:{spotlight_brand_45:{m:"open",f:{brn:{v:["fakro","farko"]}},d:{l:"https://neltane.com/wp-content/uploads/2016/12/iso-logo-fakro.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Fakro/FAKRO.jpg",t:"fakro"},l:"fakro"},spotlight_brand_49:{m:"open",f:{brn:{v:["grosfilex","grosiflex","grosfillex"]}},d:{l:"https://media.bricoman.fr/marque/202/grosfillex.jpg",b:"https://www.grosfillex.com/1554-large_default/baie-coulissante-coffre-volet-interieur-alumea.jpg",t:"grosfilex"},l:"grosfilex"},spotlight_brand_78:{m:"open",f:{brn:{v:["schneider","schneder","shneider"]}},d:{l:"https://upload.wikimedia.org/wikipedia/commons/thumb/9/95/Schneider_Electric_2007.svg/1280px-Schneider_Electric_2007.svg.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Schneider/banner2_1920x700.jpg",t:"schneider"},l:"schneider"},spotlight_brand_83:{m:"open",f:{brn:{v:["sylvania","silvania"]}},d:{l:"http://www.sylvania-lighting.com/images/rebrand/logo.png",b:"https://media.bricoman.fr/article/196/4/2/9/2/602924_wb.jpg.jpg",t:"sylvania"},l:"sylvania"},spotlight_brand_94:{m:"open",f:{brn:{}},d:{l:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Nilfisk/LOGO_NILFISK_TRANSPARENT.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Nilfisk/NILFISK.jpg",t:"Nilfisk"},l:"Nilfisk"},spotlight_brand_106:{m:"open",f:{brn:{}},d:{l:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Arco/Logo_ARCO_70px.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Arco/Fond-Arco-Bricoman_fr_VITAQ.jpg",t:"Arco"},l:"ARCO"},spotlight_brand_107:{m:"open",f:{brn:{}},d:{l:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Sotrinbois/Sotrinbois_logo.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Sotrinbois/Fond_sotrinbois.jpg",t:"Sotrinbois"},l:"Sotrinbois"},spotlight_brand_108:{m:"open",f:{brn:{}},d:{l:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Arlux/Arlux_Generique.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/Arlux/Arlux_BRICOMAN_Image_de_fond.jpg",t:"Arlux"},l:"ARLUX"},spotlight_brand_109:{m:"open",f:{brn:{}},d:{l:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/CFP/CFP_logo.png",b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/CFP/CFP_imagefond.png",t:"CFP"},l:"CFP"}}},e:{e:!0,n:{spotlight_event_8:{m:"open",f:{c_destockage:{}},d:{l:null,b:"https://www.bricoman.fr/pub/media/wysiwyg/Spotlight/DomPro_Destockage/DOMPRO_Spotlight.jpg",t:"Fermetures anti-panique",d:"Commandez en magasin - Disponible sous 48 à 72 heures"},l:"Fermetures anti-panique"},spotlight_event_10:{m:"open",f:{c_operation_commerciale:{}},d:{l:null,b:"https://00f74ba44bd292cfe0a37d8ca0e5c59065d0f24b41-apidata.googleusercontent.com/download/storage/v1/b/bmfr-prod-gke/o/pub%2Fmedia%2Fwysiwyg%2FSpotlight%2FBon_plans_du_mois%2F05-OpFlash_03-2021_SenseFuel.jpg?jk=AFshE3VvqeCIjnZGozulsNhZIJaelXF0VAGI6-s5j0DW5lCu3fOtyxMPurtGCRx7x2zhYz-vU8WkUEe1wspmdky_BH53lK2Do7d3-3OtKmame5JjVVuxe6yp4Souv3py7prIj1VLFv_j_YS1Y80s2V2UPLUEllqF5uXbnBCVvRCYC3f2tJiKxCiX5_-baTlXNeKDvFaC_psoav5bAJvVL5OrM74Su5gQknOzR7LsomM6QbVKabdnDq4VEegK0CZ_hoyH_LtBdh3acmnXExltcVBuF5CLEgBZAK3-FvTQiCz7smwITn2NbemHUjkWk5-rBwAeHum83n9SHbHwNCwqh3J7mXj56TGZJE5_xBY1srCkcphFmgjYZje2EBJ2jZo1EtlBriNQymHhYGRVRmLivUy7q_Iv0nXjkcIj_IZMsZefmMLGc6euB6DxwJEVOJm9Rki025G_dbiVXeJT0rivtrL3L_v1k0Dh1B_yAcD1G2C57YLHJavk8DLdp8LFPEKpYJgn201K82jyGtImc-Q9SD3ilHHwQZ7Iew87NlBaj4sdFs9vottxAGbiRRVJN7C1DWKExtsZUupLHDZPEp9G2NMGqtLCXD3XbMWJWATzYZ95Ye2n5H1eunHgJG0Xu6lsZB8ey70X-kKsDH65MGuxhU0X3JrYrdEwI3Gyk2fktCV5_nFFp2kr7SQyQl7LE9rYjzZWNSLb-5g8RqjYHzcVJXgJEYv08xbc4ccceOHnWtFrTXNe51OlPDMFLWnqcjZd3hYcRDICkhFv5ztOogc1MKFpN9wH37ZZz9wqPCAN0eLiGJrSMtW75yeo97Sco7N7420X9RfxcnuQxU-BK57PiAlQGkN1ujWU9AtnQ58ElwOJYpjrBTEBv1Zg54DSjVAHrbxMQ-UPnKusveZnDQa9pUM7zdNbz2pSz-m7ZiHqx96RMKVGkNzwxJmcCcsesdnPIJE6aKHE9TFlGWmLr1xA15REOyRiJBx0j2jn85MzCcdOsz42U4a7vXTF_Y1mNb9OnA&isca=1",t:"Bons Plans",d:"Découvrez nos bons plans du mois"},l:"BONS PLANS FEVRIER 2021",p:"pinned"}}}},shortcutsConfig:[],loadCss:"boolean"!=typeof r.loadCss||r.loadCss,loadAfterDOM:r.loadAfterDOM||!0};"FIELD_MAP"==o.fieldsMap&&(o.fieldsMap=null),"GRAB_SELLER_CONFIG"==o.grabSellerConfig&&(o.grabSellerConfig=null),"OFFERS_CONFIG"==o.offersConfig&&(o.offersConfig=null),i.debug.log("Tag version:"+i.version),1==o.loadCss&&n("link",{type:"text/css",rel:"stylesheet",href:"https://tag.search.sensefuel.live/search/be64e824-7125-4451-8190-4c98ee743f65/immersiveLayer.css",id:"css_c8d42cf608b94b71aa6c3ee581cf14a7"});var a=new t(window.g_846088791d894de686d11c42add2d0ea||null,r),c=new e(r);globalThis.jquery1960268005944142983cf4daa30aac33=s,globalThis.g_fc5ad4177b7f4a52a511540dceca6dc2=a,globalThis.g_07b757e819664b97a6313f319647f46f=c,globalThis.sensefuel_a038457e={notifyPageReadiness:a.notifyPageReadiness.bind(a),notifySearchBoxReadiness:c.init.bind(c),gdprAllowPersistance:a.acceptGDPR.bind(a)},module.has("tracking/Blank")&&(globalThis.sensefuel_a038457e.blank={updateUserIdentities:function(t){a.updateUserIdentities(t),c.updateUserIdentities(t)}}),a.init().then(function(){var e;if("fafc75d7-5633-4e04-830e-e74bd435864c"!==o.siteUUID||!/iPhone/i.test(navigator.userAgent))return"aa256428-6cb3-4dd6-b7ff-e5c91dcba53a"===o.siteUUID&&(e=window.location.href,function t(e,s){window.setTimeout(function(){t(e,s)},s),e()}(function(){var t=window.location.href;e!==t&&(e=t,a.notifyPageReadiness())},250)),a.layerMode()?c.init(function(){return a.getUserIdentities()},function(){return a.getTrackFingerPrint()},o,a.getModuleOptions()):void 0}).catch(function(t){i.debug.log(t)})}else i.debug.log("Sensefuel tag is already loaded")})}(window);