!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3",
x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}),
x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),
x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)},
x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),
x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}),
x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},
x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}},
W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")},
x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)},
x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}),
x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}});
var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))},_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../version","../keycode","../unique-id","../widget"],e):e(jQuery)}(function(o){"use strict";return o.widget("ui.accordion",{version:"1.13.3",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").even())},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=o(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():o()}},_createIcons:function(){var e,t=this.options.icons;t&&(e=o("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+t.header),e.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,t.header)._addClass(e,null,t.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"===e?this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t)&&this._createIcons())},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e),this._toggleClass(this.headers.add(this.headers.next()),null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=o.ui.keyCode,i=this.headers.length,a=this.headers.index(e.target),s=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:s=this.headers[(a+1)%i];break;case t.LEFT:case t.UP:s=this.headers[(a-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:s=this.headers[0];break;case t.END:s=this.headers[i-1]}s&&(o(e.target).attr("tabIndex",-1),o(s).attr("tabIndex",0),o(s).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===o.ui.keyCode.UP&&e.ctrlKey&&o(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=o()):!1===e.active?this._activate(0):this.active.length&&!o.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=o()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,a=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=o(this),t=e.uniqueId().attr("id"),i=e.next(),a=i.uniqueId().attr("id");e.attr("aria-controls",a),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=a.height(),this.element.siblings(":visible").each(function(){var e=o(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=o(this).outerHeight(!0)}),this.headers.next().each(function(){o(this).height(Math.max(0,i-o(this).innerHeight()+o(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=o(this).is(":visible");e||o(this).show(),i=Math.max(i,o(this).css("height","").height()),e||o(this).hide()}).height(i))},_activate:function(e){e=this._findActive(e)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:o.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):o()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&o.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,a=o(e.currentTarget),s=a[0]===i[0],n=s&&t.collapsible,h=n?o():a.next(),r=i.next(),r={oldHeader:i,oldPanel:r,newHeader:n?o():a,newPanel:h};e.preventDefault(),s&&!t.collapsible||!1===this._trigger("beforeActivate",e,r)||(t.active=!n&&this.headers.index(a),this.active=s?o():a,this._toggle(r),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),t.icons&&(h=i.children(".ui-accordion-header-icon"),this._removeClass(h,null,t.icons.activeHeader)._addClass(h,null,t.icons.header)),s)||(this._removeClass(a,"ui-accordion-header-collapsed")._addClass(a,"ui-accordion-header-active","ui-state-active"),t.icons&&(e=a.children(".ui-accordion-header-icon"),this._removeClass(e,null,t.icons.header)._addClass(e,null,t.icons.activeHeader)),this._addClass(a.next(),"ui-accordion-content-active"))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(o(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){function a(){n._toggleComplete(t)}var s,n=this,h=0,r=e.css("box-sizing"),o=e.length&&(!i.length||e.index()<i.index()),d=this.options.animate||{},o=o&&d.down||d,c=(c="string"==typeof o?o:c)||o.easing||d.easing,l=(l="number"==typeof o?o:l)||o.duration||d.duration;return i.length?e.length?(s=e.show().outerHeight(),i.animate(this.hideProps,{duration:l,easing:c,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:l,easing:c,complete:a,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===r&&(h+=t.now):"content"!==n.options.heightStyle&&(t.now=Math.round(s-i.outerHeight()-h),h=0)}})):i.animate(this.hideProps,l,c,a):e.animate(this.showProps,l,c,a)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),t.length&&(t.parent()[0].className=t.parent()[0].className),this._trigger("activate",null,e)}})});
!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery","../keycode","../safe-active-element","../unique-id","../version","../widget"],t):t(jQuery)}(function(l){"use strict";var a;return l.widget("ui.tabs",{version:"1.13.3",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(a=/#.*$/,function(t){var e=t.href.replace(a,""),i=location.href.replace(a,"");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return 1<t.hash.length&&e===i}),_create:function(){var e=this,t=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,t.collapsible),this._processTabs(),t.active=this._initialActive(),Array.isArray(t.disabled)&&(t.disabled=l.uniqueSort(t.disabled.concat(l.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(t.active):this.active=l(),this._refresh(),this.active.length&&this.load(t.active)},_initialActive:function(){var i=this.options.active,t=this.options.collapsible,a=location.hash.substring(1);return null===i&&(a&&this.tabs.each(function(t,e){if(l(e).attr("aria-controls")===a)return i=t,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!t&&0),i=!t&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):l()}},_tabKeydown:function(t){var e=l(l.ui.safeActiveElement(this.document[0])).closest("li"),i=this.tabs.index(e),a=!0;if(!this._handlePageNav(t)){switch(t.keyCode){case l.ui.keyCode.RIGHT:case l.ui.keyCode.DOWN:i++;break;case l.ui.keyCode.UP:case l.ui.keyCode.LEFT:a=!1,i--;break;case l.ui.keyCode.END:i=this.anchors.length-1;break;case l.ui.keyCode.HOME:i=0;break;case l.ui.keyCode.SPACE:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i);case l.ui.keyCode.ENTER:return t.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}t.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,a),t.ctrlKey||t.metaKey||(e.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(t){this._handlePageNav(t)||t.ctrlKey&&t.keyCode===l.ui.keyCode.UP&&(t.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(t){return t.altKey&&t.keyCode===l.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):t.altKey&&t.keyCode===l.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(t,e){var i=this.tabs.length-1;for(;-1!==l.inArray(t=(t=i<t?0:t)<0?i:t,this.options.disabled);)t=e?t+1:t-1;return t},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){"active"===t?this._activate(e):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||!1!==this.options.active||this._activate(0)),"event"===t&&this._setupEvents(e),"heightStyle"===t&&this._setupHeightStyle(e))},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/g,"\\$&"):""},refresh:function(){var t=this.options,e=this.tablist.children(":has(a[href])");t.disabled=l.map(e.filter(".ui-state-disabled"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!l.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=l()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=l()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var o=this,t=this.tabs,e=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(t){l(this).is(".ui-state-disabled")&&t.preventDefault()}).on("focus"+this.eventNamespace,".ui-tabs-anchor",function(){l(this).closest("li").is(".ui-state-disabled")&&this.blur()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return l("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=l(),this.anchors.each(function(t,e){var i,a,s,n=l(e).uniqueId().attr("id"),h=l(e).closest("li"),r=h.attr("aria-controls");o._isLocal(e)?(s=(i=e.hash).substring(1),a=o.element.find(o._sanitizeSelector(i))):(s=h.attr("aria-controls")||l({}).uniqueId()[0].id,(a=o.element.find(i="#"+s)).length||(a=o._createPanel(s)).insertAfter(o.panels[t-1]||o.tablist),a.attr("aria-live","polite")),a.length&&(o.panels=o.panels.add(a)),r&&h.data("ui-tabs-aria-controls",r),h.attr({"aria-controls":s,"aria-labelledby":n}),a.attr("aria-labelledby",n)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),t&&(this._off(t.not(this.tabs)),this._off(e.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(t){return l("<div>").attr("id",t).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(t){var e,i;for(Array.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),i=0;e=this.tabs[i];i++)e=l(e),!0===t||-1!==l.inArray(i,t)?(e.attr("aria-disabled","true"),this._addClass(e,null,"ui-state-disabled")):(e.removeAttr("aria-disabled"),this._removeClass(e,null,"ui-state-disabled"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===t)},_setupEvents:function(t){var i={};t&&l.each(t.split(" "),function(t,e){i[e]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();"fill"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var t=l(this),e=t.css("position");"absolute"!==e&&"fixed"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=l(this).outerHeight(!0)}),this.panels.each(function(){l(this).height(Math.max(0,i-l(this).innerHeight()+l(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.panels.each(function(){i=Math.max(i,l(this).height("").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,a=l(t.currentTarget).closest("li"),s=a[0]===i[0],n=s&&e.collapsible,h=n?l():this._getPanelForTab(a),r=i.length?this._getPanelForTab(i):l(),i={oldTab:i,oldPanel:r,newTab:n?l():a,newPanel:h};t.preventDefault(),a.hasClass("ui-state-disabled")||a.hasClass("ui-tabs-loading")||this.running||s&&!e.collapsible||!1===this._trigger("beforeActivate",t,i)||(e.active=!n&&this.tabs.index(a),this.active=s?l():a,this.xhr&&this.xhr.abort(),r.length||h.length||l.error("jQuery UI Tabs: Mismatching fragment identifier."),h.length&&this.load(this.tabs.index(a),t),this._toggle(t,i))},_toggle:function(t,e){var i=this,a=e.newPanel,s=e.oldPanel;function n(){i.running=!1,i._trigger("activate",t,e)}function h(){i._addClass(e.newTab.closest("li"),"ui-tabs-active","ui-state-active"),a.length&&i.options.show?i._show(a,i.options.show,n):(a.show(),n())}this.running=!0,s.length&&this.options.hide?this._hide(s,this.options.hide,function(){i._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),h()}):(this._removeClass(e.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),s.hide(),h()),s.attr("aria-hidden","true"),e.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),a.length&&s.length?e.oldTab.attr("tabIndex",-1):a.length&&this.tabs.filter(function(){return 0===l(this).attr("tabIndex")}).attr("tabIndex",-1),a.attr("aria-hidden","false"),e.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t=(t=t.length?t:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:l.noop}))},_findActive:function(t){return!1===t?l():this.tabs.eq(t)},_getIndex:function(t){return t="string"==typeof t?this.anchors.index(this.anchors.filter("[href$='"+l.escapeSelector(t)+"']")):t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){l.data(this,"ui-tabs-destroy")?l(this).remove():l(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var t=l(this),e=t.data("ui-tabs-aria-controls");e?t.attr("aria-controls",e).removeData("ui-tabs-aria-controls"):t.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=void 0!==i&&(i=this._getIndex(i),Array.isArray(t)?l.map(t,function(t){return t!==i?t:null}):l.map(this.tabs,function(t,e){return e!==i?e:null})),this._setOptionDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==l.inArray(t,e))return;e=Array.isArray(e)?l.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,a){t=this._getIndex(t);function s(t,e){"abort"===e&&n.panels.stop(!1,!0),n._removeClass(i,"ui-tabs-loading"),h.removeAttr("aria-busy"),t===n.xhr&&delete n.xhr}var n=this,i=this.tabs.eq(t),t=i.find(".ui-tabs-anchor"),h=this._getPanelForTab(i),r={tab:i,panel:h};this._isLocal(t[0])||(this.xhr=l.ajax(this._ajaxSettings(t,a,r)),this.xhr&&"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),h.attr("aria-busy","true"),this.xhr.done(function(t,e,i){setTimeout(function(){h.html(t),n._trigger("load",a,r),s(i,e)},1)}).fail(function(t,e){setTimeout(function(){s(t,e)},1)})))},_ajaxSettings:function(t,i,a){var s=this;return{url:t.attr("href").replace(/#.*$/,""),beforeSend:function(t,e){return s._trigger("beforeLoad",i,l.extend({jqXHR:t,ajaxSettings:e},a))}}},_getPanelForTab:function(t){t=l(t).attr("aria-controls");return this.element.find(this._sanitizeSelector("#"+t))}}),!1!==l.uiBackCompat&&l.widget("ui.tabs",l.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),l.ui.tabs});
jQuery.noConflict()(function($){
$(document).ready(function(){
"use strict";
$('.bwp-sc-toggle-trigger').click(function(){
$(this).toggleClass('bwp-sc-active').next().slideToggle('fast');
return false;
});
});
});
jQuery(document).ready(function(n){n(window).on("load",function(){var d=n("#preloader");d.find(".spinner").fadeOut(),d.delay(250).fadeOut("slow")})});
!function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this.drag=a.extend({},m),this.state=a.extend({},n),this.e=a.extend({},o),this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._invalidated={},this._pipe=[],a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a[0].toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Pipe,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}function f(a){if(a.touches!==d)return{x:a.touches[0].pageX,y:a.touches[0].pageY};if(a.touches===d){if(a.pageX!==d)return{x:a.pageX,y:a.pageY};if(a.pageX===d)return{x:a.clientX,y:a.clientY}}}function g(a){var b,d,e=c.createElement("div"),f=a;for(b in f)if(d=f[b],"undefined"!=typeof e.style[d])return e=null,[d,b];return[!1]}function h(){return g(["transition","WebkitTransition","MozTransition","OTransition"])[1]}function i(){return g(["transform","WebkitTransform","MozTransform","OTransform","msTransform"])[0]}function j(){return g(["perspective","webkitPerspective","MozPerspective","OPerspective","MsPerspective"])[0]}function k(){return"ontouchstart"in b||!!navigator.msMaxTouchPoints}function l(){return b.navigator.msPointerEnabled}var m,n,o;m={start:0,startX:0,startY:0,current:0,currentX:0,currentY:0,offsetX:0,offsetY:0,distance:null,startTime:0,endTime:0,updatedX:0,targetEl:null},n={isTouch:!1,isScrolling:!1,isSwiping:!1,direction:!1,inMotion:!1},o={_onDragStart:null,_onDragMove:null,_onDragEnd:null,_transitionEnd:null,_resizer:null,_responsiveCall:null,_goToLoop:null,_checkVisibile:null},e.Defaults={items:3,loop:!1,center:!1,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,responsiveClass:!1,fallbackEasing:"swing",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",themeClass:"owl-theme",baseClass:"owl-carousel",itemClass:"owl-item",centerClass:"center",activeClass:"active"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Plugins={},e.Pipe=[{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){var a=this._clones,b=this.$stage.children(".cloned");(b.length!==a.length||!this.settings.loop&&a.length>0)&&(this.$stage.children(".cloned").remove(),this._clones=[])}},{filter:["items","settings"],run:function(){var a,b,c=this._clones,d=this._items,e=this.settings.loop?c.length-Math.max(2*this.settings.items,4):0;for(a=0,b=Math.abs(e/2);b>a;a++)e>0?(this.$stage.children().eq(d.length+c.length-1).remove(),c.pop(),this.$stage.children().eq(0).remove(),c.pop()):(c.push(c.length/2),this.$stage.append(d[c[c.length-1]].clone().addClass("cloned")),c.push(d.length-1-(c.length-1)/2),this.$stage.prepend(d[c[c.length-1]].clone().addClass("cloned")))}},{filter:["width","items","settings"],run:function(){var a,b,c,d=this.settings.rtl?1:-1,e=(this.width()/this.settings.items).toFixed(3),f=0;for(this._coordinates=[],b=0,c=this._clones.length+this._items.length;c>b;b++)a=this._mergers[this.relative(b)],a=this.settings.mergeFit&&Math.min(a,this.settings.items)||a,f+=(this.settings.autoWidth?this._items[this.relative(b)].width()+this.settings.margin:e*a)*d,this._coordinates.push(f)}},{filter:["width","items","settings"],run:function(){var b,c,d=(this.width()/this.settings.items).toFixed(3),e={width:Math.abs(this._coordinates[this._coordinates.length-1])+2*this.settings.stagePadding,"padding-left":this.settings.stagePadding||"","padding-right":this.settings.stagePadding||""};if(this.$stage.css(e),e={width:this.settings.autoWidth?"auto":d-this.settings.margin},e[this.settings.rtl?"margin-left":"margin-right"]=this.settings.margin,!this.settings.autoWidth&&a.grep(this._mergers,function(a){return a>1}).length>0)for(b=0,c=this._coordinates.length;c>b;b++)e.width=Math.abs(this._coordinates[b])-Math.abs(this._coordinates[b-1]||0)-this.settings.margin,this.$stage.children().eq(b).css(e);else this.$stage.children().css(e)}},{filter:["width","items","settings"],run:function(a){a.current&&this.reset(this.$stage.children().index(a.current))}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;d>c;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children("."+this.settings.activeClass).removeClass(this.settings.activeClass),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass(this.settings.activeClass),this.settings.center&&(this.$stage.children("."+this.settings.centerClass).removeClass(this.settings.centerClass),this.$stage.children().eq(this.current()).addClass(this.settings.centerClass))}}],e.prototype.initialize=function(){if(this.trigger("initialize"),this.$element.addClass(this.settings.baseClass).addClass(this.settings.themeClass).toggleClass("owl-rtl",this.settings.rtl),this.browserSupport(),this.settings.autoWidth&&this.state.imagesLoaded!==!0){var b,c,e;if(b=this.$element.find("img"),c=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,e=this.$element.children(c).width(),b.length&&0>=e)return this.preloadAutoWidthImages(b),!1}this.$element.addClass("owl-loading"),this.$stage=a("<"+this.settings.stageElement+' class="owl-stage"/>').wrap('<div class="owl-stage-outer">'),this.$element.append(this.$stage.parent()),this.replace(this.$element.children().not(this.$stage.parent())),this._width=this.$element.width(),this.refresh(),this.$element.removeClass("owl-loading").addClass("owl-loaded"),this.eventsCall(),this.internalEvents(),this.addTriggerableEvents(),this.trigger("initialized")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){b>=a&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),delete e.responsive,e.responsiveClass&&this.$element.attr("class",function(a,b){return b.replace(/\b owl-responsive-\S+/g,"")}).addClass("owl-responsive-"+d)):e=a.extend({},this.options),(null===this.settings||this._breakpoint!==d)&&(this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}}))},e.prototype.optionsLogic=function(){this.$element.toggleClass("owl-center",this.settings.center),this.settings.loop&&this._items.length<this.settings.items&&(this.settings.loop=!1),this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.settings.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};c>b;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={}},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){if(0===this._items.length)return!1;(new Date).getTime();this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$stage.addClass("owl-refresh"),this.update(),this.$stage.removeClass("owl-refresh"),this.state.orientation=b.orientation,this.watchVisibility(),this.trigger("refreshed")},e.prototype.eventsCall=function(){this.e._onDragStart=a.proxy(function(a){this.onDragStart(a)},this),this.e._onDragMove=a.proxy(function(a){this.onDragMove(a)},this),this.e._onDragEnd=a.proxy(function(a){this.onDragEnd(a)},this),this.e._onResize=a.proxy(function(a){this.onResize(a)},this),this.e._transitionEnd=a.proxy(function(a){this.transitionEnd(a)},this),this.e._preventClick=a.proxy(function(a){this.preventClick(a)},this)},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this.e._onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return this._items.length?this._width===this.$element.width()?!1:this.trigger("resize").isDefaultPrevented()?!1:(this._width=this.$element.width(),this.invalidate("width"),this.refresh(),void this.trigger("resized")):!1},e.prototype.eventsRouter=function(a){var b=a.type;"mousedown"===b||"touchstart"===b?this.onDragStart(a):"mousemove"===b||"touchmove"===b?this.onDragMove(a):"mouseup"===b||"touchend"===b?this.onDragEnd(a):"touchcancel"===b&&this.onDragEnd(a)},e.prototype.internalEvents=function(){var c=(k(),l());this.settings.mouseDrag?(this.$stage.on("mousedown",a.proxy(function(a){this.eventsRouter(a)},this)),this.$stage.on("dragstart",function(){return!1}),this.$stage.get(0).onselectstart=function(){return!1}):this.$element.addClass("owl-text-select-on"),this.settings.touchDrag&&!c&&this.$stage.on("touchstart touchcancel",a.proxy(function(a){this.eventsRouter(a)},this)),this.transitionEndVendor&&this.on(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd,!1),this.settings.responsive!==!1&&this.on(b,"resize",a.proxy(this.onThrottledResize,this))},e.prototype.onDragStart=function(d){var e,g,h,i;if(e=d.originalEvent||d||b.event,3===e.which||this.state.isTouch)return!1;if("mousedown"===e.type&&this.$stage.addClass("owl-grab"),this.trigger("drag"),this.drag.startTime=(new Date).getTime(),this.speed(0),this.state.isTouch=!0,this.state.isScrolling=!1,this.state.isSwiping=!1,this.drag.distance=0,g=f(e).x,h=f(e).y,this.drag.offsetX=this.$stage.position().left,this.drag.offsetY=this.$stage.position().top,this.settings.rtl&&(this.drag.offsetX=this.$stage.position().left+this.$stage.width()-this.width()+this.settings.margin),this.state.inMotion&&this.support3d)i=this.getTransformProperty(),this.drag.offsetX=i,this.animate(i),this.state.inMotion=!0;else if(this.state.inMotion&&!this.support3d)return this.state.inMotion=!1,!1;this.drag.startX=g-this.drag.offsetX,this.drag.startY=h-this.drag.offsetY,this.drag.start=g-this.drag.startX,this.drag.targetEl=e.target||e.srcElement,this.drag.updatedX=this.drag.start,("IMG"===this.drag.targetEl.tagName||"A"===this.drag.targetEl.tagName)&&(this.drag.targetEl.draggable=!1),a(c).on("mousemove.owl.dragEvents mouseup.owl.dragEvents touchmove.owl.dragEvents touchend.owl.dragEvents",a.proxy(function(a){this.eventsRouter(a)},this))},e.prototype.onDragMove=function(a){var c,e,g,h,i,j;this.state.isTouch&&(this.state.isScrolling||(c=a.originalEvent||a||b.event,e=f(c).x,g=f(c).y,this.drag.currentX=e-this.drag.startX,this.drag.currentY=g-this.drag.startY,this.drag.distance=this.drag.currentX-this.drag.offsetX,this.drag.distance<0?this.state.direction=this.settings.rtl?"right":"left":this.drag.distance>0&&(this.state.direction=this.settings.rtl?"left":"right"),this.settings.loop?this.op(this.drag.currentX,">",this.coordinates(this.minimum()))&&"right"===this.state.direction?this.drag.currentX-=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length):this.op(this.drag.currentX,"<",this.coordinates(this.maximum()))&&"left"===this.state.direction&&(this.drag.currentX+=(this.settings.center&&this.coordinates(0))-this.coordinates(this._items.length)):(h=this.coordinates(this.settings.rtl?this.maximum():this.minimum()),i=this.coordinates(this.settings.rtl?this.minimum():this.maximum()),j=this.settings.pullDrag?this.drag.distance/5:0,this.drag.currentX=Math.max(Math.min(this.drag.currentX,h+j),i+j)),(this.drag.distance>8||this.drag.distance<-8)&&(c.preventDefault!==d?c.preventDefault():c.returnValue=!1,this.state.isSwiping=!0),this.drag.updatedX=this.drag.currentX,(this.drag.currentY>16||this.drag.currentY<-16)&&this.state.isSwiping===!1&&(this.state.isScrolling=!0,this.drag.updatedX=this.drag.start),this.animate(this.drag.updatedX)))},e.prototype.onDragEnd=function(b){var d,e,f;if(this.state.isTouch){if("mouseup"===b.type&&this.$stage.removeClass("owl-grab"),this.trigger("dragged"),this.drag.targetEl.removeAttribute("draggable"),this.state.isTouch=!1,this.state.isScrolling=!1,this.state.isSwiping=!1,0===this.drag.distance&&this.state.inMotion!==!0)return this.state.inMotion=!1,!1;this.drag.endTime=(new Date).getTime(),d=this.drag.endTime-this.drag.startTime,e=Math.abs(this.drag.distance),(e>3||d>300)&&this.removeClick(this.drag.targetEl),f=this.closest(this.drag.updatedX),this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(f),this.invalidate("position"),this.update(),this.settings.pullDrag||this.drag.updatedX!==this.coordinates(f)||this.transitionEnd(),this.drag.distance=0,a(c).off(".owl.dragEvents")}},e.prototype.removeClick=function(c){this.drag.targetEl=c,a(c).on("click.preventClick",this.e._preventClick),b.setTimeout(function(){a(c).off("click.preventClick")},300)},e.prototype.preventClick=function(b){b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation&&b.stopPropagation(),a(b.target).off("click.preventClick")},e.prototype.getTransformProperty=function(){var a,c;return a=b.getComputedStyle(this.$stage.get(0),null).getPropertyValue(this.vendorName+"transform"),a=a.replace(/matrix(3d)?\(|\)/g,"").split(","),c=16===a.length,c!==!0?a[4]:a[12]},e.prototype.closest=function(b){var c=-1,d=30,e=this.width(),f=this.coordinates();return this.settings.freeDrag||a.each(f,a.proxy(function(a,g){return b>g-d&&g+d>b?c=a:this.op(b,"<",g)&&this.op(b,">",f[a+1]||g-e)&&(c="left"===this.state.direction?a+1:a),-1===c},this)),this.settings.loop||(this.op(b,">",f[this.minimum()])?c=b=this.minimum():this.op(b,"<",f[this.maximum()])&&(c=b=this.maximum())),c},e.prototype.animate=function(b){this.trigger("translate"),this.state.inMotion=this.speed()>0,this.support3d?this.$stage.css({transform:"translate3d("+b+"px,0px, 0px)",transition:this.speed()/1e3+"s"}):this.state.isTouch?this.$stage.css({left:b+"px"}):this.$stage.animate({left:b},this.speed()/1e3,this.settings.fallbackEasing,a.proxy(function(){this.state.inMotion&&this.transitionEnd()},this))},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(a){this._invalidated[a]=!0},e.prototype.reset=function(a){a=this.normalize(a),a!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(b,c){var e=c?this._items.length:this._items.length+this._clones.length;return!a.isNumeric(b)||1>e?d:b=this._clones.length?(b%e+e)%e:Math.max(this.minimum(c),Math.min(this.maximum(c),b))},e.prototype.relative=function(a){return a=this.normalize(a),a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=0,f=this.settings;if(a)return this._items.length-1;if(!f.loop&&f.center)b=this._items.length-1;else if(f.loop||f.center)if(f.loop||f.center)b=this._items.length+f.items;else{if(!f.autoWidth&&!f.merge)throw"Can not detect maximum absolute position.";for(revert=f.rtl?1:-1,c=this.$stage.width()-this.$element.width();(d=this.coordinates(e))&&!(d*revert>=c);)b=++e}else b=this._items.length-f.items;return b},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2===0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c=null;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[b-1]||0))/2*(this.settings.rtl?-1:1)):c=this._coordinates[b-1]||0,c)},e.prototype.duration=function(a,b,c){return Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(c,d){if(this.settings.loop){var e=c-this.relative(this.current()),f=this.current(),g=this.current(),h=this.current()+e,i=0>g-h?!0:!1,j=this._clones.length+this._items.length;h<this.settings.items&&i===!1?(f=g+this._items.length,this.reset(f)):h>=j-this.settings.items&&i===!0&&(f=g-this._items.length,this.reset(f)),b.clearTimeout(this.e._goToLoop),this.e._goToLoop=b.setTimeout(a.proxy(function(){this.speed(this.duration(this.current(),f+e,d)),this.current(f+e),this.update()},this),30)}else this.speed(this.duration(this.current(),c,d)),this.current(c),this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.transitionEnd=function(a){return a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0))?!1:(this.state.inMotion=!1,void this.trigger("translated"))},e.prototype.viewport=function(){var d;if(this.options.responsiveBaseElement!==b)d=a(this.options.responsiveBaseElement).width();else if(b.innerWidth)d=b.innerWidth;else{if(!c.documentElement||!c.documentElement.clientWidth)throw"Can not detect viewport width.";d=c.documentElement.clientWidth}return d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)},this)),this.reset(a.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(a,b){b=b===d?this._items.length:this.normalize(b,!0),this.trigger("add",{content:a,position:b}),0===this._items.length||b===this._items.length?(this.$stage.append(a),this._items.push(a),this._mergers.push(1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)):(this._items[b].before(a),this._items.splice(b,0,a),this._mergers.splice(b,0,1*a.find("[data-merge]").andSelf("[data-merge]").attr("data-merge")||1)),this.invalidate("items"),this.trigger("added",{content:a,position:b})},e.prototype.remove=function(a){a=this.normalize(a,!0),a!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.addTriggerableEvents=function(){var b=a.proxy(function(b,c){return a.proxy(function(a){a.relatedTarget!==this&&(this.suppress([c]),b.apply(this,[].slice.call(arguments,1)),this.release([c]))},this)},this);a.each({next:this.next,prev:this.prev,to:this.to,destroy:this.destroy,refresh:this.refresh,replace:this.replace,add:this.add,remove:this.remove},a.proxy(function(a,c){this.$element.on(a+".owl.carousel",b(c,a+".owl.carousel"))},this))},e.prototype.watchVisibility=function(){function c(a){return a.offsetWidth>0&&a.offsetHeight>0}function d(){c(this.$element.get(0))&&(this.$element.removeClass("owl-hidden"),this.refresh(),b.clearInterval(this.e._checkVisibile))}c(this.$element.get(0))||(this.$element.addClass("owl-hidden"),b.clearInterval(this.e._checkVisibile),this.e._checkVisibile=b.setInterval(a.proxy(d,this),500))},e.prototype.preloadAutoWidthImages=function(b){var c,d,e,f;c=0,d=this,b.each(function(g,h){e=a(h),f=new Image,f.onload=function(){c++,e.attr("src",f.src),e.css("opacity",1),c>=b.length&&(d.state.imagesLoaded=!0,d.initialize())},f.src=e.attr("src")||e.attr("data-src")||e.attr("data-src-retina")})},e.prototype.destroy=function(){this.$element.hasClass(this.settings.themeClass)&&this.$element.removeClass(this.settings.themeClass),this.settings.responsive!==!1&&a(b).off("resize.owl.carousel"),this.transitionEndVendor&&this.off(this.$stage.get(0),this.transitionEndVendor,this.e._transitionEnd);for(var d in this._plugins)this._plugins[d].destroy();(this.settings.mouseDrag||this.settings.touchDrag)&&(this.$stage.off("mousedown touchstart touchcancel"),a(c).off(".owl.dragEvents"),this.$stage.get(0).onselectstart=function(){},this.$stage.off("dragstart",function(){return!1})),this.$element.off(".owl"),this.$stage.children(".cloned").remove(),this.e=null,this.$element.removeData("owlCarousel"),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.unwrap()},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:c>a;case">":return d?c>a:a>c;case">=":return d?c>=a:a>=c;case"<=":return d?a>=c:c>=a}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d){var e={item:{count:this._items.length,index:this.current()}},f=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),g=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},e,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(g)}),this.$element.trigger(g),this.settings&&"function"==typeof this.settings[f]&&this.settings[f].apply(this,g)),g},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.browserSupport=function(){if(this.support3d=j(),this.support3d){this.transformVendor=i();var a=["transitionend","webkitTransitionEnd","transitionend","oTransitionEnd"];this.transitionEndVendor=a[h()],this.vendorName=this.transformVendor.replace(/Transform/i,""),this.vendorName=""!==this.vendorName?"-"+this.vendorName.toLowerCase()+"-":""}this.state.orientation=b.orientation},a.fn.owlCarousel=function(b){return this.each(function(){a(this).data("owlCarousel")||a(this).data("owlCarousel",new e(this,b))})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b){var c=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type))for(var c=this._core.settings,d=c.center&&Math.ceil(c.items/2)||c.items,e=c.center&&-1*d||0,f=(b.property&&b.property.value||this._core.current())+e,g=this._core.clones().length,h=a.proxy(function(a,b){this.load(b)},this);e++<d;)this.load(g/2+this._core.relative(f)),g&&a.each(this._core.clones(this._core.relative(f++)),h)},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this._core.$element.on(this._handlers)};c.Defaults={lazyLoad:!1},c.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":"url("+g+")",opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},c.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=c}(window.Zepto||window.jQuery,window,document),function(a){var b=function(c){this._core=c,this._handlers={"initialized.owl.carousel":a.proxy(function(){this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){this._core.settings.autoHeight&&"position"==a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass)===this._core.$stage.children().eq(this._core.current())&&this.update()},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this._core.$element.on(this._handlers)};b.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},b.prototype.update=function(){this._core.$stage.parent().height(this._core.$stage.children().eq(this._core.current()).height()).addClass(this._core.settings.autoHeightClass)},b.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=b}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this._core=b,this._videos={},this._playing=null,this._fullscreen=!1,this._handlers={"resize.owl.carousel":a.proxy(function(a){this._core.settings.video&&!this.isInFullScreen()&&a.preventDefault()},this),"refresh.owl.carousel changed.owl.carousel":a.proxy(function(){this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))},this)},this._core.options=a.extend({},d.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};d.Defaults={video:!1,videoHeight:!1,videoWidth:!1},d.prototype.fetch=function(a,b){var c=a.attr("data-vimeo-id")?"vimeo":"youtube",d=a.attr("data-vimeo-id")||a.attr("data-youtube-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com))\/(video\/|embed\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else{if(!(d[3].indexOf("vimeo")>-1))throw new Error("Video URL not supported.");c="vimeo"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},d.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?'style="width:'+c.width+"px;height:"+c.height+'px;"':"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(a){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?'<div class="owl-video-tn '+j+'" '+i+'="'+a+'"></div>':'<div class="owl-video-tn" style="opacity:1;background-image:url('+a+')"></div>',b.after(d),b.after(e)};return b.wrap('<div class="owl-video-wrapper"'+g+"></div>"),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length?(l(h.attr(i)),h.remove(),!1):void("youtube"===c.type?(f="http://img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type&&a.ajax({type:"GET",url:"http://vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}))},d.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null},d.prototype.play=function(b){this._core.trigger("play",null,"video"),this._playing&&this.stop();var c,d,e=a(b.target||b.srcElement),f=e.closest("."+this._core.settings.itemClass),g=this._videos[f.attr("data-video")],h=g.width||"100%",i=g.height||this._core.$stage.height();"youtube"===g.type?c='<iframe width="'+h+'" height="'+i+'" src="http://www.youtube.com/embed/'+g.id+"?autoplay=1&v="+g.id+'" frameborder="0" allowfullscreen></iframe>':"vimeo"===g.type&&(c='<iframe src="http://player.vimeo.com/video/'+g.id+'?autoplay=1" width="'+h+'" height="'+i+'" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>'),f.addClass("owl-video-playing"),this._playing=f,d=a('<div style="height:'+i+"px; width:"+h+'px" class="owl-video-frame">'+c+"</div>"),e.after(d)},d.prototype.isInFullScreen=function(){var d=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return d&&a(d).parent().hasClass("owl-video-frame")&&(this._core.speed(0),this._fullscreen=!0),d&&this._fullscreen&&this._playing?!1:this._fullscreen?(this._fullscreen=!1,!1):this._playing&&this._core.state.orientation!==b.orientation?(this._core.state.orientation=b.orientation,!1):!0},d.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=d}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){this.swapping="translated"==a.type},this),"translate.owl.carousel":a.proxy(function(){this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1,animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&this.core.support3d){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c)),f&&e.addClass("animated owl-animated-in").addClass(f).one("webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",c))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.transitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c){var d=function(b){this.core=b,this.core.options=a.extend({},d.Defaults,this.core.options),this.handlers={"translated.owl.carousel refreshed.owl.carousel":a.proxy(function(){this.autoplay()
},this),"play.owl.autoplay":a.proxy(function(a,b,c){this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(){this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this.core.settings.autoplayHoverPause&&this.autoplay()},this)},this.core.$element.on(this.handlers)};d.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},d.prototype.autoplay=function(){this.core.settings.autoplay&&!this.core.state.videoPlay?(b.clearInterval(this.interval),this.interval=b.setInterval(a.proxy(function(){this.play()},this),this.core.settings.autoplayTimeout)):b.clearInterval(this.interval)},d.prototype.play=function(){return c.hidden===!0||this.core.state.isTouch||this.core.state.isScrolling||this.core.state.isSwiping||this.core.state.inMotion?void 0:this.core.settings.autoplay===!1?void b.clearInterval(this.interval):void this.core.next(this.core.settings.autoplaySpeed)},d.prototype.stop=function(){b.clearInterval(this.interval)},d.prototype.pause=function(){b.clearInterval(this.interval)},d.prototype.destroy=function(){var a,c;b.clearInterval(this.interval);for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=d}(window.Zepto||window.jQuery,window,document),function(a){"use strict";var b=function(c){this._core=c,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.push(a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"add.owl.carousel":a.proxy(function(b){this._core.settings.dotsData&&this._templates.splice(b.position,0,a(b.content).find("[data-dot]").andSelf("[data-dot]").attr("data-dot"))},this),"remove.owl.carousel prepared.owl.carousel":a.proxy(function(a){this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"change.owl.carousel":a.proxy(function(a){if("position"==a.property.name&&!this._core.state.revert&&!this._core.settings.loop&&this._core.settings.navRewind){var b=this._core.current(),c=this._core.maximum(),d=this._core.minimum();a.data=a.property.value>c?b>=c?d:c:a.property.value<d?c:a.property.value}},this),"changed.owl.carousel":a.proxy(function(a){"position"==a.property.name&&this.draw()},this),"refreshed.owl.carousel":a.proxy(function(){this._initialized||(this.initialize(),this._initialized=!0),this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation")},this)},this._core.options=a.extend({},b.Defaults,this._core.options),this.$element.on(this._handlers)};b.Defaults={nav:!1,navRewind:!0,navText:["prev","next"],navSpeed:!1,navElement:"div",navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotData:!1,dotsSpeed:!1,dotsContainer:!1,controlsClass:"owl-controls"},b.prototype.initialize=function(){var b,c,d=this._core.settings;d.dotsData||(this._templates=[a("<div>").addClass(d.dotClass).append(a("<span>")).prop("outerHTML")]),d.navContainer&&d.dotsContainer||(this._controls.$container=a("<div>").addClass(d.controlsClass).appendTo(this.$element)),this._controls.$indicators=d.dotsContainer?a(d.dotsContainer):a("<div>").hide().addClass(d.dotsClass).appendTo(this._controls.$container),this._controls.$indicators.on("click","div",a.proxy(function(b){var c=a(b.target).parent().is(this._controls.$indicators)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(c,d.dotsSpeed)},this)),b=d.navContainer?a(d.navContainer):a("<div>").addClass(d.navContainerClass).prependTo(this._controls.$container),this._controls.$next=a("<"+d.navElement+">"),this._controls.$previous=this._controls.$next.clone(),this._controls.$previous.addClass(d.navClass[0]).html(d.navText[0]).hide().prependTo(b).on("click",a.proxy(function(){this.prev(d.navSpeed)},this)),this._controls.$next.addClass(d.navClass[1]).html(d.navText[1]).hide().appendTo(b).on("click",a.proxy(function(){this.next(d.navSpeed)},this));for(c in this._overrides)this._core[c]=a.proxy(this[c],this)},b.prototype.destroy=function(){var a,b,c,d;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},b.prototype.update=function(){var a,b,c,d=this._core.settings,e=this._core.clones().length/2,f=e+this._core.items().length,g=d.center||d.autoWidth||d.dotData?1:d.dotsEach||d.items;if("page"!==d.slideBy&&(d.slideBy=Math.min(d.slideBy,d.items)),d.dots||"page"==d.slideBy)for(this._pages=[],a=e,b=0,c=0;f>a;a++)(b>=g||0===b)&&(this._pages.push({start:a-e,end:a-e+g-1}),b=0,++c),b+=this._core.mergers(this._core.relative(a))},b.prototype.draw=function(){var b,c,d="",e=this._core.settings,f=(this._core.$stage.children(),this._core.relative(this._core.current()));if(!e.nav||e.loop||e.navRewind||(this._controls.$previous.toggleClass("disabled",0>=f),this._controls.$next.toggleClass("disabled",f>=this._core.maximum())),this._controls.$previous.toggle(e.nav),this._controls.$next.toggle(e.nav),e.dots){if(b=this._pages.length-this._controls.$indicators.children().length,e.dotData&&0!==b){for(c=0;c<this._controls.$indicators.children().length;c++)d+=this._templates[this._core.relative(c)];this._controls.$indicators.html(d)}else b>0?(d=new Array(b+1).join(this._templates[0]),this._controls.$indicators.append(d)):0>b&&this._controls.$indicators.children().slice(b).remove();this._controls.$indicators.find(".active").removeClass("active"),this._controls.$indicators.children().eq(a.inArray(this.current(),this._pages)).addClass("active")}this._controls.$indicators.toggle(e.dots)},b.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotData?1:c.dotsEach||c.items)}},b.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,function(a){return a.start<=b&&a.end>=b}).pop()},b.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},b.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},b.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},b.prototype.to=function(b,c,d){var e;d?a.proxy(this._overrides.to,this._core)(b,c):(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c))},a.fn.owlCarousel.Constructor.Plugins.Navigation=b}(window.Zepto||window.jQuery,window,document),function(a,b){"use strict";var c=function(d){this._core=d,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(){"URLHash"==this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){var c=a(b.content).find("[data-hash]").andSelf("[data-hash]").attr("data-hash");this._hashes[c]=b.content},this)},this._core.options=a.extend({},c.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(){var a=b.location.hash.substring(1),c=this._core.$stage.children(),d=this._hashes[a]&&c.index(this._hashes[a])||0;return a?void this._core.to(d,!1,!0):!1},this))};c.Defaults={URLhashListener:!1},c.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=c}(window.Zepto||window.jQuery,window,document);
!function(e){function t(){e[n].glbl||(r={$wndw:e(window),$docu:e(document),$html:e("html"),$body:e("body")},i={},a={},o={},e.each([i,a,o],function(e,t){t.add=function(e){e=e.split(" ");for(var n=0,s=e.length;s>n;n++)t[e[n]]=t.mm(e[n])}}),i.mm=function(e){return"mm-"+e},i.add("wrapper menu panels panel nopanel current highest opened subopened navbar hasnavbar title btn prev next listview nolistview inset vertical selected divider spacer hidden fullsubopen"),i.umm=function(e){return"mm-"==e.slice(0,3)&&(e=e.slice(3)),e},a.mm=function(e){return"mm-"+e},a.add("parent sub"),o.mm=function(e){return e+".mm"},o.add("transitionend webkitTransitionEnd click scroll keydown mousedown mouseup touchstart touchmove touchend orientationchange"),e[n]._c=i,e[n]._d=a,e[n]._e=o,e[n].glbl=r)}var n="mmenu",s="5.6.1";if(!(e[n]&&e[n].version>s)){e[n]=function(e,t,n){this.$menu=e,this._api=["bind","init","update","setSelected","getInstance","openPanel","closePanel","closeAllPanels"],this.opts=t,this.conf=n,this.vars={},this.cbck={},"function"==typeof this.___deprecated&&this.___deprecated(),this._initMenu(),this._initAnchors();var s=this.$pnls.children();return this._initAddons(),this.init(s),"function"==typeof this.___debug&&this.___debug(),this},e[n].version=s,e[n].addons={},e[n].uniqueId=0,e[n].defaults={extensions:[],navbar:{add:!0,title:"Menu",titleLink:"panel"},onClick:{setSelected:!0},slidingSubmenus:!0},e[n].configuration={classNames:{divider:"Divider",inset:"Inset",panel:"Panel",selected:"Selected",spacer:"Spacer",vertical:"Vertical"},clone:!1,openingInterval:25,panelNodetype:"ul, ol, div",transitionDuration:400},e[n].prototype={init:function(e){e=e.not("."+i.nopanel),e=this._initPanels(e),this.trigger("init",e),this.trigger("update")},update:function(){this.trigger("update")},setSelected:function(e){this.$menu.find("."+i.listview).children().removeClass(i.selected),e.addClass(i.selected),this.trigger("setSelected",e)},openPanel:function(t){var s=t.parent(),a=this;if(s.hasClass(i.vertical)){var o=s.parents("."+i.subopened);if(o.length)return void this.openPanel(o.first());s.addClass(i.opened),this.trigger("openPanel",t),this.trigger("openingPanel",t),this.trigger("openedPanel",t)}else{if(t.hasClass(i.current))return;var r=this.$pnls.children("."+i.panel),l=r.filter("."+i.current);r.removeClass(i.highest).removeClass(i.current).not(t).not(l).not("."+i.vertical).addClass(i.hidden),e[n].support.csstransitions||l.addClass(i.hidden),t.hasClass(i.opened)?t.nextAll("."+i.opened).addClass(i.highest).removeClass(i.opened).removeClass(i.subopened):(t.addClass(i.highest),l.addClass(i.subopened)),t.removeClass(i.hidden).addClass(i.current),a.trigger("openPanel",t),setTimeout(function(){t.removeClass(i.subopened).addClass(i.opened),a.trigger("openingPanel",t),a.__transitionend(t,function(){a.trigger("openedPanel",t)},a.conf.transitionDuration)},this.conf.openingInterval)}},closePanel:function(e){var t=e.parent();t.hasClass(i.vertical)&&(t.removeClass(i.opened),this.trigger("closePanel",e),this.trigger("closingPanel",e),this.trigger("closedPanel",e))},closeAllPanels:function(){this.$menu.find("."+i.listview).children().removeClass(i.selected).filter("."+i.vertical).removeClass(i.opened);var e=this.$pnls.children("."+i.panel),t=e.first();this.$pnls.children("."+i.panel).not(t).removeClass(i.subopened).removeClass(i.opened).removeClass(i.current).removeClass(i.highest).addClass(i.hidden),this.openPanel(t)},togglePanel:function(e){var t=e.parent();t.hasClass(i.vertical)&&this[t.hasClass(i.opened)?"closePanel":"openPanel"](e)},getInstance:function(){return this},bind:function(e,t){this.cbck[e]=this.cbck[e]||[],this.cbck[e].push(t)},trigger:function(){var e=this,t=Array.prototype.slice.call(arguments),n=t.shift();if(this.cbck[n])for(var s=0,i=this.cbck[n].length;i>s;s++)this.cbck[n][s].apply(e,t)},_initMenu:function(){this.$menu.attr("id",this.$menu.attr("id")||this.__getUniqueId()),this.conf.clone&&(this.$menu=this.$menu.clone(!0),this.$menu.add(this.$menu.find("[id]")).filter("[id]").each(function(){e(this).attr("id",i.mm(e(this).attr("id")))})),this.$menu.contents().each(function(){3==e(this)[0].nodeType&&e(this).remove()}),this.$pnls=e('<div class="'+i.panels+'" />').append(this.$menu.children(this.conf.panelNodetype)).prependTo(this.$menu),this.$menu.parent().addClass(i.wrapper);var t=[i.menu];this.opts.slidingSubmenus||t.push(i.vertical),this.opts.extensions=this.opts.extensions.length?"mm-"+this.opts.extensions.join(" mm-"):"",this.opts.extensions&&t.push(this.opts.extensions),this.$menu.addClass(t.join(" "))},_initPanels:function(t){var n=this,s=this.__findAddBack(t,"ul, ol");this.__refactorClass(s,this.conf.classNames.inset,"inset").addClass(i.nolistview+" "+i.nopanel),s.not("."+i.nolistview).addClass(i.listview);var o=this.__findAddBack(t,"."+i.listview).children();this.__refactorClass(o,this.conf.classNames.selected,"selected"),this.__refactorClass(o,this.conf.classNames.divider,"divider"),this.__refactorClass(o,this.conf.classNames.spacer,"spacer"),this.__refactorClass(this.__findAddBack(t,"."+this.conf.classNames.panel),this.conf.classNames.panel,"panel");var r=e(),l=t.add(t.find("."+i.panel)).add(this.__findAddBack(t,"."+i.listview).children().children(this.conf.panelNodetype)).not("."+i.nopanel);this.__refactorClass(l,this.conf.classNames.vertical,"vertical"),this.opts.slidingSubmenus||l.addClass(i.vertical),l.each(function(){var t=e(this),s=t;t.is("ul, ol")?(t.wrap('<div class="'+i.panel+'" />'),s=t.parent()):s.addClass(i.panel);var a=t.attr("id");t.removeAttr("id"),s.attr("id",a||n.__getUniqueId()),t.hasClass(i.vertical)&&(t.removeClass(n.conf.classNames.vertical),s.add(s.parent()).addClass(i.vertical)),r=r.add(s)});var d=e("."+i.panel,this.$menu);r.each(function(t){var s,o,r=e(this),l=r.parent(),d=l.children("a, span").first();if(l.is("."+i.panels)||(l.data(a.sub,r),r.data(a.parent,l)),l.children("."+i.next).length||l.parent().is("."+i.listview)&&(s=r.attr("id"),o=e('<a class="'+i.next+'" href="#'+s+'" data-target="#'+s+'" />').insertBefore(d),d.is("span")&&o.addClass(i.fullsubopen)),!r.children("."+i.navbar).length&&!l.hasClass(i.vertical)){l.parent().is("."+i.listview)?l=l.closest("."+i.panel):(d=l.closest("."+i.panel).find('a[href="#'+r.attr("id")+'"]').first(),l=d.closest("."+i.panel));var c=e('<div class="'+i.navbar+'" />');if(l.length){switch(s=l.attr("id"),n.opts.navbar.titleLink){case"anchor":_url=d.attr("href");break;case"panel":case"parent":_url="#"+s;break;default:_url=!1}c.append('<a class="'+i.btn+" "+i.prev+'" href="#'+s+'" data-target="#'+s+'" />').append(e('<a class="'+i.title+'"'+(_url?' href="'+_url+'"':"")+" />").text(d.text())).prependTo(r),n.opts.navbar.add&&r.addClass(i.hasnavbar)}else n.opts.navbar.title&&(c.append('<a class="'+i.title+'">'+n.opts.navbar.title+"</a>").prependTo(r),n.opts.navbar.add&&r.addClass(i.hasnavbar))}});var c=this.__findAddBack(t,"."+i.listview).children("."+i.selected).removeClass(i.selected).last().addClass(i.selected);c.add(c.parentsUntil("."+i.menu,"li")).filter("."+i.vertical).addClass(i.opened).end().each(function(){e(this).parentsUntil("."+i.menu,"."+i.panel).not("."+i.vertical).first().addClass(i.opened).parentsUntil("."+i.menu,"."+i.panel).not("."+i.vertical).first().addClass(i.opened).addClass(i.subopened)}),c.children("."+i.panel).not("."+i.vertical).addClass(i.opened).parentsUntil("."+i.menu,"."+i.panel).not("."+i.vertical).first().addClass(i.opened).addClass(i.subopened);var p=d.filter("."+i.opened);return p.length||(p=r.first()),p.addClass(i.opened).last().addClass(i.current),r.not("."+i.vertical).not(p.last()).addClass(i.hidden).end().filter(function(){return!e(this).parent().hasClass(i.panels)}).appendTo(this.$pnls),r},_initAnchors:function(){var t=this;r.$body.on(o.click+"-oncanvas","a[href]",function(s){var a=e(this),o=!1,r=t.$menu.find(a).length;for(var l in e[n].addons)if(e[n].addons[l].clickAnchor.call(t,a,r)){o=!0;break}var d=a.attr("href");if(!o&&r&&d.length>1&&"#"==d.slice(0,1))try{var c=e(d,t.$menu);c.is("."+i.panel)&&(o=!0,t[a.parent().hasClass(i.vertical)?"togglePanel":"openPanel"](c))}catch(p){}if(o&&s.preventDefault(),!o&&r&&a.is("."+i.listview+" > li > a")&&!a.is('[rel="external"]')&&!a.is('[target="_blank"]')){t.__valueOrFn(t.opts.onClick.setSelected,a)&&t.setSelected(e(s.target).parent());var h=t.__valueOrFn(t.opts.onClick.preventDefault,a,"#"==d.slice(0,1));h&&s.preventDefault(),t.__valueOrFn(t.opts.onClick.close,a,h)&&t.close()}})},_initAddons:function(){var t;for(t in e[n].addons)e[n].addons[t].add.call(this),e[n].addons[t].add=function(){};for(t in e[n].addons)e[n].addons[t].setup.call(this)},_getOriginalMenuId:function(){var e=this.$menu.attr("id");return e&&e.length&&this.conf.clone&&(e=i.umm(e)),e},__api:function(){var t=this,n={};return e.each(this._api,function(e){var s=this;n[s]=function(){var e=t[s].apply(t,arguments);return"undefined"==typeof e?n:e}}),n},__valueOrFn:function(e,t,n){return"function"==typeof e?e.call(t[0]):"undefined"==typeof e&&"undefined"!=typeof n?n:e},__refactorClass:function(e,t,n){return e.filter("."+t).removeClass(t).addClass(i[n])},__findAddBack:function(e,t){return e.find(t).add(e.filter(t))},__filterListItems:function(e){return e.not("."+i.divider).not("."+i.hidden)},__transitionend:function(e,t,n){var s=!1,i=function(){s||t.call(e[0]),s=!0};e.one(o.transitionend,i),e.one(o.webkitTransitionEnd,i),setTimeout(i,1.1*n)},__getUniqueId:function(){return i.mm(e[n].uniqueId++)}},e.fn[n]=function(s,i){return t(),s=e.extend(!0,{},e[n].defaults,s),i=e.extend(!0,{},e[n].configuration,i),this.each(function(){var t=e(this);if(!t.data(n)){var a=new e[n](t,s,i);a.$menu.data(n,a.__api())}})},e[n].support={touch:"ontouchstart"in window||navigator.msMaxTouchPoints||!1,csstransitions:function(){if("undefined"!=typeof Modernizr&&"undefined"!=typeof Modernizr.csstransitions)return Modernizr.csstransitions;var e=document.body||document.documentElement,t=e.style,n="transition";if("string"==typeof t[n])return!0;var s=["Moz","webkit","Webkit","Khtml","O","ms"];n=n.charAt(0).toUpperCase()+n.substr(1);for(var i=0;i<s.length;i++)if("string"==typeof t[s[i]+n])return!0;return!1}()};var i,a,o,r}}(jQuery),
function(e){var t="mmenu",n="offCanvas";e[t].addons[n]={setup:function(){if(this.opts[n]){var i=this.opts[n],a=this.conf[n];o=e[t].glbl,this._api=e.merge(this._api,["open","close","setPage"]),("top"==i.position||"bottom"==i.position)&&(i.zposition="front"),"string"!=typeof a.pageSelector&&(a.pageSelector="> "+a.pageNodetype),o.$allMenus=(o.$allMenus||e()).add(this.$menu),this.vars.opened=!1;var r=[s.offcanvas];"left"!=i.position&&r.push(s.mm(i.position)),"back"!=i.zposition&&r.push(s.mm(i.zposition)),this.$menu.addClass(r.join(" ")).parent().removeClass(s.wrapper),this.setPage(o.$page),this._initBlocker(),this["_initWindow_"+n](),this.$menu[a.menuInjectMethod+"To"](a.menuWrapperSelector);var l=window.location.hash;if(l){var d=this._getOriginalMenuId();d&&d==l.slice(1)&&this.open()}}},add:function(){s=e[t]._c,i=e[t]._d,a=e[t]._e,s.add("offcanvas slideout blocking modal background opening blocker page"),i.add("style"),a.add("resize")},clickAnchor:function(e,t){if(!this.opts[n])return!1;var s=this._getOriginalMenuId();if(s&&e.is('[href="#'+s+'"]'))return this.open(),!0;if(o.$page)return s=o.$page.first().attr("id"),s&&e.is('[href="#'+s+'"]')?(this.close(),!0):!1}},e[t].defaults[n]={position:"left",zposition:"back",blockUI:!0,moveBackground:!0},e[t].configuration[n]={pageNodetype:"div",pageSelector:null,noPageSelector:[],wrapPageIfNeeded:!0,menuWrapperSelector:"body",menuInjectMethod:"prepend"},e[t].prototype.open=function(){if(!this.vars.opened){var e=this;this._openSetup(),setTimeout(function(){e._openFinish()},this.conf.openingInterval),this.trigger("open")}},e[t].prototype._openSetup=function(){var t=this,r=this.opts[n];this.closeAllOthers(),o.$page.each(function(){e(this).data(i.style,e(this).attr("style")||"")}),o.$wndw.trigger(a.resize+"-"+n,[!0]);var l=[s.opened];r.blockUI&&l.push(s.blocking),"modal"==r.blockUI&&l.push(s.modal),r.moveBackground&&l.push(s.background),"left"!=r.position&&l.push(s.mm(this.opts[n].position)),"back"!=r.zposition&&l.push(s.mm(this.opts[n].zposition)),this.opts.extensions&&l.push(this.opts.extensions),o.$html.addClass(l.join(" ")),setTimeout(function(){t.vars.opened=!0},this.conf.openingInterval),this.$menu.addClass(s.current+" "+s.opened)},e[t].prototype._openFinish=function(){var e=this;this.__transitionend(o.$page.first(),function(){e.trigger("opened")},this.conf.transitionDuration),o.$html.addClass(s.opening),this.trigger("opening")},e[t].prototype.close=function(){if(this.vars.opened){var t=this;this.__transitionend(o.$page.first(),function(){t.$menu.removeClass(s.current).removeClass(s.opened),o.$html.removeClass(s.opened).removeClass(s.blocking).removeClass(s.modal).removeClass(s.background).removeClass(s.mm(t.opts[n].position)).removeClass(s.mm(t.opts[n].zposition)),t.opts.extensions&&o.$html.removeClass(t.opts.extensions),o.$page.each(function(){e(this).attr("style",e(this).data(i.style))}),t.vars.opened=!1,t.trigger("closed")},this.conf.transitionDuration),o.$html.removeClass(s.opening),this.trigger("close"),this.trigger("closing")}},e[t].prototype.closeAllOthers=function(){o.$allMenus.not(this.$menu).each(function(){var n=e(this).data(t);n&&n.close&&n.close()})},e[t].prototype.setPage=function(t){var i=this,a=this.conf[n];t&&t.length||(t=o.$body.find(a.pageSelector),a.noPageSelector.length&&(t=t.not(a.noPageSelector.join(", "))),t.length>1&&a.wrapPageIfNeeded&&(t=t.wrapAll("<"+this.conf[n].pageNodetype+" />").parent())),t.each(function(){e(this).attr("id",e(this).attr("id")||i.__getUniqueId())}),t.addClass(s.page+" "+s.slideout),o.$page=t,this.trigger("setPage",t)},e[t].prototype["_initWindow_"+n]=function(){o.$wndw.off(a.keydown+"-"+n).on(a.keydown+"-"+n,function(e){return o.$html.hasClass(s.opened)&&9==e.keyCode?(e.preventDefault(),!1):void 0});var e=0;o.$wndw.off(a.resize+"-"+n).on(a.resize+"-"+n,function(t,n){if(1==o.$page.length&&(n||o.$html.hasClass(s.opened))){var i=o.$wndw.height();(n||i!=e)&&(e=i,o.$page.css("minHeight",i))}})},e[t].prototype._initBlocker=function(){var t=this;this.opts[n].blockUI&&(o.$blck||(o.$blck=e('<div id="'+s.blocker+'" class="'+s.slideout+'" />')),o.$blck.appendTo(o.$body).off(a.touchstart+"-"+n+" "+a.touchmove+"-"+n).on(a.touchstart+"-"+n+" "+a.touchmove+"-"+n,function(e){e.preventDefault(),e.stopPropagation(),o.$blck.trigger(a.mousedown+"-"+n)}).off(a.mousedown+"-"+n).on(a.mousedown+"-"+n,function(e){e.preventDefault(),o.$html.hasClass(s.modal)||(t.closeAllOthers(),t.close())}))};var s,i,a,o}(jQuery),
function(e){var t="mmenu",n="scrollBugFix";e[t].addons[n]={setup:function(){var i=this,r=this.opts[n];this.conf[n];if(o=e[t].glbl,e[t].support.touch&&this.opts.offCanvas&&this.opts.offCanvas.modal&&("boolean"==typeof r&&(r={fix:r}),"object"!=typeof r&&(r={}),r=this.opts[n]=e.extend(!0,{},e[t].defaults[n],r),r.fix)){var l=this.$menu.attr("id"),d=!1;this.bind("opening",function(){this.$pnls.children("."+s.current).scrollTop(0)}),o.$docu.on(a.touchmove,function(e){i.vars.opened&&e.preventDefault()}),o.$body.on(a.touchstart,"#"+l+"> ."+s.panels+"> ."+s.current,function(e){i.vars.opened&&(d||(d=!0,0===e.currentTarget.scrollTop?e.currentTarget.scrollTop=1:e.currentTarget.scrollHeight===e.currentTarget.scrollTop+e.currentTarget.offsetHeight&&(e.currentTarget.scrollTop-=1),d=!1))}).on(a.touchmove,"#"+l+"> ."+s.panels+"> ."+s.current,function(t){i.vars.opened&&e(this)[0].scrollHeight>e(this).innerHeight()&&t.stopPropagation()}),o.$wndw.on(a.orientationchange,function(){i.$pnls.children("."+s.current).scrollTop(0).css({"-webkit-overflow-scrolling":"auto"}).css({"-webkit-overflow-scrolling":"touch"})})}},add:function(){s=e[t]._c,i=e[t]._d,a=e[t]._e},clickAnchor:function(e,t){}},e[t].defaults[n]={fix:!0};var s,i,a,o}(jQuery);
!function(t,e){"function"==typeof define&&define.amd?define([],function(){return e()}):"object"==typeof exports?module.exports=e():t.Headhesive=e()}(this,function(){"use strict";var t=function(e,s){for(var o in s)s.hasOwnProperty(o)&&(e[o]="object"==typeof s[o]?t(e[o],s[o]):s[o]);return e},e=function(t,e){var s,o,i,n=Date.now||function(){return(new Date).getTime()},l=null,c=0,r=function(){c=n(),l=null,i=t.apply(s,o),s=o=null};return function(){var f=n(),h=e-(f-c);return s=this,o=arguments,0>=h?(clearTimeout(l),l=null,c=f,i=t.apply(s,o),s=o=null):l||(l=setTimeout(r,h)),i}},s=function(){return void 0!==window.pageYOffset?window.pageYOffset:(document.documentElement||document.body.parentNode||document.body).scrollTop},o=function(t,e){for(var s=0,o=t.offsetHeight;t;)s+=t.offsetTop,t=t.offsetParent;return"bottom"===e&&(s+=o),s},i=function(e,s){"querySelector"in document&&"addEventListener"in window&&(this.visible=!1,this.options={offset:300,offsetSide:"top",classes:{clone:"headhesive",stick:"headhesive--stick",unstick:"headhesive--unstick"},throttle:250,onInit:function(){},onStick:function(){},onUnstick:function(){},onDestroy:function(){}},this.elem="string"==typeof e?document.querySelector(e):e,this.options=t(this.options,s),this.init())};return i.prototype={constructor:i,init:function(){if(this.clonedElem=this.elem.cloneNode(!0),this.clonedElem.className+=" "+this.options.classes.clone,document.body.insertBefore(this.clonedElem,document.body.firstChild),"number"==typeof this.options.offset)this.scrollOffset=this.options.offset;else{if("string"!=typeof this.options.offset)throw new Error("Invalid offset: "+this.options.offset);this._setScrollOffset()}this._throttleUpdate=e(this.update.bind(this),this.options.throttle),this._throttleScrollOffset=e(this._setScrollOffset.bind(this),this.options.throttle),window.addEventListener("scroll",this._throttleUpdate,!1),window.addEventListener("resize",this._throttleScrollOffset,!1),this.options.onInit.call(this)},_setScrollOffset:function(){"string"==typeof this.options.offset&&(this.scrollOffset=o(document.querySelector(this.options.offset),this.options.offsetSide))},destroy:function(){document.body.removeChild(this.clonedElem),window.removeEventListener("scroll",this._throttleUpdate),window.removeEventListener("resize",this._throttleScrollOffset),this.options.onDestroy.call(this)},stick:function(){this.visible||(this.clonedElem.className=this.clonedElem.className.replace(new RegExp("(^|\\s)*"+this.options.classes.unstick+"(\\s|$)*","g"),""),this.clonedElem.className+=" "+this.options.classes.stick,this.visible=!0,this.options.onStick.call(this))},unstick:function(){this.visible&&(this.clonedElem.className=this.clonedElem.className.replace(new RegExp("(^|\\s)*"+this.options.classes.stick+"(\\s|$)*","g"),""),this.clonedElem.className+=" "+this.options.classes.unstick,this.visible=!1,this.options.onUnstick.call(this))},update:function(){s()>this.scrollOffset?this.stick():this.unstick()}},i});
/*
!function(s){s.fn.superfish=function(a){var i=s.fn.superfish,o=i.c,n=s(['<span class="',o.arrowClass,'"></span>'].join("")),e=function(){var a=s(this),i=l(a);clearTimeout(i.sfTimer),a.showSuperfishUl().siblings().hideSuperfishUl()},t=function(){var a=s(this),o=l(a),n=i.op;clearTimeout(o.sfTimer),o.sfTimer=setTimeout(function(){n.retainPath=s.inArray(a[0],n.$path)>-1,a.hideSuperfishUl(),n.$path.length&&a.parents(["li.",n.hoverClass].join("")).length<1&&e.call(n.$path)},n.delay)},l=function(s){var a=s.parents(["ul.",o.menuClass,":first"].join(""))[0];return i.op=i.o[a.serial],a},r=function(s){s.addClass(o.anchorClass).append(n.clone())};return this.each(function(){var n=this.serial=i.o.length,l=s.extend({},i.defaults,a);l.$path=s("li."+l.pathClass,this).slice(0,l.pathLevels).each(function(){s(this).addClass([l.hoverClass,o.bcClass].join(" ")).filter("li:has(ul)").removeClass(l.pathClass)}),i.o[n]=i.op=l,s("li:has(ul)",this)[s.fn.hoverIntent&&!l.disableHI?"hoverIntent":"hover"](e,t).each(function(){l.autoArrows&&r(s(">a:first-child",this))}).not("."+o.bcClass).hideSuperfishUl();var h=s("a",this);h.each(function(s){var a=h.eq(s).parents("li");h.eq(s).focus(function(){e.call(a)}).blur(function(){t.call(a)})}),l.onInit.call(this)}).each(function(){var a=[o.menuClass];!i.op.dropShadows||s.browser.msie&&s.browser.version<7||a.push(o.shadowClass),s(this).addClass(a.join(" "))})};var a=s.fn.superfish;a.o=[],a.op={},a.IE7fix=function(){var i=a.op;s.browser.msie&&s.browser.version>6&&i.dropShadows&&void 0!=i.animation.opacity&&this.toggleClass(a.c.shadowClass+"-off")},a.c={bcClass:"sf-breadcrumb",menuClass:"sf-js-enabled",anchorClass:"sf-with-ul",arrowClass:"sf-sub-indicator",shadowClass:"sf-shadow"},a.defaults={hoverClass:"sfHover",pathClass:"overideThisToUse",pathLevels:1,delay:800,animation:{opacity:"show"},speed:"normal",autoArrows:!0,dropShadows:!0,disableHI:!1,onInit:function(){},onBeforeShow:function(){},onShow:function(){},onHide:function(){}},s.fn.extend({hideSuperfishUl:function(){var i=a.op,o=i.retainPath===!0?i.$path:"";i.retainPath=!1;var n=s(["li.",i.hoverClass].join(""),this).add(this).not(o).removeClass(i.hoverClass).find(">ul").hide().css("visibility","hidden");return i.onHide.call(n),this},showSuperfishUl:function(){var s=a.op,i=(a.c.shadowClass+"-off",this.addClass(s.hoverClass).find(">ul:hidden").css("visibility","visible"));return a.IE7fix.call(i),s.onBeforeShow.call(i),i.animate(s.animation,s.speed,function(){a.IE7fix.call(i),s.onShow.call(i)}),this}})}(jQuery);
*/
(function(){var a,b,c,d=function(a,b){return function(){return a.apply(b,arguments)}},e=[].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1};b=function(){function a(){}return a.prototype.extend=function(a,b){var c,d;for(c in a)d=a[c],null!=d&&(b[c]=d);return b},a.prototype.isMobile=function(a){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(a)},a}(),c=this.WeakMap||this.MozWeakMap||(c=function(){function a(){this.keys=[],this.values=[]}return a.prototype.get=function(a){var b,c,d,e,f;for(f=this.keys,b=d=0,e=f.length;e>d;b=++d)if(c=f[b],c===a)return this.values[b]},a.prototype.set=function(a,b){var c,d,e,f,g;for(g=this.keys,c=e=0,f=g.length;f>e;c=++e)if(d=g[c],d===a)return void(this.values[c]=b);return this.keys.push(a),this.values.push(b)},a}()),a=this.MutationObserver||this.WebkitMutationObserver||this.MozMutationObserver||(a=function(){function a(){console.warn("MutationObserver is not supported by your browser."),console.warn("WOW.js cannot detect dom mutations, please call .sync() after loading new content.")}return a.notSupported=!0,a.prototype.observe=function(){},a}()),this.WOW=function(){function f(a){null==a&&(a={}),this.scrollCallback=d(this.scrollCallback,this),this.scrollHandler=d(this.scrollHandler,this),this.start=d(this.start,this),this.scrolled=!0,this.config=this.util().extend(a,this.defaults),this.animationNameCache=new c}return f.prototype.defaults={boxClass:"wow",animateClass:"animated",offset:0,mobile:!0,live:!0},f.prototype.init=function(){var a;return this.element=window.document.documentElement,"interactive"===(a=document.readyState)||"complete"===a?this.start():document.addEventListener("DOMContentLoaded",this.start),this.finished=[]},f.prototype.start=function(){var b,c,d,e;if(this.stopped=!1,this.boxes=this.element.getElementsByClassName(this.config.boxClass),this.all=function(){var a,c,d,e;for(d=this.boxes,e=[],a=0,c=d.length;c>a;a++)b=d[a],e.push(b);return e}.call(this),this.boxes.length)if(this.disabled())this.resetStyle();else{for(e=this.boxes,c=0,d=e.length;d>c;c++)b=e[c],this.applyStyle(b,!0);window.addEventListener("scroll",this.scrollHandler,!1),window.addEventListener("resize",this.scrollHandler,!1),this.interval=setInterval(this.scrollCallback,50)}return this.config.live?new a(function(a){return function(b){var c,d,e,f,g;for(g=[],e=0,f=b.length;f>e;e++)d=b[e],g.push(function(){var a,b,e,f;for(e=d.addedNodes||[],f=[],a=0,b=e.length;b>a;a++)c=e[a],f.push(this.doSync(c));return f}.call(a));return g}}(this)).observe(document.body,{childList:!0,subtree:!0}):void 0},f.prototype.stop=function(){return this.stopped=!0,window.removeEventListener("scroll",this.scrollHandler,!1),window.removeEventListener("resize",this.scrollHandler,!1),null!=this.interval?clearInterval(this.interval):void 0},f.prototype.sync=function(){return a.notSupported?this.doSync(this.element):void 0},f.prototype.doSync=function(a){var b,c,d,f,g;if(!this.stopped){for(a||(a=this.element),a=a.parentNode||a,f=a.getElementsByClassName(this.config.boxClass),g=[],c=0,d=f.length;d>c;c++)b=f[c],e.call(this.all,b)<0?(this.applyStyle(b,!0),this.boxes.push(b),this.all.push(b),g.push(this.scrolled=!0)):g.push(void 0);return g}},f.prototype.show=function(a){return this.applyStyle(a),a.className=""+a.className+" "+this.config.animateClass},f.prototype.applyStyle=function(a,b){var c,d,e;return d=a.getAttribute("data-wow-duration"),c=a.getAttribute("data-wow-delay"),e=a.getAttribute("data-wow-iteration"),this.animate(function(f){return function(){return f.customStyle(a,b,d,c,e)}}(this))},f.prototype.animate=function(){return"requestAnimationFrame"in window?function(a){return window.requestAnimationFrame(a)}:function(a){return a()}}(),f.prototype.resetStyle=function(){var a,b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],e.push(a.setAttribute("style","visibility: visible;"));return e},f.prototype.customStyle=function(a,b,c,d,e){return b&&this.cacheAnimationName(a),a.style.visibility=b?"hidden":"visible",c&&this.vendorSet(a.style,{animationDuration:c}),d&&this.vendorSet(a.style,{animationDelay:d}),e&&this.vendorSet(a.style,{animationIterationCount:e}),this.vendorSet(a.style,{animationName:b?"none":this.cachedAnimationName(a)}),a},f.prototype.vendors=["moz","webkit"],f.prototype.vendorSet=function(a,b){var c,d,e,f;f=[];for(c in b)d=b[c],a[""+c]=d,f.push(function(){var b,f,g,h;for(g=this.vendors,h=[],b=0,f=g.length;f>b;b++)e=g[b],h.push(a[""+e+c.charAt(0).toUpperCase()+c.substr(1)]=d);return h}.call(this));return f},f.prototype.vendorCSS=function(a,b){var c,d,e,f,g,h;for(d=window.getComputedStyle(a),c=d.getPropertyCSSValue(b),h=this.vendors,f=0,g=h.length;g>f;f++)e=h[f],c=c||d.getPropertyCSSValue("-"+e+"-"+b);return c},f.prototype.animationName=function(a){var b;try{b=this.vendorCSS(a,"animation-name").cssText}catch(c){b=window.getComputedStyle(a).getPropertyValue("animation-name")}return"none"===b?"":b},f.prototype.cacheAnimationName=function(a){return this.animationNameCache.set(a,this.animationName(a))},f.prototype.cachedAnimationName=function(a){return this.animationNameCache.get(a)},f.prototype.scrollHandler=function(){return this.scrolled=!0},f.prototype.scrollCallback=function(){var a;return!this.scrolled||(this.scrolled=!1,this.boxes=function(){var b,c,d,e;for(d=this.boxes,e=[],b=0,c=d.length;c>b;b++)a=d[b],a&&(this.isVisible(a)?this.show(a):e.push(a));return e}.call(this),this.boxes.length||this.config.live)?void 0:this.stop()},f.prototype.offsetTop=function(a){for(var b;void 0===a.offsetTop;)a=a.parentNode;for(b=a.offsetTop;a=a.offsetParent;)b+=a.offsetTop;return b},f.prototype.isVisible=function(a){var b,c,d,e,f;return c=a.getAttribute("data-wow-offset")||this.config.offset,f=window.pageYOffset,e=f+this.element.clientHeight-c,d=this.offsetTop(a),b=d+a.clientHeight,e>=d&&b>=f},f.prototype.util=function(){return this._util||(this._util=new b)},f.prototype.disabled=function(){return!this.config.mobile&&this.util().isMobile(navigator.userAgent)},f}()}).call(this);
(function(){var t=[].indexOf||function(t){for(var e=0,n=this.length;e<n;e++){if(e in this&&this[e]===t)return e}return-1},e=[].slice;(function(t,e){if(typeof define==="function"&&define.amd){return define("waypoints",["jquery"],function(n){return e(n,t)})}else{return e(t.jQuery,t)}})(this,function(n,r){var i,o,l,s,f,u,a,c,h,d,p,y,v,w,g,m;i=n(r);c=t.call(r,"ontouchstart")>=0;s={horizontal:{},vertical:{}};f=1;a={};u="waypoints-context-id";p="resize.waypoints";y="scroll.waypoints";v=1;w="waypoints-waypoint-ids";g="waypoint";m="waypoints";o=function(){function t(t){var e=this;this.$element=t;this.element=t[0];this.didResize=false;this.didScroll=false;this.id="context"+f++;this.oldScroll={x:t.scrollLeft(),y:t.scrollTop()};this.waypoints={horizontal:{},vertical:{}};t.data(u,this.id);a[this.id]=this;t.bind(y,function(){var t;if(!(e.didScroll||c)){e.didScroll=true;t=function(){e.doScroll();return e.didScroll=false};return r.setTimeout(t,n[m].settings.scrollThrottle)}});t.bind(p,function(){var t;if(!e.didResize){e.didResize=true;t=function(){n[m]("refresh");return e.didResize=false};return r.setTimeout(t,n[m].settings.resizeThrottle)}})}t.prototype.doScroll=function(){var t,e=this;t={horizontal:{newScroll:this.$element.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.$element.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};if(c&&(!t.vertical.oldScroll||!t.vertical.newScroll)){n[m]("refresh")}n.each(t,function(t,r){var i,o,l;l=[];o=r.newScroll>r.oldScroll;i=o?r.forward:r.backward;n.each(e.waypoints[t],function(t,e){var n,i;if(r.oldScroll<(n=e.offset)&&n<=r.newScroll){return l.push(e)}else if(r.newScroll<(i=e.offset)&&i<=r.oldScroll){return l.push(e)}});l.sort(function(t,e){return t.offset-e.offset});if(!o){l.reverse()}return n.each(l,function(t,e){if(e.options.continuous||t===l.length-1){return e.trigger([i])}})});return this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}};t.prototype.refresh=function(){var t,e,r,i=this;r=n.isWindow(this.element);e=this.$element.offset();this.doScroll();t={horizontal:{contextOffset:r?0:e.left,contextScroll:r?0:this.oldScroll.x,contextDimension:this.$element.width(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:r?0:e.top,contextScroll:r?0:this.oldScroll.y,contextDimension:r?n[m]("viewportHeight"):this.$element.height(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}};return n.each(t,function(t,e){return n.each(i.waypoints[t],function(t,r){var i,o,l,s,f;i=r.options.offset;l=r.offset;o=n.isWindow(r.element)?0:r.$element.offset()[e.offsetProp];if(n.isFunction(i)){i=i.apply(r.element)}else if(typeof i==="string"){i=parseFloat(i);if(r.options.offset.indexOf("%")>-1){i=Math.ceil(e.contextDimension*i/100)}}r.offset=o-e.contextOffset+e.contextScroll-i;if(r.options.onlyOnScroll&&l!=null||!r.enabled){return}if(l!==null&&l<(s=e.oldScroll)&&s<=r.offset){return r.trigger([e.backward])}else if(l!==null&&l>(f=e.oldScroll)&&f>=r.offset){return r.trigger([e.forward])}else if(l===null&&e.oldScroll>=r.offset){return r.trigger([e.forward])}})})};t.prototype.checkEmpty=function(){if(n.isEmptyObject(this.waypoints.horizontal)&&n.isEmptyObject(this.waypoints.vertical)){this.$element.unbind([p,y].join(" "));return delete a[this.id]}};return t}();l=function(){function t(t,e,r){var i,o;r=n.extend({},n.fn[g].defaults,r);if(r.offset==="bottom-in-view"){r.offset=function(){var t;t=n[m]("viewportHeight");if(!n.isWindow(e.element)){t=e.$element.height()}return t-n(this).outerHeight()}}this.$element=t;this.element=t[0];this.axis=r.horizontal?"horizontal":"vertical";this.callback=r.handler;this.context=e;this.enabled=r.enabled;this.id="waypoints"+v++;this.offset=null;this.options=r;e.waypoints[this.axis][this.id]=this;s[this.axis][this.id]=this;i=(o=t.data(w))!=null?o:[];i.push(this.id);t.data(w,i)}t.prototype.trigger=function(t){if(!this.enabled){return}if(this.callback!=null){this.callback.apply(this.element,t)}if(this.options.triggerOnce){return this.destroy()}};t.prototype.disable=function(){return this.enabled=false};t.prototype.enable=function(){this.context.refresh();return this.enabled=true};t.prototype.destroy=function(){delete s[this.axis][this.id];delete this.context.waypoints[this.axis][this.id];return this.context.checkEmpty()};t.getWaypointsByElement=function(t){var e,r;r=n(t).data(w);if(!r){return[]}e=n.extend({},s.horizontal,s.vertical);return n.map(r,function(t){return e[t]})};return t}();d={init:function(t,e){var r;if(e==null){e={}}if((r=e.handler)==null){e.handler=t}this.each(function(){var t,r,i,s;t=n(this);i=(s=e.context)!=null?s:n.fn[g].defaults.context;if(!n.isWindow(i)){i=t.closest(i)}i=n(i);r=a[i.data(u)];if(!r){r=new o(i)}return new l(t,r,e)});n[m]("refresh");return this},disable:function(){return d._invoke(this,"disable")},enable:function(){return d._invoke(this,"enable")},destroy:function(){return d._invoke(this,"destroy")},prev:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e>0){return t.push(n[e-1])}})},next:function(t,e){return d._traverse.call(this,t,e,function(t,e,n){if(e<n.length-1){return t.push(n[e+1])}})},_traverse:function(t,e,i){var o,l;if(t==null){t="vertical"}if(e==null){e=r}l=h.aggregate(e);o=[];this.each(function(){var e;e=n.inArray(this,l[t]);return i(o,e,l[t])});return this.pushStack(o)},_invoke:function(t,e){t.each(function(){var t;t=l.getWaypointsByElement(this);return n.each(t,function(t,n){n[e]();return true})});return this}};n.fn[g]=function(){var t,r;r=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(d[r]){return d[r].apply(this,t)}else if(n.isFunction(r)){return d.init.apply(this,arguments)}else if(n.isPlainObject(r)){return d.init.apply(this,[null,r])}else if(!r){return n.error("jQuery Waypoints needs a callback function or handler option.")}else{return n.error("The "+r+" method does not exist in jQuery Waypoints.")}};n.fn[g].defaults={context:r,continuous:true,enabled:true,horizontal:false,offset:0,triggerOnce:false};h={refresh:function(){return n.each(a,function(t,e){return e.refresh()})},viewportHeight:function(){var t;return(t=r.innerHeight)!=null?t:i.height()},aggregate:function(t){var e,r,i;e=s;if(t){e=(i=a[n(t).data(u)])!=null?i.waypoints:void 0}if(!e){return[]}r={horizontal:[],vertical:[]};n.each(r,function(t,i){n.each(e[t],function(t,e){return i.push(e)});i.sort(function(t,e){return t.offset-e.offset});r[t]=n.map(i,function(t){return t.element});return r[t]=n.unique(r[t])});return r},above:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset<=t.oldScroll.y})},below:function(t){if(t==null){t=r}return h._filter(t,"vertical",function(t,e){return e.offset>t.oldScroll.y})},left:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset<=t.oldScroll.x})},right:function(t){if(t==null){t=r}return h._filter(t,"horizontal",function(t,e){return e.offset>t.oldScroll.x})},enable:function(){return h._invoke("enable")},disable:function(){return h._invoke("disable")},destroy:function(){return h._invoke("destroy")},extendFn:function(t,e){return d[t]=e},_invoke:function(t){var e;e=n.extend({},s.vertical,s.horizontal);return n.each(e,function(e,n){n[t]();return true})},_filter:function(t,e,r){var i,o;i=a[n(t).data(u)];if(!i){return[]}o=[];n.each(i.waypoints[e],function(t,e){if(r(i,e)){return o.push(e)}});o.sort(function(t,e){return t.offset-e.offset});return n.map(o,function(t){return t.element})}};n[m]=function(){var t,n;n=arguments[0],t=2<=arguments.length?e.call(arguments,1):[];if(h[n]){return h[n].apply(null,t)}else{return h.aggregate.call(null,n)}};n[m].settings={resizeThrottle:100,scrollThrottle:30};return i.load(function(){return n[m]("refresh")})})}).call(this);
jQuery(document).ready(function(e){var s={offset:"#showHere",offsetSide:"top",classes:{clone:"banner--clone",stick:"banner--stick",unstick:"banner--unstick"}};new Headhesive(".menunav",s);e(".owl-carousel").owlCarousel({autoplay:!0,autoplayTimeout:3e3,autoplayHoverPause:!0,dots:!1,smartSpeed:800,loop:!0,margin:40,nav:!0,responsiveClass:!0,responsive:{0:{items:1},420:{items:2},600:{items:3},1200:{items:4}}}),e(window).scroll(function(){e(this).scrollTop()>100?e("#backtop").fadeIn():e("#backtop").fadeOut()}),e("#backtop").click(function(){return e("html, body").animate({scrollTop:0},"slow"),!1}),e("#mobilemenu").mmenu({position:"left",slidingSubmenus:!1,classes:"mm-slide",extensions:["theme-white"]}),e(".toggle-search").click(function(){return e(".search-block").toggleClass("open"),e(this).toggleClass("opened"),!1}),e("a.search-close").click(function(){return e(".search-block").removeClass("open"),e(".toggle-search").removeClass("opened"),!1}),e("#comments-checkbox").change(function(){e(".form-submit").css({display:"block"})})});
if(document.readyState!=='loading'){
tnp_ajax_init();
}else{
document.addEventListener("DOMContentLoaded", function (){
tnp_ajax_init();
});
}
function tnp_ajax_init(){
document.querySelectorAll('form.tnp-ajax').forEach(el=> {
el.addEventListener('submit', async function(ev){
ev.preventDefault();
ev.stopPropagation();
const response=await fetch(newsletter_data.action_url + '?action=tnp&na=sa', {
method: "POST",
body: new FormData(this)
});
this.innerHTML=await response.text();
});
});
};
(function(){
var supportsPassive=false;
try {
var opts=Object.defineProperty({}, 'passive', {
get:function(){
supportsPassive=true;
}});
window.addEventListener('testPassive', null, opts);
window.removeEventListener('testPassive', null, opts);
} catch(e){}
function init(){
var input_begin='';
var keydowns={};
var lastKeyup=null;
var lastKeydown=null;
var keypresses=[];
var modifierKeys=[];
var correctionKeys=[];
var lastMouseup=null;
var lastMousedown=null;
var mouseclicks=[];
var mousemoveTimer=null;
var lastMousemoveX=null;
var lastMousemoveY=null;
var mousemoveStart=null;
var mousemoves=[];
var touchmoveCountTimer=null;
var touchmoveCount=0;
var lastTouchEnd=null;
var lastTouchStart=null;
var touchEvents=[];
var scrollCountTimer=null;
var scrollCount=0;
var correctionKeyCodes=[ 'Backspace', 'Delete', 'ArrowUp', 'ArrowDown', 'ArrowLeft', 'ArrowRight', 'Home', 'End', 'PageUp', 'PageDown' ];
var modifierKeyCodes=[ 'Shift', 'CapsLock' ];
var forms=document.querySelectorAll('form[method=post]');
for(var i=0; i < forms.length; i++){
var form=forms[i];
var formAction=form.getAttribute('action');
if(formAction){
if(formAction.indexOf('http://')==0||formAction.indexOf('https://')==0){
if(formAction.indexOf('http://' + window.location.hostname + '/')!=0&&formAction.indexOf('https://' + window.location.hostname + '/')!=0){
continue;
}}
}
form.addEventListener('submit', function (){
var ak_bkp=prepare_timestamp_array_for_request(keypresses);
var ak_bmc=prepare_timestamp_array_for_request(mouseclicks);
var ak_bte=prepare_timestamp_array_for_request(touchEvents);
var ak_bmm=prepare_timestamp_array_for_request(mousemoves);
var input_fields={
'bib': input_begin,
'bfs': Date.now(),
'bkpc': keypresses.length,
'bkp': ak_bkp,
'bmc': ak_bmc,
'bmcc': mouseclicks.length,
'bmk': modifierKeys.join(';'),
'bck': correctionKeys.join(';'),
'bmmc': mousemoves.length,
'btmc': touchmoveCount,
'bsc': scrollCount,
'bte': ak_bte,
'btec':touchEvents.length,
'bmm':ak_bmm
};
var akismet_field_prefix='ak_';
if(this.getElementsByClassName){
var possible_akismet_containers=this.getElementsByClassName('akismet-fields-container');
for(var containerIndex=0; containerIndex < possible_akismet_containers.length; containerIndex++){
var container=possible_akismet_containers.item(containerIndex);
if(container.getAttribute('data-prefix') ){
akismet_field_prefix=container.getAttribute('data-prefix');
break;
}}
}
for(var field_name in input_fields){
var field=document.createElement('input');
field.setAttribute('type', 'hidden');
field.setAttribute('name', akismet_field_prefix + field_name);
field.setAttribute('value', input_fields[ field_name ]);
this.appendChild(field);
}}, supportsPassive ? { passive: true }:false);
form.addEventListener('keydown', function(e){
if(e.key in keydowns){
return;
}
var keydownTime=(new Date()).getTime();
keydowns[ e.key ]=[ keydownTime ];
if(! input_begin){
input_begin=keydownTime;
}
var lastKeyEvent=Math.max(lastKeydown, lastKeyup);
if(lastKeyEvent){
keydowns[ e.key ].push(keydownTime - lastKeyEvent);
}
lastKeydown=keydownTime;
}, supportsPassive ? { passive: true }:false);
form.addEventListener('keyup', function(e){
if(!(e.key in keydowns) ){
return;
}
var keyupTime=(new Date()).getTime();
if('TEXTAREA'===e.target.nodeName||'INPUT'===e.target.nodeName){
if(-1!==modifierKeyCodes.indexOf(e.key) ){
modifierKeys.push(keypresses.length - 1);
}else if(-1!==correctionKeyCodes.indexOf(e.key) ){
correctionKeys.push(keypresses.length - 1);
}else{
var keydownTime=keydowns[ e.key ][0];
var keypress=[];
keypress.push(keyupTime - keydownTime);
if(keydowns[ e.key ].length > 1){
keypress.push(keydowns[ e.key ][1]);
}
keypresses.push(keypress);
}}
delete keydowns[ e.key ];
lastKeyup=keyupTime;
}, supportsPassive ? { passive: true }:false);
form.addEventListener("focusin", function(e){
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
form.addEventListener("focusout", function(e){
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
}
document.addEventListener('mousedown', function(e){
lastMousedown=(new Date()).getTime();
}, supportsPassive ? { passive: true }:false);
document.addEventListener('mouseup', function(e){
if(! lastMousedown){
return;
}
var now=(new Date()).getTime();
var mouseclick=[];
mouseclick.push(now - lastMousedown);
if(lastMouseup){
mouseclick.push(lastMousedown - lastMouseup);
}
mouseclicks.push(mouseclick);
lastMouseup=now;
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
document.addEventListener('mousemove', function(e){
if(mousemoveTimer){
clearTimeout(mousemoveTimer);
mousemoveTimer=null;
}else{
mousemoveStart=(new Date()).getTime();
lastMousemoveX=e.offsetX;
lastMousemoveY=e.offsetY;
}
mousemoveTimer=setTimeout(function(theEvent, originalMousemoveStart){
var now=(new Date()).getTime() - 500;
var mousemove=[];
mousemove.push(now - originalMousemoveStart);
mousemove.push(Math.round(Math.sqrt(Math.pow(theEvent.offsetX - lastMousemoveX, 2) +
Math.pow(theEvent.offsetY - lastMousemoveY, 2)
)
)
);
if(mousemove[1] > 0){
mousemoves.push(mousemove);
}
mousemoveStart=null;
mousemoveTimer=null;
}, 500, e, mousemoveStart);
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchmove', function(e){
if(touchmoveCountTimer){
clearTimeout(touchmoveCountTimer);
}
touchmoveCountTimer=setTimeout(function (){
touchmoveCount++;
}, 500);
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchstart', function(e){
lastTouchStart=(new Date()).getTime();
}, supportsPassive ? { passive: true }:false);
document.addEventListener('touchend', function(e){
if(! lastTouchStart){
return;
}
var now=(new Date()).getTime();
var touchEvent=[];
touchEvent.push(now - lastTouchStart);
if(lastTouchEnd){
touchEvent.push(lastTouchStart - lastTouchEnd);
}
touchEvents.push(touchEvent);
lastTouchEnd=now;
lastKeydown=null;
lastKeyup=null;
keydowns={};}, supportsPassive ? { passive: true }:false);
document.addEventListener('scroll', function(e){
if(scrollCountTimer){
clearTimeout(scrollCountTimer);
}
scrollCountTimer=setTimeout(function (){
scrollCount++;
}, 500);
}, supportsPassive ? { passive: true }:false);
}
function prepare_timestamp_array_for_request(a, limit){
if(! limit){
limit=100;
}
var rv='';
if(a.length > 0){
var random_starting_point=Math.max(0, Math.floor(Math.random() * a.length - limit) );
for(var i=0; i < limit&&i < a.length; i++){
rv +=a[ random_starting_point + i ][0];
if(a[ random_starting_point + i ].length >=2){
rv +="," + a[ random_starting_point + i ][1];
}
rv +=";";
}}
return rv;
}
if(document.readyState!=='loading'){
init();
}else{
document.addEventListener('DOMContentLoaded', init);
}})();
!function(o){if(!document.createEvent){function e(e){return{enumerable:!0,writable:!0,configurable:!0,value:e}}var t,s,l,c,r=!0,n=!1,a="onreadystatechange",u="DOMContentLoaded",f="__IE8__"+Math.random(),d=Object.defineProperty||function(e,t,n){e[t]=n.value},i=Object.defineProperties||function(t,e){for(var n in e)if(h.call(e,n))try{d(t,n,e[n])}catch(e){o.console&&console.log(n+" failed on object:",t,e.message)}},p=Object.getOwnPropertyDescriptor,h=Object.prototype.hasOwnProperty,g=o.Element.prototype,m=o.Text.prototype,z=/^[a-z]+$/,y=/loaded|complete/,v={},w=document.createElement("div"),b=document.documentElement,Y=b.removeAttribute,G=b.setAttribute,I=(E(o.HTMLCommentElement.prototype,g,"nodeValue"),E(o.HTMLScriptElement.prototype,null,"text"),E(m,null,"nodeValue"),E(o.HTMLTitleElement.prototype,null,"text"),d(o.HTMLStyleElement.prototype,"textContent",(t=p(o.CSSStyleSheet.prototype,"cssText"),A(function(){return t.get.call(this.styleSheet)},function(e){t.set.call(this.styleSheet,e)}))),/\b\s*alpha\s*\(\s*opacity\s*=\s*(\d+)\s*\)/),O=(d(o.CSSStyleDeclaration.prototype,"opacity",{get:function(){var e=this.filter.match(I);return e?(e[1]/100).toString():""},set:function(e){var t=!(this.zoom=1);e=e<1?" alpha(opacity="+Math.round(100*e)+")":"",this.filter=this.filter.replace(I,function(){return t=!0,e}),!t&&e&&(this.filter+=e)}}),i(g,{textContent:{get:N,set:L},firstElementChild:{get:function(){for(var e=this.childNodes||[],t=0,n=e.length;t<n;t++)if(1==e[t].nodeType)return e[t]}},lastElementChild:{get:function(){for(var e=this.childNodes||[],t=e.length;t--;)if(1==e[t].nodeType)return e[t]}},oninput:{get:function(){return this._oninput||null},set:function(e){this._oninput&&(this.removeEventListener("input",this._oninput),(this._oninput=e)&&this.addEventListener("input",e))}},previousElementSibling:{get:function(){for(var e=this.previousSibling;e&&1!=e.nodeType;)e=e.previousSibling;return e}},nextElementSibling:{get:function(){for(var e=this.nextSibling;e&&1!=e.nodeType;)e=e.nextSibling;return e}},childElementCount:{get:function(){for(var e=0,t=this.childNodes||[],n=t.length;n--;e+=1==t[n].nodeType);return e}},addEventListener:e(function(e,t,n){if("function"==typeof t||"object"==typeof t){var i,r,o=this,a="on"+e,s=o[f]||d(o,f,{value:{}})[f],s=s[a]||(s[a]={}),l=s.h||(s.h=[]);if(!h.call(s,"w")){if(s.w=function(e){return e[f]||S(o,T(0,e),l,!1)},!h.call(v,a))if(z.test(e)){try{(i=document.createEventObject())[f]=!0,9!=o.nodeType&&(null==o.parentNode&&w.appendChild(o),(r=o.getAttribute(a))&&Y.call(o,a)),o.fireEvent(a,i),v[a]=!0}catch(e){for(v[a]=!1;w.hasChildNodes();)w.removeChild(w.firstChild)}null!=r&&G.call(o,a,r)}else v[a]=!1;(s.n=v[a])&&o.attachEvent(a,s.w)}j(l,t)<0&&l[n?"unshift":"push"](t),"input"===e&&o.attachEvent("onkeyup",W)}}),dispatchEvent:e(function(e){var t=this,n="on"+e.type,i=t[f],i=i&&i[n],r=!!i;return e.target||(e.target=t),r?i.n?t.fireEvent(n,e):S(t,e,i.h,!0):(r=t.parentNode)&&r.dispatchEvent(e),!e.defaultPrevented}),removeEventListener:e(function(e,t,n){var i;"function"!=typeof t&&"object"!=typeof t||-1<(i=(e=(i=(i=this[f])&&i["on"+e])&&i.h)?j(e,t):-1)&&e.splice(i,1)})}),i(m,{addEventListener:e(g.addEventListener),dispatchEvent:e(g.dispatchEvent),removeEventListener:e(g.removeEventListener)}),i(o.XMLHttpRequest.prototype,{addEventListener:e(function(t,e,n){var i=this,r="on"+t,o=i[f]||d(i,f,{value:{}})[f],o=o[r]||(o[r]={}),o=o.h||(o.h=[]);j(o,e)<0&&(i[r]||(i[r]=function(){var e=document.createEvent("Event");e.initEvent(t,!0,!0),i.dispatchEvent(e)}),o[n?"unshift":"push"](e))}),dispatchEvent:e(function(e){var t="on"+e.type,n=this[f],n=n&&n[t];return!!n&&(n.n?this.fireEvent(t,e):S(this,e,n.h,!0))}),removeEventListener:e(g.removeEventListener)}),p(Event.prototype,"button").get),m=(i(o.Event.prototype,{bubbles:e(!0),cancelable:e(!0),preventDefault:e(function(){this.cancelable&&(this.returnValue=!1)}),stopPropagation:e(function(){this.stoppedPropagation=!0,this.cancelBubble=!0}),stopImmediatePropagation:e(function(){this.stoppedImmediatePropagation=!0,this.stopPropagation()}),initEvent:e(function(e,t,n){this.type=e,this.bubbles=!!t,this.cancelable=!!n,this.bubbles||this.stopPropagation()}),pageX:{get:function(){return this._pageX||(this._pageX=this.clientX+o.scrollX-(b.clientLeft||0))}},pageY:{get:function(){return this._pageY||(this._pageY=this.clientY+o.scrollY-(b.clientTop||0))}},which:{get:function(){return this.keyCode||(isNaN(this.button)?void 0:this.button+1)}},charCode:{get:function(){return this.keyCode&&"keypress"==this.type?this.keyCode:0}},buttons:{get:function(){return O.call(this)}},button:{get:function(){var e=this.buttons;return 1&e?0:2&e?2:4&e?1:void 0}},defaultPrevented:{get:function(){var e=this.returnValue;return!(void 0===e||e)}},relatedTarget:{get:function(){var e=this.type;return"mouseover"===e?this.fromElement:"mouseout"===e?this.toElement:null}}}),i(o.HTMLDocument.prototype,{defaultView:{get:function(){return this.parentWindow}},textContent:{get:function(){return 11===this.nodeType?N.call(this):null},set:function(e){11===this.nodeType&&L.call(this,e)}},addEventListener:e(function(e,t,n){var i=this;g.addEventListener.call(i,e,t,n),r&&e===u&&!y.test(i.readyState)&&(r=!1,i.attachEvent(a,x),o==top&&function t(e){try{i.documentElement.doScroll("left"),x()}catch(e){setTimeout(t,50)}}())}),dispatchEvent:e(g.dispatchEvent),removeEventListener:e(g.removeEventListener),createEvent:e(function(e){if("Event"!==e)throw new Error("unsupported "+e);return(e=document.createEventObject()).timeStamp=(new Date).getTime(),e})}),i(o.Window.prototype,{getComputedStyle:e((s=/^(?:[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|))(?!px)[a-z%]+$/,l=/^(top|right|bottom|left)$/,c=/\-([a-z])/g,Z.prototype.getPropertyValue=function(e){var t,n,i,r=this._,o=r.style,a=r.currentStyle,r=r.runtimeStyle;return"opacity"==e?o.opacity||"1":(t=(a||o)[e=("float"===e?"style-float":e).replace(c,R)],s.test(t)&&!l.test(e)&&(n=o.left,(i=r&&r.left)&&(r.left=a.left),o.left="fontSize"===e?"1em":t,t=o.pixelLeft+"px",o.left=n,i&&(r.left=i)),null==t?t:t+""||"auto")},J.prototype.getPropertyValue=function(){return null},function(e,t){return t?new J:new Z(e)})),addEventListener:e(function(e,t,n){var i,r=o,e="on"+e;r[e]||(r[e]=function(e){return S(r,T(0,e),i,!1)&&void 0}),j(i=r[e][f]||(r[e][f]=[]),t)<0&&i[n?"unshift":"push"](t)}),dispatchEvent:e(function(e){var t=o["on"+e.type];return!t||!1!==t.call(o,e)&&!e.defaultPrevented}),removeEventListener:e(function(e,t,n){e=(o["on"+e]||Object)[f],t=e?j(e,t):-1;-1<t&&e.splice(t,1)}),pageXOffset:{get:D("scrollLeft")},pageYOffset:{get:D("scrollTop")},scrollX:{get:D("scrollLeft")},scrollY:{get:D("scrollTop")},innerWidth:{get:D("clientWidth")},innerHeight:{get:D("clientHeight")}}),o.HTMLElement=o.Element,document.styleSheets),C=["header","nav","section","article","aside","footer"],M=void 0;for(M=0;M<C.length;M++)document.createElement(C[M]);m.length||document.createStyleSheet(""),m[0].addRule(C.join(","),"display:block;"),document.createRange||(document.createRange=function(){return new P},(i=P.prototype).cloneContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),t=k(this._start,this._end),n=0,i=t.length;n<i;n++)e.appendChild(t[n].cloneNode(!0));return e},i.cloneRange=function(){var e=new P;return e._start=this._start,e._end=this._end,e},i.deleteContents=function(){for(var e=this._start.parentNode,t=k(this._start,this._end),n=0,i=t.length;n<i;n++)e.removeChild(t[n])},i.extractContents=function(){for(var e=this._start.ownerDocument.createDocumentFragment(),t=k(this._start,this._end),n=0,i=t.length;n<i;n++)e.appendChild(t[n]);return e},i.setEndAfter=function(e){this._end=e},i.setEndBefore=function(e){this._end=e.previousSibling},i.setStartAfter=function(e){this._start=e.nextSibling},i.setStartBefore=function(e){this._start=e})}function S(e,t,n,i){for(var r,o=n.slice(),a=((n=t).currentTarget=e,n.eventPhase=n.target===n.currentTarget?2:3,n),s=0,l=o.length;s<l&&("object"==typeof(r=o[s])?"function"==typeof r.handleEvent&&r.handleEvent(a):r.call(e,a),!a.stoppedImmediatePropagation);s++);return t=!a.stoppedPropagation,i&&t&&e.parentNode?e.parentNode.dispatchEvent(a):!a.defaultPrevented}function A(e,t){return{configurable:!0,get:e,set:t}}function E(e,t,n){var i=p(t||e,n);d(e,"textContent",A(function(){return i.get.call(this)},function(e){i.set.call(this,e)}))}function j(e,t){for(var n=e.length;n--&&e[n]!==t;);return n}function N(){if("BR"===this.tagName)return"\n";for(var e=this.firstChild,t=[];e;)8!==e.nodeType&&7!==e.nodeType&&t.push(e.textContent),e=e.nextSibling;return t.join("")}function W(e){var t=document.createEvent("Event");t.initEvent("input",!0,!0),(e.srcElement||e.fromElement||document).dispatchEvent(t)}function x(e){!n&&y.test(document.readyState)&&(n=!n,document.detachEvent(a,x),(e=document.createEvent("Event")).initEvent(u,!0,!0),document.dispatchEvent(e))}function D(e){return function(){return b[e]||document.body&&document.body[e]||0}}function L(e){for(var t;t=this.lastChild;)this.removeChild(t);null!=e&&this.appendChild(document.createTextNode(e))}function T(e,t){return(t=t||o.event).target||(t.target=t.srcElement||t.fromElement||document),t.timeStamp||(t.timeStamp=(new Date).getTime()),t}function R(e,t){return t.toUpperCase()}function Z(e){this._=e}function J(){}function k(e,t){for(var n=[e];e!==t;)n.push(e=e.nextSibling);return n}function P(){}}(this.window||global),function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).flowplayer=e()}(function(){return function i(r,o,a){function s(t,e){if(!o[t]){if(!r[t]){var n="function"==typeof require&&require;if(!e&&n)return n(t,!0);if(l)return l(t,!0);throw(e=new Error("Cannot find module '"+t+"'")).code="MODULE_NOT_FOUND",e}n=o[t]={exports:{}},r[t][0].call(n.exports,function(e){return s(r[t][1][e]||e)},n,n.exports,i,r,o,a)}return o[t].exports}for(var l="function"==typeof require&&require,e=0;e<a.length;e++)s(a[e]);return s}({1:[function(e,t,n){"use strict";var o=t.exports={},i=e("class-list"),a=window.jQuery,r=e("punycode"),s=e("computed-style");function l(e){return e.replace(/-[a-z]/g,function(e){return e[1].toUpperCase()})}o.noop=function(){},o.identity=function(e){return e},o.removeNode=function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},o.find=function(e,t){return a?a(e,t).toArray():(t=t||document,Array.prototype.map.call(t.querySelectorAll(e),function(e){return e}))},o.text=function(e,t){e["innerText"in e?"innerText":"textContent"]=t},o.findDirect=function(e,t){return o.find(e,t).filter(function(e){return e.parentNode===t})},o.hasClass=function(e,t){return"string"==typeof e.className&&i(e).contains(t)},o.isSameDomain=function(e){var t=window.location,e=o.createElement("a",{href:e});return t.hostname===e.hostname&&t.protocol===e.protocol&&t.port===e.port},o.css=function(t,n,e){return"object"==typeof n?Object.keys(n).forEach(function(e){o.css(t,e,n[e])}):void 0!==e?""===e?t?t.style.removeProperty(n):void 0:t?t.style.setProperty(n,e):void 0:t?s(t,n):void 0},o.createElement=function(t,n,i){try{var e,r=document.createElement(t);for(e in n)n.hasOwnProperty(e)&&("css"===e?o.css(r,n[e]):o.attr(r,e,n[e]));return i&&(r.innerHTML=i),r}catch(e){if(a)return a("<"+t+">"+i+"</"+t+">").attr(n)[0];throw e}},o.toggleClass=function(e,t,n){e&&(e=i(e),void 0===n?e.toggle(t):n?e.add(t):e.remove(t))},o.addClass=function(e,t){return o.toggleClass(e,t,!0)},o.removeClass=function(e,t){return o.toggleClass(e,t,!1)},o.append=function(e,t){return e.appendChild(t),e},o.appendTo=function(e,t){return o.append(t,e),e},o.prepend=function(e,t){e.insertBefore(t,e.firstChild)},o.insertAfter=function(e,t,n){t==o.lastChild(e)&&e.appendChild(n);t=Array.prototype.indexOf.call(e.children,t);e.insertBefore(n,e.children[t+1])},o.html=function(e,t){(e=e.length?e:[e]).forEach(function(e){e.innerHTML=t})},o.attr=function(t,n,i){if(o.hasOwnOrPrototypeProperty(t,n="class"===n?"className":n))try{t[n]=i}catch(e){if(!a)throw e;a(t).attr(n,i)}else!1===i?t.removeAttribute(n):t.setAttribute(n,i);return t},o.prop=function(e,t,n){if(void 0===n)return e&&e[t];e[t]=n},o.offset=function(e){var t=e.getBoundingClientRect();return t=e.offsetWidth/e.offsetHeight>e.clientWidth/e.clientHeight?{left:100*t.left,right:100*t.right,top:100*t.top,bottom:100*t.bottom,width:100*t.width,height:100*t.height}:t},o.width=function(e,t){if(t)return e.style.width=(""+t).replace(/px$/,"")+"px";t=o.offset(e).width;return void 0===t?e.offsetWidth:t},o.height=function(e,t){if(t)return e.style.height=(""+t).replace(/px$/,"")+"px";t=o.offset(e).height;return void 0===t?e.offsetHeight:t},o.lastChild=function(e){return e.children[e.children.length-1]},o.hasParent=function(e,t){for(var n=e.parentElement;n;){if("string"!=typeof t){if(n===t)return!0}else if(o.matches(n,t))return!0;n=n.parentElement}return!1},o.createAbsoluteUrl=function(e){return o.createElement("a",{href:e}).href},o.xhrGet=function(e,t,n){var i=new XMLHttpRequest;i.onreadystatechange=function(){if(4===this.readyState)return 400<=this.status?n():void t(this.responseText)},i.open("get",e,!0),i.send()},o.pick=function(t,e){var n={};return e.forEach(function(e){t.hasOwnProperty(e)&&(n[e]=t[e])}),n},o.hostname=function(e){return r.toUnicode(e||window.location.hostname)},o.browser={webkit:"WebkitAppearance"in document.documentElement.style},o.getPrototype=function(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.__proto__},o.hasOwnOrPrototypeProperty=function(e,t){for(var n=e;n;){if(Object.prototype.hasOwnProperty.call(n,t))return!0;n=o.getPrototype(n)}return!1},o.matches=function(e,t){var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=0;t[n]&&t[n]!==this;)n++;return!!t[n]}).call(e,t)},void 0!==(t=window.CSSStyleDeclaration.prototype).setAttribute&&(t.setProperty=function(e,t){return this.setAttribute(l(e),String(t))},t.getPropertyValue=function(e){return this.getAttribute(l(e))||null},t.removeProperty=function(e){var t=this.getPropertyValue(e);return this.removeAttribute(l(e)),t})},{"class-list":36,"computed-style":37,punycode:43}],2:[function(e,t,n){"use strict";var l=e("../common");t.exports=function(e,t,n,i){n=n||"opaque";var r="obj"+(""+Math.random()).slice(2,15),o='<object class="fp-engine" id="'+r+'" name="'+r+'" ',a=-1<navigator.userAgent.indexOf("MSIE"),s=(o+=a?'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000">':' data="'+e+'" type="application/x-shockwave-flash">',{width:"100%",height:"100%",allowscriptaccess:"always",wmode:n,quality:"high",flashvars:"",movie:e+(a?"?"+r:""),name:r}),e=("transparent"!==n&&(s.bgcolor=i||"#333333"),Object.keys(t).forEach(function(e){s.flashvars+=e+"="+t[e]+"&"}),Object.keys(s).forEach(function(e){o+='<param name="'+e+'" value="'+s[e]+'"/>'}),o+="</object>",l.createElement("div",{},o));return l.find("object",e)},window.attachEvent&&window.attachEvent("onbeforeunload",function(){window.__flash_savedUnloadHandler=window.__flash_unloadHandler=function(){}})},{"../common":1}],3:[function(e,t,n){"use strict";var i,b=e("../flowplayer"),I=e("../common"),C=e("./embed"),M=e("extend-object"),S=e("bean");function A(e){return/^https?:/.test(e)}(i=function(u,f){var d,p,h,g,m=u.conf,y=[],v={engineName:i.engineName,pick:function(i){var e=M({},function(){if(b.support.flashVideo){for(var e,t,n=0;n<i.length;n++)if(t=i[n],/mp4|flv|flash/i.test(t.type)&&(e=t),(e=u.conf.swfHls&&/mpegurl/i.test(t.type)?t:e)&&!/mp4/i.test(e.type))return e;return e}}());if(e)return!e.src||A(e.src)||u.conf.rtmp||e.rtmp||(e.src=I.createAbsoluteUrl(e.src)),e},suspendEngine:function(){g=!0},resumeEngine:function(){g=!1},load:function(n){function e(e){return e.replace(/&amp;/g,"%26").replace(/&/g,"%26").replace(/=/g,"%3D")}d=n,y.forEach(function(e){clearTimeout(e)});function t(){I.removeNode(a)}var i,r,o,a=I.findDirect("video",f)[0]||I.find(".fp-player > video",f)[0],s=n.src,l=A(s),c=(b.support.video&&I.prop(a,"autoplay")&&n.sources.some(function(e){return!!a.canPlayType(e.type)})?S.one(a,"timeupdate",t):t(),n.rtmp||m.rtmp);l||c||(s=I.createAbsoluteUrl(s)),h&&w(n)&&h.data!==I.createAbsoluteUrl(m.swfHls)&&v.unload(),h?(["live","preload","loop"].forEach(function(e){n.hasOwnProperty(e)&&h.__set(e,n[e])}),Object.keys(n.flashls||{}).forEach(function(e){h.__set("hls_"+e,n.flashls[e])}),r=!1,!l&&c?h.__set("rtmp",c.url||c):(r=!!h.__get("rtmp"),h.__set("rtmp",null)),h.__play(s,r||n.rtmp&&n.rtmp!==m.rtmp)):(p="fpCallback"+(""+Math.random()).slice(3,15),s=e(s),i={hostname:m.embedded?I.hostname(m.hostname):I.hostname(location.hostname),url:s,callback:p},f.getAttribute("data-origin")&&(i.origin=f.getAttribute("data-origin")),["proxy","key","autoplay","preload","subscribe","live","loop","debug","splash","poster","rtmpt"].forEach(function(e){m.hasOwnProperty(e)&&(i[e]=m[e]),n.hasOwnProperty(e)&&(i[e]=n[e]),(m.rtmp||{}).hasOwnProperty(e)&&(i[e]=(m.rtmp||{})[e]),(n.rtmp||{}).hasOwnProperty(e)&&(i[e]=(n.rtmp||{})[e])}),m.splash&&(i.autoplay=!0),m.rtmp&&(i.rtmp=m.rtmp.url||m.rtmp),n.rtmp&&(i.rtmp=n.rtmp.url||n.rtmp),Object.keys(n.flashls||{}).forEach(function(e){var t=n.flashls[e];i["hls_"+e]=t}),void 0!==(c=(void 0!==n.hlsQualities?n:m).hlsQualities)&&(i.hlsQualities=c&&encodeURIComponent(JSON.stringify(c))),void 0!==m.bufferTime&&(i.bufferTime=m.bufferTime),void 0!==m.bufferTimeMax&&(i.bufferTimeMax=m.bufferTimeMax),l&&delete i.rtmp,i.rtmp&&(i.rtmp=e(i.rtmp)),0===(r=m.bgcolor||I.css(f,"background-color")||"").indexOf("rgb")?o=function(e){function t(e){return("0"+parseInt(e).toString(16)).slice(-2)}if(e=e.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/))return"#"+t(e[1])+t(e[2])+t(e[3])}(r):0===r.indexOf("#")&&(o=7===(s=r).length?s:"#"+s.split("").slice(1).map(function(e){return e+e}).join("")),i.initialVolume=u.volumeLevel,c=w(n)?m.swfHls:m.swf,h=C(c,i,m.wmode,o)[0],l=I.find(".fp-player",f)[0],I.prepend(l,h),u.off("quality.flashengine").on("quality.flashengine",function(e,t,n){if((void 0!==u.video.hlsQualities?u.video:u.conf).hlsQualities)try{h.__quality(n)}catch(e){u.debug("Error changing quality in flash engine",e)}}),setTimeout(function(){try{if(!h.PercentLoaded())return u.trigger("error",[u,{code:7,url:m.swf}])}catch(e){}},5e3),y.push(setTimeout(function(){void 0===h.PercentLoaded&&u.trigger("flashdisabled",[u])},15e3)),y.push(setTimeout(function(){void 0===h.PercentLoaded&&u.trigger("flashdisabled",[u,!1])},500)),u.off("resume.flashhack").on("resume.flashhack",function(){var e=setTimeout(function(){var e=h.__status().time,t=setTimeout(function(){u.playing&&!u.loading&&h.__status().time===e&&u.trigger("flashdisabled",[u])},400);y.push(t),u.one("seek.flashhack pause.flashhack load.flashack",function(){clearTimeout(t)})},800);y.push(e),u.one("progress",function(){clearTimeout(e)})}),h.pollInterval=setInterval(function(){var e;h&&!g&&(e=h.__status?h.__status():null)&&((u.conf.live||u.live||n.live)&&(n.seekOffset=e.seekOffset,n.duration=e.duration+e.seekOffset),u.playing&&e.time&&e.time!==u.video.time&&u.trigger("progress",[u,e.time]),n.buffer=e.buffer/n.bytes*n.duration,u.trigger("buffer",[u,n.buffer]),!n.buffered&&0<e.time&&(n.buffered=!0,u.trigger("buffered",[u])))},250),window[p]=function(e,t){var n=d,i=(m.debug&&(0===e.indexOf("debug")&&t&&t.length?console.log.apply(console,["-- "+e].concat(t)):console.log("--",e,t)),{type:e});switch(e){case"ready":t=M(n,t);break;case"click":i.flash=!0;break;case"keydown":i.which=t;break;case"seek":n.time=t;break;case"status":u.trigger("progress",[u,t.time]),t.buffer<n.bytes&&!n.buffered?(n.buffer=t.buffer/n.bytes*n.duration,u.trigger("buffer",n.buffer)):n.buffered||(n.buffered=!0,u.trigger("buffered"));break;case"metadata":var r=atob(t);t={key:r.substr(10,4),data:r.substr(21)}}"click"===e||"keydown"===e?(i.target=f,S.fire(f,e,[i])):"buffered"!=e&&"unload"!==e?setTimeout(function(){u.trigger(i,[u,t])},1):"unload"===e&&u.trigger(i,[u,t])})},speed:I.noop,unload:function(){h&&h.__unload&&h.__unload();try{p&&window[p]&&delete window[p]}catch(e){}I.find("object",f).forEach(I.removeNode),h=0,u.off(".flashengine"),u.off(".flashhack"),clearInterval(h.pollInterval),y.forEach(function(e){clearTimeout(e)})}};function w(e){return/application\/x-mpegurl/i.test(e.type)}return["pause","resume","seek","volume"].forEach(function(t){v[t]=function(e){try{u.ready&&(void 0===e?h["__"+t]():h["__"+t](e))}catch(e){if(void 0===h["__"+t])return u.trigger("flashdisabled",[u]);throw e}}}),v}).engineName="flash",i.canPlay=function(e,t){return b.support.flashVideo&&/video\/(mp4|flash|flv)/i.test(e)||b.support.flashVideo&&t.swfHls&&/mpegurl/i.test(e)},b.engines.push(i)},{"../common":1,"../flowplayer":31,"./embed":2,bean:34,"extend-object":39}],4:[function(e,t,n){"use strict";var p,h=e("../flowplayer"),i=h.support,g=h.common,m=h.bean,r=e("./html5-factory");function s(e){return void 0!==window.Hls&&(/mpegurl/.test(e)&&window.Hls.isSupported())}(p=function(u,o){var f,d,a=window.Hls;return r("hlsjs-lite",u,o,s,function(s,l,e){function i(e){if(u.debug("hlsjs - recovery"),g.removeClass(o,"is-paused"),g.addClass(o,"is-seeking"),m.one(l,"seeked",function(){l.paused&&(g.removeClass(o,"is-poster"),u.poster=!1,l.play()),g.removeClass(o,"is-seeking")}),e)return c.startLoad();e=performance.now(),!t||3e3<e-t?(t=performance.now(),c.recoverMediaError()):(!n||3e3<e-n)&&(n=performance.now(),c.swapAudioCodec(),c.recoverMediaError())}var t,n,r=h.extend({recoverMediaError:!0},u.conf.hlsjs,s.hlsjs),c=(u.engine.hls&&u.engine.hls.destroy(),u.engine.hls=new a(r));return p.extensions.forEach(function(e){e({hls:c,player:u,root:o,videoTag:l})}),c.loadSource(s.src),e.resume=function(){u.live&&!u.dvr&&(l.currentTime=c.liveSyncPosition||0),l.play()},!(e.seek=function(t){try{u.live||u.dvr?l.currentTime=Math.min(t,c.liveSyncPosition||l.duration-r.livePositionOffset):l.currentTime=t}catch(e){u.debug("Failed to seek to ",t,e)}})===r.bufferWhilePaused&&u.on("pause",function(){c.stopLoad(),u.one("resume",function(){c.startLoad()})}),u.on("quality",function(e,t,n){c.nextLevel=f=n}),c.on(a.Events.MANIFEST_PARSED,function(e,t){var i,r=s.hlsQualities||u.conf.hlsQualities,o={},n=t.levels;if(!1===r)return c.attachMedia(l);if("drive"===r)switch(n.length){case 4:i=[1,2,3];break;case 5:i=[1,2,3,4];break;case 6:i=[1,3,4,5];break;case 7:i=[1,3,5,6];break;case 8:i=[1,3,6,7];break;default:i=n.length<3||n[0].height&&n[2].height&&n[0].height===n[2].height?[]:[1,2]}s.qualities=[{value:-1,label:"Auto"}],Array.isArray(r)&&((t=r.find(function(e){return-1===e||e.level&&-1===e.level}))?s.qualities[0].label=("number"!=typeof t?t:s.qualities[0]).label:s.qualities=[],i=r.map(function(e){return void 0!==e.level&&(o[e.level]=e.label),void 0!==e.level?e.level:e}));var a=-2,t=(s.qualities=s.qualities.concat(n.map(function(e,t){if(i&&-1===i.indexOf(t))return!1;var n=o[t]||Math.min(e.width,e.height)+"p";return o[t]||"drive"===r||(n+=" ("+Math.round(e.bitrate/1e3)+"k)"),t===f&&(a=t),{value:t,label:n,width:e.width,height:e.height}})).filter(g.identity),u.one("ready",function(){1<s.qualities.length&&(s.width=s.qualities[s.qualities.length-1].width,s.height=s.qualities[s.qualities.length-1].height)}),s.quality=-2===a?s.qualities[0].value||-1:a);t!==c.currentLevel&&(c.currentLevel=t),c.attachMedia(l),d&&s.src!==d&&l.play(),d=s.src}),c.on(a.Events.ERROR,function(e,t){var n;t.fatal&&(r.recoverNetworkError&&t.type===a.ErrorTypes.NETWORK_ERROR?i(!0):r.recoverMediaError&&t.type===a.ErrorTypes.MEDIA_ERROR?i(!1):(n=5,t.type===a.ErrorTypes.NETWORK_ERROR&&(n=2),t.type===a.ErrorTypes.MEDIA_ERROR&&(n=3),c.destroy(),u.trigger("error",[u,{code:n}])))}),u.one("unload",function(){c.destroy()}),{handlers:{error:function(e,t){t=t.error&&t.error.code;return r.recoverMediaError&&3===t||!t?(e.preventDefault(),i(!1),!0):r.recoverNetworkError&&2===t?(e.preventDefault(),i(!0),!0):void 0}}}})}).canPlay=function(e,t){return!(!1===t.hlsjs||t.clip&&!1===t.clip.hlsjs)&&(!(i.browser.safari&&!(t.clip&&t.clip.hlsjs||t.hlsjs||{}).safari)&&(h.support.video&&s(e)))},p.engineName="hlsjs-lite",p.plugin=function(e){p.extensions.push(e)},p.extensions=[],h.engines.push(p)},{"../flowplayer":31,"./html5-factory":5}],5:[function(e,t,n){var e=e("../flowplayer"),h=e.common,g=e.support,m=e.bean,y=e.extend,i=g.browser.safari&&!g.iOS,v={ended:"finish",pause:"pause",play:"resume",timeupdate:"progress",volumechange:"volume",ratechange:"speed",seeked:"seek",loadedmetadata:i?0:"ready",canplaythrough:i?"ready":0,durationchange:"ready",error:"error",dataunavailable:"error",webkitendfullscreen:!e.support.inlineVideo&&"unload",progress:"buffer"};function w(e,t){return t=t||100,Math.round(e*t)/t}t.exports=function(e,d,p,a,s){var t,l,c,u=h.findDirect("video",p)[0]||h.find(".fp-player > video",p)[0],f=d.conf;return c={engineName:e,pick:function(e){e=g.video&&e.filter(function(e){return a(e.type)})[0];if(e)return"string"==typeof e.src&&(e.src=h.createAbsoluteUrl(e.src)),e},load:function(e){var t,n,i,r=h.find(".fp-player",p)[0],o=!1,r=(u||(u=document.createElement("video"),h.prepend(r,u),u.autoplay=!!f.splash,o=!0),h.addClass(u,"fp-engine"),h.find("track",u).forEach(h.removeNode),u.preload="none",f.nativesubtitles||h.attr(u,"crossorigin",!1),f.disableInline||(u.setAttribute("webkit-playsinline","true"),u.setAttribute("playsinline","true")),g.inlineVideo||h.css(u,{position:"absolute",top:"-9999em"}),g.subtitles&&f.nativesubtitles&&e.subtitles&&e.subtitles.length&&(h.addClass(u,"native-subtitles"),r=e.subtitles,t=function(e){var t=u.textTracks;t.length&&(t[0].mode=e)},(!g.iOS||parseInt(g.iOS.version)<18)&&r.some(function(e){return!h.isSameDomain(e.src)})&&h.attr(u,"crossorigin","anonymous"),"function"==typeof u.textTracks.addEventListener&&u.textTracks.addEventListener("addtrack",function(){t("disabled"),t("showing")}),r.forEach(function(e){u.appendChild(h.createElement("track",{kind:"subtitles",srclang:e.srclang||"en",label:e.label||"en",src:e.src,default:e.default}))})),m.off(u,"timeupdate",h.noop),m.on(u,"timeupdate",h.noop),h.prop(u,"loop",!1),d.off(".loophack"),(e.loop||f.loop)&&d.on("finish.loophack",function(){d.resume()}),void 0!==l&&(u.volume=l),s(e,u,c));(f.autoplay||f.splash||e.autoplay)&&(d.debug("Autoplay / Splash setup, try to start video"),u.load(),n=function(){try{var t,e=u.play();e&&e.catch&&(t=function(e){if("AbortError"===e.name&&20===e.code)return o?void 0:u.play().catch(t);if(f.mutedAutoplay)return d.debug("Play errored, trying muted",e),d.mute(!0,!0),u.play();throw new Error("Unable to autoplay")},e.catch(t).catch(function(){f.autoplay=!1,d.mute(!1,!0),d.trigger("stop",[d])}))}catch(e){d.debug("play() error thrown",e)}},0<u.readyState?n():m.one(u,"canplay",n)),c._listeners=function(l,e,c,u){var t,n,f=p.getAttribute("data-flowplayer-instance-id");{if(!l.listeners||!l.listeners.hasOwnProperty(f))return(l.listeners||(l.listeners={}))[f]=c,m.on(e,"error",function(e){try{a(e.target.getAttribute("type"))&&d.trigger("error",[d,{code:4,video:y(c,{src:l.src,url:l.src})}])}catch(e){}}),d.on("shutdown",function(){m.off(e),m.off(l,".dvrhack"),d.off(".loophack")}),t={},n=function(e){"metadata"===e.kind&&(e.mode="hidden",e.addEventListener("cuechange",function(){e.activeCues.length&&d.trigger("metadata",[d,e.activeCues[0].value])},!1))},l&&l.textTracks&&l.textTracks.length&&Array.prototype.forEach.call(l.textTracks,n),l&&l.textTracks&&"function"==typeof l.textTracks.addEventListener&&l.textTracks.addEventListener("addtrack",function(e){n(e.track)},!1),(d.conf.dvr||d.dvr||c.dvr)&&m.on(l,"progress.dvrhack",function(){l.seekable.length&&(d.video.duration=l.seekable.end(null),d.video.seekOffset=l.seekable.start(null),d.trigger("dvrwindow",[d,{start:l.seekable.start(null),end:l.seekable.end(null)}]),l.currentTime>=l.seekable.start(null)||(l.currentTime=l.seekable.start(null)))}),Object.keys(v).forEach(function(a){var e,s=v[a];(s="webkitendfullscreen"===a&&d.conf.disableInline?"unload":s)&&(p.addEventListener(a,e=function(e){if(c=l.listeners[f],e.target&&h.hasClass(e.target,"fp-engine")){/progress/.test(s)||d.debug(a,"->",s,e);function t(e){d.trigger(e||s,[d,r])}var n,i,r;if((d.ready||/ready|error/.test(s))&&s&&h.find("video",p).length)if("unload"===s)d.unload();else{switch(s){case"ready":if(d.ready&&(d.live||d.dvr)&&(d.video.duration=l.duration),d.ready)return d.debug("Player already ready, not sending duplicate ready event");if(!(l.duration&&l.duration!==1/0||d.live))return d.debug("No duration and VOD setup, not sending ready event");if((r=y(c,{duration:l.duration<Number.MAX_VALUE?l.duration:0,width:l.videoWidth,height:l.videoHeight,url:l.currentSrc})).seekable=r.duration,d.debug("Ready: ",r),d.live||r.duration||g.hlsDuration||"loadeddata"!==a)break;return l.addEventListener("durationchange",n=function(){r.duration=l.duration;try{r.seekable=l.seekable&&l.seekable.end(null)}catch(e){}t(),l.removeEventListener("durationchange",n),h.toggleClass(p,"is-live",!1)}),void l.addEventListener("timeupdate",i=function(){d.ready||l.duration||(r.duration=0,h.addClass(p,"is-live"),t()),l.removeEventListener("timeupdate",i)});case"progress":case"seek":if(0<l.currentTime||d.live)r=Math.max(l.currentTime,0);else if("seek"===s&&0===l.currentTime)r=0;else if("progress"==s)return;break;case"buffer":r=[];for(var o=0;o<l.buffered.length;o++)r.push({start:l.buffered.start(o),end:l.buffered.end(o)});l.buffered.length&&l.buffered.end(null)===l.duration&&t("buffered");break;case"speed":r=w(l.playbackRate);break;case"volume":r=w(l.muted?0:l.volume);break;case"error":try{if(u&&u.handlers&&u.handlers.error)if(u.handlers.error(e,l))return;(r=(e.srcElement||e.originalTarget).error).video=y(c,{src:l.src,url:l.src})}catch(e){return}}t()}else"resume"===s&&d.one("ready",function(){setTimeout(function(){t()})})}},!0),t[a]||(t[a]=[]),t[a].push(e))}),t;l.listeners[f]=c}}(u,h.find("source",u).concat(u),e,r)||c._listeners,f.autoplay||f.splash||e.autoplay||(i=function(){!function(e){e=e.getBoundingClientRect();return 0<=e.top&&0<=e.left&&e.bottom<=(window.innerHeight||document.documentElement.clientHeight)+e.height&&e.right<=(window.innerWidth||document.documentElement.clientWidth)+e.width}(p)||(d.debug("player is in viewport, preload"),g.preloadMetadata?u.preload="metadata":u.load(),m.off(document,"scroll.preloadviewport"))},m.off(document,"scroll.preloadviewport"),m.on(document,"scroll.preloadviewport",function(){window.requestAnimationFrame(i)}),i())},mute:function(e){u.muted=!!e,d.trigger("mute",[d,e]),d.trigger("volume",[d,e?0:u.volume])},pause:function(){u.pause()},resume:function(){u.play()},speed:function(e){u.playbackRate=e},seek:function(e){var t=u.paused||d.finished;try{u.currentTime=e,t&&m.one(u,"seeked",function(){u.pause()})}catch(e){}},volume:function(e){l=e,u&&(u.volume=e)&&c.mute(!1)},unload:function(){m.off(document,"scroll.preloadviewport"),h.find("video.fp-engine",p).forEach(function(e){"MediaSource"in window?e.src=URL.createObjectURL(new MediaSource):e.src="",h.removeNode(e)}),t=clearInterval(t);var e=p.getAttribute("data-flowplayer-instance-id");delete u.listeners[e],u=0,c._listeners&&Object.keys(c._listeners).forEach(function(t){c._listeners[t].forEach(function(e){p.removeEventListener(t,e,!0)})})}}}},{"../flowplayer":31}],6:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=i.common,o=e("./html5-factory"),a=document.createElement("video");function s(e){var t;return/^(video|application)/i.test(e)||(t=e,e=/mpegurl/i.test(t)?"application/x-mpegurl":t),!!a.canPlayType(e).replace("no","")}(e=function(e,t){return o("html5",e,t,s,function(e,t){t.currentSrc!==e.src?(r.find("source",t).forEach(r.removeNode),t.src=e.src,t.type=e.type):e.autoplay&&t.load()})}).canPlay=function(e){return i.support.video&&s(e)},e.engineName="html5",i.engines.push(e)},{"../flowplayer":31,"./html5-factory":5}],7:[function(e,t,n){"use strict";var r=e("../flowplayer"),o=e("../common"),a=e("bean");r(function(n,i){n.on("ready",function(){var t=o.find("video.fp-engine",i)[0];t&&(t.setAttribute("x-webkit-airplay","allow"),window.WebKitPlaybackTargetAvailabilityEvent&&(t.addEventListener("webkitplaybacktargetavailabilitychanged",function(e){var t;"available"!==e.availability&&!r.airplay_was_available||(r.airplay_was_available=!0,e=o.find(".fp-header",i)[0],o.find(".fp-airplay",e).forEach(o.removeNode),t=o.createElement("a",{class:"fp-airplay fp-icon",title:"Play on AirPlay device"}),e.insertBefore(t,o.find(".fp-fullscreen",e)[0]))}),t.addEventListener("webkitcurrentplaybacktargetiswirelesschanged",function(){var e=o.find(".fp-airplay",i)[0];e&&o.toggleClass(e,"fp-active",t.webkitCurrentPlaybackTargetIsWireless)}),n.one("progress",function(){var e=o.find(".fp-airplay",i)[0];e&&("html5"==n.engine.engineName?e.style.display="block":e.style.display="none")})))}),a.on(i,"click",".fp-airplay",function(e){e.preventDefault(),o.find("video.fp-engine",i)[0].webkitShowPlaybackTargetPicker()})})},{"../common":1,"../flowplayer":31,bean:34}],8:[function(e,t,n){"use strict";var i=e("../flowplayer"),l=e("./resolve").TYPE_RE,c=e("scriptjs"),u=e("bean");i(function(i,r){var o,a,e,t=i.conf.analytics,s=0,n=0;t&&("undefined"==typeof _gat&&c("//google-analytics.com/ga.js"),a=function(){var e=_gat._getTracker(t);return e._setAllowLinker(!0),e},i.bind("load unload",e=function(e,t,n){n=n||i.video,s&&"undefined"!=typeof _gat&&(a()._trackEvent("Video / Seconds played",i.engine.engineName+"/"+n.type,n.title||r.getAttribute("title")||n.src.split("/").slice(-1)[0].replace(l,""),Math.round(s/1e3)),s=0,o&&(clearTimeout(o),o=null))}).bind("progress",function(){i.seeking||(s+=n?+new Date-n:0,n=+new Date),o=o||setTimeout(function(){o=null,a()._trackEvent("Flowplayer heartbeat","Heartbeat","",0,!0)},6e5)}).bind("pause",function(){n=0}),i.bind("shutdown",function(){u.off(window,"unload",e)}),u.on(window,"unload",e))})},{"../flowplayer":31,"./resolve":21,bean:34,scriptjs:44}],9:[function(e,t,n){"use strict";var i=e("../flowplayer"),d=e("../common"),p=e("bean"),h=e("scriptjs");i(function(t,i){var n,r,o,a;function s(){console.log("sessionListener")}function l(e){var t,n;e===chrome.cast.ReceiverAvailability.AVAILABLE&&(e=d.find(".fp-header",i)[0])&&(d.find(".fp-chromecast",e).forEach(d.removeNode),d.find(".fp-chromecast-engine",i).forEach(d.removeNode),a=d.createElement("a",{class:"fp-chromecast fp-icon",title:"Play on Cast device"}),e.insertBefore(a,d.find(".fp-fullscreen",e)[0]),e=d.createElement("div",{class:"fp-chromecast-engine"}),t=d.createElement("p",{class:"fp-chromecast-engine-status"}),n=d.createElement("p",{class:"fp-chromecast-engine-icon"}),e.appendChild(n),e.appendChild(t),(n=d.find(".fp-engine",i)[0])?n.parentNode.insertBefore(e,n):d.prepend(d.find(".fp-player",i)[0]||i,e))}function c(){}function u(){console.log("onError")}function f(){clearInterval(o),o=null,t.release(),d.toggleClass(i,"is-chromecast",!1),d.toggleClass(a,"fp-active",!1)}!1!==t.conf.chromecast&&(h("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js"),window.__onGCastApiAvailable=function(e){e&&(e=n.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,e=new chrome.cast.SessionRequest(e),e=new chrome.cast.ApiConfig(e,s,l),chrome.cast.initialize(e,c,u))},n=t.conf.chromecast||{},p.on(i,"click",".fp-chromecast",function(e){if(e.preventDefault(),r)return t.trigger("pause",[t]),r.stop(),r=null,void f();t.playing&&t.pause(),chrome.cast.requestSession(function(e){e=(r=e).receiver.friendlyName,d.html(d.find(".fp-chromecast-engine-status")[0],"Playing on device "+e),e=new chrome.cast.media.MediaInfo(t.video.src),e=new chrome.cast.media.LoadRequest(e);r.loadMedia(e,function(n){n.addUpdateListener(function(e){r&&(o=o||setInterval(function(){t.trigger("progress",[t,n.getEstimatedTime()])},500),e?(d.toggleClass(i,"is-chromecast",!0),d.toggleClass(a,"fp-active",!0),t.hijack({pause:function(){n.pause()},resume:function(){n.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,n.seek(t)}})):(f(),t.trigger("finish",[t])),e=n.playerState,t.paused&&e===chrome.cast.media.PlayerState.PLAYING&&t.trigger("resume",[t]),t.playing&&e===chrome.cast.media.PlayerState.PAUSED&&t.trigger("pause",[t]),d.toggleClass(i,"is-loading",e===chrome.cast.media.PlayerState.BUFFERING))})},function(){})},function(e){console.error("requestSession error",e)})}))})},{"../common":1,"../flowplayer":31,bean:34,scriptjs:44}],10:[function(e,t,n){"use strict";var i=e("../flowplayer"),f=e("../common"),d=e("bean");i(function(r,o){var t=/ ?cue\d+ ?/,a=!1;function i(e){o.className=o.className.replace(t," "),0<=e&&f.addClass(o,"cue"+e)}function s(e){i(e.index),r.trigger("cuepoint",[r,e])}var l={},c=-.125;function u(e){e=e&&!isNaN(e.time)?e.time:e;return e<0&&(e=r.video.duration+e),.125*Math.round(e/.125)}r.on("progress",function(e,t,n){if(!a)for(var i=u(n);c<i;)l[c+=.125]&&l[c].forEach(s)}).on("unload",i).on("beforeseek",function(e){setTimeout(function(){e.defaultPrevented||(a=!0)})}).on("seek",function(e,t,n){i(),c=u(n||0)-.125,a=!1,!n&&l[0]&&l[0].forEach(s)}).on("ready",function(e,t,n){c=-.125;n=n.cuepoints||r.conf.cuepoints||[];r.setCuepoints(n)}).on("finish",function(){for(var e=u(r.video.duration);c<e;)l[c+=.125]&&l[c].forEach(s);c=-.125}),r.conf.generate_cuepoints&&r.bind("load",function(){f.find(".fp-cuepoint",o).forEach(f.removeNode)}),r.setCuepoints=function(e){return r.cuepoints=[],l={},e.forEach(r.addCuepoint),r},r.addCuepoint=function(e){r.cuepoints||(r.cuepoints=[]),(e="number"==typeof e?{time:e}:e).index=0;var t,n,i=u(e);return l[i]||(l[i]=[]),l[i].push(e),r.cuepoints.length&&(e.index=Math.max.apply(null,r.cuepoints.map(function(e){return e.index}))+1),r.cuepoints.push(e),r.conf.generate_cuepoints&&!1!==e.visible&&(i=r.video.duration,t=f.find(".fp-timeline",o)[0],f.css(t,"overflow","visible"),(n=e.time||e)<0&&(n=i+n),e=f.createElement("a",{className:"fp-cuepoint fp-cuepoint"+e.index}),f.css(e,"left",n/i*100+"%"),t.appendChild(e),d.on(e,"mousedown",function(e){e.preventDefault(),e.stopPropagation(),r.seek(n)})),r},r.removeCuepoint=function(t){"number"==typeof t&&(t=r.cuepoints.filter(function(e){return e.index===t})[0]);var e=r.cuepoints.indexOf(t),n=u(t);if(-1!==e){r.cuepoints=r.cuepoints.slice(0,e).concat(r.cuepoints.slice(e+1));e=f.find(".fp-timeline",o)[0],e=(f.find(".fp-cuepoint"+t.index,e).forEach(f.removeNode),l[n].indexOf(t));if(-1!==e)return l[n]=l[n].slice(0,e).concat(l[n].slice(e+1)),r}}})},{"../common":1,"../flowplayer":31,bean:34}],11:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("bean"),s=e("../common"),l=e("./util/clipboard");i(function(o,a){var e,t;!1!==o.conf.embed&&!1!==o.conf.share&&(e=s.find(".fp-share-menu",a)[0],t=s.createElement("a",{class:"fp-icon fp-embed",title:"Copy to your site"},"Embed"),s.append(e,t),o.embedCode=function(){var e=o.conf.embed||{},t=o.video,n=e.width||t.width||s.width(a),t=e.height||t.height||s.height(a),i=o.conf.ratio,r='<iframe src="'+o.shareUrl(!0)+'" allowfullscreen style="border:none;';return e.width||e.height?(isNaN(n)||(n+="px"),isNaN(t)||(t+="px"),r+"width:"+n+";height:"+t+';"></iframe>'):'<div style="position:relative;width:100%;display:inline-block;">'+r+'position:absolute;top:0;left:0;width:100%;height:100%;"></iframe><div style="padding-top:'+100*(i=i&&!o.conf.adaptiveRatio?i:t/n)+'%;"></div></div>'},r.on(a,"click",".fp-embed",function(){l(o.embedCode(),function(){o.message("The embed code is now on your clipboard",2e3)},function(){o.textarea(o.embedCode(),"Copy the code below to embed your video")})}))})},{"../common":1,"../flowplayer":31,"./util/clipboard":30,bean:34}],12:[function(e,t,n){"use strict";t.exports=function(r,a){a=a||document.createElement("div");function n(t,n,i){function r(e){i&&(a.removeEventListener(o,r),s[t].splice(s[t].indexOf(r),1)),e=[e].concat(l[e.timeStamp+e.type]||[]),n&&n.apply(void 0,e)}var o=t.split(".")[0];a.addEventListener(o,r),s[t]||(s[t]=[]),s[t].push(r)}var s={},l={};r.on=r.bind=function(e,t){return e.split(" ").forEach(function(e){n(e,t)}),r},r.one=function(e,t){return e.split(" ").forEach(function(e){n(e,t,!0)}),r};r.off=r.unbind=function(e){return e.split(" ").forEach(function(e){var i=e.split(".").slice(1),r=e.split(".")[0];Object.keys(s).filter(function(e){var t,n=e.split(".").slice(1);return(!r||0===e.indexOf(r))&&(t=n,0===i.filter(function(e){return-1===t.indexOf(e)}).length)}).forEach(function(e){var t=s[e],n=e.split(".")[0];s[e]=t.filter(function(e){return a.removeEventListener(n,e),!1})})}),r},r.trigger=function(e,t,n){var i;if(e)return t=(t||[]).length?t||[]:[t],i=document.createEvent("Event"),e=e.type||e,i.initEvent(e,!1,!0),Object.defineProperty&&(i.preventDefault=function(){Object.defineProperty(this,"defaultPrevented",{get:function(){return!0}})}),l[i.timeStamp+i.type]=t,a.dispatchEvent(i),n?i:r}},t.exports.EVENTS=["beforeseek","disable","error","finish","fullscreen","fullscreen-exit","load","mute","pause","progress","ready","resume","seek","speed","stop","unload","volume","boot","shutdown"]},{}],13:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("bean");i(function(e,t){var n,i,r=e.conf;!1!==r.share&&r.facebook&&(e.facebook=function(){var e=screen.height,t=screen.width,n="string"==typeof r.facebook?r.facebook:window.location.toString(),t=Math.round(t/2-275),i=0;420<e&&(i=Math.round(e/2-210)),window.open("https://www.facebook.com/sharer.php?s=100&p[url]="+encodeURIComponent(n),"sharer","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+t+",top="+i)},n=o.find(".fp-share-menu",t)[0],i=o.createElement("a",{class:"fp-icon fp-facebook"},"Facebook"),o.append(n,i),a.on(t,"click",".fp-facebook",function(){e.facebook()}))})},{"../common":1,"../flowplayer":31,bean:34}],14:[function(e,t,n){"use strict";var s,i=e("../flowplayer"),r=e("bean"),l=e("../common"),c="fullscreen",u="fullscreen-exit",f=i.support.fullscreen;r.on(document,"fullscreenchange.ffscr webkitfullscreenchange.ffscr mozfullscreenchange.ffscr MSFullscreenChange.ffscr",function(e){var t,n=document.webkitCurrentFullScreenElement||document.mozFullScreenElement||document.fullscreenElement||document.msFullscreenElement;(s||n.parentNode&&n.parentNode.getAttribute("data-flowplayer-instance-id"))&&(t=s||i(n.parentNode),s=n?t.trigger(c,[t]):(s.trigger(u,[s]),null))}),i(function(t,n){var i,r,o,e,a=l.createElement("div",{className:"fp-player"});Array.prototype.map.call(n.children,l.identity).forEach(function(e){l.matches(e,".fp-ratio,script")||a.appendChild(e)}),n.appendChild(a),t.conf.fullscreen&&(i=window,t.isFullscreen=!1,t.fullscreen=function(e){if(!t.disabled)return(e=void 0===e?!t.isFullscreen:e)&&(r=i.scrollY,o=i.scrollX),f?e?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof a[e]&&(a[e](Element.ALLOW_KEYBOARD_INPUT),"webkitRequestFullScreen"!==e||document.webkitFullscreenElement||a[e]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):t.trigger(e?c:u,[t]),t},t.on("mousedown.fs",function(){+new Date-e<150&&t.ready&&t.fullscreen(),e=+new Date}),t.on(c,function(){l.addClass(n,"is-fullscreen"),l.toggleClass(n,"fp-minimal-fullscreen",l.hasClass(n,"fp-minimal")),l.removeClass(n,"fp-minimal"),f||l.css(n,"position","fixed"),t.isFullscreen=!0}).on(u,function(){var e;l.toggleClass(n,"fp-minimal",l.hasClass(n,"fp-minimal-fullscreen")),l.removeClass(n,"fp-minimal-fullscreen"),f||"html5"!==t.engine||(e=n.css("opacity")||"",l.css(n,"opacity",0)),f||l.css(n,"position",""),l.removeClass(n,"is-fullscreen"),f||"html5"!==t.engine||setTimeout(function(){n.css("opacity",e)}),t.isFullscreen=!1,i.scrollTo(o,r)}).on("unload",function(){t.isFullscreen&&t.fullscreen()}),t.on("shutdown",function(){s=null,l.removeNode(a)}))})},{"../common":1,"../flowplayer":31,bean:34}],15:[function(e,t,n){"use strict";var l,c,i=e("../flowplayer"),r=e("bean"),u=e("../common");i(function(t,n){t.conf.keyboard&&(r.on(document,"keydown.fp",function(e){if(void 0!==l){var t=l,n=!!t&&c,i=t&&!t.disabled?t:0,r=e.ctrlKey||e.metaKey||e.altKey,o=e.which,a=i&&i.conf;if(!u.hasClass(n,"no-controlbar")&&!u.hasClass(n,"is-cva")&&i&&a.keyboard&&!i.disabled){if(-1!=[63,187,191].indexOf(o))return u.toggleClass(n,"is-help"),!1;if(27==o&&u.hasClass(n,"is-help"))return u.toggleClass(n,"is-help"),!1;if(!r&&i.ready)if(e.preventDefault(),e.shiftKey)39==o?i.speed(!0):37==o?i.speed(!1):78==o?i.next():80==o&&i.prev();else{if(o<58&&47<o)return i.seekTo(o-48);switch(o){case 38:case 75:i.volume(i.volumeLevel+.15);break;case 40:case 74:i.volume(i.volumeLevel-.15);break;case 39:case 76:i.seeking=!0,i.manual_seeking=!0,i.seek(t.video.time+5);break;case 37:case 72:i.seeking=!0,i.manual_seeking=!0,i.seek(t.video.time-5);break;case 190:i.seekTo();break;case 32:i.toggle();break;case 70:a.fullscreen&&i.fullscreen();break;case 77:i.mute();break;case 81:i.unload();break;case 67:if(!t.video.subtitles||0==t.video.subtitles.length)break;var s=n.querySelector(".fp-dropdown li.active[data-subtitle-index]").dataset.subtitleIndex;void 0===s&&(s=-1),++s>t.video.subtitles.length-1&&(s=-1),t.trigger("subtitles-switched",[s])}}}}}),r.on(n,"mouseenter mouseleave",function(e){(l=t.disabled||"mouseover"!=e.type?0:t)&&(c=n)}))})},{"../common":1,"../flowplayer":31,bean:34}],16:[function(e,t,n){var i=e("../flowplayer"),s=e("../common"),l=e("bean");i(function(o,a){o.showMenu=function(e,t){var n=s.find(".fp-ui",a)[0],i=(s.toggleClass(e,"fp-active",!0),setTimeout(function(){l.one(document,"click",function(){o.hideMenu(e)})}),t);if(!(i=t&&t.tagName?{left:s.offset(t).left,rightFallbackOffset:s.width(t),top:s.offset(t).top+s.height(t)}:i))return s.css(e,"top","auto");i.rightFallbackOffset=i.rightFallbackOffset||0;var t=i.top-s.offset(n).top,r=i.left-s.offset(n).left;s.width(e)+r>s.width(n)&&(r=r-s.width(e)+i.rightFallbackOffset),s.height(e)+t>s.height(n)&&(t-=s.height(e)),s.css(e,{top:t+"px",left:r+"px",right:"auto"})},o.hideMenu=function(e){s.toggleClass(e,"fp-active",!1),s.css(e,{top:"-9999em"})}})},{"../common":1,"../flowplayer":31,bean:34}],17:[function(e,t,n){var i=e("../flowplayer"),s=e("../common"),r=e("bean");i(function(e,t){var o=s.find(".fp-header",t)[0],a=s.find(".fp-ui",t)[0];e.message=function(e,t){function n(){s.toggleClass(r,"fp-shown"),setTimeout(function(){s.removeNode(r)},500)}i=s.createElement("div",{className:"fp-message"},e),a.insertBefore(i,o),setTimeout(function(){s.toggleClass(i,"fp-shown")});var i,r=i;return t&&setTimeout(n,t),n},e.textarea=function(e){var t=document.createElement("textarea");t.value=e,t.className="fp-textarea",a.appendChild(t),r.on(document,"click.fptextarea",function(e){if(e.target===t)return t.select();e.stopPropagation(),e.preventDefault(),s.removeNode(t),r.off(document,"click.fptextarea")})}})},{"../common":1,"../flowplayer":31,bean:34}],18:[function(e,t,n){"use strict";var i=e("../flowplayer"),h=/IEMobile/.test(window.navigator.userAgent),g=e("../common"),m=e("bean"),y=e("./ui").format,v=i.support,w=window.navigator.userAgent;(v.touch||h)&&i(function(n,i){var t,r,o,a,s,e=v.android,l=e&&!e.firefox,c=/Silk/.test(w),u=e.version||0,f=(l&&!h&&((!/Chrome/.test(w)&&u<4||e.samsung&&u<5)&&(t=n.load,n.load=function(){var e=t.apply(n,arguments);return g.find("video.fp-engine",i)[0].load(),n.trigger("ready",[n,n.video]),e}),o=0,a=function(e){r=setInterval(function(){e.video.time=++o,e.trigger("progress",[e,o])},1e3)},n.on("ready pause unload",function(){r&&(clearInterval(r),r=null)}),n.on("ready",function(){o=0}),n.on("resume",function(e,t){if(t.live)return o?a(t):void n.one("progress",function(e,t,n){0===n&&a(t)})})),new Audio),d=(f.volume=.5,setTimeout(function(){.5!=f.volume?(g.addClass(i,"fp-mute"),g.addClass(i,"no-volume"),v.volume=!1):v.volume=!0}),g.addClass(i,"is-touch"),n.sliders&&n.sliders.timeline&&n.sliders.timeline.disableAnimation(),!1),p=(m.on(i,"touchmove",function(){d=!0}),!0);m.on(i,"touchend click",function(e){if(d)d=!1;else{var t=g.find("video.fp-engine",i)[0];if(p&&n.conf.clickToUnMute&&t&&t.muted&&n.conf.autoplay&&(t.muted=!1),p=!1,n.playing&&!g.hasClass(i,"is-mouseover"))return g.addClass(i,"is-mouseover"),g.removeClass(i,"is-mouseout"),e.preventDefault(),void e.stopPropagation();n.playing||n.splash||!g.hasClass(i,"is-mouseout")||g.hasClass(i,"is-mouseover")||setTimeout(function(){n.disabled||n.playing||n.splash||g.find("video.fp-engine",i)[0].play()},400)}}),!v.fullscreen&&n.conf.native_fullscreen&&"function"==typeof g.createElement("video").webkitEnterFullScreen&&(s=n.fullscreen,n.fullscreen=function(){var e=g.find("video.fp-engine",i)[0];if(!e)return s.apply(n);n.trigger("fullscreen",[n]),m.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===e&&(m.off(document,".nativefullscreen"),m.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(m.off(document,".nativefullscreen"),n.trigger("fullscreen-exit",[n]))}))}),e.webkitEnterFullScreen(),m.one(e,"webkitendfullscreen",function(){m.off(document,"fullscreenchange.nativefullscreen"),n.trigger("fullscreen-exit",[n]),g.prop(e,"controls",!0),g.prop(e,"controls",!1)})}),(l||c)&&n.bind("ready",function(){var t=g.find("video.fp-engine",i)[0];t&&(n.conf.splash&&t.paused&&"hlsjs-lite"!==n.engine.engineName&&(m.one(t,"canplay",function(){t.play()}),t.load()),n.bind("progress.dur",function(){var e;n.live||n.conf.live||1!==(e=t.duration)&&(n.video.duration=e,g.find(".fp-duration",i)[0].innerHTML=y(e),n.unbind("progress.dur"))}))})})},{"../common":1,"../flowplayer":31,"./ui":27,bean:34}],19:[function(e,t,n){"use strict";var i=e("../flowplayer"),r=e("extend-object"),o=e("bean"),h=e("../common"),a=e("./resolve"),s=new a,g=window.jQuery,m=/^#/;i(function(l,c){var u=r({active:"is-active",advance:!0,query:".fp-playlist a"},l.conf),f=u.active,t=h.find(".fp-ui",c)[0],e=h.hasClass(c,"fp-custom-playlist")||!!u.customPlaylist;function n(){return h.find(u.query,d())}function d(){if(!m.test(u.query))return c}function p(){return h.find(u.query+"."+f,d())}function i(){var e,n=h.find(".fp-playlist",c)[0];n||(n=h.createElement("div",{className:"fp-playlist"}),(e=h.find(".fp-next,.fp-prev",c)).length?e[0].parentElement.insertBefore(n,e[0]):h.insertAfter(c,h.find("video",c)[0],n)),n.innerHTML="",l.conf.playlist[0].length&&(l.conf.playlist=l.conf.playlist.map(function(e){var t;return"string"==typeof e?{sources:[{type:"m3u8"===(t=e.split(a.TYPE_RE)[1]).toLowerCase()?"application/x-mpegurl":"video/"+t,src:e}]}:{sources:e.map(function(t){var n={};return Object.keys(t).forEach(function(e){n.type=/mpegurl/i.test(e)?"application/x-mpegurl":"video/"+e,n.src=t[e]}),n})}})),l.conf.playlist.forEach(function(e,t){e=e.sources[0].src;n.appendChild(h.createElement("a",{href:e,className:l.video.index===t?f:void 0,"data-index":t}))})}h.toggleClass(c,"fp-custom-playlist",e),h.toggleClass(c,"fp-default-playlist",!e),l.play=function(e){if(void 0===e)return l.resume();if("number"==typeof e&&!l.conf.playlist[e])return l;if("number"!=typeof e)return l.load.apply(null,arguments);var t=r({index:e},l.conf.playlist[e]);return l.off("beforeresume.fromfirst"),"number"==typeof e&&e===l.video.index?l.seek(0,function(){l.resume()}):(l.load(t,function(){l.video.index=e}),l)},l.next=function(e){e&&e.preventDefault();e=l.video.index;return-1!=e&&(e=e===l.conf.playlist.length-1?0:e+1,l.play(e)),l},l.prev=function(e){e&&e.preventDefault();e=l.video.index;return-1!=e&&(e=0===e?l.conf.playlist.length-1:e-1,l.play(e)),l},l.setPlaylist=function(e,t){return l.conf.playlist=e,t||delete l.video.index,i(),l},l.addPlaylistItem=function(e){return delete l.video.is_last,l.setPlaylist(l.conf.playlist.concat([e]),!0)},l.removePlaylistItem=function(e){var t=l.conf.playlist;return l.setPlaylist(t.slice(0,e).concat(t.slice(e+1)))},l.have_visible_playlist=function(){var e=l.conf.playlist&&0<l.conf.playlist.length;if(e){var t,n=0;for(t in l.conf.playlist)void 0===l.conf.playlist[t].click&&n++;n<2&&(e=!1)}return e},o.on(c,"click",".fp-next",l.next),o.on(c,"click",".fp-prev",l.prev),l.off("finish.pl").on("finish.pl",function(e,t){if(void 0===t.conf.advance||t.conf.advance){if(t.video.loop)return t.seek(0,function(){t.resume()});var n=0<=t.video.index?t.video.index+1:void 0;n<t.conf.playlist.length||u.loop?(n=n===t.conf.playlist.length?0:n,h.removeClass(c,"is-finished"),setTimeout(function(){t.play(n)})):1<t.conf.playlist.length&&(t.one("beforeresume.fromfirst",function(e){e.preventDefault(),t.play(0)}),t.one("seek",function(){t.off("beforeresume.fromfirst")}))}});e=!1;l.conf.playlist.length&&(e=!0,i(),l.conf.clip&&l.conf.clip.sources.length||(l.conf.clip=l.conf.playlist[l.conf.startIndex||0])),n().length&&!e&&(l.conf.playlist=[],delete l.conf.startIndex,n().forEach(function(e){var t=e.href,t=(e.setAttribute("data-index",l.conf.playlist.length),s.resolve(t,l.conf.clip.sources));g&&r(t,g(e).data()),l.conf.playlist.push(t)})),h.find(".fp-prev,.fp-next,.fp-playlist",c).forEach(function(e){t.appendChild(e)}),o.on(m.test(u.query)?document:c,"click",u.query,function(e){e.preventDefault();e=e.currentTarget,e=Number(e.getAttribute("data-index"));-1!=e&&l.play(e)}),l.on("load",function(e,t,n){var i,r,o,a,s;l.conf.playlist.length&&(r=(i=p()[0])&&i.getAttribute("data-index"),s=n.index=void 0!==(s=n).index?s.index:void 0!==l.video.index?l.video.index:l.conf.startIndex||0,o=h.find(u.query+'[data-index="'+s+'"]',d())[0],a=s==l.conf.playlist.length-1,i&&h.removeClass(i,f),o&&h.addClass(o,f),h.removeClass(c,"video"+r),h.addClass(c,"video"+s),h.toggleClass(c,"last-video",a),n.index=t.video.index=s,n.is_last=t.video.is_last=a)}).on("unload.pl",function(){l.conf.playlist.length&&(p().forEach(function(e){h.toggleClass(e,f)}),l.conf.playlist.forEach(function(e,t){h.removeClass(c,"video"+t)}),delete l.video.index)}),l.conf.playlist.length&&(l.conf.loop=!1)})},{"../common":1,"../flowplayer":31,"./resolve":21,bean:34,"extend-object":39}],20:[function(e,t,n){var i=e("../flowplayer"),c=e("../common"),r=e("bean");i(function(t,o){var a=c.find(".fp-ui",o)[0],s=c.find(".fp-controls",a)[0];function l(t){c.find(".fp-qsel-menu a",o).forEach(function(e){c.toggleClass(e,"fp-selected",e.getAttribute("data-quality")==t),c.toggleClass(e,"fp-color",e.getAttribute("data-quality")==t)})}r.on(o,"click",".fp-qsel",function(){var e=c.find(".fp-qsel-menu",o)[0];c.hasClass(e,"fp-active")?t.hideMenu():t.showMenu(e)}),r.on(o,"click",".fp-qsel-menu a",function(e){e=e.target.getAttribute("data-quality");t.quality(e)}),t.quality=function(e){e=isNaN(Number(e))?e:Number(e),t.trigger("quality",[t,e])},t.on("quality",function(e,t,n){l(n,t.video.qualities)}),t.on("ready",function(e,t,n){var i,r;c.find(".fp-qsel-menu",o).forEach(c.removeNode),c.find(".fp-qsel",o).forEach(c.removeNode),!n.qualities||n.qualities.filter(function(e){return void 0===e.value||-1<e.value}).length<2||(i=n.qualities,n.quality,s.appendChild(c.createElement("strong",{className:"fp-qsel"},"HD")),r=c.createElement("div",{className:"fp-menu fp-qsel-menu"},"<strong>Quality</strong>"),i.forEach(function(e){var t=document.createElement("a"),n=void 0!==e.value?e.value:e;t.setAttribute("data-quality",n),t.innerHTML=e.label||e,r.appendChild(t)}),a.appendChild(r),l(n.quality,n.qualities))})})},{"../common":1,"../flowplayer":31,bean:34}],21:[function(e,t,n){"use strict";var r=/\.(\w{3,4})(\?.*)?$/i,o=e("extend-object");function i(e){var t=e.attr("src"),n=e.attr("type")||"",i=t.split(r)[1],n=n.toLowerCase();return o(e.data(),{src:t,suffix:i||n,type:n||i})}t.exports=function(){this.sourcesFromVideoTag=function(e,t){var n=[];return t("source",e).each(function(){n.push(i(t(this)))}),!n.length&&e.length&&n.push(i(e)),n},this.resolve=function(n,e){return n?("string"==typeof n&&((n={src:n,sources:[]}).sources=(e||[]).map(function(e){var t=e.src.split(r)[1];return{type:e.type,src:n.src.replace(r,"."+t+"$2")}})),n=n instanceof Array?{sources:n.map(function(n){return n.type&&n.src?n:Object.keys(n).reduce(function(e,t){return o(e,{type:/mpegurl/i.test(e=t)?"application/x-mpegurl":"video/"+e,src:n[t]})},{})})}:n):{sources:e}}},t.exports.TYPE_RE=r},{"extend-object":39}],22:[function(e,t,n){"use strict";var i=e("../flowplayer"),o=e("../common"),a=e("extend-object"),s=e("bean");i(function(t,e){var n,i,r=t.conf;!1===r.share?o.find(".fp-share",e).forEach(o.removeNode):(t.shareUrl=function(e){return e&&r.embed&&r.embed.iframe?r.embed.iframe:"string"==typeof t.conf.share?t.conf.share:(e?"https://flowplayer.com/e/":"https://flowplayer.com/s/")+"?t="+encodeURIComponent(t.video.title||(o.find("title")[0]||{}).innerHTML||"Flowplayer video")+"&c="+encodeURIComponent(btoa(JSON.stringify(a({},t.conf,t.extensions)).replace(/[\u007F-\uFFFF]/g,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).substr(-4)})))+"&r="+encodeURIComponent(window.location.toString())},n=o.createElement("div",{className:"fp-menu fp-share-menu"},"<strong>Share</strong>"),o.find(".fp-ui",e)[0].appendChild(n),i=o.find(".fp-share",e)[0],s.on(e,"click",".fp-share",function(e){e.preventDefault(),o.hasClass(n,"fp-active")?t.hideMenu():t.showMenu(n,i)}))})},{"../common":1,"../flowplayer":31,bean:34,"extend-object":39}],23:[function(e,t,n){"use strict";var d=e("../flowplayer"),p=e("../common"),h=e("bean"),e=e("./subtitles/parser");d.defaults.subtitleParser=e,d(function(r,o){var a,s,n,i,l,c=!1;function e(e,i,r){c&&(i.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t&&r>=e.time&&(!n.endTime||r<=n.endTime)&&i.trigger("cuepoint",[i,e])})}d.support.inlineVideo&&(d.support.fullscreen||!r.conf.native_fullscreen)||(r.conf.nativesubtitles=!0),r.ui||(r.ui={}),r.ui.createSubtitleControl=function(e,t){return l=t,n=n||p.createElement("strong",{className:"fp-cc"},"CC"),i=i||p.createElement("div",{className:"fp-menu fp-subtitle-menu"},"<strong>Closed Captions</strong>"),p.find("a",i).forEach(p.removeNode),i.appendChild(p.createElement("a",{"data-subtitle-index":-1},"No subtitles")),(e||[]).forEach(function(e,t){var n=e.srclang||"en",e=e.label||"Default ("+n+")",n=p.createElement("a",{"data-subtitle-index":t},e);i.appendChild(n)}),p.find(".fp-ui",o)[0].appendChild(i),p.find(".fp-controls",o)[0].appendChild(n),p.toggleClass(n,"fp-hidden",!e||!e.length),n},r.ui.setActiveSubtitleItem=function(e){f(e)},h.on(o,"click",".fp-cc",function(){p.hasClass(i,"fp-active")?r.hideMenu():r.showMenu(i)}),h.on(o,"click",".fp-subtitle-menu [data-subtitle-index]",function(e){e.preventDefault();e=e.target.getAttribute("data-subtitle-index");return l?l(e):"-1"===e?r.disableSubtitles():void r.loadSubtitles(e)});function u(e,t){var n=p.find("video.fp-engine",o)[0].textTracks;n.length&&(null===e?[].forEach.call(n,function(e){e.mode=t}):n[e].mode=t)}r.on("ready",function(e,t,n){var i;t.subtitles=[],s=(s=p.find(".fp-captions",o)[0])||p.appendTo(p.createElement("div",{class:"fp-captions"}),p.find(".fp-player",o)[0]),Array.prototype.forEach.call(s.children,p.removeNode),r.ui.createSubtitleControl(r.video.subtitles),p.removeClass(o,"has-menu"),r.disableSubtitles(),n.subtitles&&n.subtitles.length&&((i=n.subtitles.filter(function(e){return e.default})[0])&&t.loadSubtitles(n.subtitles.indexOf(i)))}),r.showSubtitle=function(e){p.html(s,e),p.addClass(s,"fp-shown")},r.hideSubtitle=function(){p.removeClass(s,"fp-shown")},r.bind("cuepoint",function(e,t,n){c=!1,n.subtitle?(a=n.index,r.showSubtitle(n.subtitle.text)):n.subtitleEnd&&(r.hideSubtitle(),a=n.index)}),r.bind("seek",function(e,t,i){a&&r.cuepoints[a]&&r.cuepoints[a].time>i&&(p.removeClass(s,"fp-shown"),a=null),(r.cuepoints||[]).forEach(function(e,t){var n=e.subtitle;n&&a!=t?i>=e.time&&(!n.endTime||i<=n.endTime)&&r.trigger("cuepoint",[r,e]):e.subtitleEnd&&i>=e.time&&t==a+1&&r.trigger("cuepoint",[r,e])})}),r.on("unload",function(){p.find(".fp-captions",o).forEach(p.removeNode)});var f=function(e){p.toggleClass(p.find("a.fp-selected",i)[0],"fp-selected"),p.toggleClass(p.find('a[data-subtitle-index="'+e+'"]',i)[0],"fp-selected")};r.disableSubtitles=function(){return r.subtitles=[],(r.cuepoints||[]).forEach(function(e){(e.subtitle||e.subtitleEnd)&&r.removeCuepoint(e)}),s&&Array.prototype.forEach.call(s.children,p.removeNode),f(-1),d.support.subtitles&&r.conf.nativesubtitles&&"html5"==r.engine.engineName&&u(null,"disabled"),r},r.loadSubtitles=function(e){r.disableSubtitles();var t=r.video.subtitles[e].src;if(t){if(f(e),!d.support.subtitles||!r.conf.nativesubtitles||"html5"!=r.engine.engineName)return p.xhrGet(t,function(e){r.conf.subtitleParser(e).forEach(function(e,t){e.title||(e.title="subtitle"+t);var n={time:e.startTime,subtitle:e,visible:!1};r.subtitles.push(e),r.addCuepoint(n),r.addCuepoint({time:e.endTime,subtitleEnd:e.title,visible:!1}),0!==e.startTime||r.video.time||r.splash||r.trigger("cuepoint",[r,d.extend({},n,{index:0})]),r.splash&&r.one("ready",function(){r.trigger("cuepoint",[r,n])})})},function(){return r.trigger("error-subtitles",[r,{code:8,url:t}]),!1}),r;u(e,"showing")}},h.on(o,"click",".fp-subtitle-menu a[data-subtitle-index]",function(){-1<this.dataset.subtitleIndex&&(c=!0,r.on("progress",e))})})},{"../common":1,"../flowplayer":31,"./subtitles/parser":24,bean:34}],24:[function(e,t,n){t.exports=function(e){var t=/^(([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3}) --\> (([0-9]+:){1,2}[0-9]{2}[,.][0-9]{3})(.*)/;function n(e){e=e.split(":");return 2==e.length&&e.unshift(0),60*e[0]*60+60*e[1]+parseFloat(e[2].replace(",","."))}for(var i,r,o,a=[],s=0,l=e.split("\n"),c=l.length;s<c;s++)if(r=t.exec(l[s])){for(i=l[s-1],o="<p>"+l[++s]+"</p><br/>";"string"==typeof l[++s]&&l[s].trim()&&s<l.length;)o+="<p>"+l[s]+"</p><br/>";i={title:i,startTime:n(r[1]),endTime:n(r[3]),text:o},a.push(i)}return a}},{}],25:[function(e,t,n){"use strict";var i=e("../flowplayer"),e=e("extend-object"),r={},o=document.documentElement.style,a=navigator.userAgent.toLowerCase(),a=((s=/(chrome)[ \/]([\w.]+)/.exec(a)||/(safari)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[])[1]&&(r[s[1]]=!0,r.version=s[2]||"0"),r.safari&&(r.version=(/version\/([\w.]+)/.exec(a)||[])[1]),(s=document.createElement("video")).loop=!0,s.autoplay=!0,s.preload=!0,s),s=navigator.userAgent,l=r.msie||/Trident\/7/.test(s),c=/iPad|MeeGo/.test(s)&&!/CriOS/.test(s),u=/iPad/.test(s)&&/CriOS/.test(s),f=/iP(hone|od)/i.test(s)&&!/iPad/.test(s)&&!/IEMobile/i.test(s),d=/Android/.test(s),p=d&&/Firefox/.test(s),h=d&&/SAMSUNG/.test(s),g=/Silk/.test(s),m=/IEMobile/.test(s),y=m?parseFloat(/Windows\ Phone\ (\d+\.\d+)/.exec(s)[1],10):0,v=m?parseFloat(/IEMobile\/(\d+\.\d+)/.exec(s)[1],10):0,w=c||f?function(e){e=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return e&&1<e.length?parseFloat(e[e.length-1].replace("_","."),10):0}(s):0,b=d?parseFloat(/Android\ (\d+(\.\d+)?)/.exec(s)[1],10):0,I=(f||c||u)&&{iPhone:f,iPad:c||u,version:w,chrome:u};(s=e(i.support,{browser:r,iOS:I,android:!!d&&{firefox:p,opera:/Opera/.test(s),samsung:h,version:b},subtitles:!!a.addTextTrack,fullscreen:"boolean"==typeof document.webkitFullscreenEnabled?document.webkitFullscreenEnabled:"function"==typeof document.webkitCancelFullScreen&&!/Mac OS X 10_5.+Version\/5\.0\.\d Safari/.test(s)||document.mozFullScreenEnabled||"function"==typeof document.exitFullscreen||"function"==typeof document.msExitFullscreen,inlineBlock:!(l&&r.version<8),touch:"ontouchstart"in window,dataload:!c&&!f&&!m,flex:"flexWrap"in o||"WebkitFlexWrap"in o||"msFlexWrap"in o,svg:!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,zeropreload:!l&&!d,volume:!(c||f||g||u),cachedVideoTag:!(c||f||u||m),firstframe:!(g||m||p||h||w&&w<10||d&&b<4.4),inlineVideo:(!f||10<=w)&&(!m||8.1<=y&&11<=v)&&(!d||3<=b),hlsDuration:!d&&(!r.safari||c||f||u),seekable:!c&&!u,preloadMetadata:!I&&!r.safari})).autoplay=s.firstframe,m&&(s.browser.safari=!1);try{var C=navigator.plugins["Shockwave Flash"],M=l?new ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version"):C.description;l||C[0].enabledPlugin?((M=M.split(/\D+/)).length&&!M[0]&&(M=M.slice(1)),s.flashVideo=9<M[0]||9==M[0]&&115<=M[3]):s.flashVideo=!1}catch(e){}try{s.video=!!a.canPlayType,s.video&&a.canPlayType("video/mp4")}catch(e){s.video=!1}s.animation=function(){for(var e=["","Webkit","Moz","O","ms","Khtml"],t=document.createElement("p"),n=0;n<e.length;n++)if(void 0!==t.style[e[n]+"AnimationName"])return!0}()},{"../flowplayer":31,"extend-object":39}],26:[function(e,t,n){"use strict";var i=e("../flowplayer"),a=e("../common"),s=e("bean");i(function(r,e){var t,n,o=r.conf;!1!==o.share&&!1!==o.twitter&&(r.tweet=function(){var e=screen.height,t=screen.width,n="string"==typeof o.twitter?o.twitter:r.shareUrl(),t=Math.round(t/2-275),i=0;420<e&&(i=Math.round(e/2-210)),window.open("https://twitter.com/intent/tweet?url="+encodeURIComponent(n),"intent","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,left="+t+",top="+i)},t=a.find(".fp-share-menu",e)[0],n=a.createElement("a",{class:"fp-icon fp-twitter"},"Twitter"),a.append(t,n),s.on(e,"click",".fp-twitter",function(){r.tweet()}))})},{"../common":1,"../flowplayer":31,bean:34}],27:[function(e,t,n){!function(F){!function(){"use strict";var N=e("../flowplayer"),x=e("../common"),D=e("bean"),L=e("./ui/slider"),T=e("./ui/bar-slider");function i(e){return 10<=(e=parseInt(e,10))?e:"0"+e}function Z(e,t){e=Math.max(e||0,0),e=t?Math.ceil(e):Math.floor(e);var t=Math.floor(e/3600),n=Math.floor(e/60);return e-=60*n,1<=t?t+":"+i(n-=60*t)+":"+i(e):i(n)+":"+i(e)}var k=F("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLW91dGxpbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDk5Ljg0NCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz4KPHRpdGxlPnBsYXktcm91bmRlZC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNNDEuMDM1OSw3MS4xOWE1LjA0OTIsNS4wNDkyLDAsMCwxLTIuNTU3NS0uNjY3M2MtMS44MDMxLTEuMDQxLTIuNzk1OC0zLjEyNDgtMi43OTU4LTUuODY2NFYzNS4xODg3YzAtMi43NDI5Ljk5MzMtNC44MjcyLDIuNzk3LTUuODY3NiwxLjgwMjUtMS4wNDIyLDQuMTAzNC0uODYsNi40OC41MTQzTDcwLjQ3ODIsNDQuNTY3MmMyLjM3NTEsMS4zNzExLDMuNjgyNiwzLjI3MjUsMy42ODMyLDUuMzU0NXMtMS4zMDc2LDMuOTg0NS0zLjY4MzIsNS4zNTYyTDQ0Ljk1OTIsNzAuMDExNEE3LjkzODQsNy45Mzg0LDAsMCwxLDQxLjAzNTksNzEuMTlabS4wMDY1LTQwLjEyM2EyLjY3OTQsMi42Nzk0LDAsMCwwLTEuMzU4Mi4zNDEzYy0xLjAyNjMuNTkyNi0xLjU5MTIsMS45MzQ5LTEuNTkxMiwzLjc4VjY0LjY1NjNjMCwxLjg0NDkuNTY0OSwzLjE4NjYsMS41OTA2LDMuNzc5MSwxLjAyODEuNTkzMiwyLjQ3MzMuNDEwOCw0LjA3LS41MTJMNjkuMjczLDUzLjE5MDZjMS41OTgzLS45MjI3LDIuNDc4LTIuMDgzOCwyLjQ3OC0zLjI2ODlzLS44OC0yLjM0NDUtMi40NzgtMy4yNjY2TDQzLjc1NCwzMS45MjI3QTUuNTY4NSw1LjU2ODUsMCwwLDAsNDEuMDQyMywzMS4wNjcxWiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),P=F("PHN2ZyBjbGFzcz0iZnAtcGxheS1yb3VuZGVkLWZpbGwiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiPgogIDxkZWZzPjxzdHlsZT4uYXtmaWxsOiMwMDA7b3BhY2l0eTowLjY1O30uYntmaWxsOiNmZmY7b3BhY2l0eToxLjA7fTwvc3R5bGU+CiAgPC9kZWZzPjx0aXRsZT5wbGF5LXJvdW5kZWQtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cGF0aCBjbGFzcz0iYiIgZD0iTTM1Ljk0MiwzNS4yMzIzYzAtNC43Mjg5LDMuMzUwNi02LjY2MzcsNy40NDYtNC4yOTcxTDY4LjgzLDQ1LjYyMzVjNC4wOTU2LDIuMzY0LDQuMDk1Niw2LjIzMTksMCw4LjU5NzdMNDMuMzg4LDY4LjkxYy00LjA5NTQsMi4zNjQtNy40NDYuNDMtNy40NDYtNC4yOTc5WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPgogIDwvc3ZnPgogIAo=","base64"),z=F("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj4KICA8ZGVmcz4KICAgIDxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5jb250cm9sYnV0dG9ue2ZpbGw6I2ZmZjt9PC9zdHlsZT4KICA8L2RlZnM+CiAgPHRpdGxlPnBsYXktc2hhcnAtZmlsbDwvdGl0bGU+CiAgPHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjE3LS4wNzhhNTAsNTAsMCwxLDAsNTAsNTBBNTAuMDU2NCw1MC4wNTY0LDAsMCwwLDQ5LjkyMTctLjA3OFoiLz4KICA8cG9seWdvbiBjbGFzcz0iY29udHJvbGJ1dHRvbiIgcG9pbnRzPSI3My42MDEgNTAgMzcuOTY4IDcwLjU3MyAzNy45NjggMjkuNDI3IDczLjYwMSA1MCIgZmlsdGVyPSJ1cmwoI2YxKSIvPgo8L3N2Zz4K","base64"),Y=F("PHN2ZyBjbGFzcz0iZnAtcGxheS1zaGFycC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDQgOTkuODQzNCI+PGRlZnM+PHN0eWxlPi5jb250cm9sYnV0dG9uYmd7b3BhY2l0eTowLjY1O30uY29udHJvbGJ1dHRvbntmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGxheS1zaGFycC1vdXRsaW5lPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxwYXRoIGNsYXNzPSJjb250cm9sYnV0dG9uIiBkPSJNMzYuOTQ0Myw3Mi4yNDczVjI3LjI5MTZMNzUuODc3Niw0OS43N1ptMi4yLTQxLjE0NTVWNjguNDM3MUw3MS40Nzc2LDQ5Ljc3WiIgZmlsdGVyPSJ1cmwoI2YxKSIvPjwvc3ZnPgo=","base64"),G=F("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1vdXRsaW5lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA5OS44NDM0IDk5Ljg0MzQiPjxkZWZzPjxzdHlsZT4uZnAtY29sb3ItcGxheXtvcGFjaXR5OjAuNjU7fS5yZWN0e2ZpbGw6I2ZmZjt9PC9zdHlsZT4KPC9kZWZzPjx0aXRsZT5wYXVzZS1yb3VuZGVkLW91dGxpbmU8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxMi0uMDc4M2E1MCw1MCwwLDEsMCw1MC4wMDA2LDUwQTUwLjA1NjIsNTAuMDU2MiwwLDAsMCw0OS45MjEyLS4wNzgzWiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIj48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTM5LjAwMzYsNzEuOTcyNmE3LjU2NSw3LjU2NSwwLDAsMS03LjU1Ny03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NDgsNy41NjQ4LDAsMCwxLDM5LjAwMzYsNzEuOTcyNlptMC00MS45MDRhNS4zNjQ3LDUuMzY0NywwLDAsMC01LjM1OTMsNS4zNTgydjI4Ljk5YTUuMzU4Nyw1LjM1ODcsMCwwLDAsMTAuNzE3NCwwdi0yOC45OUE1LjM2NDUsNS4zNjQ1LDAsMCwwLDM5LjAwMzYsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48cGF0aCBjbGFzcz0icmVjdCIgZD0iTTYwLjg0LDcxLjk3MjZhNy41NjQ4LDcuNTY0OCwwLDAsMS03LjU1Ni03LjU1NnYtMjguOTlhNy41NTY1LDcuNTU2NSwwLDAsMSwxNS4xMTMsMHYyOC45OUE3LjU2NSw3LjU2NSwwLDAsMSw2MC44NCw3MS45NzI2Wm0wLTQxLjkwNGE1LjM2NDUsNS4zNjQ1LDAsMCwwLTUuMzU4Miw1LjM1ODJ2MjguOTlhNS4zNTg3LDUuMzU4NywwLDAsMCwxMC43MTc0LDB2LTI4Ljk5QTUuMzY0Nyw1LjM2NDcsMCwwLDAsNjAuODQsMzAuMDY4NloiIGZpbHRlcj0idXJsKCNmMSkiLz48L2c+PC9zdmc+Cg==","base64"),O=F("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utcm91bmRlZC1maWxsIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utcm91bmRlZC1maWxsPC90aXRsZT48cGF0aCBjbGFzcz0iZnAtY29sb3ItcGxheSIgZD0iTTQ5LjkyMTctLjA3OGE1MCw1MCwwLDEsMCw1MCw1MEE1MC4wNTY0LDUwLjA1NjQsMCwwLDAsNDkuOTIxNy0uMDc4WiIvPjxnIGNsYXNzPSJjb250cm9sYnV0dG9uIiBmaWx0ZXI9InVybCgjZjEpIj48cmVjdCBjbGFzcz0icmVjdCIgeD0iMzEuODQ0IiB5PSIyOC4xMjMxIiB3aWR0aD0iMTMuNDM2MiIgaGVpZ2h0PSI0My41OTczIiByeD0iNi43MTgxIiByeT0iNi43MTgxIi8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjU2MzgiIHk9IjI4LjEyMzEiIHdpZHRoPSIxMy40MzYyIiBoZWlnaHQ9IjQzLjU5NzMiIHJ4PSI2LjcxODEiIHJ5PSI2LjcxODEiLz48L2c+PC9zdmc+Cg==","base64"),W=F("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtZmlsbCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PGRlZnM+PHN0eWxlPi5mcC1jb2xvci1wbGF5e29wYWNpdHk6MC42NTt9LnJlY3R7ZmlsbDojZmZmO308L3N0eWxlPgo8L2RlZnM+PHRpdGxlPnBhdXNlLXNoYXJwLWZpbGw8L3RpdGxlPjxwYXRoIGNsYXNzPSJmcC1jb2xvci1wbGF5IiBkPSJNNDkuOTIxNy0uMDc4YTUwLDUwLDAsMSwwLDUwLDUwQTUwLjA1NjQsNTAuMDU2NCwwLDAsMCw0OS45MjE3LS4wNzhaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxyZWN0IGNsYXNzPSJyZWN0IiB4PSIzMy41IiB5PSIzMC4xMDQyIiB3aWR0aD0iMTIuMjYzNCIgaGVpZ2h0PSIzOS43OTE3Ii8+PHJlY3QgY2xhc3M9InJlY3QiIHg9IjU0LjIzNjYiIHk9IjMwLjEwNDIiIHdpZHRoPSIxMi4yNjM0IiBoZWlnaHQ9IjM5Ljc5MTciLz48L2c+PC9zdmc+Cg==","base64"),R=F("PHN2ZyBjbGFzcz0iZnAtcGF1c2Utc2hhcnAtb3V0bGluZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgOTkuODQzNCA5OS44NDM0Ij48ZGVmcz48c3R5bGU+LmZwLWNvbG9yLXBsYXl7b3BhY2l0eTowLjY1O30ucmVjdHtmaWxsOiNmZmY7fTwvc3R5bGU+CjwvZGVmcz48dGl0bGU+cGF1c2Utc2hhcnAtb3V0bGluZTwvdGl0bGU+PHBhdGggY2xhc3M9ImZwLWNvbG9yLXBsYXkiIGQ9Ik00OS45MjEyLS4wNzgzYTUwLDUwLDAsMSwwLDUwLjAwMDYsNTBBNTAuMDU2Miw1MC4wNTYyLDAsMCwwLDQ5LjkyMTItLjA3ODNaIi8+PGcgY2xhc3M9ImNvbnRyb2xidXR0b24iIGZpbHRlcj0idXJsKCNmMSkiPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNDYuODcwOSw2OS45NTMxSDMzLjEzODVWMjkuODlINDYuODcwOVpNMzUuMTQxNiw2Ny45NWg5LjcyNjJWMzEuODkzNUgzNS4xNDE2WiIvPjxwYXRoIGNsYXNzPSJyZWN0IiBkPSJNNjYuNzA0Nyw2OS45NTMxSDUyLjk3MjJWMjkuODlINjYuNzA0N1pNNTQuOTc1NCw2Ny45NWg5LjcyNjJWMzEuODkzNUg1NC45NzU0WiIvPjwvZz48L3N2Zz4K","base64"),J=F("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLW91dGxpbmUiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDUwKSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgo8L3N2Zz4K","base64"),U=F("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1yb3VuZGVkLWZpbGwiIHdpZHRoPScxMTJweCcgaGVpZ2h0PScxMTJweCcgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ieE1pZFlNaWQiPgogICAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9Ijc2IiBoZWlnaHQ9Ijc2IiBmaWxsPSJyZ2JhKDAsMCwwLDApIiBjbGFzcz0iYmsiPjwvcmVjdD4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgMjUpIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC4wcyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+CiAgICA8Y2lyY2xlIGN4PSIwIiBjeT0iMCIgcj0iMTAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuNHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICAgIDwvY2lyY2xlPgogICAgPGNpcmNsZSBjeD0iMCIgY3k9IjAiIHI9IjEwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCA1MCkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgICA8L2NpcmNsZT4KICAgIDxjaXJjbGUgY3g9IjAiIGN5PSIwIiByPSIxMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMjUgNTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMS4ycyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogICAgPC9jaXJjbGU+Cjwvc3ZnPgo=","base64"),B=F("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1maWxsIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDI1KSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjBzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjBzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItMTAiIHk9Ii0xMCIgd2lkdGg9IjIwIiBoZWlnaHQ9IjIwIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSg1MCAyNSkiIGZpbGw9InJnYmEoMCwwLDAsLjUpIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iZmlsbCIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC40cyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTEwIiB5PSItMTAiIHdpZHRoPSIyMCIgaGVpZ2h0PSIyMCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAgNTApIiBmaWxsPSJyZ2JhKDAsMCwwLC41KSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9ImZpbGwiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuOHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii0xMCIgeT0iLTEwIiB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDI1IDUwKSIgZmlsbD0icmdiYSgwLDAsMCwuNSkiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJmaWxsIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIxLjJzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIxLjJzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KPC9zdmc+Cg==","base64"),H=F("PHN2ZyBjbGFzcz0iZnAtbG9hZGluZy1zaGFycC1vdXRsaW5lIiB3aWR0aD0nMTEycHgnIGhlaWdodD0nMTEycHgnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgdmlld0JveD0iMCAwIDEwMCAxMDAiIHByZXNlcnZlQXNwZWN0UmF0aW89InhNaWRZTWlkIj4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iNzYiIGhlaWdodD0iNzYiIGZpbGw9InJnYmEoMCwwLDAsMCkiIGNsYXNzPSJiayI+PC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSAyNSkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjAuMHMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMC4wcyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+CiAgPHJlY3QgeD0iLTkiIHk9Ii05IiB3aWR0aD0iMTgiIGhlaWdodD0iMTgiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDUwIDI1KSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSJyZ2JhKDAsMCwwLC41KSIgc3Ryb2tlLXdpZHRoPSIzJSIgY2xhc3M9InNxIj4KICAgIDxhbmltYXRlIGF0dHJpYnV0ZU5hbWU9InN0cm9rZSIgZnJvbT0icmdiYSgwLDAsMCwwKSIgdG89InJnYmEoMCwwLDAsLjUpIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgZHVyPSIxLjZzIiBiZWdpbj0iMC40cyIgdmFsdWVzPSJyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwuNSkiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZT4KICAgICAgPGFuaW1hdGVUcmFuc2Zvcm0gYXR0cmlidXRlTmFtZT0idHJhbnNmb3JtIiB0eXBlPSJzY2FsZSIgYWRkaXRpdmU9InN1bSIgZnJvbT0iMC44IiB0bz0iMSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGJlZ2luPSIwLjRzIiBkdXI9IjEuNnMiIHZhbHVlcz0iMTswLjg7MC44OzE7MSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlVHJhbnNmb3JtPgogIDwvcmVjdD4KICA8cmVjdCB4PSItOSIgeT0iLTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoNTAgNTApIiBmaWxsPSJub25lIiBzdHJva2U9InJnYmEoMCwwLDAsLjUpIiBzdHJva2Utd2lkdGg9IjMlIiBjbGFzcz0ic3EiPgogICAgPGFuaW1hdGUgYXR0cmlidXRlTmFtZT0ic3Ryb2tlIiBmcm9tPSJyZ2JhKDAsMCwwLDApIiB0bz0icmdiYSgwLDAsMCwuNSkiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBkdXI9IjEuNnMiIGJlZ2luPSIwLjhzIiB2YWx1ZXM9InJnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsMCk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLC41KTtyZ2JhKDAsMCwwLC41KSIga2V5VGltZXM9IjA7MC4xOzAuMjswLjQ7MSI+PC9hbmltYXRlPgogICAgICA8YW5pbWF0ZVRyYW5zZm9ybSBhdHRyaWJ1dGVOYW1lPSJ0cmFuc2Zvcm0iIHR5cGU9InNjYWxlIiBhZGRpdGl2ZT0ic3VtIiBmcm9tPSIwLjgiIHRvPSIxIiByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgYmVnaW49IjAuOHMiIGR1cj0iMS42cyIgdmFsdWVzPSIxOzAuODswLjg7MTsxIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGVUcmFuc2Zvcm0+CiAgPC9yZWN0PgogIDxyZWN0IHg9Ii05IiB5PSItOSIgd2lkdGg9IjE4IiBoZWlnaHQ9IjE4IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgyNSA1MCkiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmdiYSgwLDAsMCwuNSkiIHN0cm9rZS13aWR0aD0iMyUiIGNsYXNzPSJzcSI+CiAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2UiIGZyb209InJnYmEoMCwwLDAsMCkiIHRvPSJyZ2JhKDAsMCwwLC41KSIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiIGR1cj0iMS42cyIgYmVnaW49IjEuMnMiIHZhbHVlcz0icmdiYSgwLDAsMCwuNSk7cmdiYSgwLDAsMCwwKTtyZ2JhKDAsMCwwLDApO3JnYmEoMCwwLDAsLjUpO3JnYmEoMCwwLDAsLjUpIiBrZXlUaW1lcz0iMDswLjE7MC4yOzAuNDsxIj48L2FuaW1hdGU+CiAgICAgIDxhbmltYXRlVHJhbnNmb3JtIGF0dHJpYnV0ZU5hbWU9InRyYW5zZm9ybSIgdHlwZT0ic2NhbGUiIGFkZGl0aXZlPSJzdW0iIGZyb209IjAuOCIgdG89IjEiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiBiZWdpbj0iMS4ycyIgZHVyPSIxLjZzIiB2YWx1ZXM9IjE7MC44OzAuODsxOzEiIGtleVRpbWVzPSIwOzAuMTswLjI7MC40OzEiPjwvYW5pbWF0ZVRyYW5zZm9ybT4KICA8L3JlY3Q+Cjwvc3ZnPgo=","base64");N(function(o,a){if(!N.added_svg_filters){N.added_svg_filters=!0;try{document.body.appendChild(t=x.createElement("div",{},F("PHN2ZyBjbGFzcz0iZnAtZmlsdGVycyIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB2aWV3Qm94PSIwIDAgMCAwIj4KICA8ZGVmcz4KICAgIDxmaWx0ZXIgaWQ9ImYxIiB4PSItMjAlIiB5PSItMjAlIiB3aWR0aD0iMjAwJSIgaGVpZ2h0PSIyMDAlIj4KICAgICAgPGZlT2Zmc2V0IHJlc3VsdD0ib2ZmT3V0IiBpbj0iU291cmNlQWxwaGEiIGR4PSIwIiBkeT0iMCIgLz4KICAgICAgPGZlQ29sb3JNYXRyaXggcmVzdWx0PSJtYXRyaXhPdXQiIGluPSJvZmZPdXQiIHR5cGU9Im1hdHJpeCIKICAgICAgdmFsdWVzPSIwLjMgMCAwIDAgMCAwIDAuMyAwIDAgMCAwIDAgMC4zIDAgMCAwIDAgMCAwLjQgMCIgLz4KICAgICAgPGZlR2F1c3NpYW5CbHVyIHJlc3VsdD0iYmx1ck91dCIgaW49Im1hdHJpeE91dCIgc3RkRGV2aWF0aW9uPSI0IiAvPgogICAgICA8ZmVCbGVuZCBpbj0iU291cmNlR3JhcGhpYyIgaW4yPSJibHVyT3V0IiBtb2RlPSJub3JtYWwiIC8+CiAgICA8L2ZpbHRlcj4KICA8L2RlZnM+Cjwvc3ZnPgo=","base64"))),x.css(t,{width:0,height:0,overflow:"hidden",position:"absolute",margin:0,padding:0})}catch(e){}}var n,s=o.conf,l=N.support,r=(x.find(".fp-ratio,.fp-ui",a).forEach(x.removeNode),x.addClass(a,"flowplayer"),a.appendChild(x.createElement("div",{className:"fp-ratio"})),x.createElement("div",{className:"fp-ui",style:"display: none"},'         <div class="fp-waiting">           {{ LOADING_SHARP_OUTLINE }}           {{ LOADING_SHARP_FILL }}           {{ LOADING_ROUNDED_FILL }}           {{ LOADING_ROUNDED_OUTLINE }}         </div>         <div class="fp-header">           <a class="fp-share fp-icon"></a>           <a class="fp-fullscreen fp-icon"></a>           <a class="fp-unload fp-icon"></a>         </div>         <p class="fp-speed-flash"></p>         <div class="fp-play fp-visible">           <a class="fp-icon fp-playbtn"></a>           {{ PLAY_ROUNDED_FILL }}           {{ PLAY_ROUNDED_OUTLINE }}           {{ PLAY_SHARP_FILL }}           {{ PLAY_SHARP_OUTLINE }}         </div>         <div class="fp-pause">           <a class="fp-icon fp-playbtn"></a>           {{ PAUSE_SHARP_OUTLINE }}           {{ PAUSE_SHARP_FILL }}           {{ PAUSE_ROUNDED_OUTLINE }}           {{ PAUSE_ROUNDED_FILL }}         </div>         <div class="fp-controls">            <a class="fp-icon fp-playbtn"></a>            <span class="fp-elapsed">00:00</span>            <div class="fp-timeline fp-bar">               <span class="fp-timestamp"></span>               <div class="fp-progress fp-color"></div>            </div>            <span class="fp-duration"></span>            <span class="fp-remaining"></span>            <div class="fp-volume">               <a class="fp-icon fp-volumebtn"></a>               <div class="fp-volumebar fp-bar-slider">                 <em></em><em></em><em></em><em></em><em></em><em></em><em></em>               </div>            </div>            <strong class="fp-speed fp-hidden"></strong>         </div>'.replace("{{ PAUSE_ROUNDED_FILL }}",O).replace("{{ PAUSE_ROUNDED_OUTLINE }}",G).replace("{{ PAUSE_SHARP_FILL }}",W).replace("{{ PAUSE_SHARP_OUTLINE }}",R).replace("{{ PLAY_SHARP_OUTLINE }}",Y).replace("{{ PLAY_SHARP_FILL }}",z).replace("{{ PLAY_ROUNDED_OUTLINE }}",k).replace("{{ PLAY_ROUNDED_FILL }}",P).replace("{{ LOADING_ROUNDED_OUTLINE }}",J).replace("{{ LOADING_ROUNDED_FILL }}",U).replace("{{ LOADING_SHARP_FILL }}",B).replace("{{ LOADING_SHARP_OUTLINE }}",H).replace(/url\(#/g,"url("+window.location.href.replace(window.location.hash,"").replace(/\#$/g,"")+"#")));function e(e){return x.find(".fp-"+e,a)[0]}a.appendChild(r),"function"==typeof window.requestAnimationFrame?window.requestAnimationFrame(function(){r.style.display=""}):r.style.display="";var t=e("waiting"),c=e("elapsed"),i=e("ratio"),u=e("speed-flash"),f=e("duration"),d=e("remaining"),p=e("timestamp"),h=x.css(i,"padding-top"),g=e("play"),m=e("pause"),y=e("timeline"),v=L(y,o),w=e("fullscreen"),b=e("volumebar"),I=T(b,{rtl:o.rtl}),C=x.hasClass(a,"no-toggle"),M=(v.disableAnimation(x.hasClass(a,"is-touch")),o.sliders=o.sliders||{},o.sliders.timeline=v,o.sliders.volume=I,[]);function S(e){x.css(i,"padding-top",100*e+"%"),l.inlineBlock||x.height(x.find("object",a)[0],x.height(a))}function A(e){e?(x.addClass(a,"is-mouseover"),x.removeClass(a,"is-mouseout")):(x.addClass(a,"is-mouseout"),x.removeClass(a,"is-mouseover"))}l.svg||x.html(t,"<p>loading &hellip;</p>"),s.ratio&&S(s.ratio);try{s.fullscreen||x.removeNode(w)}catch(e){x.removeNode(w)}o.on("dvrwindow",function(){v.disable(!1)}),o.on("ready",function(e,t,n){var i=t.video.duration;v.disable(t.disabled||!i),s.adaptiveRatio&&!isNaN(n.height/n.width)&&S(n.height/n.width),x.html([f,d],t.live?"Live":Z(i)),x.toggleClass(a,"is-long",3600<=i),I.slide(t.volumeLevel),"flash"===t.engine.engineName?v.disableAnimation(!0,!0):v.disableAnimation(!1),x.find(".fp-title",r).forEach(x.removeNode),n.title&&x.prepend(r,x.createElement("div",{className:"fp-message fp-title"},n.title)),x.toggleClass(a,"has-title",!!n.title)}).on("unload",function(){h||s.splash||x.css(i,"paddingTop",""),v.slide(0),x.addClass(g,"fp-visible")}).on("buffer",function(e,t,n){var i=t.video,r=i.buffer/i.duration,o=(!i.seekable&&l.seekable&&v.max(t.conf.live?1/0:r),n&&"number"!=typeof n||(n=[{start:0,end:i.buffer}]),x.find(".fp-buffer",y));o.length!==n.length&&(o.forEach(x.removeNode),o=[]),n.forEach(function(e,t){t=o[t]||x.createElement("div",{className:"fp-buffer"});e.end>i.duration||(x.css(t,{left:100*e.start/i.duration+"%",width:100*(e.end-e.start)/i.duration+"%"}),x.prepend(y,t))})}).on("speed",function(e,t,n){t.video.time&&(x.text(u,n+"x"),x.addClass(u,"fp-shown"),(M=M.filter(function(e){return clearTimeout(e),!1})).push(setTimeout(function(){x.addClass(u,"fp-hilite"),M.push(setTimeout(function(){x.removeClass(u,"fp-hilite"),M.push(setTimeout(function(){x.removeClass(u,"fp-shown")},300))},1e3))})))}).on("buffered",function(){v.max(1)}).on("progress seek",function(e,t,n){var i=o.video.duration,r=o.video.seekOffset||0,r=((n=n||o.video.time)-r)/(i-r);v.dragging||v.slide(r,o.seeking?0:250),x.toggleClass(a,"is-live-position",i-n<s.livePositionOffset),x.html(c,Z(n)),x.html(d,Z(i-n,!0))}).on("finish resume seek",function(e){x.toggleClass(a,"is-finished","finish"==e.type)}).on("resume",function(){x.addClass(g,"fp-visible"),setTimeout(function(){x.removeClass(g,"fp-visible")},300)}).on("pause",function(){x.addClass(m,"fp-visible"),setTimeout(function(){x.removeClass(m,"fp-visible")},300)}).on("stop",function(){x.html(c,Z(0)),v.slide(0,100)}).on("finish",function(){x.html(c,Z(o.video.duration)),v.slide(1,100),x.removeClass(a,"is-seeking")}).on("beforeseek",function(){}).on("volume",function(){I.slide(o.volumeLevel)}).on("disable",function(){var e=o.disabled;v.disable(e),I.disable(e),x.toggleClass(a,"is-disabled",o.disabled)}).on("mute",function(e,t,n){x.toggleClass(a,"is-muted",n)}).on("error",function(e,t,n){var i,r;x.removeClass(a,"is-loading"),x.removeClass(a,"is-seeking"),x.addClass(a,"is-error"),n&&(t.error=!0,i=n.code,(n.message||"").match(/DECODER_ERROR_NOT_SUPPORTED/)&&(i=3),r=t.message((t.engine&&t.engine.engineName||"html5")+": "+s.errors[i]),x.removeClass(a,"is-mouseover"),t.one("load progress",function(e){"progress"!=e.type||t.error||r()}))}).one("resume ready",function(){var e,t=x.find("video.fp-engine",a)[0];!t||x.width(t)&&x.height(t)||(e=a.style.overflow,a.style.overflow="visible",setTimeout(function(){e?a.style.overflow=e:a.style.removeProperty("overflow")}))}),D.on(a,"mouseenter mouseleave",function(e){var t;C||(A(e="mouseover"==e.type),e?(o.on("pause.x volume.x",e=function(){A(!0),t=new Date}),D.on(a,"mousemove.x touchmove.x",e),clearInterval(n),n=setInterval(function(){new Date-t>s.mouseoutTimeout&&(A(!1),t=new Date)},100)):(D.off(a,"mousemove.x touchmove.x"),o.off("pause.x volume.x"),clearInterval(n)))}),D.on(a,"mouseleave",function(){(v.dragging||I.dragging)&&(x.addClass(a,"is-mouseover"),x.removeClass(a,"is-mouseout"))}),D.on(a,"click.player",function(e){if(!o.disabled)return x.hasClass(e.target,"fp-ui")||x.hasClass(e.target,"fp-engine")||e.flash||x.hasParent(e.target,".fp-play,.fp-pause")?(e.preventDefault&&e.preventDefault(),o.toggle()):void 0}),D.on(a,"mousemove touchmove",".fp-timeline",function(e){var t=e.pageX||e.clientX,e=(t=!t&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length?e.originalEvent.touches[0].pageX:t)-x.offset(y).left,t=e/x.width(y),n=o.video,n=n.duration-(void 0===n.seekOffset?0:n.seekOffset),n=(o.rtl?1-t:t)*n;t<0||(x.html(p,Z(n)),!1!==(t=(t=(t=e-x.width(p)/2)<0?0:t)>x.width(y)-x.width(p)?!1:t)?x.css(p,{left:t+"px",right:"auto"}):x.css(p,{left:"auto",right:"0px"}))}),D.on(a,"contextmenu",function(e){var t,n=window;x.hasClass(a,"is-flash-disabled")||(t=x.find(".fp-context-menu",a)[0])&&(e.preventDefault(),o.showMenu(t,{left:e.clientX-n.scrollX,top:e.clientY-n.scrollY}),D.on(a,"click",".fp-context-menu",function(e){e.stopPropagation()}))}),o.on("flashdisabled",function(e,t,n){var i;x.addClass(a,"is-flash-disabled"),!1!==n&&(i=o.message("Seems something is blocking Adobe Flash from running")),o.one("ready progress",function(){x.removeClass(a,"is-flash-disabled"),i&&i()})}),s.poster&&x.css(a,"background-image","url("+s.poster+")");var E,t=x.css(a,"background-color"),w="none"!=x.css(a,"background-image")||t&&"rgba(0, 0, 0, 0)"!=t&&"transparent"!=t;function j(){var e=x.find(".fp-player",a)[0]||a;x.toggleClass(a,"is-tiny",e.clientWidth<400),x.toggleClass(a,"is-small",e.clientWidth<600&&400<=e.clientWidth)}w&&!s.splash&&(s.poster||(s.poster=!0),E=function(){x.addClass(a,"is-poster"),x.addClass(g,"fp-visible"),o.poster=!0,o.on("resume.poster progress.poster beforeseek.poster",function(e){"beforeseek"!==e.type&&!o.playing||(x.removeClass(a,"is-poster"),x.removeClass(g,"fp-visible"),o.poster=!1,o.off(".poster"))})},o.on("stop",function(){E()}),o.on("ready",function(e,t,n){n.index||n.autoplay||E()})),"string"==typeof s.splash&&x.css(a,"background-image","url('"+s.splash+"')"),!w&&o.forcedSplash&&x.css(a,"background-color","#555"),D.on(a,"click",".fp-toggle, .fp-play, .fp-playbtn",function(){o.disabled||o.toggle()}),D.on(a,"click",".fp-volumebtn",function(){o.mute()}),D.on(a,"click",".fp-fullscreen",function(){o.fullscreen()}),D.on(a,"click",".fp-unload",function(){o.unload()}),D.on(y,"slide",function(e){o.seeking=!0,o.manual_seeking=!0,o.seekTo(10*e)}),D.on(b,"slide",function(e){o.volume(e)}),D.on(a,"click",".fp-duration,.fp-remaining",function(){if(o.dvr)return o.seekTo(10);x.toggleClass(a,"is-inverted")}),A(C),o.on("shutdown",function(){D.off(y),D.off(b),x.removeNode(r),x.find(".fp-ratio",a).forEach(x.removeNode)}),j(),window.addEventListener("resize",j)}),t.exports.format=Z}.call(this)}.call(this,e("buffer").Buffer)},{"../common":1,"../flowplayer":31,"./ui/bar-slider":28,"./ui/slider":29,bean:34,buffer:35}],28:[function(e,t,n){var u=e("bean"),f=e("../../common");t.exports=function(r,e){var i=(e=e||{}).activeClass||"fp-color",o=e.inactiveClass||"fp-grey",t=e.childSelector||"em",a=!!e.rtl,n=!1,s=f.find(t,r).length,l={unload:function(){u.off(r,".barslider")},slide:function(n,e){f.find(t,r).forEach(function(e,t){t=t/s<n;f.toggleClass(e,i,t),f.toggleClass(e,o,!t)}),e&&u.fire(r,"slide",[n])},disable:function(e){n=e}};return u.on(r,"mousedown.sld touchstart.sld",function(e){e.preventDefault(),n||(l.slide(c(e),!0),u.on(flowplayer.support.touch?r:document,"mousemove.sld touchmove.sld",function(e){e.preventDefault(),l.slide(c(e),!0)}),u.one(document,"mouseup.sld touchup.sld",function(){u.off(flowplayer.support.touch?r:document,"mousemove.sld touchmove.sld")}))}),l;function c(e){var t=e.pageX||e.clientX,n=f.offset(r),i=f.width(r),e=(t=!t&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length?e.originalEvent.touches[0].pageX:t)-n.left,t=Math.max(0,Math.min(i,e))/i;return t=a?1-t:t}}},{"../../common":1,bean:34}],29:[function(e,t,n){"use strict";var v=e("bean"),w=e("../../common");t.exports=function(o,a){function s(){var e;n=w.offset(o),t=w.width(o),r=w.height(o),d=f?r:t,e=p,h=Math.max(0,Math.min(d,f?(1-e)*r:e*t))}function l(e,t){u||e==y.value||p&&!(e<p)||t||(v.fire(o,"slide",[e]),y.value=e)}function c(e){!(t=!(t=e.pageX||e.clientX)&&e.originalEvent&&e.originalEvent.pageX?e.originalEvent.pageX:t)&&e.originalEvent&&e.originalEvent.touches&&e.originalEvent.touches.length&&(t=e.originalEvent.touches[0].pageX);var e=f?e.pageY-n.top:t-n.left,t=Math.max(0,Math.min(h||d,e))/d;return f&&(t=1-t),a.rtl&&(t=1-t),i(t,0)}function i(e,t){void 0===t&&(t=0),1<e&&(e=1);var n=Math.round(1e3*e)/10+"%";return(!p||e<=p)&&(m?w.removeClass(g,"animated"):(w.addClass(g,"animated"),w.css(g,"transition-duration",(t||0)+"ms")),w.css(g,"width",n)),e}var u,n,t,r,f,d,p,h,g=w.lastChild(o),m=!1,y={max:function(e){p=e},disable:function(e){u=e},slide:function(e,t,n){s(),n&&l(e),i(e,t)},disableAnimation:function(e,t){m=!1!==e,w.toggleClass(o,"no-animation",!!t)}};return s(),v.on(o,"mousedown.sld touchstart",function(e){var t,n,i,r;e.preventDefault(),u||(n=l,i=100,t=function(){r||(n.apply(this,arguments),r=1,setTimeout(function(){r=0},i))},s(),y.dragging=!0,l(c(e)),v.on(document,"mousemove.sld touchmove.sld",function(e){w.addClass(o,"is-fp-dragging"),e.preventDefault(),t(c(e),a.video.timeline_vtt)}),v.one(document,"mouseup touchend",function(e){a.video.timeline_vtt?(l(c(e)),setTimeout(function(){y.dragging=!1},250)):y.dragging=!1,w.removeClass(o,"is-fp-dragging"),v.off(document,"mousemove.sld touchmove.sld")}))}),y}},{"../../common":1,bean:34}],30:[function(e,t,n){t.exports=function(e,t,n){try{var i=e,r=document.createElement("textarea"),i=(r.value=i,r.style.opacity=0,r.style.position="absolute",document.body.appendChild(r),r.select(),document.execCommand ("copy"));if(document.body.removeChild(r),!i)throw new Error("Unsuccessfull");t()}catch(e){n(e)}}},{}],31:[function(e,t,n){"use strict";var a,p=e("extend-object"),h=e("is-function"),g=e("bean"),i=e("./ext/ui/slider"),r=e("./ext/ui/bar-slider"),m=e("./common"),y=e("./ext/events"),v=[],w=[],o=window.onbeforeunload,s=(window.onbeforeunload=function(e){if(v.forEach(function(e){e.conf.splash?e.unload():e.bind("error",function(){m.find(".flowplayer.is-error .fp-message").forEach(m.removeNode)})}),o)return o(e)},/Safari/.exec(navigator.userAgent)&&!/Chrome/.exec(navigator.userAgent)),l=/(\d+\.\d+) Safari/.exec(navigator.userAgent),l=l?Number(l[1]):100,b=t.exports=function(e,t,n){return h(e)?w.push(e):"number"==typeof e||void 0===e?v[e||0]:e.nodeType?null!==e.getAttribute("data-flowplayer-instance-id")?v[e.getAttribute("data-flowplayer-instance-id")]:t?c(e,t,n):void 0:e.jquery?b(e[0],t,n):"string"==typeof e?(e=m.find(e)[0])&&b(e,t,n):void 0},I=(p(b,{version:"7.2.12",engines:[],engine:function(t){return b.engines.filter(function(e){return e.engineName===t})[0]},extensions:[],conf:{},set:function(e,t){"string"==typeof e?b.conf[e]=t:p(b.conf,e)},registerExtension:function(e,t){b.extensions.push([e,t])},support:{},defaults:{debug:!1,disabled:!1,fullscreen:window==window.top,keyboard:!0,ratio:9/16,adaptiveRatio:!1,rtmp:0,proxy:"best",hlsQualities:!0,seekStep:!1,splash:!1,live:!1,livePositionOffset:120,swf:"//releases.flowplayer.org/7.2.12/flowplayer.swf",swfHls:"//releases.flowplayer.org/7.2.12/flowplayerhls.swf",speeds:[.25,.5,1,1.5,2],tooltip:!0,mouseoutTimeout:5e3,mutedAutoplay:!0,clickToUnMute:!0,volume:1,errors:["","Video loading aborted","Network error","Video not properly encoded","Video file not found","Unsupported video","Skin not found","SWF file not found","Subtitles not found","Invalid RTMP URL","Unsupported video format. Try installing Adobe Flash."],errorUrls:["","","","","","","","","","","http://get.adobe.com/flashplayer/"],playlist:[],hlsFix:s&&l<8,disableInline:!1},bean:g,common:m,slider:i,barSlider:r,extend:p}),0),C=e("./ext/resolve");function c(e,t,n){t&&t.embed&&(t.embed=p({},b.defaults.embed,t.embed));var i=!1;try{void 0===b.conf.storage&&"object"==typeof window.localStorage&&(window.localStorage.flowplayerTestStorage="test",i=!0)}catch(e){}var r,o,a=e,s=p({},b.defaults,b.conf,t),l={},c=a.className,u=new C;m.addClass(a,"is-loading"),m.toggleClass(a,"no-flex",!b.support.flex),m.toggleClass(a,"no-svg",!b.support.svg);try{l=b.conf.storage||(i?window.localStorage:l)}catch(e){}s.volume="true"===l.muted?0:(s.volume!==b.defaults.volume||isNaN(l.volume)?s:l).volume,s.debug=!!l.flowplayerDebug||s.debug,s.aspectRatio&&"string"==typeof s.aspectRatio&&(e=s.aspectRatio.split(/[:\/]/),s.ratio=e[1]/e[0]);var t=a.currentStyle&&"rtl"===a.currentStyle.direction||window.getComputedStyle&&null!==window.getComputedStyle(a,null)&&"rtl"===window.getComputedStyle(a,null).getPropertyValue("direction"),f=(t&&m.addClass(a,"is-rtl"),{conf:s,currentSpeed:1,volumeLevel:s.muted?0:void 0===s.volume?+l.volume:s.volume,video:{},disabled:!1,finished:!1,loading:!1,muted:"true"==l.muted||s.muted,paused:!1,playing:!1,ready:!1,splash:!1,rtl:t,hijack:function(e){try{f.engine.suspendEngine()}catch(e){}f.hijacked=e},release:function(){try{f.engine.resumeEngine()}catch(e){}f.hijacked=!1},debug:function(){s.debug&&console.log.apply(console,["DEBUG"].concat([].slice.call(arguments)))},load:function(e,t){if(!f.error&&!f.loading){f.video={},f.finished=!1,e=e||s.clip,e=p({},u.resolve(e,s.clip.sources)),(f.playing||f.engine)&&(e.autoplay=!0);var n=d(e);if(!n)return setTimeout(function(){f.trigger("error",[f,{code:b.support.flashVideo?5:10}])})&&f;if(n.engineName)return f.engine&&n.engineName===f.engine.engineName||(f.ready=!1,f.engine&&(f.engine.unload(),f.conf.autoplay=!0),o=f.engine=n(f,a),f.one("ready",function(){setTimeout(function(){f.muted?f.mute(!0,!0):o.volume(f.volumeLevel)})})),p(e,o.pick(e.sources.filter(function(e){return!e.engine||e.engine===o.engineName}))),e.src&&(f.trigger("load",[f,e,o],!0).defaultPrevented?f.loading=!1:(f.ready=!1,o.load(e),(t=h(e)?e:t)&&f.one("ready",t))),f;throw new Error("engineName property of factory should be exposed")}},pause:function(e){return f.hijacked?f.hijacked.pause(e)|f:(!f.ready||f.seeking||f.loading||(o.pause(),f.one("pause",e)),f)},resume:function(){var e=f.trigger("beforeresume",[f],!0);if(!e.defaultPrevented)return f.hijacked?f.hijacked.resume()|f:(f.ready&&f.paused&&(o.resume(),f.finished&&(f.trigger("resume",[f]),f.finished=!1)),f)},toggle:function(){return f.ready?f.paused?f.resume():f.pause():f.load()},seek:function(e,t){var n;return"boolean"==typeof e&&(n=f.conf.seekStep||.1*f.video.duration,e=f.video.time+(e?n:-n),e=Math.min(Math.max(e,0),f.video.duration-.1)),void 0===e?f:f.hijacked?f.hijacked.seek(e,t)|f:(f.ready&&(r=e,f.trigger("beforeseek",[f,e],!0).defaultPrevented?(f.seeking=!1,f.manual_seeking=!1,m.toggleClass(a,"is-seeking",f.seeking)):(o.seek(e),h(t)&&f.one("seek",t))),f)},seekTo:function(e,t){return void 0===e?f.seek(r,t):void 0!==f.video.seekOffset?f.seek(f.video.seekOffset+.1*(f.video.duration-f.video.seekOffset)*e,t):f.seek(.1*f.video.duration*e,t)},mute:function(e,t){return void 0===e&&(e=!f.muted),f.muted=e,t||(l.muted=e,l.volume=(isNaN(l.volume)?s:l).volume),void 0!==o.mute?o.mute(e):(f.volume(e?0:l.volume,!0),f.trigger("mute",[f,e])),f},volume:function(e,t){return f.ready&&(e=Math.min(Math.max(e,0),1),t||(l.volume=e),o.volume(e)),f},speed:function(e,t){return f.ready&&("boolean"==typeof e&&(e=s.speeds[s.speeds.indexOf(f.currentSpeed)+(e?1:-1)]||f.currentSpeed),o.speed(e),t&&a.one("speed",t)),f},stop:function(){return f.ready&&(f.pause(),!f.live||f.dvr?f.seek(0,function(){f.trigger("stop",[f])}):f.trigger("stop",[f])),f},unload:function(){return s.splash?(f.trigger("unload",[f]),o&&(o.unload(),f.engine=o=0)):f.stop(),f},shutdown:function(){f.unload(),f.trigger("shutdown",[f]),g.off(a),delete v[a.getAttribute("data-flowplayer-instance-id")],a.removeAttribute("data-flowplayer-instance-id")},disable:function(e){return(e=void 0===e?!f.disabled:e)!=f.disabled&&(f.disabled=e,f.trigger("disable",e)),f},registerExtension:function(e,t){"string"==typeof(t=t||[])&&(t=[t]),(e="string"==typeof(e=e||[])?[e]:e).forEach(function(e){f.extensions.js.push(e)}),t.forEach(function(e){f.extensions.css.push(e)})}}),d=(f.conf=p(f.conf,s),f.extensions={js:[],css:[]},b.extensions.forEach(function(e){f.registerExtension(e[0],e[1])}),y(f),function(e){var n,i=b.engines;if(s.engine){var t=i.filter(function(e){return e.engineName===s.engine})[0];if(t&&e.sources.some(function(e){return(!e.engine||e.engine===t.engineName)&&t.canPlay(e.type,f.conf)}))return t}return s.enginePreference&&(i=b.engines.filter(function(e){return-1<s.enginePreference.indexOf(e.engineName)}).sort(function(e,t){return s.enginePreference.indexOf(e.engineName)-s.enginePreference.indexOf(t.engineName)})),e.sources.some(function(t){var e=i.filter(function(e){return(!t.engine||t.engine===e.engineName)&&e.canPlay(t.type,f.conf)}).shift();return e&&(n=e),!!e}),n});return a.getAttribute("data-flowplayer-instance-id")||(a.setAttribute("data-flowplayer-instance-id",I++),f.on("boot",function(){var e=b.support;!s.splash&&!m.hasClass(a,"is-splash")&&e.firstframe||(f.forcedSplash=!s.splash&&!m.hasClass(a,"is-splash"),f.splash=!0,s.splash||(s.splash=!0),m.addClass(a,"is-splash")),s.splash&&m.find("video",a).forEach(m.removeNode),(s.dvr||s.live||m.hasClass(a,"is-live"))&&(f.live=s.live=!0,f.dvr=s.dvr=!!s.dvr||m.hasClass(a,"is-dvr"),m.addClass(a,"is-live"),m.toggleClass(a,"is-dvr",f.dvr)),w.forEach(function(e){e(f,a)}),v.push(f),s.splash?f.unload():f.load(),s.disabled&&f.disable(),f.one("ready",n),f.one("shutdown",function(){a.className=c})}).on("load",function(e,t,n){s.splash&&m.find(".flowplayer.is-ready,.flowplayer.is-loading").forEach(function(e){var e=e.getAttribute("data-flowplayer-instance-id");e!==a.getAttribute("data-flowplayer-instance-id")&&(e=v[Number(e)])&&e.conf.splash&&e.unload()}),m.addClass(a,"is-loading"),t.loading=!0,void 0===n.live&&void 0===n.dvr||(m.toggleClass(a,"is-live",n.dvr||n.live),m.toggleClass(a,"is-dvr",!!n.dvr),t.live=n.dvr||n.live,t.dvr=!!n.dvr)}).on("ready",function(e,t,n){n.time=0,t.video=n,m.removeClass(a,"is-loading"),t.loading=!1,t.muted?t.mute(!0,!0):t.volume(t.volumeLevel);t=t.conf.hlsFix&&/mpegurl/i.exec(n.type);m.toggleClass(a,"hls-fix",!!t)}).on("unload",function(){m.removeClass(a,"is-loading"),f.loading=!1}).on("ready unload",function(e){e="ready"==e.type;m.toggleClass(a,"is-splash",!e),m.toggleClass(a,"is-ready",e),f.ready=e,f.splash=!e}).on("progress",function(e,t,n){t.video.time=n}).on("buffer",function(e,t,n){t.video.buffer="number"==typeof n?n:n.length?n[n.length-1].end:0}).on("speed",function(e,t,n){t.currentSpeed=n}).on("volume",function(e,t,n){t.volumeLevel=Math.round(100*n)/100,t.muted&&n&&t.mute(!1)}).on("beforeseek seek",function(e){f.seeking="beforeseek"==e.type,m.toggleClass(a,"is-seeking",f.seeking),"seek"==e.type&&setTimeout(function(){f.manual_seeking=!1},0)}).on("ready pause resume unload finish stop",function(e){f.paused=/pause|finish|unload|stop/.test(e.type),f.paused=f.paused||"ready"===e.type&&!s.autoplay&&!f.playing,f.playing=!f.paused,m.toggleClass(a,"is-paused",f.paused),m.toggleClass(a,"is-playing",f.playing),f.load.ed||f.pause()}).on("finish",function(){f.finished=!0}).on("error",function(){})),f.trigger("boot",[f,a]),f}void 0!==window.jQuery&&((a=window.jQuery)(function(){"function"==typeof a.fn.flowplayer&&a('.flowplayer:has(video:not(.fp-engine),script[type="application/json"])').flowplayer()}),a.fn.flowplayer=function(i,r){return this.each(function(){h(i="string"==typeof i?{swf:i}:i)&&(r=i,i={});var t=a(this),e=t.find('script[type="application/json"]'),e=e.length?JSON.parse(e.text()):function(i){if(!i.length)return{};var r=i.data()||{},o={};return a.each(["autoplay","loop","preload","poster"],function(e,t){var n=i.attr(t);void 0!==n&&-1!==["autoplay","poster"].indexOf(t)?o[t]=n||!0:void 0!==n&&(r[t]=n||!0)}),i[0].autoplay=i[0].preload=!1,r.subtitles=i.find("track").map(function(){var e=a(this);return{src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label"),srclang:e.attr("srclang"),default:e.prop("default")}}).get(),r.sources=(new C).sourcesFromVideoTag(i,a),p(o,{clip:r})}(t.find("video")),n=c(this,a.extend({},i||{},e,t.data()),r);y.EVENTS.forEach(function(e){n.on(e+".jquery",function(e){t.trigger.call(t,e.type,e.detail&&e.detail.args)})}),t.data("flowplayer",n)})})},{"./common":1,"./ext/events":12,"./ext/resolve":21,"./ext/ui/bar-slider":28,"./ext/ui/slider":29,bean:34,"extend-object":39,"is-function":42}],32:[function(e,t,n){e("es5-shim");var g=t.exports=e("./flowplayer");e("./ext/support"),e("./engine/embed"),e("./engine/hlsjs"),e("./engine/html5"),e("./engine/flash"),e("./ext/ui"),e("./ext/message"),e("./ext/keyboard"),e("./ext/playlist"),e("./ext/cuepoint"),e("./ext/subtitle"),e("./ext/analytics"),e("./ext/share"),e("./ext/facebook"),e("./ext/twitter"),e("./ext/embed"),e("./ext/airplay"),e("./ext/chromecast"),e("./ext/qsel"),e("./ext/menu"),e("./ext/fullscreen"),e("./ext/mobile"),g(function(e,s){function t(e,t){var n,i,r,o;n=t,i="ab.ca,ac.ac,ac.ae,ac.at,ac.be,ac.cn,ac.il,ac.in,ac.jp,ac.kr,ac.sg,ac.th,ac.uk,ad.jp,adm.br,adv.br,ah.cn,am.br,arq.br,art.br,arts.ro,asn.au,asso.fr,asso.mc,bc.ca,bel.tr,bio.br,biz.pl,biz.tr,bj.cn,br.com,cn.com,cng.br,cnt.br,co.ac,co.at,co.de,co.gl,co.hk,co.id,co.il,co.in,co.jp,co.kr,co.mg,co.ms,co.nz,co.th,co.uk,co.ve,co.vi,co.za,com.ag,com.ai,com.ar,com.au,com.br,com.cn,com.co,com.cy,com.de,com.do,com.ec,com.es,com.fj,com.fr,com.gl,com.gt,com.hk,com.hr,com.hu,com.kg,com.ki,com.lc,com.mg,com.mm,com.ms,com.mt,com.mu,com.mx,com.my,com.na,com.nf,com.ng,com.ni,com.pa,com.ph,com.pl,com.pt,com.qa,com.ro,com.ru,com.sb,com.sc,com.sg,com.sv,com.tr,com.tw,com.ua,com.uy,com.ve,com.vn,cp.tz,cq.cn,de.com,de.org,ecn.br,ed.jp,edu.au,edu.cn,edu.hk,edu.mm,edu.my,edu.pl,edu.pt,edu.qa,edu.sg,edu.tr,edu.tw,eng.br,ernet.in,esp.br,etc.br,eti.br,eu.com,eu.int,eu.lv,firm.in,firm.ro,fm.br,fot.br,fst.br,g12.br,gb.com,gb.net,gd.cn,gen.in,go.jp,go.kr,go.th,gov.au,gov.az,gov.br,gov.cn,gov.il,gov.in,gov.mm,gov.my,gov.qa,gov.sg,gov.tr,gov.tw,gov.uk,govt.nz,gr.jp,gs.cn,gv.ac,gv.at,gx.cn,gz.cn,he.cn,hi.cn,hk.cn,hl.cn,hu.com,id.au,idv.tw,in.th,in.ua,ind.br,ind.in,inf.br,info.pl,info.ro,info.tr,info.ve,iwi.nz,jl.cn,jor.br,js.cn,jus.br,k12.il,k12.tr,kr.com,lel.br,lg.jp,ln.cn,ltd.uk,maori.nz,mb.ca,me.uk,med.br,mi.th,mil.br,mil.uk,mo.cn,mod.uk,muni.il,nb.ca,ne.jp,ne.kr,net.ag,net.ai,net.au,net.br,net.cn,net.do,net.gl,net.hk,net.il,net.in,net.kg,net.ki,net.lc,net.mg,net.mm,net.mu,net.ni,net.nz,net.pl,net.ru,net.sb,net.sc,net.sg,net.th,net.tr,net.tw,net.uk,net.ve,nf.ca,nhs.uk,nm.cn,nm.kr,no.com,nom.br,nom.ni,nom.ro,ns.ca,nt.ca,nt.ro,ntr.br,nx.cn,odo.br,off.ai,on.ca,or.ac,or.at,or.jp,or.kr,or.th,org.ag,org.ai,org.au,org.br,org.cn,org.do,org.es,org.gl,org.hk,org.in,org.kg,org.ki,org.lc,org.mg,org.mm,org.ms,org.nf,org.ng,org.ni,org.nz,org.pl,org.ro,org.ru,org.sb,org.sc,org.sg,org.tr,org.tw,org.uk,org.ve,pe.ca,plc.uk,police.uk,ppg.br,presse.fr,pro.br,psc.br,psi.br,qc.ca,qc.com,qh.cn,rec.br,rec.ro,res.in,sa.com,sc.cn,sch.uk,se.com,se.net,sh.cn,sk.ca,slg.br,sn.cn,store.ro,tj.cn,tm.fr,tm.mc,tm.ro,tmp.br,tur.br,tv.br,tv.tr,tw.cn,uk.com,uk.net,us.com,uy.com,vet.br,waw.pl,web.ve,www.ro,xj.cn,xz.cn,yk.ca,yn.cn,zj.cn,zlg.br".split(","),r=(n=n.toLowerCase()).split(".");for(var a=0,s=(t=(o=r.length)<2||/^\d+$/.test(r[o-1])?n:(n=r.slice(-2).join("."),3<=o&&0<=i.indexOf(n)?r.slice(-3).join("."):n)).length-1;0<=s;s--)a+=0x65cb98ae4ad1ec*t.charCodeAt(s);for(a=(""+a).substring(0,7),s=0;s<e.length;s++)if(a===e[s].substring(1,8))return 1}var l,c,u,f,n,i,r=e.conf,o=g.common,a=o.createElement,d=r.swf.indexOf("flowplayer.org")&&r.e&&s.getAttribute("data-origin"),p=d?(p=d,(h=document.createElement("a")).href=p,o.hostname(h.hostname)):o.hostname(),h=(document,r.key);"file:"==location.protocol&&(p="localhost"),e.load.ed=1,r.hostname=p,r.origin=d||location.href,d&&(i="is-embedded",-1===(n=s).className.split(" ").indexOf(i)&&(n.className+=" "+i)),(h="string"==typeof h?h.split(/,\s*/):h)&&t(h,p)?r.logo&&(c=o.find(".fp-player",s)[0],n=r.logo.href||"",i=r.logo.src||r.logo,l=a("a",{className:"fp-logo",href:n}),d&&(l.href=l.href||d),r.embed&&r.embed.popup&&(l.target="_blank"),d=a("img",{src:i}),l.appendChild(d),(c||s).appendChild(l)):(l=a("a",{onclick:""}),((c=o.find(".fp-player",s)[0])||s).appendChild(l),u=a("div",{className:"fp-context-menu fp-menu"},'<strong>&copy; 2018 Flowplayer AB</strong><a href="https://flowplayer.com/hello/?from=player">About Flowplayer</a><a href="https://flowplayer.com/license">GPL based license</a>'),7!==(f=window.location.href.indexOf("localhost"))&&(c||s).appendChild(u),e.on("pause resume finish unload ready",function(e,t){var n=-1;if(t.video.src)for(var i=[["org","flowplayer","drive"],["org","flowplayer","my"],["org","flowplayer","cdn"],["com","flowplayer","cdn"]],r=0;r<i.length&&-1===(n=t.video.src.indexOf("://"+i[r].reverse().join(".")));r++);if(/pause|resume/.test(e.type)&&"flash"!=t.engine.engineName&&4!=n&&5!=n){var o,a={display:"block",position:"absolute",left:"16px",bottom:"56px",zIndex:99999,width:"120px",height:"27px",backgroundImage:"url("+[".png","fplogo","/",".com","foliovision","//","https:"].reverse().join("")+")"};for(o in a)a.hasOwnProperty(o)&&(l.style[o]=a[o]);t.load.ed=(e=l,"none"!==window.getComputedStyle(e).display&&(7===f||u.parentNode==s||u.parentNode==c)),t.load.ed||t.pause()}else l.style.display="none"}))})},{"./engine/embed":2,"./engine/flash":3,"./engine/hlsjs":4,"./engine/html5":6,"./ext/airplay":7,"./ext/analytics":8,"./ext/chromecast":9,"./ext/cuepoint":10,"./ext/embed":11,"./ext/facebook":13,"./ext/fullscreen":14,"./ext/keyboard":15,"./ext/menu":16,"./ext/message":17,"./ext/mobile":18,"./ext/playlist":19,"./ext/qsel":20,"./ext/share":22,"./ext/subtitle":23,"./ext/support":25,"./ext/twitter":26,"./ext/ui":27,"./flowplayer":31,"es5-shim":38}],33:[function(e,t,n){"use strict";n.byteLength=function(e){var e=u(e),t=e[0],e=e[1];return 3*(t+e)/4-e},n.toByteArray=function(e){var t,n,i=u(e),r=i[0],i=i[1],o=new c(function(e,t){return 3*(e+t)/4-t}(r,i)),a=0,s=0<i?r-4:r;for(n=0;n<s;n+=4)t=l[e.charCodeAt(n)]<<18|l[e.charCodeAt(n+1)]<<12|l[e.charCodeAt(n+2)]<<6|l[e.charCodeAt(n+3)],o[a++]=t>>16&255,o[a++]=t>>8&255,o[a++]=255&t;2===i&&(t=l[e.charCodeAt(n)]<<2|l[e.charCodeAt(n+1)]>>4,o[a++]=255&t);1===i&&(t=l[e.charCodeAt(n)]<<10|l[e.charCodeAt(n+1)]<<4|l[e.charCodeAt(n+2)]>>2,o[a++]=t>>8&255,o[a++]=255&t);return o},n.fromByteArray=function(e){for(var t,n=e.length,i=n%3,r=[],o=0,a=n-i;o<a;o+=16383)r.push(function(e,t,n){for(var i,r=[],o=t;o<n;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),r.push(function(e){return s[e>>18&63]+s[e>>12&63]+s[e>>6&63]+s[63&e]}(i));return r.join("")}(e,o,a<o+16383?a:o+16383));1==i?(t=e[n-1],r.push(s[t>>2]+s[t<<4&63]+"==")):2==i&&(t=(e[n-2]<<8)+e[n-1],r.push(s[t>>10]+s[t>>4&63]+s[t<<2&63]+"="));return r.join("")};for(var s=[],l=[],c="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r=0,o=i.length;r<o;++r)s[r]=i[r],l[i.charCodeAt(r)]=r;function u(e){var t=e.length;if(0<t%4)throw new Error("Invalid string. Length must be a multiple of 4");e=e.indexOf("="),t=(e=-1===e?t:e)===t?0:4-e%4;return[e,t]}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},{}],34:[function(e,t,n){var i,r;i=this,r=function(e,t){e=e||"bean",t=t||this;function l(e,t){return A||t||e!==M&&e!==w?e:S}function n(e){a=arguments.length?e:M.querySelectorAll?function(e,t){return t.querySelectorAll(e)}:function(){throw new Error("Bean: No selector engine installed")}}function o(e,t){if(A||!t||!e||e.propertyName=="_on"+t){var n=L.get(this,t||e.type,null,!1),i=n.length,r=0;for(e=new B(e,this,!0),t&&(e.type=t);r<i&&!e.isImmediatePropagationStopped();r++)n[r].removed||n[r].handler.call(this,e)}}function z(r,n){function i(e,t){for(var n,i=x(r)?a(r,t):r;e&&e!==t;e=e.parentNode)for(n=i.length;n--;)if(i[n]===e)return e}function e(e){var t=i(e.target,this);t&&n.apply(t,arguments)}return e.__beanDel={ft:i,selector:r},e}function f(e,t,n,i){var r,o,a,s,l,c,u;if(void 0!==n||"object"!=typeof t){for(i=J(n)?(l=j.call(arguments,3),r=n):(r=i,l=j.call(arguments,4),z(n,r)),a=N(t),this===R&&(i=V(Z,e,t,i,r)),s=a.length;s--;)u=L.put(c=new H(e,a[s].replace(I,""),i,r,N(a[s].replace(b,""),"."),l,!1)),c[E]&&u&&F(e,c.eventType,!0,c.customType);return e}for(o in t)t.hasOwnProperty(o)&&f.call(this,e,o,t[o])}var a,d,p,i,r,s,c,u,h,g,m,Y,y,v,G,O,w=window,W=t[e],b=/[^\.]*(?=\..*)\.|.*/,I=/\..*/,C="addEventListener",M=document||{},S=M.documentElement||{},A=S[C],E=A?C:"attachEvent",R={},j=Array.prototype.slice,N=function(e,t){return e.split(t||" ")},x=function(e){return"string"==typeof e},J=function(e){return"function"==typeof e},U=function(e,t,n){for(n=0;n<t.length;n++)t[n]&&(e[t[n]]=1);return e}({},N("click dblclick mouseup mousedown contextmenu mousewheel mousemultiwheel DOMMouseScroll mouseover mouseout mousemove selectstart selectend keydown keypress keyup orientationchange focus blur change reset select submit load unload beforeunload resize move DOMContentLoaded readystatechange message error abort scroll "+(A?"show input invalid touchstart touchmove touchend touchcancel gesturestart gesturechange gestureend textinput readystatechange pageshow pagehide popstate hashchange offline online afterprint beforeprint dragstart dragenter dragover dragleave drag drop dragend loadstart progress suspend emptied stalled loadmetadata loadeddata canplay canplaythrough playing waiting seeking seeked ended durationchange timeupdate play pause ratechange volumechange cuechange checking noupdate downloading cached updateready obsolete ":""))),D=(G="compareDocumentPosition"in S?function(e,t){return t.compareDocumentPosition&&16==(16&t.compareDocumentPosition(e))}:"contains"in S?function(e,t){return(t=9===t.nodeType||t===window?S:t)!==e&&t.contains(e)}:function(e,t){for(;e=e.parentNode;)if(e===t)return 1;return 0},{mouseenter:{base:"mouseover",condition:Q},mouseleave:{base:"mouseout",condition:Q},mousewheel:{base:/Firefox/.test(navigator.userAgent)?"DOMMouseScroll":"mousewheel"}}),B=(i=N("altKey attrChange attrName bubbles cancelable ctrlKey currentTarget detail eventPhase getModifierState isTrusted metaKey relatedNode relatedTarget shiftKey srcElement target timeStamp type view which propertyName"),r=i.concat(N("button buttons clientX clientY dataTransfer fromElement offsetX offsetY pageX pageY screenX screenY toElement")),s=r.concat(N("wheelDelta wheelDeltaX wheelDeltaY wheelDeltaZ axis")),c=i.concat(N("char charCode key keyCode keyIdentifier keyLocation location")),u=i.concat(N("data")),h=i.concat(N("touches targetTouches changedTouches scale rotation")),g=i.concat(N("data origin source")),m=i.concat(N("state")),Y=/over|out/,y=[{reg:/key/i,fix:function(e,t){return t.keyCode=e.keyCode||e.which,c}},{reg:/click|mouse(?!(.*wheel|scroll))|menu|drag|drop/i,fix:function(e,t,n){return t.rightClick=3===e.which||2===e.button,t.pos={x:0,y:0},e.pageX||e.pageY?(t.clientX=e.pageX,t.clientY=e.pageY):(e.clientX||e.clientY)&&(t.clientX=e.clientX+M.body.scrollLeft+S.scrollLeft,t.clientY=e.clientY+M.body.scrollTop+S.scrollTop),Y.test(n)&&(t.relatedTarget=e.relatedTarget||e[("mouseover"==n?"from":"to")+"Element"]),r}},{reg:/mouse.*(wheel|scroll)/i,fix:function(){return s}},{reg:/^text/i,fix:function(){return u}},{reg:/^touch|^gesture/i,fix:function(){return h}},{reg:/^message$/i,fix:function(){return g}},{reg:/^popstate$/i,fix:function(){return m}},{reg:/.*/,fix:function(){return i}}],v={},P.prototype.preventDefault=function(){this.originalEvent.preventDefault?this.originalEvent.preventDefault():this.originalEvent.returnValue=!1},P.prototype.stopPropagation=function(){this.originalEvent.stopPropagation?this.originalEvent.stopPropagation():this.originalEvent.cancelBubble=!0},P.prototype.stop=function(){this.preventDefault(),this.stopPropagation(),this.stopped=!0},P.prototype.stopImmediatePropagation=function(){this.originalEvent.stopImmediatePropagation&&this.originalEvent.stopImmediatePropagation(),this.isImmediatePropagationStopped=function(){return!0}},P.prototype.isImmediatePropagationStopped=function(){return this.originalEvent.isImmediatePropagationStopped&&this.originalEvent.isImmediatePropagationStopped()},P.prototype.clone=function(e){var t=new P(this,this.element,this.isNative);return t.currentTarget=e,t},P),H=(k.prototype.inNamespaces=function(e){var t,n,i=0;if(!e)return!0;if(!this.namespaces)return!1;for(t=e.length;t--;)for(n=this.namespaces.length;n--;)e[t]==this.namespaces[n]&&i++;return e.length===i},k.prototype.matches=function(e,t,n){return!(this.element!==e||t&&this.original!==t||n&&this.handler!==n)},k),L=(d={},p=function(e,t,n,i,r,o){var a=r?"r":"$";if(t&&"*"!=t){var s,l=0,c=d[a+t],u="*"==e;if(c)for(s=c.length;l<s;l++)if((u||c[l].matches(e,n,i))&&!o(c[l],c,l,t))return}else for(var f in d)f.charAt(0)==a&&p(e,f.substr(1),n,i,r,o)},{has:function(e,t,n,i){var r,o=d[(i?"r":"$")+t];if(o)for(r=o.length;r--;)if(!o[r].root&&o[r].matches(e,n,null))return!0;return!1},get:function(e,t,n,i){var r=[];return p(e,t,n,null,i,function(e){return r.push(e)}),r},put:function(e){var t=!e.root&&!this.has(e.element,e.type,null,!1),n=(e.root?"r":"$")+e.type;return(d[n]||(d[n]=[])).push(e),t},del:function(e){p(e.element,e.type,null,e.handler,e.root,function(e,t,n){return t.splice(n,1),e.removed=!0,0===t.length&&delete d[(e.root?"r":"$")+e.type],!1})},entries:function(){var e,t=[];for(e in d)"$"==e.charAt(0)&&(t=t.concat(d[e]));return t}}),F=A?function(e,t,n){e[n?C:"removeEventListener"](t,o,!1)}:function(t,e,n,i){var r;n?(L.put(r=new H(t,i||e,function(e){o.call(t,e,i)},o,null,null,!0)),i&&null==t["_on"+i]&&(t["_on"+i]=0),r.target.attachEvent("on"+r.eventType,r.handler)):(r=L.get(t,i||e,o,!0)[0])&&(r.target.detachEvent("on"+r.eventType,r.handler),L.del(r))},V=function(e,t,n,i,r){return function(){i.apply(this,arguments),e(t,n,r)}},T=function(e,t,n,i){for(var t=t&&t.replace(I,""),r=L.get(e,t,null,!1),o={},a=0,s=r.length;a<s;a++)n&&r[a].original!==n||!r[a].inNamespaces(i)||(L.del(r[a]),!o[r[a].eventType]&&r[a][E]&&(o[r[a].eventType]={t:r[a].eventType,c:r[a].type}));for(a in o)L.has(e,o[a].t,null,!1)||F(e,o[a].t,!1,o[a].c)},X=A?function(e,t,n){var i=M.createEvent(e?"HTMLEvents":"UIEvents");i[e?"initEvent":"initUIEvent"](t,!0,!0,w,1),n.dispatchEvent(i)}:function(e,t,n){n=l(n,e),e?n.fireEvent("on"+t,M.createEventObject()):n["_on"+t]++},Z=function(e,t,n){var i,r,o,a=x(t);if(a&&0<t.indexOf(" ")){for(o=(t=N(t)).length;o--;)Z(e,t[o],n);return e}if((r=a&&t.replace(I,""))&&D[r]&&(r=D[r].base),!t||a)(a=a&&t.replace(b,""))&&(a=N(a,".")),T(e,r,n,a);else if(J(t))T(e,null,t);else for(i in t)t.hasOwnProperty(i)&&Z(e,i,t[i]);return e},_={on:f,add:function(e,t,n,i){return f.apply(null,x(n)?[e,n,t,i].concat(3<arguments.length?j.call(arguments,5):[]):j.call(arguments))},one:function(){return f.apply(R,arguments)},off:Z,remove:Z,clone:function(e,t,n){for(var i,r,o=L.get(t,n,null,!1),a=o.length,s=0;s<a;s++)o[s].original&&(i=[e,o[s].type],(r=o[s].handler.__beanDel)&&i.push(r.selector),i.push(o[s].original),f.apply(null,i));return e},fire:function(e,t,n){for(var i,r,o,a,s=N(t),l=s.length;l--;)if(t=s[l].replace(I,""),(o=(o=s[l].replace(b,""))?N(o,"."):o)||n||!e[E])for(a=L.get(e,t,null,!1),n=[!1].concat(n),i=0,r=a.length;i<r;i++)a[i].inNamespaces(o)&&a[i].handler.apply(e,n);else X(U[t],t,e);return e},Event:B,setSelectorEngine:n,noConflict:function(){return t[e]=W,this}};function K(n,i,r,o){function a(e,t){return i.apply(n,o?j.call(t,e?0:1).concat(o):t)}function s(e,t){return i.__beanDel?i.__beanDel.ft(e.target,n):t}var e=r?function(e){var t=s(e,this);if(r.apply(t,arguments))return e&&(e.currentTarget=t),a(e,arguments)}:function(e){return i.__beanDel&&(e=e.clone(s(e))),a(e,arguments)};return e.__beanDel=i.__beanDel,e}function k(e,t,n,i,r,o,a){var s=D[t];"unload"==t&&(n=V(T,e,t,n,i)),s&&(s.condition&&(n=K(e,n,s.condition,o)),t=s.base||t),this.isNative=s=U[t]&&!!e[E],this.customType=!A&&!s&&t,this.element=e,this.type=t,this.original=i,this.namespaces=r,this.eventType=A||s?t:"propertychange",this.target=l(e,s),this[E]=!!this.target[E],this.root=a,this.handler=K(e,n,null,o)}function P(e,t,n){if(arguments.length&&(e=e||((t.ownerDocument||t.document||t).parentWindow||w).event,this.originalEvent=e,this.isNative=n,this.isBean=!0,e)){var i,r,o,a,s,l=e.type,c=e.target||e.srcElement;if(this.target=c&&3===c.nodeType?c.parentNode:c,n){if(!(s=v[l]))for(i=0,r=y.length;i<r;i++)if(y[i].reg.test(l)){v[l]=s=y[i].fix;break}for(i=(a=s(e,this,l)).length;i--;)!((o=a[i])in this)&&o in e&&(this[o]=e[o])}}}function Q(e){return(e=e.relatedTarget)?e!==this&&"xul"!==e.prefix&&!/document/.test(this.toString())&&!G(e,this):null==e}return w.attachEvent&&w.attachEvent("onunload",O=function(){var e,t=L.entries();for(e in t)t[e].type&&"unload"!==t[e].type&&Z(t[e].element,t[e].type);w.detachEvent("onunload",O),w.CollectGarbage&&w.CollectGarbage()}),n(),_},void 0!==t&&t.exports?t.exports=r():i.bean=r()},{}],35:[function(L,e,T){!function(e){!function(){"use strict";var S=L("base64-js"),o=L("ieee754"),t=(T.Buffer=f,T.SlowBuffer=function(e){+e!=e&&(e=0);return f.alloc(+e)},T.INSPECT_MAX_BYTES=50,2147483647);function l(e){if(t<e)throw new RangeError('The value "'+e+'" is invalid for option "size"');e=new Uint8Array(e);return e.__proto__=f.prototype,e}function f(e,t,n){if("number"!=typeof e)return i(e,t,n);if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return a(e)}function i(e,t,n){if("string"==typeof e){var i=e,r=t;if(!f.isEncoding(r="string"==typeof r&&""!==r?r:"utf8"))throw new TypeError("Unknown encoding: "+r);var o=0|d(i,r),a=l(o);return a=(i=a.write(i,r))!==o?a.slice(0,i):a}if(ArrayBuffer.isView(e))return c(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(x(e,ArrayBuffer)||e&&x(e.buffer,ArrayBuffer)){r=e,o=t,i=n;if(o<0||r.byteLength<o)throw new RangeError('"offset" is outside of buffer bounds');if(r.byteLength<o+(i||0))throw new RangeError('"length" is outside of buffer bounds');return(r=void 0===o&&void 0===i?new Uint8Array(r):void 0===i?new Uint8Array(r,o):new Uint8Array(r,o,i)).__proto__=f.prototype,r}if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');a=e.valueOf&&e.valueOf();if(null!=a&&a!==e)return f.from(a,t,n);var s=function(e){{var t,n;if(f.isBuffer(e))return t=0|u(e.length),0===(n=l(t)).length||e.copy(n,0,0,t),n}if(void 0!==e.length)return"number"!=typeof e.length||D(e.length)?l(0):c(e);if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(s)return s;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return f.from(e[Symbol.toPrimitive]("string"),t,n);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function r(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function a(e){return r(e),l(e<0?0:0|u(e))}function c(e){for(var t=e.length<0?0:0|u(e.length),n=l(t),i=0;i<t;i+=1)n[i]=255&e[i];return n}function u(e){if(t<=e)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+t.toString(16)+" bytes");return 0|e}function d(e,t){if(f.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||x(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var n=e.length,i=2<arguments.length&&!0===arguments[2];if(!i&&0===n)return 0;for(var r=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":return E(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return j(e).length;default:if(r)return i?-1:E(e).length;t=(""+t).toLowerCase(),r=!0}}function n(e,t,n){var i,r=!1;if((t=void 0===t||t<0?0:t)>this.length)return"";if((n=void 0===n||n>this.length?this.length:n)<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e=e||"utf8";;)switch(e){case"hex":var o=this,a=t,s=n,l=o.length;(!s||s<0||l<s)&&(s=l);for(var c="",u=a=!a||a<0?0:a;u<s;++u)c+=function(e){return e<16?"0"+e.toString(16):e.toString(16)}(o[u]);return c;case"utf8":case"utf-8":return A(this,t,n);case"ascii":var f=this,l=t,d=n,p="";d=Math.min(f.length,d);for(var h=l;h<d;++h)p+=String.fromCharCode(127&f[h]);return p;case"latin1":case"binary":var g=this,a=t,m=n,y="";m=Math.min(g.length,m);for(var v=a;v<m;++v)y+=String.fromCharCode(g[v]);return y;case"base64":return w=this,i=n,0===(b=t)&&i===w.length?S.fromByteArray(w):S.fromByteArray(w.slice(b,i));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":for(var w=t,b=n,I=this.slice(w,b),C="",M=0;M<I.length;M+=2)C+=String.fromCharCode(I[M]+256*I[M+1]);return C;default:if(r)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),r=!0}}function s(e,t,n){var i=e[t];e[t]=e[n],e[n]=i}function p(e,t,n,i,r){if(0===e.length)return-1;if("string"==typeof n?(i=n,n=0):2147483647<n?n=2147483647:n<-2147483648&&(n=-2147483648),(n=(n=D(n=+n)?r?0:e.length-1:n)<0?e.length+n:n)>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=f.from(t,i)),f.isBuffer(t))return 0===t.length?-1:h(e,t,n,i,r);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?(r?Uint8Array.prototype.indexOf:Uint8Array.prototype.lastIndexOf).call(e,t,n):h(e,[t],n,i,r);throw new TypeError("val must be string, number or Buffer")}function h(e,t,n,i,r){var o=1,a=e.length,s=t.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(e.length<2||t.length<2)return-1;a/=o=2,s/=2,n/=2}function l(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(r)for(var c=-1,u=n;u<a;u++)if(l(e,u)===l(t,-1===c?0:u-c)){if(u-(c=-1===c?u:c)+1===s)return c*o}else-1!==c&&(u-=u-c),c=-1;else for(u=n=a<n+s?a-s:n;0<=u;u--){for(var f=!0,d=0;d<s;d++)if(l(e,u+d)!==l(t,d)){f=!1;break}if(f)return u}return-1}function m(e,t,n,i){return N(function(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}(t),e,n,i)}function y(e,t,n,i){return N(function(e,t){for(var n,i,r=[],o=0;o<e.length&&!((t-=2)<0);++o)i=e.charCodeAt(o),n=i>>8,i=i%256,r.push(i),r.push(n);return r}(t,e.length-n),e,n,i)}function A(e,t,n){n=Math.min(e.length,n);for(var i=[],r=t;r<n;){var o,a,s,l,c=e[r],u=null,f=239<c?4:223<c?3:191<c?2:1;if(r+f<=n)switch(f){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[r+1]))&&127<(l=(31&c)<<6|63&o)&&(u=l);break;case 3:o=e[r+1],a=e[r+2],128==(192&o)&&128==(192&a)&&2047<(l=(15&c)<<12|(63&o)<<6|63&a)&&(l<55296||57343<l)&&(u=l);break;case 4:o=e[r+1],a=e[r+2],s=e[r+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&65535<(l=(15&c)<<18|(63&o)<<12|(63&a)<<6|63&s)&&l<1114112&&(u=l)}null===u?(u=65533,f=1):65535<u&&(u-=65536,i.push(u>>>10&1023|55296),u=56320|1023&u),i.push(u),r+=f}var d=i,p=d.length;if(p<=v)return String.fromCharCode.apply(String,d);for(var h="",g=0;g<p;)h+=String.fromCharCode.apply(String,d.slice(g,g+=v));return h}T.kMaxLength=t,(f.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()}catch(e){return!1}}())||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(f.prototype,"parent",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.buffer}}),Object.defineProperty(f.prototype,"offset",{enumerable:!0,get:function(){if(f.isBuffer(this))return this.byteOffset}}),"undefined"!=typeof Symbol&&null!=Symbol.species&&f[Symbol.species]===f&&Object.defineProperty(f,Symbol.species,{value:null,configurable:!0,enumerable:!1,writable:!1}),f.poolSize=8192,f.from=i,f.prototype.__proto__=Uint8Array.prototype,f.__proto__=Uint8Array,f.alloc=function(e,t,n){return t=t,n=n,r(e=e),!(e<=0)&&void 0!==t?"string"==typeof n?l(e).fill(t,n):l(e).fill(t):l(e)},f.allocUnsafe=a,f.allocUnsafeSlow=a,f.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==f.prototype},f.compare=function(e,t){if(x(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),x(t,Uint8Array)&&(t=f.from(t,t.offset,t.byteLength)),!f.isBuffer(e)||!f.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var n=e.length,i=t.length,r=0,o=Math.min(n,i);r<o;++r)if(e[r]!==t[r]){n=e[r],i=t[r];break}return n<i?-1:i<n?1:0},f.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},f.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return f.alloc(0);if(void 0===t)for(r=t=0;r<e.length;++r)t+=e[r].length;for(var n=f.allocUnsafe(t),i=0,r=0;r<e.length;++r){var o=e[r];if(x(o,Uint8Array)&&(o=f.from(o)),!f.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},f.byteLength=d,f.prototype._isBuffer=!0,f.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)s(this,t,t+1);return this},f.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)s(this,t,t+3),s(this,t+1,t+2);return this},f.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)s(this,t,t+7),s(this,t+1,t+6),s(this,t+2,t+5),s(this,t+3,t+4);return this},f.prototype.toLocaleString=f.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?A(this,0,e):n.apply(this,arguments)},f.prototype.equals=function(e){if(f.isBuffer(e))return this===e||0===f.compare(this,e);throw new TypeError("Argument must be a Buffer")},f.prototype.inspect=function(){var e="",t=T.INSPECT_MAX_BYTES,e=this.toString("hex",0,t).replace(/(.{2})/g,"$1 ").trim();return this.length>t&&(e+=" ... "),"<Buffer "+e+">"},f.prototype.compare=function(e,t,n,i,r){if(x(e,Uint8Array)&&(e=f.from(e,e.offset,e.byteLength)),!f.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===n&&(n=e?e.length:0),void 0===i&&(i=0),void 0===r&&(r=this.length),(t=void 0===t?0:t)<0||n>e.length||i<0||r>this.length)throw new RangeError("out of range index");if(r<=i&&n<=t)return 0;if(r<=i)return-1;if(n<=t)return 1;if(this===e)return 0;for(var o=(r>>>=0)-(i>>>=0),a=(n>>>=0)-(t>>>=0),s=Math.min(o,a),l=this.slice(i,r),c=e.slice(t,n),u=0;u<s;++u)if(l[u]!==c[u]){o=l[u],a=c[u];break}return o<a?-1:a<o?1:0},f.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},f.prototype.indexOf=function(e,t,n){return p(this,e,t,n,!0)},f.prototype.lastIndexOf=function(e,t,n){return p(this,e,t,n,!1)},f.prototype.write=function(e,t,n,i){if(void 0===t)i="utf8",n=this.length,t=0;else if(void 0===n&&"string"==typeof t)i=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(n)?(n>>>=0,void 0===i&&(i="utf8")):(i=n,n=void 0)}var r=this.length-t;if((void 0===n||r<n)&&(n=r),0<e.length&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");i=i||"utf8";for(var o,a,s,l=!1;;)switch(i){case"hex":var c=this,u=e,f=t,d=n,p=(f=Number(f)||0,c.length-f);(!d||p<(d=Number(d)))&&(d=p),(p=u.length)/2<d&&(d=p/2);for(var h=0;h<d;++h){var g=parseInt(u.substr(2*h,2),16);if(D(g))return h;c[f+h]=g}return h;case"utf8":case"utf-8":return p=t,s=n,N(E(e,(a=this).length-p),a,p,s);case"ascii":return m(this,e,t,n);case"latin1":case"binary":return m(this,e,t,n);case"base64":return a=this,s=t,o=n,N(j(e),a,s,o);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return y(this,e,t,n);default:if(l)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),l=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var v=4096;function g(e,t,n){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(n<e+t)throw new RangeError("Trying to access beyond buffer length")}function w(e,t,n,i,r,o){if(!f.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(r<t||t<o)throw new RangeError('"value" argument is out of bounds');if(n+i>e.length)throw new RangeError("Index out of range")}function b(e,t,n,i){if(n+i>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function I(e,t,n,i,r){return t=+t,n>>>=0,r||b(e,0,n,4),o.write(e,t,n,i,23,4),n+4}function C(e,t,n,i,r){return t=+t,n>>>=0,r||b(e,0,n,8),o.write(e,t,n,i,52,8),n+8}f.prototype.slice=function(e,t){var n=this.length,n=((e=~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),t<e&&(t=e),this.subarray(e,t));return n.__proto__=f.prototype,n},f.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return i},f.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e+--t],r=1;0<t&&(r*=256);)i+=this[e+--t]*r;return i},f.prototype.readUInt8=function(e,t){return e>>>=0,t||g(e,1,this.length),this[e]},f.prototype.readUInt16LE=function(e,t){return e>>>=0,t||g(e,2,this.length),this[e]|this[e+1]<<8},f.prototype.readUInt16BE=function(e,t){return e>>>=0,t||g(e,2,this.length),this[e]<<8|this[e+1]},f.prototype.readUInt32LE=function(e,t){return e>>>=0,t||g(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},f.prototype.readUInt32BE=function(e,t){return e>>>=0,t||g(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},f.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||g(e,t,this.length);for(var i=this[e],r=1,o=0;++o<t&&(r*=256);)i+=this[e+o]*r;return(r*=128)<=i&&(i-=Math.pow(2,8*t)),i},f.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||g(e,t,this.length);for(var i=t,r=1,o=this[e+--i];0<i&&(r*=256);)o+=this[e+--i]*r;return(r*=128)<=o&&(o-=Math.pow(2,8*t)),o},f.prototype.readInt8=function(e,t){return e>>>=0,t||g(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},f.prototype.readInt16LE=function(e,t){e>>>=0,t||g(e,2,this.length);t=this[e]|this[e+1]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt16BE=function(e,t){e>>>=0,t||g(e,2,this.length);t=this[e+1]|this[e]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt32LE=function(e,t){return e>>>=0,t||g(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},f.prototype.readInt32BE=function(e,t){return e>>>=0,t||g(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},f.prototype.readFloatLE=function(e,t){return e>>>=0,t||g(e,4,this.length),o.read(this,e,!0,23,4)},f.prototype.readFloatBE=function(e,t){return e>>>=0,t||g(e,4,this.length),o.read(this,e,!1,23,4)},f.prototype.readDoubleLE=function(e,t){return e>>>=0,t||g(e,8,this.length),o.read(this,e,!0,52,8)},f.prototype.readDoubleBE=function(e,t){return e>>>=0,t||g(e,8,this.length),o.read(this,e,!1,52,8)},f.prototype.writeUIntLE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||w(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,o=0;for(this[t]=255&e;++o<n&&(r*=256);)this[t+o]=e/r&255;return t+n},f.prototype.writeUIntBE=function(e,t,n,i){e=+e,t>>>=0,n>>>=0,i||w(this,e,t,n,Math.pow(2,8*n)-1,0);var r=n-1,o=1;for(this[t+r]=255&e;0<=--r&&(o*=256);)this[t+r]=e/o&255;return t+n},f.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,255,0),this[t]=255&e,t+1},f.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},f.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeIntLE=function(e,t,n,i){e=+e,t>>>=0,i||w(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var r=0,o=1,a=0;for(this[t]=255&e;++r<n&&(o*=256);)e<0&&0===a&&0!==this[t+r-1]&&(a=1),this[t+r]=(e/o>>0)-a&255;return t+n},f.prototype.writeIntBE=function(e,t,n,i){e=+e,t>>>=0,i||w(this,e,t,n,(i=Math.pow(2,8*n-1))-1,-i);var r=n-1,o=1,a=0;for(this[t+r]=255&e;0<=--r&&(o*=256);)e<0&&0===a&&0!==this[t+r+1]&&(a=1),this[t+r]=(e/o>>0)-a&255;return t+n},f.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,1,127,-128),this[t]=255&(e=e<0?255+e+1:e),t+1},f.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},f.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},f.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},f.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||w(this,e,t,4,2147483647,-2147483648),this[t]=(e=e<0?4294967295+e+1:e)>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},f.prototype.writeFloatLE=function(e,t,n){return I(this,e,t,!0,n)},f.prototype.writeFloatBE=function(e,t,n){return I(this,e,t,!1,n)},f.prototype.writeDoubleLE=function(e,t,n){return C(this,e,t,!0,n)},f.prototype.writeDoubleBE=function(e,t,n){return C(this,e,t,!1,n)},f.prototype.copy=function(e,t,n,i){if(!f.isBuffer(e))throw new TypeError("argument should be a Buffer");if(n=n||0,i||0===i||(i=this.length),t>=e.length&&(t=e.length),(i=0<i&&i<n?n:i)===n)return 0;if(0===e.length||0===this.length)return 0;if((t=t||0)<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("Index out of range");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length);var r=(i=e.length-t<i-n?e.length-t+n:i)-n;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,n,i);else if(this===e&&n<t&&t<i)for(var o=r-1;0<=o;--o)e[o+t]=this[o+n];else Uint8Array.prototype.set.call(e,this.subarray(n,i),t);return r},f.prototype.fill=function(e,t,n,i){if("string"==typeof e){if("string"==typeof t?(i=t,t=0,n=this.length):"string"==typeof n&&(i=n,n=this.length),void 0!==i&&"string"!=typeof i)throw new TypeError("encoding must be a string");if("string"==typeof i&&!f.isEncoding(i))throw new TypeError("Unknown encoding: "+i);var r;1===e.length&&(r=e.charCodeAt(0),("utf8"===i&&r<128||"latin1"===i)&&(e=r))}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError("Out of range index");if(n<=t)return this;var o;if(t>>>=0,n=void 0===n?this.length:n>>>0,"number"==typeof(e=e||0))for(o=t;o<n;++o)this[o]=e;else{var a=f.isBuffer(e)?e:f.from(e,i),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<n-t;++o)this[o+t]=a[o%s]}return this};var M=/[^+/0-9A-Za-z-_]/g;function E(e,t){t=t||1/0;for(var n,i=e.length,r=null,o=[],a=0;a<i;++a){if(55295<(n=e.charCodeAt(a))&&n<57344){if(!r){if(56319<n){-1<(t-=3)&&o.push(239,191,189);continue}if(a+1===i){-1<(t-=3)&&o.push(239,191,189);continue}r=n;continue}if(n<56320){-1<(t-=3)&&o.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&-1<(t-=3)&&o.push(239,191,189);if(r=null,n<128){if(--t<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function j(e){return S.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function N(e,t,n,i){for(var r=0;r<i&&!(r+n>=t.length||r>=e.length);++r)t[r+n]=e[r];return r}function x(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function D(e){return e!=e}}.call(this)}.call(this,L("buffer").Buffer)},{"base64-js":33,buffer:35,ieee754:40}],36:[function(e,t,n){var l=e("indexof");function c(e){return!!e}t.exports=function(r){var e=r.classList;if(e)return e;var i={add:t,remove:n,contains:o,toggle:function(e){return o(e)?(n(e),!1):(t(e),!0)},toString:function(){return r.className},length:0,item:function(e){return a()[e]||null}};return i;function t(e){var t=a();-1<l(t,e)||(t.push(e),s(t))}function n(e){var t=a(),e=l(t,e);-1!==e&&(t.splice(e,1),s(t))}function o(e){return-1<l(a(),e)}function a(){for(var e=r.className.split(" "),t=c,n=[],i=0;i<e.length;i++)t(e[i])&&n.push(e[i]);return n}function s(e){var t=e.length;r.className=e.join(" "),i.length=t;for(var n=0;n<e.length;n++)i[n]=e[n];delete e[t]}}},{indexof:41}],37:[function(e,t,n){t.exports=function(e,t,n,i){if(i=(n=window.getComputedStyle)?n(e):e.currentStyle)return i[t.replace(/-(\w)/gi,function(e,t){return t.toUpperCase()})]}},{}],38:[function(e,n,i){!function(e,t){"use strict";"object"==typeof i?n.exports=t():e.returnExports=t()}(this,function(){function d(e){if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(!te){if(re(e))return!1;var t=ee.call(e);return"[object Function]"===t||"[object GeneratorFunction]"===t}t=e;try{return re(t)?!1:(ne.call(t),!0)}catch(e){return!1}}function z(e){var t=typeof e;return null===e||"object"!=t&&"function"!=t}function Y(){}var G,O,W,R,s=Array,e=s.prototype,l=Object,t=l.prototype,J=Function,n=J.prototype,m=String,i=m.prototype,g=Number,r=g.prototype,c=e.slice,U=e.splice,B=e.push,H=e.unshift,F=e.concat,V=e.join,o=n.call,X=n.apply,y=Math.max,_=Math.min,v=Math.floor,p=Math.abs,h=Math.pow,K=Math.round,Q=Math.log,q=Math.LOG10E,$=Math.log10||function(e){return Q(e)*q},ee=t.toString,te="function"==typeof Symbol&&"symbol"==typeof Symbol.toStringTag,ne=Function.prototype.toString,ie=/^\s*class /,re=function(e){try{var t=ne.call(e).replace(/\/\/.*\n/g,"").replace(/\/\*[.\s\S]*\*\//g,"").replace(/\n/gm," ").replace(/ {2}/g," ");return ie.test(t)}catch(e){return!1}},oe=RegExp.prototype.exec,ae=function(e){{if("object"!=typeof e)return!1;if(!te)return"[object RegExp]"===ee.call(e);var t=e;try{return oe.call(t),!0}catch(e){return!1}}},se=String.prototype.valueOf,w=function(e){return"string"==typeof e||"object"==typeof e&&(te?function(e){try{return se.call(e),!0}catch(e){return!1}}(e):"[object String]"===ee.call(e))},le=l.defineProperty&&function(){try{var e,t={};for(e in l.defineProperty(t,"x",{enumerable:!1,value:t}),t)return!1;return t.x===t}catch(e){return!1}}(),b=(G=t.hasOwnProperty,O=le?function(e,t,n,i){!i&&t in e||l.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:!0,value:n})}:function(e,t,n,i){!i&&t in e||(e[t]=n)},function(e,t,n){for(var i in t)G.call(t,i)&&O(e,i,t[i],n)}),I=(l.defineProperty&&le&&(l.defineProperty(u=function(){},"prototype",{value:{toString:f={}},writable:!1}),(new u).toString!==f&&(W=l.defineProperty,R=l.getOwnPropertyDescriptor,b(l,{defineProperty:function(e,t,n){t=m(t);if("function"!=typeof e||"prototype"!==t)return W(e,t,n);var i=R(e,t);if(i.writable&&!n.writable&&"value"in n)try{e[t]=n.value}catch(e){}return W(e,t,{configurable:("configurable"in n?n:i).configurable,enumerable:("enumerable"in n?n:i).enumerable,writable:n.writable})}},!0))),g.isNaN||function(e){return e!=e}),C=function(e){e=+e;return I(e)?e=0:0!==e&&e!==1/0&&e!==-1/0&&(e=(0<e||-1)*v(p(e))),e},ce=function(e){var t,n;if(z(e))return e;if(n=e.valueOf,d(n)&&(t=n.call(e),z(t)))return t;if(n=e.toString,d(n)&&(t=n.call(e),z(t)))return t;throw new TypeError},M=function(e){if(null==e)throw new TypeError("can't convert "+e+" to object");return l(e)},S=function(e){return e>>>0},A=(b(n,{bind:function(t){var n=this;if(!d(n))throw new TypeError("Function.prototype.bind called on incompatible "+n);for(var i,r=c.call(arguments,1),e=y(0,n.length-r.length),o=[],a=0;a<e;a++)B.call(o,"$"+a);return i=J("binder","return function ("+V.call(o,",")+"){ return binder.apply(this, arguments); }")(function(){var e;return this instanceof i?(e=X.call(n,this,F.call(r,c.call(arguments))),l(e)===e?e:this):X.call(n,t,F.call(r,c.call(arguments)))}),n.prototype&&(Y.prototype=n.prototype,i.prototype=new Y,Y.prototype=null),i}}),o.bind(t.hasOwnProperty)),ue=o.bind(t.toString),E=o.bind(c),fe=X.bind(c);if("object"==typeof document&&document&&document.documentElement)try{E(document.documentElement.childNodes)}catch(e){var de=E,pe=fe,E=function(e){for(var t=[],n=e.length;0<n--;)t[n]=e[n];return pe(t,de(arguments,1))},fe=function(e,t){return pe(E(e),t)}}function a(e){var i=!0,t=!0,n=!1;if(e)try{e.call("foo",function(e,t,n){"object"!=typeof n&&(i=!1)}),e.call([1],function(){"use strict";t="string"==typeof this},"x")}catch(e){n=!0}return!!e&&!n&&i&&t}var j=o.bind(i.slice),N=o.bind(i.split),he=o.bind(i.indexOf),x=o.bind(B),ge=o.bind(t.propertyIsEnumerable),me=o.bind(e.sort),ye=s.isArray||function(e){return"[object Array]"===ue(e)},u=1!==[].unshift(0),f=(b(e,{unshift:function(){return H.apply(this,arguments),this.length}},u),b(s,{isArray:ye}),l("a")),D="a"!==f[0]||!(0 in f),n=(b(e,{forEach:function(e){var t,n=M(this),i=D&&w(this)?N(this,""):n,r=-1,o=S(i.length);if(1<arguments.length&&(t=arguments[1]),!d(e))throw new TypeError("Array.prototype.forEach callback must be a function");for(;++r<o;)r in i&&(void 0===t?e(i[r],r,n):e.call(t,i[r],r,n))}},!a(e.forEach)),b(e,{map:function(e){var t,n=M(this),i=D&&w(this)?N(this,""):n,r=S(i.length),o=s(r);if(1<arguments.length&&(t=arguments[1]),!d(e))throw new TypeError("Array.prototype.map callback must be a function");for(var a=0;a<r;a++)a in i&&(o[a]=void 0===t?e(i[a],a,n):e.call(t,i[a],a,n));return o}},!a(e.map)),b(e,{filter:function(e){var t,n,i=M(this),r=D&&w(this)?N(this,""):i,o=S(r.length),a=[];if(1<arguments.length&&(n=arguments[1]),!d(e))throw new TypeError("Array.prototype.filter callback must be a function");for(var s=0;s<o;s++)s in r&&(t=r[s],(void 0===n?e(t,s,i):e.call(n,t,s,i))&&x(a,t));return a}},!a(e.filter)),b(e,{every:function(e){var t,n=M(this),i=D&&w(this)?N(this,""):n,r=S(i.length);if(1<arguments.length&&(t=arguments[1]),!d(e))throw new TypeError("Array.prototype.every callback must be a function");for(var o=0;o<r;o++)if(o in i&&!(void 0===t?e(i[o],o,n):e.call(t,i[o],o,n)))return!1;return!0}},!a(e.every)),b(e,{some:function(e){var t,n=M(this),i=D&&w(this)?N(this,""):n,r=S(i.length);if(1<arguments.length&&(t=arguments[1]),!d(e))throw new TypeError("Array.prototype.some callback must be a function");for(var o=0;o<r;o++)if(o in i&&(void 0===t?e(i[o],o,n):e.call(t,i[o],o,n)))return!0;return!1}},!a(e.some)),!1),t=(e.reduce&&(n="object"==typeof e.reduce.call("es5",function(e,t,n,i){return i})),b(e,{reduce:function(e){var t=M(this),n=D&&w(this)?N(this,""):t,i=S(n.length);if(!d(e))throw new TypeError("Array.prototype.reduce callback must be a function");if(0===i&&1===arguments.length)throw new TypeError("reduce of empty array with no initial value");var r,o=0;if(2<=arguments.length)r=arguments[1];else for(;;){if(o in n){r=n[o++];break}if(++o>=i)throw new TypeError("reduce of empty array with no initial value")}for(;o<i;o++)o in n&&(r=e(r,n[o],o,t));return r}},!n),!1),u=(e.reduceRight&&(t="object"==typeof e.reduceRight.call("es5",function(e,t,n,i){return i})),b(e,{reduceRight:function(e){var t,n=M(this),i=D&&w(this)?N(this,""):n,r=S(i.length);if(!d(e))throw new TypeError("Array.prototype.reduceRight callback must be a function");if(0===r&&1===arguments.length)throw new TypeError("reduceRight of empty array with no initial value");var o=r-1;if(2<=arguments.length)t=arguments[1];else for(;;){if(o in i){t=i[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}if(o<0)return t;for(;o in i&&(t=e(t,i[o],o,n)),o--;);return t}},!t),e.indexOf&&-1!==[0,1].indexOf(1,2)),f=(b(e,{indexOf:function(e){var t=D&&w(this)?N(this,""):M(this),n=S(t.length);if(0===n)return-1;for(var i=0,i=0<=(i=1<arguments.length?C(arguments[1]):i)?i:y(0,n+i);i<n;i++)if(i in t&&t[i]===e)return i;return-1}},u),e.lastIndexOf&&-1!==[0,1].lastIndexOf(0,-3)),u=(b(e,{lastIndexOf:function(e){var t=D&&w(this)?N(this,""):M(this),n=S(t.length);if(0===n)return-1;for(var i=n-1,i=0<=(i=1<arguments.length?_(i,C(arguments[1])):i)?i:n-p(i);0<=i;i--)if(i in t&&e===t[i])return i;return-1}},f),t=(n=[1,2]).splice(),2===n.length&&ye(t)&&0===t.length),n=(b(e,{splice:function(e,t){return 0===arguments.length?[]:U.apply(this,arguments)}},!u),f={},e.splice.call(f,0,0,1),1===f.length),u=(b(e,{splice:function(e,t){if(0===arguments.length)return[];var n=arguments;return this.length=y(C(this.length),0),0<arguments.length&&"number"!=typeof t&&((n=E(arguments)).length<2?x(n,this.length-e):n[1]=C(t)),U.apply(this,n)}},!n),(t=new s(1e5))[8]="x",t.splice(1,1),7===t.indexOf("x")),t=((n=[])[256]="a",n.splice(257,0,"b"),"a"===n[256]),ve=(b(e,{splice:function(e,t){for(var n,i=M(this),r=[],o=S(i.length),a=C(e),s=a<0?y(o+a,0):_(a,o),l=0===arguments.length?0:1===arguments.length?o-s:_(y(C(t),0),o-s),c=0;c<l;)n=m(s+c),A(i,n)&&(r[c]=i[n]),c+=1;var u,f=E(arguments,2),d=f.length;if(d<l){for(var c=s,p=o-l;c<p;)n=m(c+l),u=m(c+d),A(i,n)?i[u]=i[n]:delete i[u],c+=1;for(var h=(c=o)-l+d;h<c;)delete i[c-1],--c}else if(l<d)for(c=o-l;s<c;)n=m(c+l-1),u=m(c+d-1),A(i,n)?i[u]=i[n]:delete i[u],--c;c=s;for(var g=0;g<f.length;++g)i[c]=f[g],c+=1;return i.length=o-l+d,r}},!u||!t),e.join);try{L="1,2,3"!==Array.prototype.join.call("123",",")}catch(e){L=!0}L&&b(e,{join:function(e){e=void 0===e?",":e;return ve.call(w(this)?N(this,""):this,e)}},L);function we(e){for(var t=M(this),n=S(t.length),i=0;i<arguments.length;)t[n+i]=arguments[i],i+=1;return t.length=n+i,n+i}function be(e){var t=e.constructor;return t&&t.prototype===e}function Ie(e){return"[object Arguments]"===ue(e)}function Ce(e,t){return ke(new Date(t,e,0))}var L,n="1,2"!==[1,2].join(void 0),t=(n&&b(e,{join:function(e){return ve.call(this,void 0===e?",":e)}},n),u={},1!==Array.prototype.push.call(u,void 0)||1!==u.length||void 0!==u[0]||!A(u,0)),n=(b(e,{push:function(e){return(ye(this)?B:we).apply(this,arguments)}},t),1!==(L=[]).push(void 0)||1!==L.length||void 0!==L[0]||!A(L,0)),t=(b(e,{push:we},n),b(e,{slice:function(e,t){var n=w(this)?N(this,""):this;return fe(n,arguments)}},D),function(){try{[1,2].sort(null)}catch(e){try{[1,2].sort({})}catch(e){return!1}}return!0}()),n=function(){try{return[1,2].sort(/a/),!1}catch(e){}return!0}(),T=function(){try{return[1,2].sort(void 0),!0}catch(e){}return!1}(),Me=(b(e,{sort:function(e){if(void 0===e)return me(this);if(d(e))return me(this,e);throw new TypeError("Array.prototype.sort callback must be a function")}},t||!T||!n),!ge({toString:null},"toString")),Se=ge(function(){},"prototype"),Ae=!A("x","0"),Ee={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0,$width:!0,$height:!0,$top:!0,$localStorage:!0},je=function(){if("undefined"==typeof window)return!1;for(var e in window)try{!Ee["$"+e]&&A(window,e)&&null!==window[e]&&"object"==typeof window[e]&&be(window[e])}catch(e){return!0}return!1}(),Ne=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],xe=Ne.length,De=Ie(arguments)?Ie:function(e){return null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&!ye(e)&&d(e.callee)},e=(b(l,{keys:function(e){var t=d(e),n=De(e),i=null!==e&&"object"==typeof e,r=i&&w(e);if(!i&&!t&&!n)throw new TypeError("Object.keys called on a non-object");var o=[],a=Se&&t;if(r&&Ae||n)for(var s=0;s<e.length;++s)x(o,m(s));if(!n)for(var l in e)a&&"prototype"===l||!A(e,l)||x(o,m(l));if(Me)for(var c=function(e){if("undefined"==typeof window||!je)return be(e);try{return be(e)}catch(e){return!1}}(e),u=0;u<xe;u++){var f=Ne[u];c&&"constructor"===f||!A(e,f)||x(o,f)}return o}}),l.keys&&function(){return 2===l.keys(arguments).length}(1,2)),t=l.keys&&function(){var e=l.keys(arguments);return 1!==arguments.length||1!==e.length||1!==e[0]}(1),Le=l.keys,T=(b(l,{keys:function(e){return De(e)?Le(E(e)):Le(e)}},!e||t),0!==new Date(-0xc782b5b342b24).getUTCMonth()),n=new Date(-0x55d318d56a724),e=new Date(14496624e5),t="Mon, 01 Jan -45875 11:59:59 GMT"!==n.toUTCString(),n=n.getTimezoneOffset()<-720?(Ke="Tue Jan 02 -45875"!==n.toDateString(),!/^Thu Dec 10 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(e))):(Ke="Mon Jan 01 -45875"!==n.toDateString(),!/^Wed Dec 09 2015 \d\d:\d\d:\d\d GMT[-+]\d\d\d\d(?: |$)/.test(String(e))),Te=o.bind(Date.prototype.getFullYear),Ze=o.bind(Date.prototype.getMonth),ke=o.bind(Date.prototype.getDate),Z=o.bind(Date.prototype.getUTCFullYear),Pe=o.bind(Date.prototype.getUTCMonth),ze=o.bind(Date.prototype.getUTCDate),Ye=o.bind(Date.prototype.getUTCDay),Ge=o.bind(Date.prototype.getUTCHours),Oe=o.bind(Date.prototype.getUTCMinutes),We=o.bind(Date.prototype.getUTCSeconds),Re=o.bind(Date.prototype.getUTCMilliseconds),Je=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],Ue=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],Be=(b(Date.prototype,{getFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Te(this);return e<0&&11<Ze(this)?e+1:e},getMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Te(this),t=Ze(this);return e<0&&11<t?0:t},getDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Te(this),t=Ze(this),n=ke(this);return!(e<0&&11<t)||12===t?n:Ce(0,e+1)-n+1},getUTCFullYear:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Z(this);return e<0&&11<Pe(this)?e+1:e},getUTCMonth:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Z(this),t=Pe(this);return e<0&&11<t?0:t},getUTCDate:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Z(this),t=Pe(this),n=ze(this);return!(e<0&&11<t)||12===t?n:Ce(0,e+1)-n+1}},T),b(Date.prototype,{toUTCString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=Ye(this),t=ze(this),n=Pe(this),i=Z(this),r=Ge(this),o=Oe(this),a=We(this);return Je[e]+", "+(t<10?"0"+t:t)+" "+Ue[n]+" "+i+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)+" GMT"}},T||t),b(Date.prototype,{toDateString:function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear();return Je[e]+" "+Ue[n]+" "+(t<10?"0"+t:t)+" "+i}},T||Ke),(T||n)&&(Date.prototype.toString=function(){if(!(this&&this instanceof Date))throw new TypeError("this is not a Date object.");var e=this.getDay(),t=this.getDate(),n=this.getMonth(),i=this.getFullYear(),r=this.getHours(),o=this.getMinutes(),a=this.getSeconds(),s=this.getTimezoneOffset(),l=v(p(s)/60),c=v(p(s)%60);return Je[e]+" "+Ue[n]+" "+(t<10?"0"+t:t)+" "+i+" "+(r<10?"0"+r:r)+":"+(o<10?"0"+o:o)+":"+(a<10?"0"+a:a)+" GMT"+(0<s?"-":"+")+(l<10?"0"+l:l)+(c<10?"0"+c:c)},le&&l.defineProperty(Date.prototype,"toString",{configurable:!0,enumerable:!1,writable:!0})),-621987552e5),He="-000001",e=Date.prototype.toISOString&&-1===new Date(Be).toISOString().indexOf(He),t=Date.prototype.toISOString&&"1969-12-31T23:59:59.999Z"!==new Date(-1).toISOString(),Fe=o.bind(Date.prototype.getTime);b(Date.prototype,{toISOString:function(){if(!isFinite(this)||!isFinite(Fe(this)))throw new RangeError("Date.prototype.toISOString called on non-finite value.");for(var e=Z(this),t=Pe(this),n=(e+=v(t/12),[1+(t%12+12)%12,ze(this),Ge(this),Oe(this),We(this)]),e=(e<0?"-":9999<e?"+":"")+j("00000"+p(e),0<=e&&e<=9999?-4:-6),i=0;i<n.length;++i)n[i]=j("00"+n[i],-2);return e+"-"+E(n,0,2).join("-")+"T"+E(n,2).join(":")+"."+j("000"+Re(this),-3)+"Z"}},e||t);!function(){try{return Date.prototype.toJSON&&null===new Date(NaN).toJSON()&&-1!==new Date(Be).toJSON().indexOf(He)&&Date.prototype.toJSON.call({toISOString:function(){return!0}})}catch(e){return!1}}()&&(Date.prototype.toJSON=function(e){var t=l(this),n=ce(t);if("number"==typeof n&&!isFinite(n))return null;n=t.toISOString;if(d(n))return n.call(t);throw new TypeError("toISOString property is not callable")});var k,Ve,Xe,_e,Ke=1e15===Date.parse("+033658-09-27T01:46:40.000Z"),T=!isNaN(Date.parse("2012-04-04T24:00:00.500Z"))||!isNaN(Date.parse("2012-11-31T23:59:59.000Z"))||!isNaN(Date.parse("2012-12-31T23:59:60.000Z")),n=(!isNaN(Date.parse("2000-01-01T00:00:00.000Z"))&&!T&&Ke||(k=h(2,31)-1,Ve=I(new Date(1970,0,1,0,0,0,k+1).getTime()),Date=function(d){function f(e,t,n,i,r,o,a){var s,l,c=arguments.length,u=this instanceof d?(s=o,l=a,Ve&&7<=c&&k<a&&(u=v(a/k)*k,s+=u=v(u/1e3),l-=1e3*u),1===c&&m(e)===e?new d(f.parse(e)):7<=c?new d(e,t,n,i,r,s,l):6<=c?new d(e,t,n,i,r,s):5<=c?new d(e,t,n,i,r):4<=c?new d(e,t,n,i):3<=c?new d(e,t,n):2<=c?new d(e,t):1<=c?new d(e instanceof d?+e:e):new d):d.apply(this,arguments);return z(u)||b(u,{constructor:f},!0),u}function p(e,t){var n=1<t?1:0;return i[t]+v((e-1969+n)/4)-v((e-1901+n)/100)+v((e-1601+n)/400)+365*(e-1970)}var e,h=new RegExp("^(\\d{4}|[+-]\\d{6})(?:-(\\d{2})(?:-(\\d{2})(?:T(\\d{2}):(\\d{2})(?::(\\d{2})(?:(\\.\\d{1,}))?)?(Z|(?:([-+])(\\d{2}):(\\d{2})))?)?)?)?$"),i=[0,31,59,90,120,151,181,212,243,273,304,334,365];for(e in d)A(d,e)&&(f[e]=d[e]);b(f,{now:d.now,UTC:d.UTC},!0),f.prototype=d.prototype,b(f.prototype,{constructor:f},!0);return b(f,{parse:function(e){var t,n,i,r,o,a,s,l,c,u,f=h.exec(e);return f?(s=g(f[1]),l=g(f[2]||1)-1,u=g(f[3]||1)-1,c=g(f[4]||0),t=g(f[5]||0),n=g(f[6]||0),i=v(1e3*g(f[7]||0)),r=Boolean(f[4]&&!f[8]),o="-"===f[9]?1:-1,a=g(f[10]||0),f=g(f[11]||0),c<(0<t||0<n||0<i?24:25)&&t<60&&n<60&&i<1e3&&-1<l&&l<12&&a<24&&f<60&&-1<u&&u<p(s,1+l)-p(s,l)&&(s=1e3*(60*((s=60*(24*(p(s,l)+u)+c+a*o))+t+f*o)+n)+i,r&&(l=s,u=0,Ve&&k<l&&(c=v(l/k)*k,u+=c=v(c/1e3),l-=1e3*c),s=g(new d(1970,0,1,0,0,u,l))),-864e13<=s&&s<=864e13)?s:NaN):d.parse.apply(this,arguments)}}),f}(Date)),Date.now||(Date.now=function(){return(new Date).getTime()}),r.toFixed&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))),P={base:1e7,size:6,data:[0,0,0,0,0,0],multiply:function(e,t){for(var n=-1,i=t;++n<P.size;)i+=e*P.data[n],P.data[n]=i%P.base,i=v(i/P.base)},divide:function(e){for(var t=P.size,n=0;0<=--t;)n+=P.data[t],P.data[t]=v(n/e),n=n%e*P.base},numToString:function(){for(var e,t=P.size,n="";0<=--t;)""===n&&0!==t&&0===P.data[t]||(e=m(P.data[t]),""===n?n=e:n+=j("0000000",0,7-e.length)+e);return n},pow:function e(t,n,i){return 0===n?i:n%2==1?e(t,n-1,i*t):e(t*t,n/2,i)},log:function(e){for(var t=0,n=e;4096<=n;)t+=12,n/=4096;for(;2<=n;)t+=1,n/=2;return t}},e=(b(r,{toFixed:function(e){var t,n,i,r,o,e=g(e);if((e=I(e)?0:v(e))<0||20<e)throw new RangeError("Number.toFixed called with invalid number of decimals");if(o=g(this),I(o))return"NaN";if(o<=-1e21||1e21<=o)return m(o);if(t="",o<0&&(t="-",o=-o),n="0",1e-21<o)if(o=(i=P.log(o*P.pow(2,69,1))-69)<0?o*P.pow(2,-i,1):o/P.pow(2,i,1),o*=4503599627370496,0<(i=52-i)){for(P.multiply(0,o),r=e;7<=r;)P.multiply(1e7,0),r-=7;for(P.multiply(P.pow(10,r,1),0),r=i-1;23<=r;)P.divide(1<<23),r-=23;P.divide(1<<r),P.multiply(1,1),P.divide(2),n=P.numToString()}else P.multiply(0,o),P.multiply(1<<-i,0),n=P.numToString()+j("0.00000000000000000000",2,2+e);return n=0<e?(o=n.length)<=e?t+j("0.0000000000000000000",0,e-o+2)+n:t+j(n,0,o-e)+"."+j(n,o-e):t+n}},n),function(){try{return"-6.9000e-11"!==(-69e-12).toExponential(4)}catch(e){return!1}}()),t=function(){try{return 1..toExponential(1/0),1..toExponential(-1/0),!0}catch(e){return!1}}(),Qe=o.bind(r.toExponential),qe=o.bind(r.toString),$e=o.bind(r.valueOf),T=(b(r,{toExponential:function(e){var t=$e(this);if(void 0===e)return Qe(t);var n=C(e);if(I(t))return"NaN";if(n<0||20<n)return Qe(t,n);var i="";if(t<0&&(i="-",t=-t),t===1/0)return i+"Infinity";if(void 0!==e&&(n<0||20<n))throw new RangeError("Fraction digits "+e+" out of range");var r="",o=0,a="",s="";if(0===t)n=o=0,r="0";else{var l=$(t),o=v(l),c=0;if(void 0!==e){var u=h(10,o-n);(2*(c=K(t/u))+1)*u<=2*t&&(c+=1),c>=h(10,n+1)&&(c/=10,o+=1)}else{K(h(10,l-o+(n=16)));for(var f,d=n;0<n--;)f=K(h(10,l-o+n)),p(f*h(10,o-n)-t)<=p(c*h(10,o-d)-t)&&(d=n,c=f)}if(r=qe(c,10),void 0===e)for(;"0"===j(r,-1);)r=j(r,0,-1),s+=1}return 0!==n&&(r=j(r,0,1)+"."+j(r,1)),s=0===o?(a="+","0"):(a=0<o?"+":"-",qe(p(o),10)),i+(r+="e"+a+s)}},e||t),function(){try{return"1"===1..toPrecision(void 0)}catch(e){return!0}}()),et=o.bind(r.toPrecision),tt=(b(r,{toPrecision:function(e){return void 0===e?et(this):et(this,e)}},T),2!=="ab".split(/(?:ab)*/).length||4!==".".split(/(.?)(.?)/).length||"t"==="tesst".split(/(s)*/)[1]||4!=="test".split(/(?:)/,-1).length||"".split(/.?/).length||1<".".split(/()()/).length?(Xe=void 0===/()??/.exec("")[1],_e=h(2,32)-1,i.split=function(e,t){var n=String(this);if(void 0===e&&0===t)return[];if(!ae(e))return N(this,e,t);for(var i,r,o,a=[],s=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),l=0,c=new RegExp(e.source,s+"g"),u=(Xe||(i=new RegExp("^"+c.source+"$(?!\\s)",s)),void 0===t?_e:S(t)),f=c.exec(n);f&&!(l<(r=f.index+f[0].length)&&(x(a,j(n,l,f.index)),!Xe&&1<f.length&&f[0].replace(i,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(f[e]=void 0)}),1<f.length&&f.index<n.length&&B.apply(a,E(f,1)),o=f[0].length,l=r,u<=a.length));)c.lastIndex===f.index&&c.lastIndex++,f=c.exec(n);return l===n.length?!o&&c.test("")||x(a,""):x(a,j(n,l)),u<a.length?E(a,0,u):a}):"0".split(void 0,0).length&&(i.split=function(e,t){return void 0===e&&0===t?[]:N(this,e,t)}),i.replace);nt=[],"x".replace(/x(.)?/g,function(e,t){x(nt,t)});1===nt.length&&void 0===nt[0]||(i.replace=function(r,o){var e=d(o),t=ae(r)&&/\)[*?]/.test(r.source);if(!e||!t)return tt.call(this,r,o);return tt.call(this,r,function(e){var t=arguments.length,n=r.lastIndex,i=(r.lastIndex=0,r.exec(e)||[]);return r.lastIndex=n,x(i,arguments[t-2],arguments[t-1]),o.apply(this,i)})});var nt,it,rt,ot,at,st=i.substr,Ke="".substr&&"b"!=="0b".substr(-1),n=(b(i,{substr:function(e,t){var n=e;return e<0&&(n=y(this.length+e,0)),st.call(this,n,t)}},Ke),"\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff"),e="[\t\n\v\f\r   ᠎             　\u2028\u2029\ufeff]",lt=new RegExp("^"+e+e+"*"),ct=new RegExp(e+e+"*$"),t=i.trim&&(n.trim()||!"​".trim()),ut=(b(i,{trim:function(){if(null==this)throw new TypeError("can't convert "+this+" to object");return m(this).replace(lt,"").replace(ct,"")}},t),o.bind(String.prototype.trim)),r=i.lastIndexOf&&-1!=="abcあい".lastIndexOf("あい",2),ft=(b(i,{lastIndexOf:function(e){if(null==this)throw new TypeError("can't convert "+this+" to object");for(var t=m(this),n=m(e),i=1<arguments.length?g(arguments[1]):NaN,i=I(i)?1/0:C(i),r=_(y(i,0),t.length),o=n.length,a=r+o;0<a;){var a=y(0,a-o),s=he(j(t,a,r+o),n);if(-1!==s)return a+s}return-1}},r),i.lastIndexOf),dt=(b(i,{lastIndexOf:function(e){return ft.apply(this,arguments)}},1!==i.lastIndexOf.length),/^[-+]?0[xX]/);8===parseInt(n+"08")&&22===parseInt(n+"0x16")||(parseInt=(it=parseInt,function(e,t){e=ut(String(e)),t=g(t)||(dt.test(e)?16:10);return it(e,t)})),function(){if("function"!=typeof Symbol)return!1;try{return parseInt(Object(Symbol.iterator)),!0}catch(e){}try{return parseInt(Symbol.iterator),!0}catch(e){}return!1}()&&(rt=Symbol.prototype.valueOf,parseInt=(ot=parseInt,function(e,t){var n="symbol"==typeof e;if(!n&&e&&"object"==typeof e)try{rt.call(e),n=!0}catch(e){}n=ut(String(e)),e=g(t)||(dt.test(n)?16:10);return ot(n,e)})),1/parseFloat("-0")!=-1/0&&(parseFloat=(at=parseFloat,function(e){var e=ut(String(e)),t=at(e);return 0===t&&"-"===j(e,0,1)?-0:t})),"RangeError: test"!==String(new RangeError("test"))&&(Error.prototype.toString=function(){if(null==this)throw new TypeError("can't convert "+this+" to object");var e=this.name,t=(void 0===e?e="Error":"string"!=typeof e&&(e=m(e)),this.message);return void 0===t?t="":"string"!=typeof t&&(t=m(t)),e?t?e+": "+t:e:t}),le&&((T=function(e,t){var n;ge(e,t)&&(n=Object.getOwnPropertyDescriptor(e,t)).configurable&&(n.enumerable=!1,Object.defineProperty(e,t,n))})(Error.prototype,"message"),""!==Error.prototype.message&&(Error.prototype.message=""),T(Error.prototype,"name")),"/a/gim"!==String(/a/gim)&&(RegExp.prototype.toString=function(){var e="/"+this.source+"/";return this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),e})})},{}],39:[function(e,t,n){var i=[],r=i.forEach,o=i.slice;t.exports=function(n){return r.call(o.call(arguments,1),function(e){if(e)for(var t in e)n[t]=e[t]}),n}},{}],40:[function(e,t,n){n.read=function(e,t,n,i,r){var o,a,s=8*r-i-1,l=(1<<s)-1,c=l>>1,u=-7,f=n?r-1:0,d=n?-1:1,r=e[t+f];for(f+=d,o=r&(1<<-u)-1,r>>=-u,u+=s;0<u;o=256*o+e[t+f],f+=d,u-=8);for(a=o&(1<<-u)-1,o>>=-u,u+=i;0<u;a=256*a+e[t+f],f+=d,u-=8);if(0===o)o=1-c;else{if(o===l)return a?NaN:1/0*(r?-1:1);a+=Math.pow(2,i),o-=c}return(r?-1:1)*a*Math.pow(2,o-i)},n.write=function(e,t,n,i,r,o){var a,s,l=8*o-r-1,c=(1<<l)-1,u=c>>1,f=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,d=i?0:o-1,p=i?1:-1,o=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(i=Math.pow(2,-a))<1&&(a--,i*=2),2<=(t+=1<=a+u?f/i:f*Math.pow(2,1-u))*i&&(a++,i/=2),c<=a+u?(s=0,a=c):1<=a+u?(s=(t*i-1)*Math.pow(2,r),a+=u):(s=t*Math.pow(2,u-1)*Math.pow(2,r),a=0));8<=r;e[n+d]=255&s,d+=p,s/=256,r-=8);for(a=a<<r|s,l+=r;0<l;e[n+d]=255&a,d+=p,a/=256,l-=8);e[n+d-p]|=128*o}},{}],41:[function(e,t,n){var i=[].indexOf;t.exports=function(e,t){if(i)return e.indexOf(t);for(var n=0;n<e.length;++n)if(e[n]===t)return n;return-1}},{}],42:[function(e,t,n){t.exports=function(e){if(!e)return!1;var t=i.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var i=Object.prototype.toString},{}],43:[function(e,N,x){!function(j){!function(){var e=this,t="object"==typeof x&&x&&!x.nodeType&&x,n="object"==typeof N&&N&&!N.nodeType&&N,i="object"==typeof j&&j;i.global!==i&&i.window!==i&&i.self!==i||(e=i);var r,o,m=2147483647,y=36,v=26,a=38,s=700,l=/^xn--/,c=/[^\x20-\x7E]/,u=/[\x2E\u3002\uFF0E\uFF61]/g,f={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >=0x80 (not a basic code point)","invalid-input":"Invalid input"},d=y-1,w=Math.floor,b=String.fromCharCode;function I(e){throw new RangeError(f[e])}function p(e,t){for(var n=e.length,i=[];n--;)i[n]=t(e[n]);return i}function h(e,t){var n=e.split("@"),i="",n=(1<n.length&&(i=n[0]+"@",e=n[1]),(e=e.replace(u,".")).split("."));return i+p(n,t).join(".")}function C(e){for(var t,n,i=[],r=0,o=e.length;r<o;)55296<=(t=e.charCodeAt(r++))&&t<=56319&&r<o?56320==(64512&(n=e.charCodeAt(r++)))?i.push(((1023&t)<<10)+(1023&n)+65536):(i.push(t),r--):i.push(t);return i}function g(e){return p(e,function(e){var t="";return 65535<e&&(t+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),t+=b(e)}).join("")}function M(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function S(e,t,n){var i=0;for(e=n?w(e/s):e>>1,e+=w(e/t);d*v>>1<e;i+=y)e=w(e/d);return w(i+(d+1)*e/(e+a))}function A(e){var t,n,i,r,o,a,s,l=[],c=e.length,u=0,f=128,d=72,p=e.lastIndexOf("-");for(p<0&&(p=0),n=0;n<p;++n)128<=e.charCodeAt(n)&&I("not-basic"),l.push(e.charCodeAt(n));for(i=0<p?p+1:0;i<c;){for(r=u,o=1,a=y;c<=i&&I("invalid-input"),s=e.charCodeAt(i++),(y<=(s=s-48<10?s-22:s-65<26?s-65:s-97<26?s-97:y)||s>w((m-u)/o))&&I("overflow"),u+=s*o,!(s<(s=a<=d?1:d+v<=a?v:a-d));a+=y)o>w(m/(s=y-s))&&I("overflow"),o*=s;d=S(u-r,t=l.length+1,0==r),w(u/t)>m-f&&I("overflow"),f+=w(u/t),u%=t,l.splice(u++,0,f)}return g(l)}function E(e){for(var t,n,i,r,o,a,s,l,c,u,f=[],d=(e=C(e)).length,p=128,h=72,g=t=0;g<d;++g)(s=e[g])<128&&f.push(b(s));for(n=i=f.length,i&&f.push("-");n<d;){for(r=m,g=0;g<d;++g)p<=(s=e[g])&&s<r&&(r=s);for(r-p>w((m-t)/(l=n+1))&&I("overflow"),t+=(r-p)*l,p=r,g=0;g<d;++g)if((s=e[g])<p&&++t>m&&I("overflow"),s==p){for(o=t,a=y;!(o<(c=a<=h?1:h+v<=a?v:a-h));a+=y)f.push(b(M(c+(u=o-c)%(c=y-c),0))),o=w(u/c);f.push(b(M(o,0))),h=S(t,l,n==i),t=0,++n}++t,++p}return f.join("")}if(r={version:"1.4.1",ucs2:{decode:C,encode:g},decode:A,encode:E,toASCII:function(e){return h(e,function(e){return c.test(e)?"xn--"+E(e):e})},toUnicode:function(e){return h(e,function(e){return l.test(e)?A(e.slice(4).toLowerCase()):e})}},t&&n)if(N.exports==t)n.exports=r;else for(o in r)r.hasOwnProperty(o)&&(t[o]=r[o]);else e.punycode=r}.call(this)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],44:[function(e,t,n){!function(e){void 0!==t&&t.exports?t.exports=e():this.$script=e()}(function(){var c,r,o=document,a=o.getElementsByTagName("head")[0],s=!1,u="push",l="readyState",f="onreadystatechange",d={},p={},h={},g={};function m(e,t){for(var n=0,i=e.length;n<i;++n)if(!t(e[n]))return s;return 1}function y(e,t){m(e,function(e){return t(e),1})}function v(e,t,n){e=e[u]?e:[e];var i=t&&t.call,r=i?t:n,o=i?e.join(""):t,a=e.length;function s(e){return e.call?e():d[e]}function l(){if(!--a)for(var e in d[o]=1,r&&r(),h)m(e.split("|"),s)&&!y(h[e],s)&&(h[e]=[])}return setTimeout(function(){y(e,function e(t,n){return null===t?l():(n||/^https?:\/\//.test(t)||!c||(t=-1===t.indexOf(".js")?c+t+".js":c+t),g[t]?(o&&(p[o]=1),2==g[t]?l():setTimeout(function(){e(t,!0)},0)):(g[t]=1,o&&(p[o]=1),void w(t,l)))})},0),v}function w(e,t){var n,i=o.createElement("script");i.onload=i.onerror=i[f]=function(){i[l]&&!/^c|loade/.test(i[l])||n||(i.onload=i[f]=null,n=1,g[e]=2,t())},i.async=1,i.src=r?e+(-1===e.indexOf("?")?"?":"&")+r:e,a.insertBefore(i,a.lastChild)}return v.get=w,v.order=function(n,i,r){!function e(t){t=n.shift(),n.length?v(t,e):v(t,i,r)}()},v.path=function(e){c=e},v.urlArgs=function(e){r=e},v.ready=function(e,t,n){e=e[u]?e:[e];var i=[];return y(e,function(e){d[e]||i[u](e)}),m(e,function(e){return d[e]})?t():(e=e.join("|"),h[e]=h[e]||[],h[e][u](t),n&&n(i)),v},v.done=function(e){v([null],e)},v})},{}]},{},[32])(32)});
function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}if("undefined"!=typeof fv_flowplayer_conf){var FVAbrController,parseIOSVersion=function(e){e=/iP(ad|hone)(; CPU)? OS (\d+_\d)/.exec(e);return e&&1<e.length?parseFloat(e[e.length-1].replace("_","."),10):0};try{"object"==_typeof(window.localStorage)&&void 0!==window.localStorage.volume&&delete fv_flowplayer_conf.volume}catch(e){}flowplayer.conf=fv_flowplayer_conf,flowplayer.conf.fullscreen=!1,flowplayer.conf.chromecast=!1,flowplayer.conf.embed=!1,flowplayer.conf.share=!1,flowplayer.conf.analytics=!1,void 0!==fv_flowplayer_conf.disable_localstorage&&(flowplayer.conf.storage={});try{flowplayer.conf.key=atob(flowplayer.conf.key)}catch(e){}!flowplayer.support.android&&flowplayer.conf.dacast_hlsjs&&((FVAbrController=function(e){this.hls=e,this.nextAutoLevel=3}).prototype.nextAutoLevel=function(e){this.nextAutoLevel=e},FVAbrController.prototype.destroy=function(){},flowplayer.conf.hlsjs={startLevel:-1,abrController:FVAbrController}),flowplayer.support.iOS&&flowplayer.support.iOS.chrome&&0==flowplayer.support.iOS.version&&(flowplayer.support.iOS.version=parseIOSVersion(navigator.userAgent)),(flowplayer.support.iOS&&13<=parseInt(flowplayer.support.iOS.version)||!flowplayer.support.iOS&&flowplayer.support.browser.safari&&8<=parseInt(flowplayer.support.browser.version))&&(flowplayer.conf.hlsjs.safari=!0,flowplayer.support.browser.safari)&&16.5<=parseFloat(flowplayer.support.browser.version)&&(flowplayer.conf.hlsjs.safari=!1),flowplayer.support.fvmobile=!(flowplayer.support.firstframe&&!flowplayer.support.iOS&&!flowplayer.support.android);var fls=flowplayer.support;flowplayer.conf.mobile_native_fullscreen&&"ontouchstart"in window&&fls.fvmobile&&(flowplayer.conf.native_fullscreen=!0),"ontouchstart"in window&&(fls.android&&fls.android.version<4.4&&!(fls.browser.chrome&&54<fls.browser.version)&&(flowplayer.conf.native_fullscreen=!0),fls.iOS)&&(fv_player_in_iframe()||fls.iOS.version<7)&&(flowplayer.conf.native_fullscreen=!0)}"undefined"!=typeof fv_flowplayer_translations&&(flowplayer.defaults.errors=fv_flowplayer_translations);var fv_player_did_autoplay=!1;function fv_player_videos_parse(e,o){try{var a=JSON.parse(e)}catch(e){return!1}var n;flowplayer.support.browser.safari&&(n=[],jQuery(a.sources).each(function(e,t){"video/webm"!=t.type&&n.push(t)}),0<n.length)&&(a.sources=n);var r,e=new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)").exec(location.search);return!(null!=e&&"yes"==e[1]||jQuery(window).width()<=480||jQuery(window).height()<=480)||null!=e&&"no"==e[1]||(r=!1,jQuery(a.sources).each(function(e,t){if(!t)return!1;t.mobile&&(a.sources[e]=a.sources[0],a.sources[0]=t,r=!0),r&&jQuery(o).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+"</a>.</p>")})),o.trigger("fv_player_videos_parse",a),a}function fv_player_in_iframe(){try{return window.self!==window.top}catch(e){return!0}}function fv_escape_attr(e){var t={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#039;"};return e.replace(/[&<>"']/g,function(e){return t[e]})}function fv_player_preload(){function e(){jQuery(".flowplayer.fp-is-embed").each(function(){var e=jQuery(this);e.hasClass("has-chapters")||e.hasClass("has-transcript")||0!=jQuery(".fp-playlist-external[rel="+e.attr("id")+"]").length||e.height(jQuery(window).height())})}if(flowplayer.support.touch&&jQuery(".fp-playlist-external.fv-playlist-design-2017").addClass("visible-captions"),flowplayer(function(n,r){localStorage.flowplayerTestStorage&&delete localStorage.flowplayerTestStorage;var e,t,o,i=(r=jQuery(r)).find(".fp-player"),l=!1,a=(r.hasClass("fixed-controls")&&r.find(".fp-controls").on("click",function(e){n.loading||n.ready||(e.preventDefault(),e.stopPropagation(),n.load())}),0==r.data("volume")&&r.hasClass("no-controlbar")&&r.find(".fp-volume").remove(),jQuery(".fp-playlist-external[rel="+r.attr("id")+"]")),s=((!n.conf.playlist||0==n.conf.playlist.length)&&a.length&&0<a.find("a[data-item]").length?(t=[],a.find("a[data-item]").each(function(){(e=fv_player_videos_parse(jQuery(this).attr("data-item"),r))?t.push(e):jQuery(this).remove()}),n.conf.playlist=t,n.conf.clip=t[0]):n.conf.clip||(n.conf.clip=fv_player_videos_parse(jQuery(r).attr("data-item"),r)),jQuery("a",a).on("click",function(e){e.preventDefault(),l=!0;var e=jQuery(this),t=jQuery(".fp-playlist-external[rel="+r.attr("id")+"]"),t=jQuery("a",t).index(this),o=e.prev("a"),a=e.data("item");if(location.href.match(/wp-admin/)&&0<e.parents(".fv-player-editor-preview").length)return fv_flowplayer_conf.current_video_to_edit=t,e.parents(".fv-player-custom-video").find(".edit-video .fv-player-editor-button").trigger("click"),!1;if(o.length&&e.is(":visible")&&!o.is(":visible"))return o.trigger("click"),!1;if(!jQuery("#"+e.parent().attr("rel")).hasClass("dynamic-playlist")){if(fv_player_playlist_active(jQuery(".fp-playlist-external[rel="+r.attr("id")+"]"),this),n){if(n.error&&(n.pause(),n.error=n.loading=!1,r.removeClass("is-error"),r.find(".fp-message.fp-shown").remove()),!n.video||n.video.index==t)return;n.play(t)}o=(o=a.splash)||e.find("img").attr("src");d(r,i,a,o),r[0].getBoundingClientRect().bottom-100<0&&jQuery("html, body").animate({scrollTop:jQuery(r).offset().top-100},300)}}),jQuery("[rel="+r.attr("id")+"]")),f=!1,c=r.find(".fp-splash"),p=r.find(".fv-fp-splash-text");function d(e,t,o,a){e=e.find("img.fp-splash");a?(0==e.length&&(e=jQuery('<img class="fp-splash" />'),t.prepend(e)),e.attr("alt",o.fv_title?fv_escape_attr(o.fv_title):"video"),e.attr("src",a)):e.length&&e.remove()}n.bind("load",function(e,t,o){var a;t.conf.playlist.length&&(o.type.match(/^audio/)&&!l&&(a=(a=(o=(t=s.find("a").eq(o.index)).data("item")).splash)||t.find("img").attr("src"),d(r,i,o,a)),l=!1)}),n.bind("ready",function(e,t,o){setTimeout(function(){var e;-1<o.index&&0<s.length&&(e=jQuery("a",s).eq(o.index),fv_player_playlist_active(s,e),f=e.find(".fvp-progress"))},100),c=r.find(".fp-splash"),o.is_audio_stream||o.type.match(/^audio/)||(window.fv_player_pro&&window.fv_player_pro.autoplay_scroll||r.data("fvautoplay")||"application/x-mpegurl"==t.video.type?t.one("progress",function(){c.remove(),p.remove()}):(c.remove(),p.remove()))}),n.bind("unload",function(){jQuery(".fp-playlist-external .now-playing").remove(),jQuery(".fp-playlist-external a").removeClass("is-active");var e=i.find("iframe.fp-engine");e.length?(e.after(p),e.after(c)):(i.prepend(p),i.prepend(c)),f=!1}),n.bind("progress",function(e,t,o){f.length&&t.playlist_thumbnail_progress(f,t.video,o)}),n.bind("error-subtitles",function(){console.log("error-subtitles"),fv_player_notice(r,fv_flowplayer_translations[8],2e3)}),(a=jQuery(r).parent().find("div.fp-playlist-vertical[rel="+jQuery(r).attr("id")+"]")).length&&((o=function(){var e=a.hasClass("fp-playlist-only-captions")?"height":"max-height";a.parents(".fp-playlist-text-wrapper").hasClass("is-fv-narrow")&&(e="max-height"),a.css(e,function(){var e=r.height();0==e&&(e=r.css("max-height"));return e}()),"max-height"==e&&a.css("height","auto")})(),jQuery(window).on("resize tabsactivate",function(){setTimeout(o,0)})),n.show_status=function(e){var o="";["loading","ready","playing","paused","seeking"].every(function(e,t){return n[e]&&(o+=" "+e),!0}),console.log("FV Player Status ("+e+")",o)},window.fv_player_loaded||(window.fv_player_loaded=!0,setTimeout(function(){jQuery(document).trigger("fv_player_loaded");var e=new CustomEvent("fv_player_loaded",[]);document.dispatchEvent(e)},100)),setTimeout(function(){r.trigger("fv_player_loaded")},10),r.data("error")&&(n.message(r.data("error")),r.find(".fp-controls").remove(),r.find(".fp-header").css("opacity",1).show(),n.conf.clip={sources:[{src:!1,type:"video/mp4"}]},n.on("load",function(e){e.preventDefault(),e.stopPropagation()}))}),window.self==window.top||location.href.match(/fv_player_preview/)||(e(),jQuery(window.self).resize(e)),"undefined"!=typeof fv_flowplayer_playlists)for(var t in fv_flowplayer_playlists)fv_flowplayer_playlists.hasOwnProperty(t)&&jQuery("#"+t).flowplayer({playlist:fv_flowplayer_playlists[t]});fv_player_load(),fv_autoplay_exec(),jQuery(document).ajaxComplete(function(){fv_player_load()}),jQuery(window).on("hashchange",fv_autoplay_exec)}function fv_player_load(i){i&&1<i.lenght&&console.log("FV Player: Can't use fv_player_load with more than a single forced element!");var l=!1;if((i||jQuery(".flowplayer")).each(function(e,t){var o=jQuery(t),t=o.data("flowplayer");if(t)i&&(l=t);else{i&&(o.find(".fp-preload, .fvfp_admin_error").remove(),o.attr("data-item-lazy")?(o.attr("data-item",o.attr("data-item-lazy")),o.removeAttr("item-lazy")):(a=jQuery("[rel="+o.attr("id")+"]"))&&a.find("a[data-item-lazy]").each(function(e,t){(t=jQuery(t)).attr("data-item",t.attr("data-item-lazy")),t.removeAttr("data-item-lazy")}));var a,n,t=!1;if(o.attr("data-item"))t={clip:fv_player_videos_parse(o.attr("data-item"),o)};else if(a=jQuery("[rel="+o.attr("id")+"]")){if(0==a.find("a[data-item]").length)return;var r=[];a.find("a[data-item]").each(function(){(n=fv_player_videos_parse(jQuery(this).attr("data-item"),o))?r.push(n):jQuery(this).remove()}),t={playlist:r}}t&&(t=flowplayer.extend(t,o.data()),l=flowplayer(o[0],t),o.data("flowplayer",l))}}),jQuery(".fv-playlist-slider-wrapper").each(function(){var e=jQuery(this).find("a");jQuery(this).find(".fp-playlist-external").css("width",e.outerWidth()*e.length)}),void 0!==jQuery().tabs&&(jQuery("body").removeClass("fv_flowplayer_tabs_hide"),jQuery(".fv_flowplayer_tabs_content").tabs()),i&&l)return l}function fv_player_playlist_active(e,t){e&&(jQuery("a",e).removeClass("is-active"),jQuery(".now-playing").remove());var o,e=jQuery(e),t=jQuery(t),a=!1,n=(t.addClass("is-active"),e.hasClass("fv-playlist-design-2014"));(n&&0==t.find("h4").length||!n)&&0==t.find(".now-playing").length&&t.prepend('<strong class="now-playing"><span>'+fv_flowplayer_translations.playlist_current+"</span></strong>"),e.parent().find(".flowplayer").length||(a=!0),(e.hasClass("fp-playlist-vertical")||e.hasClass("fp-playlist-horizontal")&&e.hasClass("is-audio"))&&!function(e){var t=e.getBoundingClientRect(),o=t.top,a=t.height,n=o+a,e=e.parentNode;do{if(t=e.getBoundingClientRect(),n<=t.bottom==!1)return;if(o<=t.top)return}while(e=e.parentNode,e!=document.body);return n<=document.documentElement.clientHeight}(t.get(0))?(o=a?e.parent():e).animate({scrollTop:o.scrollTop()+(t.position().top-o.position().top)},750):e.hasClass("fp-playlist-horizontal")&&!function(e){var t=e.getBoundingClientRect(),o=t.left,a=t.width,n=o+a,e=e.parentNode;do{if(t=e.getBoundingClientRect(),n<=t.right==!1)return;if(o<=t.left)return}while(e=e.parentNode,e!=document.body);return n<=document.documentElement.clientWidth}(t.get(0))&&(o=a?e.parent():e).animate({scrollLeft:o.scrollLeft()+(t.position().left-o.position().left)},750)}function fv_parse_sharelink(e){var t,o="fvp_";return(e=e.replace("https?://[^./].","")).match(/(youtube.com)/)?o+e.match(/(?:v=)([A-Za-z0-9_-]*)/)[1]:e.match(/(vimeo.com)|(youtu.be)/)?o+e.match(/(?:\/)([^/]*$)/)[1]:(t=e.match(/(?:\/)([^/]*$)/))?o+t[1].match(/^[^.]*/)[0]:o+e}function fv_player_get_video_link_hash(e){var t=fv_parse_sharelink((void 0!==e.video.sources_original&&void 0!==e.video.sources_original[0]?e.video.sources_original:e.video.sources)[0].src);return t=void 0!==e.video.id?fv_parse_sharelink(e.video.id.toString()):t}function fv_player_time_hms(e){var t,o,a;return isNaN(e)?NaN:(t=parseInt(e,10),o=Math.floor(t/3600),a=Math.floor(t/60)%60,e=t%60,o?o+="h":o="",o&&a<10?a="0"+a+"m":a?a+="m":a="",(o||a)&&e<10&&(e="0"+e),o+a+(e+="s"))}function fv_player_time_hms_ms(e){var t;return isNaN(e)?NaN:(t=void 0!==(t=((e=parseFloat(e).toFixed(3))+"").split("."))[1]&&0<t[1]?t[1]+"ms":"",fv_player_time_hms(e)+t)}function fv_player_time_seconds(e,t){var o;return e?(o=0,e.match(/(\d+[a-z]{1,2})/g).forEach(function(e){e.endsWith("h")?o+=3600*parseInt(e):e.endsWith("m")?o+=60*parseInt(e):e.endsWith("s")&&!e.endsWith("ms")?o+=parseInt(e):e.endsWith("ms")&&parseInt(e)&&(o+=parseInt(e)/1e3)}),t?Math.min(o,t):o):-1}function fv_autoplay_init(e,o,t,a,n){var r,i,l;!fv_autoplay_exec_in_progress&&(fv_autoplay_exec_in_progress=!0,r=e.data("flowplayer"))&&(i=fv_player_time_seconds(t),n=fv_player_time_seconds(n),a=fv_player_time_seconds(a),e.parent().hasClass("ui-tabs-panel")&&(t=e.parent().attr("id"),jQuery("[aria-controls="+t+"] a").trigger("click")),e.find(".fp-player").attr("class").match(/\bis-sticky/)||(l=jQuery(e).offset().top-(jQuery(window).height()-jQuery(e).height())/2,window.scrollTo(0,l),r.one("ready",function(){window.scrollTo(0,l)})),e.hasClass("lightboxed")&&setTimeout(function(){jQuery("[href=\\#"+e.attr("id")+"]").trigger("click")},0),o?fv_player_video_link_autoplay_can(r,parseInt(o))?r.ready?fv_player_video_link_seek(r,i,n,a):(r.play(parseInt(o)),r.one("ready",function(){fv_player_video_link_seek(r,i,n,a)})):flowplayer.support.inlineVideo&&(r.one("progress",function(e,t){t.play(parseInt(o)),t.one("ready",function(){fv_player_video_link_seek(t,i,n,a)})}),e.find(".fp-splash").attr("src",jQuery("[rel="+e.attr("id")+"] div").eq(o).find("img").attr("src")),fv_player_in_iframe()||fv_player_notice(e,fv_flowplayer_translations[11],"progress")):r.ready?fv_player_video_link_seek(r,i,n,a):(fv_player_video_link_autoplay_can(r)?r.load():fv_player_in_iframe()||fv_player_notice(e,fv_flowplayer_translations[11],"progress"),r.one("ready",function(){fv_player_video_link_seek(r,i,n,a)})))}function fv_player_video_link_seek(e,t,o,a){fv_autoplay_exec_in_progress=!1;var n=setInterval(function(){e.loading||((0<t||0<e.video.time)&&(e.custom_seek?e.custom_seek(t):e.seek(t)),o&&a&&e.trigger("link-ab",[e,a,o]),clearInterval(n))},10)}jQuery(document).ready(function(){var e=0,t=setInterval(function(){++e<1e3&&(window.fv_video_intelligence_conf&&!window.FV_Player_IMA||window.fv_vast_conf&&!window.FV_Player_IMA||window.fv_player_pro&&!window.FV_Flowplayer_Pro&&document.getElementById("fv_player_pro")!=fv_player_pro||window.fv_player_user_playlists&&!window.fv_player_user_playlists.is_loaded||window.FV_Player_JS_Loader_scripts_total&&window.FV_Player_JS_Loader_scripts_loaded<window.FV_Player_JS_Loader_scripts_total)||(clearInterval(t),fv_player_preload())},10)});var fv_autoplay_exec_in_progress=!1;function fv_autoplay_exec(){var e,i,l,s,f,c=!0;"undefined"!=typeof flowplayer&&"undefined"!=typeof fv_flowplayer_conf&&fv_flowplayer_conf.video_hash_links&&window.location.hash.substring(1).length&&(e=window.location.hash.match(/\?t=/)?window.location.hash.substring(1).split("?t="):window.location.hash.substring(1).split(","),i=e[0],l=void 0!==e[1]&&e[1],s=void 0!==e[2]&&e[2],f=void 0!==e[3]&&e[3],jQuery(".flowplayer").each(function(){var e=jQuery(this),t=(e=e.hasClass("lightbox-starter")?jQuery(e.attr("href")):e).data("flowplayer");if(t){var o,a=void 0!==t.conf.playlist&&1<t.conf.playlist.length?t.conf.playlist:[t.conf.clip];for(o in a)if(a.hasOwnProperty(o)){var n=void 0!==a[o].id&&fv_parse_sharelink(a[o].id.toString());if(i===n&&c)return 0<t.conf.playlist.length?t.conf.playlist[o].prevent_position_restore=!0:t.conf.clip.prevent_position_restore=!0,console.log("fv_autoplay_exec for "+n,o),fv_autoplay_init(e,parseInt(o),l,s,f),c=!1}for(o in a)if(a.hasOwnProperty(o)){var r=fv_parse_sharelink(a[o].sources[0].src);if(i===r&&c)return 0<t.conf.playlist.length?t.conf.playlist[o].prevent_position_restore=!0:t.conf.clip.prevent_position_restore=!0,console.log("fv_autoplay_exec for "+r,o),fv_autoplay_init(e,parseInt(o),l,s,f),c=!1}}})),c&&flowplayer.support.firstframe&&jQuery(".flowplayer[data-fvautoplay]").each(function(){var e,t,o=jQuery(this),a=o.data("flowplayer"),n=o.attr("data-fvautoplay");!fv_player_did_autoplay&&n&&-1!=n&&((flowplayer.support.android||flowplayer.support.iOS)&&a&&"video/youtube"==a.conf.clip.sources[0].type?console.log("FV Player: Autoplay for YouTube not supported on Android and iOS"):(fv_player_did_autoplay=!0,a.conf.playlist.length&&!isNaN(parseFloat(n))&&isFinite(n)?a.play(parseInt(n)):a.load(),e=o.find(".fp-play").addClass("invisible"),t=o.find(".fp-controls").addClass("invisible"),a.one("progress",function(){e.removeClass("invisible"),t.removeClass("invisible")}),"muted"==n&&a.mute(!0,!0)))})}function fv_player_video_link_autoplay_can(e,t){return!("video/youtube"==(t?e.conf.playlist[t]:e.conf.clip).sources[0].type&&(flowplayer.support.iOS||flowplayer.support.android)||fv_player_in_iframe())&&flowplayer.support.firstframe}function fv_player_notice(e,t,o){var a=jQuery(".fvfp-notices",e),n=(a.length||(a=jQuery('<div class="fvfp-notices">'),jQuery(".fp-player",e).append(a)),jQuery('<div class="fvfp-notice-content">'+t+"</div></div>"));return a.append(n),"string"==typeof o&&jQuery(e).data("flowplayer").on(o,function(){n.fadeOut(100,function(){jQuery(this).remove()})}),0<o&&setTimeout(function(){n.fadeOut(2e3,function(){jQuery(this).remove()})},o),n}var fv_player_clipboard=function(e,t,o){if(navigator.clipboard&&"function"==typeof navigator.clipboard.writeText)navigator.clipboard.writeText(e).then(function(){t()},function(){o()});else try{(fv_player_doCopy(e)?t:o)()}catch(e){void 0!==o&&o(e)}};function fv_player_doCopy(e){var t,o,a,n=document.createElement("textarea"),e=(n.value=e,n.style.opacity=0,n.style.position="absolute",n.setAttribute("readonly",!0),document.body.appendChild(n),0<document.getSelection().rangeCount&&document.getSelection().getRangeAt(0));navigator.userAgent.match(/ipad|ipod|iphone/i)?(t=n.contentEditable,n.contentEditable=!0,(o=document.createRange()).selectNodeContents(n),(a=window.getSelection()).removeAllRanges(),a.addRange(o),n.setSelectionRange(0,999999),n.contentEditable=t):n.select();try{var r=document.execCommand ("copy");return e&&(document.getSelection().removeAllRanges(),document.getSelection().addRange(e)),document.body.removeChild(n),r}catch(e){throw new Error("Unsuccessfull")}}function fv_player_log(e,t){fv_flowplayer_conf.debug&&"undefined"!=typeof console&&"function"==typeof console.log&&(t?console.log(e,t):console.log(e)),fv_flowplayer_conf.debug&&void 0!==window.location.search&&window.location.search.match(/fvfp/)&&jQuery("body").prepend(e+"<br />")}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function is_ga_4(e){return!(void 0===e.conf.fvanalytics||!e.conf.fvanalytics||!e.conf.fvanalytics.startsWith("G-"))}function fv_player_track(e,t,o,a,n,r){if("object"!=_typeof(e)&&(r=n,n=a,a=o,o=t,t=e,e=!1),t=t||flowplayer.conf.fvanalytics,void 0===a&&(a="Unknown engine"),/fv_player_track_debug/.test(window.location.href)&&console.log("FV Player Track: "+o+" - "+a+" '"+n+"'",r),"undefined"!=typeof gtag)is_ga_4(e)?gtag("event",o,{video_title:n,video_current_time:e.video.time,video_provider:a,video_duration:e.video.duration,value:r||1}):gtag("event",o,{event_category:a,event_label:n,value:r||1});else if(t&&"undefined"!=typeof ga)ga("create",t,"auto",n,{allowLinker:!0}),ga("require","linker"),r?ga("send","event",o,a,n,r):ga("send","event",o,a,n);else if(t&&"undefined"!=typeof _gat){e=_gat._getTracker(t);if(void 0===e._setAllowLinker)return;e._setAllowLinker(!0),r?e._trackEvent(o,a,n,r):e._trackEvent(o,a,n)}flowplayer.conf.matomo_domain&&flowplayer.conf.matomo_site_id&&"undefined"!=typeof _paq&&(r?_paq.push(["trackEvent",o,a,n,r]):_paq.push(["trackEvent",o,a,n]))}function fv_player_track_name(e,t){e=e.attr("title");return(e=(e=e||void 0===t.fv_title?e:t.fv_title)||void 0===t.title?e:t.title)||void 0===t.src||(e=t.src.split("/").slice(-1)[0].replace(/\.(\w{3,4})(\?.*)?$/i,""),t.type.match(/mpegurl/)&&(e=t.src.split("/").slice(-2)[0].replace(/\.(\w{3,4})(\?.*)?$/i,"")+"/"+e)),e}flowplayer(function(o,r){var n,t,i,a,l;function e(){var e;"dash"==o.engine.engineName?((e=i[o.engine.dash.getQualityFor("video")]).qualityIndex!=a&&(a=e.qualityIndex,s(e.qualityIndex,i)),t.match(/dash_debug/)&&f(e.width,e.height,e.bitrate)):"hlsjs-lite"==o.engine.engineName&&(n.currentLevel!=a&&(a=n.currentLevel,s(n.currentLevel,n.levels)),t.match(/hls_debug/))&&(e=n.levels[n.currentLevel])&&f(e.width,e.height,e.bitrate)}function s(e,t){var o,a,n;t[e]&&(o=t[e].height,a=541,n=1e5,jQuery(t).each(function(e,t){720<=t.height&&t.height<1400&&(a=720),t.height<n&&(n=t.height),localStorage.FVPlayerHLSQuality==t.height&&(r.find("a[data-quality]").removeClass("fp-selected fp-color"),r.find("a[data-quality="+e+"]").addClass("fp-selected fp-color"))}),r.find("a[data-quality]").removeClass("is-current"),r.find("a[data-quality="+e+"]").addClass("is-current"),t=1400<=o?"4K":a<=o?"HD":360<=o&&n<o?"SD":"SD",r.find(".fp-qsel").html(t))}function f(e,t,o){l.html("Using "+e+"x"+t+" at "+Math.round(o/1024)+" kbps")}function c(){var o=r.find(".fp-qsel-menu");o.children().each(function(e,t){o.prepend(t)}),o.children().each(function(e,t){var o;/^NaNp/.test(jQuery(t).html())?(o=jQuery(t).html().match(/\((.*?)\)/))&&void 0!==o[1]&&jQuery(t).html(o[1]):jQuery(t).html(jQuery(t).html().replace(/\(.*?\)/,""))}),o.prepend(o.find("a[data-quality=-1]")),o.prepend(o.find("strong"))}r=jQuery(r),void 0===o.conf.disable_localstorage&&(flowplayer.engine("hlsjs-lite").plugin(function(e){(n=e.hls).on(Hls.Events.ERROR,function(e,t){"mediaError"==t.type&&"fragParsingError"==t.details&&1==t.fatal&&(n.destroy(),o.trigger("error",[o,{code:3}]),setTimeout(function(){r.removeClass("is-seeking"),r.addClass("is-paused")},0))}),flowplayer.support.browser.safari&&n.on(Hls.Events.KEY_LOADED,function(e){"hlsKeyLoaded"==e&&setTimeout(function(){o.loading&&(console.log("FV Player: Safari stuck loading HLS, resuming playback..."),o.resume())},0)});var a=!(!flowplayer.conf.hd_streaming||flowplayer.support.fvmobile)&&720;localStorage.FVPlayerHLSQuality&&(a=localStorage.FVPlayerHLSQuality),(a=0==jQuery(e.root).data("hd_streaming")?!1:a)&&n.on(Hls.Events.MANIFEST_PARSED,function(e,t){var o=!1;jQuery.each(t.levels,function(e,t){t.height==a&&(o=e)}),localStorage.FVPlayerHLSQuality||o||jQuery.each(t.levels,function(e,t){t.height>o&&(o=e)}),o&&(console.log("FV Player: Picked "+t.levels[o].height+"p quality"),n.startLevel=o,n.currentLevel=o)})}),r=jQuery(r),t=document.location.search,localStorage.FVPlayerDashQuality&&(o.conf.dash||(o.conf.dash={}),o.conf.dash.initialVideoQuality="restore"),r.on("click",".fp-qsel-menu a",function(){var e;"hlsjs-lite"==o.engine.engineName&&(-1==(e=jQuery(this).data("quality"))?localStorage.removeItem("FVPlayerHLSQuality"):(e=n.levels[e],localStorage.FVPlayerHLSQuality=e.height))}),0!=r.data("hd_streaming")&&(localStorage.FVPlayerHLSQuality?(o.conf.hlsjs.startLevel=parseInt(localStorage.FVPlayerHLSQuality),o.conf.hlsjs.testBandwidth=!1,o.conf.hlsjs.autoLevelEnabled=!1):flowplayer.conf.hd_streaming&&!flowplayer.support.fvmobile&&(o.conf.hlsjs.startLevel=3,o.conf.hlsjs.testBandwidth=!1,o.conf.hlsjs.autoLevelEnabled=!1)),o.bind("quality",function(e,t,o){"dash"==t.engine.engineName&&(-1==o?localStorage.removeItem("FVPlayerDashQuality"):i[o]&&(localStorage.FVPlayerDashQuality=i[o].height))}),i=[],a=-1,o.bind("ready",function(e,t){var a;r.find(".fp-qsel-menu strong").text(fv_flowplayer_translations.quality),"dash"==t.engine.engineName?(i=t.engine.dash.getBitrateInfoListFor("video"),localStorage.FVPlayerDashQuality&&t.conf.dash.initialVideoQuality&&t.quality(t.conf.dash.initialVideoQuality),c()):"hlsjs-lite"==t.engine.engineName?(r.addClass("is-loading"),t.loading=!0,t.one("progress",function(){t.loading&&(r.removeClass("is-loading"),t.loading=!1)}),t.video.qualities&&2<t.video.qualities.length&&(a=-1,0!=r.data("hd_streaming")&&(localStorage.FVPlayerHLSQuality?jQuery(t.video.qualities).each(function(e,t){if(t.value==localStorage.FVPlayerHLSQuality)return a=localStorage.FVPlayerHLSQuality,!1}):flowplayer.conf.hd_streaming&&!flowplayer.support.fvmobile&&jQuery(t.video.qualities).each(function(e,t){var o=parseInt(t.label);0<o&&-1==a&&720<=o&&o<=720&&(a=t.value)}),-1<(a=parseInt(a)))&&r.one("progress",function(){setTimeout(function(){t.quality(a)})}),c())):t.video.sources_fvqs&&0<t.video.sources_fvqs.length&&t.video.src.match(/vimeo.*?\.mp4/)&&setTimeout(c,0),r.find("a[data-quality]").removeClass("is-current")}),(t.match(/dash_debug/)||t.match(/hls_debug/))&&(l=jQuery('<div class="fv-debug" style="background: gray; color: white; top: 10%; position: absolute; z-index: 1000">').appendTo(r.find(".fp-player"))),o.bind("ready progress",e),o.bind("quality",function(){setTimeout(e,0)}))}),flowplayer(function(a,n){var r=(n=jQuery(n)).attr("id"),i=!1;function l(){var t,o,e=n.attr("data-ad");if(void 0!==e&&e.length){try{e=JSON.parse(e)}catch(e){return}!i&&!n.hasClass("is-cva")&&n.width()>=parseInt(e.width)&&(e=(e=e.html).replace("%random%",Math.random()),i=jQuery('<div id="'+r+'_ad" class="wpfp_custom_ad">'+e+"</div>"),n.find(".fp-player").append(i),t=0,o=setInterval(function(){var e=i&&i.find(".adsbygoogle").height();(200<++t||0<e)&&clearInterval(o),e>n.height()&&i.addClass("tall-ad")},50),setTimeout(function(){n.find(".wpfp_custom_ad video").length&&a.pause()},500))}}function o(e){var t=n.attr("data-popup");if(void 0!==t&&t.length){try{t=JSON.parse(t)}catch(e){return}("finish"==e||t.pause||t.html.match(/fv-player-ppv-purchase-btn-wrapper/))&&0==n.find(".wpfp_custom_popup").length&&(n.addClass("is-popup-showing"),n.find(".fp-player").append('<div id="'+r+'_custom_popup" class="wpfp_custom_popup">'+t.html+"</div>"))}}n.data("end_popup_preview")&&jQuery(document).ready(function(){a.trigger("finish",[a])}),a.bind("ready",function(e,t){1==i.length&&(i.remove(),i=!1),n.data("ad_show_after")||l()}).bind("progress",function(e,t,o){o>n.data("ad_show_after")&&l()}).bind("finish",function(e,t){void 0!==t.video.index&&t.video.index+1!=t.conf.playlist.length||o(e.type)}).bind("pause",function(e,t){o(e.type)}).bind("resume unload seek",function(e,t){n.hasClass("is-popup-showing")&&(n.find(".wpfp_custom_popup").remove(),n.removeClass("is-popup-showing"))})}),jQuery(document).on("click",".fv_fp_close",function(){var e=jQuery(this).parents(".wpfp_custom_ad_content"),t=e.find("video");return e.fadeOut(),t.length&&t[0].pause(),!1}),jQuery(document).on("focus",".fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea",function(){var e=jQuery(this).parents(".flowplayer").data("flowplayer");e&&e.disable(!0)}),jQuery(document).on("blur",".fv_player_popup input[type=text], .fv_player_popup input[type=email], .fv_player_popup textarea",function(){var e=jQuery(this).parents(".flowplayer").data("flowplayer");e&&e.disable(!1)}),flowplayer(function(a,s){var n,r,e,t,o,s=jQuery(s),i=flowplayer.bean,l=0,f=0,c=("undefined"==typeof ga&&a.conf.fvanalytics&&"undefined"==typeof _gat&&"undefined"==typeof gtag&&(is_ga_4(a)?jQuery.getScript({url:"https://www.googletagmanager.com/gtag/js?id="+a.conf.fvanalytics,cache:!0},function(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date),window.gtag("config",a.conf.fvanalytics)}):jQuery.getScript({url:"https://www.google-analytics.com/analytics.js",cache:!0},function(){ga("create",a.conf.fvanalytics,"auto")})),!window._paq&&a.conf.matomo_domain&&a.conf.matomo_site_id&&(e="//"+a.conf.matomo_domain+"/",(o=window._paq=window._paq||[]).push(["setTrackerUrl",e+"matomo.php"]),o.push(["setSiteId",a.conf.matomo_site_id]),t=(o=document).createElement("script"),o=o.getElementsByTagName("script")[0],t.type="text/javascript",t.async=!0,t.src=e+"matomo.js",o.parentNode.insertBefore(t,o)),a.bind("progress",function(e,t,o){var a=t.video,n=a.duration,r=0,i=fv_player_track_name(s,a);if(n&&(19*n/20<o?r=4:3*n/4<o?r=3:n/2<o?r=2:n/4<o&&(r=1)),t.live&&(r=0),!s.data("fv_track_"+c[r])){for(var l in c)if(c.hasOwnProperty(l)){if(l==r)break;if(!s.data("fv_track_"+c[l]))return}s.trigger("fv_track_"+c[r].replace(/ /,"_"),[t,i]),s.data("fv_track_"+c[r],!0),fv_player_track(t,!1,"Video "+(s.hasClass("is-cva")?"Ad ":"")+c[r],t.engine.engineName+"/"+a.type,i)}}).bind("finish ready ",function(e,t){for(var o in c)c.hasOwnProperty(o)&&s.removeData("fv_track_"+c[o])}).bind("error",function(e,t,o){setTimeout(function(){var e;t.error&&((e=void 0!==t.video&&void 0!==t.video.src&&t.video)||void 0===t.conf.clip||void 0===t.conf.clip.sources||void 0===t.conf.clip.sources[0]||void 0===t.conf.clip.sources[0].src||(e=t.conf.clip.sources[0]),!(e=fv_player_track_name(s,e))||e.match(/\/\/vimeo.com\/\d/)||is_ga_4(t)||fv_player_track(t,!1,"Video "+(s.hasClass("is-cva")?"Ad ":"")+"error",o.message,e))},100)}),a.bind("load unload",p).bind("progress",function(e,t){t.seeking||(l+=f?+new Date-f:0,f=+new Date),n=n||setTimeout(function(){n=null,is_ga_4(t)||fv_player_track(t,!1,"Flowplayer heartbeat",t.engine.engineName+"/"+t.video.type,"Heartbeat",0)},6e5)}).bind("pause",function(){f=0}),a.bind("shutdown",function(){i.off(window,"unload",p)}),i.on(window,"unload",p),is_ga_4(a)?["Play","25 Percent Played","50  Percent Played","75 Percent Played","100 Percent Played"]:["start","first quartile","second quartile","third quartile","complete"]);function p(e,t,o){o=o||a.video,"load"===e.type&&(r=fv_player_track_name(s,o)),l&&(fv_player_track(a,!1,"Video / Seconds played",a.engine.engineName+"/"+a.video.type,r,Math.round(l/1e3)),l=0,n)&&(clearTimeout(n),n=null)}a.get_time_played=function(){return l/1e3}}),flowplayer(function(a,n){var r=(n=jQuery(n)).find(".fp-player"),i=n.hasClass("no-volume"),l=n.hasClass("fp-mute"),s=n.hasClass("fp-full"),f=0;function t(){var e=r.width()||n.width(),t=a.video.index||0,o=(900<e?jQuery(".fp-subtitle",n).addClass("is-wide"):jQuery(".fp-subtitle",n).removeClass("is-wide"),n.toggleClass("is-tiny",e<400),n.toggleClass("is-small",e<600&&400<=e),e<480+35*f),t=(void 0!==a.fv_timeline_chapters_data&&void 0!==a.fv_timeline_chapters_data[t]&&(o=!0),s||n.toggleClass("fp-full",n.hasClass("has-abloop")||o),""),o=(e<400?t="is-tiny":e<600&&400<=e&&(t="is-small"),n.trigger("fv-player-size",[t]),r);(o=n.parent().hasClass("fp-playlist-vertical-wrapper")||n.parent().hasClass("fp-playlist-text-wrapper")?n.parent():o).width()<=560?o.addClass("is-fv-narrow"):o.removeClass("is-fv-narrow"),e<=320?n.addClass("no-volume fp-mute"):(!i&&flowplayer.support.volume&&n.removeClass("no-volume"),!l&&flowplayer.support.volume&&n.removeClass("fp-mute"))}t(),jQuery(window).on("resize",t),"fonts"in document&&a.one("load",function(){document.fonts.load("1em flowplayer")}),a.on("ready fullscreen fullscreen-exit sticky sticky-exit",function(e){setTimeout(function(){f=n.find(".fp-controls > strong:visible").length+n.find(".fp-controls > .fp-icon:visible").length,t()},0)}),a.on("unload pause finish error",function(){"undefined"!=typeof checker&&clearInterval(checker)})}),jQuery(window).on("resize tabsactivate",function(){jQuery(".fp-playlist-external").each(function(){var e=jQuery(this);900<=e.parent().width()?e.addClass("is-wide"):e.removeClass("is-wide")})}).trigger("resize"),flowplayer(function(e,a){a=jQuery(a),e.bind("ready",function(){/Chrome/.test(navigator.userAgent)&&54<parseFloat(/Chrome\/(\d\d)/.exec(navigator.userAgent)[1],10)&&(e.video.subtitles?jQuery(a).addClass("chrome55fix-subtitles"):jQuery(a).addClass("chrome55fix"))});var t=a.css("background-image");if(t){if(!(t=t.replace(/url\((['"])?(.*?)\1\)/gi,"$2").split(","))||!t[0].match(/^(https?:)?\/\//))return;var o=new Image,t=(o.src=t[0],o.height/o.width),o=a.height()/a.width();Math.abs(o-t)<.05&&a.css("background-size","cover")}var n=!1;jQuery(e.conf.playlist).each(function(e,t){t.sources[0].type.match(/youtube/)&&(n=!0)}),n&&a.addClass("is-youtube"),e.bind("ready",function(e,t,o){"video/youtube"==o.type?a.addClass("is-youtube"):a.removeClass("is-youtube")})}),function(e){e(window).on("resize",function(){e("iframe[id][src][height][width]").each(function(){e(this).attr("id").match(/fv_vimeo_/)&&e(this).width()<=e(this).attr("width")&&e(this).height(e(this).width()*e(this).attr("height")/e(this).attr("width"))}),jQuery(".wistia_embed").each(function(){e(this).height(e(this).width()*e(this).data("ratio"))})}).trigger("resize")}(jQuery),jQuery(document).on("tabsactivate",".fv_flowplayer_tabs_content",function(e,t){var o=jQuery(t.oldPanel).find(".flowplayer").data("flowplayer");void 0!==o&&o.pause(),jQuery(".flowplayer",t.newPanel).data("flowplayer").load()}),flowplayer(function(t,a){a=jQuery(a);var e=flowplayer.bean;a.hasClass("is-audio")&&(e.off(a[0],"mouseenter"),e.off(a[0],"mouseleave"),a.removeClass("is-mouseout"),a.addClass("fixed-controls").addClass("is-mouseover"),t.on("error",function(e,t,o){jQuery(".fp-message",a).html(jQuery(".fp-message",a).html().replace(/video/,"audio"))}),a.on("click",function(e){t.ready||(e.preventDefault(),e.stopPropagation(),t.load())}))}),flowplayer(function(f,c){var t,r,o,i,e,l,n;function a(){}function s(e){console.log("FV Player: Chromecast listener",e),e===chrome.cast.ReceiverAvailability.AVAILABLE&&(flowplayer.conf.chromecast_available=!0)}function p(){}function d(){console.log("chromecast onError")}function u(){clearInterval(o),o=null,f.release(),l.toggleClass(c,"is-chromecast",!1),l.toggleClass(i,"fp-active",!1)}function y(){var e=!1,t=f.video.sources_fvqs||f.video.sources;for(a in t){var o=t[a].type;if("video/mp4"==o||"video/fv-mp4"==o||"application/dash+xml"==o&&!t[a].src.match(/.json/)){e=t[a];break}}if(!e)for(var a in t)if("application/x-mpegurl"==t[a].type){e=t[a];break}if(f.video.fvhkey&&!f.conf.hls_cast)return!1;if(e){var n,r=!1,i=["fullhd","hd","md","sd"];for(n in i){var l=new RegExp("-"+i[n]);for(a in f.video.sources_fvqs){var s=f.video.sources_fvqs[a];if(s.src.match(l)&&"video/mp4"==s.type){r=s;break}}if(r){e=r;break}}}return e}function v(){var a,e=y();e&&(a=[],f.video.subtitles&&f.video.subtitles.forEach(function(e,t){e.src.match(/\.srt/)&&console.log("FV Player: Chromecast doesn't support SRT subtitles");var o=new chrome.cast.media.Track(t,chrome.cast.media.TrackType.TEXT);o.trackContentId=e.src,o.trackContentType="text/vtt",o.subtype=chrome.cast.media.TextTrackType.SUBTITLES,o.name=e.label,o.language=e.srclang+"-"+t,o.customData=null,a.push(o)}),(e=new chrome.cast.media.MediaInfo(e.src,e.type)).tracks=a,e=new chrome.cast.media.LoadRequest(e),f.live||(e.currentTime=f.video.time),clearInterval(o),o=!1,r.loadMedia(e,_,function(e){console.log("onMediaError",e)}))}function _(a){m(a),a.addUpdateListener(function(e){r&&(o=o||setInterval(function(){f.trigger("progress",[f,a.getEstimatedTime()]),a.activeTrackIds.forEach(function(o){jQuery.each(a.media.tracks,function(e,t){if(t.trackId==o&&"AUDIO"==t.type)return h("data-audio",t.language)||h("data-lang",t.language),!1})})},500),e&&(l.toggleClass(c,"is-chromecast",!0),l.toggleClass(i,"fp-active",!0),f.hijack({pause:function(){console.log("hijacked pause!"),a.pause()},resume:function(){f.finished?(clearInterval(o),o=null,f.release(),v()):a.play()},seek:function(e){var t=new chrome.cast.media.SeekRequest;t.currentTime=e,a.seek(t)}})),e=a.playerState,f.paused&&e===chrome.cast.media.PlayerState.PLAYING&&f.trigger("resume",[f]),f.playing&&e===chrome.cast.media.PlayerState.PAUSED&&f.trigger("pause",[f]),f.seeking&&e===chrome.cast.media.PlayerState.BUFFERING&&(n=!0),f.seeking&&e===chrome.cast.media.PlayerState.PLAYING&&n&&(n=!1,f.trigger("seek",[f])),e==chrome.cast.media.PlayerState.IDLE&&a.idleReason==chrome.cast.media.IdleReason.FINISHED&&f.trigger("finish",[f]),l.toggleClass(c,"is-loading",e===chrome.cast.media.PlayerState.BUFFERING))})}function h(o,a){var e=jQuery(c).find(".fv-fp-hls-menu a"),n=!1;return e.each(function(e,t){jQuery(t).attr(o)===a?(jQuery(t).addClass("fp-selected"),n=!0):jQuery(t).removeClass("fp-selected")}),n}function m(e){console.log(e.media.tracks);var o=jQuery(c).find(".fv-fp-hls-menu [data-audio].fp-selected").data("audio"),a=jQuery(c).find(".fv-fp-hls-menu [data-audio].fp-selected").data("lang"),n=jQuery(c).find(".fp-subtitle-menu [data-subtitle-index].fp-selected").data("subtitle-index"),r=-1<n&&f.video.subtitles[n].srclang,i=!1,l=!1,t=[],s=(jQuery.each(e.media.tracks,function(e,t){t.language==o&&"AUDIO"==t.type&&(i=t),t.language==r+"-"+n&&"TEXT"==t.type&&(l=t)}),i||jQuery.each(e.media.tracks,function(e,t){if(t.language==a&&"AUDIO"==t.type)return i=t,!1}),"");i&&(t.push(i.trackId),s+=i.language+" audio"),l&&(t.push(l.trackId),s&&(s+=" "),s+=l.language+" subtitles"),t&&(t=new chrome.cast.media.EditTracksInfoRequest(t),e.editTracksInfo(t,function(){console.log("FV Player: Chromecast "+s+" loaded")},function(){console.log("FV Player: Chromecast "+s+" failed")}))}f.conf.fv_chromecast&&(window.__onGCastApiAvailable||(jQuery.getScript({url:"https://www.gstatic.com/cv/js/sender/v1/cast_sender.js",cache:!0}),window.__onGCastApiAvailable=function(e){e&&(e=t.applicationId||chrome.cast.media.DEFAULT_MEDIA_RECEIVER_APP_ID,e=new chrome.cast.SessionRequest(e),e=new chrome.cast.ApiConfig(e,a,s),chrome.cast.initialize(e,p,d))}),t=f.conf.fv_chromecast||{},e=flowplayer.bean,l=flowplayer.common,n=!1,f.bind("ready",function(e,t,o){var a,n;r?y()?(t.one("progress",function(e,t){t.release(),t.pause(),t.mute(!1,!0),v()}),t.mute(!0,!0)):(r.stop(),r=null,u(),jQuery(i).hide()):flowplayer.conf.chromecast_available&&(y()?((t=l.find(".fp-header",c)[0])&&(l.find(".fp-chromecast",t).forEach(l.removeNode),l.find(".fp-chromecast-engine",c).forEach(l.removeNode),i=l.createElement("a",{class:"fp-chromecast fp-icon",title:"Play on Cast device"}),t.appendChild(i),t=l.createElement("div",{class:"fp-chromecast-engine"}),a=l.createElement("p",{class:"fp-chromecast-engine-status"}),n=l.createElement("p",{class:"fp-chromecast-engine-icon"}),t.appendChild(n),t.appendChild(a),(n=l.find(".fp-engine",c)[0])?n.parentNode.insertBefore(t,n):l.prepend(l.find(".fp-player",c)[0]||c,t)),jQuery(i).show()):(fv_player_log("FV Player: Can't find media source suitable for Chromecast!"),jQuery(i).hide()))}),e.on(c,"click",".fp-chromecast",function(e){var t;e.preventDefault(),r?(f.trigger("pause",[f]),r.media[0].media&&(t=r.media[0].getEstimatedTime(),setTimeout(function(){f.seek(t)},0)),r.stop(),r=null,u()):(f.playing&&f.pause(),chrome.cast.requestSession(function(e){jQuery(c).addClass("is-loading");e=(r=e).receiver.friendlyName;l.html(l.find(".fp-chromecast-engine-status",c)[0],"Playing on device "+e),v()},function(e){console.error("requestSession error",e)}))}),e.on(c,"click",".fv-fp-hls-menu [data-audio], .fp-subtitle-menu [data-subtitle-index]",function(){if(r&&r.media[0].media)return m(r.media[0]),!1}),jQuery(window).on("unload",function(){r&&r.stop()}))}),jQuery(document).on("mfpClose",function(){void 0!==jQuery(".flowplayer").data("flowplayer")&&jQuery(".flowplayer").data("flowplayer").unload()}),jQuery(document).on("click",".vc_tta-tab a",function(){var e=jQuery(".flowplayer.is-playing").data("flowplayer");e&&e.pause()}),flowplayer(function(e,t){t=jQuery(t),e.bind("ready",function(){setTimeout(function(){var e=jQuery("video",t);0<e.length&&e.prop("autoplay",!1)},100),t.find("video.fp-engine").addClass("intrinsic-ignore")})}),jQuery(".flowplayer").on("ready",function(e,t){/BB10/.test(navigator.userAgent)&&t.fullscreen()});var fv_flowplayer_safety_resize_arr=Array();function fv_flowplayer_safety_resize(){var t=!1;jQuery(".flowplayer").each(function(){if(jQuery(this).is(":visible")&&!jQuery(this).hasClass("lightboxed")&&!jQuery(this).hasClass("lightbox-starter")&&!jQuery(this).hasClass("is-audio")&&(jQuery(this).width()<30||jQuery(this).height()<20)){t=!0;for(var e=jQuery(this);(jQuery(e).width()<30||jQuery(e).width()==jQuery(this).width())&&0!=jQuery(e).parent().length;)(e=jQuery(e).parent()).hasClass("ld-video")&&(""==e[0].style.height&&e.css("height","auto"),0<parseInt(e.css("padding-bottom")))&&e.css("padding-bottom","0");jQuery(this).width(jQuery(e).width()),jQuery(this).height(parseInt(jQuery(this).width()*jQuery(this).attr("data-ratio"))),fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")]=e}}),t&&jQuery(window).resize(function(){jQuery(".flowplayer").each(function(){jQuery(this).hasClass("lightboxed")||jQuery(this).hasClass("lightbox-starter")||fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")]&&(jQuery(this).width(fv_flowplayer_safety_resize_arr[jQuery(this).attr("id")].width()),jQuery(this).height(parseInt(jQuery(this).width()*jQuery(this).attr("data-ratio"))))})})}void 0!==flowplayer.conf.safety_resize&&flowplayer.conf.safety_resize&&jQuery(document).ready(function(){setTimeout(function(){fv_flowplayer_safety_resize()},10)});var fv_player_warning,isIE11=!!navigator.userAgent.match(/Trident.*rv[ :]*11\./);function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fv_flowplayer_mobile_switch(e){var t,o=new RegExp("[\\?&]fv_flowplayer_mobile=([^&#]*)").exec(location.search);!(null!=o&&"yes"==o[1]||jQuery(window).width()<=480||jQuery(window).height()<=480)||null!=o&&"no"==o[1]||(t=!1,jQuery("#wpfp_"+e+" video source").each(function(){jQuery(this).attr("id")!="wpfp_"+e+"_mobile"&&(t=!0,jQuery(this).remove())}),t&&jQuery("#wpfp_"+e).after('<p class="fv-flowplayer-mobile-switch">'+fv_flowplayer_translations.mobile_browser_detected_1+' <a href="'+document.URL+'?fv_flowplayer_mobile=no">'+fv_flowplayer_translations.mobile_browser_detected_2+"</a>.</p>"))}if(isIE11&&(jQuery(document).ready(function(){jQuery(".fp-waiting").hide()}),flowplayer(function(e,t){e.bind("load",function(e){jQuery(e.currentTarget).find(".fp-waiting").show()}).bind("beforeseek",function(e){jQuery(e.currentTarget).find(".fp-waiting").show()}).bind("progress",function(e){jQuery(e.currentTarget).find(".fp-waiting").hide()}).bind("seek",function(e){jQuery(e.currentTarget).find(".fp-waiting").hide()}).bind("fullscreen",function(e){jQuery("#wpadminbar").hide()}).bind("fullscreen-exit",function(e){jQuery("#wpadminbar").show()})})),flowplayer.support.browser&&flowplayer.support.browser.msie&&parseInt(flowplayer.support.browser.version,10)<9&&jQuery(".flowplayer").each(function(){jQuery(this).css("width",jQuery(this).css("max-width")),jQuery(this).css("height",jQuery(this).css("max-height"))}),location.href.match(/elementor-preview=/)?(console.log("FV Player: Elementor editor is active"),setInterval(fv_player_load,1e3)):location.href.match(/brizy-edit-iframe/)&&(console.log("FV Player: Brizy editor is active"),setInterval(fv_player_load,1e3)),window.DELEGATE_NAMES&&flowplayer(function(e,t){fv_player_notice(t,fv_flowplayer_translations.chrome_extension_disable_html5_autoplay)}),flowplayer(function(e,t){flowplayer.bean.off(t,"contextmenu")}),location.href.match(/elementor-preview=/)&&(console.log("FV Player: Elementor editor is active"),setInterval(fv_player_load,1e3)),flowplayer(function(o,a){void 0!==(a=jQuery(a)).data("fv-embed")&&a.data("fv-embed")&&"false"!=a.data("fv-embed")&&(o.embedCode=function(){o.video;var e=a.width(),t=a.height();return t+=2,(a.hasClass("has-chapters")||a.hasClass("has-transcript"))&&(t+=300),0<jQuery(".fp-playlist-external[rel="+a.attr("id")+"]").length&&(t+=170),'<iframe src="'+(a.data("fv-embed")+"#"+fv_player_get_video_link_hash(o))+'" allowfullscreen  width="'+e+'" height="'+t+'" frameborder="0" style="max-width:100%"></iframe>'})}),jQuery(document).on("click",".flowplayer .embed-code-toggle",function(){var e,t,o=jQuery(this).closest(".flowplayer");return"undefined"!=typeof fv_player_editor_conf?fv_player_notice(o,fv_player_editor_translations.embed_notice,2e3):(e=jQuery(this),"function"==typeof(o=(t=e.parents(".flowplayer")).data("flowplayer")).embedCode&&t.find(".embed-code textarea").val(o.embedCode()),fv_player_clipboard(t.find(".embed-code textarea").val(),function(){fv_player_notice(t,fv_flowplayer_translations.embed_copied,2e3)},function(){e.parents(".fvp-share-bar").find(".embed-code").toggle(),e.parents(".fvp-share-bar").toggleClass("visible")})),!1}),flowplayer(function(a,n){var r,i,l,s,f,c,p,e,d;function t(e){for(var t=n;t;){try{var o=getComputedStyle(t);o.transform&&(t.style.transform=e?"none":""),o.zIndex&&(t.style.zIndex=e?"auto":"")}catch(e){}t=t.parentNode}}0!=jQuery(n).data("fullscreen")&&(a.one("ready",function(e,t,o){0==jQuery(n).find(".fp-fullscreen").length&&jQuery(n).find(".fp-header").append('<a class="fp-fullscreen fp-icon"></a>')}),r="fullscreen",i="fullscreen-exit",l=flowplayer.support.fullscreen,s=window,p=flowplayer.bean,a.fullscreen=function(e){if(!a.disabled){var t,o=d.find("video.fp-engine",n)[0];if(!(flowplayer.conf.native_fullscreen&&o&&flowplayer.support.iOS))return t=jQuery(n).find(".fp-player")[0],(e=void 0===e?!a.isFullscreen:e)&&(c=s.scrollY,f=s.scrollX),l?e?["requestFullScreen","webkitRequestFullScreen","mozRequestFullScreen","msRequestFullscreen"].forEach(function(e){"function"==typeof t[e]&&(t[e]({navigationUI:"hide"}),"webkitRequestFullScreen"!==e||document.webkitFullscreenElement||t[e]())}):["exitFullscreen","webkitCancelFullScreen","mozCancelFullScreen","msExitFullscreen"].forEach(function(e){"function"==typeof document[e]&&document[e]()}):a.trigger(e?r:i,[a]),a;a.trigger(r,[a]),p.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement===o&&(p.off(document,".nativefullscreen"),p.on(document,"webkitfullscreenchange.nativefullscreen",function(){document.webkitFullscreenElement||(p.off(document,".nativefullscreen"),a.trigger(i,[a]))}))}),o.webkitEnterFullScreen(),p.one(o,"webkitendfullscreen",function(){p.off(document,"fullscreenchange.nativefullscreen"),a.trigger(i,[a]),d.prop(o,"controls",!0),d.prop(o,"controls",!1)})}},d=flowplayer.common,a.on("mousedown.fs",function(){+new Date-e<150&&a.ready&&a.fullscreen(),e=+new Date}),a.on(r,function(){d.addClass(n,"is-fullscreen"),d.toggleClass(n,"fp-minimal-fullscreen",d.hasClass(n,"fp-minimal")),d.removeClass(n,"fp-minimal"),l||(d.css(n,"position","fixed"),t(!0)),a.isFullscreen=!0}).on(i,function(){var e;d.toggleClass(n,"fp-minimal",d.hasClass(n,"fp-minimal-fullscreen")),d.removeClass(n,"fp-minimal-fullscreen"),l||"html5"!==a.engine||(e=n.css("opacity")||"",d.css(n,"opacity",0)),l||(d.css(n,"position",""),t(!1)),d.removeClass(n,"is-fullscreen"),l||"html5"!==a.engine||setTimeout(function(){n.css("opacity",e)}),a.isFullscreen=!1,"fvyoutube"!=a.engine.engineName&&s.scrollTo(f,c)}).on("unload",function(){a.isFullscreen&&a.fullscreen()}),a.on("shutdown",function(){FULL_PLAYER=null,d.removeNode(wrapper)}))}),flowplayer(function(o,a){a=jQuery(a);var e,n,t,r,i,l=jQuery(".fp-playlist-external[rel="+a.attr("id")+"]"),l=l.hasClass("fp-playlist-season")||l.hasClass("fp-playlist-polaroid");function s(){var e=window.innerWidth<window.innerHeight?window.innerWidth<=375?.6:.575:window.innerWidth<=667?2:2.4;return window.innerWidth/window.innerHeight>e}function f(){o.isFullscreen&&window.innerWidth>window.innerHeight&&s()&&!i&&(fv_player_notice(a,fv_flowplayer_translations.iphone_swipe_up_location_bar,"resize-good"),i=setTimeout(function(){i=!1,o.trigger("resize-good")},5e3))}flowplayer.conf.wpadmin||jQuery(a).hasClass("is-audio")||(e=1==a.data("fsforce"),0==a.data("fullscreen"))||0==a.data("fsforce")||(flowplayer.conf.mobile_force_fullscreen&&flowplayer.support.fvmobile||!flowplayer.support.fullscreen&&e||l?(flowplayer.support.fullscreen?a.on("click",function(){o.ready&&!o.paused||o.fullscreen(!0)}):o.bind("ready",function(){o.video.vr||o.one("progress",function(){o.fullscreen(!0)})}),jQuery("[rel="+a.attr("id")+"] a").on("click",function(e){o.isFullscreen||(o.fullscreen(),o.resume())}),o.on("resume",function(){o.video.vr||o.isFullscreen||(flowplayer.support.fullscreen?o.fullscreen():o.one("progress",function(){o.fullscreen(!0)}))}),o.on("finish",function(){0!=o.conf.playlist.length&&o.conf.playlist.length-1!=o.video.index||o.fullscreen(!1)}).on("fullscreen",function(e,t){a.addClass("forced-fullscreen")}).on("fullscreen-exit",function(e,t){t.pause(),a.removeClass("forced-fullscreen")})):e&&(t=a.find(".fp-unload"),r=!1,o.isFakeFullscreen=!1,a.addClass("is-closeable"),a.on("click",function(e){o.ready||e.target==t[0]||o.fakeFullscreen(!0)}),t.on("click",function(e){return o.ready&&o.isFullscreen?o.fullscreen(!1):o.loading&&(r=!0,o.one("resume",function(e){r=!1,o.pause()})),o.fakeFullscreen(!1),!1}),jQuery("[rel="+a.attr("id")+"] a").on("click",function(e){o.isFakeFullscreen||(o.fakeFullscreen(),o.resume())}),o.on("resume",function(){r||o.isFakeFullscreen||o.fakeFullscreen()}).on("finish",function(){0!=o.conf.playlist.length&&o.conf.playlist.length-1!=o.video.index||o.fakeFullscreen(!1)}).on("fullscreen",function(e,t){a.removeClass("fake-fullscreen")}).on("fullscreen-exit",function(e,t){t.isFakeFullscreen&&t.fakeFullscreen(!0,!0)}).on("unload",function(e,t){}),o.fakeFullscreen=function(e,t){(t||o.isFakeFullscreen!=e&&!o.disabled)&&(void 0===n&&(n=a.css("position")),void 0===e&&(e=!o.isFakeFullscreen),o.isFakeFullscreen=e,o.trigger(e?"fakefullscreen":"fakefullscreen-exit",[o]),a.toggleClass("is-fullscreen fake-fullscreen forced-fullscreen",e),e?a.css("position","fixed"):a.css("position",n))}),flowplayer.support.android&&flowplayer.conf.mobile_landscape_fullscreen&&window.screen&&window.screen.orientation&&o.on("fullscreen",function(e,t){void 0!==(t=t).video.width&&void 0!==t.video.height&&0!=t.video.width&&0!=t.video.height&&t.video.width<t.video.height?screen.orientation.lock("portrait-primary"):screen.orientation.lock("landscape-primary")}),i=!1,!flowplayer.support.iOS)||flowplayer.support.fullscreen||flowplayer.conf.native_fullscreen||(o.on("fullscreen",f),window.addEventListener("resize",f),window.addEventListener("resize",function(){s()||(clearTimeout(i),i=!1,o.trigger("resize-good"))}))}),flowplayer(function(o,a){a=jQuery(a);var r,n,i,l,s;window.MediaSource||window.WebKitMediaSource;function f(){var e=a.find("video");return e.length&&e[0].audioTracks?e[0].audioTracks:[]}function c(o){o.name||(o.name=o.label),a.find(".fv-fp-hls-menu a").each(function(e,t){jQuery(t).toggleClass("fp-selected",jQuery(t).attr("data-audio")===o.name)})}function p(){if(n&&!(n.length<2))if(l=jQuery('<strong class="fv-fp-hls">'+fv_flowplayer_translations.audio_button+"</strong>"),(s=jQuery('<div class="fp-menu fv-fp-hls-menu"></div>').insertAfter(a.find(".fp-controls"))).append("<strong>"+fv_flowplayer_translations.audio_menu+"</strong>"),n.forEach(function(e){s.append('<a data-audio="'+e.name+'" data-lang="'+e.lang+'">'+e.name+"</a>")}),l.insertAfter(a.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),s.hasClass("fp-active")?o.hideMenu(s[0]):(a.click(),o.showMenu(s[0]))}),jQuery("a",s).on("click",function(e){var t=e.target.getAttribute("data-audio");if(r){var o=r.audioTracks[r.audioTrack].groupId,e=r.audioTracks.filter(function(e){return e.groupId===o&&(e.name===t||e.lang===t)})[0];r.audioTrack=e.id,c(e)}else{var a,n=f();for(a in n)n.hasOwnProperty(a)&&n[a].label==t&&(n[a].enabled=!0,c(n[a]))}}),r)c(r.audioTracks[r.audioTrack]);else{var e,t=f();for(e in t)t.hasOwnProperty(e)&&t[e].enabled&&c(t[e])}}flowplayer.engine("hlsjs-lite").plugin(function(e){r=e.hls}),o.bind("ready",function(e,t){var o;jQuery(s).remove(),jQuery(l).remove(),r&&"application/x-mpegurl"==t.video.type&&(i=[],n=[],(o=r).levels.forEach(function(e){e=e.attrs.AUDIO;e&&i.indexOf(e)<0&&i.push(e),i.length&&(n=o.audioTracks.filter(function(e){return e.groupId===i[0]}))}),p())}),o.one("progress",function(){if("html5"==o.engine.engineName&&"application/x-mpegurl"==o.video.type){i=[],n=[];var e,t=f();for(e in t)t.hasOwnProperty(e)&&n.push({id:t[e].id,name:t[e].label});p()}})}),flowplayer(function(e,n){var r=-1,i=!1;e.on("error",function(e,t,o){var a;4==o.code&&"hlsjs"==t.engine.engineName&&(console.log("FV Player: HLSJS failed to play the video, switching to Flash HLS"),t.error=t.loading=!1,jQuery(n).removeClass("is-error"),jQuery(flowplayer.engines).each(function(e,t){"hlsjs"==flowplayer.engines[e].engineName&&(r=e,i=flowplayer.engines[e],delete flowplayer.engines[e])}),(a=(0<(o=void 0!==t.video.index?t.video.index:0)?t.conf.playlist[o]:t.conf.clip).sources).index=o,t.load({sources:a}),t.bind("unload error",function(){flowplayer.engines[r]=i}))})}),flowplayer(function(e,l){var s,t=e.conf.live_stream_reload||30,f=t,c=fv_flowplayer_translations.live_stream_retry;function p(e){e=Number(e);var t=Math.floor(e/86400),o=Math.floor(e%86400/3600),a=Math.floor(e%3600/60),e=Math.floor(e%60),n=fv_flowplayer_translations,t=0<t?(1==t?n.duration_1_day:n.duration_n_days).replace(/%s/,t):"";return t&&0<o&&(t+=", "),(t+=0<o?(1==o?n.duration_1_hour:n.duration_n_hours).replace(/%s/,o):"")&&0<a&&(t+=", "),(t+=0<a?(1==a?n.duration_1_minute:n.duration_n_minutes).replace(/%s/,a):"")&&0<e&&(t+=n.and),t+=0<e?(1==e?n.duration_1_second:n.duration_n_seconds).replace(/%s/,e):""}e.clearLiveStreamCountdown=function(){s&&(clearInterval(s),e.error=e.loading=!1,jQuery(l).removeClass("is-error"),jQuery(l).find(".fp-message.fp-shown").remove(),e.unload())},e.conf.flashls={manifestloadmaxretry:2},e.on("ready",function(){f=t,c=fv_flowplayer_translations.live_stream_retry}).on("progress",function(){f=10,c=fv_flowplayer_translations.live_stream_continue,clearInterval(s)}),e.on("error",function(e,r,i){setTimeout(function(){var e,t,o,a,n;(r.conf.clip.live||r.conf.live||i.video&&i.video.src&&i.video.src.match(/\/\/vimeo.com\/event\//))&&(e=f,r.conf.clip.streaming_time?e=r.conf.clip.streaming_time-Math.floor(Date.now()/1e3):r.conf.clip.live_starts_in&&(e=r.conf.clip.live_starts_in),t=fv_flowplayer_translations.live_stream_starting.replace(/%d/,p(e)),c=c.replace(/%d/,p(e)),o=r.conf.clip.live_starts_in?t:c,clearInterval(s),1!==i.code&&2!==i.code&&4!==i.code||(l.className+=" is-offline",flowplayer.support.flashVideo&&r.one("flashdisabled",function(){l.querySelector(".fp-flash-disabled").style.display="none"}),(a=l.querySelector(".fp-ui .fp-message")).innerHTML=o,n=300<e?300:e,s=setInterval(function(){--n,--e,a.innerHTML=o,0<n&&a?a.querySelector("span").innerHTML=p(e):(clearInterval(s),r.error&&(r.error=r.loading=!1,(a=l.querySelector(".fp-ui .fp-message"))&&l.querySelector(".fp-ui").removeChild(a),l.className=l.className.replace(/\bis-(error|offline)\b/g,""),r.load()))},1e3)))},1)})}),flowplayer(function(e,t){var o;t=jQuery(t),flowplayer.engine("hlsjs-lite").plugin(function(e){o=e.hls}),e.on("ready",function(e,t){o&&t.conf.playlist.length&&"hlsjs-lite"!=t.engine.engineName&&o.destroy()})}),flowplayer(function(o,a){var n,r,i,l;function s(){r&&n&&"html5"==o.engine.engineName&&(1<++l?3<l&&(console.log("FV Player: iOS video element needs a push, triggering 'stalled'"),n.trigger("stalled")):(console.log("FV Player: iOS video element will trigger error after 'stalled' arrives"),n.one("stalled",function(){var e,t=o.video.time;o.video.type.match(/video\//)?(console.log("FV Player: Running check of video file..."),(e=document.createElement("video")).src=o.video.src,e.onloadedmetadata=function(){l=0,console.log("FV Player: Video link works")},e.onerror=function(){console.log("FV Player: Video link issue!"),0<l&&o.trigger("error",[o,{code:4,video:o.video}])}):setTimeout(function(){console.log(o.video.time,t),o.video.time!=t?console.log("FV Player: iOS video element continues playing, no need for error"):o.paused?console.log("FV Player: iOS video element paused, no need for error"):o.trigger("error",[o,{code:4,video:o.video}])},5e3)})))}(flowplayer.support.browser.safari||flowplayer.support.iOS)&&(a=jQuery(a),i=r=n=!1,l=0,o.on("ready",function(e,t,o){l=0,r=!1,"html5"==t.engine.engineName&&o.src.match(/\?/)&&((n=a.find("video")).data("fv-ios-recovery")||(n.on("waiting",s),n.data("fv-ios-recovery",!0)),t.live&&o.src.match(/m3u8|stream_loader/)&&(console.log("FV Player: iOS video element is a live stream..."),clearInterval(i),i=setTimeout(function(){jQuery.get(o.src,function(e){e.match(/#EXT/)||(console.log("FV Player: iOS video element live stream does not look like a HLS file, triggering error..."),t.trigger("error",[t,{code:1,video:t.video}]))})},5e3)),t.one("progress",function(){r=!0,clearInterval(i)}))}),o.bind("beforeseek",s))}),!function(e){var t,o,a=!1;"function"==typeof define&&define.amd&&(define(e),a=!0),"object"==("undefined"==typeof exports?"undefined":_typeof(exports))&&(module.exports=e(),a=!0),a||(t=window.Cookies,(o=window.Cookies=e()).noConflict=function(){return window.Cookies=t,o})}(function(){function v(){for(var e=0,t={};e<arguments.length;e++){var o,a=arguments[e];for(o in a)t[o]=a[o]}return t}return function e(u){function y(e,t,o){var a,n;if("undefined"!=typeof document){if(1<arguments.length){"number"==typeof(o=v({path:"/"},y.defaults,o)).expires&&((n=new Date).setMilliseconds(n.getMilliseconds()+864e5*o.expires),o.expires=n),o.expires=o.expires?o.expires.toUTCString():"";try{a=JSON.stringify(t),/^[\{\[]/.test(a)&&(t=a)}catch(e){}t=u.write?u.write(t,e):encodeURIComponent(t+"").replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),e=(e=(e=encodeURIComponent(e+"")).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent)).replace(/[\(\)]/g,escape);var r,i="";for(r in o)o[r]&&(i+="; "+r,!0!==o[r])&&(i+="="+o[r]);return document.cookie=e+"="+t+i}e||(a={});for(var l=document.cookie?document.cookie.split("; "):[],s=/(%[0-9A-Z]{2})+/g,f=0;f<l.length;f++){var c=l[f].split("="),p=c.slice(1).join("=");this.json||'"'!==p.charAt(0)||(p=p.slice(1,-1));try{var d=c[0].replace(s,decodeURIComponent),p=u.read?u.read(p,d):u(p,d)||p.replace(s,decodeURIComponent);if(this.json)try{p=JSON.parse(p)}catch(e){}if(e===d){a=p;break}e||(a[d]=p)}catch(e){}}return a}}return(y.set=y).get=function(e){return y.call(y,e)},y.getJSON=function(){return y.apply({json:!0},[].slice.call(arguments))},y.defaults={},y.remove=function(e,t){y(e,"",v(t,{expires:-1}))},y.withConverter=e,y}(function(){})}),flowplayer(function(e,t){t=jQuery(t),window.learndash_video_data&&"local"==learndash_video_data.videos_found_provider&&t.closest("[data-video-progression=true]").length&&(LearnDash_disable_assets(!0),LearnDash_watchPlayers(),e.on("finish",function(e,t,o){"string"!=typeof t.video.click&&((t=jQuery(".ld-video").data("video-cookie-key"))&&jQuery.cookie(t,JSON.stringify({video_state:"complete"})),window.LearnDash_disable_assets(!1))}))}),flowplayer(function(e,t){e.bind("load",function(e,t,o){var a,n=jQuery(e.currentTarget);n.data("live")&&(a=setTimeout(function(){n.find(".fp-ui").append('<div class="fp-message">'+fv_flowplayer_translations.live_stream_failed+"</div>"),n.addClass("is-error")},1e4),jQuery(e.currentTarget).data("live_check",a))}).bind("ready",function(e,t,o){clearInterval(jQuery(e.currentTarget).data("live_check"))}).bind("error",function(e,t,o){e=jQuery(e.currentTarget);e.data("live")&&e.find(".fp-message").html(fv_flowplayer_translations.live_stream_failed_2)})}),!function(a){flowplayer(function(e,o){jQuery(o).hasClass("is-cva")||a(document).on("submit","#"+jQuery(o).attr("id")+" .mailchimp-form",function(e){e.preventDefault(),a(".mailchimp-response",o).remove(),a("input[type=submit]",o).attr("disabled","disabled").addClass("fv-form-loading");var t={action:"fv_wp_flowplayer_email_signup"};a("[name]",this).each(function(){t[this.name]=a(this).val()}),a.post(fv_player.ajaxurl,t,function(e){e=JSON.parse(e),a('<div class="mailchimp-response"></div>').insertAfter(".mailchimp-form",o),e.text.match(/already subscribed/)&&(e.status="ERROR"),"OK"===e.status?(a(".mailchimp-form input[type=text],.mailchimp-form input[type=email]",o).val(""),a(".mailchimp-response",o).removeClass("is-fv-error").html(e.text),setTimeout(function(){a(".wpfp_custom_popup",o).fadeOut()},2e3)):a(".mailchimp-response",o).addClass("is-fv-error").html(e.text),a("input[type=submit]",o).removeAttr("disabled").removeClass("fv-form-loading")})})})}(jQuery),"undefined"!=typeof fv_flowplayer_mobile_switch_array)for(var fv_flowplayer_mobile_switch_i in fv_flowplayer_mobile_switch_array)fv_flowplayer_mobile_switch_array.hasOwnProperty(fv_flowplayer_mobile_switch_i)&&fv_flowplayer_mobile_switch(fv_flowplayer_mobile_switch_i);function fv_flowplayer_browser_chrome_fail(a,n,r,i){jQuery("#wpfp_"+a).bind("error",function(e,t,o){!/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())||null==o||3!=o.code&&4!=o.code&&5!=o.code||(t.unload(),jQuery("#wpfp_"+a).attr("id","bad_wpfp_"+a),jQuery("#bad_wpfp_"+a).after('<div id="wpfp_'+a+'" '+n+' data-engine="flash"></div>'),jQuery("#wpfp_"+a).flowplayer({playlist:[[{mp4:r}]]}),i?jQuery("#wpfp_"+a).bind("ready",function(e,t){t.play()}):jQuery("#wpfp_"+a).flowplayer().play(0),jQuery("#bad_wpfp_"+a).remove())})}if(flowplayer(function(n,e){var t,o;function a(e,t,o){var a;n.ready?(n.seek(o),(a=t).addClass("is-active"),setTimeout(function(){a.removeClass("is-active")},500)):n.toggle(),e.preventDefault()}flowplayer.support.touch&&(jQuery.fn.fv_single_double_click=function(a,n,r){return this.each(function(){var t=0,o=this;jQuery(this).on("click",function(e){1==++t&&setTimeout(function(){(1==t?a:n).call(o,e),t=0},r||300)})})},e=jQuery(e),t=jQuery('<div class="fv-fp-tap-left"><span>-10s</span></div>'),o=jQuery('<div class="fv-fp-tap-right"><span>+10s</span></div>'),t.fv_single_double_click(function(){n.toggle()},function(e){a(e,t,!!n.ready&&n.video.time-10)}),o.fv_single_double_click(function(){n.toggle()},function(e){a(e,o,!!n.ready&&n.video.time+10)}),e.find(".fp-ui").append(t).append(o))}),flowplayer(function(a,e){var n=(e=jQuery(e)).data("flowplayer-instance-id");flowplayer.audible_instance=-1,a.one("load",function(){setTimeout(function(){a.conf.splash=!1},0)}),a.on("ready",function(){var o=0==e.data("volume");o||(flowplayer.audible_instance=n),jQuery(".flowplayer[data-flowplayer-instance-id]").each(function(){var e=jQuery(this).data("flowplayer"),t=jQuery(this).data("flowplayer-instance-id");-1!=flowplayer.audible_instance&&t!=flowplayer.audible_instance&&t!=n&&e&&(e.ready?a.conf.multiple_playback?o||e.mute(!0,!0):e.playing&&e.pause():(e.clearLiveStreamCountdown(),e.unload()))})}).on("mute",function(e,t,o){o||flowplayer.audible_instance==n||(flowplayer(flowplayer.audible_instance).mute(!0,!0),flowplayer.audible_instance=n)}).on("resume",function(){a.muted||(flowplayer.audible_instance=n),a.conf.multiple_playback||jQuery(".flowplayer[data-flowplayer-instance-id]").each(function(){var e;n!=jQuery(this).data("flowplayer-instance-id")&&(e=jQuery(this).data("flowplayer"))&&e.playing&&e.pause()})})}),"undefined"!=typeof fv_flowplayer_browser_chrome_fail_array)for(var fv_flowplayer_browser_chrome_fail_i in fv_flowplayer_browser_chrome_fail_array)fv_flowplayer_browser_chrome_fail_array.hasOwnProperty(fv_flowplayer_browser_chrome_fail_i)&&fv_flowplayer_browser_chrome_fail(fv_flowplayer_browser_chrome_fail_i,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].attrs,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].mp4,fv_flowplayer_browser_chrome_fail_array[fv_flowplayer_browser_chrome_fail_i].auto_buffer);function fv_flowplayer_browser_ie(e){(flowplayer.support.browser&&flowplayer.support.browser.msie&&9<=parseInt(flowplayer.support.browser.version,10)||navigator.userAgent.match(/Trident.*rv[ :]*11\./))&&jQuery("#wpfp_"+e).attr("data-engine","flash")}if("undefined"!=typeof fv_flowplayer_browser_ie_array)for(var fv_flowplayer_browser_ie_i in fv_flowplayer_browser_ie_array)fv_flowplayer_browser_ie_array.hasOwnProperty(fv_flowplayer_browser_ie_i)&&fv_flowplayer_browser_ie(fv_flowplayer_browser_ie_i);function fv_flowplayer_browser_chrome_mp4(e){var t=window.navigator.appVersion.match(/Chrome\/(\d+)\./);null!=t&&(t=parseInt(t[1],10),/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())&&t<28&&-1!=navigator.appVersion.indexOf("Win")||/chrom(e|ium)/.test(navigator.userAgent.toLowerCase())&&t<27&&-1!=navigator.appVersion.indexOf("Linux")&&-1==navigator.userAgent.toLowerCase().indexOf("android"))&&jQuery("#wpfp_"+e).attr("data-engine","flash")}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}-1==navigator.platform.indexOf("iPhone")&&-1==navigator.platform.indexOf("iPod")&&-1==navigator.platform.indexOf("iPad")&&-1==navigator.userAgent.toLowerCase().indexOf("android")||flowplayer(function(e,t){e.bind("error",function(e,t,o){10==o.code&&jQuery(e.target).find(".fp-message").html(fv_flowplayer_translations.unsupported_format)})}),jQuery(document).ready(function(){-1==navigator.platform.indexOf("iPhone")&&-1==navigator.platform.indexOf("iPod")&&-1==navigator.platform.indexOf("iPad")||jQuery(window).trigger("load"),jQuery(".flowplayer").on("mouseleave",function(){jQuery(this).find(".fvp-share-bar").removeClass("visible"),jQuery(this).find(".embed-code").hide()})}),"undefined"!=typeof flowplayer&&flowplayer(function(e,a){a=jQuery(a);var n,r=!1,t=(flowplayer.engine("hlsjs-lite").plugin(function(e){n=e.hls}),e.conf.playlist.length?e.conf.playlist:[e.conf.clip]);function i(e){l();var t="Video is being processed",o="Please return later to see the actual video in this player.";e.pending_encoding_error?(t="Video unavailable",o="There was an error in the video encoding."):e.pending_encoding_progress&&(o+="<br /><br />("+e.pending_encoding_progress+" done)"),r=jQuery('<div class="fv-player-encoder-video-processing-modal"><div><h2>'+t+"</h2><p>"+o+"</p></div></div"),a.append(r)}function l(){r&&r.remove()}t[0]&&t[0].pending_encoding&&i(t[0]),e.on("load",function(e,t,o){if(o.pending_encoding)return i(o),n&&n.destroy(),!1;l()})}),Date.now||(Date.now=function(){return(new Date).getTime()}),function(){function b(e){var t;return e.id||(t=(void 0!==e.sources_original&&void 0!==e.sources_original[0]?e.sources_original:e.sources)[0].src,void 0!==e.sources_original&&void 0!==e.sources_original[0]?t:a(t))}function j(e,t){t.video.sources&&(t=b(t.video),T[t]=0,E[t]=0,w[t]=1)}function Q(e,t){var o,a,n="sendBeacon"in navigator,r=(!0!==e&&(e=!1),t&&void 0!==t||(t=function(){}),[]),i=[];for(o in T)T.hasOwnProperty(o)&&r.push({name:o,position:T[o],top_position:E[o],saw:void 0!==w[o]&&w[o]});for(a in O)O.hasOwnProperty(a)&&i.push({player:a,item:O[a]});if(i.length||D(F),r.length){if("1"==flowplayer.conf.is_logged_in){if(n){try{var l,s={},f={},c={},p={};for(m in r)r.hasOwnProperty(m)&&(s[l=r[m].name]=r[m].position,f[l]=r[m].top_position,c[l]=r[m].saw);for(m in i)i.hasOwnProperty(m)&&(p[i[m].player]=i[m].item);V(S,A(s)),V(P,A(f)),V(I,A(c)),V(F,A(p))}catch(e){return}n=new FormData;return n.append("action","fv_wp_flowplayer_video_position_save"),n.append("videoTimes",encodeURIComponent(JSON.stringify(r))),n.append("playlistItems",encodeURIComponent(JSON.stringify(i))),navigator.sendBeacon(fv_player.ajaxurl,n),!1}return jQuery.ajax({type:"POST",async:e,url:fv_player.ajaxurl,complete:t,data:{action:"fv_wp_flowplayer_video_position_save",videoTimes:r,playlistItems:i}})}try{var d=N(x),u=N(C),d=d&&void 0!==d?JSON.parse(d):{},u=u&&void 0!==u?JSON.parse(u):{};for(m in r)r.hasOwnProperty(m)&&(d[r[m].name]=r[m].position);for(m in i)i.hasOwnProperty(m)&&(u[i[m].player]=i[m].item);var y=JSON.stringify(d),v=JSON.stringify(u),_=L(y),h=L(v);if(g<_)for(;g<_;)for(var m in d)if(d.hasOwnProperty(m)){delete d[m],y=JSON.stringify(d),_=L(y);break}if(g<h)for(;g<h;)for(var m in d)if(u.hasOwnProperty(m)){delete u[m],v=JSON.stringify(u),h=L(y);break}V(x,y),V(C,v)}catch(e){return}return!1}D(S),D(P),D(I)}var k=null,g=2500,o=null,x="video_positions",C="player_playlist_item",S="video_positions_tmp",P="video_top_positions_tmp",F="player_playlist_item_tmp",I="video_saw_tmp",T=[],E=[],O=[],w=[],A=function(e){var t=JSON.stringify(e),o=L(t);if(g<o)for(;g<o;)for(var a in e)if(e.hasOwnProperty(a)){delete e[a],t=JSON.stringify(e),o=L(t);break}return t},L=function(e){return encodeURIComponent(e).length},N=function(e){return o?localStorage.getItem(e):Cookies.get(e)},V=function(e,t){return o?localStorage.setItem(e,t):Cookies.set(e,t)},D=function(e){o?localStorage.removeItem(e):Cookies.remove(e)},a=function(e){return e.replace(/(X-Amz-Algorithm=[^&]+&?)/gm,"").replace(/(X-Amz-Credential=[^&]+&?)/gm,"").replace(/(X-Amz-Date=[^&]+&?)/gm,"").replace(/(X-Amz-Expires=[^&]+&?)/gm,"").replace(/(X-Amz-SignedHeaders=[^&]+&?)/gm,"").replace(/(X-Amz-Signature=[^&]+&?)/gm,"")};if(flowplayer(function(a,e){if(void 0===a.conf.disable_localstorage||"1"==flowplayer.conf.is_logged_in){function r(){return!(a.live||a.video&&"string"==typeof a.video.click)}function t(e,t){r()&&!t.video.prevent_position_restore&&(t=function(e){var t=b(e.video),o=e.video.position;if("1"!=flowplayer.conf.is_logged_in){var a=N(x);if(a&&void 0!==a)try{(a=JSON.parse(a))[t]&&(o=a[t])}catch(e){return}}return e.get_custom_end&&e.get_custom_end()<o&&(o=!1),o=e.get_custom_start&&0<e.get_custom_start()&&o<e.get_custom_start()?!1:o}(t))&&n(t)}function o(e,t){var o,a,n;r()&&t.video.sources&&(o=b(t.video),a=Math.round(t.video.time),T[o]=a,void 0===E[o]?(n=0,n=t.conf.playlist?t.conf.playlist[t.video.index]&&t.conf.playlist[t.video.index].sources[0]&&t.conf.playlist[t.video.index].sources[0].top_position?t.conf.playlist[t.video.index].sources[0].top_position:0:t.conf.clip.sources[0]&&t.conf.clip.sources[0].top_position?t.conf.clip.sources[0].top_position:0,E[o]=n):E[o]<a&&(E[o]=a),0<t.conf.playlist.length&&p&&(O[p]=t.video.index),60<=c++)&&flowplayer.conf.closingPage&&(k&&k.abort(),k=Q(!0,function(){k=null}),c=0)}function n(e){var t,o;a.custom_seek?a.custom_seek(e):(t=0,o=setInterval(function(){20<++t&&clearInterval(o),a.loading||(a.seek(parseInt(e)),clearInterval(o))},10))}function i(e,t){var o=N(e),a=!1;if(o&&void 0!==o)try{if(void 0!==(o=JSON.parse(o))[t]){a=o[t],delete o[t];var n,r=!1;for(n in o)if(o.hasOwnProperty(n)){r=!0;break}r?V(e,JSON.stringify(o)):D(e)}return a}catch(e){}}function l(e,t){if(void 0!==t&&0!=t.conf.playlist.length&&!t.conf.prevent_position_restore){var o=-1;if(p)if("1"!=flowplayer.conf.is_logged_in){var a=N(C);if(a&&void 0!==a)try{(a=JSON.parse(a))[p]&&(o=a[p])}catch(e){return}}else"1"==flowplayer.conf.is_logged_in&&(o=0<t.conf.playlist.length&&i(F,p));0<=o&&!d&&(t.video&&"video/youtube"!=t.video.type&&t.play(o),d=!0,s.data("position_changed",1))}}var s=jQuery(e),f=flowplayer.conf.video_position_save_enable&&0!=s.data("save-position")||s.data("save-position"),c=0,p=!!s.data("player-id")&&s.data("player-id"),d=!1;if(f){if(N(F)&&s.removeData("playlist_start"),a.bind("finish",j),a.on("ready",function(){a.one("progress",t)}),a.bind("progress",o),a.bind("unload",function(){d=!1,a.one("ready",l)}),a.one("ready",l),jQuery(".fp-ui",e).on("click",function(){l()}),a.playlist_thumbnail_progress=function(e,t,o){a.get_custom_start&&0<a.get_custom_start(t)&&(o-=a.get_custom_start(t))<0&&(o=0);t=t.duration;(t=(t=a.get_custom_duration&&0<a.get_custom_duration()?a.get_custom_duration():t)||e.data("duration"))&&e.css("width",100*o/t+"%")},"1"==flowplayer.conf.is_logged_in){var u,y,v,_,h,m=0<a.conf.playlist.length,g=m?a.conf.playlist:[a.conf.clip],w=jQuery("[rel="+jQuery(e).attr("id")+"]");for(u in g)g.hasOwnProperty(u)&&(_=b(g[u]),y=i(S,_),v=i(P,_),_=i(I,_),y&&(m?(a.conf.playlist[u].sources[0].position=y,(h=jQuery("a",w).eq(u).find(".fvp-progress")).length&&a.playlist_thumbnail_progress(h,a.conf.playlist[u],y)):a.conf.clip.sources[0].position=y),v&&(!g[u].sources[0].top_position||g[u].sources[0].top_position<v)&&(m?a.conf.playlist[u].sources[0].top_position=v:a.conf.clip.sources[0].top_position=v),_)&&(m?a.conf.playlist[u].sources[0].saw=!0:a.conf.clip.sources[0].saw=!0)}a.bind("finish",function(e,t){t.conf.playlist.length?t.conf.playlist[t.video.index].sources[0].saw=!0:t.conf.clip.sources[0].saw=!0})}}}),jQuery(window).on("beforeunload pagehide",function(){flowplayer.conf.closingPage||(flowplayer.conf.closingPage=!0,Q())}),null===(o=void 0===fv_flowplayer_conf.disable_localstorage&&o)){o=!0;try{localStorage.setItem("t","t"),"t"!==localStorage.getItem("t")&&(o=!1),localStorage.removeItem("t")}catch(e){o=!1}}}(jQuery),flowplayer(function(o,t){var a,r,i,l,n,s,f;function e(e){e.preventDefault(),e.stopPropagation(),l.hasClass("fp-active")?o.hideMenu(l[0]):(t.trigger("click"),o.showMenu(l[0]))}function c(e){e=e.clone();return e.find("i.dur").remove(),e.text()}t=jQuery(t),(o.have_visible_playlist||0!=o.conf.playlist.length)&&o.have_visible_playlist()&&(a=jQuery(".fp-playlist-external[rel="+t.attr("id")+"]"),r=jQuery('<strong class="fv-fp-list">Item 1.</strong>'),i=jQuery('<strong class="fv-fp-list-name">Item 1.</strong>'),l=jQuery('<div class="fp-menu fv-fp-list-menu"></div>').insertAfter(t.find(".fp-controls")),n=0,s=[],f=[],jQuery(o.conf.playlist).each(function(e,t){void 0===t.click&&(t=c(a.find("h4").eq(n)),l.append('<a data-index="'+e+'">'+(n+1)+". "+t+"</a>"),f[e]=t,s.push(e),n++)}),r.insertAfter(t.find(".fp-controls .fp-volume")).on("click",e),i.insertAfter(r).on("click",e),jQuery("a",l).on("click",function(){var e=jQuery(this).data("index"),t=e-1;void 0!==o.conf.playlist[t]&&void 0!==o.conf.playlist[t].click?o.play(t):o.play(e)}),o.on("ready",function(e,t,o){l.find("a").removeClass("fp-selected");var a=l.find("a[data-index="+o.index+"]"),n=(a.addClass("fp-selected"),fv_flowplayer_translations.playlist_item_no);n=(n=n.replace(/%d/,s.indexOf(o.index)+1)).replace(/%s/,c(a.find("h4"))),r.html(n),i.html(s.indexOf(o.index)+1+". "+f[o.index])}))}),flowplayer(function(e,a){a=jQuery(a);var n,r=e.conf.playlist;e.bind("load",function(e,t,o){n=o.index}),e.bind("error",function(e,t,o){setTimeout(function(){if(0<r.length&&1==t.error){if(n=t.video.index,"1"==t.conf.video_checker&&r[n].video_checker&&0<r[n].video_checker.length)return console.log("FV Player: Video checker message present, stopping auto-advance to next playlist item"),!1;t.error=t.loading=!1,a.removeClass("is-error"),a.find(".fp-message.fp-shown").remove(),++n>r.length-1&&(n=0),console.log("FV Player: Playlist item failure, auto-advancing to "+(n+1)+". item"),t.play(n)}},1e3)})}),flowplayer(function(e,r){var i,l,s;function f(o){return o=[],jQuery(e.conf.playlist).each(function(e,t){o.push(e)}),o=function(e){for(var t,o,a=e.length;a;a--)t=Math.floor(Math.random()*a),o=e[a-1],e[a-1]=e[t],e[t]=o;return e}(o),console.log("FV Player Randomizer random seed:",o),o}((r=jQuery(r)).data("button-no_picture")||r.data("button-repeat")||r.data("button-rewind"))&&e.bind("ready",function(e,t){var o,a,n;void 0===l&&void 0===i&&(l=t.next,i=t.prev),!t.video.type.match(/^audio/)&&r.data("button-no_picture")&&0==r.find(".fv-fp-no-picture").length&&jQuery('<span class="fv-fp-no-picture"><svg viewBox="0 0 90 80" width="18px" height="18px" class="fvp-icon fvp-nopicture"><use xlink:href="#fvp-nopicture"></use></svg></span>').insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),jQuery(".fp-engine",r).slideToggle(20),jQuery(this).toggleClass("is-active fp-color-fill"),r.toggleClass("is-no-picture")}),r.data("button-repeat")&&((!t.have_visible_playlist&&0<t.conf.playlist.length||t.have_visible_playlist())&&0==r.find(".fv-fp-playlist").length?(n=fv_flowplayer_translations,o=jQuery('<strong class="fv-fp-playlist mode-normal">            <svg viewBox="0 0 80.333 80" width="18px" height="18px" class="fvp-icon fvp-replay-list"><title>'+n.playlist_replay_all+'</title><use xlink:href="#fvp-replay-list"></use></svg>            <svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-shuffle"><title>'+n.playlist_shuffle+'</title><use xlink:href="#fvp-shuffle"></use></svg>            <svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><title>'+n.playlist_replay_video+'</title><use xlink:href="#fvp-replay-track"></use></svg>            <span id="fvp-playlist-play" title="'+n.playlist_play_all+'">'+n.playlist_play_all_button+"</span>            </strong>"),a=jQuery('<div class="fp-menu fv-fp-playlist-menu">              <a data-action="repeat_playlist"><svg viewBox="0 0 80.333 80" width="18px" height="18px" class="fvp-icon fvp-replay-list"><title>'+n.playlist_replay_all+'</title><use xlink:href="#fvp-replay-list"></use></svg> <span class="screen-reader-text">'+n.playlist_replay_all+'</span></a>              <a data-action="shuffle_playlist"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-shuffle"><title>'+n.playlist_shuffle+'</title><use xlink:href="#fvp-shuffle"></use></svg> <span class="screen-reader-text">'+n.playlist_shuffle+'</span></a>              <a data-action="repeat_track"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><title>'+n.playlist_replay_video+'</title><use xlink:href="#fvp-replay-track"></use></svg> <span class="screen-reader-text">'+n.playlist_replay_video+'</span></a>              <a class="fp-selected" data-action="normal"><span id="fvp-playlist-play" title="'+n.playlist_play_all+'">'+n.playlist_play_all_button+"</span></a>              </div>").insertAfter(r.find(".fp-controls")),t.conf.playlist_shuffle=t.conf.track_repeat=!1,s=f(),t.conf.advance,o.insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),"auto"!==a.css("right")&&a.css({right:"auto",left:o.position().left+"px"}),a.hasClass("fp-active")?t.hideMenu(a[0]):(r.trigger("click"),t.showMenu(a[0]))}),jQuery("a",a).on("click",function(){jQuery(this).siblings("a").removeClass("fp-selected"),jQuery(this).addClass("fp-selected"),o.removeClass("mode-normal mode-repeat-track mode-repeat-playlist mode-shuffle-playlist");var e=jQuery(this).data("action");"repeat_playlist"==e?(o.addClass("mode-repeat-playlist"),t.conf.loop=!0,t.conf.advance=!0,t.video.loop=t.conf.track_repeat=!1,t.conf.playlist_shuffle=!1):"shuffle_playlist"==e?(o.addClass("mode-shuffle-playlist"),t.conf.loop=!0,t.conf.advance=!0,t.conf.playlist_shuffle=!0):"repeat_track"==e?(o.addClass("mode-repeat-track"),t.conf.track_repeat=t.video.loop=!0,t.conf.loop=t.conf.playlist_shuffle=!1):"normal"==e&&(o.addClass("mode-normal"),t.conf.track_repeat=t.video.loop=!1,t.conf.loop=t.conf.playlist_shuffle=!1),t.conf.playlist_shuffle?(t.next=function(){t.play(s.pop()),0==s.length&&(s=f())},t.prev=function(){t.play(s.shift()),0==s.length&&(s=f())}):(t.next=l,t.prev=i)}),t.conf.loop&&jQuery("a[data-action=repeat_playlist]",a).trigger("click"),t.on("progress",function(){t.video.loop=t.conf.track_repeat}),t.on("finish.pl",function(e,t){console.log("playlist_repeat",t.conf.loop,"advance",t.conf.advance,"video.loop",t.video.loop),t.conf.playlist_shuffle&&(t.play(s.pop()),0==s.length)&&(s=f())})):0!=r.find(".fv-fp-track-repeat").length||(t.have_visible_playlist||0!=t.conf.playlist.length)&&t.have_visible_playlist()||((n=jQuery('<strong class="fv-fp-track-repeat"><svg viewBox="0 0 80.333 71" width="18px" height="18px" class="fvp-icon fvp-replay-track"><use xlink:href="#fvp-replay-track"></use></svg></strong>')).insertAfter(r.find(".fp-controls .fp-volume")).on("click",function(e){e.preventDefault(),e.stopPropagation(),jQuery(this).toggleClass("is-active fp-color-fill",t.video.loop),t.video.loop?t.video.loop=!1:t.video.loop=!0}),t.conf.loop&&n.addClass("is-active fp-color-fill"))),r.data("button-rewind")&&(0==r.find(".fv-fp-rewind").length&&((n=jQuery('<span class="fv-fp-rewind"><svg viewBox="0 0 24 24" width="21px" height="21px" class="fvp-icon fvp-rewind"><use xlink:href="#fvp-rewind"></use></svg></span>')).insertBefore(r.find(".fp-controls .fp-playbtn")).on("click",function(e){e.preventDefault(),e.stopPropagation(),t.seek(t.video.time-10)}),n.toggle(!t.video.live||t.video.dvr)),0==r.find(".fv-fp-forward").length)&&((n=jQuery('<span class="fv-fp-forward"><svg viewBox="0 0 24 24" width="21px" height="21px" class="fvp-icon fvp-forward"><use xlink:href="#fvp-forward"></use></svg></span>')).insertAfter(r.find(".fp-controls .fp-playbtn")).on("click",function(e){e.preventDefault(),e.stopPropagation(),t.seek(t.video.time+10)}),n.toggle(!t.video.live||t.video.dvr))}).bind("unload",function(){r.find(".fv-fp-no-picture").remove(),r.find(".fv-fp-playlist").remove(),r.find(".fv-fp-track-repeat").remove()})}),flowplayer(function(e,t){var o=jQuery(t),a=o.data("playlist_start");function n(){1!==o.data("position_changed")&&e.conf.playlist.length&&(a--,void 0===e.conf.playlist[a].click&&(e.engine&&"hlsjs-lite"==e.engine.engineName&&(e.loading=!1),e.play(a)),o.data("position_changed",1))}void 0!==a&&(e.bind("unload",function(){a=o.data("playlist_start"),o.removeData("position_changed"),e.one("ready",n)}),e.one("ready",n),jQuery(".fp-ui",t).on("click",function(){n(),o.data("position_changed",1)}))}),document.addEventListener("custombox:overlay:close",function(e){console.log("FV Player: Custombox/Popup anything ligtbox closed");var t=jQuery(this).find(".flowplayer");0!=t.length&&(console.log("FV Player: Custombox/Popup anything ligtbox contains a player"),t.each(function(e,t){var o=jQuery(t).data("flowplayer");void 0!==o&&(o.playing?(console.log("FV Player: Custombox/Popup anything ligtbox video pause"),o.pause()):o.loading&&o.one("ready",function(){console.log("FV Player: Custombox/Popup anything ligtbox video unload"),o.unload()}))}))}),flowplayer(function(t,e){t.bind("finish",function(){var e=t.video.time;t.video.loop&&t.one("pause",function(){e<=t.video.time&&t.resume()})})}),flowplayer(function(o,a){(a=jQuery(a)).find(".fp-logo").removeAttr("href"),a.hasClass("no-controlbar")&&((e=o.sliders.timeline).disable(!0),o.bind("ready",function(){e.disable(!0)})),jQuery(".fvfp_admin_error",a).remove(),a.find(".fp-logo, .fp-header").on("click",function(e){e.target===this&&a.find(".fp-ui").trigger("click")}),jQuery(".fvp-share-bar .sharing-facebook",a).append('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="#fff"><title>Facebook</title><path d="M11.9 5.2l-2.6 0 0-1.6c0-0.7 0.3-0.7 0.7-0.7 0.3 0 1.6 0 1.6 0l0-2.9 -2.3 0c-2.6 0-3.3 2-3.3 3.3l0 2 -1.6 0 0 2.9 1.6 0c0 3.6 0 7.8 0 7.8l3.3 0c0 0 0-4.2 0-7.8l2.3 0 0.3-2.9Z"/></svg>'),jQuery(".fvp-share-bar .sharing-twitter",a).append('<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="#fff"><title>Twitter</title><path d="M16 3.1c-0.6 0.3-1.2 0.4-1.9 0.5 0.7-0.4 1.2-1 1.4-1.8 -0.6 0.4-1.3 0.6-2.1 0.8 -0.6-0.6-1.4-1-2.4-1 -2 0.1-3.2 1.6-3.2 4 -2.7-0.1-5.1-1.4-6.7-3.4 -0.9 1.4 0.2 3.8 1 4.4 -0.5 0-1-0.1-1.5-0.4l0 0.1c0 1.6 1.1 2.9 2.6 3.2 -0.7 0.2-1.3 0.1-1.5 0.1 0.4 1.3 1.6 2.2 3 2.3 -1.6 1.7-4.6 1.4-4.8 1.3 1.4 0.9 3.2 1.4 5 1.4 6 0 9.3-5 9.3-9.3 0-0.1 0-0.3 0-0.4 0.6-0.4 1.2-1 1.6-1.7Z"/></svg>'),jQuery(".fvp-share-bar .sharing-email",a).append('<svg xmlns="http://www.w3.org/2000/svg" height="16" viewBox="0 0 16 16" width="16" fill="#fff"><title>Email</title><path d="M8 10c0 0 0 0-1 0L0 6v7c0 1 0 1 1 1h14c1 0 1 0 1-1V6L9 10C9 10 8 10 8 10zM15 2H1C0 2 0 2 0 3v1l8 4 8-4V3C16 2 16 2 15 2z"/></svg>'),jQuery(".fp-header",a).prepend(jQuery(".fvp-share-bar",a)),(!o.have_visible_playlist&&0<o.conf.playlist.length||o.have_visible_playlist())&&(t=jQuery('<a class="fp-icon fv-fp-prevbtn"></a>'),i=jQuery('<a class="fp-icon fv-fp-nextbtn"></a>'),a.find(".fp-controls .fp-playbtn").before(t).after(i),t.on("click",function(){o.trigger("prev",[o]),o.prev()}),i.on("click",function(){o.trigger("next",[o]),o.next()})),"undefined"!=typeof fv_player_editor_conf&&a.on("click",".fvp-sharing > li",function(e){return e.preventDefault(),fv_player_notice(a,fv_player_editor_translations.link_notice,2e3),!1}),o.bind("pause resume finish unload ready",function(e,t){a.addClass("no-brand")}),o.one("ready",function(){a.find(".fp-fullscreen").clone().appendTo(a.find(".fp-controls"))}),o.on("ready",function(e,t,o){setTimeout(function(){jQuery(".fvp-share-bar",a).show(),jQuery(".fv-player-buttons-wrap",a).appendTo(jQuery(".fv-player-buttons-wrap",a).parent().find(".fp-ui"))},100)}),o.bind("finish",function(){var e,t=a.data("fv_redirect");!t||void 0!==o.video.is_last&&!o.video.is_last||flowplayer.conf.is_logged_in_editor&&(e=(e=fv_flowplayer_translations.redirection).replace(/%url%/,t),!confirm(e))||(location.href=t)}),flowplayer.support.iOS&&11==flowplayer.support.iOS.version&&o.bind("error",function(e,t,o){4==o.code&&a.find(".fp-engine").hide()}),jQuery(document).on("contextmenu",".flowplayer",function(e){e.preventDefault()}),o.one("ready",function(e,t,o){a.find(".fp-chromecast").insertAfter(a.find(".fp-header .fp-fullscreen"))}),a.find(".fp-waiting").html('<div class="fp-preload"><b></b><b></b><b></b><b></b></div>');var e,n=a.attr("id"),r=!flowplayer.conf.native_fullscreen&&flowplayer.conf.mobile_alternative_fullscreen,t="fakefullscreen",i="fakefullscreen-exit";flowplayer.support.fullscreen||(t+=" fullscreen",i+=" fullscreen-exit"),o.bind(t,function(e,t){jQuery("#wpadminbar, .nc_wrapper").hide(),!r&&"fakefullscreen"!=e.type||"video/youtube"==t.video.type||(a.before('<span data-fv-placeholder="'+n+'"></span>'),a.appendTo("body"))}),o.bind(i,function(e,t,o){jQuery("#wpadminbar, .nc_wrapper").show(),!r&&"fakefullscreen-exit"!=e.type||jQuery("span[data-fv-placeholder="+n+"]").replaceWith(a)})}),function(){function e(p){p(function(a,n){var r,e,i,l,s;function f(e){return Math.round(100*e)/100}function c(t){r.find(".fp-speed",n)[0].innerHTML=t+"x",r.find(".fp-speed-menu a",n).forEach(function(e){r.toggleClass(e,"fp-selected",e.getAttribute("data-speed")==t),r.toggleClass(e,"fp-color",e.getAttribute("data-speed")==t)})}jQuery(n).data("speedb")&&(e=p.support).video&&e.inlineVideo&&(r=p.common,e=p.bean,i=r.find(".fp-ui",n)[0],l=r.find(".fp-controls",i)[0],s=a.conf.speeds,e.on(n,"click",".fp-speed",function(){var e=r.find(".fp-speed-menu",n)[0];r.hasClass(e,"fp-active")?a.hideMenu():a.showMenu(e)}),e.on(n,"click",".fp-speed-menu a",function(e){e=e.target.getAttribute("data-speed");a.speed(e)}),a.on("speed",function(e,t,o){1<s.length&&c(o)}).on("ready",function(e,t){var o;r.find(".fp-speed-menu",n).forEach(r.removeNode),r.find(".fp-speed",n).forEach(r.removeNode),p.support.android&&"html5"==t.engine.engineName&&"application/x-mpegurl"==t.video.type||1<(s=t.conf.speeds).length&&(l.appendChild(r.createElement("strong",{className:"fp-speed"},a.currentSpeed+"x")),o=r.createElement("div",{className:"fp-menu fp-speed-menu",css:{width:"auto"}},"<strong>Speed</strong>"),s.forEach(function(e){e=r.createElement("a",{"data-speed":f(e)},f(e)+"x");o.appendChild(e)}),i.appendChild(o),c(a.currentSpeed),jQuery(n).find(".fp-speed-menu strong").text(fv_flowplayer_translations.speed))}))})}"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=e:"function"==typeof window.flowplayer&&e(window.flowplayer)}(),flowplayer(function(e,t){void 0===fv_flowplayer_conf.disable_localstorage&&(e.on("speed",function(e,t,o){try{window.localStorage.fv_player_speed=o}catch(e){}}),e.on("ready",function(){window.localStorage.fv_player_speed&&jQuery(t).find("strong.fp-speed").is(":visible")&&e.speed(parseFloat(window.localStorage.fv_player_speed)),0==jQuery(t).data("volume")&&e.mute(!0,!0)}))}),function(l){var s={},f=!1;flowplayer(function(e,t){t=l(t);var a,o=-1,n=0;if(e.conf.fv_stats&&(e.conf.fv_stats.enabled||t.data("fv_stats")&&"no"!=t.data("fv_stats"))){try{var r=t.data("fv_stats_data");if(!r)return}catch(e){return!1}e.on("ready finish",function(e,t){t.one("progress",function(e,t){o!=i()&&(o=i(),l.post(t.conf.fv_stats.url,{blog_id:t.conf.fv_stats.blog_id,video_id:t.video.id||0,player_id:r.player_id,post_id:r.post_id,user_id:t.conf.fv_stats.user_id,tag:"play"}))}),a=!(n=0)}).on("finish",function(){o=-1}).on("progress",function(e,t,o){0!=o&&(t.seeking?n=o:a?a=!1:n=(0==n||o<=n||(s[r.player_id]||(s[r.player_id]={}),s[r.player_id][r.post_id]||(s[r.player_id][r.post_id]={}),s[r.player_id][r.post_id][t.video.id]||(s[r.player_id][r.post_id][t.video.id]=0),s[r.player_id][r.post_id][t.video.id]+=o-n,f=!0),o))})}function i(){return e.video.index||0}}),l(window).on("beforeunload pagehide",function(){var e,t;flowplayer.conf.stats_sent||(flowplayer.conf.stats_sent=!0,f&&(fv_player_stats_watched(),e=(window.freedomplayer?freedomplayer:flowplayer).conf,(t=new FormData).append("tag","seconds"),t.append("blog_id",e.fv_stats.blog_id),t.append("user_id",e.fv_stats.user_id),t.append("watched",encodeURIComponent(JSON.stringify(s))),navigator.sendBeacon(e.fv_stats.url,t)))}),window.fv_player_stats_watched=function(){l.each(s,function(e,t){console.log("player id: "+e),l.each(t,function(e,t){console.log("post id: "+e),l.each(t,function(e,t){console.log("video id: "+e+" seconds: "+t)})})})}}(jQuery),flowplayer(function(o,a){var n,r=jQuery(a),e=r.find(".fp-player"),t=r.data("fvsticky"),i=!1,l=r.find(".fp-ratio");if(o.is_sticky=!1,(i="off"!=flowplayer.conf.sticky_video&&void 0===t?!0:i)||t){if(!flowplayer.support.firstframe)return;var s=flowplayer.conf.sticky_place;i=jQuery(window),n=r,o.on("unload",function(){c(),r.removeClass("is-unSticky")}),i.on("resize",function(){p()||"all"==flowplayer.conf.sticky_video||o.is_sticky&&c()}).on("scroll",function(){var e,t;if(p()||"all"==flowplayer.conf.sticky_video)if(e=n[0],(t=e.getBoundingClientRect()).top>=0-jQuery(e).outerHeight()/2&&0<=t.left&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)+jQuery(e).outerHeight()/2&&t.right<=(window.innerWidth||document.documentElement.clientWidth)||!(o.playing||o.loading||flowplayer.audible_instance==r.data("freedomplayer-instance-id")||"object"==_typeof(a.fv_player_vast)&&"object"==_typeof(a.fv_player_vast.adsManager_)&&"function"==typeof a.fv_player_vast.adsManager_.getRemainingTime&&0<a.fv_player_vast.adsManager_.getRemainingTime()))c();else{if(0<jQuery("div.flowplayer.is-unSticky").length)return!1;f()}else o.is_sticky&&c()})}function f(){e.hasClass("is-sticky-"+s)||(e.addClass("is-sticky"),e.addClass("is-sticky-"+s),0==r.find("a.fp-sticky").length&&r.find("div.fp-header").prepend('<a class="fp-sticky fp-icon"></a>'),e.prepend(l.clone()),d(!0),o.is_sticky=!0,o.trigger("sticky",[o]),e.parent(".flowplayer").addClass("is-stickable"))}function c(){e.removeClass("is-sticky"),e.removeClass("is-sticky-"+s),e.css("max-width",""),e.find(".fp-ratio").remove(),e.parent(".flowplayer").removeClass("is-stickable"),o.is_sticky&&(d(),o.is_sticky=!1,o.trigger("sticky-exit",[o]))}function p(){return jQuery(window).innerWidth()>=fv_flowplayer_conf.sticky_min_width}function d(e){for(var t=a;t;){try{getComputedStyle(t).transform&&(t.style.transform=e?"none":"")}catch(e){}t=t.parentNode}}o.sticky=function(e,t){void 0===e&&(e=!o.is_sticky),t&&r.toggleClass("is-unSticky",!e),(e?f:c)()}}),jQuery(function(o){o(document).on("click","a.fp-sticky",function(){var e=o("div.flowplayer.is-stickable"),t=e.data("flowplayer"),e=(e.addClass("is-unSticky"),e.find(".fp-player"));e.removeClass("is-sticky"),e.removeClass("is-sticky-right-bottom"),e.removeClass("is-sticky-left-bottom"),e.removeClass("is-sticky-right-top"),e.removeClass("is-sticky-left-top"),e.css("width",""),e.css("height",""),e.css("max-height",""),t.is_sticky&&(t.is_sticky=!1,t.trigger("sticky-exit",[t]))}),o(document).on("click","div.flowplayer.is-unSticky",function(){o("div.flowplayer").removeClass("is-unSticky")})}),flowplayer(function(e,n){var r;n=jQuery(n),void 0===fv_flowplayer_conf.disable_localstorage&&(r=window.localStorage,e.on("ready",function(e,o,t){var a;t.subtitles&&t.subtitles.length&&(r.fv_player_subtitle&&o.video.subtitles.length?"none"===r.fv_player_subtitle?o.disableSubtitles():o.video.subtitles.forEach(function(e,t){e.srclang===r.fv_player_subtitle&&o.loadSubtitles(t)}):(a=t.subtitles.filter(function(e){return e.fv_default})[0])&&o.loadSubtitles(t.subtitles.indexOf(a))),n.find(".fp-subtitle-menu").on("click",function(e){var t=e.target.getAttribute("data-subtitle-index");if("string"==typeof t)try{r.fv_player_subtitle=-1<t?o.video.subtitles[t].srclang:"none"}catch(e){}})}))}),flowplayer(function(e,o){o=jQuery(o),e.on("ready",function(e,t){o.find(".fp-subtitle-menu strong").text(fv_flowplayer_translations.closed_captions),o.find('.fp-subtitle-menu a[data-subtitle-index="-1"]').text(fv_flowplayer_translations.no_subtitles)})}),"undefined"!=typeof flowplayer&&"undefined"!=typeof fv_flowplayer_conf&&fv_flowplayer_conf.video_hash_links&&(flowplayer(function(o,a){var n,r,i,l,s,f,c="";0<jQuery(a).find(".sharing-link").length&&(n=function(e,t){l=fv_player_get_video_link_hash(o),s=","+fv_player_time_hms(o.video.time),e&&t?(i=","+fv_player_time_hms_ms(e+o.get_custom_start()),r=","+fv_player_time_hms_ms(t+o.get_custom_start())):(r=f&&void 0!==o.get_ab_end()&&o.get_ab_end()?","+fv_player_time_hms_ms(o.get_ab_end()):"",i=f&&void 0!==o.get_ab_start()&&o.get_ab_start()?","+fv_player_time_hms_ms(o.get_ab_start()):""),c=jQuery(".sharing-link",a).attr("href").replace(/#.*/,"")+"#"+l+s+i+r,jQuery(".sharing-link",a).attr("href",c)},o.on("ready",function(e,t,o){t.fv_noUiSlider&&t.fv_noUiSlider.on("set",function(e){n(e[0],e[1])})}),o.on("progress",function(e,t){t.video.sources&&t.video.sources[0]&&n()}),o.on("abloop",function(e,t,o){f=o,t.playing||n()}),jQuery(".sharing-link",a).on("click",function(e){e.preventDefault(),fv_player_clipboard(jQuery(this).attr("href"),function(){fv_player_notice(a,fv_flowplayer_translations.link_copied,2e3)},function(){fv_player_notice(a,fv_flowplayer_translations.error_copy_clipboard,2e3)})})),o.get_video_link=function(){return c}}),jQuery(document).on("click",'a[href*="fvp_"]',function(){var e=jQuery(this);setTimeout(function(){0==e.parents(".fvp-share-bar").length&&fv_autoplay_exec()})})),flowplayer(function(o,a){a=jQuery(a);var n=flowplayer.bean,r=flowplayer.conf.default_volume,i=(0==r&&(r="0.5"),a.on("mousedown touchstart",".fp-volumebtn",function(e){var t=jQuery(this);0==o.volumeLevel&&t.one("click",function(){return"dash"==o.engine.engineName&&o.mute(!1),o.volume(r),!1})}),a.on("mousedown touchstart mouseup touchend",".fp-volumebar",function(e){0!=o.volumeLevel&&(r=o.volumeLevel)}),o.on("volume",function(e,t){a.hasClass("is-mouseover")&&!t.muted&&0==t.volumeLevel&&(n.off(flowplayer.support.touch?a:document,"mousemove.sld touchmove.sld"),t.mute(!0))}),!1);function l(){a.removeClass("has-fp-message-muted"),a.find(".fp-message-muted").remove()}o.one("ready",function(e,t){a.hasClass("is-audio")||(i=!0)}),o.on("progress",function(e,t,o){i&&1<o&&(i=!1,(o=jQuery("root").find("video")).length&&!(o=o[0]).mozHasAudio&&!Boolean(o.webkitAudioDecodedByteCount)&&!Boolean(o.audioTracks&&o.audioTracks.length)||!t.muted&&0!=t.volumeLevel||"true"==localStorage.muted||"0"==localStorage.volume||((o=jQuery('<div class="fp-message fp-message-muted"><span class="fp-icon fp-volumebtn-notice"></span> '+fv_flowplayer_translations.click_to_unmute+"</div>")).on("click touchstart",function(){t.mute(!1),t.volume(1)}),a.find(".fp-ui").append(o),a.addClass("has-fp-message-muted"),setTimeout(l,1e4)))}),o.on("mute volume",function(){(!o.muted||0<o.volumeLevel)&&l()})}),"undefined"!=typeof flowplayer&&(fv_player_warning=function(e,t,o){var a=jQuery(e).prev(".fv-player-warning-wrapper");0==a.length&&(jQuery(e).before('<div class="fv-player-warning-wrapper">'),a=jQuery(e).prev(".fv-player-warning-wrapper")),0==a.find(".fv-player-warning-"+o).length&&(e=jQuery("<p style='display: none' "+(o?" class='fv-player-warning-"+o+"'":"")+">"+t+"</p>"),a.append(e),e.slideDown())},flowplayer(function(t,a){a=jQuery(a),navigator.userAgent.match(/iPhone.* OS [0-6]_/i)&&t.one("progress",function(e){void 0!==t.video.subtitles&&t.video.subtitles.length&&fv_player_warning(a,fv_flowplayer_translations.warning_iphone_subs)}),flowplayer.support.android&&flowplayer.support.android.version<5&&(flowplayer.support.android.samsung||flowplayer.support.browser.safari)&&fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox"),/Android 4/.test(navigator.userAgent)&&!/Firefox/.test(navigator.userAgent)&&(t.on("ready",function(e,t,o){setTimeout(function(){o.src&&o.src.match(/fpdl.vimeocdn.com/)&&(0==o.time||1==o.time)&&(fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox"),t.on("progress",function(e,t){a.prev().find(".fv-player-warning-firefox").remove()}))},1500)}),t.on("error",function(e,t,o){2==o.MEDIA_ERR_NETWORK&&o.video.src.match(/fpdl.vimeocdn.com/)&&fv_player_warning(a,fv_flowplayer_translations.warning_unstable_android,"firefox")})),/Safari/.test(navigator.userAgent)&&/Version\/5/.test(navigator.userAgent)&&t.on("error",function(e,t,o){o.video.src.match(/fpdl.vimeocdn.com/)&&fv_player_warning(a,fv_flowplayer_translations.warning_old_safari)});var e=flowplayer.support;e.android&&(e.android.samsung&&parseInt(e.browser.version)<66||e.browser.safari)&&t.on("error",function(e,t,o){fv_player_warning(a,fv_flowplayer_translations.warning_samsungbrowser,"warning_samsungbrowser")})}));
window.addComment=function(v){var I,C,h,E=v.document,b={commentReplyClass:"comment-reply-link",commentReplyTitleId:"reply-title",cancelReplyId:"cancel-comment-reply-link",commentFormId:"commentform",temporaryFormId:"wp-temp-form-div",parentIdFieldId:"comment_parent",postIdFieldId:"comment_post_ID"},e=v.MutationObserver||v.WebKitMutationObserver||v.MozMutationObserver,r="querySelector"in E&&"addEventListener"in v,n=!!E.documentElement.dataset;function t(){d(),e&&new e(o).observe(E.body,{childList:!0,subtree:!0})}function d(e){if(r&&(I=g(b.cancelReplyId),C=g(b.commentFormId),I)){I.addEventListener("touchstart",l),I.addEventListener("click",l);function t(e){if((e.metaKey||e.ctrlKey)&&13===e.keyCode&&"a"!==E.activeElement.tagName.toLowerCase())return C.removeEventListener("keydown",t),e.preventDefault(),C.submit.click(),!1}C&&C.addEventListener("keydown",t);for(var n,d=function(e){var t=b.commentReplyClass;e&&e.childNodes||(e=E);e=E.getElementsByClassName?e.getElementsByClassName(t):e.querySelectorAll("."+t);return e}(e),o=0,i=d.length;o<i;o++)(n=d[o]).addEventListener("touchstart",a),n.addEventListener("click",a)}}function l(e){var t,n,d=g(b.temporaryFormId);d&&h&&(g(b.parentIdFieldId).value="0",t=d.textContent,d.parentNode.replaceChild(h,d),this.style.display="none",n=(d=(d=g(b.commentReplyTitleId))&&d.firstChild)&&d.nextSibling,d&&d.nodeType===Node.TEXT_NODE&&t&&(n&&"A"===n.nodeName&&n.id!==b.cancelReplyId&&(n.style.display=""),d.textContent=t),e.preventDefault())}function a(e){var t=g(b.commentReplyTitleId),t=t&&t.firstChild.textContent,n=this,d=m(n,"belowelement"),o=m(n,"commentid"),i=m(n,"respondelement"),r=m(n,"postid"),n=m(n,"replyto")||t;d&&o&&i&&r&&!1===v.addComment.moveForm(d,o,i,r,n)&&e.preventDefault()}function o(e){for(var t=e.length;t--;)if(e[t].addedNodes.length)return void d()}function m(e,t){return n?e.dataset[t]:e.getAttribute("data-"+t)}function g(e){return E.getElementById(e)}return r&&"loading"!==E.readyState?t():r&&v.addEventListener("DOMContentLoaded",t,!1),{init:d,moveForm:function(e,t,n,d,o){var i,r,l,a,m,c,s,e=g(e),n=(h=g(n),g(b.parentIdFieldId)),y=g(b.postIdFieldId),p=g(b.commentReplyTitleId),u=(p=p&&p.firstChild)&&p.nextSibling;if(e&&h&&n){void 0===o&&(o=p&&p.textContent),a=h,m=b.temporaryFormId,c=g(m),s=(s=g(b.commentReplyTitleId))?s.firstChild.textContent:"",c||((c=E.createElement("div")).id=m,c.style.display="none",c.textContent=s,a.parentNode.insertBefore(c,a)),d&&y&&(y.value=d),n.value=t,I.style.display="",e.parentNode.insertBefore(h,e.nextSibling),p&&p.nodeType===Node.TEXT_NODE&&(u&&"A"===u.nodeName&&u.id!==b.cancelReplyId&&(u.style.display="none"),p.textContent=o),I.onclick=function(){return!1};try{for(var f=0;f<C.elements.length;f++)if(i=C.elements[f],r=!1,"getComputedStyle"in v?l=v.getComputedStyle(i):E.documentElement.currentStyle&&(l=i.currentStyle),(i.offsetWidth<=0&&i.offsetHeight<=0||"hidden"===l.visibility)&&(r=!0),"hidden"!==i.type&&!i.disabled&&!r){i.focus();break}}catch(e){}return!1}}}}(window);