PageSourceSearch

https://labelleboucle.fr/cdn/shop/t/258/assets/bundle.collection.js?v=65650629749222489021787556432

js labelleboucle.fr collected 2026-09-25 18:40:47 UTC 11,292 bytes, 1 lines download raw bytes

1(()=>{"use strict";var t={6171:(t,e,n)=>{function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,r)}return n}function o(t,e,n){return(e=s(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,s(r.key),r)}}function s(t){var e=function(t,e){if("object"!=r(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var i=n.call(t,e||"default");if("object"!=r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==r(e)?e:e+""}n.d(e,{A:()=>c});var c=function(){return t=function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.el=e,this.options=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach(function(e){o(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}({animateProperties:{height:!0},animateContentOnly:!1,animateOnExpand:!0,animateOnShrink:!0,finishedAnimationClass:"expanded",duration:400,easing:"ease-out"},n),this.summary=e.querySelector("summary"),this.content=e.querySelector(".details__content"),this.animation=null,this.isTransitioning=!1,this.currentlyOpening=!1,this.targetElement=this.options.animateContentOnly?this.content:this.el,this.initObserver()},(e=[{key:"initObserver",value:function(){var t=this;new MutationObserver(function(){return t.onToggle()}).observe(this.el,{attributes:!0,attributeFilter:["open"]})}},{key:"onToggle",value:function(){this.el.open||this.el.classList.remove(this.options.finishedAnimationClass),this.isTransitioning||(this.currentlyOpening=this.el.open,this.setOverflow("hidden"),this.isTransitioning=!0,this.currentlyOpening?this.expand():this.shrink())}},{key:"setOverflow",value:function(t){this.targetElement.style.overflow=t}},{key:"shrink",value:function(){var t=this;
1if(this.options.animateOnShrink){var e=this.createAnimationProperties("shrink");requestAnimationFrame(function(){return t.startAnimation(t.targetElement,e)})}else this.resetAnimationState()}},{key:"expand",value:function(){var t=this;if(this.options.animateOnExpand){var e=this.createAnimationProperties("expand");requestAnimationFrame(function(){return t.startAnimation(t.targetElement,e)})}else this.resetAnimationState()}},{key:"createAnimationProperties",value:function(t){var e={},n={},r={};for(var i in this.options.animateProperties)if(this.options.animateProperties[i])switch(i){case"height":this.options.animateContentOnly?(n.height="expand"===t?"0px":"".concat(this.targetElement.scrollHeight,"px"),r.height="expand"===t?"".concat(this.targetElement.scrollHeight,"px"):"0px"):(n.height="".concat("expand"===t?this.summary.offsetHeight:this.summary.offsetHeight+this.content.scrollHeight,"px"),r.height="".concat("expand"===t?this.summary.offsetHeight+this.content.scrollHeight:this.summary.offsetHeight,"px"));break;case"opacity":n.opacity="expand"===t?"0":"1",r.opacity="expand"===t?"1":"0";break;case"transformY":n.transform="expand"===t?"translateY(-1.5rem)":"translateY(0)",r.transform="expand"===t?"translateY(0)":"translateY(-1.5rem)"}return e.startValues=n,e.endValues=r,e}},{key:"startAnimation",value:function(t,e){var n=this,r=e.startValues,i=e.endValues;this.resetAnimation(),this.animation=t.animate([r,i],{duration:this.options.duration,easing:this.options.easing}),this.animation.onfinish=function(){return n.onAnimationFinish()},this.animation.oncancel=function(){return n.isTransitioning=!1}}},{key:"resetAnimation",value:function(){this.animation&&this.animation.cancel()}},{key:"onAnimationFinish",value:function(){var t=this;requestAnimationFrame(function(){return t.resetAnimationState()})}},{key:"resetAnimationState",value:function(){this.isTransitioning=!1,this.animation=null,this.currentlyOpening&&this.el.classList.add(this.options.finishedAnimationClass),this.resetCSSProperties()}},{key:"resetCSSProperties",value:function(){this.options.animateProperties.height&&(this.targetElement.style.height=""),this.options.animateProperties.opacity&&(this.targetElement.style.opacity=""),this.options.animateProperties.transformY&&(this.targetElement.style.transform=""),this.targetElement.style.overflow=""}}])&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,e,n}()}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={exports:{}};return t[r](o,o.exports,n),o.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r=n(6171);function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},i(t)}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,c(r.key),r)}}function s(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function c(t){var e=function(t,e){if("object"!=i(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==i(e)?e:e+""}function u(t,e,n){return e=m(e),l(t,h()?Reflect.construct(e,n||[],m(t).constructor):e.apply(t,n))}function l(t,e){if(e&&("object"==i(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function f(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}function p(t){var e="function"==typeof Map?new Map:void 0;return p=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var i=new(t.bind.apply(t,r));return n&&y(i,n.prototype),i}(t,arguments,m(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),y(n,t)},p(t)}function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(t){}return(h=function(){return!!t})()}
1function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function m(t){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},m(t)}function d(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(t){if("string"==typeof t)return v(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?v(t,e):void 0}}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return a=t.done,t},e:function(t){s=!0,o=t},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function v(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}document.addEventListener("DOMContentLoaded",function(){b()}),document.addEventListener("filterRendered",function(){b()});var b=function(){var t,e=d(document.querySelectorAll(".facets-container .details-animate"));try{for(e.s();!(t=e.n()).done;){var n=t.value;new r.A(n,{animateProperties:{height:!0,opacity:!1,transformY:!1},animateContentOnly:!1,animateOnShrink:!0,duration:150,easing:"ease"})}}catch(t){e.e(t)}finally{e.f()}},g=function(t){function e(){var t;return o(this,e),(t=u(this,e)).select=t.querySelector("select"),t.select?(t.container=t.select.parentElement,t.handleSelectWidth(),t.select.addEventListener("change",function(){return t.handleSelectWidth()}),t):l(t)}return f(e,t),s(e,[{key:"handleSelectWidth",value:function(){var t=this;requestAnimationFrame(function(){t.selectedOption=t.select.options[t.select.selectedIndex],t.testSpan=document.createElement("span"),t.parentDiv=t.querySelector("#handle-select"),t.testSpan.style.visibility="hidden",t.testSpan.style.whiteSpace="nowrap",t.testSpan.style.position="absolute",t.testSpan.textContent=t.selectedOption.textContent,t.container.appendChild(t.testSpan),t.select.style.width="".concat(t.testSpan.offsetWidth+40,"px"),t.container.removeChild(t.testSpan),t.parentDiv.style.opacity=1})}}])}(p(HTMLElement));customElements.get("handle-select-width")||customElements.define("handle-select-width",g);var O=function(t){function e(){var t;return o(this,e),(t=u(this,e)).facets=t.querySelector(".mobile-facets__open-wrapper"),window.innerWidth<990&&t.facets&&t.init(),t}return f(e,t),s(e,[{key:"init",value:function(){var t=this,e=document.querySelector(".header-wrapper"),n=e?e.getBoundingClientRect().height:0,r=this.querySelector(".facets-sentinel");if(r){var i=!1,o={root:null,rootMargin:"-".concat(n+1,"px 0px 0px 0px"),threshold:0};new IntersectionObserver(function(e){e.forEach(function(e){if(e.isIntersecting||i)e.isIntersecting&&i&&(i=!1,t.facets.classList.remove("sticky"),r.style.height="0px");else{i=!0;var n=t.facets.offsetHeight;t.facets.classList.add("sticky"),r.style.height="".concat(n,"px")}})},o).observe(this)}}}])}(p(HTMLElement));customElements.get("sticky-facets")||customElements.define("sticky-facets",O)})();

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