PageSourceSearch

https://www.decoratly.com/_next/static/chunks/framer-motion-6ed9541f.dc88ace70adf0380.js

js decoratly.com collected 2026-10-04 09:10:13 UTC 7,672 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[24834,47839,5858,24844,24563,47713,5206,24620],{3078:function(t,e,n){n.d(e,{B:function(){return c}});var r=n(83561),s=n(63861),i=n(34081),a=n(14438);let o=t=>!isNaN(parseFloat(t));class u{onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new i.L);let n=this.events[t].add(e);return"change"===t?()=>{n(),s.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)}setWithVelocity(t,e,n){this.set(e),this.prev=t,this.timeDelta=n}jump(t){this.updateAndNotify(t),this.prev=t,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,a.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}constructor(t,e={}){var n=this;this.version="10.12.18",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=function(t){let e=!(arguments.length>1)||void 0===arguments[1]||arguments[1];n.prev=n.current,n.current=t;let{delta:i,timestamp:a}=r.frameData;n.lastUpdated!==a&&(n.timeDelta=i,n.lastUpdated=a,s.Wi.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.events.change&&n.events.change.notify(n.current),n.events.velocityChange&&n.events.velocityChange.notify(n.getVelocity()),e&&n.events.renderRequest&&n.events.renderRequest.notify(n.current)},this.scheduleVelocityCheck=()=>s.Wi.postRender(this.velocityCheck),this.velocityCheck=t=>{let{timestamp:e}=t;e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=o(this.current),this.owner=e.owner}}function c(t,e){return new u(t,e)}},87325:function(t,e,n){n.d(e,{$:function(){return s}});var r=n(18859);let s={test:(0,n(42702).i)("#"),parse:function(t){let e="",n="",r="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),r=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),r=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,r+=r,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}},transform:r.m.transform}},92943:function(t,e,n){n.d(e,{J:function(){return o}});var r=n(74305),s=n(27492),i=n(50796),a=n(42702);let o={test:(0,a.i)("hsl","hue"),parse:(0,a.d)("hue","saturation","lightness"),transform:t=>{let{hue:e,saturation:n,lightness:a,alpha:o=1}=t;return"hsla("+Math.round(e)+", "+s.aQ.transform((0,i.Nw)(n))+", "+s.aQ.transform((0,i.Nw)(a))+", "+(0,i.Nw)(r.Fq.transform(o))+")"}}},33964:function(t,e,n){n.d(e,{$:function(){return o}});var r=n(50796),s=n(87325),i=n(92943),a=n(18859);let o={test:t=>a.m.test(t)||s.$.test(t)||i.J.test(t),parse:t=>a.m.test(t)?a.m.parse(t):i.J.test(t)?i.J.parse(t):s.$.parse(t),transform:t=>(0,r.HD)(t)?t:t.hasOwnProperty("red")?a.m.transform(t):i.J.transform(t)}},18859:function(t,e,n){n.d(e,{m:function(){return c}});var r=n(59111),s=n(74305),i=n(50796),a=n(42702);let o=t=>(0,r.u)(0,255,t),u={...s.Rx,transform:t=>Math.round(o(t))},c={test:(0,a.i)("rgb","red"),parse:(0,a.d)("red","green","blue"),transform:t=>{let{red:e,green:n,blue:r,alpha:a=1}=t;return"rgba("+u.transform(e)+", "+u.transform(n)+", "+u.transform(r)+", "+(0,i.Nw)(s.Fq.transform(a))+")"}}},42702:function(t,e,n){n.d(e,{d:function(){return i},i:function(){return s}});var r=n(50796);let s=(t,e)=>n=>!!((0,r.HD)(n)&&r.mj.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),i=(t,e,n)=>s=>{if(!(0,r.HD)(s))return s;let[i,a,o,u]=s.match(r.KP);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(o),alpha:void 0!==u?parseFloat(u):1}}},22779:function(t,e,n){n.d(e,{h:function(){return u}});var r=n(15636),s=n(50796);let i=new Set(["brightness","contrast","saturate","opacity"]);function a(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=n.match(s.KP)||[];if(!r)return t;let a=n.replace(r,""),o=i.has(e)?1:0;return r!==n&&(o*=100),e+"("+o+a+")"}let o=/([a-z-]*)\(.*?\)/g,u={...r.P,getAnimatableNone:t=>{let e=t.match(o);return e?e.map(a).join(" "):t}}},15636:function(t,e,n){n.d(e,{P:function(){return m},V:function(){return f}});var r=n(37249),s=n(44439),i=n(33964),a=n(74305),o=n(50796);let u={regex:r.Xp,countKey:"Vars",token:"${v}",parse:s.Z},c={regex:o.dA,countKey:"Colors",token:"${c}",parse:i.$.parse},h={regex:o.KP,countKey:"Numbers",token:"${n}",parse:a.Rx.parse};function l(t,e){let{regex:n,countKey:r,token:s,parse:i}=e,a=t.tokenised.match(n);a&&(t["num"+r]=a.length,t.tokenised=t.tokenised.replace(n,s),t.values.push(...a.map(i)))}function f(t){let e=t.toString(),n={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return n.value.includes("var(--")&&l(n,u),l(n,c),l(n,h),n}function p(t){return f(t).values}function d(t){let{values:e,numColors:n,numVars:r,tokenised:s}=f(t),a=e.length;return t=>{let e=s;for(let s=0;s<a;s++)e=s<r?e.replace(u.token,t[s]):s<r+n?e.replace(c.token,i.$.transform(t[s])):e.replace(h.token,(0,o.Nw)(t[s]));return e}}let v=t=>"number"==typeof t?0:t,m={test:function(t){var e,n;return isNaN(t)&&(0,o.HD)(t)&&((null===(e=t.match(o.KP))||void 0===e?void 0:e.length)||0)+((null===(n=t.match(o.dA))||void 0===n?void 0:n.length)||0)>0},parse:p,createTransformer:d,getAnimatableNone:function(t){let e=p(t);return d(t)(e.map(v))}}},74305:function(t,e,n){n.d(e,{Fq:function(){return i},Rx:function(){return s},bA:function(){return a}});var r=n(59111);let s={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},i={...s,transform:t=>(0,r.u)(0,1,t)},a={...s,default:1}},27492:function(t,e,n){n.d(e,{$C:function(){return h},RW:function(){return i},aQ:function(){return a},px:function(){return o},vh:function(){return u},vw:function(){return c}});var r=n(50796);let s=t=>({test:e=>(0,r.HD)(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>"".concat(e).concat(t)}),i=s("deg"),a=s("%"),o=s("px"),u=s("vh"),c=s("vw"),h={...a,parse:t=>a.parse(t)/100,transform:t=>a.transform(100*t)}},50796:function(t,e,n){n.d(e,{HD:function(){return o},KP:function(){return s},Nw:function(){return r},dA:function(){return i},mj:function(){return a}});let r=t=>
1Math.round(1e5*t)/1e5,s=/(-)?([\d]*\.?[\d])+/g,i=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,a=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function o(t){return"string"==typeof t}},39593:function(t,e,n){n.d(e,{L:function(){return s}});var r=n(23999);function s(t){return!!((0,r.i)(t)&&t.add)}},23999:function(t,e,n){n.d(e,{i:function(){return r}});let r=t=>!!(t&&t.getVelocity)},84364:function(t,e,n){n.d(e,{b:function(){return i}});var r=n(4581),s=n(23999);function i(t){let e=(0,s.i)(t)?t.get():t;return(0,r.p)(e)?e.toValue():e}}}]);

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.