epfl-elements 5.0.0 → 5.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/select/select-multiple.twig +2 -2
- package/dist/components/atoms/select/select.twig +1 -1
- package/dist/components/atoms/select/select.yml +1 -1
- package/dist/components/content-types/press-review/press-review.twig +1 -1
- package/dist/components/molecules/card/card-inside-links.twig +3 -3
- package/dist/components/molecules/card-deck/card-deck.yml +1 -1
- package/dist/components/molecules/filters/filters-blog.twig +5 -25
- package/dist/components/molecules/form-group/form-group-checkboxes.twig +1 -1
- package/dist/components/molecules/form-group/form-group-error.twig +1 -1
- package/dist/components/molecules/form-group/form-group-radio.twig +1 -1
- package/dist/components/molecules/form-group/form-group-search.twig +2 -2
- package/dist/components/molecules/form-group/form-group-textarea.twig +1 -1
- package/dist/components/molecules/form-group/form-group-upload.twig +1 -1
- package/dist/components/molecules/form-group/form-group.twig +1 -1
- package/dist/components/molecules/social/social-follow.twig +8 -10
- package/dist/components/pages/press-review/press-review.twig +73 -0
- package/dist/components/pages/press-review/press-review.yml +2 -0
- package/dist/css/elements.css +12 -8
- package/dist/css/elements.min.css +1 -1
- package/dist/css/elements.min.css.map +1 -1
- package/dist/css/reader.min.css +1 -1
- package/dist/css/reader.min.css.map +1 -1
- package/dist/css/vendors.min.css +2 -2
- package/dist/docs/design/typography.html +1 -1
- package/dist/index.html +0 -1
- package/dist/js/elements.js +252 -3340
- package/dist/js/elements.min.js +1 -1
- package/dist/js/elements.min.js.map +1 -1
- package/dist/js/reader.js +2884 -7512
- package/dist/js/reader.min.js +54 -1
- package/dist/js/reader.min.js.map +1 -1
- package/dist/js/spritemap.js +3 -3
- package/dist/js/vendors.js +2901 -2434
- package/dist/js/vendors.min.js +1 -1
- package/dist/package.json +4 -3
- package/package.json +4 -3
package/dist/js/elements.min.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*! For license information please see elements.min.js.LICENSE.txt */
|
|
2
|
-
!function(){var t={13099:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},96077:function(t,e,i){var n=i(70111);t.exports=function(t){if(!n(t)&&null!==t)throw TypeError("Can't set "+String(t)+" as a prototype");return t}},51223:function(t,e,i){var n=i(5112),r=i(70030),o=i(3070),s=n("unscopables"),a=Array.prototype;null==a[s]&&o.f(a,s,{configurable:!0,value:r(null)}),t.exports=function(t){a[s][t]=!0}},31530:function(t,e,i){"use strict";var n=i(28710).charAt;t.exports=function(t,e,i){return e+(i?n(t,e).length:1)}},19670:function(t,e,i){var n=i(70111);t.exports=function(t){if(!n(t))throw TypeError(String(t)+" is not an object");return t}},48457:function(t,e,i){"use strict";var n=i(49974),r=i(47908),o=i(53411),s=i(97659),a=i(17466),c=i(86135),l=i(71246);t.exports=function(t){var e,i,h,u,d,p,f=r(t),v="function"==typeof this?this:Array,g=arguments.length,m=g>1?arguments[1]:void 0,y=void 0!==m,b=l(f),x=0;if(y&&(m=n(m,g>2?arguments[2]:void 0,2)),null==b||v==Array&&s(b))for(i=new v(e=a(f.length));e>x;x++)p=y?m(f[x],x):f[x],c(i,x,p);else for(d=(u=b.call(f)).next,i=new v;!(h=d.call(u)).done;x++)p=y?o(u,m,[h.value,x],!0):h.value,c(i,x,p);return i.length=x,i}},41318:function(t,e,i){var n=i(45656),r=i(17466),o=i(51400),s=function(t){return function(e,i,s){var a,c=n(e),l=r(c.length),h=o(s,l);if(t&&i!=i){for(;l>h;)if((a=c[h++])!=a)return!0}else for(;l>h;h++)if((t||h in c)&&c[h]===i)return t||h||0;return!t&&-1}};t.exports={includes:s(!0),indexOf:s(!1)}},42092:function(t,e,i){var n=i(49974),r=i(68361),o=i(47908),s=i(17466),a=i(65417),c=[].push,l=function(t){var e=1==t,i=2==t,l=3==t,h=4==t,u=6==t,d=7==t,p=5==t||u;return function(f,v,g,m){for(var y,b,x=o(f),w=r(x),S=n(v,g,3),E=s(w.length),C=0,k=m||a,A=e?k(f,E):i||d?k(f,0):void 0;E>C;C++)if((p||C in w)&&(b=S(y=w[C],C,x),t))if(e)A[C]=b;else if(b)switch(t){case 3:return!0;case 5:return y;case 6:return C;case 2:c.call(A,y)}else switch(t){case 4:return!1;case 7:c.call(A,y)}return u?-1:l||h?h:A}};t.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterOut:l(7)}},81194:function(t,e,i){var n=i(47293),r=i(5112),o=i(7392),s=r("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[s]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},9341:function(t,e,i){"use strict";var n=i(47293);t.exports=function(t,e){var i=[][t];return!!i&&n((function(){i.call(null,e||function(){throw 1},1)}))}},65417:function(t,e,i){var n=i(70111),r=i(43157),o=i(5112)("species");t.exports=function(t,e){var i;return r(t)&&("function"!=typeof(i=t.constructor)||i!==Array&&!r(i.prototype)?n(i)&&null===(i=i[o])&&(i=void 0):i=void 0),new(void 0===i?Array:i)(0===e?0:e)}},53411:function(t,e,i){var n=i(19670),r=i(99212);t.exports=function(t,e,i,o){try{return o?e(n(i)[0],i[1]):e(i)}catch(e){throw r(t),e}}},17072:function(t,e,i){var n=i(5112)("iterator"),r=!1;try{var o=0,s={next:function(){return{done:!!o++}},return:function(){r=!0}};s[n]=function(){return this},Array.from(s,(function(){throw 2}))}catch(t){}t.exports=function(t,e){if(!e&&!r)return!1;var i=!1;try{var o={};o[n]=function(){return{next:function(){return{done:i=!0}}}},t(o)}catch(t){}return i}},84326:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},70648:function(t,e,i){var n=i(51694),r=i(84326),o=i(5112)("toStringTag"),s="Arguments"==r(function(){return arguments}());t.exports=n?r:function(t){var e,i,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(i=function(t,e){try{return t[e]}catch(t){}}(e=Object(t),o))?i:s?r(e):"Object"==(n=r(e))&&"function"==typeof e.callee?"Arguments":n}},99920:function(t,e,i){var n=i(86656),r=i(53887),o=i(31236),s=i(3070);t.exports=function(t,e){for(var i=r(e),a=s.f,c=o.f,l=0;l<i.length;l++){var h=i[l];n(t,h)||a(t,h,c(e,h))}}},49920:function(t,e,i){var n=i(47293);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},24994:function(t,e,i){"use strict";var n=i(13383).IteratorPrototype,r=i(70030),o=i(79114),s=i(58003),a=i(97497),c=function(){return this};t.exports=function(t,e,i){var l=e+" Iterator";return t.prototype=r(n,{next:o(1,i)}),s(t,l,!1,!0),a[l]=c,t}},68880:function(t,e,i){var n=i(19781),r=i(3070),o=i(79114);t.exports=n?function(t,e,i){return r.f(t,e,o(1,i))}:function(t,e,i){return t[e]=i,t}},79114:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},86135:function(t,e,i){"use strict";var n=i(57593),r=i(3070),o=i(79114);t.exports=function(t,e,i){var s=n(e);s in t?r.f(t,s,o(0,i)):t[s]=i}},70654:function(t,e,i){"use strict";var n=i(82109),r=i(24994),o=i(79518),s=i(27674),a=i(58003),c=i(68880),l=i(31320),h=i(5112),u=i(31913),d=i(97497),p=i(13383),f=p.IteratorPrototype,v=p.BUGGY_SAFARI_ITERATORS,g=h("iterator"),m="keys",y="values",b="entries",x=function(){return this};t.exports=function(t,e,i,h,p,w,S){r(i,e,h);var E,C,k,A=function(t){if(t===p&&L)return L;if(!v&&t in P)return P[t];switch(t){case m:case y:case b:return function(){return new i(this,t)}}return function(){return new i(this)}},_=e+" Iterator",D=!1,P=t.prototype,I=P[g]||P["@@iterator"]||p&&P[p],L=!v&&I||A(p),$="Array"==e&&P.entries||I;if($&&(E=o($.call(new t)),f!==Object.prototype&&E.next&&(u||o(E)===f||(s?s(E,f):"function"!=typeof E[g]&&c(E,g,x)),a(E,_,!0,!0),u&&(d[_]=x))),p==y&&I&&I.name!==y&&(D=!0,L=function(){return I.call(this)}),u&&!S||P[g]===L||c(P,g,L),d[e]=L,p)if(C={values:A(y),keys:w?L:A(m),entries:A(b)},S)for(k in C)(v||D||!(k in P))&&l(P,k,C[k]);else n({target:e,proto:!0,forced:v||D},C);return C}},19781:function(t,e,i){var n=i(47293);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},80317:function(t,e,i){var n=i(17854),r=i(70111),o=n.document,s=r(o)&&r(o.createElement);t.exports=function(t){return s?o.createElement(t):{}}},88113:function(t,e,i){var n=i(35005);t.exports=n("navigator","userAgent")||""},7392:function(t,e,i){var n,r,o=i(17854),s=i(88113),a=o.process,c=a&&a.versions,l=c&&c.v8;l?r=(n=l.split("."))[0]<4?1:n[0]+n[1]:s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(r=n[1]),t.exports=r&&+r},80748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(t,e,i){var n=i(17854),r=i(31236).f,o=i(68880),s=i(31320),a=i(83505),c=i(99920),l=i(54705);t.exports=function(t,e){var i,h,u,d,p,f=t.target,v=t.global,g=t.stat;if(i=v?n:g?n[f]||a(f,{}):(n[f]||{}).prototype)for(h in e){if(d=e[h],u=t.noTargetGet?(p=r(i,h))&&p.value:i[h],!l(v?h:f+(g?".":"#")+h,t.forced)&&void 0!==u){if(typeof d==typeof u)continue;c(d,u)}(t.sham||u&&u.sham)&&o(d,"sham",!0),s(i,h,d,t)}}},47293:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},27007:function(t,e,i){"use strict";i(74916);var n=i(31320),r=i(22261),o=i(47293),s=i(5112),a=i(68880),c=s("species"),l=RegExp.prototype;t.exports=function(t,e,i,h){var u=s(t),d=!o((function(){var e={};return e[u]=function(){return 7},7!=""[t](e)})),p=d&&!o((function(){var e=!1,i=/a/;return"split"===t&&((i={}).constructor={},i.constructor[c]=function(){return i},i.flags="",i[u]=/./[u]),i.exec=function(){return e=!0,null},i[u](""),!e}));if(!d||!p||i){var f=/./[u],v=e(u,""[t],(function(t,e,i,n,o){var s=e.exec;return s===r||s===l.exec?d&&!o?{done:!0,value:f.call(e,i,n)}:{done:!0,value:t.call(i,e,n)}:{done:!1}}));n(String.prototype,t,v[0]),n(l,u,v[1])}h&&a(l[u],"sham",!0)}},49974:function(t,e,i){var n=i(13099);t.exports=function(t,e,i){if(n(t),void 0===e)return t;switch(i){case 0:return function(){return t.call(e)};case 1:return function(i){return t.call(e,i)};case 2:return function(i,n){return t.call(e,i,n)};case 3:return function(i,n,r){return t.call(e,i,n,r)}}return function(){return t.apply(e,arguments)}}},35005:function(t,e,i){var n=i(40857),r=i(17854),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(r[t]):n[t]&&n[t][e]||r[t]&&r[t][e]}},71246:function(t,e,i){var n=i(70648),r=i(97497),o=i(5112)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||r[n(t)]}},10647:function(t,e,i){var n=i(47908),r=Math.floor,o="".replace,s=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,a=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,i,c,l,h){var u=i+t.length,d=c.length,p=a;return void 0!==l&&(l=n(l),p=s),o.call(h,p,(function(n,o){var s;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return e.slice(0,i);case"'":return e.slice(u);case"<":s=l[o.slice(1,-1)];break;default:var a=+o;if(0===a)return n;if(a>d){var h=r(a/10);return 0===h?n:h<=d?void 0===c[h-1]?o.charAt(1):c[h-1]+o.charAt(1):n}s=c[a-1]}return void 0===s?"":s}))}},17854:function(t,e,i){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof i.g&&i.g)||function(){return this}()||Function("return this")()},86656:function(t,e,i){var n=i(47908),r={}.hasOwnProperty;t.exports=Object.hasOwn||function(t,e){return r.call(n(t),e)}},3501:function(t){t.exports={}},60490:function(t,e,i){var n=i(35005);t.exports=n("document","documentElement")},64664:function(t,e,i){var n=i(19781),r=i(47293),o=i(80317);t.exports=!n&&!r((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},68361:function(t,e,i){var n=i(47293),r=i(84326),o="".split;t.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==r(t)?o.call(t,""):Object(t)}:Object},42788:function(t,e,i){var n=i(5465),r=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(t){return r.call(t)}),t.exports=n.inspectSource},29909:function(t,e,i){var n,r,o,s=i(68536),a=i(17854),c=i(70111),l=i(68880),h=i(86656),u=i(5465),d=i(6200),p=i(3501),f="Object already initialized",v=a.WeakMap;if(s||u.state){var g=u.state||(u.state=new v),m=g.get,y=g.has,b=g.set;n=function(t,e){if(y.call(g,t))throw new TypeError(f);return e.facade=t,b.call(g,t,e),e},r=function(t){return m.call(g,t)||{}},o=function(t){return y.call(g,t)}}else{var x=d("state");p[x]=!0,n=function(t,e){if(h(t,x))throw new TypeError(f);return e.facade=t,l(t,x,e),e},r=function(t){return h(t,x)?t[x]:{}},o=function(t){return h(t,x)}}t.exports={set:n,get:r,has:o,enforce:function(t){return o(t)?r(t):n(t,{})},getterFor:function(t){return function(e){var i;if(!c(e)||(i=r(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}}},97659:function(t,e,i){var n=i(5112),r=i(97497),o=n("iterator"),s=Array.prototype;t.exports=function(t){return void 0!==t&&(r.Array===t||s[o]===t)}},43157:function(t,e,i){var n=i(84326);t.exports=Array.isArray||function(t){return"Array"==n(t)}},54705:function(t,e,i){var n=i(47293),r=/#|\.prototype\./,o=function(t,e){var i=a[s(t)];return i==l||i!=c&&("function"==typeof e?n(e):!!e)},s=o.normalize=function(t){return String(t).replace(r,".").toLowerCase()},a=o.data={},c=o.NATIVE="N",l=o.POLYFILL="P";t.exports=o},70111:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},31913:function(t){t.exports=!1},47850:function(t,e,i){var n=i(70111),r=i(84326),o=i(5112)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==r(t))}},99212:function(t,e,i){var n=i(19670);t.exports=function(t){var e=t.return;if(void 0!==e)return n(e.call(t)).value}},13383:function(t,e,i){"use strict";var n,r,o,s=i(47293),a=i(79518),c=i(68880),l=i(86656),h=i(5112),u=i(31913),d=h("iterator"),p=!1;[].keys&&("next"in(o=[].keys())?(r=a(a(o)))!==Object.prototype&&(n=r):p=!0);var f=null==n||s((function(){var t={};return n[d].call(t)!==t}));f&&(n={}),u&&!f||l(n,d)||c(n,d,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:p}},97497:function(t){t.exports={}},30133:function(t,e,i){var n=i(7392),r=i(47293);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},68536:function(t,e,i){var n=i(17854),r=i(42788),o=n.WeakMap;t.exports="function"==typeof o&&/native code/.test(r(o))},70030:function(t,e,i){var n,r=i(19670),o=i(36048),s=i(80748),a=i(3501),c=i(60490),l=i(80317),h=i(6200)("IE_PROTO"),u=function(){},d=function(t){return"<script>"+t+"<\/script>"},p=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(t){}var t,e;p=n?function(t){t.write(d("")),t.close();var e=t.parentWindow.Object;return t=null,e}(n):((e=l("iframe")).style.display="none",c.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(d("document.F=Object")),t.close(),t.F);for(var i=s.length;i--;)delete p.prototype[s[i]];return p()};a[h]=!0,t.exports=Object.create||function(t,e){var i;return null!==t?(u.prototype=r(t),i=new u,u.prototype=null,i[h]=t):i=p(),void 0===e?i:o(i,e)}},36048:function(t,e,i){var n=i(19781),r=i(3070),o=i(19670),s=i(81956);t.exports=n?Object.defineProperties:function(t,e){o(t);for(var i,n=s(e),a=n.length,c=0;a>c;)r.f(t,i=n[c++],e[i]);return t}},3070:function(t,e,i){var n=i(19781),r=i(64664),o=i(19670),s=i(57593),a=Object.defineProperty;e.f=n?a:function(t,e,i){if(o(t),e=s(e,!0),o(i),r)try{return a(t,e,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[e]=i.value),t}},31236:function(t,e,i){var n=i(19781),r=i(55296),o=i(79114),s=i(45656),a=i(57593),c=i(86656),l=i(64664),h=Object.getOwnPropertyDescriptor;e.f=n?h:function(t,e){if(t=s(t),e=a(e,!0),l)try{return h(t,e)}catch(t){}if(c(t,e))return o(!r.f.call(t,e),t[e])}},8006:function(t,e,i){var n=i(16324),r=i(80748).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,r)}},25181:function(t,e){e.f=Object.getOwnPropertySymbols},79518:function(t,e,i){var n=i(86656),r=i(47908),o=i(6200),s=i(49920),a=o("IE_PROTO"),c=Object.prototype;t.exports=s?Object.getPrototypeOf:function(t){return t=r(t),n(t,a)?t[a]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?c:null}},16324:function(t,e,i){var n=i(86656),r=i(45656),o=i(41318).indexOf,s=i(3501);t.exports=function(t,e){var i,a=r(t),c=0,l=[];for(i in a)!n(s,i)&&n(a,i)&&l.push(i);for(;e.length>c;)n(a,i=e[c++])&&(~o(l,i)||l.push(i));return l}},81956:function(t,e,i){var n=i(16324),r=i(80748);t.exports=Object.keys||function(t){return n(t,r)}},55296:function(t,e){"use strict";var i={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,r=n&&!i.call({1:2},1);e.f=r?function(t){var e=n(this,t);return!!e&&e.enumerable}:i},27674:function(t,e,i){var n=i(19670),r=i(96077);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,i={};try{(t=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(i,[]),e=i instanceof Array}catch(t){}return function(i,o){return n(i),r(o),e?t.call(i,o):i.__proto__=o,i}}():void 0)},90288:function(t,e,i){"use strict";var n=i(51694),r=i(70648);t.exports=n?{}.toString:function(){return"[object "+r(this)+"]"}},53887:function(t,e,i){var n=i(35005),r=i(8006),o=i(25181),s=i(19670);t.exports=n("Reflect","ownKeys")||function(t){var e=r.f(s(t)),i=o.f;return i?e.concat(i(t)):e}},40857:function(t,e,i){var n=i(17854);t.exports=n},31320:function(t,e,i){var n=i(17854),r=i(68880),o=i(86656),s=i(83505),a=i(42788),c=i(29909),l=c.get,h=c.enforce,u=String(String).split("String");(t.exports=function(t,e,i,a){var c,l=!!a&&!!a.unsafe,d=!!a&&!!a.enumerable,p=!!a&&!!a.noTargetGet;"function"==typeof i&&("string"!=typeof e||o(i,"name")||r(i,"name",e),(c=h(i)).source||(c.source=u.join("string"==typeof e?e:""))),t!==n?(l?!p&&t[e]&&(d=!0):delete t[e],d?t[e]=i:r(t,e,i)):d?t[e]=i:s(e,i)})(Function.prototype,"toString",(function(){return"function"==typeof this&&l(this).source||a(this)}))},97651:function(t,e,i){var n=i(84326),r=i(22261);t.exports=function(t,e){var i=t.exec;if("function"==typeof i){var o=i.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(t))throw TypeError("RegExp#exec called on incompatible receiver");return r.call(t,e)}},22261:function(t,e,i){"use strict";var n,r,o=i(67066),s=i(52999),a=i(72309),c=i(70030),l=i(29909).get,h=i(9441),u=i(38173),d=RegExp.prototype.exec,p=a("native-string-replace",String.prototype.replace),f=d,v=(n=/a/,r=/b*/g,d.call(n,"a"),d.call(r,"a"),0!==n.lastIndex||0!==r.lastIndex),g=s.UNSUPPORTED_Y||s.BROKEN_CARET,m=void 0!==/()??/.exec("")[1];(v||m||g||h||u)&&(f=function(t){var e,i,n,r,s,a,h,u=this,y=l(u),b=y.raw;if(b)return b.lastIndex=u.lastIndex,e=f.call(b,t),u.lastIndex=b.lastIndex,e;var x=y.groups,w=g&&u.sticky,S=o.call(u),E=u.source,C=0,k=t;if(w&&(-1===(S=S.replace("y","")).indexOf("g")&&(S+="g"),k=String(t).slice(u.lastIndex),u.lastIndex>0&&(!u.multiline||u.multiline&&"\n"!==t[u.lastIndex-1])&&(E="(?: "+E+")",k=" "+k,C++),i=new RegExp("^(?:"+E+")",S)),m&&(i=new RegExp("^"+E+"$(?!\\s)",S)),v&&(n=u.lastIndex),r=d.call(w?i:u,k),w?r?(r.input=r.input.slice(C),r[0]=r[0].slice(C),r.index=u.lastIndex,u.lastIndex+=r[0].length):u.lastIndex=0:v&&r&&(u.lastIndex=u.global?r.index+r[0].length:n),m&&r&&r.length>1&&p.call(r[0],i,(function(){for(s=1;s<arguments.length-2;s++)void 0===arguments[s]&&(r[s]=void 0)})),r&&x)for(r.groups=a=c(null),s=0;s<x.length;s++)a[(h=x[s])[0]]=r[h[1]];return r}),t.exports=f},67066:function(t,e,i){"use strict";var n=i(19670);t.exports=function(){var t=n(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},52999:function(t,e,i){var n=i(47293),r=function(t,e){return RegExp(t,e)};e.UNSUPPORTED_Y=n((function(){var t=r("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=n((function(){var t=r("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},9441:function(t,e,i){var n=i(47293);t.exports=n((function(){var t=RegExp(".","string".charAt(0));return!(t.dotAll&&t.exec("\n")&&"s"===t.flags)}))},38173:function(t,e,i){var n=i(47293);t.exports=n((function(){var t=RegExp("(?<a>b)","string".charAt(5));return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},84488:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},83505:function(t,e,i){var n=i(17854),r=i(68880);t.exports=function(t,e){try{r(n,t,e)}catch(i){n[t]=e}return e}},58003:function(t,e,i){var n=i(3070).f,r=i(86656),o=i(5112)("toStringTag");t.exports=function(t,e,i){t&&!r(t=i?t:t.prototype,o)&&n(t,o,{configurable:!0,value:e})}},6200:function(t,e,i){var n=i(72309),r=i(69711),o=n("keys");t.exports=function(t){return o[t]||(o[t]=r(t))}},5465:function(t,e,i){var n=i(17854),r=i(83505),o="__core-js_shared__",s=n[o]||r(o,{});t.exports=s},72309:function(t,e,i){var n=i(31913),r=i(5465);(t.exports=function(t,e){return r[t]||(r[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.15.2",mode:n?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})},36707:function(t,e,i){var n=i(19670),r=i(13099),o=i(5112)("species");t.exports=function(t,e){var i,s=n(t).constructor;return void 0===s||null==(i=n(s)[o])?e:r(i)}},28710:function(t,e,i){var n=i(99958),r=i(84488),o=function(t){return function(e,i){var o,s,a=String(r(e)),c=n(i),l=a.length;return c<0||c>=l?t?"":void 0:(o=a.charCodeAt(c))<55296||o>56319||c+1===l||(s=a.charCodeAt(c+1))<56320||s>57343?t?a.charAt(c):o:t?a.slice(c,c+2):s-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},51400:function(t,e,i){var n=i(99958),r=Math.max,o=Math.min;t.exports=function(t,e){var i=n(t);return i<0?r(i+e,0):o(i,e)}},45656:function(t,e,i){var n=i(68361),r=i(84488);t.exports=function(t){return n(r(t))}},99958:function(t){var e=Math.ceil,i=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?i:e)(t)}},17466:function(t,e,i){var n=i(99958),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},47908:function(t,e,i){var n=i(84488);t.exports=function(t){return Object(n(t))}},57593:function(t,e,i){var n=i(70111);t.exports=function(t,e){if(!n(t))return t;var i,r;if(e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;if("function"==typeof(i=t.valueOf)&&!n(r=i.call(t)))return r;if(!e&&"function"==typeof(i=t.toString)&&!n(r=i.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},51694:function(t,e,i){var n={};n[i(5112)("toStringTag")]="z",t.exports="[object z]"===String(n)},69711:function(t){var e=0,i=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+i).toString(36)}},43307:function(t,e,i){var n=i(30133);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},5112:function(t,e,i){var n=i(17854),r=i(72309),o=i(86656),s=i(69711),a=i(30133),c=i(43307),l=r("wks"),h=n.Symbol,u=c?h:h&&h.withoutSetter||s;t.exports=function(t){return o(l,t)&&(a||"string"==typeof l[t])||(a&&o(h,t)?l[t]=h[t]:l[t]=u("Symbol."+t)),l[t]}},92222:function(t,e,i){"use strict";var n=i(82109),r=i(47293),o=i(43157),s=i(70111),a=i(47908),c=i(17466),l=i(86135),h=i(65417),u=i(81194),d=i(5112),p=i(7392),f=d("isConcatSpreadable"),v=9007199254740991,g="Maximum allowed index exceeded",m=p>=51||!r((function(){var t=[];return t[f]=!1,t.concat()[0]!==t})),y=u("concat"),b=function(t){if(!s(t))return!1;var e=t[f];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,forced:!m||!y},{concat:function(t){var e,i,n,r,o,s=a(this),u=h(s,0),d=0;for(e=-1,n=arguments.length;e<n;e++)if(b(o=-1===e?s:arguments[e])){if(d+(r=c(o.length))>v)throw TypeError(g);for(i=0;i<r;i++,d++)i in o&&l(u,d,o[i])}else{if(d>=v)throw TypeError(g);l(u,d++,o)}return u.length=d,u}})},69826:function(t,e,i){"use strict";var n=i(82109),r=i(42092).find,o=i(51223),s="find",a=!0;s in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}}),o(s)},91038:function(t,e,i){var n=i(82109),r=i(48457);n({target:"Array",stat:!0,forced:!i(17072)((function(t){Array.from(t)}))},{from:r})},69600:function(t,e,i){"use strict";var n=i(82109),r=i(68361),o=i(45656),s=i(9341),a=[].join,c=r!=Object,l=s("join",",");n({target:"Array",proto:!0,forced:c||!l},{join:function(t){return a.call(o(this),void 0===t?",":t)}})},21249:function(t,e,i){"use strict";var n=i(82109),r=i(42092).map;n({target:"Array",proto:!0,forced:!i(81194)("map")},{map:function(t){return r(this,t,arguments.length>1?arguments[1]:void 0)}})},47042:function(t,e,i){"use strict";var n=i(82109),r=i(70111),o=i(43157),s=i(51400),a=i(17466),c=i(45656),l=i(86135),h=i(5112),u=i(81194)("slice"),d=h("species"),p=[].slice,f=Math.max;n({target:"Array",proto:!0,forced:!u},{slice:function(t,e){var i,n,h,u=c(this),v=a(u.length),g=s(t,v),m=s(void 0===e?v:e,v);if(o(u)&&("function"!=typeof(i=u.constructor)||i!==Array&&!o(i.prototype)?r(i)&&null===(i=i[d])&&(i=void 0):i=void 0,i===Array||void 0===i))return p.call(u,g,m);for(n=new(void 0===i?Array:i)(f(m-g,0)),h=0;g<m;g++,h++)g in u&&l(n,h,u[g]);return n.length=h,n}})},68309:function(t,e,i){var n=i(19781),r=i(3070).f,o=Function.prototype,s=o.toString,a=/^\s*function ([^ (]*)/,c="name";n&&!(c in o)&&r(o,c,{configurable:!0,get:function(){try{return s.call(this).match(a)[1]}catch(t){return""}}})},41539:function(t,e,i){var n=i(51694),r=i(31320),o=i(90288);n||r(Object.prototype,"toString",o,{unsafe:!0})},74916:function(t,e,i){"use strict";var n=i(82109),r=i(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==r},{exec:r})},39714:function(t,e,i){"use strict";var n=i(31320),r=i(19670),o=i(47293),s=i(67066),a="toString",c=RegExp.prototype,l=c.toString,h=o((function(){return"/a/b"!=l.call({source:"a",flags:"b"})})),u=l.name!=a;(h||u)&&n(RegExp.prototype,a,(function(){var t=r(this),e=String(t.source),i=t.flags;return"/"+e+"/"+String(void 0===i&&t instanceof RegExp&&!("flags"in c)?s.call(t):i)}),{unsafe:!0})},78783:function(t,e,i){"use strict";var n=i(28710).charAt,r=i(29909),o=i(70654),s="String Iterator",a=r.set,c=r.getterFor(s);o(String,"String",(function(t){a(this,{type:s,string:String(t),index:0})}),(function(){var t,e=c(this),i=e.string,r=e.index;return r>=i.length?{value:void 0,done:!0}:(t=n(i,r),e.index+=t.length,{value:t,done:!1})}))},4723:function(t,e,i){"use strict";var n=i(27007),r=i(19670),o=i(17466),s=i(84488),a=i(31530),c=i(97651);n("match",(function(t,e,i){return[function(e){var i=s(this),n=null==e?void 0:e[t];return void 0!==n?n.call(e,i):new RegExp(e)[t](String(i))},function(t){var n=i(e,this,t);if(n.done)return n.value;var s=r(this),l=String(t);if(!s.global)return c(s,l);var h=s.unicode;s.lastIndex=0;for(var u,d=[],p=0;null!==(u=c(s,l));){var f=String(u[0]);d[p]=f,""===f&&(s.lastIndex=a(l,o(s.lastIndex),h)),p++}return 0===p?null:d}]}))},15306:function(t,e,i){"use strict";var n=i(27007),r=i(47293),o=i(19670),s=i(17466),a=i(99958),c=i(84488),l=i(31530),h=i(10647),u=i(97651),d=i(5112)("replace"),p=Math.max,f=Math.min,v="$0"==="a".replace(/./,"$0"),g=!!/./[d]&&""===/./[d]("a","$0");n("replace",(function(t,e,i){var n=g?"$":"$0";return[function(t,i){var n=c(this),r=null==t?void 0:t[d];return void 0!==r?r.call(t,n,i):e.call(String(n),t,i)},function(t,r){if("string"==typeof r&&-1===r.indexOf(n)&&-1===r.indexOf("$<")){var c=i(e,this,t,r);if(c.done)return c.value}var d=o(this),v=String(t),g="function"==typeof r;g||(r=String(r));var m=d.global;if(m){var y=d.unicode;d.lastIndex=0}for(var b=[];;){var x=u(d,v);if(null===x)break;if(b.push(x),!m)break;""===String(x[0])&&(d.lastIndex=l(v,s(d.lastIndex),y))}for(var w,S="",E=0,C=0;C<b.length;C++){x=b[C];for(var k=String(x[0]),A=p(f(a(x.index),v.length),0),_=[],D=1;D<x.length;D++)_.push(void 0===(w=x[D])?w:String(w));var P=x.groups;if(g){var I=[k].concat(_,A,v);void 0!==P&&I.push(P);var L=String(r.apply(void 0,I))}else L=h(k,v,A,_,P,r);A>=E&&(S+=v.slice(E,A)+L,E=A+k.length)}return S+v.slice(E)}]}),!!r((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!v||g)},23123:function(t,e,i){"use strict";var n=i(27007),r=i(47850),o=i(19670),s=i(84488),a=i(36707),c=i(31530),l=i(17466),h=i(97651),u=i(22261),d=i(52999),p=i(47293),f=d.UNSUPPORTED_Y,v=[].push,g=Math.min,m=4294967295,y=!p((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var i="ab".split(t);return 2!==i.length||"a"!==i[0]||"b"!==i[1]}));n("split",(function(t,e,i){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(t,i){var n=String(s(this)),o=void 0===i?m:i>>>0;if(0===o)return[];if(void 0===t)return[n];if(!r(t))return e.call(n,t,o);for(var a,c,l,h=[],d=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),p=0,f=new RegExp(t.source,d+"g");(a=u.call(f,n))&&!((c=f.lastIndex)>p&&(h.push(n.slice(p,a.index)),a.length>1&&a.index<n.length&&v.apply(h,a.slice(1)),l=a[0].length,p=c,h.length>=o));)f.lastIndex===a.index&&f.lastIndex++;return p===n.length?!l&&f.test("")||h.push(""):h.push(n.slice(p)),h.length>o?h.slice(0,o):h}:"0".split(void 0,0).length?function(t,i){return void 0===t&&0===i?[]:e.call(this,t,i)}:e,[function(e,i){var r=s(this),o=null==e?void 0:e[t];return void 0!==o?o.call(e,r,i):n.call(String(r),e,i)},function(t,r){var s=i(n,this,t,r,n!==e);if(s.done)return s.value;var u=o(this),d=String(t),p=a(u,RegExp),v=u.unicode,y=(u.ignoreCase?"i":"")+(u.multiline?"m":"")+(u.unicode?"u":"")+(f?"g":"y"),b=new p(f?"^(?:"+u.source+")":u,y),x=void 0===r?m:r>>>0;if(0===x)return[];if(0===d.length)return null===h(b,d)?[d]:[];for(var w=0,S=0,E=[];S<d.length;){b.lastIndex=f?0:S;var C,k=h(b,f?d.slice(S):d);if(null===k||(C=g(l(b.lastIndex+(f?S:0)),d.length))===w)S=c(d,S,v);else{if(E.push(d.slice(w,S)),E.length===x)return E;for(var A=1;A<=k.length-1;A++)if(E.push(k[A]),E.length===x)return E;S=w=C}}return E.push(d.slice(w)),E}]}),!y,f)},39741:function(t,e,i){var n,r;!function(o,s){"use strict";void 0===(r="function"==typeof(n=s)?n.call(e,i,e,t):n)||(t.exports=r)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}))},7158:function(t,e,i){var n,r;"undefined"!=typeof window&&window,void 0===(r="function"==typeof(n=function(){"use strict";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],r=0;r<i.length;r++){var o=i[r];n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?n.call(e,i,e,t):n)||(t.exports=r)},99047:function(t,e,i){var n,r;!function(o,s){n=[i(39741)],r=function(t){return function(t,e){"use strict";var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var r=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&r.push(t);for(var i=t.querySelectorAll(n),o=0;o<i.length;o++)r.push(i[o])}else r.push(t)})),r},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],r=e+"Timeout";t.prototype[e]=function(){var t=this[r];clearTimeout(t);var e=arguments,o=this;this[r]=setTimeout((function(){n.apply(o,e),delete o[r]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var r=t.console;return i.htmlInit=function(e,n){i.docReady((function(){var o=i.toDashed(n),s="data-"+o,a=document.querySelectorAll("["+s+"]"),c=document.querySelectorAll(".js-"+o),l=i.makeArray(a).concat(i.makeArray(c)),h=s+"-options",u=t.jQuery;l.forEach((function(t){var i,o=t.getAttribute(s)||t.getAttribute(h);try{i=o&&JSON.parse(o)}catch(e){return void(r&&r.error("Error parsing "+s+" on "+t.className+": "+e))}var a=new e(t,i);u&&u.data(t,n,a)}))}))},i}(o,t)}.apply(e,n),void 0===r||(t.exports=r)}(window)},97541:function(t,e,i){var n,r,o;window,r=[i(92442),i(99047)],void 0===(o="function"==typeof(n=function(t,e){"use strict";t.createMethods.push("_createAsNavFor");var i=t.prototype;return i._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t=this.options.asNavFor;if(t){var e=this;setTimeout((function(){e.setNavCompanion(t)}))}},i.setNavCompanion=function(i){i=e.getQueryElement(i);var n=t.data(i);if(n&&n!=this){this.navCompanion=n;var r=this;this.onNavCompanionSelect=function(){r.navCompanionSelect()},n.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},i.navCompanionSelect=function(t){if(this.navCompanion){var e=this.navCompanion.selectedCells[0],i=this.navCompanion.cells.indexOf(e),n=i+this.navCompanion.selectedCells.length-1,r=Math.floor((s=i,a=n,c=this.navCompanion.cellAlign,(a-s)*c+s));if(this.selectCell(r,!1,t),this.removeNavSelectedElements(),!(r>=this.cells.length)){var o=this.cells.slice(i,n+1);this.navSelectedElements=o.map((function(t){return t.element})),this.changeNavSelectedClass("add")}}var s,a,c},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})?n.apply(e,r):n)||(t.exports=o)},37275:function(t,e,i){var n,r,o;window,r=[i(92442)],void 0===(o="function"==typeof(n=function(t){"use strict";t.createMethods.push("_createFullscreen");var e=t.prototype;e._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new n("view",this),this.exitFullscreenButton=new n("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},e._changeFullscreenActive=function(){var t=this.isActive?"appendChild":"removeChild";this.element[t](this.viewFullscreenButton.element),this.element[t](this.exitFullscreenButton.element);var e=this.isActive?"activate":"deactivate";this.viewFullscreenButton[e](),this.exitFullscreenButton[e]()},e.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},e.exitFullscreen=function(){this._changeFullscreen(!1)},e._changeFullscreen=function(t){if(this.isFullscreen!=t){this.isFullscreen=t;var e=t?"add":"remove";document.documentElement.classList[e]("is-flickity-fullscreen"),this.element.classList[e]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[t])}},e.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};var i=e.setGallerySize;function n(t,e){this.name=t,this.createButton(),this.createIcon(),this.onClick=function(){e[t+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}e.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":i.call(this))},t.keyboardHandlers[27]=function(){this.exitFullscreen()},n.prototype.createButton=function(){var t=this.element=document.createElement("button");t.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name,t.setAttribute("type","button");var e,i=(e=this.name+" full-screen")[0].toUpperCase()+e.slice(1);t.setAttribute("aria-label",i),t.title=i};var r="http://www.w3.org/2000/svg",o={view:"M15,20,7,28h5v4H0V20H4v5l8-8Zm5-5,8-8v5h4V0H20V4h5l-8,8Z",exit:"M32,3l-7,7h5v4H18V2h4V7l7-7ZM3,32l7-7v5h4V18H2v4H7L0,29Z"};return n.prototype.createIcon=function(){var t=document.createElementNS(r,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 32 32");var e=document.createElementNS(r,"path"),i=o[this.name];e.setAttribute("d",i),t.appendChild(e),this.element.appendChild(t)},n.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},n.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},t.FullscreenButton=n,t})?n.apply(e,r):n)||(t.exports=o)},93597:function(t,e,i){var n,r;window,n=[i(17217),i(99047)],void 0===(r=function(t,e){return function(t,e,i){"use strict";var n=e.prototype;return n.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var n=this.cells.length;e=void 0===e?n:e;var r=function(t){var e=document.createDocumentFragment();return t.forEach((function(t){e.appendChild(t.element)})),e}(i),o=e==n;if(o)this.slider.appendChild(r);else{var s=this.cells[e].element;this.slider.insertBefore(r,s)}if(0===e)this.cells=i.concat(this.cells);else if(o)this.cells=this.cells.concat(i);else{var a=this.cells.splice(e,n-e);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i),this.cellChange(e,!0)}},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach((function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},n.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}(0,t,e)}.apply(e,n))||(t.exports=r)},17880:function(t,e,i){var n,r;window,n=[i(99047)],void 0===(r=function(t){return function(t,e){"use strict";return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame((function(){e.animate()}))}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(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=this.options.rightToLeft?-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;n<t.length;n++){var r=t[n],o=e>0?i:0;r.wrapShift(o),e-=r.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}}}(0,t)}.apply(e,n))||(t.exports=r)},57229:function(t,e,i){var n,r;window,n=[i(66131)],void 0===(r=function(t){return function(t,e){"use strict";function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}(0,t)}.apply(e,n))||(t.exports=r)},29690:function(t,e,i){var n,r;!function(o,s){n=[i(17217),i(54842),i(99047)],r=function(t,e,i){return function(t,e,i,n){"use strict";n.extend(e.defaults,{draggable:">1",dragThreshold:3}),e.createMethods.push("_createDrag");var r=e.prototype;n.extend(r,i.prototype),r._touchActionValue="pan-y";var o="createTouch"in document,s=!1;r._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),o&&!s&&(t.addEventListener("touchmove",(function(){})),s=!0)},r.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},r.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},r.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},r.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},r.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},r._uiChangeDrag=function(){delete this.isFreeScrolling},r.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=c(),t.addEventListener("scroll",this),this._pointerDownDefault(e,i)):this._pointerDownDefault(e,i)},r._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])};var a={INPUT:!0,TEXTAREA:!0,SELECT:!0};function c(){return{x:t.pageXOffset,y:t.pageYOffset}}return r.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},r._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[t.target.nodeName];e||i||n||t.preventDefault()},r.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},r.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},r.pointerDone=function(){t.removeEventListener("scroll",this),delete this.pointerDownScroll},r.dragStart=function(e,i){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),t.removeEventListener("scroll",this),this.dispatchEvent("dragStart",e,[i]))},r.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,i]),this._dragMove(t,e,i)},r.dragMove=function(t,e,i){if(this.isDraggable){t.preventDefault(),this.previousDragX=this.dragX;var n=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var r=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var o=Math.max(-this.slides[0].target,this.dragStartPosition);r=r>o?.5*(r+o):r;var s=Math.min(-this.getLastSlide().target,this.dragStartPosition);r=r<s?.5*(r+s):r}this.dragX=r,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},r.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},r.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index},r._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,r=1/0,o=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};o(e,r)&&(n+=i,r=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:r,index:n-i}},r.getSlideDistance=function(t,e){var i=this.slides.length,r=this.options.wrapAround&&i>1,o=r?n.modulo(e,i):e,s=this.slides[o];if(!s)return null;var a=r?this.slideableWidth*Math.floor(e/i):0;return t-(s.target+a)},r.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},r.staticClick=function(t,e){var i=this.getParentCell(t.target),n=i&&i.element,r=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,r])},r.onscroll=function(){var t=c(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}(o,t,e,i)}.apply(e,n),void 0===r||(t.exports=r)}(window)},17217:function(t,e,i){var n,r;!function(o,s){n=[i(7158),i(66131),i(99047),i(57229),i(89714),i(17880)],r=function(t,e,i,n,r,s){return function(t,e,i,n,r,o,s){"use strict";var a=t.jQuery,c=t.getComputedStyle,l=t.console;function h(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var u=0,d={};function p(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var r=d[this.element.flickityGUID];return r&&r.option(e),r}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else l&&l.error("Bad element for Flickity: "+(i||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;n.extend(f,e.prototype),f._create=function(){var e=this.guid=++u;for(var i in this.element.flickityGUID=e,d[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}p.createMethods.forEach((function(t){this[t]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){n.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),h(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map((function(t){return new r(t,this)}),this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,r=t;r<n;r++){var o=this.cells[r];o.setPosition(e),e+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach((function(t){t.getSize()}))},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new o(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach((function(n,r){if(t.cells.length){var s=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,r,s)||(t.updateTarget(),t=new o(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)}),this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var v={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return f.setCellAlign=function(){var t=v[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}},f._getGapCells=function(t,e,i){for(var n=[];t>0;){var r=this.cells[e];if(!r)break;n.push(r),e+=i,t-=r.size.outerWidth}return n},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],r=n<this.size.innerWidth,o=this.cursorPosition+this.cells[0].size[e],s=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(t){r?t.target=n*this.cellAlign:(t.target=Math.max(t.target,o),t.target=Math.min(t.target,s))}),this)}},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var r=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var o=new a.Event(e);o.type=t,r=o}this.$element.trigger(r,i)}},f.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var r=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=r&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var i=n.modulo(t,e),r=Math.abs(i-this.selectedIndex),o=Math.abs(i+e-this.selectedIndex),s=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&o<r?t+=e:!this.isDragSelect&&s<r&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.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])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.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)}},f.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var r=this.getCellSlideIndex(n);this.select(r,e,i)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=n.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getCell(t);i&&e.push(i)}),this),e},f.getCellElements=function(){return this.cells.map((function(t){return t.element}))},f.getParentCell=function(t){return this.getCell(t)||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},f.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 r=[],o=e-t;o<=e+t;o++){var s=this.options.wrapAround?n.modulo(o,i):o,a=this.slides[s];a&&(r=r.concat(a.getCellElements()))}return r},f.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)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=c(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=p.keyboardHandlers[t.keyCode];i&&i.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(t){t.destroy()})),this.element.removeChild(this.viewport),h(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},n.extend(f,s),p.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&d[e]},n.htmlInit(p,"flickity"),a&&a.bridget&&a.bridget("flickity",p),p.setJQuery=function(t){a=t},p.Cell=r,p.Slide=o,p}(o,t,e,i,n,r,s)}.apply(e,n),void 0===r||(t.exports=r)}(window)},92442:function(t,e,i){var n,r,o;window,r=[i(17217),i(29690),i(52410),i(77573),i(8516),i(93597),i(77227)],void 0===(o="function"==typeof(n=function(t){return t})?n.apply(e,r):n)||(t.exports=o)},77227:function(t,e,i){var n,r;window,n=[i(17217),i(99047)],void 0===(r=function(t,e){return function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function r(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,n=this.getAdjacentCellElements(e),o=[];n.forEach((function(t){var e=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),r=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||r)return[t]}var o=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(o)}(t);o=o.concat(e)})),o.forEach((function(t){new r(t,this)}),this)}},r.prototype.handleEvent=i.handleEvent,r.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},r.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},r.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},r.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=r,e}(0,t,e)}.apply(e,n))||(t.exports=r)},77573:function(t,e,i){var n,r;window,n=[i(17217),i(84704),i(99047)],void 0===(r=function(t,e,i){return function(t,e,i,n){"use strict";function r(t){this.parent=t,this._create()}r.prototype=Object.create(i.prototype),r.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},r.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},r.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},r.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},r.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,r=n+t,o=n;o<r;o++){var s=document.createElement("li");s.className="dot",s.setAttribute("aria-label","Page dot "+(o+1)),e.appendChild(s),i.push(s)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},r.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},r.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},r.prototype.onTap=r.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},r.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=r,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var o=e.prototype;return o._createPageDots=function(){this.options.pageDots&&(this.pageDots=new r(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},o.activatePageDots=function(){this.pageDots.activate()},o.updateSelectedPageDots=function(){this.pageDots.updateSelected()},o.updatePageDots=function(){this.pageDots.setDots()},o.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=r,e}(0,t,e,i)}.apply(e,n))||(t.exports=r)},8516:function(t,e,i){var n,r;window,n=[i(7158),i(99047),i(17217)],void 0===(r=function(t,e,i){return function(t,e,i){"use strict";function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(t.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout((function(){e.parent.next(!0),e.tick()}),t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var r=i.prototype;return r._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},r.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},r.playPlayer=function(){this.player.play()},r.stopPlayer=function(){this.player.stop()},r.pausePlayer=function(){this.player.pause()},r.unpausePlayer=function(){this.player.unpause()},r.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},r.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},r.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}(t,e,i)}.apply(e,n))||(t.exports=r)},52410:function(t,e,i){var n,r;window,n=[i(17217),i(84704),i(99047)],void 0===(r=function(t,e,i){return function(t,e,i,n){"use strict";var r="http://www.w3.org/2000/svg";function o(t,e){this.direction=t,this.parent=e,this._create()}o.prototype=Object.create(i.prototype),o.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="flickity-button flickity-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(r,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e,i=document.createElementNS(r,"path"),n="string"==typeof(e=this.parent.options.arrowShape)?e:"M "+e.x0+",50 L "+e.x1+","+(e.y1+50)+" L "+e.x2+","+(e.y2+50)+" L "+e.x3+",50 L "+e.x2+","+(50-e.y2)+" L "+e.x1+","+(50-e.y1)+" Z";return i.setAttribute("d",n),i.setAttribute("class","arrow"),this.isLeft||i.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(i),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.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},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 s=e.prototype;return s._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},s.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},s.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e}(0,t,e,i)}.apply(e,n))||(t.exports=r)},89714:function(t,e,i){var n,r;window,void 0===(r="function"==typeof(n=function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach((function(t){t.select()}))},e.unselect=function(){this.cells.forEach((function(t){t.unselect()}))},e.getCellElements=function(){return this.cells.map((function(t){return t.element}))},t})?n.call(e,i,e,t):n)||(t.exports=r)},66131:function(t,e,i){var n,r;window,void 0===(r="function"==typeof(n=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function r(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var o,s=!1;function a(e){if(function(){if(!s){s=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=r(e);o=200==Math.round(t(n.width)),a.isBoxSizeOuter=o,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var c=r(e);if("none"==c.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}();var l={};l.width=e.offsetWidth,l.height=e.offsetHeight;for(var h=l.isBorderBox="border-box"==c.boxSizing,u=0;u<n;u++){var d=i[u],p=c[d],f=parseFloat(p);l[d]=isNaN(f)?0:f}var v=l.paddingLeft+l.paddingRight,g=l.paddingTop+l.paddingBottom,m=l.marginLeft+l.marginRight,y=l.marginTop+l.marginBottom,b=l.borderLeftWidth+l.borderRightWidth,x=l.borderTopWidth+l.borderBottomWidth,w=h&&o,S=t(c.width);!1!==S&&(l.width=S+(w?0:v+b));var E=t(c.height);return!1!==E&&(l.height=E+(w?0:g+x)),l.innerWidth=l.width-(v+b),l.innerHeight=l.height-(g+x),l.outerWidth=l.width+m,l.outerHeight=l.height+y,l}}return a})?n.call(e,i,e,t):n)||(t.exports=r)},77564:function(t,e,i){var n,r;!function(o,s){"use strict";n=[i(7158)],r=function(t){return function(t,e){var i=t.jQuery,n=t.console;function r(t,e){for(var i in e)t[i]=e[i];return t}var o=Array.prototype.slice;function s(t,e,a){if(!(this instanceof s))return new s(t,e,a);var c,l=t;"string"==typeof t&&(l=document.querySelectorAll(t)),l?(this.elements=(c=l,Array.isArray(c)?c:"object"==typeof c&&"number"==typeof c.length?o.call(c):[c]),this.options=r({},this.options),"function"==typeof e?a=e:r(this.options,e),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(l||t))}s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var r=i[n];this.addImage(r)}if("string"==typeof this.options.background){var o=t.querySelectorAll(this.options.background);for(n=0;n<o.length;n++){var s=o[n];this.addElementBackgroundImages(s)}}}};var a={1:!0,9:!0,11:!0};function c(t){this.img=t}function l(t,e){this.url=t,this.element=e,this.img=new Image}return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var r=n&&n[2];r&&this.addBackground(r,t),n=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new c(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new l(t,e);this.images.push(i)},s.prototype.check=function(){var t=this;function e(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},c.prototype=Object.create(e.prototype),c.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},c.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},c.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},c.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},c.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},c.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(c.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(i(this))})},s.makeJQueryPlugin(),s}(o,t)}.apply(e,n),void 0===r||(t.exports=r)}("undefined"!=typeof window?window:this)},54842:function(t,e,i){var n,r;!function(o,s){n=[i(84704)],r=function(t){return function(t,e){"use strict";function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",r=0;r<this.handles.length;r++){var o=this.handles[r];this._bindStartEvent(o,e),o[i]("click",this),t.PointerEvent&&(o.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var r={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=r[t.target.nodeName],i=o[t.target.type],n=!e||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return Math.abs(t.x)>3||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}(o,t)}.apply(e,n),void 0===r||(t.exports=r)}(window)},84704:function(t,e,i){var n,r;!function(o,s){n=[i(7158)],r=function(t){return function(t,e){"use strict";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",r="mousedown";t.PointerEvent?r="pointerdown":"ontouchstart"in t&&(r="touchstart"),e[n](r,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},n.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},n.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},n.onpointerdown=function(t){this._pointerDown(t,t)},n._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},n.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var r={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(e){if(e){var i=r[e.type];i.forEach((function(e){t.addEventListener(e,this)}),this),this._boundPointerEvents=i}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(e){t.removeEventListener(e,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(t){this._pointerMove(t,t)},n.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},n.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},n._pointerMove=function(t,e){this.pointerMove(t,e)},n.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},n.onmouseup=function(t){this._pointerUp(t,t)},n.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},n.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},n._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},n.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},n._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},n.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},i.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},i}(o,t)}.apply(e,n),void 0===r||(t.exports=r)}(window)}},e={};function i(n){var r=e[n];if(void 0!==r)return r.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";i(69826),i(68309),i(74916),i(15306),i(69600),i(21249),i(91038),i(78783),i(92222),i(47042);var t=i(92442),e=i.n(t),n=(i(37275),i(97541),i(77564)),r=i.n(n);function o(t){var e=new XMLHttpRequest;e.open("GET",t,!0),e.send(),e.onload=function(t){if(200===t.target.status){var i=document.createElement("div");i.setAttribute("style","display: none"),i.innerHTML=e.responseText,document.body.insertAdjacentElement("beforeend",i)}}}var s;function a(t){s?l(s,t):(window.cookieconsent.initialise(function(){var t={en:{msg:'When you access EPFL websites, we may set cookies on your devices and process personal data about you in accordance with our <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/privacy-policy">privacy policy</a>. You can block cookies by using your browser settings.'},fr:{msg:'Lorsque vous accédez aux sites web de l\'EPFL, nous pouvons installer des cookies sur vos appareils et traiter des données personnelles vous concernant conformément à notre <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/protection-des-donnees">politique de confidentialité</a>. Vous pouvez bloquer les cookies à l\'aide des paramètres de votre navigateur.'},de:{msg:'Wenn Sie auf die Websites der EPFL zugreifen, können wir in Übereinstimmung mit unserer <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/privacy-policy">Datenschutzerklärung</a> Cookies auf Ihren Geräten speichern und Personendaten bearbeiten. Über die Einstellungen in Ihrem Browser können Sie Cookies blockieren.'}},e=document.documentElement.lang.substring(0,2);t[e]||(e="fr");var i="epfl.ch",n=window.location.hostname;if("localhost"===n||"127.0.0.1"===n)i=n;else{var r=n.split(".").reverse();void 0!==r[0]&&void 0!==r[1]&&(i="".concat(r[1],".").concat(r[0]))}return{theme:"classic",palette:{popup:{background:"rgba(69, 69, 69, 0.96)"},button:{background:"#b51f1f"}},content:{message:t[e].msg,dismiss:"OK"},showLink:!1,cookie:{name:"petitpois",domain:i,autoAttach:!1}}}(),(function(e){l(s=e.element,t)}),(function(t){return console.error(t)})),window.cookieconsent.initialise=function(){})}i(41539),i(39714),i(23123),jQuery.fn.extend({cookieConsent:a});var c=a;function l(t,e){!0===e?jQuery(t).show().removeClass("cc-invisible"):!1===e&&jQuery(t).hide().addClass("cc-invisible")}i(4723);var h=["E","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+"];jQuery.fn.extend({epflElements:function(){var t,i,n,s,a,l,u,d,p,f,v;$(".upload").find('input[type="file"]').each((function(){var t=$(this),e=t.next().next(".upload-preview");t.on("change",(function(){var i=t[0].files,n=i[0].name;i.length>1&&(n="<ul>".concat(Array.from(i).map((function(t){return"<li>".concat(t.name,"</li>")})).join().replace(/,/g,""),"</ul>")),e.html(n)}))})),$(".select-multiple").each((function(t,e){$(e).multipleSelect({placeholder:$(e).attr("data-placeholder")||"",width:"100%"})})),$(".tag-input").selectize({plugins:["remove_button"],render:{item:function(t,e){return'<div class="tag tag-primary">'.concat(e(t.text),"</div>")}},create:function(t){return{value:t,text:t}}}),$(".datepicker").pickadate({monthsFull:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mar","Avr","Mai","Jui","Jui","Aoû","Sep","Oct","Nov","Déc"],weekdaysFull:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekdaysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],labelMonthNext:"Prochain mois",labelMonthPrev:"Mois précédent",labelMonthSelect:"Sélectionnez un mois",labelYearSelect:"Sélectionnez une année",format:"d mmmm yyyy",firstDay:1,today:"",clear:"",close:""}),function(){var t=!1,e=!1,i=!1,n=new Date;function r(t,e){return 7===$("tbody tr:nth-child(".concat(t,") .picker__day--outfocus"),e).length}new Date(n.getFullYear(),n.getMonth(),n.getDate()),$(".datepicker-fancy").each((function(){var o=["Jan","Fév","Mar","Avr","Mai","Jui","Jui","Aoû","Sep","Oct","Nov","Déc"],s=$(this).parent();$(this).pickadate({monthsFull:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:o,weekdaysFull:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekdaysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],labelMonthNext:"Prochain mois",labelMonthPrev:"Mois précédent",labelMonthSelect:"Sélectionnez un mois",labelYearSelect:"Sélectionnez une année",format:"d mmmm yyyy",firstDay:1,today:"",clear:"",close:"",onRender:function(){!function(t,e){if($(".nextMonthLabel",t.$holder).length>0)return!0;var i=t.component.$node.parent(),n=$(".nextMonthLabel",i),r=$(".prevMonthLabel",i),o=t.component.item.view.month+1;o===e.length&&(o=0);var s=t.component.item.view.month-1;s<0&&(s=11),n.html(e[o]),r.html(e[s]),$(".picker__box",t.$root).append(n.clone()),$(".picker__box",t.$root).append(r.clone())}(this,o),t&&function(n,o){var s=$("tr",n).index($("tr:has(.picker__day--selected)",n));if(i&&(s=i,i=!1),!t)return n;e&&(e=!1,s=6,r(6,n)&&(s=5)),$("tbody",n).attr("data-week",s),$(".picker__nav--next",n).on("click",(function(t){s<6&&!r(s+1,n)?(t.stopPropagation(),s+=1,$("tbody",n).css("transition","left 0.4s"),$("tbody",n).attr("data-week",s)):s=1})),$(".picker__nav--prev",n).on("click",(function(t){s>1?(t.stopPropagation(),s-=1,$("tbody",n).css("transition","left 0.4s"),$("tbody",n).attr("data-week",s)):e=!0})),$(".picker__day",n).each((function(){$(this).on("click",(function(){$(this).parent().parent().parent().css("transition","left 0s")}))}))}(s)},onStart:function(){this.set("select",[n.getFullYear(),n.getMonth(),n.getDate()]),function(t){$(".picker__day--infocus",t).each((function(){var t=$(this).data("pick"),e=new Date(t);"2018-03-28"==="".concat(e.getFullYear(),"-").concat("0".concat(e.getMonth()+1).slice(-2),"-").concat("0".concat(e.getDate()).slice(-2))&&$(this).addClass("custom-highlight")}))}(this);var e=$("tr:has(.picker__day--selected)",s);e.length>0&&(i=$("tr",s).index(e)),t="block"===$(".datepicker-fancy + .picker table").css("display")}})}))}(),$((function(){$('[data-toggle="popover"]').popover({placement:"top",html:!0,offset:-135,template:'<div class="popover" role="tooltip"><div class="popover-body"></div></div>'})})),(v=$(".gallery")).length>0&&(console.log("starting to gallerynav"),v.each((function(t){$(this).imagesLoaded().always((function(i){!function(t){var i=t.find(".gallery-item");t.addClass("ready"),i.each((function(t){$(this).find("figcaption").append('\n <span class="gallery-counter">'.concat(t+1,"/").concat(i.length,"</span>\n "))})),new(e())(t.get(0),{pageDots:!1,fullscreen:!0,setGallerySize:!0,arrowShape:"M14.2,45.8L53,7.1c1.6-1.6,1.6-4.3,0-5.9s-4.3-1.6-5.9,0L1.2,47c-1.6,1.6-1.6,4.3,0,5.9c0,0,0,0,0,0l45.8,45.8c1.6,1.6,4.3,1.6,5.9,0s1.6-4.3,0-5.9L14.2,54.1h81.6c2.3,0,4.2-1.9,4.2-4.2s-1.9-4.2-4.2-4.2H14.2z"}),$(".flickity-fullscreen-button-view svg path").attr("d","M32,11.9h-2.7V6.5H24V3.8h8V11.9z M24,28.2v-2.7h5.3v-5.4H32v8.2H24z M0,20.1h2.7v5.4H8v2.7H0V20.1z M8,3.8v2.7H2.7v5.4H0V3.8H8z"),$(".flickity-fullscreen-button-exit svg path").attr("d","M18.1,16l13.4,13.4c0.6,0.6,0.6,1.5,0,2.1c-0.6,0.6-1.5,0.6-2.1,0L16,18.1L2.6,31.6c-0.6,0.6-1.5,0.6-2.1,0c-0.6-0.6-0.6-1.5,0-2.1l0,0L13.9,16L0.4,2.6C-0.1,2-0.1,1,0.4,0.4s1.5-0.6,2.1,0L16,13.9L29.4,0.4c0.6-0.6,1.5-0.6,2.1,0c0.6,0.6,0.6,1.5,0,2.1L18.1,16z");var n=t.find(".gallery-item.is-selected img").height();t.find(".flickity-prev-next-button").css("top","".concat(n/2,"px"))}($(v[t]));var n=$(".gallery-nav[data-gallery='".concat(v[t].id,"']"));n.length>0&&n.each((function(i){var r;(r=$(n[i],v[t].id)).imagesLoaded().always((function(t){var i=r.data("gallery");r.addClass("ready"),new(e())(r.get(0),{asNavFor:"#".concat(i),cellAlign:"left",pageDots:!1,prevNextButtons:!1,contain:!0})})).fail((function(){console.log("one image is broken for a gallery nav")}))}))})).fail((function(){console.log("one image is broken for a gallery")}))}))),$(".search").on("shown.bs.dropdown",(function(){$('.search input[type="text"]').trigger("focus")})),$("#search-mobile-toggle").on("click",(function(){var t=$(".search-mobile"),e=t.find(".form-control");t.toggleClass("show"),$("body").toggleClass("search-open"),t.hasClass("show")&&e.trigger("focus")})),$("#search-mobile-close").on("click",(function(){$(".search-mobile").removeClass("show"),$("body").removeClass("search-open")})),$(".social-share-copy").each((function(){var t=$(this),e=t.text(),i=t.data("success");new ClipboardJS(t[0],{target:function(t){return $(t).prev("input")[0]}}).on("success",(function(t){$(t.trigger).text(i),setTimeout((function(){return $(t.trigger).text(e)}),3e3),t.clearSelection()}))})),t=(new Date).getTime().toString(16),$(".coursebook-program .tree>li").each((function(e,i){var n=$(".underline a",i),r=$(">ul",i),o="".concat(t,"-").concat(e);r.addClass("collapse collapse-item collapse-item-desktop"),n.addClass("collapse-title collapse-title-desktop collapsed"),r.attr("id",o),n.attr("data-target","#".concat(o)),n.attr("data-toggle","collapse");var s=$("<a></a>");s.addClass("btn btn-block btn-sm btn-primary my-3"),s.html("Voir le plan d'études"),s.attr("href",n.attr("href")),r.append(s)})),Tablesaw.init(),function(){if($(".card-slider-wrapper").length>0){var t=$(window).width()<768;$(".card-slider-wrapper").each((function(i,n){var o,s=$(n).find(".card-slider")[0];r()(s,(function(){o=new(e())(s,{cellAlign:"left",setGallerySize:!0,pageDots:t,prevNextButtons:!1,contain:!0,groupCells:!1}),$(n).find("#card-slider-prev").on("click",(function(){o.previous()})),$(n).find("#card-slider-next").on("click",(function(){o.next()})),$(n).find(".card-slider-cell").css("height","100%"),o.on("select",(function(){$(n).find(".card-slider-btn").removeClass("disabled"),0===o.selectedIndex&&$(n).find("#card-slider-prev").addClass("disabled"),o.selectedIndex+1!==o.slides.length&&o.selectedIndex+2!==o.slides.length||$(n).find("#card-slider-next").addClass("disabled")}))}))}))}}(),o(window.svgPath||"icons/icons.svg"),o(window.featherSvgPath||"icons/feather-sprite.svg"),d="current-menu-parent",p="current-menu-ancestor",f=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=$(".nav-toggle");e.toggleClass("open");var i=e.offset().left+e.outerWidth(!0),n=e.offset().top-$(window).scrollTop();$(".nav-main").css("top",n),$("body").toggleClass("desktop-menu-open"),t&&$("body").hasClass("desktop-menu-open")?$(".nav-main").css("left",i):$(".nav-main").css("left","")},$(".nav-main .nav-back a").on("click",(function(t){t.preventDefault();var e=$(this).parents(),i=e[2];$(i).removeClass(p).removeClass(d);var n=e[4];$(n).removeClass(p).addClass(d)})),$(".nav-main .nav-arrow").on("click",(function(t){t.preventDefault();var e=$(this).parents(),i=e[0];$(i).addClass(d);var n=e[2];$(n).addClass(p).removeClass(d)})),$(".nav-toggle-mobile").on("click",(function(){!function(){var t=$(".nav-main .nav-menu>.current-menu-item");if(t.length>0){var e=t.parents()[1];$(e).addClass(d)}$("body").toggleClass("mobile-menu-open")}()})),$(".overlay").on("click",(function(t){t.preventDefault(),f()})),$(".nav-toggle").on("click",(function(){$(this).hasClass("nav-toggle-async")&&!$(this).hasClass("open")?($(this).addClass("is-loading"),$("#styleguide").length>0&&setTimeout((function(){return $(".nav-toggle-async").trigger("loadend")}),700)):f(!0)})),$(".nav-toggle").on("loadend",(function(){$(this).removeClass("is-loading"),f(!0)})),$(".drawer-toggle").click((function(){var t=$(this).parent(".drawer"),e=t.find(".drawer-link"),i=$(this);if(t.hasClass("open"))t.removeClass("open"),t.css({width:""}),e.css({width:i.width()});else{var n="100%";$(window).width()>992&&(n=e.find(".text").outerWidth(),t.css({width:n})),t.addClass("open"),e.css({width:n})}})),i=$(".btn-expand-links"),n=$(".dropdown-toggle"),i.on("click",(function(){$(".breadcrumb-wrapper .breadcrumb").addClass("has-expanded-links")})),n.on("click",(function(t){var e=$(t.currentTarget).offset().left,i=$(document).width(),n=$(t.currentTarget).siblings(".dropdown-menu"),r=n.width(),o=i-e;$(".dropdown-menu").removeClass("open-left"),r>o&&n.addClass("open-left")})),c(),s=$("#back-to-top"),$(window).scroll((function(){$(window).scrollTop()>500?s.addClass("show"):s.removeClass("show")})),s.on("click",(function(t){t.preventDefault(),$("html, body").animate({scrollTop:0},"300")})),(a=document.querySelector("input[type=range]"))&&(a.style.setProperty("--val",+a.value),a.style.setProperty("--max",+a.max),a.style.setProperty("--min",+a.min),a.addEventListener("input",(function(){a.style.setProperty("--val",+a.value)}),!1)),l=$("#nutrimenu-score"),u=$("output[for='nutrimenu-score']"),l.length>0&&u.length>0&&(u.val(h[parseInt(l.val())-1]),l.on("input",(function(){u.val(h[parseInt($(this).val())-1])}))),$(".btn-collapse").click((function(){var t=$(this).parent(".line"),e=$(this).find("span");t.toggleClass("open"),e.toggleClass("show")})),$("#tour-lab").length>0&&$("#tour-start").click((function(){return(t=introJs()).setOptions({buttonClass:"btn btn-secondary btn-sm mt-4",tooltipPosition:"auto",positionPrecedence:["bottom","top","right","left"],scrollTo:"tooltip",scrollToElement:!0,steps:[{intro:"This is the laboratory's homepage. <b>It serves to guide the visitors to the different sub-contents</b>. The main contents are projects and publications. Here is the hierarchical order that we are proposing."},{element:"#tour-hero",intro:'Define the <b>laboratory title</b> and a <b>cover image</b> using the <a href="#/organisms/hero" target="_blank">hero</a> component or only <b>a title</b>, if there is no cover, using the following step structure.'},{element:"#tour-intro",intro:"Type a <b>succinct introduction paragraph</b> wrapped inside a <code>.container-grid</code> (the title can also be added here)"},{element:"#tour-projects",intro:'\n The main objective of a laboratory is to show the projects that are carried out there. In this section, you can use the <a href="#/content-types/research-project" target="_blank">Research project</a> content types to show them. We advise you to put a <b>maximum of 3 projects</b> on the lab’s homepage and then put a link to the page that lists all the projects.\n '},{element:"#tour-publications",intro:'\n Laboratories also produce publications. You can list <b>up to 5</b> here with the <a href="#/content-types/publication" target="_blank">Publication</a> component and add a link to the page that lists all the publications.\n '},{element:"#tour-news",intro:'\n If you have some news about your laboratory, you can list the latest at this location. We advise you not to list too much (maximum 2) and use the component <a href="#/content-types/news" target="_blank">News</a> content-types (<b>Basic teaser</b>) and add a link to all news page.\n '},{element:"#tour-partof",intro:'\n <p>\n This section is intended to <b>provide the context of the laboratory</b>. It is possible for a laboratory to belong to several institutes and/or faculties. If this is the case, we advise you to use a teaser that brings the visitor to a listing page, rather than putting them all on the lab’s homepage. Laboratories can have themes that categorize them. It is recommended to use component “tag” to list them.\n </p>\n <p>\n For this part, you can use some of the <a href="#/content-types/school" target="_blank">School</a> and <a href="#/content-types/institute" target="_blank">Institute</a> content types. The themes are based on the <a href="#/atoms/tag" target="_blank">tag</a> component.\n </p>\n '},{element:"#tour-contact",intro:'\n <b>Several people may want to contact</b> the laboratory: press, potential collaborators, people interested in your work or simply people who want to know where you are located. That’s why we recommend using the <a href="#/organisms/contact" target="_blank">Contact</a> component (<b>Banner</b>) that gives all this information.\n '},{element:"#tour-team",intro:'\n Some visitors may want to ask you questions or <b>see who composes the laboratory\'s team</b>. It is possible to link to the team page using the <a href="#/content-types/basic-page" target="_blank">Teaser basic page</a> component.\n '},{element:"#tour-sponsors",intro:'\n It is possible that you have sponsors. On a second column, you can list them thanks to the <a href="#/molecules/sponsor" target="_blank">Sponsor</a> component.\n '}]}),void t.start();var t})),$("a").on("click",(function(t){var e=$(t.target).attr("href");e&&e.length>1&&e.match("^#")&&$(t.target)[0].scrollIntoView()}))}}),jQuery(jQuery.fn.epflElements)}()}();
|
|
2
|
+
!function(){var t={39786:function(t,e,i){var n,s;!function(o,r){"use strict";void 0===(s="function"==typeof(n=r)?n.call(e,i,e,t):n)||(t.exports=s)}(window,(function(){"use strict";var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}))},32137:function(t,e,i){var n,s;"undefined"!=typeof window&&window,void 0===(s="function"==typeof(n=function(){"use strict";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],s=0;s<i.length;s++){var o=i[s];n&&n[o]&&(this.off(t,o),delete n[o]),o.apply(this,e)}return this}},e.allOff=function(){delete this._events,delete this._onceEvents},t})?n.call(e,i,e,t):n)||(t.exports=s)},977:function(t,e,i){var n,s;!function(o){n=[i(39786)],s=function(t){return function(t,e){"use strict";var i={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e}},n=Array.prototype.slice;i.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?n.call(t):[t]},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){t=i.makeArray(t);var s=[];return t.forEach((function(t){if(t instanceof HTMLElement)if(n){e(t,n)&&s.push(t);for(var i=t.querySelectorAll(n),o=0;o<i.length;o++)s.push(i[o])}else s.push(t)})),s},i.debounceMethod=function(t,e,i){i=i||100;var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];clearTimeout(t);var e=arguments,o=this;this[s]=setTimeout((function(){n.apply(o,e),delete o[s]}),i)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,(function(t,e,i){return e+"-"+i})).toLowerCase()};var s=t.console;return i.htmlInit=function(e,n){i.docReady((function(){var o=i.toDashed(n),r="data-"+o,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+o),h=i.makeArray(a).concat(i.makeArray(l)),c=r+"-options",d=t.jQuery;h.forEach((function(t){var i,o=t.getAttribute(r)||t.getAttribute(c);try{i=o&&JSON.parse(o)}catch(e){return void(s&&s.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);d&&d.data(t,n,a)}))}))},i}(o,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)},55839:function(t,e,i){var n,s,o;window,s=[i(42522),i(977)],void 0===(o="function"==typeof(n=function(t,e){"use strict";t.createMethods.push("_createAsNavFor");var i=t.prototype;return i._createAsNavFor=function(){this.on("activate",this.activateAsNavFor),this.on("deactivate",this.deactivateAsNavFor),this.on("destroy",this.destroyAsNavFor);var t=this.options.asNavFor;if(t){var e=this;setTimeout((function(){e.setNavCompanion(t)}))}},i.setNavCompanion=function(i){i=e.getQueryElement(i);var n=t.data(i);if(n&&n!=this){this.navCompanion=n;var s=this;this.onNavCompanionSelect=function(){s.navCompanionSelect()},n.on("select",this.onNavCompanionSelect),this.on("staticClick",this.onNavStaticClick),this.navCompanionSelect(!0)}},i.navCompanionSelect=function(t){if(this.navCompanion){var e=this.navCompanion.selectedCells[0],i=this.navCompanion.cells.indexOf(e),n=i+this.navCompanion.selectedCells.length-1,s=Math.floor((r=i,a=n,l=this.navCompanion.cellAlign,(a-r)*l+r));if(this.selectCell(s,!1,t),this.removeNavSelectedElements(),!(s>=this.cells.length)){var o=this.cells.slice(i,n+1);this.navSelectedElements=o.map((function(t){return t.element})),this.changeNavSelectedClass("add")}}var r,a,l},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})?n.apply(e,s):n)||(t.exports=o)},47777:function(t,e,i){var n,s,o;window,s=[i(42522)],void 0===(o="function"==typeof(n=function(t){"use strict";t.createMethods.push("_createFullscreen");var e=t.prototype;e._createFullscreen=function(){this.isFullscreen=!1,this.options.fullscreen&&(this.viewFullscreenButton=new n("view",this),this.exitFullscreenButton=new n("exit",this),this.on("activate",this._changeFullscreenActive),this.on("deactivate",this._changeFullscreenActive))},e._changeFullscreenActive=function(){var t=this.isActive?"appendChild":"removeChild";this.element[t](this.viewFullscreenButton.element),this.element[t](this.exitFullscreenButton.element);var e=this.isActive?"activate":"deactivate";this.viewFullscreenButton[e](),this.exitFullscreenButton[e]()},e.viewFullscreen=function(){this._changeFullscreen(!0),this.focus()},e.exitFullscreen=function(){this._changeFullscreen(!1)},e._changeFullscreen=function(t){if(this.isFullscreen!=t){this.isFullscreen=t;var e=t?"add":"remove";document.documentElement.classList[e]("is-flickity-fullscreen"),this.element.classList[e]("is-fullscreen"),this.resize(),this.isFullscreen&&this.reposition(),this.dispatchEvent("fullscreenChange",null,[t])}},e.toggleFullscreen=function(){this._changeFullscreen(!this.isFullscreen)};var i=e.setGallerySize;function n(t,e){this.name=t,this.createButton(),this.createIcon(),this.onClick=function(){e[t+"Fullscreen"]()},this.clickHandler=this.onClick.bind(this)}e.setGallerySize=function(){this.options.setGallerySize&&(this.isFullscreen?this.viewport.style.height="":i.call(this))},t.keyboardHandlers[27]=function(){this.exitFullscreen()},n.prototype.createButton=function(){var t=this.element=document.createElement("button");t.className="flickity-button flickity-fullscreen-button flickity-fullscreen-button-"+this.name,t.setAttribute("type","button");var e,i=(e=this.name+" full-screen")[0].toUpperCase()+e.slice(1);t.setAttribute("aria-label",i),t.title=i};var s="http://www.w3.org/2000/svg",o={view:"M15,20,7,28h5v4H0V20H4v5l8-8Zm5-5,8-8v5h4V0H20V4h5l-8,8Z",exit:"M32,3l-7,7h5v4H18V2h4V7l7-7ZM3,32l7-7v5h4V18H2v4H7L0,29Z"};return n.prototype.createIcon=function(){var t=document.createElementNS(s,"svg");t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 32 32");var e=document.createElementNS(s,"path"),i=o[this.name];e.setAttribute("d",i),t.appendChild(e),this.element.appendChild(t)},n.prototype.activate=function(){this.element.addEventListener("click",this.clickHandler)},n.prototype.deactivate=function(){this.element.removeEventListener("click",this.clickHandler)},t.FullscreenButton=n,t})?n.apply(e,s):n)||(t.exports=o)},69943:function(t,e,i){var n,s;window,n=[i(9249),i(977)],void 0===(s=function(t,e){return function(t,e,i){"use strict";var n=e.prototype;return n.insert=function(t,e){var i=this._makeCells(t);if(i&&i.length){var n=this.cells.length;e=void 0===e?n:e;var s=function(t){var e=document.createDocumentFragment();return t.forEach((function(t){e.appendChild(t.element)})),e}(i),o=e==n;if(o)this.slider.appendChild(s);else{var r=this.cells[e].element;this.slider.insertBefore(s,r)}if(0===e)this.cells=i.concat(this.cells);else if(o)this.cells=this.cells.concat(i);else{var a=this.cells.splice(e,n-e);this.cells=this.cells.concat(i).concat(a)}this._sizeCells(i),this.cellChange(e,!0)}},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var e=this.getCells(t);if(e&&e.length){var n=this.cells.length-1;e.forEach((function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),i.removeFrom(this.cells,t)}),this),this.cellChange(n,!0)}},n.cellSizeChange=function(t){var e=this.getCell(t);if(e){e.getSize();var i=this.cells.indexOf(e);this.cellChange(i)}},n.cellChange=function(t,e){var i=this.selectedElement;this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize();var n=this.getCell(i);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e}(0,t,e)}.apply(e,n))||(t.exports=s)},22121:function(t,e,i){var n,s;window,n=[i(977)],void 0===(s=function(t){return function(t,e){"use strict";return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t=this.x;if(this.integratePhysics(),this.positionSlider(),this.settle(t),this.isAnimating){var e=this;requestAnimationFrame((function(){e.animate()}))}},positionSlider:function(){var t=this.x;this.options.wrapAround&&this.cells.length>1&&(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=this.options.rightToLeft?-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;n<t.length;n++){var s=t[n],o=e>0?i:0;s.wrapShift(o),e-=s.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(this.isDraggable&&this.isPointerDown){var t=this.dragX-this.x-this.velocity;this.applyForce(t)}},applySelectedAttraction:function(){if((!this.isDraggable||!this.isPointerDown)&&!this.isFreeScrolling&&this.slides.length){var t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(t)}}}}(0,t)}.apply(e,n))||(t.exports=s)},54092:function(t,e,i){var n,s;window,n=[i(21485)],void 0===(s=function(t){return function(t,e){"use strict";function i(t,e){this.element=t,this.parent=e,this.create()}var n=i.prototype;return n.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0},n.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.removeAttribute("aria-hidden")},n.getSize=function(){this.size=e(this.element)},n.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},n.updateTarget=n.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},n.renderPosition=function(t){var e=this.parent.originSide;this.element.style[e]=this.parent.getPositionValue(t)},n.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},n.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},n.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},n.remove=function(){this.element.parentNode.removeChild(this.element)},i}(0,t)}.apply(e,n))||(t.exports=s)},63170:function(t,e,i){var n,s;!function(o){n=[i(9249),i(86377),i(977)],s=function(t,e,i){return function(t,e,i,n){"use strict";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";var o="createTouch"in document,r=!1;s._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),o&&!r&&(t.addEventListener("touchmove",(function(){})),r=!0)},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: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=l(),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 a={INPUT:!0,TEXTAREA:!0,SELECT:!0};function l(){return{x:t.pageXOffset,y:t.pageYOffset}}return s.pointerDownFocus=function(t){a[t.target.nodeName]||this.focus()},s._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,i="touch"==t.pointerType,n=a[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=this.options.rightToLeft?-1:1;this.options.wrapAround&&(i.x%=this.slideableWidth);var s=this.dragStartPosition+i.x*n;if(!this.options.wrapAround&&this.slides.length){var o=Math.max(-this.slides[0].target,this.dragStartPosition);s=s>o?.5*(s+o):s;var r=Math.min(-this.getLastSlide().target,this.dragStartPosition);s=s<r?.5*(s+r):s}this.dragX=s,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,i])}},s.dragEnd=function(t,e){if(this.isDraggable){this.options.freeScroll&&(this.isFreeScrolling=!0);var i=this.dragEndRestingSelect();if(this.options.freeScroll&&!this.options.wrapAround){var n=this.getRestingPosition();this.isFreeScrolling=-n>this.slides[0].target&&-n<this.getLastSlide().target}else this.options.freeScroll||i!=this.selectedIndex||(i+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(i),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e])}},s.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),i=this._getClosestResting(t,e,1),n=this._getClosestResting(t,e,-1);return i.distance<n.distance?i.index:n.index},s._getClosestResting=function(t,e,i){for(var n=this.selectedIndex,s=1/0,o=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};o(e,s)&&(n+=i,s=e,null!==(e=this.getSlideDistance(-t,n)));)e=Math.abs(e);return{distance:s,index:n-i}},s.getSlideDistance=function(t,e){var i=this.slides.length,s=this.options.wrapAround&&i>1,o=s?n.modulo(e,i):e,r=this.slides[o];if(!r)return null;var a=s?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,s=i&&this.cells.indexOf(i);this.dispatchEvent("staticClick",t,[e,n,s])},s.onscroll=function(){var t=l(),e=this.pointerDownScroll.x-t.x,i=this.pointerDownScroll.y-t.y;(Math.abs(e)>3||Math.abs(i)>3)&&this._pointerDone()},e}(o,t,e,i)}.apply(e,n),void 0===s||(t.exports=s)}(window)},9249:function(t,e,i){var n,s;!function(o){n=[i(32137),i(21485),i(977),i(54092),i(61331),i(22121)],s=function(t,e,i,n,s,r){return function(t,e,i,n,s,o,r){"use strict";var a=t.jQuery,l=t.getComputedStyle,h=t.console;function c(t,e){for(t=n.makeArray(t);t.length;)e.appendChild(t.shift())}var d=0,u={};function p(t,e){var i=n.getQueryElement(t);if(i){if(this.element=i,this.element.flickityGUID){var s=u[this.element.flickityGUID];return s&&s.option(e),s}a&&(this.$element=a(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e),this._create()}else h&&h.error("Bad element for Flickity: "+(i||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var f=p.prototype;n.extend(f,e.prototype),f._create=function(){var e=this.guid=++d;for(var i in this.element.flickityGUID=e,u[e]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&t.addEventListener("resize",this),this.options.on){var n=this.options.on[i];this.on(i,n)}p.createMethods.forEach((function(t){this[t]()}),this),this.options.watchCSS?this.watchCSS():this.activate()},f.option=function(t){n.extend(this.options,t)},f.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),c(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},f._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},f._filterFindCellElements=function(t){return n.filterFindElements(t,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},f._makeCells=function(t){return this._filterFindCellElements(t).map((function(t){return new s(t,this)}),this)},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(t){t=t||0,this.maxCellHeight=t&&this.maxCellHeight||0;var e=0;if(t>0){var i=this.cells[t-1];e=i.x+i.size.outerWidth}for(var n=this.cells.length,s=t;s<n;s++){var o=this.cells[s];o.setPosition(e),e+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=e,this.updateSlides(),this._containSlides(),this.slidesWidth=n?this.getLastSlide().target-this.slides[0].target:0},f._sizeCells=function(t){t.forEach((function(t){t.getSize()}))},f.updateSlides=function(){if(this.slides=[],this.cells.length){var t=new o(this);this.slides.push(t);var e="left"==this.originSide?"marginRight":"marginLeft",i=this._getCanCellFit();this.cells.forEach((function(n,s){if(t.cells.length){var r=t.outerWidth-t.firstMargin+(n.size.outerWidth-n.size[e]);i.call(this,s,r)||(t.updateTarget(),t=new o(this),this.slides.push(t)),t.addCell(n)}else t.addCell(n)}),this),t.updateTarget(),this.updateSelectedSlide()}},f._getCanCellFit=function(){var t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t){var e=parseInt(t,10);return function(t){return t%e!=0}}var i="string"==typeof t&&t.match(/^(\d+)%$/),n=i?parseInt(i[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=i(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};var g={center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}};return f.setCellAlign=function(){var t=g[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},f.setGallerySize=function(){if(this.options.setGallerySize){var t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=t+"px"}},f._getWrapShiftCells=function(){if(this.options.wrapAround){this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);var t=this.cursorPosition,e=this.cells.length-1;this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1)}},f._getGapCells=function(t,e,i){for(var n=[];t>0;){var s=this.cells[e];if(!s)break;n.push(s),e+=i,t-=s.size.outerWidth}return n},f._containSlides=function(){if(this.options.contain&&!this.options.wrapAround&&this.cells.length){var t=this.options.rightToLeft,e=t?"marginRight":"marginLeft",i=t?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[i],s=n<this.size.innerWidth,o=this.cursorPosition+this.cells[0].size[e],r=n-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((function(t){s?t.target=n*this.cellAlign:(t.target=Math.max(t.target,o),t.target=Math.min(t.target,r))}),this)}},f.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),a&&this.$element){var s=t+=this.options.namespaceJQueryEvents?".flickity":"";if(e){var o=new a.Event(e);o.type=t,s=o}this.$element.trigger(s,i)}},f.select=function(t,e,i){if(this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=n.modulo(t,this.slides.length)),this.slides[t])){var s=this.selectedIndex;this.selectedIndex=t,this.updateSelectedSlide(),i?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=s&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")}},f._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&e>1))return t;var i=n.modulo(t,e),s=Math.abs(i-this.selectedIndex),o=Math.abs(i+e-this.selectedIndex),r=Math.abs(i-e-this.selectedIndex);!this.isDragSelect&&o<s?t+=e:!this.isDragSelect&&r<s&&(t-=e),t<0?this.x-=this.slideableWidth:t>=e&&(this.x+=this.slideableWidth)},f.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},f.next=function(t,e){this.select(this.selectedIndex+1,t,e)},f.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])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.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)}},f.selectCell=function(t,e,i){var n=this.queryCell(t);if(n){var s=this.getCellSlideIndex(n);this.select(s,e,i)}},f.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},f.getCell=function(t){for(var e=0;e<this.cells.length;e++){var i=this.cells[e];if(i.element==t)return i}},f.getCells=function(t){t=n.makeArray(t);var e=[];return t.forEach((function(t){var i=this.getCell(t);i&&e.push(i)}),this),e},f.getCellElements=function(){return this.cells.map((function(t){return t.element}))},f.getParentCell=function(t){return this.getCell(t)||(t=n.getParent(t,".flickity-slider > *"),this.getCell(t))},f.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 s=[],o=e-t;o<=e+t;o++){var r=this.options.wrapAround?n.modulo(o,i):o,a=this.slides[r];a&&(s=s.concat(a.getCellElements()))}return s},f.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)},f.uiChange=function(){this.emitEvent("uiChange")},f.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},f.onresize=function(){this.watchCSS(),this.resize()},n.debounceMethod(p,"onresize",150),f.resize=function(){if(this.isActive){this.getSize(),this.options.wrapAround&&(this.x=n.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");var t=this.selectedElements&&this.selectedElements[0];this.selectCell(t,!1,!0)}},f.watchCSS=function(){this.options.watchCSS&&(-1!=l(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},f.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;if(this.options.accessibility&&!e){var i=p.keyboardHandlers[t.keyCode];i&&i.call(this)}},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},f.focus=function(){var e=t.pageYOffset;this.element.focus({preventScroll:!0}),t.pageYOffset!=e&&t.scrollTo(t.pageXOffset,e)},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((function(t){t.destroy()})),this.element.removeChild(this.viewport),c(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),t.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),a&&this.$element&&a.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},n.extend(f,r),p.data=function(t){var e=(t=n.getQueryElement(t))&&t.flickityGUID;return e&&u[e]},n.htmlInit(p,"flickity"),a&&a.bridget&&a.bridget("flickity",p),p.setJQuery=function(t){a=t},p.Cell=s,p.Slide=o,p}(o,t,e,i,n,s,r)}.apply(e,n),void 0===s||(t.exports=s)}(window)},42522:function(t,e,i){var n,s,o;window,s=[i(9249),i(63170),i(27824),i(7728),i(79453),i(69943),i(70766)],void 0===(o="function"==typeof(n=function(t){return t})?n.apply(e,s):n)||(t.exports=o)},70766:function(t,e,i){var n,s;window,n=[i(9249),i(977)],void 0===(s=function(t,e){return function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function s(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var t=this.options.lazyLoad;if(t){var e="number"==typeof t?t:0,n=this.getAdjacentCellElements(e),o=[];n.forEach((function(t){var e=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),s=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||s)return[t]}var o=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(o)}(t);o=o.concat(e)})),o.forEach((function(t){new s(t,this)}),this)}},s.prototype.handleEvent=i.handleEvent,s.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},s.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},s.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},s.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var i=this.flickity.getParentCell(this.img),n=i&&i.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=s,e}(0,t,e)}.apply(e,n))||(t.exports=s)},7728:function(t,e,i){var n,s;window,n=[i(9249),i(52475),i(977)],void 0===(s=function(t,e,i){return function(t,e,i,n){"use strict";function s(t){this.parent=t,this._create()}s.prototype=Object.create(i.prototype),s.prototype._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},s.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},s.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},s.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},s.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),i=[],n=this.dots.length,s=n+t,o=n;o<s;o++){var r=document.createElement("li");r.className="dot",r.setAttribute("aria-label","Page dot "+(o+1)),e.appendChild(r),i.push(r)}this.holder.appendChild(e),this.dots=this.dots.concat(i)},s.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach((function(t){this.holder.removeChild(t)}),this)},s.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},s.prototype.onTap=s.prototype.onClick=function(t){var e=t.target;if("LI"==e.nodeName){this.parent.uiChange();var i=this.dots.indexOf(e);this.parent.select(i)}},s.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=s,n.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");var o=e.prototype;return o._createPageDots=function(){this.options.pageDots&&(this.pageDots=new s(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},o.activatePageDots=function(){this.pageDots.activate()},o.updateSelectedPageDots=function(){this.pageDots.updateSelected()},o.updatePageDots=function(){this.pageDots.setDots()},o.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=s,e}(0,t,e,i)}.apply(e,n))||(t.exports=s)},79453:function(t,e,i){var n,s;window,n=[i(32137),i(977),i(9249)],void 0===(s=function(t,e,i){return function(t,e,i){"use strict";function n(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}n.prototype=Object.create(t.prototype),n.prototype.play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},n.prototype.tick=function(){if("playing"==this.state){var t=this.parent.options.autoPlay;t="number"==typeof t?t:3e3;var e=this;this.clear(),this.timeout=setTimeout((function(){e.parent.next(!0),e.tick()}),t)}},n.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},n.prototype.clear=function(){clearTimeout(this.timeout)},n.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},n.prototype.unpause=function(){"paused"==this.state&&this.play()},n.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},n.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(i.defaults,{pauseAutoPlayOnHover:!0}),i.createMethods.push("_createPlayer");var s=i.prototype;return s._createPlayer=function(){this.player=new n(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},s.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},s.playPlayer=function(){this.player.play()},s.stopPlayer=function(){this.player.stop()},s.pausePlayer=function(){this.player.pause()},s.unpausePlayer=function(){this.player.unpause()},s.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},s.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},s.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},i.Player=n,i}(t,e,i)}.apply(e,n))||(t.exports=s)},27824:function(t,e,i){var n,s;window,n=[i(9249),i(52475),i(977)],void 0===(s=function(t,e,i){return function(t,e,i,n){"use strict";var s="http://www.w3.org/2000/svg";function o(t,e){this.direction=t,this.parent=e,this._create()}o.prototype=Object.create(i.prototype),o.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="flickity-button flickity-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","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100");var e,i=document.createElementNS(s,"path"),n="string"==typeof(e=this.parent.options.arrowShape)?e:"M "+e.x0+",50 L "+e.x1+","+(e.y1+50)+" L "+e.x2+","+(e.y2+50)+" L "+e.x3+",50 L "+e.x2+","+(50-e.y2)+" L "+e.x1+","+(50-e.y1)+" Z";return i.setAttribute("d",n),i.setAttribute("class","arrow"),this.isLeft||i.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(i),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.parent.slides;if(this.parent.options.wrapAround&&t.length>1)this.enable();else{var e=t.length?t.length-1:0,i=this.isPrevious?0:e;this[this.parent.selectedIndex==i?"disable":"enable"]()}},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}(0,t,e,i)}.apply(e,n))||(t.exports=s)},61331:function(t,e,i){var n,s;window,void 0===(s="function"==typeof(n=function(){"use strict";function t(t){this.parent=t,this.isOriginLeft="left"==t.originSide,this.cells=[],this.outerWidth=0,this.height=0}var e=t.prototype;return e.addCell=function(t){if(this.cells.push(t),this.outerWidth+=t.size.outerWidth,this.height=Math.max(t.size.outerHeight,this.height),1==this.cells.length){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}},e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft",e=this.getLastCell(),i=e?e.size[t]:0,n=this.outerWidth-(this.firstMargin+i);this.target=this.x+this.firstMargin+n*this.parent.cellAlign},e.getLastCell=function(){return this.cells[this.cells.length-1]},e.select=function(){this.cells.forEach((function(t){t.select()}))},e.unselect=function(){this.cells.forEach((function(t){t.unselect()}))},e.getCellElements=function(){return this.cells.map((function(t){return t.element}))},t})?n.call(e,i,e,t):n)||(t.exports=s)},21485:function(t,e,i){var n,s;window,void 0===(s="function"==typeof(n=function(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){console.error(t)},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],n=i.length;function s(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See https://bit.ly/getsizebug1"),i}var o,r=!1;function a(e){if(function(){if(!r){r=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var n=s(e);o=200==Math.round(t(n.width)),a.isBoxSizeOuter=o,i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var l=s(e);if("none"==l.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<n;e++)t[i[e]]=0;return t}();var h={};h.width=e.offsetWidth,h.height=e.offsetHeight;for(var c=h.isBorderBox="border-box"==l.boxSizing,d=0;d<n;d++){var u=i[d],p=l[u],f=parseFloat(p);h[u]=isNaN(f)?0:f}var g=h.paddingLeft+h.paddingRight,v=h.paddingTop+h.paddingBottom,m=h.marginLeft+h.marginRight,y=h.marginTop+h.marginBottom,b=h.borderLeftWidth+h.borderRightWidth,w=h.borderTopWidth+h.borderBottomWidth,C=c&&o,S=t(l.width);!1!==S&&(h.width=S+(C?0:g+b));var E=t(l.height);return!1!==E&&(h.height=E+(C?0:v+w)),h.innerWidth=h.width-(g+b),h.innerHeight=h.height-(v+w),h.outerWidth=h.width+m,h.outerHeight=h.height+y,h}}return a})?n.call(e,i,e,t):n)||(t.exports=s)},47943:function(t,e,i){var n,s;!function(o){"use strict";n=[i(32137)],s=function(t){return function(t,e){var i=t.jQuery,n=t.console;function s(t,e){for(var i in e)t[i]=e[i];return t}var o=Array.prototype.slice;function r(t,e,a){if(!(this instanceof r))return new r(t,e,a);var l,h=t;"string"==typeof t&&(h=document.querySelectorAll(t)),h?(this.elements=(l=h,Array.isArray(l)?l:"object"==typeof l&&"number"==typeof l.length?o.call(l):[l]),this.options=s({},this.options),"function"==typeof e?a=e:s(this.options,e),a&&this.on("always",a),this.getImages(),i&&(this.jqDeferred=new i.Deferred),setTimeout(this.check.bind(this))):n.error("Bad element for imagesLoaded "+(h||t))}r.prototype=Object.create(e.prototype),r.prototype.options={},r.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},r.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&a[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if("string"==typeof this.options.background){var o=t.querySelectorAll(this.options.background);for(n=0;n<o.length;n++){var r=o[n];this.addElementBackgroundImages(r)}}}};var a={1:!0,9:!0,11:!0};function l(t){this.img=t}function h(t,e){this.url=t,this.element=e,this.img=new Image}return r.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var s=n&&n[2];s&&this.addBackground(s,t),n=i.exec(e.backgroundImage)}},r.prototype.addImage=function(t){var e=new l(t);this.images.push(e)},r.prototype.addBackground=function(t,e){var i=new h(t,e);this.images.push(i)},r.prototype.check=function(){var t=this;function e(e,i,n){setTimeout((function(){t.progress(e,i,n)}))}this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?this.images.forEach((function(t){t.once("progress",e),t.check()})):this.complete()},r.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&n&&n.log("progress: "+i,t,e)},r.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},l.prototype=Object.create(e.prototype),l.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.src)},l.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},l.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},l.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},l.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},l.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},l.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype=Object.create(l.prototype),h.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},h.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},h.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},r.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&((i=e).fn.imagesLoaded=function(t,e){return new r(this,t,e).jqDeferred.promise(i(this))})},r.makeJQueryPlugin(),r}(o,t)}.apply(e,n),void 0===s||(t.exports=s)}("undefined"!=typeof window?window:this)},86377:function(t,e,i){var n,s;!function(o){n=[i(52475)],s=function(t){return function(t,e){"use strict";function i(){}var n=i.prototype=Object.create(e.prototype);n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(e){for(var i=(e=void 0===e||e)?"addEventListener":"removeEventListener",n=e?this._touchActionValue:"",s=0;s<this.handles.length;s++){var o=this.handles[s];this._bindStartEvent(o,e),o[i]("click",this),t.PointerEvent&&(o.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))};var s={TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0},o={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=s[t.target.nodeName],i=o[t.target.type],n=!e||i;return n||this._pointerReset(),n},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var i=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,i]),this._dragMove(t,e,i)},n._dragPointerMove=function(t,e){var i={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(i)&&this._dragStart(t,e),i},n.hasDragStarted=function(t){return Math.abs(t.x)>3||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}(o,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)},52475:function(t,e,i){var n,s;!function(o){n=[i(32137)],s=function(t){return function(t,e){"use strict";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",s="mousedown";t.PointerEvent?s="pointerdown":"ontouchstart"in t&&(s="touchstart"),e[n](s,this)},n.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},n.getTouch=function(t){for(var e=0;e<t.length;e++){var i=t[e];if(i.identifier==this.pointerIdentifier)return i}},n.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},n.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},n.onpointerdown=function(t){this._pointerDown(t,t)},n._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},n.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])};var s={mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]};return n._bindPostStartEvents=function(e){if(e){var i=s[e.type];i.forEach((function(e){t.addEventListener(e,this)}),this),this._boundPointerEvents=i}},n._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach((function(e){t.removeEventListener(e,this)}),this),delete this._boundPointerEvents)},n.onmousemove=function(t){this._pointerMove(t,t)},n.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},n.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},n._pointerMove=function(t,e){this.pointerMove(t,e)},n.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},n.onmouseup=function(t){this._pointerUp(t,t)},n.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},n.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},n._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},n._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},n._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},n.pointerDone=function(){},n.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},n.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},n._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},n.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},i.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},i}(o,t)}.apply(e,n),void 0===s||(t.exports=s)}(window)}},e={};function i(n){var s=e[n];if(void 0!==s)return s.exports;var o=e[n]={exports:{}};return t[n].call(o.exports,o,o.exports,i),o.exports}i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,{a:e}),e},i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},function(){"use strict";var t=()=>{$(".upload").find('input[type="file"]').each((function(){const t=$(this),e=t.next().next(".upload-preview");t.on("change",(()=>{const i=t[0].files;let n=i[0].name;i.length>1&&(n=`<ul>${Array.from(i).map((t=>`<li>${t.name}</li>`)).join().replace(/,/g,"")}</ul>`),e.html(n)}))}))},e=()=>{let t=!1,e=!1,i=!1;const n=new Date;function s(t,e){return 7===$(`tbody tr:nth-child(${t}) .picker__day--outfocus`,e).length}new Date(n.getFullYear(),n.getMonth(),n.getDate()),$(".datepicker-fancy").each((function(){const o=["Jan","Fév","Mar","Avr","Mai","Jui","Jui","Aoû","Sep","Oct","Nov","Déc"],r=$(this).parent();$(this).pickadate({monthsFull:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:o,weekdaysFull:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekdaysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],labelMonthNext:"Prochain mois",labelMonthPrev:"Mois précédent",labelMonthSelect:"Sélectionnez un mois",labelYearSelect:"Sélectionnez une année",format:"d mmmm yyyy",firstDay:1,today:"",clear:"",close:"",onRender(){!function(t,e){if($(".nextMonthLabel",t.$holder).length>0)return!0;const i=t.component.$node.parent(),n=$(".nextMonthLabel",i),s=$(".prevMonthLabel",i);let o=t.component.item.view.month+1;o===e.length&&(o=0);let r=t.component.item.view.month-1;r<0&&(r=11),n.html(e[o]),s.html(e[r]),$(".picker__box",t.$root).append(n.clone()),$(".picker__box",t.$root).append(s.clone())}(this,o),t&&function(n){let o=$("tr",n).index($("tr:has(.picker__day--selected)",n));if(i&&(o=i,i=!1),!t)return n;e&&(e=!1,o=6,s(6,n)&&(o=5)),$("tbody",n).attr("data-week",o),$(".picker__nav--next",n).on("click",(t=>{o<6&&!s(o+1,n)?(t.stopPropagation(),o+=1,$("tbody",n).css("transition","left 0.4s"),$("tbody",n).attr("data-week",o)):o=1})),$(".picker__nav--prev",n).on("click",(t=>{o>1?(t.stopPropagation(),o-=1,$("tbody",n).css("transition","left 0.4s"),$("tbody",n).attr("data-week",o)):e=!0})),$(".picker__day",n).each((function(){$(this).on("click",(function(){$(this).parent().parent().parent().css("transition","left 0s")}))}))}(r)},onStart(){this.set("select",[n.getFullYear(),n.getMonth(),n.getDate()]),function(t){$(".picker__day--infocus",t).each((function(){const t=$(this).data("pick"),e=new Date(t);"2018-03-28"==`${e.getFullYear()}-${`0${e.getMonth()+1}`.slice(-2)}-${`0${e.getDate()}`.slice(-2)}`&&$(this).addClass("custom-highlight")}))}(this);const e=$("tr:has(.picker__day--selected)",r);e.length>0&&(i=$("tr",r).index(e)),t="block"===$(".datepicker-fancy + .picker table").css("display")}})}))},n=i(42522),s=i.n(n),o=(i(47777),i(55839),i(47943)),r=i.n(o),a=()=>{const t=$(".gallery");t.length>0&&(console.log("starting to gallerynav"),t.each((function(e){$(this).imagesLoaded().always((function(i){!function(t){const e=t.find(".gallery-item");t.addClass("ready"),e.each((function(t){$(this).find("figcaption").append(`\n <span class="gallery-counter">${t+1}/${e.length}</span>\n `)})),new(s())(t.get(0),{pageDots:!1,fullscreen:!0,setGallerySize:!0,arrowShape:"M14.2,45.8L53,7.1c1.6-1.6,1.6-4.3,0-5.9s-4.3-1.6-5.9,0L1.2,47c-1.6,1.6-1.6,4.3,0,5.9c0,0,0,0,0,0l45.8,45.8c1.6,1.6,4.3,1.6,5.9,0s1.6-4.3,0-5.9L14.2,54.1h81.6c2.3,0,4.2-1.9,4.2-4.2s-1.9-4.2-4.2-4.2H14.2z"}),$(".flickity-fullscreen-button-view svg path").attr("d","M32,11.9h-2.7V6.5H24V3.8h8V11.9z M24,28.2v-2.7h5.3v-5.4H32v8.2H24z M0,20.1h2.7v5.4H8v2.7H0V20.1z M8,3.8v2.7H2.7v5.4H0V3.8H8z"),$(".flickity-fullscreen-button-exit svg path").attr("d","M18.1,16l13.4,13.4c0.6,0.6,0.6,1.5,0,2.1c-0.6,0.6-1.5,0.6-2.1,0L16,18.1L2.6,31.6c-0.6,0.6-1.5,0.6-2.1,0c-0.6-0.6-0.6-1.5,0-2.1l0,0L13.9,16L0.4,2.6C-0.1,2-0.1,1,0.4,0.4s1.5-0.6,2.1,0L16,13.9L29.4,0.4c0.6-0.6,1.5-0.6,2.1,0c0.6,0.6,0.6,1.5,0,2.1L18.1,16z");const i=t.find(".gallery-item.is-selected img").height();t.find(".flickity-prev-next-button").css("top",i/2+"px")}($(t[e]));const n=$(`.gallery-nav[data-gallery='${t[e].id}']`);n.length>0&&n.each((function(i){var o;(o=$(n[i],t[e].id)).imagesLoaded().always((function(t){const e=o.data("gallery");o.addClass("ready"),new(s())(o.get(0),{asNavFor:`#${e}`,cellAlign:"left",pageDots:!1,prevNextButtons:!1,contain:!0})})).fail((function(){console.log("one image is broken for a gallery nav")}))}))})).fail((function(){console.log("one image is broken for a gallery")}))})))},l=()=>{$(".social-share-copy").each((function(){const t=$(this),e=t.text(),i=t.data("success");new ClipboardJS(t[0],{target:t=>$(t).prev("input")[0]}).on("success",(t=>{$(t.trigger).text(i),setTimeout((()=>$(t.trigger).text(e)),3e3),t.clearSelection()}))}))};function h(t){const e=new XMLHttpRequest;e.open("GET",t,!0),e.send(),e.onload=function(t){if(200===t.target.status){const t=document.createElement("div");t.setAttribute("style","display: none"),t.innerHTML=e.responseText,document.body.insertAdjacentElement("beforeend",t)}}}var c=()=>{const t="current-menu-parent",e="current-menu-ancestor",i=(t=!1)=>{const e=$(".nav-toggle");e.toggleClass("open");const i=e.offset().left+e.outerWidth(!0),n=e.offset().top-$(window).scrollTop();$(".nav-main").css("top",n),$("body").toggleClass("desktop-menu-open"),t&&$("body").hasClass("desktop-menu-open")?$(".nav-main").css("left",i):$(".nav-main").css("left","")};$(".nav-main .nav-back a").on("click",(function(i){i.preventDefault();const n=$(this).parents(),s=n[2];$(s).removeClass(e).removeClass(t);const o=n[4];$(o).removeClass(e).addClass(t)})),$(".nav-main .nav-arrow").on("click",(function(i){i.preventDefault();const n=$(this).parents(),s=n[0];$(s).addClass(t);const o=n[2];$(o).addClass(e).removeClass(t)})),$(".nav-toggle-mobile").on("click",(()=>{(()=>{const e=$(".nav-main .nav-menu>.current-menu-item");if(e.length>0){const i=e.parents()[1];$(i).addClass(t)}$("body").toggleClass("mobile-menu-open")})()})),$(".overlay").on("click",(t=>{t.preventDefault(),i()})),$(".nav-toggle").on("click",(function(){$(this).hasClass("nav-toggle-async")&&!$(this).hasClass("open")?($(this).addClass("is-loading"),$("#styleguide").length>0&&setTimeout((()=>$(".nav-toggle-async").trigger("loadend")),700)):i(!0)})),$(".nav-toggle").on("loadend",(function(){$(this).removeClass("is-loading"),i(!0)}))},d=()=>{$(".drawer-toggle").click((function(){const t=$(this).parent(".drawer"),e=t.find(".drawer-link"),i=$(this);if(t.hasClass("open"))t.removeClass("open"),t.css({width:""}),e.css({width:i.width()});else{let i="100%";$(window).width()>992&&(i=e.find(".text").outerWidth(),t.css({width:i})),t.addClass("open"),e.css({width:i})}}))},u=()=>{$(".btn-collapse").click((function(){const t=$(this).parent(".line"),e=$(this).find("span");t.toggleClass("open"),e.toggleClass("show")}))};let p;function f(t){p?v(p,t):(window.cookieconsent.initialise(function(){const t={en:{msg:'When you access EPFL websites, we may set cookies on your devices and process personal data about you in accordance with our <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/privacy-policy">privacy policy</a>. You can block cookies by using your browser settings.'},fr:{msg:'Lorsque vous accédez aux sites web de l\'EPFL, nous pouvons installer des cookies sur vos appareils et traiter des données personnelles vous concernant conformément à notre <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/protection-des-donnees">politique de confidentialité</a>. Vous pouvez bloquer les cookies à l\'aide des paramètres de votre navigateur.'},de:{msg:'Wenn Sie auf die Websites der EPFL zugreifen, können wir in Übereinstimmung mit unserer <a tabindex="0" class="cc-link" target="_blank" href="//go.epfl.ch/privacy-policy">Datenschutzerklärung</a> Cookies auf Ihren Geräten speichern und Personendaten bearbeiten. Über die Einstellungen in Ihrem Browser können Sie Cookies blockieren.'}};let e=document.documentElement.lang.substring(0,2);t[e]||(e="fr");let i="epfl.ch";const n=window.location.hostname;if("localhost"===n||"127.0.0.1"===n)i=n;else{const t=n.split(".").reverse();void 0!==t[0]&&void 0!==t[1]&&(i=`${t[1]}.${t[0]}`)}return{theme:"classic",palette:{popup:{background:"rgba(69, 69, 69, 0.96)"},button:{background:"#b51f1f"}},content:{message:t[e].msg,dismiss:"OK"},showLink:!1,cookie:{name:"petitpois",domain:i,autoAttach:!1}}}(),(e=>{p=e.element,v(p,t)}),(t=>console.error(t))),window.cookieconsent.initialise=()=>{})}jQuery.fn.extend({cookieConsent:f});var g=f;function v(t,e){!0===e?jQuery(t).show().removeClass("cc-invisible"):!1===e&&jQuery(t).hide().addClass("cc-invisible")}const m=["E","D-","D","D+","C-","C","C+","B-","B","B+","A-","A","A+"];var y=()=>{const t=$("#nutrimenu-score"),e=$("output[for='nutrimenu-score']");t.length>0&&e.length>0&&(e.val(m[parseInt(t.val())-1]),t.on("input",(function(){e.val(m[parseInt($(this).val())-1])})))};jQuery.fn.extend({epflElements(){t(),$(".select-multiple").each(((t,e)=>{$(e).multipleSelect({placeholder:$(e).attr("data-placeholder")||"",width:"100%"})})),$(".tag-input").selectize({plugins:["remove_button"],render:{item:(t,e)=>`<div class="tag tag-primary">${e(t.text)}</div>`},create:t=>({value:t,text:t})}),$(".datepicker").pickadate({monthsFull:["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],monthsShort:["Jan","Fév","Mar","Avr","Mai","Jui","Jui","Aoû","Sep","Oct","Nov","Déc"],weekdaysFull:["Dimanche","Lundi","Mardi","Mercredi","Jeudi","Vendredi","Samedi"],weekdaysShort:["Dim","Lun","Mar","Mer","Jeu","Ven","Sam"],labelMonthNext:"Prochain mois",labelMonthPrev:"Mois précédent",labelMonthSelect:"Sélectionnez un mois",labelYearSelect:"Sélectionnez une année",format:"d mmmm yyyy",firstDay:1,today:"",clear:"",close:""}),e(),$((function(){$('[data-toggle="popover"]').popover({placement:"top",html:!0,offset:-135,template:'<div class="popover" role="tooltip"><div class="popover-body"></div></div>'})})),a(),$(".search").on("shown.bs.dropdown",(()=>{$('.search input[type="text"]').trigger("focus")})),$("#search-mobile-toggle").on("click",(()=>{const t=$(".search-mobile"),e=t.find(".form-control");t.toggleClass("show"),$("body").toggleClass("search-open"),t.hasClass("show")&&e.trigger("focus")})),$("#search-mobile-close").on("click",(()=>{$(".search-mobile").removeClass("show"),$("body").removeClass("search-open")})),l(),(()=>{const t=(new Date).getTime().toString(16);$(".coursebook-program .tree>li").each(((e,i)=>{const n=$(".underline a",i),s=$(">ul",i),o=`${t}-${e}`;s.addClass("collapse collapse-item collapse-item-desktop"),n.addClass("collapse-title collapse-title-desktop collapsed"),s.attr("id",o),n.attr("data-target",`#${o}`),n.attr("data-toggle","collapse");const r=$("<a></a>");r.addClass("btn btn-block btn-sm btn-primary my-3"),r.html("Voir le plan d'études"),r.attr("href",n.attr("href")),s.append(r)}))})(),Tablesaw.init(),(()=>{if($(".card-slider-wrapper").length>0){const t=$(window).width()<768;$(".card-slider-wrapper").each(((e,i)=>{let n,o=$(i).find(".card-slider")[0];r()(o,(()=>{n=new(s())(o,{cellAlign:"left",setGallerySize:!0,pageDots:t,prevNextButtons:!1,contain:!0,groupCells:!1}),$(i).find("#card-slider-prev").on("click",(()=>{n.previous()})),$(i).find("#card-slider-next").on("click",(()=>{n.next()})),$(i).find(".card-slider-cell").css("height","100%"),n.on("select",(()=>{$(i).find(".card-slider-btn").removeClass("disabled"),0===n.selectedIndex&&$(i).find("#card-slider-prev").addClass("disabled"),n.selectedIndex+1!==n.slides.length&&n.selectedIndex+2!==n.slides.length||$(i).find("#card-slider-next").addClass("disabled")}))}))}))}})(),h(window.svgPath||"icons/icons.svg"),h(window.featherSvgPath||"icons/feather-sprite.svg"),c(),d(),(()=>{const t=$(".btn-expand-links"),e=$(".dropdown-toggle");t.on("click",(()=>{$(".breadcrumb-wrapper .breadcrumb").addClass("has-expanded-links")})),e.on("click",(t=>{const e=$(t.currentTarget).offset().left,i=$(document).width(),n=$(t.currentTarget).siblings(".dropdown-menu"),s=n.width(),o=i-e;$(".dropdown-menu").removeClass("open-left"),s>o&&n.addClass("open-left")}))})(),g(),(()=>{const t=$("#back-to-top");$(window).scroll((function(){$(window).scrollTop()>500?t.addClass("show"):t.removeClass("show")})),t.on("click",(function(t){t.preventDefault(),$("html, body").animate({scrollTop:0},"300")}))})(),(()=>{const t=document.querySelector("input[type=range]");t&&(t.style.setProperty("--val",+t.value),t.style.setProperty("--max",+t.max),t.style.setProperty("--min",+t.min),t.addEventListener("input",(()=>{t.style.setProperty("--val",+t.value)}),!1))})(),y(),u(),(()=>{if($("#tour-lab").length>0){const t=()=>{const t=introJs();t.setOptions({buttonClass:"btn btn-secondary btn-sm mt-4",tooltipPosition:"auto",positionPrecedence:["bottom","top","right","left"],scrollTo:"tooltip",scrollToElement:!0,steps:[{intro:"This is the laboratory's homepage. <b>It serves to guide the visitors to the different sub-contents</b>. The main contents are projects and publications. Here is the hierarchical order that we are proposing."},{element:"#tour-hero",intro:'Define the <b>laboratory title</b> and a <b>cover image</b> using the <a href="#/organisms/hero" target="_blank">hero</a> component or only <b>a title</b>, if there is no cover, using the following step structure.'},{element:"#tour-intro",intro:"Type a <b>succinct introduction paragraph</b> wrapped inside a <code>.container-grid</code> (the title can also be added here)"},{element:"#tour-projects",intro:'\n The main objective of a laboratory is to show the projects that are carried out there. In this section, you can use the <a href="#/content-types/research-project" target="_blank">Research project</a> content types to show them. We advise you to put a <b>maximum of 3 projects</b> on the lab’s homepage and then put a link to the page that lists all the projects.\n '},{element:"#tour-publications",intro:'\n Laboratories also produce publications. You can list <b>up to 5</b> here with the <a href="#/content-types/publication" target="_blank">Publication</a> component and add a link to the page that lists all the publications.\n '},{element:"#tour-news",intro:'\n If you have some news about your laboratory, you can list the latest at this location. We advise you not to list too much (maximum 2) and use the component <a href="#/content-types/news" target="_blank">News</a> content-types (<b>Basic teaser</b>) and add a link to all news page.\n '},{element:"#tour-partof",intro:'\n <p>\n This section is intended to <b>provide the context of the laboratory</b>. It is possible for a laboratory to belong to several institutes and/or faculties. If this is the case, we advise you to use a teaser that brings the visitor to a listing page, rather than putting them all on the lab’s homepage. Laboratories can have themes that categorize them. It is recommended to use component “tag” to list them.\n </p>\n <p>\n For this part, you can use some of the <a href="#/content-types/school" target="_blank">School</a> and <a href="#/content-types/institute" target="_blank">Institute</a> content types. The themes are based on the <a href="#/atoms/tag" target="_blank">tag</a> component.\n </p>\n '},{element:"#tour-contact",intro:'\n <b>Several people may want to contact</b> the laboratory: press, potential collaborators, people interested in your work or simply people who want to know where you are located. That’s why we recommend using the <a href="#/organisms/contact" target="_blank">Contact</a> component (<b>Banner</b>) that gives all this information.\n '},{element:"#tour-team",intro:'\n Some visitors may want to ask you questions or <b>see who composes the laboratory\'s team</b>. It is possible to link to the team page using the <a href="#/content-types/basic-page" target="_blank">Teaser basic page</a> component.\n '},{element:"#tour-sponsors",intro:'\n It is possible that you have sponsors. On a second column, you can list them thanks to the <a href="#/molecules/sponsor" target="_blank">Sponsor</a> component.\n '}]}),t.start()};$("#tour-start").click((()=>t()))}})(),$("a").on("click",(t=>{const e=$(t.target).attr("href");e&&e.length>1&&e.match("^#")&&$(t.target)[0].scrollIntoView()}))}}),jQuery(jQuery.fn.epflElements)}()}();
|
|
3
3
|
//# sourceMappingURL=elements.min.js.map
|