var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20var T4SThemeSP={},isStorageSpSession=!1,isStorageSpSessionAll=!1,isStorageSpdLocal=!1,isStorageSpdLocalAll=!1,T4Sconfigs=window.T4Sconfigs,IsDesignMode=window.T4Srequest.design_mode,isThemeRTL="rtl"==document.documentElement.getAttribute("dir");T4stt_var={HoverInterval:35,HoverTimeout:150,dragThreshold:10,prevOnHref:!1},function(t,e){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=t.document?e(t,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return e(t)}:e(t)}("undefined"!=typeof window?window:this,function(t,e){"use strict";function i(t,e,i){var n,o,s=(i=i||ht).createElement("script");if(s.text=t,e)for(n in dt)(o=e[n]||e.getAttribute&&e.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function n(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?nt[ot.call(t)]||"object":typeof t}function o(t){var e=!!t&&"length"in t&&t.length,i=n(t);return!ct(t)&&!ut(t)&&("array"===i||0===e||"number"==typeof e&&0S.cacheLength&&delete e[t.shift()],e[i+" "]=n}}function n(t){return t[O]=!0,t}function o(t){var e=A.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function s(t,e){for(var i=t.split("|"),n=i.length;n--;)S.attrHandle[i[n]]=e}function r(t,e){var i=e&&t,n=i&&1===t.nodeType&&1===e.nodeType&&t.sourceIndex-e.sourceIndex;if(n)return n;if(i)for(;i=i.nextSibling;)if(i===e)return-1;return t?1:-1}function a(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function l(t){return function(e){var i=e.nodeName.toLowerCase();return("input"===i||"button"===i)&&e.type===t}}function c(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ct(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function u(t){return n(function(e){return e=+e,n(function(i,n){for(var o,s=t([],i.length,e),r=s.length;r--;)i[o=s[r]]&&(i[o]=!(n[o]=i[o]))})})}function h(t){return t&&void 0!==t.getElementsByTagName&&t}function d(){}function f(t){for(var e=0,i=t.length,n="";e+~]|"+et+")"+et+"*"),ct=new RegExp(et+"|>"),ut=new RegExp(ot),ht=new RegExp("^"+it+"$"),dt={ID:new RegExp("^#("+it+")"),CLASS:new RegExp("^\\.("+it+")"),TAG:new RegExp("^("+it+"|[*])"),ATTR:new RegExp("^"+nt),PSEUDO:new RegExp("^"+ot),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+et+"*(even|odd|(([+-]|)(\\d*)n|)"+et+"*(?:([+-]|)"+et+"*(\\d+)|))"+et+"*\\)|)","i"),bool:new RegExp("^(?:"+tt+")$","i"),needsContext:new RegExp("^"+et+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+et+"*((?:-\\d)?\\d*)"+et+"*\\)|)(?=[^-]|$)","i")},ft=/HTML$/i,pt=/^(?:input|select|textarea|button)$/i,gt=/^h\d$/i,mt=/^[^{]+\{\s*\[native \w/,vt=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,yt=/[+~]/,bt=new RegExp("\\\\[\\da-fA-F]{1,6}"+et+"?|\\\\([^\\r\\n\\f])","g"),xt=function(t,e){var i="0x"+t.slice(1)-65536;return e||(i<0?String.fromCharCode(i+65536):String.fromCharCode(i>>10|55296,1023&i|56320))},St=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,wt=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},Tt=function(){D()},Ct=p(function(t){return!0===t.disabled&&"fieldset"===t.nodeName.toLowerCase()},{dir:"parentNode",next:"legend"});try{J.apply(X=K.call(q.childNodes),q.childNodes),X[q.childNodes.length].nodeType}catch(b){J={apply:X.length?function(t,e){Q.apply(t,K.call(e))}:function(t,e){for(var i=t.length,n=0;t[i++]=e[n++];);t.length=i-1}}}for(b in x=e.support={},T=e.isXML=function(t){var e=t&&t.namespaceURI,i=t&&(t.ownerDocument||t).documentElement;return!ft.test(e||i&&i.nodeName||"HTML")},D=e.setDocument=function(t){var e,i,n=t?t.ownerDocument||t:q;return n!=A&&9===n.nodeType&&n.documentElement&&(L=(A=n).documentElement,z=!T(A),q!=A&&(i=A.defaultView)&&i.top!==i&&(i.addEventListener?i.addEventListener("unload",Tt,!1):i.attachEvent&&i.attachEvent("onunload",Tt)),x.scope=o(function(t){return L.appendChild(t).appendChild(A.createElement("div")),void 0!==t.querySelectorAll&&!t.querySelectorAll(":scope fieldset div").length}),x.attributes=o(function(t){return t.className="i",!t.getAttribute("className")}),x.getElementsByTagName=o(function(t){return t.appendChild(A.createComment("")),!t.getElementsByTagName("*").length}),x.getElementsByClassName=mt.test(A.getElementsByClassName),x.getById=o(function(t){return L.appendChild(t).id=O,!A.getElementsByName||!A.getElementsByName(O).length}),x.getById?(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){return t.getAttribute("id")===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i=e.getElementById(t);return i?[i]:[]}}):(S.filter.ID=function(t){var e=t.replace(bt,xt);return function(t){var i=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return i&&i.value===e}},S.find.ID=function(t,e){if(void 0!==e.getElementById&&z){var i,n,o,s=e.getElementById(t);if(s){if((i=s.getAttributeNode("id"))&&i.value===t)return[s];for(o=e.getElementsByName(t),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===t)return[s]}return[]}}),S.find.TAG=x.getElementsByTagName?function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):x.qsa?e.querySelectorAll(t):void 0}:function(t,e){var i,n=[],o=0,s=e.getElementsByTagName(t);if("*"===t){for(;i=s[o++];)1===i.nodeType&&n.push(i);return n}return s},S.find.CLASS=x.getElementsByClassName&&function(t,e){if(void 0!==e.getElementsByClassName&&z)return e.getElementsByClassName(t)},M=[],N=[],(x.qsa=mt.test(A.querySelectorAll))&&(o(function(t){var e;L.appendChild(t).innerHTML="",t.querySelectorAll("[msallowcapture^='']").length&&N.push("[*^$]="+et+"*(?:''|\"\")"),t.querySelectorAll("[selected]").length||N.push("\\["+et+"*(?:value|"+tt+")"),t.querySelectorAll("[id~="+O+"-]").length||N.push("~="),(e=A.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||N.push("\\["+et+"*name"+et+"*="+et+"*(?:''|\"\")"),t.querySelectorAll(":checked").length||N.push(":checked"),t.querySelectorAll("a#"+O+"+*").length||N.push(".#.+[+~]"),t.querySelectorAll("\\\f"),N.push("[\\r\\n\\f]")}),o(function(t){t.innerHTML="";var e=A.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&N.push("name"+et+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&N.push(":enabled",":disabled"),L.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&N.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),N.push(",.*:")})),(x.matchesSelector=mt.test(j=L.matches||L.webkitMatchesSelector||L.mozMatchesSelector||L.oMatchesSelector||L.msMatchesSelector))&&o(function(t){x.disconnectedMatch=j.call(t,"*"),j.call(t,"[s!='']:x"),M.push("!=",ot)}),N=N.length&&new RegExp(N.join("|")),M=M.length&&new RegExp(M.join("|")),e=mt.test(L.compareDocumentPosition),W=e||mt.test(L.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return P=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i||(1&(i=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!x.sortDetached&&e.compareDocumentPosition(t)===i?t==A||t.ownerDocument==q&&W(q,t)?-1:e==A||e.ownerDocument==q&&W(q,e)?1:I?Z(I,t)-Z(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return P=!0,0;var i,n=0,o=t.parentNode,s=e.parentNode,a=[t],l=[e];if(!o||!s)return t==A?-1:e==A?1:o?-1:s?1:I?Z(I,t)-Z(I,e):0;if(o===s)return r(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?r(a[n],l[n]):a[n]==q?-1:l[n]==q?1:0}),A},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if(D(t),x.matchesSelector&&z&&!U[i+" "]&&(!M||!M.test(i))&&(!N||!N.test(i)))try{var n=j.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){U(i,!0)}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(bt,xt),t[3]=(t[3]||t[4]||t[5]||"").replace(bt,xt),"~="===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]||e.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]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return dt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ut.test(i)&&(e=C(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(bt,xt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=R[t+" "];return e||(e=new RegExp("(^|"+et+")"+t+"("+et+"|$)"))&&R(t,function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(o){var s=e.attr(o,t);return null==s?"!="===i:!i||(s+="","="===i?s===n:"!="===i?s!==n:"^="===i?n&&0===s.indexOf(n):"*="===i?n&&-1:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;pt.filter=function(t,e,i){var n=e[0];return i&&(t=":not("+t+")"),1===e.length&&1===n.nodeType?pt.find.matchesSelector(n,t)?[n]:[]:pt.find.matches(t,pt.grep(e,function(t){return 1===t.nodeType}))},pt.fn.extend({find:function(t){var e,i,n=this.length,o=this;if("string"!=typeof t)return this.pushStack(pt(t).filter(function(){for(e=0;e)[^>]*|#([\w-]+))$/;(pt.fn.init=function(t,e,i){var n,o;if(!t)return this;if(i=i||xt,"string"==typeof t){if(!(n="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:St.exec(t))||!n[1]&&e)return!e||e.jquery?(e||i).find(t):this.constructor(e).find(t);if(n[1]){if(e=e instanceof pt?e[0]:e,pt.merge(this,pt.parseHTML(n[1],e&&e.nodeType?e.ownerDocument||e:ht,!0)),bt.test(n[1])&&pt.isPlainObject(e))for(n in e)ct(this[n])?this[n](e[n]):this.attr(n,e[n]);return this}return(o=ht.getElementById(n[2]))&&(this[0]=o,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):ct(t)?void 0!==i.ready?i.ready(t):t(pt):pt.makeArray(t,this)}).prototype=pt.fn,xt=pt(ht);var wt=/^(?:parents|prev(?:Until|All))/,Tt={children:!0,contents:!0,next:!0,prev:!0};pt.fn.extend({has:function(t){var e=pt(t,this),i=e.length;return this.filter(function(){for(var t=0;t\x20\t\r\n\f]*)/i,Gt=/^$|^module$|\/(?:java|ecma)script/i;Bt=ht.createDocumentFragment().appendChild(ht.createElement("div")),(Ft=ht.createElement("input")).setAttribute("type","radio"),Ft.setAttribute("checked","checked"),Ft.setAttribute("name","t"),Bt.appendChild(Ft),lt.checkClone=Bt.cloneNode(!0).cloneNode(!0).lastChild.checked,Bt.innerHTML="",lt.noCloneChecked=!!Bt.cloneNode(!0).lastChild.defaultValue,Bt.innerHTML="",lt.option=!!Bt.lastChild;var Xt={thead:[1,"","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};Xt.tbody=Xt.tfoot=Xt.colgroup=Xt.caption=Xt.thead,Xt.th=Xt.td,lt.option||(Xt.optgroup=Xt.option=[1,""]);var Yt=/<|?\w+;/,Qt=/^([^.]*)(?:\.(.+)|)/;pt.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.get(t);if(Dt(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&pt.find.matchesSelector(Ot,o),i.guid||(i.guid=pt.guid++),(l=m.events)||(l=m.events=Object.create(null)),(r=m.handle)||(r=m.handle=function(e){return void 0!==pt&&pt.event.triggered!==e.type?pt.event.dispatch.apply(t,arguments):void 0}),c=(e=(e||"").match(Ct)||[""]).length;c--;)f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(h=pt.event.special[f]||{},f=(o?h.delegateType:h.bindType)||f,h=pt.event.special[f]||{},u=pt.extend({type:f,origType:g,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&pt.expr.match.needsContext.test(o),namespace:p.join(".")},s),(d=l[f])||((d=l[f]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,n,p,r)||t.addEventListener&&t.addEventListener(f,r)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=i.guid)),o?d.splice(d.delegateCount++,0,u):d.push(u),pt.event.global[f]=!0)},remove:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,f,p,g,m=At.hasData(t)&&At.get(t);if(m&&(l=m.events)){for(c=(e=(e||"").match(Ct)||[""]).length;c--;)if(f=g=(a=Qt.exec(e[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(h=pt.event.special[f]||{},d=l[f=(n?h.delegateType:h.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&g!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(t,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||pt.removeEvent(t,f,m.handle),delete l[f])}else for(f in l)pt.event.remove(t,f+e[c],i,n,!0);pt.isEmptyObject(l)&&At.remove(t,"handle events")}},dispatch:function(t){var e,i,n,o,s,r,a=new Array(arguments.length),l=pt.event.fix(t),c=(At.get(this,"events")||Object.create(null))[l.type]||[],u=pt.event.special[l.type]||{};for(a[0]=l,e=1;e\s*$/g;pt.extend({htmlPrefilter:function(t){return t},clone:function(t,e,i){var n,o,s,r,a,l,c,u=t.cloneNode(!0),h=qt(t);if(!(lt.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||pt.isXMLDoc(t)))for(r=y(u),n=0,o=(s=y(t)).length;n").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",i=function(t){e.remove(),i=null,t&&o("error"===t.type?404:200,t.type)}),ht.head.appendChild(e[0])},abort:function(){i&&i()}}});var Be,Fe=[],Ue=/(=)\?(?=&|$)|\?\?/;pt.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=Fe.pop()||pt.expando+"_"+Ee.guid++;return this[t]=!0,t}}),pt.ajaxPrefilter("json jsonp",function(e,i,n){var o,s,r,a=!1!==e.jsonp&&(Ue.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Ue.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=ct(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Ue,"$1"+o):!1!==e.jsonp&&(e.url+=(_e.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return r||pt.error(o+" was not called"),r[0]},e.dataTypes[0]="json",s=t[o],t[o]=function(){r=arguments},n.always(function(){void 0===s?pt(t).removeProp(o):t[o]=s,e[o]&&(e.jsonpCallback=i.jsonpCallback,Fe.push(o)),r&&ct(s)&&s(r[0]),r=s=void 0}),"script"}),lt.createHTMLDocument=((Be=ht.implementation.createHTMLDocument("").body).innerHTML="",2===Be.childNodes.length),pt.parseHTML=function(t,e,i){return"string"!=typeof t?[]:("boolean"==typeof e&&(i=e,e=!1),e||(lt.createHTMLDocument?((n=(e=ht.implementation.createHTMLDocument("")).createElement("base")).href=ht.location.href,e.head.appendChild(n)):e=ht),s=!i&&[],(o=bt.exec(t))?[e.createElement(o[1])]:(o=x([t],e,s),s&&s.length&&pt(s).remove(),pt.merge([],o.childNodes)));var n,o,s},pt.fn.load=function(t,e,i){var n,o,s,r=this,a=t.indexOf(" ");return-1").append(pt.parseHTML(t)).find(n):t)}).always(i&&function(t,e){r.each(function(){i.apply(this,s||[t.responseText,e,t])})}),this},pt.expr.pseudos.animated=function(t){return pt.grep(pt.timers,function(e){return t===e.elem}).length},pt.offset={setOffset:function(t,e,i){var n,o,s,r,a,l,c=pt.css(t,"position"),u=pt(t),h={};"static"===c&&(t.style.position="relative"),a=u.offset(),s=pt.css(t,"top"),l=pt.css(t,"left"),("absolute"===c||"fixed"===c)&&-1<(s+l).indexOf("auto")?(r=(n=u.position()).top,o=n.left):(r=parseFloat(s)||0,o=parseFloat(l)||0),ct(e)&&(e=e.call(t,i,pt.extend({},a))),null!=e.top&&(h.top=e.top-a.top+r),null!=e.left&&(h.left=e.left-a.left+o),"using"in e?e.using.call(t,h):u.css(h)}},pt.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){pt.offset.setOffset(this,t,e)});var e,i,n=this[0];return n?n.getClientRects().length?(e=n.getBoundingClientRect(),i=n.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,i,n=this[0],o={top:0,left:0};if("fixed"===pt.css(n,"position"))e=n.getBoundingClientRect();else{for(e=this.offset(),i=n.ownerDocument,t=n.offsetParent||i.documentElement;t&&(t===i.body||t===i.documentElement)&&"static"===pt.css(t,"position");)t=t.parentNode;t&&t!==n&&1===t.nodeType&&((o=pt(t).offset()).top+=pt.css(t,"borderTopWidth",!0),o.left+=pt.css(t,"borderLeftWidth",!0))}return{top:e.top-o.top-pt.css(n,"marginTop",!0),left:e.left-o.left-pt.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var t=this.offsetParent;t&&"static"===pt.css(t,"position");)t=t.offsetParent;return t||Ot})}}),pt.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,e){var i="pageYOffset"===e;pt.fn[t]=function(n){return kt(this,function(t,n,o){var s;if(ut(t)?s=t:9===t.nodeType&&(s=t.defaultView),void 0===o)return s?s[e]:t[n];s?s.scrollTo(i?s.pageXOffset:o,i?o:s.pageYOffset):t[n]=o},t,n,arguments.length)}}),pt.each(["top","left"],function(t,e){pt.cssHooks[e]=z(lt.pixelPosition,function(t,i){if(i)return i=L(t,e),te.test(i)?pt(t).position()[e]+"px":i})}),pt.each({Height:"height",Width:"width"},function(t,e){pt.each({padding:"inner"+t,content:e,"":"outer"+t},function(i,n){pt.fn[n]=function(o,s){var r=arguments.length&&(i||"boolean"!=typeof o),a=i||(!0===o||!0===s?"margin":"border");return kt(this,function(e,i,o){var s;return ut(e)?0===n.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(s=e.documentElement,Math.max(e.body["scroll"+t],s["scroll"+t],e.body["offset"+t],s["offset"+t],s["client"+t])):void 0===o?pt.css(e,i,a):pt.style(e,i,o,a)},e,r?o:void 0,r)}})}),pt.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(t,e){pt.fn[e]=function(t){return this.on(e,t)}}),pt.fn.extend({bind:function(t,e,i){return this.on(t,null,e,i)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,i,n){return this.on(e,t,i,n)},undelegate:function(t,e,i){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",i)},hover:function(t,e){return this.mouseenter(t).mouseleave(e||t)}}),pt.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(t,e){pt.fn[e]=function(t,i){return 00?m.major+"."+m.minor+" r"+m.release:"-"}t.jscd={screen:e,browser:a,browserVersion:l,browserMajorVersion:c,mobile:u,os:h,osVersion:"-",flashVersion:g}}(this),jQuery_T4NT("html").addClass("t4s-browser-"+jscd.browser+" t4s-platform-"+jscd.os);var jsBdT4s=document.getElementsByTagName("HTML")[0],RtlT4s=jsBdT4s.classList.contains("rtl_true"),LtrT4s=!RtlT4s;!function(t,e){"function"==typeof define&&define.amd?define("jQuery_T4NT-bridget/jQuery_T4NT-bridget",["jQuery_T4NT"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jQuery_T4NT")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(function(t,e){t.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))})}(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),o=this._getOption("originLeft")?n.left:n.right,s=o+i.outerWidth,r=Math.floor(o/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/masonry",["../layout-mode","masonry-layout/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.isotopet4s.LayoutMode,t.Masonry)}(window,function(t,e){"use strict";var i=t.create("masonry"),n=i.prototype,o={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotopet4s.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth+this.gutter,i=this.isotopet4s.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var n={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,n},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotopet4s-layout/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.isotopet4s.LayoutMode)}(window,function(t){"use strict";var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._getItemLayoutPosition=function(t){t.getSize();var e=(this.isotopet4s.size.innerWidth-t.size.outerWidth)*this.options.horizontalAlignment,i=this.y;return this.y+=t.size.outerHeight,{x:e,y:i}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotopet4s-layout/js/item","isotopet4s-layout/js/layout-mode","isotopet4s-layout/js/layout-modes/masonry","isotopet4s-layout/js/layout-modes/fit-rows","isotopet4s-layout/js/layout-modes/vertical"],function(i,n,o,s,r,a){return e(t,i,n,o,s,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotopet4s-layout/js/item"),require("isotopet4s-layout/js/layout-mode"),require("isotopet4s-layout/js/layout-modes/masonry"),require("isotopet4s-layout/js/layout-modes/fit-rows"),require("isotopet4s-layout/js/layout-modes/vertical")):t.isotopet4s=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.isotopet4s.Item,t.isotopet4s.LayoutMode)}(window,function(t,e,i,n,o,s,r){var a=t.jQuery_T4NT,l=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},c=e.create("isotopet4s",{layoutMode:"masonry",isjQuery_T4NTFiltering:!0,sortAscending:!0});c.Item=s,c.LayoutMode=r;var u=c.prototype;u._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;ia||ra?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,o=t.y+t.height;return this.xt.x&&this.yt.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],o=this.x+this.width,s=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.yr&&(i=new t({x:r,y:this.y,width:o-r,height:this.height}),n.push(i)),s>a&&(i=new t({x:this.x,y:a,width:this.width,height:s-a}),n.push(i)),this.x=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;ii&&1>n?void this.goTo(t,e):void r.apply(this,arguments)},o.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},o.disablePlacing=function(){this.isPlacing=!1},o.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},o.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},o.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},o.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,o){i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var s=e.create("packery");s.Item=o;var r=s.prototype;r._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},r._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},r._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},r._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},r.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},r._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},r._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},r._setRectSize=function(e,i){var n=t(e),o=n.outerWidth,s=n.outerHeight;(o||s)&&(o=this._applyGridGutter(o,this.columnWidth),s=this._applyGridGutter(s,this.rowHeight)),i.width=Math.min(o,this.packer.width),i.height=Math.min(s,this.packer.height)},r._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return Math[i&&1>i?"round":"ceil"](t/e)*e},r._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},r._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var o=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?o.left:o.right,y:this._getOption("originTop")?o.top:o.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},r.sortItemsByPosition=function(){var t=this._getOption("horizontal")?function(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}:function(t,e){return t.position.y-e.position.y||t.position.x-e.position.x};this.items.sort(t)},r.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},r._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},r.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},r.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},r.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",o=i?"height":"width",s=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[s];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[s]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,u=this.packer[o];e.forEach(function(t){t.rect[n]=t.rect[n]/u*c})}this.shiftLayout()},r.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},r.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var o=this.getItem(t);if(!o||!o.isPlacing){var s=this._getElementOffset(t),r=new i({x:e?s.left:s.right,y:n?s.top:s.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var o=this._getOption("horizontal"),s=o?"rowHeight":"columnWidth",r=o?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[s];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),u=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(u-c)*l;for(var h=0;u>h;h++)this._addShiftTarget(h*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),f=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[f](e),this._addShiftTarget(e.x,e.y,a);var i=o?e.x+e.width:e.x,n=o?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var s=Math.round(e[r]/l),c=1;s>c;c++){var u=o?i:e.x+l*c,h=o?e.y+l*c:n;this._addShiftTarget(u,h,a)}},this)},r._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var o=t+","+e;-1!=this.shiftTargetKeys.indexOf(o)||(this.shiftTargetKeys.push(o),this.shiftTargets.push({x:t,y:e}))}},r.shift=function(t,e,i){var n,o=1/0,s={x:e,y:i};this.shiftTargets.forEach(function(t){var e=function(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}(t,s);o>e&&(n=t,o=e)}),t.rect.x=n.x,t.rect.y=n.y},r.itemDragMove=function(t,e,i){function n(){s.shift(o,e,i),o.positionDropPlaceholder(),s.layout()}var o=this.isEnabled&&this.getItem(t);if(o){e-=this.size.paddingLeft,i-=this.size.paddingTop;var s=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},r.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),o.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,o=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},r.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},r.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},r._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},r.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},r.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},r._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var a=r.destroy;return r.destroy=function(){a.apply(this,arguments),this.isEnabled=!1},s.Rect=i,s.Packer=n,s}),function(t,e){"function"==typeof define&&define.amd?define(["isotopet4s-layout/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotopet4s-layout/js/layout-mode"),require("packery")):e(t.isotopet4s.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,o={_getElementOffset:!0,_getMeasurement:!0};for(var s in e.prototype)o[s]||(n[s]=e.prototype[s]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotopet4s,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQuery_T4NTBridget=e(t,t.jQuery_T4NT)}(window,function(t,e){"use strict";function i(i,s,a){(a=a||e||t.jQuery_T4NT)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){var e;return"string"==typeof t?function(t,e,n){var o,s="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var u=c[e];if(u&&"_"!=e.charAt(0)){var h=u.apply(c,n);o=void 0===o?h:o}else r(s+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+s)}),void 0!==o?o:t}(this,t,o.call(arguments,1)):(e=t,this.each(function(t,n){var o=a.data(n,i);o?(o.option(e),o._init()):(o=new s(n,e),a.data(n,i,o))}),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var o=Array.prototype.slice,s=t.console,r=void 0===s?function(){}:function(t){s.error(t)};return n(e||t.jQuery_T4NT),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){i=i.slice(0),e=e||[];for(var n=this._onceEvents&&this._onceEvents[t],o=0;o1&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=RtlT4s?-t:t;var i=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+i+",0,0)":"translateX("+i+")"},dispatchScrollEvent:function(){var t=this.slides[0];if(t){var e=-this.x-t.target,i=e/this.slidesWidth;this.dispatchEvent("scroll",null,[i,e])}},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){!this.isPointerDown&&Math.round(100*this.x)==Math.round(100*t)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t;this._shiftCells(this.beforeShiftCells,e,-1);var i=this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,i,1)},_shiftCells:function(t,e,i){for(var n=0;n0?i:0;o.wrapShift(s),e-=o.size.outerWidth}this._checkVisibility()},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,o=t;ot?this.maxVisibilityHeight:t,this.viewport.style.height=t+"px"}},p.setPrevNextButtons=function(){if(this.options.setPrevNextButtons){var t=this.viewport.querySelector(".is-selected [data-cacl-slide]");if(null!==t){var e=t.offsetHeight/2;this.element.style.setProperty("--prev-next-top",e+"px")}}},p._checkVisibility=function(){if(this.options.checkVisibility&&this.options.adaptiveHeight)for(var t=this.viewport.getBoundingClientRect().x,e=this.viewport.offsetWidth,i=this.cells.length,n=0;nt&&s+o.size.innerWidtht&&s0;){var o=this.cells[e];if(!o)break;n.push(o),e+=i,t-=o.size.outerWidth}return n},p._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=RtlT4s?"marginRight":"marginLeft",e=RtlT4s?"marginLeft":"marginRight",i=this.slideableWidth-this.getLastCell().size[e],n=i1))return t;var i=n.modulo(t,e),o=Math.abs(i-this.selectedIndex),s=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&s=e&&(this.x+=this.slideableWidth)},p.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},p.next=function(t,e){this.select(this.selectedIndex+1,t,e)},p.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),this.selectedSlide=t,t.select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},p.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},p.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t&&this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},p.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var o=this.getCellSlideIndex(n);this.select(o,e,i)}},p.getCellSlideIndex=function(t){for(var e=0;e *"),this.getCell(t))},p.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var i=this.slides.length;if(1+2*t>=i)return this.getCellElements();for(var o=[],s=e-t;s<=e+t;s++){var r=this.options.wrapAround?n.modulo(s,i):s,a=this.slides[r];a&&(o=o.concat(a.getCellElements()))}return o},p.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},p.uiChange=function(){this.emitEvent("uiChange")},p.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},p.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(l,"onresize",150),p.resize=function(){if(this.isActive&&!this.isAnimating&&!this.isDragging){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.setPrevNextButtons(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},p.watchCSS=function(){this.options.watchCSS&&(-1!=u(this.element,":after").content.indexOf("flickityt4s")?this.activate():this.deactivate())},p.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=l.keyboardHandlers[t.keyCode];i&&i.call(this)}},l.keyboardHandlers={37:function(){var t=RtlT4s?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=RtlT4s?"previous":"next";this.uiChange(),this[t]()}},p.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},p.deactivate=function(){this.isActive&&(this.element.classList.remove("flickityt4s-enabled"),this.element.classList.remove("flickityt4s-rtl"),this.unselectSelectedSlide(),this.cells.forEach(function(t){t.destroy()}),this.element.removeChild(this.viewport),a(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},p.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickityt4s"),delete this.element.flickityt4sGUID,delete f[this.guid]},n.extend(p,r),l.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityt4sGUID;return e&&f[e]},n.htmlInit(l,"flickityt4s"),c&&c.bridget&&c.bridget("flickityt4s",l),l.setJQuery=function(t){c=t},l.Cell=o,l.Slide=s,l}),function(t,e){"function"==typeof define&&define.amd?define("unipointer/unipointer",["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.Unipointer=e(t,t.EvEmitter)}(window,function(t,e){function i(){}var n=i.prototype=Object.create(e.prototype);n.bindStartEvent=function(t){this._bindStartEvent(t,!0)},n.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},n._bindStartEvent=function(e,i){var n=(i=void 0===i||i)?"addEventListener":"removeEventListener",o="mousedown";"ontouchstart"in t?o="touchstart":t.PointerEvent&&(o="pointerdown"),e[n](o,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e3||Math.abs(t.y)>3},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventingClicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,i){this.isDragging&&this.dragMove(t,e,i)},n.dragMove=function(t,e,i){t.preventDefault(),this.emitEvent("dragMove",[t,e,i])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},i.getPointerPoint=e.getPointerPoint,i}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/drag",["./flickityt4s","unidragger/unidragger","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unidragger"),require("fizzy-ui-utils")):t.Flickityt4s=e(t,t.Flickityt4s,t.Unidragger,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(){return{x:t.pageXOffset,y:t.pageYOffset}}n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var s=e.prototype;n.extend(s,i.prototype),s._touchActionValue="pan-y",s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},s.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},s.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},s.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:"smart"==this.options.draggable?(this.viewport,this.isDraggable=this.viewport.scrollWidth>this.viewport.offsetWidth):this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},s.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},s.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},s._uiChangeDrag=function(){delete this.isFreeScrolling},s.pointerDown=function(e,i){this.isDraggable?this.okayPointerDown(e)&&(this._pointerDownPreventDefault(e),this.pointerDownFocus(e),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=o(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},s._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var r={INPUT:!0,TEXTAREA:!0,SELECT:!0};return s.pointerDownFocus=function(t){r[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=r[t.target.nodeName];e||i||n||t.preventDefault()},s.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},s.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},s.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},s.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},s.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},s.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=RtlT4s?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var o=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var s=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>s?.5*(o+s):o;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=othis.slides[0].target&&-n1,s=o?n.modulo(e,i):e,r=this.slides[s];if(!r)return null;var a=o?this.slideableWidth*Math.floor(e/i):0;return t-(r.target+a)},s.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return t>0&&e>0?1:t<0&&e<0?-1:0},s.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,o=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,o])},s.onscroll=function(){var t=o(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/prev-next-button",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){"use strict";function o(t,e){this.direction=t,this.parent=e,this._create()}var s="http://www.w3.org/2000/svg";(o.prototype=Object.create(i.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1;this.isLeft=this.direction==t;var e=this.element=document.createElement("button");e.className="flickityt4s-button flickityt4s-prev-next-button",e.className+=this.isPrevious?" previous":" next",e.setAttribute("type","button"),this.disable(),e.setAttribute("aria-label",this.isPrevious?"Previous":"Next");var i=this.createSVG();e.appendChild(i),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickityt4s-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e=document.createElementNS(s,"path"),i=function(t){return"string"==typeof t?t:"M "+t.x0+",50 L "+t.x1+","+(t.y1+50)+" L "+t.x2+","+(t.y2+50)+" L "+t.x3+",50 L "+t.x2+","+(50-t.y2)+" L "+t.x1+","+(50-t.y1)+" Z"}(this.parent.options.arrowShape);return e.setAttribute("d",i),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=n.handleEvent,o.prototype.onclick=function(){if(this.isEnabled){this.parent.uiChange();var t=this.isPrevious?"previous":"next";this.parent[t]()}},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.isPrevious?"prev_":"next_";this.parent.element.classList.remove("flickityt4s_"+t+"disable","flickityt4s_"+t+"enable");var e=this.parent.slides;if(this.parent.options.wrapAround&&e.length>1)this.enable();else{var i=e.length?e.length-1:0,n=this.isPrevious?0:i,o=this.parent.selectedIndex==n?"disable":"enable";this[o](),this.parent.element.classList.add("flickityt4s_"+t+o)}},o.prototype.destroy=function(){this.deactivate(),this.allOff()},n.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");var r=e.prototype;return r._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},r.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},r.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}),function(t,e){"function"==typeof define&&define.amd?define("flickityt4s/js/page-dots",["./flickityt4s","unipointer/unipointer","fizzy-ui-utils/utils"],function(i,n,o){return e(t,i,n,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("./flickityt4s"),require("unipointer"),require("fizzy-ui-utils")):e(t,t.Flickityt4s,t.Unipointer,t.fizzyUIUtils)}(window,function(t,e,i,n){function o(t){this.parent=t,this._create()}(o.prototype=Object.create(i.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickityt4s-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},o.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},o.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},o.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,o=n+t,s=n;s=this.cells.length)){var a=this.cells.slice(o,s+1);this.navSelectedElements=a.map(function(t){return t.element}),this.changeNavSelectedClass("add")}}},i.changeNavSelectedClass=function(t){this.navSelectedElements.forEach(function(e){e.classList[t]("is-nav-selected")})},i.activateAsNavFor=function(){this.navCompanionSelect(!0)},i.removeNavSelectedElements=function(){this.navSelectedElements&&(this.changeNavSelectedClass("remove"),delete this.navSelectedElements)},i.onNavStaticClick=function(t,e,i,n){"number"==typeof n&&this.navCompanion.selectCell(n)},i.deactivateAsNavFor=function(){this.removeNavSelectedElements()},i.destroyAsNavFor=function(){this.navCompanion&&(this.navCompanion.off("select",this.onNavCompanionSelect),this.off("staticClick",this.onNavStaticClick),delete this.navCompanion)},t}),function(t,e){"function"==typeof define&&define.amd?define(["flickityt4s/js/index","fizzy-ui-utils/utils"],e):"object"==typeof module&&module.exports?module.exports=e(require("flickityt4s"),require("fizzy-ui-utils")):e(t.Flickityt4s,t.fizzyUIUtils)}(this,function(t,e){var i=t.Slide,n=i.prototype.updateTarget;i.prototype.updateTarget=function(){if(n.apply(this,arguments),this.parent.options.fade){var t=this.target-this.x,e=this.cells[0].x;this.cells.forEach(function(i){var n=i.x-e-t;i.renderPosition(n)})}},i.prototype.setOpacity=function(t){this.cells.forEach(function(e){e.element.style.opacity=t})};var o=t.prototype;t.createMethods.push("_createFade"),o._createFade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};var s=o.updateSlides;o.updateSlides=function(){s.apply(this,arguments),this.options.fade},o.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},o.onSettleFade=function(){delete this.didDragEnd,this.options.fade},o.onDragEndFade=function(){this.didDragEnd=!0},o.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},o.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEach(function(t){t.setOpacity("")}))};var r=o.positionSlider;o.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};var a=o.positionSliderAtSelected;o.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),a.apply(this,arguments)},o.fadeSlides=function(){this.slides.length},o.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},o.getFadeDragWrapIndexes=function(){var t=this.slides.map(function(t,e){return this.getSlideDistance(-this.x,e)},this),i=t.map(function(t){return Math.abs(t)}),n=Math.min.apply(Math,i),o=i.indexOf(n),s=t[o],r=this.slides.length,a=s>=0?1:-1;return{a:o,b:e.modulo(o+a,r)}},o.getFadeDragLimitIndexes=function(){for(var t=0,e=0;e0&&Shopify.setSelectorByValue(this.provinceEl,t)},countryHandler:function(t){var e=this.countryEl.options[this.countryEl.selectedIndex],i=e.getAttribute("data-provinces"),n=JSON.parse(i);if(this.clearOptions(this.provinceEl),n&&0==n.length)this.provinceContainer.style.display="none";else{for(var o=0;o.t4s-section:first").find(".t4s_ratio_fh");if(0!=e.length){var n,o,s;n=i.height(),(o=e.offset().top) /g,">").replace(/"/g,""").replace(/'/g,"'")},T4SThemeSP.descapeHtml=function(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,'"').replace(/'/g,"'").replace(/&/g,"&")},T4SThemeSP.Images=function(){return{preloadImages:function(e){t(e).each(function(){t("
")[0].src=this})},getNewImageUrl:function(t,e=0,i=0){return e||i?(e&&(t=t+"&width="+e),i&&(t=t+"&height="+i),this.removeProtocol(t)):null},removeProtocol:function(t){return t.replace(/http(s)?:/,"")},lazyloadImagePath:function(t){return this.removeProtocol(t+"&width=1")}}}(),T4SThemeSP.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},T4SThemeSP.Carousel=function(){function e(e){this.el=e,this.$el=t(e),this.UID=T4SThemeSP.getUID(),n="resize.carousel"+this.UID;const o=JSON.parse(this.$el.attr("data-flickityt4s-js")||f);this.args=Object.assign({},r,o);let a=this.args.cellAlign,l=this.args.cellAlignLG;this.args.cellAlign=m[a]||a,this.args.cellAlignLG=m[l]||l,this.IdSlider=this.args.t4sid,this.args.fade=this.$el.hasClass("t4s-slide-eff-fade")||this.args.fade,this.args.rightToLeft=isThemeRTL,this.$deferredMedia=this.$el.find(s.productMediaWrapper),this.args.isMedia&&(this.isMedia=this.$el.find("[data-deferred-media]").length>0||this.$el.find('[data-media-type="360"]').length>0,this.isMedia&&(this.$groupBtn=t(`[ data-t4s-group-btns="${this.args.t4sid}"]`),this.$mediaGroup=this.$el.closest(s.mediaGroup))),this.args.wrapAround&&c&&(this.args.dragThreshold=55),this.args.on={ready:this.init.bind(this),change:this.slideChange.bind(this),select:this.slideSelect.bind(this),settle:this.afterChange.bind(this)},this.args.thumbNav&&this._initCarouselNav(),this.args.avoidReflow&&function(t){if(t.id){for(var e=t.firstChild;null!=e&&3==e.nodeType;)e=e.nextSibling;var i=document.createElement("style");i.innerHTML=`#${t.id} .flickity-viewport{height:${e.offsetHeight}px}`,document.head.appendChild(i)}}(e),this.$wrapper=this.$el.closest(s.wrapper),this.wrapper=this.$wrapper[0],this.pauseBtn=this.wrapper?this.wrapper.querySelector(s.pauseButton):null,this.$pauseBtn=t(this.pauseBtn),this.isPlaying=this.args.autoPlay||this.args.autoPlayT4,this.args.cellAlignOriginnal=this.args.cellAlign,this.hasMWLG=19041994!=this.args.minWidthLG,this.hasMWLG&&this.args.minWidthLG<=i.width()&&(this.args.cellAlign=this.args.cellAlignLG),this.args.centerSlide&&this.args.wrapAround&&(this.args.cellAlign="center",this.args.cellAlignOriginnal="center"),this.$carousel=this.$el.flickityt4s(this.args);var u=this;this.flkty=this.$carousel.data("flickityt4s"),this.selectedIndex=this.flkty.selectedIndex,setTimeout(u.actionsAPI("resize"),0),setTimeout(function(){u.$el.addClass("t4s-enabled"),u.args.isSimple&&(u.actionsAPI("resize"),setTimeout(u.actionsAPI("resize"),150))},100),this._selectChange(),this.isPlaying&&this.wrapper&&this.pauseBtn&&this.pauseBtn.addEventListener("click",this._togglePause.bind(this)),this.args.navUI&&this._customNavUI(),this.args.dotUI&&this._customDotUI(),this.args.parallax&&this._parallaxEffect(),this.args.status&&this._status(),this.args.isFilter&&this._updateCarousel(),this.args.btnSmartTab&&this._updateBtnTab(),this.args.prevNextButtons&&this._customIcon(this.$carousel.find(".flickityt4s-button.previous"),this.$carousel.find(".flickityt4s-button.next")),this.args.selectWithSelector&&this._selectWithSelector(),this.args.scrollbar&&!this.args.scrollbarDraggable&&this._scrollbarCarousel(),this.args.scrollbar&&this.args.scrollbarDraggable&&this._scrollbarDraggableCarousel();var d=this.args.thumbVertical;i.width()<1025&&d&&(this.args.thumbVertical=!1),i.on(n,T4SThemeSP.debounce(300,function(){u.hasMWLG&&(u.args.minWidthLG<=i.width()?u.flkty.options.cellAlign=u.args.cellAlignLG:u.flkty.options.cellAlign=u.args.cellAlignOriginnal),u.actionsAPI("resize"),i.width()<1025&&d?u.args.thumbVertical=!1:i.width()>1024&&d&&(u.args.thumbVertical=!0)}.bind(this))),u.$el.on(h,u.destroy.bind(u))}var n,o={animateOut:"animate-out",isPlaying:"is--playing",isPaused:"is--paused",isActive:"is--active",isNavActive:"is-nav-selected",isXrShowing:"is-shopify-xr__showing",navItem:"t4s-carousel__nav-item",selected:"is-selected"},s={currentSlide:`.${o.selected}`,wrapper:".t4s-carousel-wrapper",pauseButton:".t4s-carousel__pause",productMediaWrapper:"[data-product-single-media-wrapper]",mediaGroup:"[data-product-single-media-group]",dataMediaPlay:"data-is-mediaPlay",productMediaPlay:"[data-is-mediaPlay]"},r={adaptiveHeight:!1,autoPlay:!1,avoidReflow:!1,thumbNav:!1,thumbVertical:!1,navUI:!1,dotUI:!1,parallax:!1,status:!1,isMedia:!1,t4sid:"19041994",t4sidTab:"19041994",selectWithSelector:!1,scrollbar:!1,scrollbarDraggable:!1,fullwidthSide:!1,centerSlide:!1,isSimple:!1,minWidthLG:19041994,cellAlign:"center",cellAlignLG:"left",btnSmartTab:!1,activeTab:!1,customIcon:0,viewBox:"0 0 100 100",checkVisibility:!0,autoPlayT4:!1,dragThreshold:7,fade:!1,friction:.8,initialIndex:0,pageDots:!1,pauseAutoPlayOnHover:!1,prevNextButtons:!1,selectedAttraction:.14},a={select:"select.carousel",clicknavUI:"click.navt4s",clickdotUI:"click.dott4s",clickThumb:"click.thumbt4s"},u={video:'',external_videoyoutube:'',external_videovimeo:'',model:'',360:''},h="destroy.t4s",d="",f="{}",p=!1,g=window.CSS.supports("scroll-behavior","smooth");const m={start:"left",end:"right"};return e.prototype=Object.assign({},e.prototype,{init:function(t){var e=this;e.currentSlide=e.el.querySelector(s.currentSlide),e.args.autoPlayT4&&e.autoPlayT4(),e.$pauseBtn.addClass(o.isPlaying),e.args.callbacks&&e.args.callbacks.onInit&&"function"==typeof e.args.callbacks.onInit&&e.args.callbacks.onInit(e.currentSlide)},slideChange:function(e){i=this;if(i.args.thumbNav&&i.thumbnailsGoto(e),i.args.callbacks&&i.args.callbacks.onChange&&"function"==typeof i.args.callbacks.onChange&&i.args.callbacks.onChange(e),i.$carouselNavPrev&&i.$carouselNavPrev.length&&(i.$carouselNavPrev[0].classList.toggle("is--hide",0===e),i.$carouselNavNext[0].classList.toggle("is--hide",e===i.$carouselNavLinks.length-1)),i.$carousel&&i.$carousel.find("video[autoplay]").length>0&&(i.$carousel.find("video").each(function(t,e){e.pause()}),t(i.currentSlide).each(function(e,i){let n=t(this).find("video")[0];void 0!==n&&n.play()})),i.isMedia&&i._switchMedia(e),i.args.autoPlayT4&&i.autoPlayT4(),i.$carousel){var i;(i=this).flkty.prevButton&&t(i.flkty.prevButton.element).attr("data-imgkey",i.flkty.selectedIndex-1<0?i.flkty.cells.length-1:i.flkty.selectedIndex-1),i.flkty.nextButton&&t(i.flkty.nextButton.element).attr("data-imgkey",i.flkty.selectedIndex+1>=i.flkty.cells.length?0:i.flkty.selectedIndex+1)}},autoPlayT4:function(){var t=this;t.time||(t.wrapper&&t.wrapper.style.setProperty("--play-carousel-speed",`${t.args.autoPlayT4}ms`),t.time={}),t.time.START=(new Date).getTime(),t.time.END=t.time.START+t.args.autoPlayT4,t.$pauseBtn.removeClass(o.isPlaying),t.isPlaying&&(clearTimeout(t.stayTimeout),t.stayTimeout=setTimeout(function(){t.actionsAPI("next",!0)},t.args.autoPlayT4),clearTimeout(t.pauseBtnTimeout),t.pauseBtnTimeout=setTimeout(function(){t.$pauseBtn.addClass(o.isPlaying)},20)),t.time.REMAINING=t.args.autoPlayT4},slideSelect:function(t){},afterChange:function(t){this.args.thumbNav&&this.thumbnailsGoto(this.flkty.selectedIndex)},destroy:function(){this.$carouselNav&&this.$carouselNav.find("."+o.isNavActive).removeClass(o.isNavActive),this.actionsAPI("destroy"),this.$el.off(h),i.off(n)},_togglePause:function(){var e=this,i=e.$pauseBtn.data("pause-title"),n=e.$pauseBtn.data("play-title");e.pauseBtn.classList.contains(o.isPaused)?(e.pauseBtn.classList.remove(o.isPaused),e.wrapper.classList.remove(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(i),e.pauseBtn.setAttribute("data-original-title",i),e.isPlaying=!0,e.args.autoPlayT4&&(e.time.END=(new Date).getTime()+e.time.REMAINING,e.stayTimeout=setTimeout(function(){e.actionsAPI("next",!0)},e.time.REMAINING))):(e.wrapper.classList.add(o.isPaused),e.pauseBtn.classList.add(o.isPaused),t(".t4s-tooltip .tooltip-inner").text(n),e.pauseBtn.setAttribute("data-original-title",n),e.isPlaying=!1,e.args.autoPlayT4&&(clearTimeout(e.stayTimeout),e.time.REMAINING=e.time.END-(new Date).getTime())),e.isPlaying&&e.$pauseBtn.addClass(o.isPlaying)},actionsAPI:function(t,e=!1){this.$carousel.flickityt4s(t,e)},_selectChange:function(t){var e=this;e.$carousel.on("select.flickityt4s",function(t,i){e.$carousel.trigger(a.select)})},_customNavUI:function(e,i){var n=this,o=n.args.wrapAround||!1;e=e||t(".btn__prev--"+n.IdSlider),0!=(i=i||t(".btn__next--"+n.IdSlider)).length&&(n._customIcon(e,i),e.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("previous")}),i.off(a.clicknavUI).on(a.clicknavUI,function(){n.actionsAPI("next")}),n._setButtonStatus(o,e,i),n.$carousel.on(a.select,function(){n._setButtonStatus(o,e,i)}))},_setButtonStatus:function(t,e,i){let n=i.closest("[data-tab-active]"),o=this.flkty.selectedCell.target;n.addClass("prev_next_added"),n.removeClass("tab_prev_next_disable"),this.flkty.slides.length<2?(n.addClass("tab_prev_next_disable"),e.attr("disabled","disabled"),i.attr("disabled","disabled")):o!=this.flkty.cells[0].target||t?o!=this.flkty.getLastCell().target||t?(e.removeAttr("disabled"),i.removeAttr("disabled")):(i.attr("disabled","disabled"),e.removeAttr("disabled")):(e.attr("disabled","disabled"),i.removeAttr("disabled"))},_customDotUI:function(){var e=this,i=t(".btn_group--cells"+e.IdSlider);if(i.data("build")){let t="";for(let i=0;i';i.html(t)}var n=i.find(".btn_dott4s");0!=n.length&&(n.eq(e.flkty.selectedIndex).addClass(o.selected),i.on(a.clickdotUI,".btn_dott4s",function(){e.$carousel.flickityt4s("select",t(this).index())}),e.$carousel.on(a.select,function(){n.filter(`.${o.selected}`).removeClass(o.selected),n.eq(e.flkty.selectedIndex).addClass(o.selected)}))},_parallaxEffect:function(){var t=this;if(t.$carousel.hasClass("slide-eff-parallax")){if(l)e=".t4s-slide .t4s-img-as-bg.t4s-d-md-none";else var e=".t4s-slide .t4s-img-as-bg.t4s-d-md-block";var i=t.$carousel.find(e);0!=i.length&&t.$carousel.on("scroll.flickityt4s",function(e,n){t.flkty.slides.forEach(function(e,n){var o=i[n],s=-1*(e.target+t.flkty.x)/3;o.style.transform="translateX( "+s+"px)"})})}},_status:function(){function e(){void 0!=n.flkty.slides&&(c=n.flkty.selectedIndex+1,u=n.flkty.slides.length,l&&(c=i(c,2),u=i(u,2)),s.text(c),r.text(u))}function i(t,e){return(t=t.toString()).length
`}),i.$carouselNav.empty().append(d).addClass("is--nav-ready"));var n=i.$el.find("[data-main-slide]:visible").length;if(i.$carouselNavLinks=i.$carouselNav.find(`.${o.navItem}:not(.is--media-hide):visible`),i.args.thumbVertical){i.$carouselNav.parents(".t4s-parent-nav").outerHeight()+20