PageSourceSearch

https://www.benjaminmoore.com/_next/static/chunks/5391.00e1186a236cff27.js

js benjaminmoore.com collected 2026-09-24 08:45:24 UTC 25,441 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5391],{87602:function(e,t,n){function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function i(e,t){if(e.length!==t.length)throw Error("vectors must be same length");return e.map(function(e,n){return e+t[n]})}function o(e){return Math.max.apply(Math,e.map(Math.abs))}function u(e){return Object.freeze(e),Object.values(e).forEach(function(e){null===e||"object"!=typeof e||Object.isFrozen(e)||u(e)}),e}n.d(t,{Y:function(){return m}});var c=[1,18,"undefined"!=typeof window&&window.innerHeight||800],a=[-1,-1,-1],s=u({preventWheelAction:!0,reverseSign:[!0,!0,!1]});function l(){return{isStarted:!1,isStartPublished:!1,isMomentum:!1,startTime:0,lastAbsDelta:1/0,axisMovement:[0,0,0],axisVelocity:[0,0,0],accelerationFactors:[],scrollPoints:[],scrollPointsToMerge:[],willEndTimeout:400}}var f=function(e){void 0===e&&(e={});var t,n,f,d,m,p=function(){var e={};function t(t,n){e[t]=(e[t]||[]).filter(function(e){return e!==n})}return u({on:function(n,r){return e[n]=(e[n]||[]).concat(r),function(){return t(n,r)}},off:t,dispatch:function(t,n){t in e&&e[t].forEach(function(e){return e(n)})}})}(),g=p.on,h=p.off,v=p.dispatch,b=s,x=l(),y=!1,M=function(e){Array.isArray(e)?e.forEach(function(e){return D(e)}):D(e)},w=function(e){return(void 0===e&&(e={}),Object.values(e).some(function(e){return null==e}))?b:b=u(r({},s,b,e))},E=function(e){var t=r({event:d,isStart:!1,isEnding:!1,isMomentumCancel:!1,isMomentum:x.isMomentum,axisDelta:[0,0,0],axisVelocity:x.axisVelocity,axisMovement:x.axisMovement,get axisMovementProjection(){return i(t.axisMovement,t.axisVelocity.map(function(e){var t;return void 0===t&&(t=.996),e*t/(1-t)}))}},e);v("wheel",r({},t,{previous:m})),m=t},S=function(e,t){var n=b.preventWheelAction,r=t[0],i=t[1],o=t[2];if("boolean"==typeof n)return n;switch(n){case"x":return Math.abs(r)>=e;case"y":return Math.abs(i)>=e;case"z":return Math.abs(o)>=e;default:return!1}},D=function(e){var t,n,u,s,l=(s=function(e,t){if(!t)return e;var n=!0===t?a:t.map(function(e){return e?-1:1});return r({},e,{axisDelta:e.axisDelta.map(function(e,t){return e*n[t]})})}((t=e.deltaX*c[e.deltaMode],n=e.deltaY*c[e.deltaMode],u=(e.deltaZ||0)*c[e.deltaMode],{timeStamp:e.timeStamp,axisDelta:[t,n,u]}),b.reverseSign),r({},s,{axisDelta:s.axisDelta.map(function(e){return Math.min(Math.max(-700,e),700)})})),f=l.axisDelta,m=l.timeStamp,p=o(f);if(e.preventDefault&&S(p,f)&&e.preventDefault(),x.isStarted?x.isMomentum&&p>Math.max(2,2*x.lastAbsDelta)&&(N(!0),j()):j(),0===p&&Object.is&&Object.is(e.deltaX,-0)){y=!0;return}d=e,x.axisMovement=i(x.axisMovement,f),x.lastAbsDelta=p,x.scrollPointsToMerge.push({axisDelta:f,timeStamp:m}),O(),E({axisDelta:f,isStart:!x.isStartPublished}),x.isStartPublished=!0,I()},O=function(){if(2===x.scrollPointsToMerge.length){var e;x.scrollPoints.unshift({axisDeltaSum:x.scrollPointsToMerge.map(function(e){return e.axisDelta}).reduce(i),timeStamp:(e=x.scrollPointsToMerge.map(function(e){return e.timeStamp})).reduce(function(e,t){return e+t})/e.length}),L(),x.scrollPointsToMerge.length=0,x.scrollPoints.length=1,x.isMomentum||k()}else x.isStartPublished||A()},A=function(){var e;x.axisVelocity=(e=x.scrollPointsToMerge)[e.length-1].axisDelta.map(function(e){return e/x.willEndTimeout})},L=function(){var e=x.scrollPoints,t=e[0],n=e[1];if(n&&t){var r=t.timeStamp-n.timeStamp;if(!(r<=0)){var i=t.axisDeltaSum.map(function(e){return e/r}),o=i.map(function(e,t){return e/(x.axisVelocity[t]||1)});x.axisVelocity=i,x.accelerationFactors.push(o),P(r)}}},P=function(e){var t=12*Math.ceil(e/10);x.isMomentum||(t=Math.max(100,2*t)),x.willEndTimeout=Math.min(1e3,Math.round(t))},T=function(e){return 0===e||e<=.96&&e>=.6},k=function(){if(x.accelerationFactors.length>=5){if(y&&(y=!1,o(x.axisVelocity)>=.2)){F();return}var e=x.accelerationFactors.slice(-5);e.every(function(e){var t=!!e.reduce(function(e,t){return e&&e<1&&e===t?1:0}),n=e.filter(T).length===e.length;return t||n})&&F(),x.accelerationFactors=e}},F=function(){x.isMomentum=!0},j=function(){(x=l()).isStarted=!0,x.startTime=Date.now(),m=void 0,y=!1},I=function(){clearTimeout(t),t=setTimeout(N,x.willEndTimeout)},N=function(e){void 0===e&&(e=!1),x.isStarted&&(x.isMomentum&&e?E({isEnding:!0,isMomentumCancel:!0}):E({isEnding:!0}),x.isMomentum=!1,x.isStarted=!1)},V=(n=[],u({observe:function(e){return e.addEventListener("wheel",M,{passive:!1}),n.push(e),function(){return f(e)}},unobserve:f=function(e){e.removeEventListener("wheel",M),n=n.filter(function(t){return t!==e})}
1,disconnect:function(){n.forEach(f)}})),C=V.observe,z=V.unobserve,H=V.disconnect;return w(e),u({on:g,off:h,observe:C,unobserve:z,disconnect:H,feedWheel:M,updateOptions:w})},d={active:!0,breakpoints:{},wheelDraggingClass:"is-wheel-dragging",forceWheelAxis:void 0,target:void 0};function m(e){void 0===e&&(e={});var t,n=function(){};return{name:"wheelGestures",options:e,init:function(r,i){var o,u,c,a=i.mergeOptions,s=i.optionsAtMedia,l=a(d,m.globalOptions);t=s(a(l,e));var p=r.internalEngine(),g=null!=(o=t.target)?o:r.containerNode().parentNode,h=null!=(u=t.forceWheelAxis)?u:p.options.axis,v=f({preventWheelAction:h,reverseSign:[!0,!0,!1]}),b=v.observe(g),x=v.on("wheel",function(e){var r=e.axisDelta,i=r[0],o=r[1],u="x"===h?i:o,a="x"===h?o:i,s=e.isMomentum&&e.previous&&!e.previous.isMomentum,l=e.isEnding&&!e.isMomentum||s;!(Math.abs(u)>Math.abs(a))||y||e.isMomentum||function(e){try{c=new MouseEvent("mousedown",e.event),S(c)}catch(e){return n()}y=!0,document.documentElement.addEventListener("mousemove",w,!0),document.documentElement.addEventListener("mouseup",w,!0),document.documentElement.addEventListener("mousedown",w,!0),t.wheelDraggingClass&&g.classList.add(t.wheelDraggingClass)}(e),y&&(l?(y=!1,S(E("mouseup",e)),M(),t.wheelDraggingClass&&g.classList.remove(t.wheelDraggingClass)):S(E("mousemove",e)))}),y=!1;function M(){document.documentElement.removeEventListener("mousemove",w,!0),document.documentElement.removeEventListener("mouseup",w,!0),document.documentElement.removeEventListener("mousedown",w,!0)}function w(e){y&&e.isTrusted&&e.stopImmediatePropagation()}function E(e,t){var n,r;if(h===p.options.axis){var i=t.axisMovement;n=i[0],r=i[1]}else{var o=t.axisMovement;r=o[0],n=o[1]}if(!p.options.skipSnaps&&!p.options.dragFree){var u=p.containerRect.width,a=p.containerRect.height;n=n<0?Math.max(n,-u):Math.min(n,u),r=r<0?Math.max(r,-a):Math.min(r,a)}return new MouseEvent(e,{clientX:c.clientX+n,clientY:c.clientY+r,screenX:c.screenX+n,screenY:c.screenY+r,movementX:n,movementY:r,button:0,bubbles:!0,cancelable:!0,composed:!0})}function S(e){r.containerNode().dispatchEvent(e)}n=function(){b(),x(),M()}},destroy:function(){return n()}}}m.globalOptions=void 0},48010:function(e,t,n){function r(e={}){let t;let n=[],r=["select","slideFocus"];function i(){let{slideRegistry:e}=t.internalEngine(),r=e[t.selectedScrollSnap()];return r?r.map(e=>n[e]).reduce((e,t)=>Math.max(e,t),0):null}function o(){null!==i()&&(t.containerNode().style.height=`${i()}px`)}return{name:"autoHeight",options:e,init:function(e){let{options:{axis:i},slideRects:u}=(t=e).internalEngine();"y"!==i&&(n=u.map(e=>e.height),r.forEach(e=>t.on(e,o)),o())},destroy:function(){r.forEach(e=>t.off(e,o));let e=t.containerNode();e.style.height="",e.getAttribute("style")||e.removeAttribute("style")}}}n.d(t,{Z:function(){return r}}),r.globalOptions=void 0},89382:function(e,t,n){n.d(t,{Z:function(){return D}});var r=n(67294);function i(e){return"[object Object]"===Object.prototype.toString.call(e)||Array.isArray(e)}function o(e,t){let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&n.every(n=>{let r=e[n],u=t[n];return"function"==typeof r?`${r}`==`${u}`:i(r)&&i(u)?o(r,u):r===u})}function u(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function c(e){return"number"==typeof e}function a(e){return"string"==typeof e}function s(e){return"boolean"==typeof e}function l(e){return"[object Object]"===Object.prototype.toString.call(e)}function f(e){return Math.abs(e)}function d(e){return Math.sign(e)}function m(e){return v(e).map(Number)}function p(e){return e[g(e)]}function g(e){return Math.max(0,e.length-1)}function h(e,t=0){return Array.from(Array(e),(e,n)=>t+n)}function v(e){return Object.keys(e)}function b(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function x(){let e=[],t={add:function(n,r,i,o={passive:!0}){let u;return"addEventListener"in n?(n.addEventListener(r,i,o),u=()=>n.removeEventListener(r,i,o)):(n.addListener(i),u=()=>n.removeListener(i)),e.push(u),t},clear:function(){e=e.filter(e=>e())}};return t}function y(e=0,t=0){let n=f(e-t);function r(n){return n<e||n>t}return{length:n,max:t,min:e,constrain:function(n){return r(n)?n<e?e:t:n},reachedAny:r,reachedMax:function(e){return e>t},reachedMin:function(t){return t<e}
1,removeOffset:function(e){return n?e-n*Math.ceil((e-t)/n):e}}}function M(e){let t=e;function n(e){return c(e)?e:e.get()}return{get:function(){return t},set:function(e){t=n(e)},add:function(e){t+=n(e)},subtract:function(e){t-=n(e)}}}function w(e,t){let n="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},r=t.style,i=null,o=!1;return{clear:function(){o||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(o)return;let u=Math.round(100*e.direction(t))/100;u!==i&&(r.transform=n(u),i=u)},toggleActive:function(e){o=!e}}}let E={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function S(e,t,n){let r,i,o,u,D;let O=e.ownerDocument,A=O.defaultView,L=function(e){function t(e,t){return function e(t,n){return[t,n].reduce((t,n)=>(v(n).forEach(r=>{let i=t[r],o=n[r],u=l(i)&&l(o);t[r]=u?e(i,o):o}),t),{})}(e,t||{})}return{mergeOptions:t,optionsAtMedia:function(n){let r=n.breakpoints||{},i=v(r).filter(t=>e.matchMedia(t).matches).map(e=>r[e]).reduce((e,n)=>t(e,n),{});return t(n,i)},optionsMediaQueries:function(t){return t.map(e=>v(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}}}(A),P=(D=[],{init:function(e,t){return(D=t.filter(({options:e})=>!1!==L.optionsAtMedia(e).active)).forEach(t=>t.init(e,L)),t.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){D=D.filter(e=>e.destroy())}}),T=x(),k=function(){let e,t={},n={init:function(t){e=t},emit:function(r){return(t[r]||[]).forEach(t=>t(e,r)),n},off:function(e,r){return t[e]=(t[e]||[]).filter(e=>e!==r),n},on:function(e,r){return t[e]=(t[e]||[]).concat([r]),n},clear:function(){t={}}};return n}(),{mergeOptions:F,optionsAtMedia:j,optionsMediaQueries:I}=L,{on:N,off:V,emit:C}=k,z=!1,H=F(E,S.globalOptions),X=F(H),R=[];function Y(t,n){!z&&(X=j(H=F(H,t)),R=n||R,function(){let{container:t,slides:n}=X;o=(a(t)?e.querySelector(t):t)||e.children[0];let r=a(n)?o.querySelectorAll(n):n;u=[].slice.call(r||o.children)}(),r=function t(n){let r=function(e,t,n,r,i,o,u){let l,E;let{align:S,axis:D,direction:O,startIndex:A,loop:L,duration:P,dragFree:T,dragThreshold:k,inViewThreshold:F,slidesToScroll:j,skipSnaps:I,containScroll:N,watchResize:V,watchSlides:C,watchDrag:z,watchFocus:H}=o,X={measure:function(e){let{offsetTop:t,offsetLeft:n,offsetWidth:r,offsetHeight:i}=e;return{top:t,right:n+r,bottom:t+i,left:n,width:r,height:i}}},R=X.measure(t),Y=n.map(X.measure),$=function(e,t){let n="rtl"===t,r="y"===e,i=!r&&n?-1:1;return{scroll:r?"y":"x",cross:r?"x":"y",startEdge:r?"top":n?"right":"left",endEdge:r?"bottom":n?"left":"right",measureSize:function(e){let{height:t,width:n}=e;return r?t:n},direction:function(e){return e*i}}}(D,O),B=$.measureSize(R),W={measure:function(e){return e/100*B}},q=function(e,t){let n={start:function(){return 0},center:function(e){return(t-e)/2},end:function(e){return t-e}};return{measure:function(r,i){return a(e)?n[e](r):e(t,r,i)}}}(S,B),U=!L&&!!N,{slideSizes:_,slideSizesWithGaps:Z,startGap:J,endGap:G}=function(e,t,n,r,i,o){let{measureSize:u,startEdge:c,endEdge:a}=e,s=n[0]&&i,l=function(){if(!s)return 0;let e=n[0];return f(t[c]-e[c])}(),d=s?parseFloat(o.getComputedStyle(p(r)).getPropertyValue(`margin-${a}`)):0,m=n.map(u),h=n.map((e,t,n)=>{let r=t===g(n);return t?r?m[t]+d:n[t+1][c]-e[c]:m[t]+l}).map(f);return{slideSizes:m,slideSizesWithGaps:h,startGap:l,endGap:d}}($,R,Y,n,L||!!N,i),Q=function(e,t,n,r,i,o,u,a,s){let{startEdge:l,endEdge:d,direction:h}=e,v=c(n);return{groupSlides:function(e){return v?m(e).filter(e=>e%n==0).map(t=>e.slice(t,t+n)):e.length?m(e).reduce((n,c,s)=>{let m=p(n)||0,v=c===g(e),b=i[l]-o[m][l],x=i[l]-o[c][d],y=r||0!==m?0:h(u),M=f(x-(!r&&v?h(a):0)-(b+y));return s&&M>t+2&&n.push(c),v&&n.push(e.length),n},[]).map((t,n,r)=>{let i=Math.max(r[n-1]||0);return e.slice(i,t)}):[]}}}($,B,j,L,R,Y,J,G,0),{snaps:K,snapsAligned:ee}=function(e,t,n,r,i){let{startEdge:o,endEdge:u}=e,{groupSlides:c}=i,a=c(r).map(e=>p(e)[u]-e[0][o]).map(f).map(t.measure),s=r.map(e=>n[o]-e[o]).map(e=>-f(e)),l=c(s).map(e=>e[0]).map((e,t)=>e+a[t]);return{snaps:s,snapsAligned:l}}($,q,R,Y,Q),et=-p(K)+p(Z),{snapsContained:en,scrollContainLimit:er}=function(e,t,n,r,i){let o=y(-t+e,0),u=n.map((e,t)=>{let{min:r,max:i}=o,u=o.constrain(e),c=t===g(n);return t?c||1>=f(r-u)?r:1>=f(i-u)?i:u:i}).map(e=>parseFloat(e.toFixed(3))),c=function(){let e=u[0],t=p(u);return y(u.lastIndexOf(e),u.indexOf(t)+1)}();return{snapsContained:function(){if(t<=e+2)return[o.max];if("keepSnaps"===r)return u;let{min:n,max:i}=c;return u.slice(n,i)}(),scrollContainLimit:c}}(B,et,ee,N,0),ei=U?en:ee,{limit:eo}=function(e,t,n){let r=t[0];return{limit:y(n?r-e:p(t),r)}}
1(et,ei,L),eu=function e(t,n,r){let{constrain:i}=y(0,t),o=t+1,u=c(n);function c(e){return r?f((o+e)%o):i(e)}function a(){return e(t,u,r)}let s={get:function(){return u},set:function(e){return u=c(e),s},add:function(e){return a().set(u+e)},clone:a};return s}(g(ei),A,L),ec=eu.clone(),ea=m(n),es=({dragHandler:e,scrollBody:t,scrollBounds:n,options:{loop:r}})=>{r||n.constrain(e.pointerDown()),t.seek()},el=({scrollBody:e,translate:t,location:n,offsetLocation:r,previousLocation:i,scrollLooper:o,slideLooper:u,dragHandler:c,animation:a,eventHandler:s,scrollBounds:l,options:{loop:f}},d)=>{let m=e.settled(),p=!l.shouldConstrain(),g=f?m:m&&p,h=g&&!c.pointerDown();h&&a.stop();let v=n.get()*d+i.get()*(1-d);r.set(v),f&&(o.loop(e.direction()),u.loop()),t.to(r.get()),h&&s.emit("settle"),g||s.emit("scroll")},ef=function(e,t,n,r){let i=x(),o=1e3/60,u=null,c=0,a=0;function s(e){if(!a)return;u||(u=e,n(),n());let i=e-u;for(u=e,c+=i;c>=o;)n(),c-=o;r(c/o),a&&(a=t.requestAnimationFrame(s))}function l(){t.cancelAnimationFrame(a),u=null,c=0,a=0}return{init:function(){i.add(e,"visibilitychange",()=>{e.hidden&&(u=null,c=0)})},destroy:function(){l(),i.clear()},start:function(){a||(a=t.requestAnimationFrame(s))},stop:l,update:n,render:r}}(r,i,()=>es(eD),e=>el(eD,e)),ed=ei[eu.get()],em=M(ed),ep=M(ed),eg=M(ed),eh=M(ed),ev=function(e,t,n,r,i,o){let u=0,c=0,a=i,s=.68,l=e.get(),m=0;function p(e){return a=e,h}function g(e){return s=e,h}let h={direction:function(){return c},duration:function(){return a},velocity:function(){return u},seek:function(){let t=r.get()-e.get(),i=0;return a?(n.set(e),u+=t/a,u*=s,l+=u,e.add(u),i=l-m):(u=0,n.set(r),e.set(r),i=t),c=d(i),m=l,h},settled:function(){return .001>f(r.get()-t.get())},useBaseFriction:function(){return g(.68)},useBaseDuration:function(){return p(i)},useFriction:g,useDuration:p};return h}(em,eg,ep,eh,P,0),eb=function(e,t,n,r,i){let{reachedAny:o,removeOffset:u,constrain:c}=r;function a(e){return e.concat().sort((e,t)=>f(e)-f(t))[0]}function s(t,r){let i=[t,t+n,t-n];if(!e)return t;if(!r)return a(i);let o=i.filter(e=>d(e)===r);return o.length?a(o):p(i)-n}return{byDistance:function(n,r){let a=i.get()+n,{index:l,distance:d}=function(n){let r=e?u(n):c(n),{index:i}=t.map((e,t)=>({diff:s(e-r,0),index:t})).sort((e,t)=>f(e.diff)-f(t.diff))[0];return{index:i,distance:r}}(a),m=!e&&o(a);if(!r||m)return{index:l,distance:n};let p=n+s(t[l]-d,0);return{index:l,distance:p}},byIndex:function(e,n){let r=s(t[e]-i.get(),n);return{index:e,distance:r}},shortcut:s}}(L,ei,et,eo,eh),ex=function(e,t,n,r,i,o,u){function c(i){let c=i.distance,a=i.index!==t.get();
1o.add(c),c&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),a&&(n.set(t.get()),t.set(i.index),u.emit("select"))}return{distance:function(e,t){c(i.byDistance(e,t))},index:function(e,n){let r=t.clone().set(e);c(i.byIndex(r.get(),n))}}}(ef,eu,ec,ev,eb,eh,u),ey=function(e){let{max:t,length:n}=e;return{get:function(e){return n?-((e-t)/n):0}}}(eo),eM=x(),ew=function(e,t,n,r){let i;let o={},u=null,c=null,a=!1;return{init:function(){i=new IntersectionObserver(e=>{a||(e.forEach(e=>{o[t.indexOf(e.target)]=e}),u=null,c=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(e=>i.observe(e))},destroy:function(){i&&i.disconnect(),a=!0},get:function(e=!0){if(e&&u)return u;if(!e&&c)return c;let t=v(o).reduce((t,n)=>{let r=parseInt(n),{isIntersecting:i}=o[r];return(e&&i||!e&&!i)&&t.push(r),t},[]);return e&&(u=t),e||(c=t),t}}}(t,n,u,F),{slideRegistry:eE}=function(e,t,n,r,i,o){let{groupSlides:u}=i,{min:c,max:a}=r;return{slideRegistry:function(){let r=u(o);return 1===n.length?[o]:e&&"keepSnaps"!==t?r.slice(c,a).map((e,t,n)=>{let r=t===g(n);return t?r?h(g(o)-p(n)[0]+1,p(n)[0]):e:h(p(n[0])+1)}):r}()}}(U,N,ei,er,Q,ea),eS=function(e,t,n,r,i,o,u,a){let l={passive:!0,capture:!0},f=0;function d(e){"Tab"===e.code&&(f=new Date().getTime())}return{init:function(m){a&&(o.add(document,"keydown",d,!1),t.forEach((t,d)=>{o.add(t,"focus",t=>{(s(a)||a(m,t))&&function(t){if(new Date().getTime()-f>10)return;u.emit("slideFocusStart"),e.scrollLeft=0;let o=n.findIndex(e=>e.includes(t));c(o)&&(i.useDuration(0),r.index(o,0),u.emit("slideFocus"))}(d)},l)}))}}}(e,n,eE,ex,ev,eM,u,H),eD={ownerDocument:r,ownerWindow:i,eventHandler:u,containerRect:R,slideRects:Y,animation:ef,axis:$,dragHandler:function(e,t,n,r,i,o,u,c,a,l,m,p,g,h,v,M,w,E,S){let{cross:D,direction:O}=e,A=["INPUT","SELECT","TEXTAREA"],L={passive:!1},P=x(),T=x(),k=y(50,225).constrain(h.measure(20)),F={mouse:300,touch:400},j={mouse:500,touch:600},I=v?43:25,N=!1,V=0,C=0,z=!1,H=!1,X=!1,R=!1;function Y(e){if(!b(e,r)&&e.touches.length>=2)return $(e);let t=o.readPoint(e),n=o.readPoint(e,D),u=f(t-V),a=f(n-C);if(!H&&!R&&(!e.cancelable||!(H=u>a)))return $(e);let s=o.pointerMove(e);u>M&&(X=!0),l.useFriction(.3).useDuration(.75),c.start(),i.add(O(s)),e.preventDefault()}function $(e){let t=m.byDistance(0,!1).index!==p.get(),n=o.pointerUp(e)*(v?j:F)[R?"mouse":"touch"],r=function(e,t){let n=p.add(-1*d(e)),r=m.byDistance(e,!v).distance;return v||f(e)<k?r:w&&t?.5*r:m.byIndex(n.get(),0).distance}(O(n),t),i=function(e,t){var n,r;if(0===e||0===t||f(e)<=f(t))return 0;let i=(n=f(e),r=f(t),f(n-r));return f(i/e)}(n,r);H=!1,z=!1,T.clear(),l.useDuration(I-10*i).useFriction(.68+i/50),a.distance(r,!v),R=!1,g.emit("pointerUp")}function B(e){X&&(e.stopPropagation(),e.preventDefault(),X=!1)}return{init:function(e){S&&P.add(t,"dragstart",e=>e.preventDefault(),L).add(t,"touchmove",()=>void 0,L).add(t,"touchend",()=>void 0).add(t,"touchstart",c).add(t,"mousedown",c).add(t,"touchcancel",$).add(t,"contextmenu",$).add(t,"click",B,!0);function c(c){(s(S)||S(e,c))&&function(e){let c=b(e,r);R=c,X=v&&c&&!e.buttons&&N,N=f(i.get()-u.get())>=2,c&&0!==e.button||function(e){let t=e.nodeName||"";return A.includes(t)}(e.target)||(z=!0,o.pointerDown(e),l.useFriction(0).useDuration(0),i.set(u),function(){let e=R?n:t;T.add(e,"touchmove",Y,L).add(e,"touchend",$).add(e,"mousemove",Y,L).add(e,"mouseup",$)}(),V=o.readPoint(e),C=o.readPoint(e,D),g.emit("pointerDown"))}(c)}},destroy:function(){P.clear(),T.clear()},pointerDown:function(){return z}}}($,e,r,i,eh,function(e,t){let n,r;function i(e){return e.timeStamp}function o(n,r){let i=r||e.scroll,o=`client${"x"===i?"X":"Y"}`;return(b(n,t)?n:n.touches[0])[o]}return{pointerDown:function(e){return n=e,r=e,o(e)},pointerMove:function(e){let t=o(e)-o(r),u=i(e)-i(n)>170;return r=e,u&&(n=e),t},pointerUp:function(e){if(!n||!r)return 0;let t=o(r)-o(n),u=i(e)-i(n),c=i(e)-i(r)>170,a=t/u;return u&&!c&&f(a)>.1?a:0},readPoint:o}}($,i),em,ef,ex,ev,eb,eu,u,W,T,k,I,0,z),eventStore:eM,percentOfView:W,index:eu,indexPrevious:ec,limit:eo,location:em,offsetLocation:eg,previousLocation:ep,options:o,resizeHandler:function(e,t,n,r,i,o,u){let c,a;let l=[e].concat(r),d=[],m=!1;function p(e){return i.measureSize(u.measure(e))}return{init:function(i){o&&(a=p(e),d=r.map(p),c=new ResizeObserver(n=>{(s(o)||o(i,n))&&function(n){for(let o of n){if(m)return;let n=o.target===e,u=r.indexOf(o.target),c=n?a:d[u];if(f(p(n?e:r[u])-c)>=.5){i.reInit(),t.emit("resize");break}}}(n)}),n.requestAnimationFrame(()=>
1{l.forEach(e=>c.observe(e))}))},destroy:function(){m=!0,c&&c.disconnect()}}}(t,u,i,n,$,V,X),scrollBody:ev,scrollBounds:function(e,t,n,r,i){let o=i.measure(10),u=i.measure(50),c=y(.1,.99),a=!1;function s(){return!!(!a&&e.reachedAny(n.get())&&e.reachedAny(t.get()))}return{shouldConstrain:s,constrain:function(i){if(!s())return;let a=e.reachedMin(t.get())?"min":"max",l=f(e[a]-t.get()),d=n.get()-t.get(),m=c.constrain(l/u);n.subtract(d*m),!i&&f(d)<o&&(n.set(e.constrain(n.get())),r.useDuration(25).useBaseFriction())},toggleActive:function(e){a=!e}}}(eo,eg,eh,ev,W),scrollLooper:function(e,t,n,r){let{reachedMin:i,reachedMax:o}=y(t.min+.1,t.max+.1);return{loop:function(t){if(!(1===t?o(n.get()):-1===t&&i(n.get())))return;let u=-1*t*e;r.forEach(e=>e.add(u))}}}(et,eo,eg,[em,eg,ep,eh]),scrollProgress:ey,scrollSnapList:ei.map(ey.get),scrollSnaps:ei,scrollTarget:eb,scrollTo:ex,slideLooper:function(e,t,n,r,i,o,u,c,a){let s=m(i),l=p(d(m(i).reverse(),u[0]),n,!1).concat(p(d(s,t-u[0]-1),-n,!0));function f(e,t){return e.reduce((e,t)=>e-i[t],t)}function d(e,t){return e.reduce((e,n)=>f(e,t)>0?e.concat([n]):e,[])}function p(i,u,s){let l=o.map((e,n)=>({start:e-r[n]+.5+u,end:e+t-.5+u}));return i.map(t=>{let r=s?0:-n,i=s?n:0,o=l[t][s?"end":"start"];return{index:t,loopPoint:o,slideLocation:M(-1),translate:w(e,a[t]),target:()=>c.get()>o?r:i}})}return{canLoop:function(){return l.every(({index:e})=>.1>=f(s.filter(t=>t!==e),t))},clear:function(){l.forEach(e=>e.translate.clear())},loop:function(){l.forEach(e=>{let{target:t,translate:n,slideLocation:r}=e,i=t();i!==r.get()&&(n.to(i),r.set(i))})},loopPoints:l}}($,B,et,_,Z,K,ei,eg,n),slideFocus:eS,slidesHandler:(E=!1,{init:function(e){C&&(l=new MutationObserver(t=>{!E&&(s(C)||C(e,t))&&function(t){for(let n of t)if("childList"===n.type){e.reInit(),u.emit("slidesChanged");break}}(t)})).observe(t,{childList:!0})},destroy:function(){l&&l.disconnect(),E=!0}}),slidesInView:ew,slideIndexes:ea,slideRegistry:eE,slidesToScroll:Q,target:eh,translate:w($,t)};return eD}(e,o,u,O,A,n,k);return n.loop&&!r.slideLooper.canLoop()?t(Object.assign({},n,{loop:!1})):r}(X),I([H,...R.map(({options:e})=>e)]).forEach(e=>T.add(e,"change",$)),X.active&&(r.translate.to(r.location.get()),r.animation.init(),r.slidesInView.init(),r.slideFocus.init(U),r.eventHandler.init(U),r.resizeHandler.init(U),r.slidesHandler.init(U),r.options.loop&&r.slideLooper.loop(),o.offsetParent&&u.length&&r.dragHandler.init(U),i=P.init(U,R)))}function $(e,t){let n=q();B(),Y(F({startIndex:n},e),t),k.emit("reInit")}function B(){r.dragHandler.destroy(),r.eventStore.clear(),r.translate.clear(),r.slideLooper.clear(),r.resizeHandler.destroy(),r.slidesHandler.destroy(),r.slidesInView.destroy(),r.animation.destroy(),P.destroy(),T.clear()}function W(e,t,n){X.active&&!z&&(r.scrollBody.useBaseFriction().useDuration(!0===t?0:X.duration),r.scrollTo.index(e,n||0))}function q(){return r.index.get()}let U={canScrollNext:function(){return r.index.add(1).get()!==q()},canScrollPrev:function(){return r.index.add(-1).get()!==q()},containerNode:function(){return o},internalEngine:function(){return r},destroy:function(){z||(z=!0,T.clear(),B(),k.emit("destroy"),k.clear())},off:V,on:N,emit:C,plugins:function(){return i},previousScrollSnap:function(){return r.indexPrevious.get()},reInit:$,rootNode:function(){return e},scrollNext:function(e){W(r.index.add(1).get(),e,-1)},scrollPrev:function(e){W(r.index.add(-1).get(),e,1)},scrollProgress:function(){return r.scrollProgress.get(r.offsetLocation.get())},scrollSnapList:function(){return r.scrollSnapList},scrollTo:W,selectedScrollSnap:q,slideNodes:function(){return u},slidesInView:function(){return r.slidesInView.get()},slidesNotInView:function(){return r.slidesInView.get(!1)}};return Y(t,n),setTimeout(()=>k.emit("init"),0),U}function D(e={},t=[]){let n=(0,r.useRef)(e),i=(0,r.useRef)(t),[c,a]=(0,r.useState)(),[s,l]=(0,r.useState)(),f=(0,r.useCallback)(()=>{c&&c.reInit(n.current,i.current)},[c]);return(0,r.useEffect)(()=>{o(n.current,e)||(n.current=e,f())},[e,f]),(0,r.useEffect)(()=>{!function(e,t){if(e.length!==t.length)return!1;let n=u(e),r=u(t);return n.every((e,t)=>o(e,r[t]))}(i.current,t)&&(i.current=t,f())},[t,f]),(0,r.useEffect)(()=>
1{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){S.globalOptions=D.globalOptions;let e=S(s,n.current,i.current);return a(e),()=>e.destroy()}a(void 0)},[s,a]),[l,c]}S.globalOptions=void 0,D.globalOptions=void 0}}]);

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.