!function(){var t={2283:function(t,e,n){},2049:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i=()=>!document.getElementById("octane-ai__ads")},3496:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n("7522"),r=n("5235"),o={isFbVisible:i.default,scriptLoader:r.default}},7522:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i=t=>["clientWidth","clientHeight"].map(e=>t[e]).every(t=>t>0)},5235:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n("2028"),r=n("2049"),o=({onSuccess:t,onError:e},n=`${i.default.octaneDomain}/ads.js`)=>{let o=document.createElement("script");o.async=!0,o.src=n,o.onerror=t=>e(t),o.onload=n=>(0,r.default)()?e():t(n),document.getElementsByTagName("head")[0].appendChild(o)}},2028:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return r}});let i=JSON.parse(atob("eyJwYWdlSWQiOm51bGwsImZiQXBwSWQiOiIxMDQ5MzI4Mzk4NDcwMTA4IiwiZXhpdEludGVudCI6eyJlbmFibGVkIjpmYWxzZSwicGF5bG9hZCI6ZmFsc2V9LCJ1c2VfdGFyZ2V0aW5nIjpmYWxzZSwiYWRkVG9DYXJ0UG9wdXAiOnsiZW5hYmxlZCI6ZmFsc2UsInBheWxvYWQiOmZhbHNlfSwiYm90SWQiOiI1NmFrNTY5cWZtZmNjYjFjIiwib2N0YW5lRG9tYWluIjoiaHR0cHM6XC9cL2FwcC5vY3RhbmVhaS5jb20iLCJkaXNjb3VudFBvcHVwIjp7ImVuYWJsZWQiOmZhbHNlLCJwYXlsb2FkIjpmYWxzZX0sImFkZFRvQ2FydENoZWNrYm94Ijp7ImVuYWJsZWQiOmZhbHNlLCJwYXlsb2FkIjp7InByZXZlbnRfcmVkaXJlY3QiOiJmYWxzZSIsInN1YkhlYWRsaW5lVGV4dCI6IlNlbmQgbWUgcHVyY2hhc2UgdXBkYXRlcyBvbiBNZXNzZW5nZXIiLCJzdWJIZWFkbGluZSI6dHJ1ZSwic2tpbiI6ImxpZ2h0IiwiaGVhZGxpbmUiOmZhbHNlLCJpZnJhbWVfY3NzIjpudWxsLCJlbWJlZF9zZWxlY3RvciI6bnVsbCwidGhlbWUiOiJtaW5pbWFsIiwiZm9ybV9zZWxlY3RvciI6bnVsbCwicHJlY2hlY2tlZCI6InRydWUiLCJ0eXBlIjoibm9uZSIsImNzcyI6bnVsbCwiaGVhZGxpbmVUZXh0IjoiIiwiYnV0dG9uX3NlbGVjdG9yIjpudWxsLCJlbWJlZF9wb3NpdGlvbiI6ImFwcGVuZCIsInJlZiI6ImV5SmhiR2NpT2lKSVV6STFOaUlzSW5SNWNDSTZJa3BYVkNKOS5leUpoZFdRaU9pSTFObUZyTlRZNWNXWnRabU5qWWpGaklpd2lkR2QwSWpwYkltRmtaSFJ2WTJGeWRHTm9aV05yWW05NEwyVnVkSEo1SWl4N2ZWMTkuanZ2N0JudmhHMVpxSnU1NThUbHE2Q1pKWGxvaTlobE5hOVdqZTdSTzUyVSIsImRpc2NvdW50Q29kZSI6bnVsbCwiY2VudGVyQWxpZ24iOiJmYWxzZSIsImZvcm1fcHJvY2Vzc2luZyI6ImF1dG8iLCJ0aGVtZURhdGEiOnsiaGVhZGxpbmVDb2xvciI6IiMzMzMzMzMiLCJzdWJIZWFkbGluZUNvbG9yIjoiIzZjNmM2YyJ9fX19"));window.OctaneConfig=i;var r=i},1329:function(t,e,n){"use strict";n.r(e),n("4236");var i=n("5380"),r=n.n(i);n("4320");var o=n("1604"),a=n.n(o);n("9405"),n("5725"),n("7250"),n("6641"),n("347");window.__OctaneAIcomponents={instances:[],get(t){return a(this.instances,{uid:t})},push(t){this.instances.push(t)},remove(t){this.instances=r(this.instances,{uid:t})}}},7130:function(t,e,n){"use strict";n.r(e),n.d(e,{generateUserId:function(){return m},generateUserRef:function(){return g},default:function(){return y}});var i=n("4364"),r=n.n(i),o=n("571"),a=n.n(o),s=n("5657"),u=n.n(s);let l={user:"octane/shopify/uid",linktrack:"__octane_ltrk",optinstatus:"octane/optin",atcpopup:"octane/addtocartpopup",atcpopupinst:"octane/addtocartpopup/inst",discountpopup:"octane/discount",discountpopupinst:"octane/discount/inst",orderoptin:"octane/order",exitintent:"octane/exitintent",exitintentinst:"octane/exitintent/inst",quiz:"octane/quiz",sharedresult:"octane/sharedresult"},c=t=>l[t],d={getProp:t=>c(t),set(t,e=1,n={}){let{optin:i,expires:o=3650,...a}=n;i&&this.setOptIn(),r.set(c(t),e,{expires:o,domain:`.${window.location.hostname}`},a)},get:t=>r.get(c(t)),has(t){return!!this.get(t)},hasMany(t){return a(t.map(this.get))},isOptedIn(){return this.has("optinstatus")},setOptIn(t){return t&&this.set(t,1),this.set("optinstatus",1)},hasCompletedQuiz(t){let e=this.get("quiz");if(!e)return!1;let n=JSON.parse(e);return!!n[t]},completedQuiz(t){let e=this.get("quiz");!e&&(e="{}");let n=JSON.parse(e);return n[t]=1,this.set("quiz",JSON.stringify(n))}},p=()=>((1+Math.random())*65536|0).toString(16).substring(1),h=(t=10)=>{let e="";if(!t||t<1)return"";for(;t--;)e+=p();return e},f=!1,m=()=>{let t=d.get("user");return!t&&(t=h(30)),u(t," expires")&&(t=t.split(" expires")[0]),!f&&(d.set("user",t,{expires:3650}),f=!0),t},g=()=>{let t=h(30),e=m();return`fbplugin-${e}-${t}`};var y=d},4649:function(t,e,n){"use strict";n.r(e),n.d(e,{Styles:function(){return i.default}}),n.d(e,{Cookies:function(){return o.default}}),n.d(e,{Store:function(){return r.default}}),n.d(e,{generateUserId:function(){return o.generateUserId}}),n.d(e,{generateUserRef:function(){return o.generateUserRef}});var i=n("9814"),r=n("347"),o=n("7130");n("1329")},347:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return h}});var i=n("3961"),r=n.n(i),o=n("3446"),a=n.n(o),s=n("7090"),u=n("7130"),l=n("2028"),c=n("6627"),d=n.n(c);class p{constructor(t,e){this.cb=t,this.start()}start(){this.active=!0}stop(){this.active=!1}execute(t,e){this.active&&this.cb(t,e)}}var h=function(t,e){let n=[];return{set:function(e){let i={...t};t={...i,...e},n.forEach(e=>e.execute(t,i))},get:function(e){return e?r(t,e):t},subscribe:function(t){let e=new p(t);return n.push(e),e},dispatch:function(t,n){if(a(e[t]))return e[t](this,n)},state:t}}({activeModal:!1,token:null,userRef:(0,u.generateUserId)(),isOptedIn:(0,u.default).isOptedIn(),pageId:l.default.pageId,appId:l.default.fbAppId,botId:l.default.botId,userData:{country_code:"US"},waitingForUserInfo:!1},{token:(t,e)=>{window.Shopify&&(0,s.$get)("/cart.js").then(({token:e})=>t.set({token:e}))},checkOptin:(t,e)=>new Promise((e,n)=>{if((0,u.default).isOptedIn()){t.set({isOptedIn:!0}),e(t.get());return}(0,s.$post)(`${l.default.octaneDomain}/user_check/${l.default.botId}`,{user_ref:t.state.userRef},{timeout:1e3}).then(({is_opted:n})=>{t.set({isOptedIn:n}),e(t.get())},()=>{t.set({isOptedIn:!1}),n(t.get())})}),getUserInfo:t=>new Promise((e,n)=>{t.set({waitingForUserInfo:!0});let i={user_ref:(0,u.generateUserId)(),include_country_code:!0};(0,s.$post)(`${l.default.octaneDomain}/get_user_info/${l.default.botId}`,i).then(i=>{i?(t.set({userData:{email:i.email,first_name:i.first_name,last_name:i.last_name,phone:i.phone,country_code:i.country_code,is_user_eu:i.is_user_eu}}),e(t.get())):n(t.get()),t.set({waitingForUserInfo:!1})},e=>{n(t.get()),t.set({waitingForUserInfo:!1})})}),getPopUps:t=>new Promise((t,e)=>{let n=d().format("YYYY-MM-DD"),i=d().utc().format("HH:mm:ss"),r=`${n}T${i}`;(0,s.$post)(`${l.default.octaneDomain}/${l.default.botId}/pop_ups`,{user_ref:(0,u.generateUserId)(),localdate:r}).then(e=>{t(e)},t=>{e(t)})})})},9814:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return i}});var i=new class t{constructor(){let t="octane-styles",e=document.getElementById(t);!e&&((e=document.createElement("style")).type="text/css",e.id=t,document.head.appendChild(e)),this.node=e}append(t){t&&this.node.appendChild(document.createTextNode(t))}}},9154:function(t,e,n){"use strict";n.r(e),n.d(e,{AttributeCartOrCheckoutPlugin:function(){return l}});var i=n("3961"),r=n.n(i),o=n("2028"),a=n("5115"),s=n("4294"),u=n("4649");class l extends s.default{pluginName="attributecart";ATTRIBUTED_TOKENS={};constructor(){super(),(0,u.Store).subscribe(this.attributeCart),(0,u.Store).subscribe(this.attributeCheckout)}attributeCart=({token:t})=>{let e=r(o.default,"octaneDomain"),n=r(o.default,"botId");if(!e||!t||this.ATTRIBUTED_TOKENS[t])return;let i=`${e}/attribute_cart/${n}`;this.ATTRIBUTED_TOKENS[t]=!0;let s={token:t,user_ref:this.userRef};navigator.sendBeacon?(this.log("Sending using sendBeacon"),navigator.sendBeacon(i,JSON.stringify(s))):(this.log("Sending using $post"),(0,a.$post)(i,s)),this.log(`Attribute cart - ${t} ${this.userRef}`)};attributeCheckout=({checkout_token:t})=>{let e=r(o.default,"octaneDomain"),n=r(o.default,"botId");if(!e||!t||this.ATTRIBUTED_TOKENS[t])return;let i=`${e}/attribute_checkout/${n}`;this.ATTRIBUTED_TOKENS[t]=!0;let s={checkout_token:t,user_ref:this.userRef};navigator.sendBeacon?(this.log("Sending using sendBeacon"),navigator.sendBeacon(i,JSON.stringify(s))):(this.log("Sending using $post"),(0,a.$post)(i,s)),this.log(`Attribute checkout - ${t} ${this.userRef}`)};isRendered(){return!0}destroy(){this.stopCartObserve()}}},1085:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n("2028");let{payload:{themeData:r}}=i.default.addToCartCheckbox,o=` .octane--info { margin: 0; font-family: sans-serif; font-size: 12px; color: ${r.subHeadlineColor} } .center-text { text-align: center; } .center-text p { padding-left: 0; } .octane—skin__dark { color: #e0e0e0; } .octane--wrapper { margin-left: -20px; } .octane--wrapper--withbox { margin-left: -8px; } .octane--theme-wrapper { display: inline-block; ${r.bottomBoxBg?`background: ${r.bottomBoxBg}`:""}; ${r.borderColor?`border: 1px solid ${r.borderColor}`:""}; } .octane--checkbox-content { padding-left: 12px; ${r.topBoxBg?`background: ${r.topBoxBg}`:""}; ${r.borderColor?`border-bottom: 1px solid ${r.borderColor}`:""}; } .octane--checkbox-headline { font-size: 14px; line-height: 20px; font-weight: 600; margin: 0 0 5px 0; font-family: sans-serif; color: ${r.headlineColor} } .octane--theme-withbox { max-width: 100%; max-height: 100%; } .octane--theme-withbox .octane--checkbox-content { padding: 12px; margin-bottom: 12px; /* [1. Fix overlapping issue] */ } .octane--theme-withbox iframe { margin-top: -12px; /* [1. Fix overlapping issue] */ } `;var a=o},9607:function(t,e,n){"use strict";n.r(e),n.d(e,{CheckboxPlugin:function(){return i.default}});var i=n("9513")},9513:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return x}});var i=n("4365"),r=n.n(i),o=n("2028"),a=n("6641"),s=n("4649"),u=n("3496"),l=n("1076"),c=n("4294"),d=n("1085");let{payload:{embed_position:p,embed_selector:h,centerAlign:f,skin:m,iframe_css:g,prechecked:y,theme:v},payload:b}=o.default.addToCartCheckbox;class _ extends c.default{pluginName="addtocartcheckbox";constructor(t){super(),this._parent=t,this.timeouts=[],this.isInitialized=!1,this.iframe=document.createElement("iframe"),this.$iframe=r(this.iframe),this.iframe.frameBorder=0,this.iframe.scrolling="no",this.iframe.id=`octane-iframe-${this.uid}`;let e="octane-center-align",n=this.getWrapper(),i=document.createElement("div");i.className="octane-plugin__checkbox octane--visually-hidden",i.id=`octane-iframe-wrapper-${this.uid}`,"true"===f&&(i.classList.add(e),this.iframe.classList.add(e)),"withbox"===v&&i.classList.add("octane-plugin__checkbox--withbox"),i.appendChild(this.iframe),this.log("Wrapper",n),n[p||"append"](i);try{this.setIframe()}catch(t){this.log(`Error initializing iframe, ${t}`)}this.callback=(0,s.Store).subscribe(this.getCallback),this.dispatch("init")}get props(){return this._parent.state}isRendered(){let t=document.querySelector(`#octane-iframe-${this.uid}`);return!!(t&&t.contentDocument.getElementById("fb-messenger-checkbox"))}getWrapper(){if(h)return this.props.form.find(h).length?this.props.form.find(h):r(h);return this.props.buttons.last().parent()}destroy(){super.destroy(),this.timeouts.forEach(t=>clearTimeout(t));let t=document.querySelector(`#octane-iframe-wrapper-${this.uid}`);t&&t.remove(),this.callback&&this.callback.stop()}recreate(){return this.destroy(),new _(this._parent)}setIframe(){let t=this.iframe.contentDocument,e=this.iframe.contentWindow;if(t.open(),e.octane_formobj=this,t.write(this.generateIframe()),t.close(),!window.MutationObserver)return;let n=t.getElementById("target"),i=new MutationObserver(t=>{let e=this.$iframe.parents(":hidden").toArray(),i=[];e.forEach((t,e)=>{let n=t.getAttribute("style");i[e]=n,t.setAttribute("style",`${n}; display: block !important;`)}),this.iframe.height=n.scrollHeight,this.iframe.width=n.scrollWidth,e.forEach((t,e)=>t.setAttribute("style",i[e]||""))});i.observe(n,{attributes:!0,childList:!0,subtree:!0,characterData:!1})}MAX_RETRIES=250;RETRY_TIMEOUT=50;showPlugin=t=>{this._tryCount=this._tryCount?this._tryCount+1:1,(0,u.default).isFbVisible(t.getElementById("fb-messenger-checkbox"))?(document.querySelector(`#octane-iframe-wrapper-${this.uid}`).classList.remove("octane--visually-hidden"),(0,l.default).log({widget:this.pluginName,event:"view"}),this.dispatch("view")):this._tryCount<=this.MAX_RETRIES&&this.timeouts.push(setTimeout(()=>this.showPlugin(t),this.RETRY_TIMEOUT))};generateIframe=()=>`
${(0,a.encodeText)(e)}
`:""};generateHeadlineText=()=>{let{headline:t,headlineText:e}=b;return t&&this.checkDoesTextExist(e)?`${(0,a.encodeText)(e)}
`:""};generateFBCheckbox=()=>`0&&tk(a,!u&&tw(t,"script")),s},cleanData:function(t){for(var e,n,i,r=k.event.special,o=0;void 0!==(n=t[o]);o++)if(te(n)){if(e=n[ti.expando]){if(e.events)for(i in e.events)r[i]?k.event.remove(n,i):k.removeEvent(n,i,e.handle);n[ti.expando]=void 0}n[tr.expando]&&(n[tr.expando]=void 0)}}}),k.fn.extend({detach:function(t){return tF(this,t,!0)},remove:function(t){return tF(this,t)},text:function(t){return Q(this,function(t){return void 0===t?k.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=t)})},null,t,arguments.length)},append:function(){return tY(this,arguments,function(t){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&tA(this,t).appendChild(t)})},prepend:function(){return tY(this,arguments,function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=tA(this,t);e.insertBefore(t,e.firstChild)}})},before:function(){return tY(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this)})},after:function(){return tY(this,arguments,function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)})},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(k.cleanData(tw(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map(function(){return k.clone(this,t,e)})},html:function(t){return Q(this,function(t){var e=this[0]||{},n=0,i=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!t$.test(t)&&!tx[(tb.exec(t)||["",""])[1].toLowerCase()]){t=k.htmlPrefilter(t);try{for(;nk.inArray(this,t)&&(k.cleanData(tw(this)),n&&n.replaceChild(e,this))},t)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){k.fn[t]=function(t){for(var n,i=[],r=k(t),o=r.length-1,a=0;a<=o;a++)n=a===o?this:this.clone(!0),k(r[a])[e](n),s.apply(i,n.get());return this.pushStack(i)}});var tL=RegExp("^("+tu+")(?!px)[a-z%]+$","i"),tU=/^--/,tH=function(e){var n=e.ownerDocument.defaultView;return(!n||!n.opener)&&(n=t),n.getComputedStyle(e)},tB=function(t,e,n){var i,r,o={};for(r in e)o[r]=t.style[r],t.style[r]=e[r];for(r in i=n.call(t),e)t.style[r]=o[r];return i},tq=RegExp(tc.join("|"),"i");function tz(t,e,n){var i,r,o,a,s=tU.test(e),u=t.style;return(n=n||tH(t))&&(a=n.getPropertyValue(e)||n[e],s&&a&&(a=a.replace(E,"$1")||void 0),""===a&&!tp(t)&&(a=k.style(t,e)),!f.pixelBoxStyles()&&tL.test(a)&&tq.test(e)&&(i=u.width,r=u.minWidth,o=u.maxWidth,u.minWidth=u.maxWidth=u.width=a,a=n.width,u.width=i,u.minWidth=r,u.maxWidth=o)),void 0!==a?a+"":a}function tW(t,e){return{get:function(){if(t()){delete this.get;return}return(this.get=e).apply(this,arguments)}}}!function(){function e(){if(c){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",c.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",td.appendChild(l).appendChild(c);var e=t.getComputedStyle(c);i="1%"!==e.top,u=12===n(e.marginLeft),c.style.right="60%",a=36===n(e.right),r=36===n(e.width),c.style.position="absolute",o=12===n(c.offsetWidth/3),td.removeChild(l),c=null}}function n(t){return Math.round(parseFloat(t))}var i,r,o,a,s,u,l=y.createElement("div"),c=y.createElement("div");c.style&&(c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===c.style.backgroundClip,k.extend(f,{boxSizingReliable:function(){return e(),r},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),u},scrollboxSize:function(){return e(),o},reliableTrDimensions:function(){var e,n,i,r;return null==s&&(e=y.createElement("table"),n=y.createElement("tr"),i=y.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",td.appendChild(e).appendChild(n).appendChild(i),s=parseInt((r=t.getComputedStyle(n)).height,10)+parseInt(r.borderTopWidth,10)+parseInt(r.borderBottomWidth,10)===n.offsetHeight,td.removeChild(e)),s}}))}();var tV=["Webkit","Moz","ms"],tG=y.createElement("div").style,tX={};function tQ(t){var e=k.cssProps[t]||tX[t];return e?e:t in tG?t:tX[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=tV.length;n--;)if((t=tV[n]+e)in tG)return t}(t)||t}var tK=/^(none|table(?!-c[ea]).+)/,tJ={position:"absolute",visibility:"hidden",display:"block"},tZ={letterSpacing:"0",fontWeight:"400"};function t0(t,e,n){var i=tl.exec(e);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):e}function t1(t,e,n,i,r,o){var a="width"===e?1:0,s=0,u=0,l=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(l+=k.css(t,n+tc[a],!0,r)),i?("content"===n&&(u-=k.css(t,"padding"+tc[a],!0,r)),"margin"!==n&&(u-=k.css(t,"border"+tc[a]+"Width",!0,r))):(u+=k.css(t,"padding"+tc[a],!0,r),"padding"!==n?u+=k.css(t,"border"+tc[a]+"Width",!0,r):s+=k.css(t,"border"+tc[a]+"Width",!0,r));return!i&&o>=0&&(u+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-u-s-.5))||0),u+l}function t2(t,e,n){var i=tH(t),r=(!f.boxSizingReliable()||n)&&"border-box"===k.css(t,"boxSizing",!1,i),o=r,a=tz(t,e,i),s="offset"+e[0].toUpperCase()+e.slice(1);if(tL.test(a)){if(!n)return a;a="auto"}return(!f.boxSizingReliable()&&r||!f.reliableTrDimensions()&&T(t,"tr")||"auto"===a||!parseFloat(a)&&"inline"===k.css(t,"display",!1,i))&&t.getClientRects().length&&(r="border-box"===k.css(t,"boxSizing",!1,i),(o=s in t)&&(a=t[s])),(a=parseFloat(a)||0)+t1(t,e,n||(r?"border":"content"),o,i,a)+"px"}function t6(t,e,n,i,r){return new t6.prototype.init(t,e,n,i,r)}k.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=tz(t,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(t,e,n,i){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var r,o,a,s=tt(e),u=tU.test(e),l=t.style;if(!u&&(e=tQ(s)),a=k.cssHooks[e]||k.cssHooks[s],void 0!==n){if("string"==(o=typeof n)&&(r=tl.exec(n))&&r[1]&&(n=tm(t,e,r),o="number"),null==n||n!=n)return;"number"===o&&!u&&(n+=r&&r[3]||(k.cssNumber[s]?"":"px")),!f.clearCloneStyle&&""===n&&0===e.indexOf("background")&&(l[e]="inherit"),(!a||!("set"in a)||void 0!==(n=a.set(t,n,i)))&&(u?l.setProperty(e,n):l[e]=n)}else return a&&"get"in a&&void 0!==(r=a.get(t,!1,i))?r:l[e]}},css:function(t,e,n,i){var r,o,a,s=tt(e);return(!tU.test(e)&&(e=tQ(s)),(a=k.cssHooks[e]||k.cssHooks[s])&&"get"in a&&(r=a.get(t,!0,n)),void 0===r&&(r=tz(t,e,i)),"normal"===r&&e in tZ&&(r=tZ[e]),""===n||n)?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),k.each(["height","width"],function(t,e){k.cssHooks[e]={get:function(t,n,i){if(n)return!tK.test(k.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?t2(t,e,i):tB(t,tJ,function(){return t2(t,e,i)})},set:function(t,n,i){var r,o,a=tH(t),s=!f.scrollboxSize()&&"absolute"===a.position,u=(s||i)&&"border-box"===k.css(t,"boxSizing",!1,a),l=i?t1(t,e,i,u,a):0;return u&&s&&(l-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(a[e])-t1(t,e,"border",!1,a)-.5)),l&&(r=tl.exec(n))&&"px"!==(r[3]||"px")&&(t.style[e]=n,n=k.css(t,e)),t0(t,n,l)}}}),k.cssHooks.marginLeft=tW(f.reliableMarginLeft,function(t,e){if(e)return(parseFloat(tz(t,"marginLeft"))||t.getBoundingClientRect().left-tB(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),k.each({margin:"",padding:"",border:"Width"},function(t,e){k.cssHooks[t+e]={expand:function(n){for(var i=0,r={},o="string"==typeof n?n.split(" "):[n];i<4;i++)r[t+tc[i]+e]=o[i]||o[i-2]||o[0];return r}},"margin"!==t&&(k.cssHooks[t+e].set=t0)}),k.fn.extend({css:function(t,e){return Q(this,function(t,e,n){var i,r,o={},a=0;if(Array.isArray(e)){for(i=tH(t),r=e.length;a