{"version":3,"names":[],"mappings":"","sources":["scripts.min.js"],"sourcesContent":["!function e(t,n,i){function r(s,a){if(!n[s]){if(!t[s]){var l=\"function\"==typeof require&&require;if(!a&&l)return l(s,!0);if(o)return o(s,!0);var c=new Error(\"Cannot find module '\"+s+\"'\");throw c.code=\"MODULE_NOT_FOUND\",c}var d=n[s]={exports:{}};t[s][0].call(d.exports,(function(e){return r(t[s][1][e]||e)}),d,d.exports,e,t,n,i)}return n[s].exports}for(var o=\"function\"==typeof require&&require,s=0;s0){console.log(events);var e,t=\"\",n=[],l=document.getElementById(\"calendar\");(e=window.innerWidth<960?new r.Calendar(l,{plugins:[o.default,s.default,a.default],events:events,header:{left:\"prev\",center:\"title\",right:\"next\"},eventRender:function(e,t){t=e.el;(0,i.default)(t).find(\"div.fc-content\").addClass(\"d-none\")},dayRender:function(t){if(e.getEvents().filter((function(e){return e.start.setHours(0,0,0,0)===t.date.setHours(0,0,0,0)})).length>0){var n=new Date(t.date),r=new Date(n.getTime()-6e4*n.getTimezoneOffset()).toISOString().split(\"T\")[0];console.log(r),t.el.style.backgroundColor=\"#F04E23\";var o=(0,i.default)(\".fc-content-skeleton\").find(\"[data-date='\"+r+\"'] .fc-day-number\").css(\"color\",\"#ffffff\");console.log(o)}},dateClick:function(r){console.log(r),console.log(r.date),\"\"!=t&&t!=r.date&&(n.style.background=\"#F04E23\"),t=r.date,n=r.dayEl,r.dayEl.style.background=\"linear-gradient(239.63deg, #F04E23 0.99%, #FAA224 100.39%)\";var o=e.getEvents().filter((function(e){return e.start.setHours(0,0,0,0)===r.date.setHours(0,0,0,0)}));(0,i.default)(\".event-list\").empty().append(\"

\"+o[0].extendedProps.datestring+\"


\"),o.forEach((function(e){var t=\"

\"+e.extendedProps.name+\"

\"+e.extendedProps.time+\"
Booking and Info
\";(0,i.default)(\".event-list\").hide().append(t).slideToggle()})),console.log((0,i.default)(\"#event-list\").offset().top),(0,i.default)(\"html, body\").animate({scrollTop:600},600)}}):new r.Calendar(l,{plugins:[o.default,s.default,a.default],events:events,header:{left:\"prev\",center:\"title\",right:\"next\"},eventRender:function(e,t){t=e.el;(0,i.default)(t).find(\"div.fc-content\").prepend(\"\")}})).render(),e.gotoDate(events[0].start)}};n.default=c},{\"@fullcalendar/bootstrap\":8,\"@fullcalendar/core\":9,\"@fullcalendar/daygrid\":10,\"@fullcalendar/interaction\":11,jquery:15}],3:[function(e,t,n){\"use strict\";var i,r=(i=e(\"jquery\"))&&i.__esModule?i:{default:i};var o={options:{color:\"white\",thickness:\"2px\"},render_map:function(e){var t=e.find(\".marker\"),n=new google.maps.StyledMapType([{featureType:\"administrative\",elementType:\"labels.text.fill\",stylers:[{visibility:\"off\"}]},{featureType:\"landscape\",elementType:\"all\",stylers:[{color:\"#f7f7f7\"}]},{featureType:\"poi\",elementType:\"all\",stylers:[{visibility:\"off\"}]},{featureType:\"poi.business\",elementType:\"geometry.fill\",stylers:[{visibility:\"off\"},{color:\"#e5e5e5\"}]},{featureType:\"road\",elementType:\"geometry\",stylers:[{color:\"#ffffff\"}]},{featureType:\"road.highway\",elementType:\"all\",stylers:[{visibility:\"simplified\"}]},{featureType:\"road.arterial\",elementType:\"labels.icon\",stylers:[{visibility:\"on\"}]},{featureType:\"transit\",elementType:\"all\",stylers:[{visibility:\"off\"}]},{featureType:\"water\",elementType:\"all\",stylers:[{color:\"#ededed\"},{visibility:\"on\"}]}],{name:\"Styled Map\"}),i={zoom:16,scrollwheel:!1,center:new google.maps.LatLng(0,0),mapTypeId:google.maps.MapTypeId.ROADMAP,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,\"map_style\"]}},o=new google.maps.Map(e[0],i);o.mapTypes.set(\"map_style\",n),o.setMapTypeId(\"map_style\"),o.markers=[],t.each((function(){!function(e,t){var n=new google.maps.LatLng(e.attr(\"data-lat\"),e.attr(\"data-lng\")),i=new google.maps.Marker({position:n,map:t,icon:$mapUrl});if(t.markers.push(i),e.html()){var r=new google.maps.InfoWindow({content:e.html()});google.maps.event.addListener(i,\"click\",(function(){r.open(t,i)}))}}((0,r.default)(this),o)})),function(e){var t=new google.maps.LatLngBounds;r.default.each(e.markers,(function(e,n){var i=new google.maps.LatLng(n.position.lat(),n.position.lng());t.extend(i)})),1==e.markers.length?(e.setCenter(t.getCenter()),e.setZoom(18)):e.fitBounds(t)}(o)}};t.exports=o},{jquery:15}],4:[function(e,t,n){\"use strict\";Object.defineProperty(n,\"__esModule\",{value:!0}),n.default=void 0;var i,r=(i=e(\"jquery\"))&&i.__esModule?i:{default:i};var o=function(){(0,r.default)(\".hamburger\").on(\"click\",(function(){(0,r.default)(this).toggleClass(\"is-active\")}))};n.default=o},{jquery:15}],5:[function(e,t,n){\"use strict\";var i,r=(i=e(\"jquery\"))&&i.__esModule?i:{default:i};(0,r.default)((function(){var e=(0,r.default)('header[role=\"banner\"] .navbar').height();(0,r.default)(window).scroll((function(){(0,r.default)(window).scrollTop()>=e?(0,r.default)('header[role=\"banner\"] .navbar').addClass(\"scrolled\"):(0,r.default)('header[role=\"banner\"] .navbar').hasClass(\"keep-scroll-style\")||(0,r.default)('header[role=\"banner\"] .navbar').removeClass(\"scrolled\")})),(0,r.default)(\".slidedown-toggle\").on(\"click\",(function(e){e.preventDefault();var t=(0,r.default)(this).next(\".slidedown-menu\");t.is(\":visible\")?t.slideUp():((0,r.default)(\".slidedown-menu\").slideUp(),t.slideDown())}))}))},{jquery:15}],6:[function(e,t,n){\"use strict\";Object.defineProperty(n,\"__esModule\",{value:!0}),n.initGallerySliders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\".gallery-slider\",t=((0,r.default)(e),{centerMode:!0,centerPadding:\"28%\",slidesToShow:1,slidesToScroll:1,infinite:!0,arrows:!0,appendArrows:(0,r.default)(\".gallery-slider .slider-nav\"),prevArrow:'',nextArrow:'',dots:!0,appendDots:(0,r.default)(\".gallery-slider .slider-nav .dots\"),responsive:[{breakpoint:600,settings:{centerPadding:\"10%\"}}]});a(e=\".gallery-slider .tab-content .tab-pane.show .slider\",t)},n.initImpactSliders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\".impact-slider\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"false\",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"false\",i={slidesToShow:4,slidesToScroll:1,dots:n,arrows:t,prevArrow:'',nextArrow:'',responsive:[{breakpoint:600,settings:{centerMode:!0,centerPadding:\"10%\",slidesToShow:1}},{breakpoint:1280,settings:{slidesToShow:3}}]};(0,r.default)(e).slick(i)},n.initMobileSliders=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\".mobile-slider\",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"false\",n={dots:!1,arrows:t,slidesToScroll:1,slidesToShow:1,centerMode:!0,mobileFirst:!0,centerPadding:\"50px\",infinite:!0,autoplaySpeed:4e3,responsive:[{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:2,infinite:!0}},{breakpoint:1024,settings:\"unslick\"}]};(0,r.default)(e).slick(n);var i=o(document.querySelectorAll(' a[data-bs-toggle=\"tab\"]'));i.forEach((function(e){e.addEventListener(\"shown.bs.tab\",(function(t){(0,r.default)(e).closest(\"section\").find(\".tab-content .tab-pane.show .mobile-slider\").slick(\"setPosition\")}))}))},n.initSingleSlider=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\".single-slider\",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3],r=arguments.length>4&&void 0!==arguments[4]?arguments[4]:\"false\",o={infinite:!0,dots:n,arrows:t,prevArrow:'',nextArrow:'',slidesToShow:1,slidesToScroll:1,autoplay:r,autoplaySpeed:4e3,adaptiveHeight:i};a(e,o)};var i,r=(i=e(\"jquery\"))&&i.__esModule?i:{default:i};function o(e){return function(e){if(Array.isArray(e))return s(e)}(e)||function(e){if(\"undefined\"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e[\"@@iterator\"])return Array.from(e)}(e)||function(e,t){if(!e)return;if(\"string\"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);\"Object\"===n&&e.constructor&&(n=e.constructor.name);if(\"Map\"===n||\"Set\"===n)return Array.from(e);if(\"Arguments\"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);ne.length)&&(t=e.length);for(var n=0,i=new Array(t);n0&&void 0!==arguments[0]?arguments[0]:\".nav-tabs\",t=0,n=(0,i.default)(e).width(),r=[].concat(l(document.querySelectorAll(e+' a[data-bs-toggle=\"pill\"]')),l(document.querySelectorAll(e+' a[data-bs-toggle=\"tab\"]')));r.forEach((function(r){t+=(0,i.default)(r).outerWidth(!0),r.addEventListener(\"shown.bs.tab\",(function(o){var s=(0,i.default)(r);t>n&&(s.position().left=576?e.data(\"hiRes\")?e.css({\"background-image\":\"url('\"+e.data(\"hiRes\")+\"')\"}):e.css({\"background-image\":\"url('\"+e.data(\"lowRes\")+\"')\"}):e.data(\"lowRes\")?e.css({\"background-image\":\"url('\"+e.data(\"lowRes\")+\"')\"}):e.css({\"background-image\":\"url('\"+e.data(\"hiRes\")+\"')\"})}))}))},{\"./blocks/block-gallery-scroller\":1,\"./calendar\":2,\"./gmap.js\":3,\"./partials/hamburger\":4,\"./partials/nav\":5,\"./partials/slick-sliders\":6,bootstrap:13,jquery:15}],8:[function(e,t,n){\n/*!\nFullCalendar Bootstrap Plugin v4.4.2\nDocs & License: https://fullcalendar.io/\n(c) 2019 Adam Shaw\n*/var i,r;i=this,r=function(e,t){\"use strict\";\n/*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** */var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},n(e,t)},i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return function(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}(t,e),t}(t.Theme);i.prototype.classes={widget:\"fc-bootstrap\",tableGrid:\"table-bordered\",tableList:\"table\",tableListHeading:\"table-active\",buttonGroup:\"btn-group\",button:\"btn btn-primary\",buttonActive:\"active\",today:\"alert alert-info\",popover:\"card card-primary\",popoverHeader:\"card-header\",popoverContent:\"card-body\",headerRow:\"table-bordered\",dayRow:\"table-bordered\",listView:\"card card-primary\"},i.prototype.baseIconClass=\"fa\",i.prototype.iconClasses={close:\"fa-times\",prev:\"fa-chevron-left\",next:\"fa-chevron-right\",prevYear:\"fa-angle-double-left\",nextYear:\"fa-angle-double-right\"},i.prototype.iconOverrideOption=\"bootstrapFontAwesome\",i.prototype.iconOverrideCustomButtonOption=\"bootstrapFontAwesome\",i.prototype.iconOverridePrefix=\"fa-\";var r=t.createPlugin({themeClasses:{bootstrap:i}});e.BootstrapTheme=i,e.default=r,Object.defineProperty(e,\"__esModule\",{value:!0})},\"object\"==typeof n&&void 0!==t?r(n,e(\"@fullcalendar/core\")):\"function\"==typeof define&&define.amd?define([\"exports\",\"@fullcalendar/core\"],r):r((i=i||self).FullCalendarBootstrap={},i.FullCalendar)},{\"@fullcalendar/core\":9}],9:[function(e,t,n){\n/*!\nFullCalendar Core Package v4.4.2\nDocs & License: https://fullcalendar.io/\n(c) 2019 Adam Shaw\n*/var i,r;i=this,r=function(e){\"use strict\";var t={className:!0,colSpan:!0,rowSpan:!0},n={\"\");document.body.appendChild(e);var t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return d(e),t}()),w}function E(e){return e=Math.max(0,e),e=Math.round(e)}function T(e,t){void 0===t&&(t=!1);var n=window.getComputedStyle(e),i=parseInt(n.borderLeftWidth,10)||0,r=parseInt(n.borderRightWidth,10)||0,o=parseInt(n.borderTopWidth,10)||0,s=parseInt(n.borderBottomWidth,10)||0,a=E(e.offsetWidth-e.clientWidth-i-r),l={borderLeft:i,borderRight:r,borderTop:o,borderBottom:s,scrollbarBottom:E(e.offsetHeight-e.clientHeight-o-s),scrollbarLeft:0,scrollbarRight:0};return S()&&\"rtl\"===n.direction?l.scrollbarLeft=a:l.scrollbarRight=a,t&&(l.paddingLeft=parseInt(n.paddingLeft,10)||0,l.paddingRight=parseInt(n.paddingRight,10)||0,l.paddingTop=parseInt(n.paddingTop,10)||0,l.paddingBottom=parseInt(n.paddingBottom,10)||0),l}function x(e,t){void 0===t&&(t=!1);var n=C(e),i=T(e,t),r={left:n.left+i.borderLeft+i.scrollbarLeft,right:n.right-i.borderRight-i.scrollbarRight,top:n.top+i.borderTop,bottom:n.bottom-i.borderBottom-i.scrollbarBottom};return t&&(r.left+=i.paddingLeft,r.right-=i.paddingRight,r.top+=i.paddingTop,r.bottom-=i.paddingBottom),r}function C(e){var t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function _(e){return e.getBoundingClientRect().height+k(e)}function k(e){var t=window.getComputedStyle(e);return parseInt(t.marginTop,10)+parseInt(t.marginBottom,10)}function D(e){for(var t=[];e instanceof HTMLElement;){var n=window.getComputedStyle(e);if(\"fixed\"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function A(e){e.preventDefault()}function I(e,t,n,i){function r(e){var t=p(e.target,n);t&&i.call(t,e,t)}return e.addEventListener(t,r),function(){e.removeEventListener(t,r)}}var M=[\"webkitTransitionEnd\",\"otransitionend\",\"oTransitionEnd\",\"msTransitionEnd\",\"transitionend\"],O=[\"sun\",\"mon\",\"tue\",\"wed\",\"thu\",\"fri\",\"sat\"];function R(e,t){var n=U(e);return n[2]+=t,V(n)}function P(e,t){var n=U(e);return n[6]+=t,V(n)}function L(e,t){return(t.valueOf()-e.valueOf())/864e5}function N(e,t){var n=z(e),i=z(t);return{years:0,months:0,days:Math.round(L(n,i)),milliseconds:t.valueOf()-i.valueOf()-(e.valueOf()-n.valueOf())}}function H(e,t){var n=j(e,t);return null!==n&&n%7==0?n/7:null}function j(e,t){return Y(e)===Y(t)?Math.round(L(e,t)):null}function z(e){return V([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function $(e,t,n,i){var r=V([t,0,1+q(t,n,i)]),o=z(e),s=Math.round(L(r,o));return Math.floor(s/7)+1}function q(e,t,n){var i=7+t-n;return-(7+V([e,0,i]).getUTCDay()-t)%7+i-1}function B(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function W(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function U(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function V(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC.apply(Date,e))}function F(e){return!isNaN(e.valueOf())}function Y(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}var X=[\"years\",\"months\",\"days\",\"milliseconds\"],G=/^(-?)(?:(\\d+)\\.)?(\\d+):(\\d\\d)(?::(\\d\\d)(?:\\.(\\d\\d\\d))?)?/;function Z(e,t){var n;return\"string\"==typeof e?function(e){var t=G.exec(e);if(t){var n=t[1]?-1:1;return{years:0,months:0,days:n*(t[2]?parseInt(t[2],10):0),milliseconds:n*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):\"object\"==typeof e&&e?K(e):\"number\"==typeof e?K(((n={})[t||\"milliseconds\"]=e,n)):null}function K(e){return{years:e.years||e.year||0,months:e.months||e.month||0,days:(e.days||e.day||0)+7*Q(e),milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)}}function Q(e){return e.weeks||e.week||0}function J(e,t){return e.years===t.years&&e.months===t.months&&e.days===t.days&&e.milliseconds===t.milliseconds}function ee(e){return te(e)/864e5}function te(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function ne(e,t){var n=e.milliseconds;if(n){if(n%1e3!=0)return{unit:\"millisecond\",value:n};if(n%6e4!=0)return{unit:\"second\",value:n/1e3};if(n%36e5!=0)return{unit:\"minute\",value:n/6e4};if(n)return{unit:\"hour\",value:n/36e5}}return e.days?t||e.days%7!=0?{unit:\"day\",value:e.days}:{unit:\"week\",value:e.days/7}:e.months?{unit:\"month\",value:e.months}:e.years?{unit:\"year\",value:e.years}:{unit:\"millisecond\",value:0}}function ie(e){e.forEach((function(e){e.style.height=\"\"}))}function re(e){var t,n,i=[],r=[];for(\"string\"==typeof e?r=e.split(/\\s*,\\s*/):\"function\"==typeof e?r=[e]:Array.isArray(e)&&(r=e),t=0;t=te(t)&&(i=R(i,1))}return e.start&&(n=z(e.start),i&&i<=n&&(i=R(n,1))),{start:n,end:i}}function me(e,t,n,i){return\"year\"===i?Z(n.diffWholeYears(e,t),\"year\"):\"month\"===i?Z(n.diffWholeMonths(e,t),\"month\"):N(e,t)}\n/*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** */var ye=function(e,t){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},ye(e,t)};function be(e,t){function n(){this.constructor=e}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var we=function(){return we=Object.assign||function(e){for(var t,n=1,i=arguments.length;n=0;o--)if(\"object\"==typeof(s=e[o][i])&&s)r.unshift(s);else if(void 0!==s){l[i]=s;break}r.length&&(l[i]=Te(r))}for(n=e.length-1;n>=0;n--)for(i in a=e[n])i in l||(l[i]=a[i]);return l}function xe(e,t){var n={};for(var i in e)t(e[i],i)&&(n[i]=e[i]);return n}function Ce(e,t){var n={};for(var i in e)n[i]=t(e[i],i);return n}function _e(e){for(var t={},n=0,i=e;no&&r.push({start:o,end:i.start}),i.end>o&&(o=i.end);return ot.start)&&(null===e.start||null===t.end||e.start=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function Ue(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t1)||\"numeric\"!==s.year&&\"2-digit\"!==s.year||\"numeric\"!==s.month&&\"2-digit\"!==s.month||\"numeric\"!==s.day&&\"2-digit\"!==s.day||(c=1);var d=this.format(e,n),u=this.format(t,n);if(d===u)return d;var h=nt(function(e,t){var n={};for(var i in e)(!(i in Ge)||Ge[i]<=t)&&(n[i]=e[i]);return n}(s,c),a,n),p=h(e),f=h(t),g=function(e,t,n,i){for(var r=0;r/g,\">\").replace(/'/g,\"'\").replace(/\"/g,\""\").replace(/\\n/g,\"
\")}function Rt(e){var t=[];for(var n in e){var i=e[n];null!=i&&\"\"!==i&&t.push(n+\":\"+i)}return t.join(\";\")}function Pt(e){return Array.isArray(e)?e:\"string\"==typeof e?e.split(/\\s+/):[]}var Lt={editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:null,overlap:null,allow:null,className:Pt,classNames:Pt,color:String,backgroundColor:String,borderColor:String,textColor:String};function Nt(e,t,n){var i=fe(e,Lt,{},n),r=function(e,t){return Array.isArray(e)?Ae(e,\"\",t,!0):\"object\"==typeof e&&e?Ae([e],\"\",t,!0):null!=e?String(e):null}(i.constraint,t);return{startEditable:null!=i.startEditable?i.startEditable:i.editable,durationEditable:null!=i.durationEditable?i.durationEditable:i.editable,constraints:null!=r?[r]:[],overlap:i.overlap,allows:null!=i.allow?[i.allow]:[],backgroundColor:i.backgroundColor||i.color,borderColor:i.borderColor||i.color,textColor:i.textColor,classNames:i.classNames.concat(i.className)}}function Ht(e,t,n,i){var r={},o={};for(var s in Lt){var a=e+le(s);r[s]=t[a],o[a]=!0}if(\"event\"===e&&(r.editable=t.editable),i)for(var s in t)o[s]||(i[s]=t[s]);return Nt(r,n)}var jt={startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:\"\",borderColor:\"\",textColor:\"\",classNames:[]};function zt(e){return e.reduce($t,jt)}function $t(e,t){return{startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:\"boolean\"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}var qt={id:String,groupId:String,title:String,url:String,rendering:String,extendedProps:null},Bt={start:null,date:null,end:null,allDay:null},Wt=0;function Ut(e,t,n,i){var r=function(e,t){var n=null;return e&&(n=t.state.eventSources[e].allDayDefault),null==n&&(n=t.opt(\"allDayDefault\")),n}(t,n),o={},s=function(e,t,n,i,r){for(var o=0;o'+r+\"\":\"\"+r+\"\"}function en(e,t,n,i){var r,o,s=n.calendar,a=n.options,l=n.theme,c=n.dateEnv,d=[];return Ue(t.activeRange,e)?(d.push(\"fc-\"+O[e.getUTCDay()]),a.monthMode&&c.getMonth(e)!==c.getMonth(t.currentRange.start)&&d.push(\"fc-other-month\"),o=R(r=z(s.getNow()),1),e=o?d.push(\"fc-future\"):(d.push(\"fc-today\"),!0!==i&&d.push(l.getClass(\"today\")))):d.push(\"fc-disabled-day\"),d}function tn(e,t,n){var i=!1,r=function(){i||(i=!0,t.apply(this,arguments))},o=function(){i||(i=!0,n&&n.apply(this,arguments))},s=e(r,o);s&&\"function\"==typeof s.then&&s.then(r,o)}var nn=function(){function e(){}return e.mixInto=function(e){this.mixIntoObj(e.prototype)},e.mixIntoObj=function(e){var t=this;Object.getOwnPropertyNames(this.prototype).forEach((function(n){e[n]||(e[n]=t.prototype[n])}))},e.mixOver=function(e){var t=this;Object.getOwnPropertyNames(this.prototype).forEach((function(n){e.prototype[n]=t.prototype[n]}))},e}(),rn=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return be(t,e),t.prototype.on=function(e,t){return on(this._handlers||(this._handlers={}),e,t),this},t.prototype.one=function(e,t){return on(this._oneHandlers||(this._oneHandlers={}),e,t),this},t.prototype.off=function(e,t){return this._handlers&&sn(this._handlers,e,t),this._oneHandlers&&sn(this._oneHandlers,e,t),this},t.prototype.trigger=function(e){for(var t=[],n=1;n=n[t]&&e=n[t]&&e0},e.prototype.canScrollHorizontally=function(){return this.getMaxScrollLeft()>0},e.prototype.canScrollUp=function(){return this.getScrollTop()>0},e.prototype.canScrollDown=function(){return this.getScrollTop()0},e.prototype.canScrollRight=function(){return this.getScrollLeft() *\",vn.prototype.bgSegSelector=\".fc-bgevent:not(.fc-nonbusiness)\";var mn=0;function yn(e){return{id:String(mn++),deps:e.deps||[],reducers:e.reducers||[],eventDefParsers:e.eventDefParsers||[],isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],eventResizeJoinTransforms:e.eventResizeJoinTransforms||[],viewContainerModifiers:e.viewContainerModifiers||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,defaultView:e.defaultView||\"\",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{}}}var bn=function(){function e(){this.hooks={reducers:[],eventDefParsers:[],isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],eventResizeJoinTransforms:[],viewContainerModifiers:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,defaultView:\"\",elementDraggingImpl:null,optionChangeHandlers:{}},this.addedHash={}}return e.prototype.add=function(e){if(!this.addedHash[e.id]){this.addedHash[e.id]=!0;for(var t=0,n=e.deps;t=200&&s.status<400)try{var e=JSON.parse(s.responseText);i(e,s)}catch(e){r(\"Failure parsing JSON\",s)}else r(\"Request failed\",s)},s.onerror=function(){r(\"Request failed\",s)},s.send(o)}function Tn(e){var t=[];for(var n in e)t.push(encodeURIComponent(n)+\"=\"+encodeURIComponent(e[n]));return t.join(\"&\")}var xn=yn({eventSourceDefs:[{parseMeta:function(e){if(\"string\"==typeof e)e={url:e};else if(!e||\"object\"!=typeof e||!e.url)return null;return{url:e.url,method:(e.method||\"GET\").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam}},fetch:function(e,t,n){var i=e.eventSource.meta,r=function(e,t,n){var i,r,o,s,a=n.dateEnv,l={};return null==(i=e.startParam)&&(i=n.opt(\"startParam\")),null==(r=e.endParam)&&(r=n.opt(\"endParam\")),null==(o=e.timeZoneParam)&&(o=n.opt(\"timeZoneParam\")),s=\"function\"==typeof e.extraParams?e.extraParams():e.extraParams||{},we(l,s),l[i]=a.formatIso(t.start),l[r]=a.formatIso(t.end),\"local\"!==a.timeZone&&(l[o]=a.timeZone),l}(i,e.range,e.calendar);En(i.method,i.url,r,(function(e,n){t({rawEvents:e,xhr:n})}),(function(e,t){n({message:e,xhr:t})}))}}]}),Cn=yn({recurringTypes:[{parse:function(e,t,n){var i,r,o=n.createMarker.bind(n),s=fe(e,{daysOfWeek:null,startTime:Z,endTime:Z,startRecur:o,endRecur:o},{},t),a=!1;for(var l in s)if(null!=s[l]){a=!0;break}if(a){var c=null;return\"duration\"in t&&(c=Z(t.duration),delete t.duration),!c&&s.startTime&&s.endTime&&(i=s.endTime,r=s.startTime,c={years:i.years-r.years,months:i.months-r.months,days:i.days-r.days,milliseconds:i.milliseconds-r.milliseconds}),{allDayGuess:Boolean(!s.startTime&&!s.endTime),duration:c,typeData:s}}return null},expand:function(e,t,n){var i=$e(t,{start:e.startRecur,end:e.endRecur});return i?function(e,t,n,i){for(var r=e?_e(e):null,o=z(n.start),s=n.end,a=[];o0?e[0].code:\"en\",n=window.FullCalendarLocalesAll||[],i=window.FullCalendarLocales||{},r=n.concat(ke(i),e),o={en:On},s=0,a=r;s0;r--){var o=i.slice(0,r).join(\"-\");if(t[o])return t[o]}return null}(n,t)||On;return Ln(e,n,i)}(e,t):Ln(e.code,[e.code],e)}function Ln(e,t,n){var i=Te([On,n],[\"buttonText\"]);delete i.code;var r=i.week;return delete i.week,{codeArg:e,codes:t,week:r,simpleNumberFormat:new Intl.NumberFormat(e),options:i}}var Nn,Hn=function(){function e(e){this.overrides=we({},e),this.dynamicOverrides={},this.compute()}return e.prototype.mutate=function(e,t,n){if(Object.keys(e).length||t.length){var i=n?this.dynamicOverrides:this.overrides;we(i,e);for(var r=0,o=t;r=1?Math.min(r,o):r}(e,this.weekDow,this.weekDoy)},e.prototype.format=function(e,t,n){return void 0===n&&(n={}),t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)},e.prototype.formatRange=function(e,t,n,i){return void 0===i&&(i={}),i.isEndExclusive&&(t=P(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this)},e.prototype.formatIso=function(e,t){void 0===t&&(t={});var n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),function(e,t,n){void 0===n&&(n=!1);var i=e.toISOString();return i=i.replace(\".000\",\"\"),n&&(i=i.replace(\"T00:00:00Z\",\"\")),i.length>10&&(null==t?i=i.replace(\"Z\",\"\"):0!==t&&(i=i.replace(\"Z\",st(t,!0)))),i}(e,n,t.omitTime)},e.prototype.timestampToMarker=function(e){return\"local\"===this.timeZone?V(B(new Date(e))):\"UTC\"!==this.timeZone&&this.namedTimeZoneImpl?V(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)},e.prototype.offsetForMarker=function(e){return\"local\"===this.timeZone?-W(U(e)).getTimezoneOffset():\"UTC\"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(U(e)):null},e.prototype.toDate=function(e,t){return\"local\"===this.timeZone?W(U(e)):\"UTC\"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(U(e))*60):new Date(e.valueOf()-(t||0))},e}(),Wn={id:String,allDayDefault:Boolean,eventDataTransform:Function,success:Function,failure:Function},Un=0;function Vn(e,t){return!t.pluginSystem.hooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Fn(e,t){for(var n=t.pluginSystem.hooks.eventSourceDefs,i=n.length-1;i>=0;i--){var r=n[i].parseMeta(e);if(r){var o=Yn(\"object\"==typeof e?e:{},r,i,t);return o._raw=e,o}}return null}function Yn(e,t,n,i){var r={},o=fe(e,Wn,{},r),s={},a=Nt(r,i,s);return o.isFetching=!1,o.latestFetchId=\"\",o.fetchRange=null,o.publicId=String(e.id||\"\"),o.sourceId=String(Un++),o.sourceDefId=n,o.meta=t,o.ui=a,o.extendedProps=s,o}function Xn(e,t,n,i){switch(t.type){case\"ADD_EVENT_SOURCES\":return function(e,t,n,i){for(var r={},o=0,s=t;oe.fetchRange.end:!e.latestFetchId}(e,t,n)})),t,n)}function Kn(e,t,n,i){var r={};for(var o in e){var s=e[o];t[o]?r[o]=Qn(s,n,i):r[o]=s}return r}function Qn(e,t,n){var i=n.pluginSystem.hooks.eventSourceDefs[e.sourceDefId],r=String(Gn++);return i.fetch({eventSource:e,calendar:n,range:t},(function(i){var o,s,a=i.rawEvents,l=n.opt(\"eventSourceSuccess\");e.success&&(s=e.success(a,i.xhr)),l&&(o=l(a,i.xhr)),a=s||o||a,n.dispatch({type:\"RECEIVE_EVENTS\",sourceId:e.sourceId,fetchId:r,fetchRange:t,rawEvents:a})}),(function(i){var o=n.opt(\"eventSourceFailure\");console.warn(i.message,i),e.failure&&e.failure(i),o&&o(i),n.dispatch({type:\"RECEIVE_EVENT_ERROR\",sourceId:e.sourceId,fetchId:r,fetchRange:t,error:i})})),we({},e,{isFetching:!0,latestFetchId:r})}var Jn=function(){function e(e,t){this.viewSpec=e,this.options=e.options,this.dateEnv=t.dateEnv,this.calendar=t,this.initHiddenDays()}return e.prototype.buildPrev=function(e,t){var n=this.dateEnv,i=n.subtract(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,-1)},e.prototype.buildNext=function(e,t){var n=this.dateEnv,i=n.add(n.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(i,1)},e.prototype.build=function(e,t,n){var i,r,o,s,a,l,c,d,u,h;return void 0===n&&(n=!1),i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(u=e,e=null!=(h=i).start&&u=h.end?new Date(h.end.valueOf()-1):u),s=this.buildCurrentRangeInfo(e,t),a=/^(year|month|week|day)$/.test(s.unit),l=this.buildRenderRange(this.trimHiddenDays(s.range),s.unit,a),c=l=this.trimHiddenDays(l),this.options.showNonCurrentDates||(c=$e(c,s.range)),r=Z(this.options.minTime),o=Z(this.options.maxTime),c=$e(c=this.adjustActiveRange(c,r,o),i),d=Be(s.range,i),{validRange:i,currentRange:s.range,currentRangeUnit:s.unit,isRangeAllDay:a,activeRange:c,renderRange:l,minTime:r,maxTime:o,isValid:d,dateIncrement:this.buildDateIncrement(s.duration)}},e.prototype.buildValidRange=function(){return this.getRangeOption(\"validRange\",this.calendar.getNow())||{start:null,end:null}},e.prototype.buildCurrentRangeInfo=function(e,t){var n,i=this.viewSpec,r=this.dateEnv,o=null,s=null,a=null;return i.duration?(o=i.duration,s=i.durationUnit,a=this.buildRangeFromDuration(e,t,o,s)):(n=this.options.dayCount)?(s=\"day\",a=this.buildRangeFromDayCount(e,t,n)):(a=this.buildCustomVisibleRange(e))?s=r.greatestWholeUnit(a.start,a.end).unit:(s=ne(o=this.getFallbackDuration()).unit,a=this.buildRangeFromDuration(e,t,o,s)),{duration:o,unit:s,range:a}},e.prototype.getFallbackDuration=function(){return Z({day:1})},e.prototype.adjustActiveRange=function(e,t,n){var i=this.dateEnv,r=e.start,o=e.end;return this.viewSpec.class.prototype.usesMinMaxTime&&(ee(t)<0&&(r=z(r),r=i.add(r,t)),ee(n)>1&&(o=R(o=z(o),-1),o=i.add(o,n))),{start:r,end:o}},e.prototype.buildRangeFromDuration=function(e,t,n,i){var r,o,s,a,l,c=this.dateEnv,d=this.options.dateAlignment;function u(){s=c.startOf(e,d),a=c.add(s,n),l={start:s,end:a}}return d||((r=this.options.dateIncrement)?(o=Z(r),d=te(o) \")),c=!1):((i=h[e])?(u=function(e){i.click&&i.click.call(b,e)},(g=s.getCustomButtonIconClass(i))||(g=s.getIconClass(e))||(v=i.text)):(a=d[e])?(n.viewsWithButtons.push(e),u=function(){l.changeView(e)},(v=a.buttonTextOverride)||(g=s.getIconClass(e))||(v=a.buttonTextDefault)):l[e]&&(u=function(){l[e]()},(v=p[e])||(g=s.getIconClass(e))||(v=f[e])),u&&(y=[\"fc-\"+e+\"-button\",s.getClass(\"button\")],v?(m=Ot(v),w=\"\"):g&&(m=\"\",w=' aria-label=\"'+e+'\"'),(b=r('\")).addEventListener(\"click\",u),o.push(b)))})),o.length>1){i=document.createElement(\"div\");var g=s.getClass(\"buttonGroup\");c&&g&&i.classList.add(g),a(i,o),u.appendChild(i)}else a(u,o)})),u},t.prototype.updateToday=function(e){this.toggleButtonEnabled(\"today\",e)},t.prototype.updatePrev=function(e){this.toggleButtonEnabled(\"prev\",e)},t.prototype.updateNext=function(e){this.toggleButtonEnabled(\"next\",e)},t.prototype.updateTitle=function(e){g(this.el,\"h2\").forEach((function(t){t.innerText=e}))},t.prototype.updateActiveButton=function(e){var t=this.context.theme.getClass(\"buttonActive\");g(this.el,\"button\").forEach((function(n){e&&n.classList.contains(\"fc-\"+e+\"-button\")?n.classList.add(t):n.classList.remove(t)}))},t.prototype.toggleButtonEnabled=function(e,t){g(this.el,\".fc-\"+e+\"-button\").forEach((function(e){e.disabled=!t}))},t}(gn),mi=function(e){function t(t){var n=e.call(this)||this;return n.elClassNames=[],n.renderSkeleton=Gt(n._renderSkeleton,n._unrenderSkeleton),n.renderToolbars=Gt(n._renderToolbars,n._unrenderToolbars,[n.renderSkeleton]),n.buildComponentContext=Fe(bi),n.buildViewPropTransformers=Fe(wi),n.el=t,n.computeTitle=Fe(yi),n.parseBusinessHours=Fe((function(e){return Xt(e,n.context.calendar)})),n}return be(t,e),t.prototype.render=function(e,t){this.freezeHeight();var n=this.computeTitle(e.dateProfile,e.viewSpec.options);this.renderSkeleton(t),this.renderToolbars(e.viewSpec,e.dateProfile,e.currentDate,n),this.renderView(e,n),this.updateSize(),this.thawHeight()},t.prototype.destroy=function(){this.header&&this.header.destroy(),this.footer&&this.footer.destroy(),this.renderSkeleton.unrender(),e.prototype.destroy.call(this)},t.prototype._renderSkeleton=function(e){this.updateElClassNames(e),l(this.el,this.contentEl=i(\"div\",{className:\"fc-view-container\"}));for(var t=e.calendar,n=0,r=t.pluginSystem.hooks.viewContainerModifiers;n1?{year:\"numeric\",month:\"short\",day:\"numeric\"}:{year:\"numeric\",month:\"long\",day:\"numeric\"}}(e),t.titleRangeSeparator),{isEndExclusive:e.isRangeAllDay})}function bi(e,t,n){return e.extend(t.options,n)}function wi(e){return e.map((function(e){return new e}))}var Si=function(){function e(e){this.component=e.component}return e.prototype.destroy=function(){},e}(),Ei={},Ti=function(e){function t(t){var n=e.call(this,t)||this;n.handleSegClick=function(e,t){var i=n.component,r=i.context,o=r.calendar,s=r.view,a=ft(t);if(a&&i.isValidSegDownEl(e.target)){var l=p(e.target,\".fc-has-url\"),c=l?l.querySelector(\"a[href]\").href:\"\";o.publiclyTrigger(\"eventClick\",[{el:t,event:new dt(i.context.calendar,a.eventRange.def,a.eventRange.instance),jsEvent:e,view:s}]),c&&!e.defaultPrevented&&(window.location.href=c)}};var i=t.component;return n.destroy=I(i.el,\"click\",i.fgSegSelector+\",\"+i.bgSegSelector,n.handleSegClick),n}return be(t,e),t}(Si),xi=function(e){function t(t){var n=e.call(this,t)||this;n.handleEventElRemove=function(e){e===n.currentSegEl&&n.handleSegLeave(null,n.currentSegEl)},n.handleSegEnter=function(e,t){ft(t)&&(t.classList.add(\"fc-allow-mouse-resize\"),n.currentSegEl=t,n.triggerEvent(\"eventMouseEnter\",e,t))},n.handleSegLeave=function(e,t){n.currentSegEl&&(t.classList.remove(\"fc-allow-mouse-resize\"),n.currentSegEl=null,n.triggerEvent(\"eventMouseLeave\",e,t))};var i,r,o,s,a,l=t.component;return n.removeHoverListeners=(i=l.el,r=l.fgSegSelector+\",\"+l.bgSegSelector,o=n.handleSegEnter,s=n.handleSegLeave,I(i,\"mouseover\",r,(function(e,t){if(t!==a){a=t,o(e,t);var n=function(e){a=null,s(e,t),t.removeEventListener(\"mouseleave\",n)};t.addEventListener(\"mouseleave\",n)}}))),l.context.calendar.on(\"eventElRemove\",n.handleEventElRemove),n}return be(t,e),t.prototype.destroy=function(){this.removeHoverListeners(),this.component.context.calendar.off(\"eventElRemove\",this.handleEventElRemove)},t.prototype.triggerEvent=function(e,t,n){var i=this.component,r=i.context,o=r.calendar,s=r.view,a=ft(n);t&&!i.isValidSegDownEl(t.target)||o.publiclyTrigger(e,[{el:n,event:new dt(o,a.eventRange.def,a.eventRange.instance),jsEvent:t,view:s}])},t}(Si),Ci=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return be(t,e),t}(hn);Ci.prototype.classes={widget:\"fc-unthemed\",widgetHeader:\"fc-widget-header\",widgetContent:\"fc-widget-content\",buttonGroup:\"fc-button-group\",button:\"fc-button fc-button-primary\",buttonActive:\"fc-button-active\",popoverHeader:\"fc-widget-header\",popoverContent:\"fc-widget-content\",headerRow:\"fc-widget-header\",dayRow:\"fc-widget-content\",listView:\"fc-widget-content\"},Ci.prototype.baseIconClass=\"fc-icon\",Ci.prototype.iconClasses={close:\"fc-icon-x\",prev:\"fc-icon-chevron-left\",next:\"fc-icon-chevron-right\",prevYear:\"fc-icon-chevrons-left\",nextYear:\"fc-icon-chevrons-right\"},Ci.prototype.iconOverrideOption=\"buttonIcons\",Ci.prototype.iconOverrideCustomButtonOption=\"icon\",Ci.prototype.iconOverridePrefix=\"fc-icon-\";var _i=function(){function e(e,t){var n=this;this.buildComponentContext=Fe(ki),this.parseRawLocales=Fe(Rn),this.buildLocale=Fe(Pn),this.buildDateEnv=Fe(Di),this.buildTheme=Fe(Ai),this.buildEventUiSingleBase=Fe(this._buildEventUiSingleBase),this.buildSelectionConfig=Fe(this._buildSelectionConfig),this.buildEventUiBySource=Ye(Mi,De),this.buildEventUiBases=Fe(Oi),this.interactionsStore={},this.actionQueue=[],this.isReducing=!1,this.needsRerender=!1,this.isRendering=!1,this.renderingPauseDepth=0,this.buildDelayedRerender=Fe(Ii),this.afterSizingTriggers={},this.isViewUpdated=!1,this.isDatesUpdated=!1,this.isEventsUpdated=!1,this.el=e,this.optionsManager=new Hn(t||{}),this.pluginSystem=new bn,this.addPluginInputs(this.optionsManager.computed.plugins||[]),this.handleOptions(this.optionsManager.computed),this.publiclyTrigger(\"_init\"),this.hydrate(),this.calendarInteractions=this.pluginSystem.hooks.calendarInteractions.map((function(e){return new e(n)}))}return e.prototype.addPluginInputs=function(e){for(var t=function(e){for(var t=[],n=0,i=e;n\"},e.prototype.detachSegs=function(e,t){var n=this.containerElsByType[e];n&&(n.forEach(d),delete this.containerElsByType[e])},e.prototype.computeSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.computeSegSizes(this.segsByType[t])},e.prototype.assignSizes=function(e){for(var t in this.segsByType)(e||this.dirtySizeFlags[t])&&this.assignSegSizes(this.segsByType[t]);this.dirtySizeFlags={}},e.prototype.computeSegSizes=function(e){},e.prototype.assignSegSizes=function(e){},e}(),Hi=function(e){this.timeZoneName=e},ji=function(){function e(e){this.emitter=new rn}return e.prototype.destroy=function(){},e.prototype.setMirrorIsVisible=function(e){},e.prototype.setMirrorNeedsRevert=function(e){},e.prototype.setAutoScrollEnabled=function(e){},e}();function zi(e){var t=Pn(e.locale||\"en\",Rn([]).map);return e=we({timeZone:Dn.timeZone,calendarSystem:\"gregory\"},e,{locale:t}),new Bn(e)}var $i={startTime:Z,duration:Z,create:Boolean,sourceId:String},qi={create:!0};function Bi(e,t){return!e||t>10?{weekday:\"short\"}:t>1?{weekday:\"short\",month:\"numeric\",day:\"numeric\",omitCommas:!0}:{weekday:\"long\"}}function Wi(e,t,n,i,r,o,s,a){var l,c=o.dateEnv,d=o.theme,u=o.options,h=Ue(t.activeRange,e),p=[\"fc-day-header\",d.getClass(\"widgetHeader\")];return l=\"function\"==typeof u.columnHeaderHtml?u.columnHeaderHtml(c.toDate(e)):\"function\"==typeof u.columnHeaderText?Ot(u.columnHeaderText(c.toDate(e))):Ot(c.format(e,r)),n?p=p.concat(en(e,t,o,!0)):p.push(\"fc-\"+O[e.getUTCDay()]),'1?' colspan=\"'+s+'\"':\"\")+(a?\" \"+a:\"\")+\">\"+(h?Jt(u,c,{date:e,forceOff:!n||1===i},l):l)+\"\"}var Ui=function(e){function t(t){var n=e.call(this)||this;return n.renderSkeleton=Gt(n._renderSkeleton,n._unrenderSkeleton),n.parentEl=t,n}return be(t,e),t.prototype.render=function(e,t){var n=e.dates,i=e.datesRepDistinctDays,r=[];this.renderSkeleton(t),e.renderIntroHtml&&r.push(e.renderIntroHtml());for(var o=ot(t.options.columnHeaderFormat||Bi(i,n.length)),s=0,a=n;s\"+r.join(\"\")+\"\"},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.renderSkeleton.unrender()},t.prototype._renderSkeleton=function(e){var t=e.theme,n=this.parentEl;n.innerHTML=\"\",n.appendChild(this.el=r('
')),this.thead=this.el.querySelector(\"thead\")},t.prototype._unrenderSkeleton=function(){d(this.el)},t}(gn),Vi=function(){function e(e,t){for(var n=e.start,i=e.end,r=[],o=[],s=-1;n=t.length?t[t.length-1]+1:t[n]},e}(),Fi=function(){function e(e,t){var n,i,r,o=e.dates;if(t){for(i=o[0].getUTCDay(),n=1;n1},e.isPropsEqual=De,e.isPropsValid=kt,e.isSingleDay=function(e){return 0===e.years&&0===e.months&&1===e.days&&0===e.milliseconds},e.isValidDate=F,e.listenBySelector=I,e.mapHash=Ce,e.matchCellWidths=function(e){var t=0;return e.forEach((function(e){var n=e.firstChild;if(n instanceof HTMLElement){var i=n.getBoundingClientRect().width;i>t&&(t=i)}})),t++,e.forEach((function(e){e.style.width=t+\"px\"})),t},e.memoize=Fe,e.memoizeOutput=Ye,e.memoizeRendering=Gt,e.mergeEventStores=Le,e.multiplyDuration=function(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}},e.padStart=ce,e.parseBusinessHours=Xt,e.parseDragMeta=function(e){var t={},n=fe(e,$i,qi,t);return n.leftoverProps=t,n},e.parseEventDef=Vt,e.parseFieldSpecs=re,e.parseMarker=qn,e.pointInsideRect=function(e,t){return e.left>=t.left&&e.left=t.top&&e.top'+t.htmlEscape(i)+\"\"),r=''+(t.htmlEscape(a.title||\"\")||\" \")+\"\",'
'+(\"rtl\"===o.options.dir?r+\" \"+g:g+\" \"+r)+\"
\"+(u?'
':\"\")+(h?'
':\"\")+\"
\"},n.prototype.computeEventTimeFormat=function(){return{hour:\"numeric\",minute:\"2-digit\",omitZeroMinute:!0,meridiem:\"narrow\"}},n.prototype.computeDisplayEventEnd=function(){return!1},n}(t.FgEventRenderer),l=function(e){function n(t){var n=e.call(this)||this;return n.dayGrid=t,n}return i(n,e),n.prototype.attachSegs=function(e,t){var n=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach((function(e,t){e.querySelector(\".fc-content-skeleton > table\").appendChild(n[t].tbodyEl)})),t||this.dayGrid.removeSegPopover()},n.prototype.detachSegs=function(){for(var e,n=this.rowStructs||[];e=n.pop();)t.removeElement(e.tbodyEl);this.rowStructs=null},n.prototype.renderSegRows=function(e){var t,n,i=[];for(t=this.groupSegRows(e),n=0;n=e.firstCol)return!0;return!1}function d(e,t){return e.leftCol-t.leftCol}var u=function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return i(n,e),n.prototype.attachSegs=function(e,n){var i=n.sourceSeg,r=this.rowStructs=this.renderSegRows(e);this.dayGrid.rowEls.forEach((function(e,n){var o,s,a=t.htmlToElement('
');i&&i.row===n?o=i.el:(o=e.querySelector(\".fc-content-skeleton tbody\"))||(o=e.querySelector(\".fc-content-skeleton table\")),s=o.getBoundingClientRect().top-e.getBoundingClientRect().top,a.style.top=s+\"px\",a.querySelector(\"table\").appendChild(r[n].tbodyEl),e.appendChild(a)}))},n}(l),h='',p=function(e){function n(t){var n=e.call(this)||this;return n.fillSegTag=\"td\",n.dayGrid=t,n}return i(n,e),n.prototype.renderSegs=function(t,n,i){\"bgEvent\"===t&&(i=i.filter((function(e){return e.eventRange.def.allDay}))),e.prototype.renderSegs.call(this,t,n,i)},n.prototype.attachSegs=function(e,t){var n,i,r,o=[];for(n=0;n
')).getElementsByTagName(\"tr\")[0],c>0&&t.appendToElement(o,new Array(c+1).join(h)),n.el.colSpan=d-c,o.appendChild(n.el),d'+t.htmlEscape(s)+'
',this.segContainerEl=this.el.querySelector(\".fc-event-container\")},n.prototype.queryHit=function(e,n,i,r){var o=this.props.date;if(e\"))}return e.cells.length||d.push(''),\"rtl\"===this.context.options.dir&&d.reverse(),\"\"+d.join(\"\")+\"\"},e}();var m=t.createFormatter({day:\"numeric\"}),y=t.createFormatter({week:\"numeric\"}),b=function(e){function n(n,i){var r=e.call(this,n)||this;r.bottomCoordPadding=0,r.isCellSizesDirty=!1,r.renderProps=i;var o=r.eventRenderer=new l(r),s=r.fillRenderer=new p(r);r.mirrorRenderer=new u(r);var a=r.renderCells=t.memoizeRendering(r._renderCells,r._unrenderCells);return r.renderBusinessHours=t.memoizeRendering(s.renderSegs.bind(s,\"businessHours\"),s.unrender.bind(s,\"businessHours\"),[a]),r.renderDateSelection=t.memoizeRendering(s.renderSegs.bind(s,\"highlight\"),s.unrender.bind(s,\"highlight\"),[a]),r.renderBgEvents=t.memoizeRendering(s.renderSegs.bind(s,\"bgEvent\"),s.unrender.bind(s,\"bgEvent\"),[a]),r.renderFgEvents=t.memoizeRendering(o.renderSegs.bind(o),o.unrender.bind(o),[a]),r.renderEventSelection=t.memoizeRendering(o.selectByInstanceId.bind(o),o.unselectByInstanceId.bind(o),[r.renderFgEvents]),r.renderEventDrag=t.memoizeRendering(r._renderEventDrag,r._unrenderEventDrag,[a]),r.renderEventResize=t.memoizeRendering(r._renderEventResize,r._unrenderEventResize,[a]),r}return i(n,e),n.prototype.render=function(e,t){var n=e.cells;this.rowCnt=n.length,this.colCnt=n[0].length,this.renderCells(n,e.isRigid),this.renderBusinessHours(t,e.businessHourSegs),this.renderDateSelection(t,e.dateSelectionSegs),this.renderBgEvents(t,e.bgEventSegs),this.renderFgEvents(t,e.fgEventSegs),this.renderEventSelection(e.eventSelection),this.renderEventDrag(e.eventDrag),this.renderEventResize(e.eventResize),this.segPopoverTile&&this.updateSegPopoverTile()},n.prototype.destroy=function(){e.prototype.destroy.call(this),this.renderCells.unrender()},n.prototype.getCellRange=function(e,n){var i=this.props.cells[e][n].date;return{start:i,end:t.addDays(i,1)}},n.prototype.updateSegPopoverTile=function(e,t){var n=this.props;this.segPopoverTile.receiveProps({date:e||this.segPopoverTile.props.date,fgSegs:t||this.segPopoverTile.props.fgSegs,eventSelection:n.eventSelection,eventDragInstances:n.eventDrag?n.eventDrag.affectedInstances:null,eventResizeInstances:n.eventResize?n.eventResize.affectedInstances:null},this.context)},n.prototype._renderCells=function(e,n){var i,r,o=this.context,s=o.calendar,a=o.view,l=o.isRtl,c=o.dateEnv,d=this.rowCnt,u=this.colCnt,h=\"\";for(i=0;i
'+r.renderHtml({cells:this.props.cells[e],dateProfile:this.props.dateProfile,renderIntroHtml:this.renderProps.renderBgIntroHtml})+'
'+(this.getIsNumbersVisible()?\"\"+this.renderNumberTrHtml(e)+\"\":\"\")+\"
\"},n.prototype.getIsNumbersVisible=function(){return this.getIsDayNumbersVisible()||this.renderProps.cellWeekNumbersVisible||this.renderProps.colWeekNumbersVisible},n.prototype.getIsDayNumbersVisible=function(){return this.rowCnt>1},n.prototype.renderNumberTrHtml=function(e){var t=this.context.isRtl,n=this.renderProps.renderNumberIntroHtml(e,this);return\"\"+(t?\"\":n)+this.renderNumberCellsHtml(e)+(t?n:\"\")+\"\"},n.prototype.renderNumberCellsHtml=function(e){var t,n,i=[];for(t=0;t\",this.renderProps.cellWeekNumbersVisible&&e.getUTCDay()===i&&(a+=t.buildGotoAnchorHtml(s,o,{date:e,type:\"week\"},{class:\"fc-week-number\"},o.format(e,y))),c&&(a+=t.buildGotoAnchorHtml(s,o,e,{class:\"fc-day-number\"},o.format(e,m))),a+=\"\"):\"\"},n.prototype.updateSize=function(e){var t=this.context.calendar,n=this,i=n.fillRenderer,r=n.eventRenderer,o=n.mirrorRenderer;(e||this.isCellSizesDirty||t.isEventsUpdated)&&(this.buildPositionCaches(),this.isCellSizesDirty=!1),i.computeSizes(e),r.computeSizes(e),o.computeSizes(e),i.assignSizes(e),r.assignSizes(e),o.assignSizes(e)},n.prototype.buildPositionCaches=function(){this.buildColPositions(),this.buildRowPositions()},n.prototype.buildColPositions=function(){this.colPositions.build()},n.prototype.buildRowPositions=function(){this.rowPositions.build(),this.rowPositions.bottoms[this.rowCnt-1]+=this.bottomCoordPadding},n.prototype.positionToHit=function(e,t){var n=this.colPositions,i=this.rowPositions,r=n.leftToIndex(e),o=i.topToIndex(t);if(null!=o&&null!=r)return{row:o,col:r,dateSpan:{range:this.getCellRange(o,r),allDay:!0},dayEl:this.getCellEl(o,r),relativeRect:{left:n.lefts[r],right:n.rights[r],top:i.tops[o],bottom:i.bottoms[o]}}},n.prototype.getCellEl=function(e,t){return this.cellEls[e*this.colCnt+t]},n.prototype._renderEventDrag=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs(\"highlight\",this.context,e.segs))},n.prototype._unrenderEventDrag=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender(\"highlight\",this.context))},n.prototype._renderEventResize=function(e){e&&(this.eventRenderer.hideByHash(e.affectedInstances),this.fillRenderer.renderSegs(\"highlight\",this.context,e.segs),this.mirrorRenderer.renderSegs(this.context,e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},n.prototype._unrenderEventResize=function(e){e&&(this.eventRenderer.showByHash(e.affectedInstances),this.fillRenderer.unrender(\"highlight\",this.context),this.mirrorRenderer.unrender(this.context,e.segs,{isResizing:!0,sourceSeg:e.sourceSeg}))},n.prototype.removeSegPopover=function(){this.segPopover&&this.segPopover.hide()},n.prototype.limitRows=function(e){var t,n,i=this.eventRenderer.rowStructs||[];for(t=0;tr)return n;return!1},n.prototype.limitRow=function(e,n){var i,r,o,s,a,l,c,d,u,h,p,f,g,v,m,y=this,b=this.colCnt,w=this.context.isRtl,S=this.eventRenderer.rowStructs[e],E=[],T=0,x=function(i){for(;T\"+t.htmlEscape(r.weekLabel)+\"\":\"\"},n.renderDayGridNumberIntroHtml=function(e,i){var r=n.context,o=r.options,s=r.dateEnv,a=i.props.cells[e][0].date;return n.colWeekNumbersVisible?'\"+t.buildGotoAnchorHtml(o,s,{date:a,type:\"week\",forceOff:1===i.colCnt},s.format(a,w))+\"\":\"\"},n.renderDayGridBgIntroHtml=function(){var e=n.context.theme;return n.colWeekNumbersVisible?'\":\"\"},n.renderDayGridIntroHtml=function(){return n.colWeekNumbersVisible?'\":\"\"},n}return i(n,e),n.prototype._processOptions=function(e){e.weekNumbers?e.weekNumbersWithinDays?(this.cellWeekNumbersVisible=!0,this.colWeekNumbersVisible=!1):(this.cellWeekNumbersVisible=!1,this.colWeekNumbersVisible=!0):(this.colWeekNumbersVisible=!1,this.cellWeekNumbersVisible=!1)},n.prototype.render=function(t,n){e.prototype.render.call(this,t,n),this.processOptions(n.options),this.renderSkeleton(n)},n.prototype.destroy=function(){e.prototype.destroy.call(this),this.renderSkeleton.unrender()},n.prototype._renderSkeleton=function(e){this.el.classList.add(\"fc-dayGrid-view\"),this.el.innerHTML=this.renderSkeletonHtml(),this.scroller=new t.ScrollComponent(\"hidden\",\"auto\");var n=this.scroller.el;this.el.querySelector(\".fc-body > tr > td\").appendChild(n),n.classList.add(\"fc-day-grid-container\");var i=t.createElement(\"div\",{className:\"fc-day-grid\"});n.appendChild(i),this.dayGrid=new b(i,{renderNumberIntroHtml:this.renderDayGridNumberIntroHtml,renderBgIntroHtml:this.renderDayGridBgIntroHtml,renderIntroHtml:this.renderDayGridIntroHtml,colWeekNumbersVisible:this.colWeekNumbersVisible,cellWeekNumbersVisible:this.cellWeekNumbersVisible})},n.prototype._unrenderSkeleton=function(){this.el.classList.remove(\"fc-dayGrid-view\"),this.dayGrid.destroy(),this.scroller.destroy()},n.prototype.renderSkeletonHtml=function(){var e=this.context,t=e.theme,n=e.options;return''+(n.columnHeader?'':\"\")+'
 
'},n.prototype.weekNumberStyleAttr=function(){return null!=this.weekNumberWidth?'style=\"width:'+this.weekNumberWidth+'px\"':\"\"},n.prototype.hasRigidRows=function(){var e=this.context.options.eventLimit;return e&&\"number\"!=typeof e},n.prototype.updateSize=function(t,n,i){e.prototype.updateSize.call(this,t,n,i),this.dayGrid.updateSize(t)},n.prototype.updateBaseSize=function(e,n,i){var r,o,s=this.dayGrid,a=this.context.options.eventLimit,l=this.header?this.header.el:null;s.rowEls?(this.colWeekNumbersVisible&&(this.weekNumberWidth=t.matchCellWidths(t.findElements(this.el,\".fc-week-number\"))),this.scroller.clear(),l&&t.uncompensateScroll(l),s.removeSegPopover(),a&&\"number\"==typeof a&&s.limitRows(a),r=this.computeScrollerHeight(n),this.setGridHeight(r,i),a&&\"number\"!=typeof a&&s.limitRows(a),i||(this.scroller.setHeight(r),((o=this.scroller.getScrollbarWidths()).left||o.right)&&(l&&t.compensateScroll(l,o),r=this.computeScrollerHeight(n),this.scroller.setHeight(r)),this.scroller.lockOverflow(o))):i||(r=this.computeScrollerHeight(n),this.scroller.setHeight(r))},n.prototype.computeScrollerHeight=function(e){return e-t.subtractInnerElHeight(this.el,this.scroller.el)},n.prototype.setGridHeight=function(e,n){this.context.options.monthMode?(n&&(e*=this.dayGrid.rowCnt/6),t.distributeHeight(this.dayGrid.rowEls,e,!n)):n?t.undistributeHeight(this.dayGrid.rowEls):t.distributeHeight(this.dayGrid.rowEls,e,!0)},n.prototype.computeDateScroll=function(e){return{top:0}},n.prototype.queryDateScroll=function(){return{top:this.scroller.getScrollTop()}},n.prototype.applyDateScroll=function(e){void 0!==e.top&&this.scroller.setScrollTop(e.top)},n}(t.View);S.prototype.dateProfileGeneratorClass=o;var E=function(e){function t(t){var n=e.call(this,t.el)||this;return n.slicer=new T,n.dayGrid=t,n}return i(t,e),t.prototype.firstContext=function(e){e.calendar.registerInteractiveComponent(this,{el:this.dayGrid.el})},t.prototype.destroy=function(){e.prototype.destroy.call(this),this.context.calendar.unregisterInteractiveComponent(this)},t.prototype.render=function(e,t){var n=this.dayGrid,i=e.dateProfile,o=e.dayTable;n.receiveContext(t),n.receiveProps(r({},this.slicer.sliceProps(e,i,e.nextDayThreshold,t.calendar,n,o),{dateProfile:i,cells:o.cells,isRigid:e.isRigid}),t)},t.prototype.buildPositionCaches=function(){this.dayGrid.buildPositionCaches()},t.prototype.queryHit=function(e,t){var n=this.dayGrid.positionToHit(e,t);if(n)return{component:this.dayGrid,dateSpan:n.dateSpan,dayEl:n.dayEl,rect:{left:n.relativeRect.left,right:n.relativeRect.right,top:n.relativeRect.top,bottom:n.relativeRect.bottom},layer:0}},t}(t.DateComponent),T=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return i(t,e),t.prototype.sliceRange=function(e,t){return t.sliceRange(e)},t}(t.Slicer),x=function(e){function n(){var n=null!==e&&e.apply(this,arguments)||this;return n.buildDayTable=t.memoize(C),n}return i(n,e),n.prototype.render=function(t,n){e.prototype.render.call(this,t,n);var i=this.props.dateProfile,r=this.dayTable=this.buildDayTable(i,t.dateProfileGenerator);this.header&&this.header.receiveProps({dateProfile:i,dates:r.headerDates,datesRepDistinctDays:1===r.rowCnt,renderIntroHtml:this.renderHeadIntroHtml},n),this.simpleDayGrid.receiveProps({dateProfile:i,dayTable:r,businessHours:t.businessHours,dateSelection:t.dateSelection,eventStore:t.eventStore,eventUiBases:t.eventUiBases,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,isRigid:this.hasRigidRows(),nextDayThreshold:this.context.nextDayThreshold},n)},n.prototype._renderSkeleton=function(n){e.prototype._renderSkeleton.call(this,n),n.options.columnHeader&&(this.header=new t.DayHeader(this.el.querySelector(\".fc-head-container\"))),this.simpleDayGrid=new E(this.dayGrid)},n.prototype._unrenderSkeleton=function(){e.prototype._unrenderSkeleton.call(this),this.header&&this.header.destroy(),this.simpleDayGrid.destroy()},n}(S);function C(e,n){var i=new t.DaySeries(e.renderRange,n);return new t.DayTable(i,/year|month|week/.test(e.currentRangeUnit))}var _=t.createPlugin({defaultView:\"dayGridMonth\",views:{dayGrid:x,dayGridDay:{type:\"dayGrid\",duration:{days:1}},dayGridWeek:{type:\"dayGrid\",duration:{weeks:1}},dayGridMonth:{type:\"dayGrid\",duration:{months:1},monthMode:!0,fixedWeekCount:!0}}});e.AbstractDayGridView=S,e.DayBgRow=v,e.DayGrid=b,e.DayGridSlicer=T,e.DayGridView=x,e.SimpleDayGrid=E,e.buildBasicDayTable=C,e.default=_,Object.defineProperty(e,\"__esModule\",{value:!0})},\"object\"==typeof n&&void 0!==t?r(n,e(\"@fullcalendar/core\")):\"function\"==typeof define&&define.amd?define([\"exports\",\"@fullcalendar/core\"],r):r((i=i||self).FullCalendarDayGrid={},i.FullCalendar)},{\"@fullcalendar/core\":9}],11:[function(e,t,n){\n/*!\nFullCalendar Interaction Plugin v4.4.2\nDocs & License: https://fullcalendar.io/\n(c) 2019 Adam Shaw\n*/var i,r;i=this,r=function(e,t){\"use strict\";\n/*! *****************************************************************************\n Copyright (c) Microsoft Corporation.\n\n Permission to use, copy, modify, and/or distribute this software for any\n purpose with or without fee is hereby granted.\n\n THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\n REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\n AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\n INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\n LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\n OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\n PERFORMANCE OF THIS SOFTWARE.\n ***************************************************************************** */var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])},n(e,t)};function i(e,t){function i(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n0&&(this.everMovedDown=!0),o<0?this.everMovedLeft=!0:o>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(f()))}},e.prototype.stop=function(){if(this.isEnabled){this.isAnimating=!1;for(var e=0,t=this.scrollCaches;e=0&&c>=0&&d>=0&&u>=0&&(d<=n&&this.everMovedUp&&s.canScrollUp()&&(!i||i.distance>d)&&(i={scrollCache:s,name:\"top\",distance:d}),u<=n&&this.everMovedDown&&s.canScrollDown()&&(!i||i.distance>u)&&(i={scrollCache:s,name:\"bottom\",distance:u}),l<=n&&this.everMovedLeft&&s.canScrollLeft()&&(!i||i.distance>l)&&(i={scrollCache:s,name:\"left\",distance:l}),c<=n&&this.everMovedRight&&s.canScrollRight()&&(!i||i.distance>c)&&(i={scrollCache:s,name:\"right\",distance:c}))}return i},e.prototype.buildCaches=function(){return this.queryScrollEls().map((function(e){return e===window?new p(!1):new h(e,!1)}))},e.prototype.queryScrollEls=function(){for(var e=[],t=0,n=this.scrollQuery;t=t*t&&i.handleDistanceSurpassed(e)}i.isDragging&&(\"scroll\"!==e.origEvent.type&&(i.mirror.handleMove(e.pageX,e.pageY),i.autoScroller.handleMove(e.pageX,e.pageY)),i.emitter.trigger(\"dragmove\",e))}},i.onPointerUp=function(e){i.isInteracting&&(i.isInteracting=!1,t.allowSelection(document.body),t.allowContextMenu(document.body),i.emitter.trigger(\"pointerup\",e),i.isDragging&&(i.autoScroller.stop(),i.tryStopDrag(e)),i.delayTimeoutId&&(clearTimeout(i.delayTimeoutId),i.delayTimeoutId=null))};var r=i.pointer=new l(n);return r.emitter.on(\"pointerdown\",i.onPointerDown),r.emitter.on(\"pointermove\",i.onPointerMove),r.emitter.on(\"pointerup\",i.onPointerUp),i.mirror=new d,i.autoScroller=new g,i}return i(n,e),n.prototype.destroy=function(){this.pointer.destroy()},n.prototype.startDelay=function(e){var t=this;\"number\"==typeof this.delay?this.delayTimeoutId=setTimeout((function(){t.delayTimeoutId=null,t.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)},n.prototype.handleDelayEnd=function(e){this.isDelayEnded=!0,this.tryStartDrag(e)},n.prototype.handleDistanceSurpassed=function(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)},n.prototype.tryStartDrag=function(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY),this.emitter.trigger(\"dragstart\",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))},n.prototype.tryStopDrag=function(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))},n.prototype.stopDrag=function(e){this.isDragging=!1,this.emitter.trigger(\"dragend\",e)},n.prototype.setIgnoreMove=function(e){this.pointer.shouldIgnoreMove=e},n.prototype.setMirrorIsVisible=function(e){this.mirror.setIsVisible(e)},n.prototype.setMirrorNeedsRevert=function(e){this.mirrorNeedsRevert=e},n.prototype.setAutoScrollEnabled=function(e){this.autoScroller.isEnabled=e},n}(t.ElementDragging),m=function(){function e(e){this.origRect=t.computeRect(e),this.scrollCaches=t.getClippingParents(e).map((function(e){return new h(e,!0)}))}return e.prototype.destroy=function(){for(var e=0,t=this.scrollCaches;e=0&&u=0&&ho.layer)||(v.rect.left+=c,v.rect.right+=c,v.rect.top+=d,v.rect.bottom+=d,o=v)}}}return o},e}();function b(e,n){return!e&&!n||Boolean(e)===Boolean(n)&&t.isDateSpansEqual(e.dateSpan,n.dateSpan)}var w=function(e){function n(n){var i=e.call(this,n)||this;i.handlePointerDown=function(e){var t=i.dragging;t.setIgnoreMove(!i.component.isValidDateDownEl(t.pointer.downEl))},i.handleDragEnd=function(e){var t=i.component.context,n=t.calendar,r=t.view;if(!i.dragging.pointer.wasTouchScroll){var o=i.hitDragging,s=o.initialHit,a=o.finalHit;s&&a&&b(s,a)&&n.triggerDateClick(s.dateSpan,s.dayEl,r,e.origEvent)}};var r=n.component;i.dragging=new v(r.el),i.dragging.autoScroller.isEnabled=!1;var o=i.hitDragging=new y(i.dragging,t.interactionSettingsToStore(n));return o.emitter.on(\"pointerdown\",i.handlePointerDown),o.emitter.on(\"dragend\",i.handleDragEnd),i}return i(n,e),n.prototype.destroy=function(){this.dragging.destroy()},n}(t.Interaction),S=function(e){function n(n){var i=e.call(this,n)||this;i.dragSelection=null,i.handlePointerDown=function(e){var t=i,n=t.component,r=t.dragging,o=n.context.options.selectable&&n.isValidDateDownEl(e.origEvent.target);r.setIgnoreMove(!o),r.delay=e.isTouch?function(e){var t=e.context.options,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}(n):null},i.handleDragStart=function(e){i.component.context.calendar.unselect(e)},i.handleHitUpdate=function(e,n){var o=i.component.context.calendar,s=null,a=!1;e&&((s=function(e,n,i){var o=e.dateSpan,s=n.dateSpan,a=[o.range.start,o.range.end,s.range.start,s.range.end];a.sort(t.compareNumbers);for(var l={},c=0,d=i;co.start)return u.endDelta=d,u;return null}(l,e,o.subjectEl.classList.contains(\"fc-start-resizer\"),c.range,s.pluginSystem.hooks.eventResizeJoinTransforms)),d&&(u=t.applyMutationToEventStore(a,s.eventUiBases,d,s),p.mutatedEvents=u,i.component.isInteractionValid(p)||(h=!0,d=null,u=null,p.mutatedEvents=null)),u?s.dispatch({type:\"SET_EVENT_RESIZE\",state:p}):s.dispatch({type:\"UNSET_EVENT_RESIZE\"}),h?t.disableCursor():t.enableCursor(),n||(d&&b(l,e)&&(d=null),i.validMutation=d,i.mutatedRelevantEvents=u)},i.handleDragEnd=function(e){var n=i.component.context,r=n.calendar,o=n.view,s=i.eventRange.def,a=i.eventRange.instance,l=new t.EventApi(r,s,a),c=i.relevantEvents,d=i.mutatedRelevantEvents;r.publiclyTrigger(\"eventResizeStop\",[{el:i.draggingSeg.el,event:l,jsEvent:e.origEvent,view:o}]),i.validMutation?(r.dispatch({type:\"MERGE_EVENTS\",eventStore:d}),r.publiclyTrigger(\"eventResize\",[{el:i.draggingSeg.el,startDelta:i.validMutation.startDelta||t.createDuration(0),endDelta:i.validMutation.endDelta||t.createDuration(0),prevEvent:l,event:new t.EventApi(r,d.defs[s.defId],a?d.instances[a.instanceId]:null),revert:function(){r.dispatch({type:\"MERGE_EVENTS\",eventStore:c})},jsEvent:e.origEvent,view:o}])):r.publiclyTrigger(\"_noEventResize\"),i.draggingSeg=null,i.relevantEvents=null,i.validMutation=null};var o=n.component,s=i.dragging=new v(o.el);s.pointer.selector=\".fc-resizer\",s.touchScrollAllowed=!1,s.autoScroller.isEnabled=o.context.options.dragScroll;var a=i.hitDragging=new y(i.dragging,t.interactionSettingsToStore(n));return a.emitter.on(\"pointerdown\",i.handlePointerDown),a.emitter.on(\"dragstart\",i.handleDragStart),a.emitter.on(\"hitupdate\",i.handleHitUpdate),a.emitter.on(\"dragend\",i.handleDragEnd),i}return i(n,e),n.prototype.destroy=function(){this.dragging.destroy()},n.prototype.querySeg=function(e){return t.getElSeg(t.elementClosest(e.subjectEl,this.component.fgSegSelector))},n}(t.Interaction),x=function(){function e(e){var n=this;this.isRecentPointerDateSelect=!1,this.onSelect=function(e){e.jsEvent&&(n.isRecentPointerDateSelect=!0)},this.onDocumentPointerUp=function(e){var i=n,r=i.calendar,o=i.documentPointer,s=r.state;if(!o.wasTouchScroll){if(s.dateSelection&&!n.isRecentPointerDateSelect){var a=r.viewOpt(\"unselectAuto\"),l=r.viewOpt(\"unselectCancel\");!a||a&&t.elementClosest(o.downEl,l)||r.unselect(e)}s.eventSelection&&!t.elementClosest(o.downEl,E.SELECTOR)&&r.dispatch({type:\"UNSELECT_EVENT\"})}n.isRecentPointerDateSelect=!1},this.calendar=e;var i=this.documentPointer=new l(document);i.shouldIgnoreMove=!0,i.shouldWatchScroll=!1,i.emitter.on(\"pointerup\",this.onDocumentPointerUp),e.on(\"select\",this.onSelect)}return e.prototype.destroy=function(){this.calendar.off(\"select\",this.onSelect),this.documentPointer.destroy()},e}(),C=function(){function e(e,n){var i=this;this.receivingCalendar=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=function(e){i.dragMeta=i.buildDragMeta(e.subjectEl)},this.handleHitUpdate=function(e,n,o){var s=i.hitDragging.dragging,a=null,l=null,c=!1,d={affectedEvents:t.createEmptyEventStore(),mutatedEvents:t.createEmptyEventStore(),isEvent:i.dragMeta.create,origSeg:null};e&&(a=e.component.context.calendar,i.canDropElOnCalendar(o.subjectEl,a)&&(l=function(e,n,i){for(var o=r({},n.leftoverProps),s=0,a=i.pluginSystem.hooks.externalDefTransforms;s0&&(i=l(n.width)/a||1),s>0&&(o=l(n.height)/s||1)}return{width:n.width/i,height:n.height/o,top:n.top/o,right:n.right/i,bottom:n.bottom/o,left:n.left/i,x:n.left/i,y:n.top/o}}function d(e){var n=t(e);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function u(e){return e?(e.nodeName||\"\").toLowerCase():null}function h(e){return((i(e)?e.ownerDocument:e.document)||window.document).documentElement}function p(e){return c(h(e)).left+d(e).scrollLeft}function f(e){return t(e).getComputedStyle(e)}function g(e){var t=f(e),n=t.overflow,i=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+i)}function v(e,n,i){void 0===i&&(i=!1);var o,s,a=r(n),f=r(n)&&function(e){var t=e.getBoundingClientRect(),n=l(t.width)/e.offsetWidth||1,i=l(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(n),v=h(n),m=c(e,f),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(a||!a&&!i)&&((\"body\"!==u(n)||g(v))&&(y=(o=n)!==t(o)&&r(o)?{scrollLeft:(s=o).scrollLeft,scrollTop:s.scrollTop}:d(o)),r(n)?((b=c(n,!0)).x+=n.clientLeft,b.y+=n.clientTop):v&&(b.x=p(v))),{x:m.left+y.scrollLeft-b.x,y:m.top+y.scrollTop-b.y,width:m.width,height:m.height}}function m(e){var t=c(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function y(e){return\"html\"===u(e)?e:e.assignedSlot||e.parentNode||(o(e)?e.host:null)||h(e)}function b(e){return[\"html\",\"body\",\"#document\"].indexOf(u(e))>=0?e.ownerDocument.body:r(e)&&g(e)?e:b(y(e))}function w(e,n){var i;void 0===n&&(n=[]);var r=b(e),o=r===(null==(i=e.ownerDocument)?void 0:i.body),s=t(r),a=o?[s].concat(s.visualViewport||[],g(r)?r:[]):r,l=n.concat(a);return o?l:l.concat(w(y(a)))}function S(e){return[\"table\",\"td\",\"th\"].indexOf(u(e))>=0}function E(e){return r(e)&&\"fixed\"!==f(e).position?e.offsetParent:null}function T(e){for(var n=t(e),i=E(e);i&&S(i)&&\"static\"===f(i).position;)i=E(i);return i&&(\"html\"===u(i)||\"body\"===u(i)&&\"static\"===f(i).position)?n:i||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf(\"firefox\");if(-1!==navigator.userAgent.indexOf(\"Trident\")&&r(e)&&\"fixed\"===f(e).position)return null;var n=y(e);for(o(n)&&(n=n.host);r(n)&&[\"html\",\"body\"].indexOf(u(n))<0;){var i=f(n);if(\"none\"!==i.transform||\"none\"!==i.perspective||\"paint\"===i.contain||-1!==[\"transform\",\"perspective\"].indexOf(i.willChange)||t&&\"filter\"===i.willChange||t&&i.filter&&\"none\"!==i.filter)return n;n=n.parentNode}return null}(e)||n}var x=\"top\",C=\"bottom\",_=\"right\",k=\"left\",D=\"auto\",A=[x,C,_,k],I=\"start\",M=\"end\",O=\"viewport\",R=\"popper\",P=A.reduce((function(e,t){return e.concat([t+\"-\"+I,t+\"-\"+M])}),[]),L=[].concat(A,[D]).reduce((function(e,t){return e.concat([t,t+\"-\"+I,t+\"-\"+M])}),[]),N=[\"beforeRead\",\"read\",\"afterRead\",\"beforeMain\",\"main\",\"afterMain\",\"beforeWrite\",\"write\",\"afterWrite\"];function H(e){var t=new Map,n=new Set,i=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&r(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),i}function j(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i=0&&r(e)?T(e):e;return i(n)?t.filter((function(e){return i(e)&&B(e,n)&&\"body\"!==u(e)})):[]}(e):[].concat(t),l=[].concat(o,[n]),c=l[0],d=l.reduce((function(t,n){var i=U(e,n);return t.top=s(i.top,t.top),t.right=a(i.right,t.right),t.bottom=a(i.bottom,t.bottom),t.left=s(i.left,t.left),t}),U(e,c));return d.width=d.right-d.left,d.height=d.bottom-d.top,d.x=d.left,d.y=d.top,d}function F(e){return e.split(\"-\")[1]}function Y(e){return[\"top\",\"bottom\"].indexOf(e)>=0?\"x\":\"y\"}function X(e){var t,n=e.reference,i=e.element,r=e.placement,o=r?q(r):null,s=r?F(r):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(o){case x:t={x:a,y:n.y-i.height};break;case C:t={x:a,y:n.y+n.height};break;case _:t={x:n.x+n.width,y:l};break;case k:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=o?Y(o):null;if(null!=c){var d=\"y\"===c?\"height\":\"width\";switch(s){case I:t[c]=t[c]-(n[d]/2-i[d]/2);break;case M:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}function G(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Z(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}function K(e,t){void 0===t&&(t={});var n=t,r=n.placement,o=void 0===r?e.placement:r,s=n.boundary,a=void 0===s?\"clippingParents\":s,l=n.rootBoundary,d=void 0===l?O:l,u=n.elementContext,p=void 0===u?R:u,f=n.altBoundary,g=void 0!==f&&f,v=n.padding,m=void 0===v?0:v,y=G(\"number\"!=typeof m?m:Z(m,A)),b=p===R?\"reference\":R,w=e.rects.popper,S=e.elements[g?b:p],E=V(i(S)?S:S.contextElement||h(e.elements.popper),a,d),T=c(e.elements.reference),k=X({reference:T,element:w,strategy:\"absolute\",placement:o}),D=W(Object.assign({},w,k)),I=p===R?D:T,M={top:E.top-I.top+y.top,bottom:I.bottom-E.bottom+y.bottom,left:E.left-I.left+y.left,right:I.right-E.right+y.right},P=e.modifiersData.offset;if(p===R&&P){var L=P[o];Object.keys(M).forEach((function(e){var t=[_,C].indexOf(e)>=0?1:-1,n=[x,C].indexOf(e)>=0?\"y\":\"x\";M[e]+=L[n]*t}))}return M}var Q=\"Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.\",J={placement:\"bottom\",modifiers:[],strategy:\"absolute\"};function ee(){for(var e=arguments.length,t=new Array(e),n=0;n100){console.error(\"Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.\");break}if(!0!==c.reset){var s=c.orderedModifiers[o],a=s.fn,l=s.options,d=void 0===l?{}:l,p=s.name;\"function\"==typeof a&&(c=a({state:c,options:d,name:p,instance:h})||c)}else c.reset=!1,o=-1}}else\"production\"!==e.env.NODE_ENV&&console.error(Q)}},update:(s=function(){return new Promise((function(e){h.forceUpdate(),e(c)}))},function(){return l||(l=new Promise((function(e){Promise.resolve().then((function(){l=void 0,e(s())}))}))),l}),destroy:function(){p(),u=!0}};if(!ee(t,n))return\"production\"!==e.env.NODE_ENV&&console.error(Q),h;function p(){d.forEach((function(e){return e()})),d=[]}return h.setOptions(r).then((function(e){!u&&r.onFirstUpdate&&r.onFirstUpdate(e)})),h}}var ne={passive:!0};var ie={name:\"eventListeners\",enabled:!0,phase:\"write\",fn:function(){},effect:function(e){var n=e.state,i=e.instance,r=e.options,o=r.scroll,s=void 0===o||o,a=r.resize,l=void 0===a||a,c=t(n.elements.popper),d=[].concat(n.scrollParents.reference,n.scrollParents.popper);return s&&d.forEach((function(e){e.addEventListener(\"scroll\",i.update,ne)})),l&&c.addEventListener(\"resize\",i.update,ne),function(){s&&d.forEach((function(e){e.removeEventListener(\"scroll\",i.update,ne)})),l&&c.removeEventListener(\"resize\",i.update,ne)}},data:{}};var re={name:\"popperOffsets\",enabled:!0,phase:\"read\",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=X({reference:t.rects.reference,element:t.rects.popper,strategy:\"absolute\",placement:t.placement})},data:{}},oe={top:\"auto\",right:\"auto\",bottom:\"auto\",left:\"auto\"};function se(e){var n,i=e.popper,r=e.popperRect,o=e.placement,s=e.variation,a=e.offsets,c=e.position,d=e.gpuAcceleration,u=e.adaptive,p=e.roundOffsets,g=e.isFixed,v=a.x,m=void 0===v?0:v,y=a.y,b=void 0===y?0:y,w=\"function\"==typeof p?p({x:m,y:b}):{x:m,y:b};m=w.x,b=w.y;var S=a.hasOwnProperty(\"x\"),E=a.hasOwnProperty(\"y\"),D=k,A=x,I=window;if(u){var O=T(i),R=\"clientHeight\",P=\"clientWidth\";if(O===t(i)&&\"static\"!==f(O=h(i)).position&&\"absolute\"===c&&(R=\"scrollHeight\",P=\"scrollWidth\"),O=O,o===x||(o===k||o===_)&&s===M)A=C,b-=(g&&O===I&&I.visualViewport?I.visualViewport.height:O[R])-r.height,b*=d?1:-1;if(o===k||(o===x||o===C)&&s===M)D=_,m-=(g&&O===I&&I.visualViewport?I.visualViewport.width:O[P])-r.width,m*=d?1:-1}var L,N=Object.assign({position:c},u&&oe),H=!0===p?function(e){var t=e.x,n=e.y,i=window.devicePixelRatio||1;return{x:l(t*i)/i||0,y:l(n*i)/i||0}}({x:m,y:b}):{x:m,y:b};return m=H.x,b=H.y,d?Object.assign({},N,((L={})[A]=E?\"0\":\"\",L[D]=S?\"0\":\"\",L.transform=(I.devicePixelRatio||1)<=1?\"translate(\"+m+\"px, \"+b+\"px)\":\"translate3d(\"+m+\"px, \"+b+\"px, 0)\",L)):Object.assign({},N,((n={})[A]=E?b+\"px\":\"\",n[D]=S?m+\"px\":\"\",n.transform=\"\",n))}var ae={name:\"computeStyles\",enabled:!0,phase:\"beforeWrite\",fn:function(t){var n=t.state,i=t.options,r=i.gpuAcceleration,o=void 0===r||r,s=i.adaptive,a=void 0===s||s,l=i.roundOffsets,c=void 0===l||l;if(\"production\"!==e.env.NODE_ENV){var d=f(n.elements.popper).transitionProperty||\"\";a&&[\"transform\",\"top\",\"right\",\"bottom\",\"left\"].some((function(e){return d.indexOf(e)>=0}))&&console.warn([\"Popper: Detected CSS transitions on at least one of the following\",'CSS properties: \"transform\", \"top\", \"right\", \"bottom\", \"left\".',\"\\n\\n\",'Disable the \"computeStyles\" modifier\\'s `adaptive` option to allow',\"for smooth transitions, or remove these properties from the CSS\",\"transition declaration on the popper element if only transitioning\",\"opacity or background-color for example.\",\"\\n\\n\",\"We recommend using the popper element as a wrapper around an inner\",\"element that can have any CSS property transitioned for animations.\"].join(\" \"))}var u={placement:q(n.placement),variation:F(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o,isFixed:\"fixed\"===n.options.strategy};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,se(Object.assign({},u,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:c})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,se(Object.assign({},u,{offsets:n.modifiersData.arrow,position:\"absolute\",adaptive:!1,roundOffsets:c})))),n.attributes.popper=Object.assign({},n.attributes.popper,{\"data-popper-placement\":n.placement})},data:{}};var le={name:\"applyStyles\",enabled:!0,phase:\"write\",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];r(o)&&u(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?\"\":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:\"0\",top:\"0\",margin:\"0\"},arrow:{position:\"absolute\"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},s=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]=\"\",e}),{});r(i)&&u(i)&&(Object.assign(i.style,s),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:[\"computeStyles\"]};var ce={name:\"offset\",enabled:!0,phase:\"main\",requires:[\"popperOffsets\"],fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.offset,o=void 0===r?[0,0]:r,s=L.reduce((function(e,n){return e[n]=function(e,t,n){var i=q(e),r=[k,x].indexOf(i)>=0?-1:1,o=\"function\"==typeof n?n(Object.assign({},t,{placement:e})):n,s=o[0],a=o[1];return s=s||0,a=(a||0)*r,[k,_].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,o),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}},de={left:\"right\",right:\"left\",bottom:\"top\",top:\"bottom\"};function ue(e){return e.replace(/left|right|bottom|top/g,(function(e){return de[e]}))}var he={start:\"end\",end:\"start\"};function pe(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function fe(t,n){void 0===n&&(n={});var i=n,r=i.placement,o=i.boundary,s=i.rootBoundary,a=i.padding,l=i.flipVariations,c=i.allowedAutoPlacements,d=void 0===c?L:c,u=F(r),h=u?l?P:P.filter((function(e){return F(e)===u})):A,p=h.filter((function(e){return d.indexOf(e)>=0}));0===p.length&&(p=h,\"production\"!==e.env.NODE_ENV&&console.error([\"Popper: The `allowedAutoPlacements` option did not allow any\",\"placements. Ensure the `placement` option matches the variation\",\"of the allowed placements.\",'For example, \"auto\" cannot be used to allow \"bottom-start\".','Use \"auto-start\" instead.'].join(\" \")));var f=p.reduce((function(e,n){return e[n]=K(t,{placement:n,boundary:o,rootBoundary:s,padding:a})[q(n)],e}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}var ge={name:\"flip\",enabled:!0,phase:\"main\",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var r=n.mainAxis,o=void 0===r||r,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,p=n.flipVariations,f=void 0===p||p,g=n.allowedAutoPlacements,v=t.options.placement,m=q(v),y=l||(m===v||!f?[ue(v)]:function(e){if(q(e)===D)return[];var t=ue(e);return[pe(e),t,pe(t)]}(v)),b=[v].concat(y).reduce((function(e,n){return e.concat(q(n)===D?fe(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:f,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,S=t.rects.popper,E=new Map,T=!0,A=b[0],M=0;M=0,N=L?\"width\":\"height\",H=K(t,{placement:O,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),j=L?P?_:k:P?C:x;w[N]>S[N]&&(j=ue(j));var z=ue(j),$=[];if(o&&$.push(H[R]<=0),a&&$.push(H[j]<=0,H[z]<=0),$.every((function(e){return e}))){A=O,T=!1;break}E.set(O,$)}if(T)for(var B=function(e){var t=b.find((function(t){var n=E.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return A=t,\"break\"},W=f?3:1;W>0;W--){if(\"break\"===B(W))break}t.placement!==A&&(t.modifiersData[i]._skip=!0,t.placement=A,t.reset=!0)}},requiresIfExists:[\"offset\"],data:{_skip:!1}};function ve(e,t,n){return s(e,a(t,n))}var me={name:\"preventOverflow\",enabled:!0,phase:\"main\",fn:function(e){var t=e.state,n=e.options,i=e.name,r=n.mainAxis,o=void 0===r||r,l=n.altAxis,c=void 0!==l&&l,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,p=n.padding,f=n.tether,g=void 0===f||f,v=n.tetherOffset,y=void 0===v?0:v,b=K(t,{boundary:d,rootBoundary:u,padding:p,altBoundary:h}),w=q(t.placement),S=F(t.placement),E=!S,D=Y(w),A=\"x\"===D?\"y\":\"x\",M=t.modifiersData.popperOffsets,O=t.rects.reference,R=t.rects.popper,P=\"function\"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,L=\"number\"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),N=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,H={x:0,y:0};if(M){if(o){var j,z=\"y\"===D?x:k,$=\"y\"===D?C:_,B=\"y\"===D?\"height\":\"width\",W=M[D],U=W+b[z],V=W-b[$],X=g?-R[B]/2:0,G=S===I?O[B]:R[B],Z=S===I?-R[B]:-O[B],Q=t.elements.arrow,J=g&&Q?m(Q):{width:0,height:0},ee=t.modifiersData[\"arrow#persistent\"]?t.modifiersData[\"arrow#persistent\"].padding:{top:0,right:0,bottom:0,left:0},te=ee[z],ne=ee[$],ie=ve(0,O[B],J[B]),re=E?O[B]/2-X-ie-te-L.mainAxis:G-ie-te-L.mainAxis,oe=E?-O[B]/2+X+ie+ne+L.mainAxis:Z+ie+ne+L.mainAxis,se=t.elements.arrow&&T(t.elements.arrow),ae=se?\"y\"===D?se.clientTop||0:se.clientLeft||0:0,le=null!=(j=null==N?void 0:N[D])?j:0,ce=W+oe-le,de=ve(g?a(U,W+re-le-ae):U,W,g?s(V,ce):V);M[D]=de,H[D]=de-W}if(c){var ue,he=\"x\"===D?x:k,pe=\"x\"===D?C:_,fe=M[A],ge=\"y\"===A?\"height\":\"width\",me=fe+b[he],ye=fe-b[pe],be=-1!==[x,k].indexOf(w),we=null!=(ue=null==N?void 0:N[A])?ue:0,Se=be?me:fe-O[ge]-R[ge]-we+L.altAxis,Ee=be?fe+O[ge]+R[ge]-we-L.altAxis:ye,Te=g&&be?function(e,t,n){var i=ve(e,t,n);return i>n?n:i}(Se,fe,Ee):ve(g?Se:me,fe,g?Ee:ye);M[A]=Te,H[A]=Te-fe}t.modifiersData[i]=H}},requiresIfExists:[\"offset\"]};var ye={name:\"arrow\",enabled:!0,phase:\"main\",fn:function(e){var t,n=e.state,i=e.name,r=e.options,o=n.elements.arrow,s=n.modifiersData.popperOffsets,a=q(n.placement),l=Y(a),c=[k,_].indexOf(a)>=0?\"height\":\"width\";if(o&&s){var d=function(e,t){return G(\"number\"!=typeof(e=\"function\"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Z(e,A))}(r.padding,n),u=m(o),h=\"y\"===l?x:k,p=\"y\"===l?C:_,f=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],v=T(o),y=v?\"y\"===l?v.clientHeight||0:v.clientWidth||0:0,b=f/2-g/2,w=d[h],S=y-u[c]-d[p],E=y/2-u[c]/2+b,D=ve(w,E,S),I=l;n.modifiersData[i]=((t={})[I]=D,t.centerOffset=D-E,t)}},effect:function(t){var n=t.state,i=t.options.element,o=void 0===i?\"[data-popper-arrow]\":i;null!=o&&(\"string\"!=typeof o||(o=n.elements.popper.querySelector(o)))&&(\"production\"!==e.env.NODE_ENV&&(r(o)||console.error(['Popper: \"arrow\" element must be an HTMLElement (not an SVGElement).',\"To use an SVG arrow, wrap it in an HTMLElement that will be used as\",\"the arrow.\"].join(\" \"))),B(n.elements.popper,o)?n.elements.arrow=o:\"production\"!==e.env.NODE_ENV&&console.error(['Popper: \"arrow\" modifier\\'s `element` must be a child of the popper',\"element.\"].join(\" \")))},requires:[\"popperOffsets\"],requiresIfExists:[\"preventOverflow\"]};function be(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function we(e){return[x,_,C,k].some((function(t){return e[t]>=0}))}var Se={name:\"hide\",enabled:!0,phase:\"main\",requiresIfExists:[\"preventOverflow\"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=K(t,{elementContext:\"reference\"}),a=K(t,{altBoundary:!0}),l=be(s,i),c=be(a,r,o),d=we(l),u=we(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{\"data-popper-reference-hidden\":d,\"data-popper-escaped\":u})}},Ee=te({defaultModifiers:[ie,re,ae,le]}),Te=[ie,re,ae,le,ce,ge,me,ye,Se],xe=te({defaultModifiers:Te});n.applyStyles=le,n.arrow=ye,n.computeStyles=ae,n.createPopper=xe,n.createPopperLite=Ee,n.defaultModifiers=Te,n.detectOverflow=K,n.eventListeners=ie,n.flip=ge,n.hide=Se,n.offset=ce,n.popperGenerator=te,n.popperOffsets=re,n.preventOverflow=me}).call(this)}).call(this,e(\"_process\"))},{_process:16}],13:[function(e,t,n){\n/*!\n * Bootstrap v5.1.3 (https://getbootstrap.com/)\n * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)\n */\nvar i,r;i=this,r=function(e){\"use strict\";function t(e){if(e&&e.__esModule)return e;const t=Object.create(null);if(e)for(const n in e)if(\"default\"!==n){const i=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,i.get?i:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}const n=t(e),i=\"transitionend\",r=e=>{let t=e.getAttribute(\"data-bs-target\");if(!t||\"#\"===t){let n=e.getAttribute(\"href\");if(!n||!n.includes(\"#\")&&!n.startsWith(\".\"))return null;n.includes(\"#\")&&!n.startsWith(\"#\")&&(n=`#${n.split(\"#\")[1]}`),t=n&&\"#\"!==n?n.trim():null}return t},o=e=>{const t=r(e);return t&&document.querySelector(t)?t:null},s=e=>{const t=r(e);return t?document.querySelector(t):null},a=e=>{e.dispatchEvent(new Event(i))},l=e=>!(!e||\"object\"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),c=e=>l(e)?e.jquery?e[0]:e:\"string\"==typeof e&&e.length>0?document.querySelector(e):null,d=(e,t,n)=>{Object.keys(n).forEach((i=>{const r=n[i],o=t[i],s=o&&l(o)?\"element\":null==(a=o)?`${a}`:{}.toString.call(a).match(/\\s([a-z]+)/i)[1].toLowerCase();var a;if(!new RegExp(r).test(s))throw new TypeError(`${e.toUpperCase()}: Option \"${i}\" provided type \"${s}\" but expected type \"${r}\".`)}))},u=e=>!(!l(e)||0===e.getClientRects().length)&&\"visible\"===getComputedStyle(e).getPropertyValue(\"visibility\"),h=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains(\"disabled\")||(void 0!==e.disabled?e.disabled:e.hasAttribute(\"disabled\")&&\"false\"!==e.getAttribute(\"disabled\")),p=e=>{if(!document.documentElement.attachShadow)return null;if(\"function\"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?p(e.parentNode):null},f=()=>{},g=e=>{e.offsetHeight},v=()=>{const{jQuery:e}=window;return e&&!document.body.hasAttribute(\"data-bs-no-jquery\")?e:null},m=[],y=()=>\"rtl\"===document.documentElement.dir,b=e=>{var t;t=()=>{const t=v();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},\"loading\"===document.readyState?(m.length||document.addEventListener(\"DOMContentLoaded\",(()=>{m.forEach((e=>e()))})),m.push(t)):t()},w=e=>{\"function\"==typeof e&&e()},S=(e,t,n=!0)=>{if(!n)return void w(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),r=Number.parseFloat(n);return i||r?(t=t.split(\",\")[0],n=n.split(\",\")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let o=!1;const s=({target:n})=>{n===t&&(o=!0,t.removeEventListener(i,s),w(e))};t.addEventListener(i,s),setTimeout((()=>{o||a(t)}),r)},E=(e,t,n,i)=>{let r=e.indexOf(t);if(-1===r)return e[!n&&i?e.length-1:0];const o=e.length;return r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))]},T=/[^.]*(?=\\..*)\\.|.*/,x=/\\..*/,C=/::\\d+$/,_={};let k=1;const D={mouseenter:\"mouseover\",mouseleave:\"mouseout\"},A=/^(mouseenter|mouseleave)/i,I=new Set([\"click\",\"dblclick\",\"mouseup\",\"mousedown\",\"contextmenu\",\"mousewheel\",\"DOMMouseScroll\",\"mouseover\",\"mouseout\",\"mousemove\",\"selectstart\",\"selectend\",\"keydown\",\"keypress\",\"keyup\",\"orientationchange\",\"touchstart\",\"touchmove\",\"touchend\",\"touchcancel\",\"pointerdown\",\"pointermove\",\"pointerup\",\"pointerleave\",\"pointercancel\",\"gesturestart\",\"gesturechange\",\"gestureend\",\"focus\",\"blur\",\"change\",\"reset\",\"select\",\"submit\",\"focusin\",\"focusout\",\"load\",\"unload\",\"beforeunload\",\"resize\",\"move\",\"DOMContentLoaded\",\"readystatechange\",\"error\",\"abort\",\"scroll\"]);function M(e,t){return t&&`${t}::${k++}`||e.uidEvent||k++}function O(e){const t=M(e);return e.uidEvent=t,_[t]=_[t]||{},_[t]}function R(e,t,n=null){const i=Object.keys(e);for(let r=0,o=i.length;rfunction(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};i?i=e(i):n=e(n)}const[o,s,a]=P(t,n,i),l=O(e),c=l[a]||(l[a]={}),d=R(c,s,o?n:null);if(d)return void(d.oneOff=d.oneOff&&r);const u=M(s,t.replace(T,\"\")),h=o?function(e,t,n){return function i(r){const o=e.querySelectorAll(t);for(let{target:s}=r;s&&s!==this;s=s.parentNode)for(let a=o.length;a--;)if(o[a]===s)return r.delegateTarget=s,i.oneOff&&j.off(e,r.type,t,n),n.apply(s,[r]);return null}}(e,n,i):function(e,t){return function n(i){return i.delegateTarget=e,n.oneOff&&j.off(e,i.type,t),t.apply(e,[i])}}(e,n);h.delegationSelector=o?n:null,h.originalHandler=s,h.oneOff=r,h.uidEvent=u,c[u]=h,e.addEventListener(a,h,o)}function N(e,t,n,i,r){const o=R(t[n],i,r);o&&(e.removeEventListener(n,o,Boolean(r)),delete t[n][o.uidEvent])}function H(e){return e=e.replace(x,\"\"),D[e]||e}const j={on(e,t,n,i){L(e,t,n,i,!1)},one(e,t,n,i){L(e,t,n,i,!0)},off(e,t,n,i){if(\"string\"!=typeof t||!e)return;const[r,o,s]=P(t,n,i),a=s!==t,l=O(e),c=t.startsWith(\".\");if(void 0!==o){if(!l||!l[s])return;return void N(e,l,s,o,r?n:null)}c&&Object.keys(l).forEach((n=>{!function(e,t,n,i){const r=t[n]||{};Object.keys(r).forEach((o=>{if(o.includes(i)){const i=r[o];N(e,t,n,i.originalHandler,i.delegationSelector)}}))}(e,l,n,t.slice(1))}));const d=l[s]||{};Object.keys(d).forEach((n=>{const i=n.replace(C,\"\");if(!a||t.includes(i)){const t=d[n];N(e,l,s,t.originalHandler,t.delegationSelector)}}))},trigger(e,t,n){if(\"string\"!=typeof t||!e)return null;const i=v(),r=H(t),o=t!==r,s=I.has(r);let a,l=!0,c=!0,d=!1,u=null;return o&&i&&(a=i.Event(t,n),i(e).trigger(a),l=!a.isPropagationStopped(),c=!a.isImmediatePropagationStopped(),d=a.isDefaultPrevented()),s?(u=document.createEvent(\"HTMLEvents\"),u.initEvent(r,l,!0)):u=new CustomEvent(t,{bubbles:l,cancelable:!0}),void 0!==n&&Object.keys(n).forEach((e=>{Object.defineProperty(u,e,{get:()=>n[e]})})),d&&u.preventDefault(),c&&e.dispatchEvent(u),u.defaultPrevented&&void 0!==a&&a.preventDefault(),u}},z=new Map,$={set(e,t,n){z.has(e)||z.set(e,new Map);const i=z.get(e);i.has(t)||0===i.size?i.set(t,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(i.keys())[0]}.`)},get:(e,t)=>z.has(e)&&z.get(e).get(t)||null,remove(e,t){if(!z.has(e))return;const n=z.get(e);n.delete(t),0===n.size&&z.delete(e)}};class q{constructor(e){(e=c(e))&&(this._element=e,$.set(this._element,this.constructor.DATA_KEY,this))}dispose(){$.remove(this._element,this.constructor.DATA_KEY),j.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((e=>{this[e]=null}))}_queueCallback(e,t,n=!0){S(e,t,n)}static getInstance(e){return $.get(c(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,\"object\"==typeof t?t:null)}static get VERSION(){return\"5.1.3\"}static get NAME(){throw new Error('You have to implement the static method \"NAME\", for each component!')}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}}const B=(e,t=\"hide\")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;j.on(document,n,`[data-bs-dismiss=\"${i}\"]`,(function(n){if([\"A\",\"AREA\"].includes(this.tagName)&&n.preventDefault(),h(this))return;const r=s(this)||this.closest(`.${i}`);e.getOrCreateInstance(r)[t]()}))};class W extends q{static get NAME(){return\"alert\"}close(){if(j.trigger(this._element,\"close.bs.alert\").defaultPrevented)return;this._element.classList.remove(\"show\");const e=this._element.classList.contains(\"fade\");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),j.trigger(this._element,\"closed.bs.alert\"),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=W.getOrCreateInstance(this);if(\"string\"==typeof e){if(void 0===t[e]||e.startsWith(\"_\")||\"constructor\"===e)throw new TypeError(`No method named \"${e}\"`);t[e](this)}}))}}B(W,\"close\"),b(W);const U='[data-bs-toggle=\"button\"]';class V extends q{static get NAME(){return\"button\"}toggle(){this._element.setAttribute(\"aria-pressed\",this._element.classList.toggle(\"active\"))}static jQueryInterface(e){return this.each((function(){const t=V.getOrCreateInstance(this);\"toggle\"===e&&t[e]()}))}}function F(e){return\"true\"===e||\"false\"!==e&&(e===Number(e).toString()?Number(e):\"\"===e||\"null\"===e?null:e)}function Y(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}j.on(document,\"click.bs.button.data-api\",U,(e=>{e.preventDefault();const t=e.target.closest(U);V.getOrCreateInstance(t).toggle()})),b(V);const X={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${Y(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${Y(t)}`)},getDataAttributes(e){if(!e)return{};const t={};return Object.keys(e.dataset).filter((e=>e.startsWith(\"bs\"))).forEach((n=>{let i=n.replace(/^bs/,\"\");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=F(e.dataset[n])})),t},getDataAttribute:(e,t)=>F(e.getAttribute(`data-bs-${Y(t)}`)),offset(e){const t=e.getBoundingClientRect();return{top:t.top+window.pageYOffset,left:t.left+window.pageXOffset}},position:e=>({top:e.offsetTop,left:e.offsetLeft})},G={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode;for(;i&&i.nodeType===Node.ELEMENT_NODE&&3!==i.nodeType;)i.matches(t)&&n.push(i),i=i.parentNode;return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=[\"a\",\"button\",\"input\",\"textarea\",\"select\",\"details\",\"[tabindex]\",'[contenteditable=\"true\"]'].map((e=>`${e}:not([tabindex^=\"-\"])`)).join(\", \");return this.find(t,e).filter((e=>!h(e)&&u(e)))}},Z=\"carousel\",K={interval:5e3,keyboard:!0,slide:!1,pause:\"hover\",wrap:!0,touch:!0},Q={interval:\"(number|boolean)\",keyboard:\"boolean\",slide:\"(boolean|string)\",pause:\"(string|boolean)\",wrap:\"boolean\",touch:\"boolean\"},J=\"next\",ee=\"prev\",te=\"left\",ne=\"right\",ie={ArrowLeft:ne,ArrowRight:te},re=\"slid.bs.carousel\",oe=\"active\",se=\".active.carousel-item\";class ae extends q{constructor(e,t){super(e),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(t),this._indicatorsElement=G.findOne(\".carousel-indicators\",this._element),this._touchSupported=\"ontouchstart\"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent),this._addEventListeners()}static get Default(){return K}static get NAME(){return Z}next(){this._slide(J)}nextWhenVisible(){!document.hidden&&u(this._element)&&this.next()}prev(){this._slide(ee)}pause(e){e||(this._isPaused=!0),G.findOne(\".carousel-item-next, .carousel-item-prev\",this._element)&&(a(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}to(e){this._activeElement=G.findOne(se,this._element);const t=this._getItemIndex(this._activeElement);if(e>this._items.length-1||e<0)return;if(this._isSliding)return void j.one(this._element,re,(()=>this.to(e)));if(t===e)return this.pause(),void this.cycle();const n=e>t?J:ee;this._slide(n,this._items[e])}_getConfig(e){return e={...K,...X.getDataAttributes(this._element),...\"object\"==typeof e?e:{}},d(Z,e,Q),e}_handleSwipe(){const e=Math.abs(this.touchDeltaX);if(e<=40)return;const t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?ne:te)}_addEventListeners(){this._config.keyboard&&j.on(this._element,\"keydown.bs.carousel\",(e=>this._keydown(e))),\"hover\"===this._config.pause&&(j.on(this._element,\"mouseenter.bs.carousel\",(e=>this.pause(e))),j.on(this._element,\"mouseleave.bs.carousel\",(e=>this.cycle(e)))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}_addTouchEventListeners(){const e=e=>this._pointerEvent&&(\"pen\"===e.pointerType||\"touch\"===e.pointerType),t=t=>{e(t)?this.touchStartX=t.clientX:this._pointerEvent||(this.touchStartX=t.touches[0].clientX)},n=e=>{this.touchDeltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this.touchStartX},i=t=>{e(t)&&(this.touchDeltaX=t.clientX-this.touchStartX),this._handleSwipe(),\"hover\"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((e=>this.cycle(e)),500+this._config.interval))};G.find(\".carousel-item img\",this._element).forEach((e=>{j.on(e,\"dragstart.bs.carousel\",(e=>e.preventDefault()))})),this._pointerEvent?(j.on(this._element,\"pointerdown.bs.carousel\",(e=>t(e))),j.on(this._element,\"pointerup.bs.carousel\",(e=>i(e))),this._element.classList.add(\"pointer-event\")):(j.on(this._element,\"touchstart.bs.carousel\",(e=>t(e))),j.on(this._element,\"touchmove.bs.carousel\",(e=>n(e))),j.on(this._element,\"touchend.bs.carousel\",(e=>i(e))))}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=ie[e.key];t&&(e.preventDefault(),this._slide(t))}_getItemIndex(e){return this._items=e&&e.parentNode?G.find(\".carousel-item\",e.parentNode):[],this._items.indexOf(e)}_getItemByOrder(e,t){const n=e===J;return E(this._items,t,n,this._config.wrap)}_triggerSlideEvent(e,t){const n=this._getItemIndex(e),i=this._getItemIndex(G.findOne(se,this._element));return j.trigger(this._element,\"slide.bs.carousel\",{relatedTarget:e,direction:t,from:i,to:n})}_setActiveIndicatorElement(e){if(this._indicatorsElement){const t=G.findOne(\".active\",this._indicatorsElement);t.classList.remove(oe),t.removeAttribute(\"aria-current\");const n=G.find(\"[data-bs-target]\",this._indicatorsElement);for(let t=0;t{j.trigger(this._element,re,{relatedTarget:o,direction:u,from:r,to:s})};if(this._element.classList.contains(\"slide\")){o.classList.add(d),g(o),i.classList.add(c),o.classList.add(c);const e=()=>{o.classList.remove(c,d),o.classList.add(oe),i.classList.remove(oe,d,c),this._isSliding=!1,setTimeout(h,0)};this._queueCallback(e,i,!0)}else i.classList.remove(oe),o.classList.add(oe),this._isSliding=!1,h();a&&this.cycle()}_directionToOrder(e){return[ne,te].includes(e)?y()?e===te?ee:J:e===te?J:ee:e}_orderToDirection(e){return[J,ee].includes(e)?y()?e===ee?te:ne:e===ee?ne:te:e}static carouselInterface(e,t){const n=ae.getOrCreateInstance(e,t);let{_config:i}=n;\"object\"==typeof t&&(i={...i,...t});const r=\"string\"==typeof t?t:i.slide;if(\"number\"==typeof t)n.to(t);else if(\"string\"==typeof r){if(void 0===n[r])throw new TypeError(`No method named \"${r}\"`);n[r]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}static jQueryInterface(e){return this.each((function(){ae.carouselInterface(this,e)}))}static dataApiClickHandler(e){const t=s(this);if(!t||!t.classList.contains(\"carousel\"))return;const n={...X.getDataAttributes(t),...X.getDataAttributes(this)},i=this.getAttribute(\"data-bs-slide-to\");i&&(n.interval=!1),ae.carouselInterface(t,n),i&&ae.getInstance(t).to(i),e.preventDefault()}}j.on(document,\"click.bs.carousel.data-api\",\"[data-bs-slide], [data-bs-slide-to]\",ae.dataApiClickHandler),j.on(window,\"load.bs.carousel.data-api\",(()=>{const e=G.find('[data-bs-ride=\"carousel\"]');for(let t=0,n=e.length;te===this._element));null!==i&&r.length&&(this._selector=i,this._triggerArray.push(t))}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return de}static get NAME(){return le}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e,t=[];if(this._config.parent){const e=G.find(ve,this._config.parent);t=G.find(\".collapse.show, .collapse.collapsing\",this._config.parent).filter((t=>!e.includes(t)))}const n=G.findOne(this._selector);if(t.length){const i=t.find((e=>n!==e));if(e=i?ye.getInstance(i):null,e&&e._isTransitioning)return}if(j.trigger(this._element,\"show.bs.collapse\").defaultPrevented)return;t.forEach((t=>{n!==t&&ye.getOrCreateInstance(t,{toggle:!1}).hide(),e||$.set(t,ce,null)}));const i=this._getDimension();this._element.classList.remove(pe),this._element.classList.add(fe),this._element.style[i]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const r=`scroll${i[0].toUpperCase()+i.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(fe),this._element.classList.add(pe,he),this._element.style[i]=\"\",j.trigger(this._element,\"shown.bs.collapse\")}),this._element,!0),this._element.style[i]=`${this._element[r]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(j.trigger(this._element,\"hide.bs.collapse\").defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,g(this._element),this._element.classList.add(fe),this._element.classList.remove(pe,he);const t=this._triggerArray.length;for(let e=0;e{this._isTransitioning=!1,this._element.classList.remove(fe),this._element.classList.add(pe),j.trigger(this._element,\"hidden.bs.collapse\")}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(he)}_getConfig(e){return(e={...de,...X.getDataAttributes(this._element),...e}).toggle=Boolean(e.toggle),e.parent=c(e.parent),d(le,e,ue),e}_getDimension(){return this._element.classList.contains(\"collapse-horizontal\")?\"width\":\"height\"}_initializeChildren(){if(!this._config.parent)return;const e=G.find(ve,this._config.parent);G.find(me,this._config.parent).filter((t=>!e.includes(t))).forEach((e=>{const t=s(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}))}_addAriaAndCollapsedClass(e,t){e.length&&e.forEach((e=>{t?e.classList.remove(ge):e.classList.add(ge),e.setAttribute(\"aria-expanded\",t)}))}static jQueryInterface(e){return this.each((function(){const t={};\"string\"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1);const n=ye.getOrCreateInstance(this,t);if(\"string\"==typeof e){if(void 0===n[e])throw new TypeError(`No method named \"${e}\"`);n[e]()}}))}}j.on(document,\"click.bs.collapse.data-api\",me,(function(e){(\"A\"===e.target.tagName||e.delegateTarget&&\"A\"===e.delegateTarget.tagName)&&e.preventDefault();const t=o(this);G.find(t).forEach((e=>{ye.getOrCreateInstance(e,{toggle:!1}).toggle()}))})),b(ye);const be=\"dropdown\",we=\"Escape\",Se=\"Space\",Ee=\"ArrowUp\",Te=\"ArrowDown\",xe=new RegExp(\"ArrowUp|ArrowDown|Escape\"),Ce=\"click.bs.dropdown.data-api\",_e=\"keydown.bs.dropdown.data-api\",ke=\"show\",De='[data-bs-toggle=\"dropdown\"]',Ae=\".dropdown-menu\",Ie=y()?\"top-end\":\"top-start\",Me=y()?\"top-start\":\"top-end\",Oe=y()?\"bottom-end\":\"bottom-start\",Re=y()?\"bottom-start\":\"bottom-end\",Pe=y()?\"left-start\":\"right-start\",Le=y()?\"right-start\":\"left-start\",Ne={offset:[0,2],boundary:\"clippingParents\",reference:\"toggle\",display:\"dynamic\",popperConfig:null,autoClose:!0},He={offset:\"(array|string|function)\",boundary:\"(string|element)\",reference:\"(string|element|object)\",display:\"string\",popperConfig:\"(null|object|function)\",autoClose:\"(boolean|string)\"};class je extends q{constructor(e,t){super(e),this._popper=null,this._config=this._getConfig(t),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar()}static get Default(){return Ne}static get DefaultType(){return He}static get NAME(){return be}toggle(){return this._isShown()?this.hide():this.show()}show(){if(h(this._element)||this._isShown(this._menu))return;const e={relatedTarget:this._element};if(j.trigger(this._element,\"show.bs.dropdown\",e).defaultPrevented)return;const t=je.getParentFromElement(this._element);this._inNavbar?X.setDataAttribute(this._menu,\"popper\",\"none\"):this._createPopper(t),\"ontouchstart\"in document.documentElement&&!t.closest(\".navbar-nav\")&&[].concat(...document.body.children).forEach((e=>j.on(e,\"mouseover\",f))),this._element.focus(),this._element.setAttribute(\"aria-expanded\",!0),this._menu.classList.add(ke),this._element.classList.add(ke),j.trigger(this._element,\"shown.bs.dropdown\",e)}hide(){if(h(this._element)||!this._isShown(this._menu))return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){j.trigger(this._element,\"hide.bs.dropdown\",e).defaultPrevented||(\"ontouchstart\"in document.documentElement&&[].concat(...document.body.children).forEach((e=>j.off(e,\"mouseover\",f))),this._popper&&this._popper.destroy(),this._menu.classList.remove(ke),this._element.classList.remove(ke),this._element.setAttribute(\"aria-expanded\",\"false\"),X.removeDataAttribute(this._menu,\"popper\"),j.trigger(this._element,\"hidden.bs.dropdown\",e))}_getConfig(e){if(e={...this.constructor.Default,...X.getDataAttributes(this._element),...e},d(be,e,this.constructor.DefaultType),\"object\"==typeof e.reference&&!l(e.reference)&&\"function\"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${be.toUpperCase()}: Option \"reference\" provided type \"object\" without a required \"getBoundingClientRect\" method.`);return e}_createPopper(e){if(void 0===n)throw new TypeError(\"Bootstrap's dropdowns require Popper (https://popper.js.org)\");let t=this._element;\"parent\"===this._config.reference?t=e:l(this._config.reference)?t=c(this._config.reference):\"object\"==typeof this._config.reference&&(t=this._config.reference);const i=this._getPopperConfig(),r=i.modifiers.find((e=>\"applyStyles\"===e.name&&!1===e.enabled));this._popper=n.createPopper(t,this._menu,i),r&&X.setDataAttribute(this._menu,\"popper\",\"static\")}_isShown(e=this._element){return e.classList.contains(ke)}_getMenuElement(){return G.next(this._element,Ae)[0]}_getPlacement(){const e=this._element.parentNode;if(e.classList.contains(\"dropend\"))return Pe;if(e.classList.contains(\"dropstart\"))return Le;const t=\"end\"===getComputedStyle(this._menu).getPropertyValue(\"--bs-position\").trim();return e.classList.contains(\"dropup\")?t?Me:Ie:t?Re:Oe}_detectNavbar(){return null!==this._element.closest(\".navbar\")}_getOffset(){const{offset:e}=this._config;return\"string\"==typeof e?e.split(\",\").map((e=>Number.parseInt(e,10))):\"function\"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:\"preventOverflow\",options:{boundary:this._config.boundary}},{name:\"offset\",options:{offset:this._getOffset()}}]};return\"static\"===this._config.display&&(e.modifiers=[{name:\"applyStyles\",enabled:!1}]),{...e,...\"function\"==typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig}}_selectMenuItem({key:e,target:t}){const n=G.find(\".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)\",this._menu).filter(u);n.length&&E(n,t,e===Te,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=je.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e]()}}))}static clearMenus(e){if(e&&(2===e.button||\"keyup\"===e.type&&\"Tab\"!==e.key))return;const t=G.find(De);for(let n=0,i=t.length;nt+e)),this._setElementAttributes(ze,\"paddingRight\",(t=>t+e)),this._setElementAttributes($e,\"marginRight\",(t=>t-e))}_disableOverFlow(){this._saveInitialAttribute(this._element,\"overflow\"),this._element.style.overflow=\"hidden\"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const r=window.getComputedStyle(e)[t];e.style[t]=`${n(Number.parseFloat(r))}px`}))}reset(){this._resetElementAttributes(this._element,\"overflow\"),this._resetElementAttributes(this._element,\"paddingRight\"),this._resetElementAttributes(ze,\"paddingRight\"),this._resetElementAttributes($e,\"marginRight\")}_saveInitialAttribute(e,t){const n=e.style[t];n&&X.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=X.getDataAttribute(e,t);void 0===n?e.style.removeProperty(t):(X.removeDataAttribute(e,t),e.style[t]=n)}))}_applyManipulationCallback(e,t){l(e)?t(e):G.find(e,this._element).forEach(t)}isOverflowing(){return this.getWidth()>0}}const Be={className:\"modal-backdrop\",isVisible:!0,isAnimated:!1,rootElement:\"body\",clickCallback:null},We={className:\"string\",isVisible:\"boolean\",isAnimated:\"boolean\",rootElement:\"(element|string)\",clickCallback:\"(function|null)\"},Ue=\"backdrop\",Ve=\"show\",Fe=\"mousedown.bs.backdrop\";class Ye{constructor(e){this._config=this._getConfig(e),this._isAppended=!1,this._element=null}show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&g(this._getElement()),this._getElement().classList.add(Ve),this._emulateAnimation((()=>{w(e)}))):w(e)}hide(e){this._config.isVisible?(this._getElement().classList.remove(Ve),this._emulateAnimation((()=>{this.dispose(),w(e)}))):w(e)}_getElement(){if(!this._element){const e=document.createElement(\"div\");e.className=this._config.className,this._config.isAnimated&&e.classList.add(\"fade\"),this._element=e}return this._element}_getConfig(e){return(e={...Be,...\"object\"==typeof e?e:{}}).rootElement=c(e.rootElement),d(Ue,e,We),e}_append(){this._isAppended||(this._config.rootElement.append(this._getElement()),j.on(this._getElement(),Fe,(()=>{w(this._config.clickCallback)})),this._isAppended=!0)}dispose(){this._isAppended&&(j.off(this._element,Fe),this._element.remove(),this._isAppended=!1)}_emulateAnimation(e){S(e,this._getElement(),this._config.isAnimated)}}const Xe={trapElement:null,autofocus:!0},Ge={trapElement:\"element\",autofocus:\"boolean\"},Ze=\".bs.focustrap\",Ke=\"backward\";class Qe{constructor(e){this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}activate(){const{trapElement:e,autofocus:t}=this._config;this._isActive||(t&&e.focus(),j.off(document,Ze),j.on(document,\"focusin.bs.focustrap\",(e=>this._handleFocusin(e))),j.on(document,\"keydown.tab.bs.focustrap\",(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,j.off(document,Ze))}_handleFocusin(e){const{target:t}=e,{trapElement:n}=this._config;if(t===document||t===n||n.contains(t))return;const i=G.focusableChildren(n);0===i.length?n.focus():this._lastTabNavDirection===Ke?i[i.length-1].focus():i[0].focus()}_handleKeydown(e){\"Tab\"===e.key&&(this._lastTabNavDirection=e.shiftKey?Ke:\"forward\")}_getConfig(e){return e={...Xe,...\"object\"==typeof e?e:{}},d(\"focustrap\",e,Ge),e}}const Je=\"modal\",et=\".bs.modal\",tt=\"Escape\",nt={backdrop:!0,keyboard:!0,focus:!0},it={backdrop:\"(boolean|string)\",keyboard:\"boolean\",focus:\"boolean\"},rt=\"hidden.bs.modal\",ot=\"show.bs.modal\",st=\"resize.bs.modal\",at=\"click.dismiss.bs.modal\",lt=\"keydown.dismiss.bs.modal\",ct=\"mousedown.dismiss.bs.modal\",dt=\"modal-open\",ut=\"show\",ht=\"modal-static\";class pt extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._dialog=G.findOne(\".modal-dialog\",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollBar=new qe}static get Default(){return nt}static get NAME(){return Je}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||j.trigger(this._element,ot,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(dt),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),j.on(this._dialog,ct,(()=>{j.one(this._element,\"mouseup.dismiss.bs.modal\",(e=>{e.target===this._element&&(this._ignoreBackdropClick=!0)}))})),this._showBackdrop((()=>this._showElement(e))))}hide(){if(!this._isShown||this._isTransitioning)return;if(j.trigger(this._element,\"hide.bs.modal\").defaultPrevented)return;this._isShown=!1;const e=this._isAnimated();e&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),this._focustrap.deactivate(),this._element.classList.remove(ut),j.off(this._element,at),j.off(this._dialog,ct),this._queueCallback((()=>this._hideModal()),this._element,e)}dispose(){[window,this._dialog].forEach((e=>j.off(e,et))),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ye({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Qe({trapElement:this._element})}_getConfig(e){return e={...nt,...X.getDataAttributes(this._element),...\"object\"==typeof e?e:{}},d(Je,e,it),e}_showElement(e){const t=this._isAnimated(),n=G.findOne(\".modal-body\",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.append(this._element),this._element.style.display=\"block\",this._element.removeAttribute(\"aria-hidden\"),this._element.setAttribute(\"aria-modal\",!0),this._element.setAttribute(\"role\",\"dialog\"),this._element.scrollTop=0,n&&(n.scrollTop=0),t&&g(this._element),this._element.classList.add(ut),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,j.trigger(this._element,\"shown.bs.modal\",{relatedTarget:e})}),this._dialog,t)}_setEscapeEvent(){this._isShown?j.on(this._element,lt,(e=>{this._config.keyboard&&e.key===tt?(e.preventDefault(),this.hide()):this._config.keyboard||e.key!==tt||this._triggerBackdropTransition()})):j.off(this._element,lt)}_setResizeEvent(){this._isShown?j.on(window,st,(()=>this._adjustDialog())):j.off(window,st)}_hideModal(){this._element.style.display=\"none\",this._element.setAttribute(\"aria-hidden\",!0),this._element.removeAttribute(\"aria-modal\"),this._element.removeAttribute(\"role\"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(dt),this._resetAdjustments(),this._scrollBar.reset(),j.trigger(this._element,rt)}))}_showBackdrop(e){j.on(this._element,at,(e=>{this._ignoreBackdropClick?this._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===this._config.backdrop?this.hide():\"static\"===this._config.backdrop&&this._triggerBackdropTransition())})),this._backdrop.show(e)}_isAnimated(){return this._element.classList.contains(\"fade\")}_triggerBackdropTransition(){if(j.trigger(this._element,\"hidePrevented.bs.modal\").defaultPrevented)return;const{classList:e,scrollHeight:t,style:n}=this._element,i=t>document.documentElement.clientHeight;!i&&\"hidden\"===n.overflowY||e.contains(ht)||(i||(n.overflowY=\"hidden\"),e.add(ht),this._queueCallback((()=>{e.remove(ht),i||this._queueCallback((()=>{n.overflowY=\"\"}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!y()||n&&!e&&y())&&(this._element.style.paddingLeft=`${t}px`),(n&&!e&&!y()||!n&&e&&y())&&(this._element.style.paddingRight=`${t}px`)}_resetAdjustments(){this._element.style.paddingLeft=\"\",this._element.style.paddingRight=\"\"}static jQueryInterface(e,t){return this.each((function(){const n=pt.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===n[e])throw new TypeError(`No method named \"${e}\"`);n[e](t)}}))}}j.on(document,\"click.bs.modal.data-api\",'[data-bs-toggle=\"modal\"]',(function(e){const t=s(this);[\"A\",\"AREA\"].includes(this.tagName)&&e.preventDefault(),j.one(t,ot,(e=>{e.defaultPrevented||j.one(t,rt,(()=>{u(this)&&this.focus()}))}));const n=G.findOne(\".modal.show\");n&&pt.getInstance(n).hide(),pt.getOrCreateInstance(t).toggle(this)})),B(pt),b(pt);const ft=\"offcanvas\",gt={backdrop:!0,keyboard:!0,scroll:!1},vt={backdrop:\"boolean\",keyboard:\"boolean\",scroll:\"boolean\"},mt=\"show\",yt=\".offcanvas.show\",bt=\"hidden.bs.offcanvas\";class wt extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get NAME(){return ft}static get Default(){return gt}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||j.trigger(this._element,\"show.bs.offcanvas\",{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._element.style.visibility=\"visible\",this._backdrop.show(),this._config.scroll||(new qe).hide(),this._element.removeAttribute(\"aria-hidden\"),this._element.setAttribute(\"aria-modal\",!0),this._element.setAttribute(\"role\",\"dialog\"),this._element.classList.add(mt),this._queueCallback((()=>{this._config.scroll||this._focustrap.activate(),j.trigger(this._element,\"shown.bs.offcanvas\",{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(j.trigger(this._element,\"hide.bs.offcanvas\").defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.remove(mt),this._backdrop.hide(),this._queueCallback((()=>{this._element.setAttribute(\"aria-hidden\",!0),this._element.removeAttribute(\"aria-modal\"),this._element.removeAttribute(\"role\"),this._element.style.visibility=\"hidden\",this._config.scroll||(new qe).reset(),j.trigger(this._element,bt)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_getConfig(e){return e={...gt,...X.getDataAttributes(this._element),...\"object\"==typeof e?e:{}},d(ft,e,vt),e}_initializeBackDrop(){return new Ye({className:\"offcanvas-backdrop\",isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:()=>this.hide()})}_initializeFocusTrap(){return new Qe({trapElement:this._element})}_addEventListeners(){j.on(this._element,\"keydown.dismiss.bs.offcanvas\",(e=>{this._config.keyboard&&\"Escape\"===e.key&&this.hide()}))}static jQueryInterface(e){return this.each((function(){const t=wt.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e]||e.startsWith(\"_\")||\"constructor\"===e)throw new TypeError(`No method named \"${e}\"`);t[e](this)}}))}}j.on(document,\"click.bs.offcanvas.data-api\",'[data-bs-toggle=\"offcanvas\"]',(function(e){const t=s(this);if([\"A\",\"AREA\"].includes(this.tagName)&&e.preventDefault(),h(this))return;j.one(t,bt,(()=>{u(this)&&this.focus()}));const n=G.findOne(yt);n&&n!==t&&wt.getInstance(n).hide(),wt.getOrCreateInstance(t).toggle(this)})),j.on(window,\"load.bs.offcanvas.data-api\",(()=>G.find(yt).forEach((e=>wt.getOrCreateInstance(e).show())))),B(wt),b(wt);const St=new Set([\"background\",\"cite\",\"href\",\"itemtype\",\"longdesc\",\"poster\",\"src\",\"xlink:href\"]),Et=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Tt=/^data:(?:image\\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\\/(?:mpeg|mp4|ogg|webm)|audio\\/(?:mp3|oga|ogg|opus));base64,[\\d+/a-z]+=*$/i,xt=(e,t)=>{const n=e.nodeName.toLowerCase();if(t.includes(n))return!St.has(n)||Boolean(Et.test(e.nodeValue)||Tt.test(e.nodeValue));const i=t.filter((e=>e instanceof RegExp));for(let e=0,t=i.length;e{xt(e,s)||n.removeAttribute(e.nodeName)}))}return i.body.innerHTML}const kt=\"tooltip\",Dt=new Set([\"sanitize\",\"allowList\",\"sanitizeFn\"]),At={animation:\"boolean\",template:\"string\",title:\"(string|element|function)\",trigger:\"string\",delay:\"(number|object)\",html:\"boolean\",selector:\"(string|boolean)\",placement:\"(string|function)\",offset:\"(array|string|function)\",container:\"(string|element|boolean)\",fallbackPlacements:\"array\",boundary:\"(string|element)\",customClass:\"(string|function)\",sanitize:\"boolean\",sanitizeFn:\"(null|function)\",allowList:\"object\",popperConfig:\"(null|object|function)\"},It={AUTO:\"auto\",TOP:\"top\",RIGHT:y()?\"left\":\"right\",BOTTOM:\"bottom\",LEFT:y()?\"right\":\"left\"},Mt={animation:!0,template:'
',trigger:\"hover focus\",title:\"\",delay:0,html:!1,selector:!1,placement:\"top\",offset:[0,0],container:!1,fallbackPlacements:[\"top\",\"right\",\"bottom\",\"left\"],boundary:\"clippingParents\",customClass:\"\",sanitize:!0,sanitizeFn:null,allowList:Ct,popperConfig:null},Ot={HIDE:\"hide.bs.tooltip\",HIDDEN:\"hidden.bs.tooltip\",SHOW:\"show.bs.tooltip\",SHOWN:\"shown.bs.tooltip\",INSERTED:\"inserted.bs.tooltip\",CLICK:\"click.bs.tooltip\",FOCUSIN:\"focusin.bs.tooltip\",FOCUSOUT:\"focusout.bs.tooltip\",MOUSEENTER:\"mouseenter.bs.tooltip\",MOUSELEAVE:\"mouseleave.bs.tooltip\"},Rt=\"fade\",Pt=\"show\",Lt=\"show\",Nt=\"out\",Ht=\".tooltip-inner\",jt=\".modal\",zt=\"hide.bs.modal\",$t=\"hover\",qt=\"focus\";class Bt extends q{constructor(e,t){if(void 0===n)throw new TypeError(\"Bootstrap's tooltips require Popper (https://popper.js.org)\");super(e),this._isEnabled=!0,this._timeout=0,this._hoverState=\"\",this._activeTrigger={},this._popper=null,this._config=this._getConfig(t),this.tip=null,this._setListeners()}static get Default(){return Mt}static get NAME(){return kt}static get Event(){return Ot}static get DefaultType(){return At}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(e){if(this._isEnabled)if(e){const t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(Pt))return void this._leave(null,this);this._enter(null,this)}}dispose(){clearTimeout(this._timeout),j.off(this._element.closest(jt),zt,this._hideModalHandler),this.tip&&this.tip.remove(),this._disposePopper(),super.dispose()}show(){if(\"none\"===this._element.style.display)throw new Error(\"Please use show on visible elements\");if(!this.isWithContent()||!this._isEnabled)return;const e=j.trigger(this._element,this.constructor.Event.SHOW),t=p(this._element),i=null===t?this._element.ownerDocument.documentElement.contains(this._element):t.contains(this._element);if(e.defaultPrevented||!i)return;\"tooltip\"===this.constructor.NAME&&this.tip&&this.getTitle()!==this.tip.querySelector(Ht).innerHTML&&(this._disposePopper(),this.tip.remove(),this.tip=null);const r=this.getTipElement(),o=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME);r.setAttribute(\"id\",o),this._element.setAttribute(\"aria-describedby\",o),this._config.animation&&r.classList.add(Rt);const s=\"function\"==typeof this._config.placement?this._config.placement.call(this,r,this._element):this._config.placement,a=this._getAttachment(s);this._addAttachmentClass(a);const{container:l}=this._config;$.set(r,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(l.append(r),j.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=n.createPopper(this._element,r,this._getPopperConfig(a)),r.classList.add(Pt);const c=this._resolvePossibleFunction(this._config.customClass);c&&r.classList.add(...c.split(\" \")),\"ontouchstart\"in document.documentElement&&[].concat(...document.body.children).forEach((e=>{j.on(e,\"mouseover\",f)}));const d=this.tip.classList.contains(Rt);this._queueCallback((()=>{const e=this._hoverState;this._hoverState=null,j.trigger(this._element,this.constructor.Event.SHOWN),e===Nt&&this._leave(null,this)}),this.tip,d)}hide(){if(!this._popper)return;const e=this.getTipElement();if(j.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented)return;e.classList.remove(Pt),\"ontouchstart\"in document.documentElement&&[].concat(...document.body.children).forEach((e=>j.off(e,\"mouseover\",f))),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;const t=this.tip.classList.contains(Rt);this._queueCallback((()=>{this._isWithActiveTrigger()||(this._hoverState!==Lt&&e.remove(),this._cleanTipClass(),this._element.removeAttribute(\"aria-describedby\"),j.trigger(this._element,this.constructor.Event.HIDDEN),this._disposePopper())}),this.tip,t),this._hoverState=\"\"}update(){null!==this._popper&&this._popper.update()}isWithContent(){return Boolean(this.getTitle())}getTipElement(){if(this.tip)return this.tip;const e=document.createElement(\"div\");e.innerHTML=this._config.template;const t=e.children[0];return this.setContent(t),t.classList.remove(Rt,Pt),this.tip=t,this.tip}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),Ht)}_sanitizeAndSetContent(e,t,n){const i=G.findOne(n,e);t||!i?this.setElementContent(i,t):i.remove()}setElementContent(e,t){if(null!==e)return l(t)?(t=c(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML=\"\",e.append(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=_t(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}getTitle(){const e=this._element.getAttribute(\"data-bs-original-title\")||this._config.title;return this._resolvePossibleFunction(e)}updateAttachment(e){return\"right\"===e?\"end\":\"left\"===e?\"start\":e}_initializeOnDelegatedTarget(e,t){return t||this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_getOffset(){const{offset:e}=this._config;return\"string\"==typeof e?e.split(\",\").map((e=>Number.parseInt(e,10))):\"function\"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return\"function\"==typeof e?e.call(this._element):e}_getPopperConfig(e){const t={placement:e,modifiers:[{name:\"flip\",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:\"offset\",options:{offset:this._getOffset()}},{name:\"preventOverflow\",options:{boundary:this._config.boundary}},{name:\"arrow\",options:{element:`.${this.constructor.NAME}-arrow`}},{name:\"onChange\",enabled:!0,phase:\"afterWrite\",fn:e=>this._handlePopperPlacementChange(e)}],onFirstUpdate:e=>{e.options.placement!==e.placement&&this._handlePopperPlacementChange(e)}};return{...t,...\"function\"==typeof this._config.popperConfig?this._config.popperConfig(t):this._config.popperConfig}}_addAttachmentClass(e){this.getTipElement().classList.add(`${this._getBasicClassPrefix()}-${this.updateAttachment(e)}`)}_getAttachment(e){return It[e.toUpperCase()]}_setListeners(){this._config.trigger.split(\" \").forEach((e=>{if(\"click\"===e)j.on(this._element,this.constructor.Event.CLICK,this._config.selector,(e=>this.toggle(e)));else if(\"manual\"!==e){const t=e===$t?this.constructor.Event.MOUSEENTER:this.constructor.Event.FOCUSIN,n=e===$t?this.constructor.Event.MOUSELEAVE:this.constructor.Event.FOCUSOUT;j.on(this._element,t,this._config.selector,(e=>this._enter(e))),j.on(this._element,n,this._config.selector,(e=>this._leave(e)))}})),this._hideModalHandler=()=>{this._element&&this.hide()},j.on(this._element.closest(jt),zt,this._hideModalHandler),this._config.selector?this._config={...this._config,trigger:\"manual\",selector:\"\"}:this._fixTitle()}_fixTitle(){const e=this._element.getAttribute(\"title\"),t=typeof this._element.getAttribute(\"data-bs-original-title\");(e||\"string\"!==t)&&(this._element.setAttribute(\"data-bs-original-title\",e||\"\"),!e||this._element.getAttribute(\"aria-label\")||this._element.textContent||this._element.setAttribute(\"aria-label\",e),this._element.setAttribute(\"title\",\"\"))}_enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger[\"focusin\"===e.type?qt:$t]=!0),t.getTipElement().classList.contains(Pt)||t._hoverState===Lt?t._hoverState=Lt:(clearTimeout(t._timeout),t._hoverState=Lt,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((()=>{t._hoverState===Lt&&t.show()}),t._config.delay.show):t.show())}_leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger[\"focusout\"===e.type?qt:$t]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=Nt,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((()=>{t._hoverState===Nt&&t.hide()}),t._config.delay.hide):t.hide())}_isWithActiveTrigger(){for(const e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}_getConfig(e){const t=X.getDataAttributes(this._element);return Object.keys(t).forEach((e=>{Dt.has(e)&&delete t[e]})),(e={...this.constructor.Default,...t,...\"object\"==typeof e&&e?e:{}}).container=!1===e.container?document.body:c(e.container),\"number\"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),\"number\"==typeof e.title&&(e.title=e.title.toString()),\"number\"==typeof e.content&&(e.content=e.content.toString()),d(kt,e,this.constructor.DefaultType),e.sanitize&&(e.template=_t(e.template,e.allowList,e.sanitizeFn)),e}_getDelegateConfig(){const e={};for(const t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}_cleanTipClass(){const e=this.getTipElement(),t=new RegExp(`(^|\\\\s)${this._getBasicClassPrefix()}\\\\S+`,\"g\"),n=e.getAttribute(\"class\").match(t);null!==n&&n.length>0&&n.map((e=>e.trim())).forEach((t=>e.classList.remove(t)))}_getBasicClassPrefix(){return\"bs-tooltip\"}_handlePopperPlacementChange(e){const{state:t}=e;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null)}static jQueryInterface(e){return this.each((function(){const t=Bt.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e]()}}))}}b(Bt);const Wt={...Bt.Default,placement:\"right\",offset:[0,8],trigger:\"click\",content:\"\",template:'

'},Ut={...Bt.DefaultType,content:\"(string|element|function)\"},Vt={HIDE:\"hide.bs.popover\",HIDDEN:\"hidden.bs.popover\",SHOW:\"show.bs.popover\",SHOWN:\"shown.bs.popover\",INSERTED:\"inserted.bs.popover\",CLICK:\"click.bs.popover\",FOCUSIN:\"focusin.bs.popover\",FOCUSOUT:\"focusout.bs.popover\",MOUSEENTER:\"mouseenter.bs.popover\",MOUSELEAVE:\"mouseleave.bs.popover\"};class Ft extends Bt{static get Default(){return Wt}static get NAME(){return\"popover\"}static get Event(){return Vt}static get DefaultType(){return Ut}isWithContent(){return this.getTitle()||this._getContent()}setContent(e){this._sanitizeAndSetContent(e,this.getTitle(),\".popover-header\"),this._sanitizeAndSetContent(e,this._getContent(),\".popover-body\")}_getContent(){return this._resolvePossibleFunction(this._config.content)}_getBasicClassPrefix(){return\"bs-popover\"}static jQueryInterface(e){return this.each((function(){const t=Ft.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e]()}}))}}b(Ft);const Yt=\"scrollspy\",Xt=\".bs.scrollspy\",Gt={offset:10,method:\"auto\",target:\"\"},Zt={offset:\"number\",method:\"string\",target:\"(string|element)\"},Kt=\"dropdown-item\",Qt=\"active\",Jt=\".nav-link\",en=\".nav-link, .list-group-item, .dropdown-item\",tn=\"position\";class nn extends q{constructor(e,t){super(e),this._scrollElement=\"BODY\"===this._element.tagName?window:this._element,this._config=this._getConfig(t),this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,j.on(this._scrollElement,\"scroll.bs.scrollspy\",(()=>this._process())),this.refresh(),this._process()}static get Default(){return Gt}static get NAME(){return Yt}refresh(){const e=this._scrollElement===this._scrollElement.window?\"offset\":tn,t=\"auto\"===this._config.method?e:this._config.method,n=t===tn?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),G.find(en,this._config.target).map((e=>{const i=o(e),r=i?G.findOne(i):null;if(r){const e=r.getBoundingClientRect();if(e.width||e.height)return[X[t](r).top+n,i]}return null})).filter((e=>e)).sort(((e,t)=>e[0]-t[0])).forEach((e=>{this._offsets.push(e[0]),this._targets.push(e[1])}))}dispose(){j.off(this._scrollElement,Xt),super.dispose()}_getConfig(e){return(e={...Gt,...X.getDataAttributes(this._element),...\"object\"==typeof e&&e?e:{}}).target=c(e.target)||document.documentElement,d(Yt,e,Zt),e}_getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}_getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}_getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}_process(){const e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){const e=this._targets[this._targets.length-1];this._activeTarget!==e&&this._activate(e)}else{if(this._activeTarget&&e0)return this._activeTarget=null,void this._clear();for(let t=this._offsets.length;t--;)this._activeTarget!==this._targets[t]&&e>=this._offsets[t]&&(void 0===this._offsets[t+1]||e`${t}[data-bs-target=\"${e}\"],${t}[href=\"${e}\"]`)),n=G.findOne(t.join(\",\"),this._config.target);n.classList.add(Qt),n.classList.contains(Kt)?G.findOne(\".dropdown-toggle\",n.closest(\".dropdown\")).classList.add(Qt):G.parents(n,\".nav, .list-group\").forEach((e=>{G.prev(e,\".nav-link, .list-group-item\").forEach((e=>e.classList.add(Qt))),G.prev(e,\".nav-item\").forEach((e=>{G.children(e,Jt).forEach((e=>e.classList.add(Qt)))}))})),j.trigger(this._scrollElement,\"activate.bs.scrollspy\",{relatedTarget:e})}_clear(){G.find(en,this._config.target).filter((e=>e.classList.contains(Qt))).forEach((e=>e.classList.remove(Qt)))}static jQueryInterface(e){return this.each((function(){const t=nn.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e]()}}))}}j.on(window,\"load.bs.scrollspy.data-api\",(()=>{G.find('[data-bs-spy=\"scroll\"]').forEach((e=>new nn(e)))})),b(nn);const rn=\"active\",on=\"fade\",sn=\"show\",an=\".active\",ln=\":scope > li > .active\";class cn extends q{static get NAME(){return\"tab\"}show(){if(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&this._element.classList.contains(rn))return;let e;const t=s(this._element),n=this._element.closest(\".nav, .list-group\");if(n){const t=\"UL\"===n.nodeName||\"OL\"===n.nodeName?ln:an;e=G.find(t,n),e=e[e.length-1]}const i=e?j.trigger(e,\"hide.bs.tab\",{relatedTarget:this._element}):null;if(j.trigger(this._element,\"show.bs.tab\",{relatedTarget:e}).defaultPrevented||null!==i&&i.defaultPrevented)return;this._activate(this._element,n);const r=()=>{j.trigger(e,\"hidden.bs.tab\",{relatedTarget:this._element}),j.trigger(this._element,\"shown.bs.tab\",{relatedTarget:e})};t?this._activate(t,t.parentNode,r):r()}_activate(e,t,n){const i=(!t||\"UL\"!==t.nodeName&&\"OL\"!==t.nodeName?G.children(t,an):G.find(ln,t))[0],r=n&&i&&i.classList.contains(on),o=()=>this._transitionComplete(e,i,n);i&&r?(i.classList.remove(sn),this._queueCallback(o,e,!0)):o()}_transitionComplete(e,t,n){if(t){t.classList.remove(rn);const e=G.findOne(\":scope > .dropdown-menu .active\",t.parentNode);e&&e.classList.remove(rn),\"tab\"===t.getAttribute(\"role\")&&t.setAttribute(\"aria-selected\",!1)}e.classList.add(rn),\"tab\"===e.getAttribute(\"role\")&&e.setAttribute(\"aria-selected\",!0),g(e),e.classList.contains(on)&&e.classList.add(sn);let i=e.parentNode;if(i&&\"LI\"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains(\"dropdown-menu\")){const t=e.closest(\".dropdown\");t&&G.find(\".dropdown-toggle\",t).forEach((e=>e.classList.add(rn))),e.setAttribute(\"aria-expanded\",!0)}n&&n()}static jQueryInterface(e){return this.each((function(){const t=cn.getOrCreateInstance(this);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e]()}}))}}j.on(document,\"click.bs.tab.data-api\",'[data-bs-toggle=\"tab\"], [data-bs-toggle=\"pill\"], [data-bs-toggle=\"list\"]',(function(e){[\"A\",\"AREA\"].includes(this.tagName)&&e.preventDefault(),h(this)||cn.getOrCreateInstance(this).show()})),b(cn);const dn=\"toast\",un=\"hide\",hn=\"show\",pn=\"showing\",fn={animation:\"boolean\",autohide:\"boolean\",delay:\"number\"},gn={animation:!0,autohide:!0,delay:5e3};class vn extends q{constructor(e,t){super(e),this._config=this._getConfig(t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get DefaultType(){return fn}static get Default(){return gn}static get NAME(){return dn}show(){j.trigger(this._element,\"show.bs.toast\").defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add(\"fade\"),this._element.classList.remove(un),g(this._element),this._element.classList.add(hn),this._element.classList.add(pn),this._queueCallback((()=>{this._element.classList.remove(pn),j.trigger(this._element,\"shown.bs.toast\"),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this._element.classList.contains(hn)&&(j.trigger(this._element,\"hide.bs.toast\").defaultPrevented||(this._element.classList.add(pn),this._queueCallback((()=>{this._element.classList.add(un),this._element.classList.remove(pn),this._element.classList.remove(hn),j.trigger(this._element,\"hidden.bs.toast\")}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this._element.classList.contains(hn)&&this._element.classList.remove(hn),super.dispose()}_getConfig(e){return e={...gn,...X.getDataAttributes(this._element),...\"object\"==typeof e&&e?e:{}},d(dn,e,this.constructor.DefaultType),e}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case\"mouseover\":case\"mouseout\":this._hasMouseInteraction=t;break;case\"focusin\":case\"focusout\":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){j.on(this._element,\"mouseover.bs.toast\",(e=>this._onInteraction(e,!0))),j.on(this._element,\"mouseout.bs.toast\",(e=>this._onInteraction(e,!1))),j.on(this._element,\"focusin.bs.toast\",(e=>this._onInteraction(e,!0))),j.on(this._element,\"focusout.bs.toast\",(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=vn.getOrCreateInstance(this,e);if(\"string\"==typeof e){if(void 0===t[e])throw new TypeError(`No method named \"${e}\"`);t[e](this)}}))}}return B(vn),b(vn),{Alert:W,Button:V,Carousel:ae,Collapse:ye,Dropdown:je,Modal:pt,Offcanvas:wt,Popover:Ft,ScrollSpy:nn,Tab:cn,Toast:vn,Tooltip:Bt}},\"object\"==typeof n&&void 0!==t?t.exports=r(e(\"@popperjs/core\")):\"function\"==typeof define&&define.amd?define([\"@popperjs/core\"],r):(i=\"undefined\"!=typeof globalThis?globalThis:i||self).bootstrap=r(i.Popper)},{\"@popperjs/core\":12}],14:[function(e,t,n){var i,r;i=this,r=function(){\"use strict\";function e(t){return(e=\"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})(t)}function t(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}function n(e,t){for(var n=0;n1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=e[r]=e[r]||[],o={all:i,evt:null,found:null};return t&&n&&M(i)>0&&s(i,(function(e,i){if(e.eventName==t&&e.fn.toString()==n.toString())return o.found=!0,o.evt=i,!1})),o}function l(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.onElement,i=t.withCallback,r=t.avoidDuplicate,o=void 0===r||r,l=t.once,c=void 0!==l&&l,d=t.useCapture,u=void 0!==d&&d,h=arguments.length>2?arguments[2]:void 0,p=n||[];function f(e){T(i)&&i.call(h,e,this),c&&f.destroy()}return x(p)&&(p=document.querySelectorAll(p)),f.destroy=function(){s(p,(function(t){var n=a(t,e,f);n.found&&n.all.splice(n.evt,1),t.removeEventListener&&t.removeEventListener(e,f,u)}))},s(p,(function(t){var n=a(t,e,f);(t.addEventListener&&o&&!n.found||!o)&&(t.addEventListener(e,f,u),n.all.push({eventName:e,fn:f}))})),f}function c(e,t){s(t.split(\" \"),(function(t){return e.classList.add(t)}))}function d(e,t){s(t.split(\" \"),(function(t){return e.classList.remove(t)}))}function u(e,t){return e.classList.contains(t)}function h(e,t){for(;e!==document.body;){if(!(e=e.parentElement))return!1;if(\"function\"==typeof e.matches?e.matches(t):e.msMatchesSelector(t))return e}}function p(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||\"\"===t)return!1;if(\"none\"===t)return T(n)&&n(),!1;var i=b(),r=t.split(\" \");s(r,(function(t){c(e,\"g\"+t)})),l(i,{onElement:e,avoidDuplicate:!1,once:!0,withCallback:function(e,t){s(r,(function(e){d(t,\"g\"+e)})),T(n)&&n()}})}function f(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:\"\";if(\"\"===t)return e.style.webkitTransform=\"\",e.style.MozTransform=\"\",e.style.msTransform=\"\",e.style.OTransform=\"\",e.style.transform=\"\",!1;e.style.webkitTransform=t,e.style.MozTransform=t,e.style.msTransform=t,e.style.OTransform=t,e.style.transform=t}function g(e){e.style.display=\"block\"}function v(e){e.style.display=\"none\"}function m(e){var t=document.createDocumentFragment(),n=document.createElement(\"div\");for(n.innerHTML=e;n.firstChild;)t.appendChild(n.firstChild);return t}function y(){return{width:window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,height:window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight}}function b(){var e,t=document.createElement(\"fakeelement\"),n={animation:\"animationend\",OAnimation:\"oAnimationEnd\",MozAnimation:\"animationend\",WebkitAnimation:\"webkitAnimationEnd\"};for(e in n)if(void 0!==t.style[e])return n[e]}function w(e,t,n,i){if(e())t();else{var r;n||(n=100);var o=setInterval((function(){e()&&(clearInterval(o),r&&clearTimeout(r),t())}),n);i&&(r=setTimeout((function(){clearInterval(o)}),i))}}function S(e,t,n){if(A(e))console.error(\"Inject assets error\");else if(T(t)&&(n=t,t=!1),x(t)&&t in window)T(n)&&n();else{var i;if(-1!==e.indexOf(\".css\")){if((i=document.querySelectorAll('link[href=\"'+e+'\"]'))&&i.length>0)return void(T(n)&&n());var r=document.getElementsByTagName(\"head\")[0],o=r.querySelectorAll('link[rel=\"stylesheet\"]'),s=document.createElement(\"link\");return s.rel=\"stylesheet\",s.type=\"text/css\",s.href=e,s.media=\"all\",o?r.insertBefore(s,o[0]):r.appendChild(s),void(T(n)&&n())}if((i=document.querySelectorAll('script[src=\"'+e+'\"]'))&&i.length>0){if(T(n)){if(x(t))return w((function(){return void 0!==window[t]}),(function(){n()})),!1;n()}}else{var a=document.createElement(\"script\");a.type=\"text/javascript\",a.src=e,a.onload=function(){if(T(n)){if(x(t))return w((function(){return void 0!==window[t]}),(function(){n()})),!1;n()}},document.body.appendChild(a)}}}function E(){return\"navigator\"in window&&window.navigator.userAgent.match(/(iPad)|(iPhone)|(iPod)|(Android)|(PlayBook)|(BB10)|(BlackBerry)|(Opera Mini)|(IEMobile)|(webOS)|(MeeGo)/i)}function T(e){return\"function\"==typeof e}function x(e){return\"string\"==typeof e}function C(e){return!(!e||!e.nodeType||1!=e.nodeType)}function _(e){return Array.isArray(e)}function k(e){return e&&e.length&&isFinite(e.length)}function D(t){return\"object\"===e(t)&&null!=t&&!T(t)&&!_(t)}function A(e){return null==e}function I(e,t){return null!==e&&hasOwnProperty.call(e,t)}function M(e){if(D(e)){if(e.keys)return e.keys().length;var t=0;for(var n in e)I(e,n)&&t++;return t}return e.length}function O(e){return!isNaN(parseFloat(e))&&isFinite(e)}function R(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1,t=document.querySelectorAll(\".gbtn[data-taborder]:not(.disabled)\");if(!t.length)return!1;if(1==t.length)return t[0];\"string\"==typeof e&&(e=parseInt(e));var n=[];s(t,(function(e){n.push(e.getAttribute(\"data-taborder\"))}));var i=Math.max.apply(Math,n.map((function(e){return parseInt(e)}))),r=e<0?1:e+1;r>i&&(r=\"1\");var o=n.filter((function(e){return e>=parseInt(r)})),a=o.sort()[0];return document.querySelector('.gbtn[data-taborder=\"'.concat(a,'\"]'))}function P(e){if(e.events.hasOwnProperty(\"keyboard\"))return!1;e.events.keyboard=l(\"keydown\",{onElement:window,withCallback:function(t,n){var i=(t=t||window.event).keyCode;if(9==i){var r=document.querySelector(\".gbtn.focused\");if(!r){var o=!(!document.activeElement||!document.activeElement.nodeName)&&document.activeElement.nodeName.toLocaleLowerCase();if(\"input\"==o||\"textarea\"==o||\"button\"==o)return}t.preventDefault();var s=document.querySelectorAll(\".gbtn[data-taborder]\");if(!s||s.length<=0)return;if(!r){var a=R();return void(a&&(a.focus(),c(a,\"focused\")))}var l=R(r.getAttribute(\"data-taborder\"));d(r,\"focused\"),l&&(l.focus(),c(l,\"focused\"))}39==i&&e.nextSlide(),37==i&&e.prevSlide(),27==i&&e.close()}})}function L(e){return Math.sqrt(e.x*e.x+e.y*e.y)}var N=function(){function e(n){t(this,e),this.handlers=[],this.el=n}return i(e,[{key:\"add\",value:function(e){this.handlers.push(e)}},{key:\"del\",value:function(e){e||(this.handlers=[]);for(var t=this.handlers.length;t>=0;t--)this.handlers[t]===e&&this.handlers.splice(t,1)}},{key:\"dispatch\",value:function(){for(var e=0,t=this.handlers.length;e=0)console.log(\"ignore drag for this touched element\",e.target.nodeName.toLowerCase());else{this.now=Date.now(),this.x1=e.touches[0].pageX,this.y1=e.touches[0].pageY,this.delta=this.now-(this.last||this.now),this.touchStart.dispatch(e,this.element),null!==this.preTapPosition.x&&(this.isDoubleTap=this.delta>0&&this.delta<=250&&Math.abs(this.preTapPosition.x-this.x1)<30&&Math.abs(this.preTapPosition.y-this.y1)<30,this.isDoubleTap&&clearTimeout(this.singleTapTimeout)),this.preTapPosition.x=this.x1,this.preTapPosition.y=this.y1,this.last=this.now;var t=this.preV;if(e.touches.length>1){this._cancelLongTap(),this._cancelSingleTap();var n={x:e.touches[1].pageX-this.x1,y:e.touches[1].pageY-this.y1};t.x=n.x,t.y=n.y,this.pinchStartLen=L(t),this.multipointStart.dispatch(e,this.element)}this._preventTap=!1,this.longTapTimeout=setTimeout(function(){this.longTap.dispatch(e,this.element),this._preventTap=!0}.bind(this),750)}}},{key:\"move\",value:function(e){if(e.touches){var t=this.preV,n=e.touches.length,i=e.touches[0].pageX,r=e.touches[0].pageY;if(this.isDoubleTap=!1,n>1){var o=e.touches[1].pageX,s=e.touches[1].pageY,a={x:e.touches[1].pageX-i,y:e.touches[1].pageY-r};null!==t.x&&(this.pinchStartLen>0&&(e.zoom=L(a)/this.pinchStartLen,this.pinch.dispatch(e,this.element)),e.angle=function(e,t){var n=function(e,t){var n=L(e)*L(t);if(0===n)return 0;var i=function(e,t){return e.x*t.x+e.y*t.y}(e,t)/n;return i>1&&(i=1),Math.acos(i)}(e,t);return function(e,t){return e.x*t.y-t.x*e.y}(e,t)>0&&(n*=-1),180*n/Math.PI}(a,t),this.rotate.dispatch(e,this.element)),t.x=a.x,t.y=a.y,null!==this.x2&&null!==this.sx2?(e.deltaX=(i-this.x2+o-this.sx2)/2,e.deltaY=(r-this.y2+s-this.sy2)/2):(e.deltaX=0,e.deltaY=0),this.twoFingerPressMove.dispatch(e,this.element),this.sx2=o,this.sy2=s}else{if(null!==this.x2){e.deltaX=i-this.x2,e.deltaY=r-this.y2;var l=Math.abs(this.x1-this.x2),c=Math.abs(this.y1-this.y2);(l>10||c>10)&&(this._preventTap=!0)}else e.deltaX=0,e.deltaY=0;this.pressMove.dispatch(e,this.element)}this.touchMove.dispatch(e,this.element),this._cancelLongTap(),this.x2=i,this.y2=r,n>1&&e.preventDefault()}}},{key:\"end\",value:function(e){if(e.changedTouches){this._cancelLongTap();var t=this;e.touches.length<2&&(this.multipointEnd.dispatch(e,this.element),this.sx2=this.sy2=null),this.x2&&Math.abs(this.x1-this.x2)>30||this.y2&&Math.abs(this.y1-this.y2)>30?(e.direction=this._swipeDirection(this.x1,this.x2,this.y1,this.y2),this.swipeTimeout=setTimeout((function(){t.swipe.dispatch(e,t.element)}),0)):(this.tapTimeout=setTimeout((function(){t._preventTap||t.tap.dispatch(e,t.element),t.isDoubleTap&&(t.doubleTap.dispatch(e,t.element),t.isDoubleTap=!1)}),0),t.isDoubleTap||(t.singleTapTimeout=setTimeout((function(){t.singleTap.dispatch(e,t.element)}),250))),this.touchEnd.dispatch(e,this.element),this.preV.x=0,this.preV.y=0,this.zoom=1,this.pinchStartLen=null,this.x1=this.x2=this.y1=this.y2=null}}},{key:\"cancelAll\",value:function(){this._preventTap=!0,clearTimeout(this.singleTapTimeout),clearTimeout(this.tapTimeout),clearTimeout(this.longTapTimeout),clearTimeout(this.swipeTimeout)}},{key:\"cancel\",value:function(e){this.cancelAll(),this.touchCancel.dispatch(e,this.element)}},{key:\"_cancelLongTap\",value:function(){clearTimeout(this.longTapTimeout)}},{key:\"_cancelSingleTap\",value:function(){clearTimeout(this.singleTapTimeout)}},{key:\"_swipeDirection\",value:function(e,t,n,i){return Math.abs(e-t)>=Math.abs(n-i)?e-t>0?\"Left\":\"Right\":n-i>0?\"Up\":\"Down\"}},{key:\"on\",value:function(e,t){this[e]&&this[e].add(t)}},{key:\"off\",value:function(e,t){this[e]&&this[e].del(t)}},{key:\"destroy\",value:function(){return this.singleTapTimeout&&clearTimeout(this.singleTapTimeout),this.tapTimeout&&clearTimeout(this.tapTimeout),this.longTapTimeout&&clearTimeout(this.longTapTimeout),this.swipeTimeout&&clearTimeout(this.swipeTimeout),this.element.removeEventListener(\"touchstart\",this.start),this.element.removeEventListener(\"touchmove\",this.move),this.element.removeEventListener(\"touchend\",this.end),this.element.removeEventListener(\"touchcancel\",this.cancel),this.rotate.del(),this.touchStart.del(),this.multipointStart.del(),this.multipointEnd.del(),this.pinch.del(),this.swipe.del(),this.tap.del(),this.doubleTap.del(),this.longTap.del(),this.singleTap.del(),this.pressMove.del(),this.twoFingerPressMove.del(),this.touchMove.del(),this.touchEnd.del(),this.touchCancel.del(),this.preV=this.pinchStartLen=this.zoom=this.isDoubleTap=this.delta=this.last=this.now=this.tapTimeout=this.singleTapTimeout=this.longTapTimeout=this.swipeTimeout=this.x1=this.x2=this.y1=this.y2=this.preTapPosition=this.rotate=this.touchStart=this.multipointStart=this.multipointEnd=this.pinch=this.swipe=this.tap=this.doubleTap=this.longTap=this.singleTap=this.pressMove=this.touchMove=this.touchEnd=this.touchCancel=this.twoFingerPressMove=null,window.removeEventListener(\"scroll\",this._cancelAllHandler),null}}]),e}();function z(e){var t=function(){var e,t=document.createElement(\"fakeelement\"),n={transition:\"transitionend\",OTransition:\"oTransitionEnd\",MozTransition:\"transitionend\",WebkitTransition:\"webkitTransitionEnd\"};for(e in n)if(void 0!==t.style[e])return n[e]}(),n=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,i=u(e,\"gslide-media\")?e:e.querySelector(\".gslide-media\"),r=h(i,\".ginner-container\"),o=e.querySelector(\".gslide-description\");n>769&&(i=r),c(i,\"greset\"),f(i,\"translate3d(0, 0, 0)\"),l(t,{onElement:i,once:!0,withCallback:function(e,t){d(i,\"greset\")}}),i.style.opacity=\"\",o&&(o.style.opacity=\"\")}function $(e){if(e.events.hasOwnProperty(\"touch\"))return!1;var t,n,i,r=y(),o=r.width,s=r.height,a=!1,l=null,p=null,g=null,v=!1,m=1,b=1,w=!1,S=!1,E=null,T=null,x=null,C=null,_=0,k=0,D=!1,A=!1,I={},M={},O=0,R=0,P=document.getElementById(\"glightbox-slider\"),L=document.querySelector(\".goverlay\"),N=new j(P,{touchStart:function(t){if(a=!0,(u(t.targetTouches[0].target,\"ginner-container\")||h(t.targetTouches[0].target,\".gslide-desc\")||\"a\"==t.targetTouches[0].target.nodeName.toLowerCase())&&(a=!1),h(t.targetTouches[0].target,\".gslide-inline\")&&!u(t.targetTouches[0].target.parentNode,\"gslide-inline\")&&(a=!1),a){if(M=t.targetTouches[0],I.pageX=t.targetTouches[0].pageX,I.pageY=t.targetTouches[0].pageY,O=t.targetTouches[0].clientX,R=t.targetTouches[0].clientY,l=e.activeSlide,p=l.querySelector(\".gslide-media\"),i=l.querySelector(\".gslide-inline\"),g=null,u(p,\"gslide-image\")&&(g=p.querySelector(\"img\")),(window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth)>769&&(p=l.querySelector(\".ginner-container\")),d(L,\"greset\"),t.pageX>20&&t.pageXs){var l=I.pageX-M.pageX;if(Math.abs(l)<=13)return!1}v=!0;var c,d=r.targetTouches[0].clientX,u=r.targetTouches[0].clientY,h=O-d,m=R-u;if(Math.abs(h)>Math.abs(m)?(D=!1,A=!0):(A=!1,D=!0),t=M.pageX-I.pageX,_=100*t/o,n=M.pageY-I.pageY,k=100*n/s,D&&g&&(c=1-Math.abs(n)/s,L.style.opacity=c,e.settings.touchFollowAxis&&(_=0)),A&&(c=1-Math.abs(t)/o,p.style.opacity=c,e.settings.touchFollowAxis&&(k=0)),!g)return f(p,\"translate3d(\".concat(_,\"%, 0, 0)\"));f(p,\"translate3d(\".concat(_,\"%, \").concat(k,\"%, 0)\"))}},touchEnd:function(){if(a){if(v=!1,S||w)return x=E,void(C=T);var t=Math.abs(parseInt(k)),n=Math.abs(parseInt(_));if(!(t>29&&g))return t<29&&n<25?(c(L,\"greset\"),L.style.opacity=1,z(p)):void 0;e.close()}},multipointEnd:function(){setTimeout((function(){w=!1}),50)},multipointStart:function(){w=!0,m=b||1},pinch:function(e){if(!g||v)return!1;w=!0,g.scaleX=g.scaleY=m*e.zoom;var t=m*e.zoom;if(S=!0,t<=1)return S=!1,t=1,C=null,x=null,E=null,T=null,void g.setAttribute(\"style\",\"\");t>4.5&&(t=4.5),g.style.transform=\"scale3d(\".concat(t,\", \").concat(t,\", 1)\"),b=t},pressMove:function(e){if(S&&!w){var t=M.pageX-I.pageX,n=M.pageY-I.pageY;x&&(t+=x),C&&(n+=C),E=t,T=n;var i=\"translate3d(\".concat(t,\"px, \").concat(n,\"px, 0)\");b&&(i+=\" scale3d(\".concat(b,\", \").concat(b,\", 1)\")),f(g,i)}},swipe:function(t){if(!S)if(w)w=!1;else{if(\"Left\"==t.direction){if(e.index==e.elements.length-1)return z(p);e.nextSlide()}if(\"Right\"==t.direction){if(0==e.index)return z(p);e.prevSlide()}}}});e.events.touch=N}var q=function(){function e(n,i){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(t(this,e),this.img=n,this.slide=i,this.onclose=o,this.img.setZoomEvents)return!1;this.active=!1,this.zoomedIn=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.img.addEventListener(\"mousedown\",(function(e){return r.dragStart(e)}),!1),this.img.addEventListener(\"mouseup\",(function(e){return r.dragEnd(e)}),!1),this.img.addEventListener(\"mousemove\",(function(e){return r.drag(e)}),!1),this.img.addEventListener(\"click\",(function(e){return r.slide.classList.contains(\"dragging-nav\")?(r.zoomOut(),!1):r.zoomedIn?void(r.zoomedIn&&!r.dragging&&r.zoomOut()):r.zoomIn()}),!1),this.img.setZoomEvents=!0}return i(e,[{key:\"zoomIn\",value:function(){var e=this.widowWidth();if(!(this.zoomedIn||e<=768)){var t=this.img;if(t.setAttribute(\"data-style\",t.getAttribute(\"style\")),t.style.maxWidth=t.naturalWidth+\"px\",t.style.maxHeight=t.naturalHeight+\"px\",t.naturalWidth>e){var n=e/2-t.naturalWidth/2;this.setTranslate(this.img.parentNode,n,0)}this.slide.classList.add(\"zoomed\"),this.zoomedIn=!0}}},{key:\"zoomOut\",value:function(){this.img.parentNode.setAttribute(\"style\",\"\"),this.img.setAttribute(\"style\",this.img.getAttribute(\"data-style\")),this.slide.classList.remove(\"zoomed\"),this.zoomedIn=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.onclose&&\"function\"==typeof this.onclose&&this.onclose()}},{key:\"dragStart\",value:function(e){e.preventDefault(),this.zoomedIn?(\"touchstart\"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset),e.target===this.img&&(this.active=!0,this.img.classList.add(\"dragging\"))):this.active=!1}},{key:\"dragEnd\",value:function(e){var t=this;e.preventDefault(),this.initialX=this.currentX,this.initialY=this.currentY,this.active=!1,setTimeout((function(){t.dragging=!1,t.img.isDragging=!1,t.img.classList.remove(\"dragging\")}),100)}},{key:\"drag\",value:function(e){this.active&&(e.preventDefault(),\"touchmove\"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.img.isDragging=!0,this.dragging=!0,this.setTranslate(this.img,this.currentX,this.currentY))}},{key:\"onMove\",value:function(e){if(this.zoomedIn){var t=e.clientX-this.img.naturalWidth/2,n=e.clientY-this.img.naturalHeight/2;this.setTranslate(this.img,t,n)}}},{key:\"setTranslate\",value:function(e,t,n){e.style.transform=\"translate3d(\"+t+\"px, \"+n+\"px, 0)\"}},{key:\"widowWidth\",value:function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth}}]),e}(),B=function(){function e(){var n=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e);var r=i.dragEl,o=i.toleranceX,s=void 0===o?40:o,a=i.toleranceY,l=void 0===a?65:a,c=i.slide,d=void 0===c?null:c,u=i.instance,h=void 0===u?null:u;this.el=r,this.active=!1,this.dragging=!1,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.direction=null,this.lastDirection=null,this.toleranceX=s,this.toleranceY=l,this.toleranceReached=!1,this.dragContainer=this.el,this.slide=d,this.instance=h,this.el.addEventListener(\"mousedown\",(function(e){return n.dragStart(e)}),!1),this.el.addEventListener(\"mouseup\",(function(e){return n.dragEnd(e)}),!1),this.el.addEventListener(\"mousemove\",(function(e){return n.drag(e)}),!1)}return i(e,[{key:\"dragStart\",value:function(e){if(this.slide.classList.contains(\"zoomed\"))this.active=!1;else{\"touchstart\"===e.type?(this.initialX=e.touches[0].clientX-this.xOffset,this.initialY=e.touches[0].clientY-this.yOffset):(this.initialX=e.clientX-this.xOffset,this.initialY=e.clientY-this.yOffset);var t=e.target.nodeName.toLowerCase();e.target.classList.contains(\"nodrag\")||h(e.target,\".nodrag\")||-1!==[\"input\",\"select\",\"textarea\",\"button\",\"a\"].indexOf(t)?this.active=!1:(e.preventDefault(),(e.target===this.el||\"img\"!==t&&h(e.target,\".gslide-inline\"))&&(this.active=!0,this.el.classList.add(\"dragging\"),this.dragContainer=h(e.target,\".ginner-container\")))}}},{key:\"dragEnd\",value:function(e){var t=this;e&&e.preventDefault(),this.initialX=0,this.initialY=0,this.currentX=null,this.currentY=null,this.initialX=null,this.initialY=null,this.xOffset=0,this.yOffset=0,this.active=!1,this.doSlideChange&&(this.instance.preventOutsideClick=!0,\"right\"==this.doSlideChange&&this.instance.prevSlide(),\"left\"==this.doSlideChange&&this.instance.nextSlide()),this.doSlideClose&&this.instance.close(),this.toleranceReached||this.setTranslate(this.dragContainer,0,0,!0),setTimeout((function(){t.instance.preventOutsideClick=!1,t.toleranceReached=!1,t.lastDirection=null,t.dragging=!1,t.el.isDragging=!1,t.el.classList.remove(\"dragging\"),t.slide.classList.remove(\"dragging-nav\"),t.dragContainer.style.transform=\"\",t.dragContainer.style.transition=\"\"}),100)}},{key:\"drag\",value:function(e){if(this.active){e.preventDefault(),this.slide.classList.add(\"dragging-nav\"),\"touchmove\"===e.type?(this.currentX=e.touches[0].clientX-this.initialX,this.currentY=e.touches[0].clientY-this.initialY):(this.currentX=e.clientX-this.initialX,this.currentY=e.clientY-this.initialY),this.xOffset=this.currentX,this.yOffset=this.currentY,this.el.isDragging=!0,this.dragging=!0,this.doSlideChange=!1,this.doSlideClose=!1;var t=Math.abs(this.currentX),n=Math.abs(this.currentY);if(t>0&&t>=Math.abs(this.currentY)&&(!this.lastDirection||\"x\"==this.lastDirection)){this.yOffset=0,this.lastDirection=\"x\",this.setTranslate(this.dragContainer,this.currentX,0);var i=this.shouldChange();if(!this.instance.settings.dragAutoSnap&&i&&(this.doSlideChange=i),this.instance.settings.dragAutoSnap&&i)return this.instance.preventOutsideClick=!0,this.toleranceReached=!0,this.active=!1,this.instance.preventOutsideClick=!0,this.dragEnd(null),\"right\"==i&&this.instance.prevSlide(),void(\"left\"==i&&this.instance.nextSlide())}if(this.toleranceY>0&&n>0&&n>=t&&(!this.lastDirection||\"y\"==this.lastDirection)){this.xOffset=0,this.lastDirection=\"y\",this.setTranslate(this.dragContainer,0,this.currentY);var r=this.shouldClose();return!this.instance.settings.dragAutoSnap&&r&&(this.doSlideClose=!0),void(this.instance.settings.dragAutoSnap&&r&&this.instance.close())}}}},{key:\"shouldChange\",value:function(){var e=!1;if(Math.abs(this.currentX)>=this.toleranceX){var t=this.currentX>0?\"right\":\"left\";(\"left\"==t&&this.slide!==this.slide.parentNode.lastChild||\"right\"==t&&this.slide!==this.slide.parentNode.firstChild)&&(e=t)}return e}},{key:\"shouldClose\",value:function(){var e=!1;return Math.abs(this.currentY)>=this.toleranceY&&(e=!0),e}},{key:\"setTranslate\",value:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];e.style.transition=i?\"all .2s ease\":\"\",e.style.transform=\"translate3d(\".concat(t,\"px, \").concat(n,\"px, 0)\")}}]),e}();function W(e,t,n,i){var r=e.querySelector(\".gslide-media\"),o=new Image,s=\"gSlideTitle_\"+n,a=\"gSlideDesc_\"+n;o.addEventListener(\"load\",(function(){T(i)&&i()}),!1),o.src=t.href,\"\"!=t.sizes&&\"\"!=t.srcset&&(o.sizes=t.sizes,o.srcset=t.srcset),o.alt=\"\",A(t.alt)||\"\"===t.alt||(o.alt=t.alt),\"\"!==t.title&&o.setAttribute(\"aria-labelledby\",s),\"\"!==t.description&&o.setAttribute(\"aria-describedby\",a),t.hasOwnProperty(\"_hasCustomWidth\")&&t._hasCustomWidth&&(o.style.width=t.width),t.hasOwnProperty(\"_hasCustomHeight\")&&t._hasCustomHeight&&(o.style.height=t.height),r.insertBefore(o,r.firstChild)}function U(e,t,n,i){var r=this,o=e.querySelector(\".ginner-container\"),s=\"gvideo\"+n,a=e.querySelector(\".gslide-media\"),l=this.getAllPlayers();c(o,\"gvideo-container\"),a.insertBefore(m('
'),a.firstChild);var d=e.querySelector(\".gvideo-wrapper\");S(this.settings.plyr.css,\"Plyr\");var u=t.href,h=null==t?void 0:t.videoProvider,p=!1;a.style.maxWidth=t.width,S(this.settings.plyr.js,\"Plyr\",(function(){if(!h&&u.match(/vimeo\\.com\\/([0-9]*)/)&&(h=\"vimeo\"),!h&&(u.match(/(youtube\\.com|youtube-nocookie\\.com)\\/watch\\?v=([a-zA-Z0-9\\-_]+)/)||u.match(/youtu\\.be\\/([a-zA-Z0-9\\-_]+)/)||u.match(/(youtube\\.com|youtube-nocookie\\.com)\\/embed\\/([a-zA-Z0-9\\-_]+)/))&&(h=\"youtube\"),\"local\"===h||!h){h=\"local\";var o='\")}var a=p||m('
'));c(d,\"\".concat(h,\"-video gvideo\")),d.appendChild(a),d.setAttribute(\"data-id\",s),d.setAttribute(\"data-index\",n);var f=I(r.settings.plyr,\"config\")?r.settings.plyr.config:{},g=new Plyr(\"#\"+s,f);g.on(\"ready\",(function(e){l[s]=e.detail.plyr,T(i)&&i()})),w((function(){return e.querySelector(\"iframe\")&&\"true\"==e.querySelector(\"iframe\").dataset.ready}),(function(){r.resize(e)})),g.on(\"enterfullscreen\",V),g.on(\"exitfullscreen\",V)}))}function V(e){var t=h(e.target,\".gslide-media\");\"enterfullscreen\"===e.type&&c(t,\"fullscreen\"),\"exitfullscreen\"===e.type&&d(t,\"fullscreen\")}function F(e,t,n,i){var r,o=this,s=e.querySelector(\".gslide-media\"),a=!(!I(t,\"href\")||!t.href)&&t.href.split(\"#\").pop().trim(),d=!(!I(t,\"content\")||!t.content)&&t.content;if(d&&(x(d)&&(r=m('
'.concat(d,\"
\"))),C(d))){\"none\"==d.style.display&&(d.style.display=\"block\");var u=document.createElement(\"div\");u.className=\"ginlined-content\",u.appendChild(d),r=u}if(a){var h=document.getElementById(a);if(!h)return!1;var p=h.cloneNode(!0);p.style.height=t.height,p.style.maxWidth=t.width,c(p,\"ginlined-content\"),r=p}if(!r)return console.error(\"Unable to append inline slide content\",t),!1;s.style.height=t.height,s.style.width=t.width,s.appendChild(r),this.events[\"inlineclose\"+a]=l(\"click\",{onElement:s.querySelectorAll(\".gtrigger-close\"),withCallback:function(e){e.preventDefault(),o.close()}}),T(i)&&i()}function Y(e,t,n,i){var r=e.querySelector(\".gslide-media\"),o=function(e){var t=e.url,n=e.allow,i=e.callback,r=e.appendTo,o=document.createElement(\"iframe\");return o.className=\"vimeo-video gvideo\",o.src=t,o.style.width=\"100%\",o.style.height=\"100%\",n&&o.setAttribute(\"allow\",n),o.onload=function(){o.onload=null,c(o,\"node-ready\"),T(i)&&i()},r&&r.appendChild(o),o}({url:t.href,callback:i});r.parentNode.style.maxWidth=t.width,r.parentNode.style.height=t.height,r.appendChild(o)}var X=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.defaults={href:\"\",sizes:\"\",srcset:\"\",title:\"\",type:\"\",videoProvider:\"\",description:\"\",alt:\"\",descPosition:\"bottom\",effect:\"\",width:\"\",height:\"\",content:!1,zoomable:!0,draggable:!0},D(n)&&(this.defaults=o(this.defaults,n))}return i(e,[{key:\"sourceType\",value:function(e){var t=e;return null!==(e=e.toLowerCase()).match(/\\.(jpeg|jpg|jpe|gif|png|apn|webp|avif|svg)/)?\"image\":e.match(/(youtube\\.com|youtube-nocookie\\.com)\\/watch\\?v=([a-zA-Z0-9\\-_]+)/)||e.match(/youtu\\.be\\/([a-zA-Z0-9\\-_]+)/)||e.match(/(youtube\\.com|youtube-nocookie\\.com)\\/embed\\/([a-zA-Z0-9\\-_]+)/)||e.match(/vimeo\\.com\\/([0-9]*)/)||null!==e.match(/\\.(mp4|ogg|webm|mov)/)?\"video\":null!==e.match(/\\.(mp3|wav|wma|aac|ogg)/)?\"audio\":e.indexOf(\"#\")>-1&&\"\"!==t.split(\"#\").pop().trim()?\"inline\":e.indexOf(\"goajax=true\")>-1?\"ajax\":\"external\"}},{key:\"parseConfig\",value:function(e,t){var n=this,i=o({descPosition:t.descPosition},this.defaults);if(D(e)&&!C(e)){I(e,\"type\")||(I(e,\"content\")&&e.content?e.type=\"inline\":I(e,\"href\")&&(e.type=this.sourceType(e.href)));var r=o(i,e);return this.setSize(r,t),r}var a=\"\",l=e.getAttribute(\"data-glightbox\"),c=e.nodeName.toLowerCase();if(\"a\"===c&&(a=e.href),\"img\"===c&&(a=e.src,i.alt=e.alt),i.href=a,s(i,(function(r,o){I(t,o)&&\"width\"!==o&&(i[o]=t[o]);var s=e.dataset[o];A(s)||(i[o]=n.sanitizeValue(s))})),i.content&&(i.type=\"inline\"),!i.type&&a&&(i.type=this.sourceType(a)),A(l)){if(!i.title&&\"a\"==c){var d=e.title;A(d)||\"\"===d||(i.title=d)}if(!i.title&&\"img\"==c){var u=e.alt;A(u)||\"\"===u||(i.title=u)}}else{var h=[];s(i,(function(e,t){h.push(\";\\\\s?\"+t)})),h=h.join(\"\\\\s?:|\"),\"\"!==l.trim()&&s(i,(function(e,t){var r=l,o=new RegExp(\"s?\"+t+\"s?:s?(.*?)(\"+h+\"s?:|$)\"),s=r.match(o);if(s&&s.length&&s[1]){var a=s[1].trim().replace(/;\\s*$/,\"\");i[t]=n.sanitizeValue(a)}}))}if(i.description&&\".\"===i.description.substring(0,1)){var p;try{p=document.querySelector(i.description).innerHTML}catch(e){if(!(e instanceof DOMException))throw e}p&&(i.description=p)}if(!i.description){var f=e.querySelector(\".glightbox-desc\");f&&(i.description=f.innerHTML)}return this.setSize(i,t,e),this.slideConfig=i,i}},{key:\"setSize\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=\"video\"==e.type?this.checkSize(t.videosWidth):this.checkSize(t.width),r=this.checkSize(t.height);return e.width=I(e,\"width\")&&\"\"!==e.width?this.checkSize(e.width):i,e.height=I(e,\"height\")&&\"\"!==e.height?this.checkSize(e.height):r,n&&\"image\"==e.type&&(e._hasCustomWidth=!!n.dataset.width,e._hasCustomHeight=!!n.dataset.height),e}},{key:\"checkSize\",value:function(e){return O(e)?\"\".concat(e,\"px\"):e}},{key:\"sanitizeValue\",value:function(e){return\"true\"!==e&&\"false\"!==e?e:\"true\"===e}}]),e}(),G=function(){function e(n,i,r){t(this,e),this.element=n,this.instance=i,this.index=r}return i(e,[{key:\"setContent\",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(u(t,\"loaded\"))return!1;var i=this.instance.settings,r=this.slideConfig,o=E();T(i.beforeSlideLoad)&&i.beforeSlideLoad({index:this.index,slide:t,player:!1});var s=r.type,a=r.descPosition,l=t.querySelector(\".gslide-media\"),d=t.querySelector(\".gslide-title\"),h=t.querySelector(\".gslide-desc\"),p=t.querySelector(\".gdesc-inner\"),f=n,g=\"gSlideTitle_\"+this.index,v=\"gSlideDesc_\"+this.index;if(T(i.afterSlideLoad)&&(f=function(){T(n)&&n(),i.afterSlideLoad({index:e.index,slide:t,player:e.instance.getSlidePlayerInstance(e.index)})}),\"\"==r.title&&\"\"==r.description?p&&p.parentNode.parentNode.removeChild(p.parentNode):(d&&\"\"!==r.title?(d.id=g,d.innerHTML=r.title):d.parentNode.removeChild(d),h&&\"\"!==r.description?(h.id=v,o&&i.moreLength>0?(r.smallDescription=this.slideShortDesc(r.description,i.moreLength,i.moreText),h.innerHTML=r.smallDescription,this.descriptionEvents(h,r)):h.innerHTML=r.description):h.parentNode.removeChild(h),c(l.parentNode,\"desc-\".concat(a)),c(p.parentNode,\"description-\".concat(a))),c(l,\"gslide-\".concat(s)),c(t,\"loaded\"),\"video\"!==s){if(\"external\"!==s)return\"inline\"===s?(F.apply(this.instance,[t,r,this.index,f]),void(r.draggable&&new B({dragEl:t.querySelector(\".gslide-inline\"),toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:t,instance:this.instance}))):void(\"image\"!==s?T(f)&&f():W(t,r,this.index,(function(){var n=t.querySelector(\"img\");r.draggable&&new B({dragEl:n,toleranceX:i.dragToleranceX,toleranceY:i.dragToleranceY,slide:t,instance:e.instance}),r.zoomable&&n.naturalWidth>n.offsetWidth&&(c(n,\"zoomable\"),new q(n,t,(function(){e.instance.resize()}))),T(f)&&f()})));Y.apply(this,[t,r,this.index,f])}else U.apply(this.instance,[t,r,this.index,f])}},{key:\"slideShortDesc\",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=document.createElement(\"div\");i.innerHTML=e;var r=i.innerText,o=n;if((e=r.trim()).length<=t)return e;var s=e.substr(0,t-1);return o?(i=null,s+'... '+n+\"\"):s}},{key:\"descriptionEvents\",value:function(e,t){var n=this,i=e.querySelector(\".desc-more\");if(!i)return!1;l(\"click\",{onElement:i,withCallback:function(e,i){e.preventDefault();var r=document.body,o=h(i,\".gslide-desc\");if(!o)return!1;o.innerHTML=t.description,c(r,\"gdesc-open\");var s=l(\"click\",{onElement:[r,h(o,\".gslide-description\")],withCallback:function(e,i){\"a\"!==e.target.nodeName.toLowerCase()&&(d(r,\"gdesc-open\"),c(r,\"gdesc-closed\"),o.innerHTML=t.smallDescription,n.descriptionEvents(o,t),setTimeout((function(){d(r,\"gdesc-closed\")}),400),s.destroy())}})}})}},{key:\"create\",value:function(){return m(this.instance.settings.slideHTML)}},{key:\"getConfig\",value:function(){C(this.element)||this.element.hasOwnProperty(\"draggable\")||(this.element.draggable=this.instance.settings.draggable);var e=new X(this.instance.settings.slideExtraAttributes);return this.slideConfig=e.parseConfig(this.element,this.instance.settings),this.slideConfig}}]),e}(),Z=E(),K=null!==E()||void 0!==document.createTouch||\"ontouchstart\"in window||\"onmsgesturechange\"in window||navigator.msMaxTouchPoints,Q=document.getElementsByTagName(\"html\")[0],J={selector:\".glightbox\",elements:null,skin:\"clean\",theme:\"clean\",closeButton:!0,startAt:null,autoplayVideos:!0,autofocusVideos:!0,descPosition:\"bottom\",width:\"900px\",height:\"506px\",videosWidth:\"960px\",beforeSlideChange:null,afterSlideChange:null,beforeSlideLoad:null,afterSlideLoad:null,slideInserted:null,slideRemoved:null,slideExtraAttributes:null,onOpen:null,onClose:null,loop:!1,zoomable:!0,draggable:!0,dragAutoSnap:!1,dragToleranceX:40,dragToleranceY:65,preload:!0,oneSlidePerOpen:!1,touchNavigation:!0,touchFollowAxis:!0,keyboardNavigation:!0,closeOnOutsideClick:!0,plugins:!1,plyr:{css:\"https://cdn.plyr.io/3.6.12/plyr.css\",js:\"https://cdn.plyr.io/3.6.12/plyr.js\",config:{ratio:\"16:9\",fullscreen:{enabled:!0,iosNative:!0},youtube:{noCookie:!0,rel:0,showinfo:0,iv_load_policy:3},vimeo:{byline:!1,portrait:!1,title:!1,transparent:!1}}},openEffect:\"zoom\",closeEffect:\"zoom\",slideEffect:\"slide\",moreText:\"See more\",moreLength:60,cssEfects:{fade:{in:\"fadeIn\",out:\"fadeOut\"},zoom:{in:\"zoomIn\",out:\"zoomOut\"},slide:{in:\"slideInRight\",out:\"slideOutLeft\"},slideBack:{in:\"slideInLeft\",out:\"slideOutRight\"},none:{in:\"none\",out:\"none\"}},svg:{close:'',next:' ',prev:''},slideHTML:'
\\n
\\n
\\n
\\n
\\n
\\n
\\n

\\n
\\n
\\n
\\n
\\n
\\n
',lightboxHTML:'
\\n
\\n
\\n
\\n
\\n \\n \\n \\n
\\n
'},ee=function(){function e(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};t(this,e),this.customOptions=n,this.settings=o(J,n),this.effectsClasses=this.getAnimationClasses(),this.videoPlayers={},this.apiEvents=[],this.fullElementsList=!1}return i(e,[{key:\"init\",value:function(){var e=this,t=this.getSelector();t&&(this.baseEvents=l(\"click\",{onElement:t,withCallback:function(t,n){t.preventDefault(),e.open(n)}})),this.elements=this.getElements()}},{key:\"open\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(0===this.elements.length)return!1;this.activeSlide=null,this.prevActiveSlideIndex=null,this.prevActiveSlide=null;var n=O(t)?t:this.settings.startAt;if(C(e)){var i=e.getAttribute(\"data-gallery\");i&&(this.fullElementsList=this.elements,this.elements=this.getGalleryElements(this.elements,i)),A(n)&&(n=this.getElementIndex(e))<0&&(n=0)}O(n)||(n=0),this.build(),p(this.overlay,\"none\"===this.settings.openEffect?\"none\":this.settings.cssEfects.fade.in);var r=document.body,o=window.innerWidth-document.documentElement.clientWidth;if(o>0){var s=document.createElement(\"style\");s.type=\"text/css\",s.className=\"gcss-styles\",s.innerText=\".gscrollbar-fixer {margin-right: \".concat(o,\"px}\"),document.head.appendChild(s),c(r,\"gscrollbar-fixer\")}c(r,\"glightbox-open\"),c(Q,\"glightbox-open\"),Z&&(c(document.body,\"glightbox-mobile\"),this.settings.slideEffect=\"slide\"),this.showSlide(n,!0),1===this.elements.length?(c(this.prevButton,\"glightbox-button-hidden\"),c(this.nextButton,\"glightbox-button-hidden\")):(d(this.prevButton,\"glightbox-button-hidden\"),d(this.nextButton,\"glightbox-button-hidden\")),this.lightboxOpen=!0,this.trigger(\"open\"),T(this.settings.onOpen)&&this.settings.onOpen(),K&&this.settings.touchNavigation&&$(this),this.settings.keyboardNavigation&&P(this)}},{key:\"openAt\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.open(null,e)}},{key:\"showSlide\",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];g(this.loader),this.index=parseInt(t);var i=this.slidesContainer.querySelector(\".current\");i&&d(i,\"current\"),this.slideAnimateOut();var r=this.slidesContainer.querySelectorAll(\".gslide\")[t];if(u(r,\"loaded\"))this.slideAnimateIn(r,n),v(this.loader);else{g(this.loader);var o=this.elements[t],s={index:this.index,slide:r,slideNode:r,slideConfig:o.slideConfig,slideIndex:this.index,trigger:o.node,player:null};this.trigger(\"slide_before_load\",s),o.instance.setContent(r,(function(){v(e.loader),e.resize(),e.slideAnimateIn(r,n),e.trigger(\"slide_after_load\",s)}))}this.slideDescription=r.querySelector(\".gslide-description\"),this.slideDescriptionContained=this.slideDescription&&u(this.slideDescription.parentNode,\"gslide-media\"),this.settings.preload&&(this.preloadSlide(t+1),this.preloadSlide(t-1)),this.updateNavigationClasses(),this.activeSlide=r}},{key:\"preloadSlide\",value:function(e){var t=this;if(e<0||e>this.elements.length-1)return!1;if(A(this.elements[e]))return!1;var n=this.slidesContainer.querySelectorAll(\".gslide\")[e];if(u(n,\"loaded\"))return!1;var i=this.elements[e],r=i.type,o={index:e,slide:n,slideNode:n,slideConfig:i.slideConfig,slideIndex:e,trigger:i.node,player:null};this.trigger(\"slide_before_load\",o),\"video\"===r||\"external\"===r?setTimeout((function(){i.instance.setContent(n,(function(){t.trigger(\"slide_after_load\",o)}))}),200):i.instance.setContent(n,(function(){t.trigger(\"slide_after_load\",o)}))}},{key:\"prevSlide\",value:function(){this.goToSlide(this.index-1)}},{key:\"nextSlide\",value:function(){this.goToSlide(this.index+1)}},{key:\"goToSlide\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.prevActiveSlide=this.activeSlide,this.prevActiveSlideIndex=this.index,!this.loop()&&(e<0||e>this.elements.length-1))return!1;e<0?e=this.elements.length-1:e>=this.elements.length&&(e=0),this.showSlide(e)}},{key:\"insertSlide\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;t<0&&(t=this.elements.length);var n=new G(e,this,t),i=n.getConfig(),r=o({},i),s=n.create(),a=this.elements.length-1;r.index=t,r.node=!1,r.instance=n,r.slideConfig=i,this.elements.splice(t,0,r);var l=null,c=null;if(this.slidesContainer){if(t>a)this.slidesContainer.appendChild(s);else{var d=this.slidesContainer.querySelectorAll(\".gslide\")[t];this.slidesContainer.insertBefore(s,d)}(this.settings.preload&&0==this.index&&0==t||this.index-1==t||this.index+1==t)&&this.preloadSlide(t),0===this.index&&0===t&&(this.index=1),this.updateNavigationClasses(),l=this.slidesContainer.querySelectorAll(\".gslide\")[t],c=this.getSlidePlayerInstance(t),r.slideNode=l}this.trigger(\"slide_inserted\",{index:t,slide:l,slideNode:l,slideConfig:i,slideIndex:t,trigger:null,player:c}),T(this.settings.slideInserted)&&this.settings.slideInserted({index:t,slide:l,player:c})}},{key:\"removeSlide\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:-1;if(e<0||e>this.elements.length-1)return!1;var t=this.slidesContainer&&this.slidesContainer.querySelectorAll(\".gslide\")[e];t&&(this.getActiveSlideIndex()==e&&(e==this.elements.length-1?this.prevSlide():this.nextSlide()),t.parentNode.removeChild(t)),this.elements.splice(e,1),this.trigger(\"slide_removed\",e),T(this.settings.slideRemoved)&&this.settings.slideRemoved(e)}},{key:\"slideAnimateIn\",value:function(e,t){var n=this,i=e.querySelector(\".gslide-media\"),r=e.querySelector(\".gslide-description\"),o={index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlide,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},s={index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideConfig:this.elements[this.index].slideConfig,slideIndex:this.index,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)};if(i.offsetWidth>0&&r&&(v(r),r.style.display=\"\"),d(e,this.effectsClasses),t)p(e,this.settings.cssEfects[this.settings.openEffect].in,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(e),n.trigger(\"slide_changed\",{prev:o,current:s}),T(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[o,s])}));else{var a=this.settings.slideEffect,l=\"none\"!==a?this.settings.cssEfects[a].in:a;this.prevActiveSlideIndex>this.index&&\"slide\"==this.settings.slideEffect&&(l=this.settings.cssEfects.slideBack.in),p(e,l,(function(){n.settings.autoplayVideos&&n.slidePlayerPlay(e),n.trigger(\"slide_changed\",{prev:o,current:s}),T(n.settings.afterSlideChange)&&n.settings.afterSlideChange.apply(n,[o,s])}))}setTimeout((function(){n.resize(e)}),100),c(e,\"current\")}},{key:\"slideAnimateOut\",value:function(){if(!this.prevActiveSlide)return!1;var e=this.prevActiveSlide;d(e,this.effectsClasses),c(e,\"prev\");var t=this.settings.slideEffect,n=\"none\"!==t?this.settings.cssEfects[t].out:t;this.slidePlayerPause(e),this.trigger(\"slide_before_change\",{prev:{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,slideNode:this.prevActiveSlide,slideIndex:this.prevActiveSlideIndex,slideConfig:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].slideConfig,trigger:A(this.prevActiveSlideIndex)?null:this.elements[this.prevActiveSlideIndex].node,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},current:{index:this.index,slide:this.activeSlide,slideNode:this.activeSlide,slideIndex:this.index,slideConfig:this.elements[this.index].slideConfig,trigger:this.elements[this.index].node,player:this.getSlidePlayerInstance(this.index)}}),T(this.settings.beforeSlideChange)&&this.settings.beforeSlideChange.apply(this,[{index:this.prevActiveSlideIndex,slide:this.prevActiveSlide,player:this.getSlidePlayerInstance(this.prevActiveSlideIndex)},{index:this.index,slide:this.activeSlide,player:this.getSlidePlayerInstance(this.index)}]),this.prevActiveSlideIndex>this.index&&\"slide\"==this.settings.slideEffect&&(n=this.settings.cssEfects.slideBack.out),p(e,n,(function(){var t=e.querySelector(\".ginner-container\"),n=e.querySelector(\".gslide-media\"),i=e.querySelector(\".gslide-description\");t.style.transform=\"\",n.style.transform=\"\",d(n,\"greset\"),n.style.opacity=\"\",i&&(i.style.opacity=\"\"),d(e,\"prev\")}))}},{key:\"getAllPlayers\",value:function(){return this.videoPlayers}},{key:\"getSlidePlayerInstance\",value:function(e){var t=\"gvideo\"+e,n=this.getAllPlayers();return!(!I(n,t)||!n[t])&&n[t]}},{key:\"stopSlideVideo\",value:function(e){if(C(e)){var t=e.querySelector(\".gvideo-wrapper\");t&&(e=t.getAttribute(\"data-index\"))}console.log(\"stopSlideVideo is deprecated, use slidePlayerPause\");var n=this.getSlidePlayerInstance(e);n&&n.playing&&n.pause()}},{key:\"slidePlayerPause\",value:function(e){if(C(e)){var t=e.querySelector(\".gvideo-wrapper\");t&&(e=t.getAttribute(\"data-index\"))}var n=this.getSlidePlayerInstance(e);n&&n.playing&&n.pause()}},{key:\"playSlideVideo\",value:function(e){if(C(e)){var t=e.querySelector(\".gvideo-wrapper\");t&&(e=t.getAttribute(\"data-index\"))}console.log(\"playSlideVideo is deprecated, use slidePlayerPlay\");var n=this.getSlidePlayerInstance(e);n&&!n.playing&&n.play()}},{key:\"slidePlayerPlay\",value:function(e){var t;if(!Z||null!==(t=this.settings.plyr.config)&&void 0!==t&&t.muted){if(C(e)){var n=e.querySelector(\".gvideo-wrapper\");n&&(e=n.getAttribute(\"data-index\"))}var i=this.getSlidePlayerInstance(e);i&&!i.playing&&(i.play(),this.settings.autofocusVideos&&i.elements.container.focus())}}},{key:\"setElements\",value:function(e){var t=this;this.settings.elements=!1;var n=[];e&&e.length&&s(e,(function(e,i){var r=new G(e,t,i),s=r.getConfig(),a=o({},s);a.slideConfig=s,a.instance=r,a.index=i,n.push(a)})),this.elements=n,this.lightboxOpen&&(this.slidesContainer.innerHTML=\"\",this.elements.length&&(s(this.elements,(function(){var e=m(t.settings.slideHTML);t.slidesContainer.appendChild(e)})),this.showSlide(0,!0)))}},{key:\"getElementIndex\",value:function(e){var t=!1;return s(this.elements,(function(n,i){if(I(n,\"node\")&&n.node==e)return t=i,!0})),t}},{key:\"getElements\",value:function(){var e=this,t=[];this.elements=this.elements?this.elements:[],!A(this.settings.elements)&&_(this.settings.elements)&&this.settings.elements.length&&s(this.settings.elements,(function(n,i){var r=new G(n,e,i),s=r.getConfig(),a=o({},s);a.node=!1,a.index=i,a.instance=r,a.slideConfig=s,t.push(a)}));var n=!1;return this.getSelector()&&(n=document.querySelectorAll(this.getSelector())),n?(s(n,(function(n,i){var r=new G(n,e,i),s=r.getConfig(),a=o({},s);a.node=n,a.index=i,a.instance=r,a.slideConfig=s,a.gallery=n.getAttribute(\"data-gallery\"),t.push(a)})),t):t}},{key:\"getGalleryElements\",value:function(e,t){return e.filter((function(e){return e.gallery==t}))}},{key:\"getSelector\",value:function(){return!this.settings.elements&&(this.settings.selector&&\"data-\"==this.settings.selector.substring(0,5)?\"*[\".concat(this.settings.selector,\"]\"):this.settings.selector)}},{key:\"getActiveSlide\",value:function(){return this.slidesContainer.querySelectorAll(\".gslide\")[this.index]}},{key:\"getActiveSlideIndex\",value:function(){return this.index}},{key:\"getAnimationClasses\",value:function(){var e=[];for(var t in this.settings.cssEfects)if(this.settings.cssEfects.hasOwnProperty(t)){var n=this.settings.cssEfects[t];e.push(\"g\".concat(n.in)),e.push(\"g\".concat(n.out))}return e.join(\" \")}},{key:\"build\",value:function(){var e=this;if(this.built)return!1;var t=document.body.childNodes,n=[];s(t,(function(e){e.parentNode==document.body&&\"#\"!==e.nodeName.charAt(0)&&e.hasAttribute&&!e.hasAttribute(\"aria-hidden\")&&(n.push(e),e.setAttribute(\"aria-hidden\",\"true\"))}));var i=I(this.settings.svg,\"next\")?this.settings.svg.next:\"\",r=I(this.settings.svg,\"prev\")?this.settings.svg.prev:\"\",o=I(this.settings.svg,\"close\")?this.settings.svg.close:\"\",a=this.settings.lightboxHTML;a=m(a=(a=(a=a.replace(/{nextSVG}/g,i)).replace(/{prevSVG}/g,r)).replace(/{closeSVG}/g,o)),document.body.appendChild(a);var d=document.getElementById(\"glightbox-body\");this.modal=d;var p=d.querySelector(\".gclose\");this.prevButton=d.querySelector(\".gprev\"),this.nextButton=d.querySelector(\".gnext\"),this.overlay=d.querySelector(\".goverlay\"),this.loader=d.querySelector(\".gloader\"),this.slidesContainer=document.getElementById(\"glightbox-slider\"),this.bodyHiddenChildElms=n,this.events={},c(this.modal,\"glightbox-\"+this.settings.skin),this.settings.closeButton&&p&&(this.events.close=l(\"click\",{onElement:p,withCallback:function(t,n){t.preventDefault(),e.close()}})),p&&!this.settings.closeButton&&p.parentNode.removeChild(p),this.nextButton&&(this.events.next=l(\"click\",{onElement:this.nextButton,withCallback:function(t,n){t.preventDefault(),e.nextSlide()}})),this.prevButton&&(this.events.prev=l(\"click\",{onElement:this.prevButton,withCallback:function(t,n){t.preventDefault(),e.prevSlide()}})),this.settings.closeOnOutsideClick&&(this.events.outClose=l(\"click\",{onElement:d,withCallback:function(t,n){e.preventOutsideClick||u(document.body,\"glightbox-mobile\")||h(t.target,\".ginner-container\")||h(t.target,\".gbtn\")||u(t.target,\"gnext\")||u(t.target,\"gprev\")||e.close()}})),s(this.elements,(function(t,n){e.slidesContainer.appendChild(t.instance.create()),t.slideNode=e.slidesContainer.querySelectorAll(\".gslide\")[n]})),K&&c(document.body,\"glightbox-touch\"),this.events.resize=l(\"resize\",{onElement:window,withCallback:function(){e.resize()}}),this.built=!0}},{key:\"resize\",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if((e=e||this.activeSlide)&&!u(e,\"zoomed\")){var t=y(),n=e.querySelector(\".gvideo-wrapper\"),i=e.querySelector(\".gslide-image\"),r=this.slideDescription,o=t.width,s=t.height;if(o<=768?c(document.body,\"glightbox-mobile\"):d(document.body,\"glightbox-mobile\"),n||i){var a=!1;if(r&&(u(r,\"description-bottom\")||u(r,\"description-top\"))&&!u(r,\"gabsolute\")&&(a=!0),i)if(o<=768)i.querySelector(\"img\");else if(a){var l=r.offsetHeight,h=i.querySelector(\"img\");h.setAttribute(\"style\",\"max-height: calc(100vh - \".concat(l,\"px)\")),r.setAttribute(\"style\",\"max-width: \".concat(h.offsetWidth,\"px;\"))}if(n){var p=I(this.settings.plyr.config,\"ratio\")?this.settings.plyr.config.ratio:\"\";if(!p){var f=n.clientWidth,g=n.clientHeight,v=f/g;p=\"\".concat(f/v,\":\").concat(g/v)}var m=p.split(\":\"),b=this.settings.videosWidth,w=this.settings.videosWidth,S=(w=O(b)||-1!==b.indexOf(\"px\")?parseInt(b):-1!==b.indexOf(\"vw\")?o*parseInt(b)/100:-1!==b.indexOf(\"vh\")?s*parseInt(b)/100:-1!==b.indexOf(\"%\")?o*parseInt(b)/100:parseInt(n.clientWidth))/(parseInt(m[0])/parseInt(m[1]));if(S=Math.floor(S),a&&(s-=r.offsetHeight),w>o||S>s||sw){var E=n.offsetWidth,T=n.offsetHeight,x=s/T,C={width:E*x,height:T*x};n.parentNode.setAttribute(\"style\",\"max-width: \".concat(C.width,\"px\")),a&&r.setAttribute(\"style\",\"max-width: \".concat(C.width,\"px;\"))}else n.parentNode.style.maxWidth=\"\".concat(b),a&&r.setAttribute(\"style\",\"max-width: \".concat(b,\";\"))}}}}},{key:\"reload\",value:function(){this.init()}},{key:\"updateNavigationClasses\",value:function(){var e=this.loop();d(this.nextButton,\"disabled\"),d(this.prevButton,\"disabled\"),0==this.index&&this.elements.length-1==0?(c(this.prevButton,\"disabled\"),c(this.nextButton,\"disabled\")):0!==this.index||e?this.index!==this.elements.length-1||e||c(this.nextButton,\"disabled\"):c(this.prevButton,\"disabled\")}},{key:\"loop\",value:function(){var e=I(this.settings,\"loopAtEnd\")?this.settings.loopAtEnd:null;return e=I(this.settings,\"loop\")?this.settings.loop:e}},{key:\"close\",value:function(){var e=this;if(!this.lightboxOpen){if(this.events){for(var t in this.events)this.events.hasOwnProperty(t)&&this.events[t].destroy();this.events=null}return!1}if(this.closing)return!1;this.closing=!0,this.slidePlayerPause(this.activeSlide),this.fullElementsList&&(this.elements=this.fullElementsList),this.bodyHiddenChildElms.length&&s(this.bodyHiddenChildElms,(function(e){e.removeAttribute(\"aria-hidden\")})),c(this.modal,\"glightbox-closing\"),p(this.overlay,\"none\"==this.settings.openEffect?\"none\":this.settings.cssEfects.fade.out),p(this.activeSlide,this.settings.cssEfects[this.settings.closeEffect].out,(function(){if(e.activeSlide=null,e.prevActiveSlideIndex=null,e.prevActiveSlide=null,e.built=!1,e.events){for(var t in e.events)e.events.hasOwnProperty(t)&&e.events[t].destroy();e.events=null}var n=document.body;d(Q,\"glightbox-open\"),d(n,\"glightbox-open touching gdesc-open glightbox-touch glightbox-mobile gscrollbar-fixer\"),e.modal.parentNode.removeChild(e.modal),e.trigger(\"close\"),T(e.settings.onClose)&&e.settings.onClose();var i=document.querySelector(\".gcss-styles\");i&&i.parentNode.removeChild(i),e.lightboxOpen=!1,e.closing=null}))}},{key:\"destroy\",value:function(){this.close(),this.clearAllEvents(),this.baseEvents&&this.baseEvents.destroy()}},{key:\"on\",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if(!e||!T(t))throw new TypeError(\"Event name and callback must be defined\");this.apiEvents.push({evt:e,once:n,callback:t})}},{key:\"once\",value:function(e,t){this.on(e,t,!0)}},{key:\"trigger\",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=[];s(this.apiEvents,(function(t,r){var o=t.evt,s=t.once,a=t.callback;o==e&&(a(n),s&&i.push(r))})),i.length&&s(i,(function(e){return t.apiEvents.splice(e,1)}))}},{key:\"clearAllEvents\",value:function(){this.apiEvents.splice(0,this.apiEvents.length)}},{key:\"version\",value:function(){return\"3.1.0\"}}]),e}();return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=new ee(e);return t.init(),t}},\"object\"==typeof n&&void 0!==t?t.exports=r():\"function\"==typeof define&&define.amd?define(r):(i=i||self).GLightbox=r()},{}],15:[function(e,t,n){\n/*!\n * jQuery JavaScript Library v3.6.0\n * https://jquery.com/\n *\n * Includes Sizzle.js\n * https://sizzlejs.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2021-03-02T17:08Z\n */\n!function(e,n){\"use strict\";\"object\"==typeof t&&\"object\"==typeof t.exports?t.exports=e.document?n(e,!0):function(e){if(!e.document)throw new Error(\"jQuery requires a window with a document\");return n(e)}:n(e)}(\"undefined\"!=typeof window?window:this,(function(e,t){\"use strict\";var n=[],i=Object.getPrototypeOf,r=n.slice,o=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},c=l.toString,d=l.hasOwnProperty,u=d.toString,h=u.call(Object),p={},f=function(e){return\"function\"==typeof e&&\"number\"!=typeof e.nodeType&&\"function\"!=typeof e.item},g=function(e){return null!=e&&e===e.window},v=e.document,m={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,r,o=(n=n||v).createElement(\"script\");if(o.text=e,t)for(i in m)(r=t[i]||t.getAttribute&&t.getAttribute(i))&&o.setAttribute(i,r);n.head.appendChild(o).parentNode.removeChild(o)}function b(e){return null==e?e+\"\":\"object\"==typeof e||\"function\"==typeof e?l[c.call(e)]||\"object\":typeof e}var w=\"3.6.0\",S=function(e,t){return new S.fn.init(e,t)};function E(e){var t=!!e&&\"length\"in e&&e.length,n=b(e);return!f(e)&&!g(e)&&(\"array\"===n||0===t||\"number\"==typeof t&&t>0&&t-1 in e)}S.fn=S.prototype={jquery:w,constructor:S,length:0,toArray:function(){return r.call(this)},get:function(e){return null==e?r.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=S.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return S.each(this,e)},map:function(e){return this.pushStack(S.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(r.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(S.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(S.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n+~]|[\\\\x20\\\\t\\\\r\\\\n\\\\f])[\\\\x20\\\\t\\\\r\\\\n\\\\f]*\"),V=new RegExp(H+\"|>\"),F=new RegExp($),Y=new RegExp(\"^\"+j+\"$\"),X={ID:new RegExp(\"^#(\"+j+\")\"),CLASS:new RegExp(\"^\\\\.(\"+j+\")\"),TAG:new RegExp(\"^(\"+j+\"|[*])\"),ATTR:new RegExp(\"^\"+z),PSEUDO:new RegExp(\"^\"+$),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\([\\\\x20\\\\t\\\\r\\\\n\\\\f]*(even|odd|(([+-]|)(\\\\d*)n|)[\\\\x20\\\\t\\\\r\\\\n\\\\f]*(?:([+-]|)[\\\\x20\\\\t\\\\r\\\\n\\\\f]*(\\\\d+)|))[\\\\x20\\\\t\\\\r\\\\n\\\\f]*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+N+\")$\",\"i\"),needsContext:new RegExp(\"^[\\\\x20\\\\t\\\\r\\\\n\\\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\([\\\\x20\\\\t\\\\r\\\\n\\\\f]*((?:-\\\\d)?\\\\d*)[\\\\x20\\\\t\\\\r\\\\n\\\\f]*\\\\)|)(?=[^-]|$)\",\"i\")},G=/HTML$/i,Z=/^(?:input|select|textarea|button)$/i,K=/^h\\d$/i,Q=/^[^{]+\\{\\s*\\[native \\w/,J=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ee=/[+~]/,te=new RegExp(\"\\\\\\\\[\\\\da-fA-F]{1,6}[\\\\x20\\\\t\\\\r\\\\n\\\\f]?|\\\\\\\\([^\\\\r\\\\n\\\\f])\",\"g\"),ne=function(e,t){var n=\"0x\"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},ie=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,re=function(e,t){return t?\"\\0\"===e?\"�\":e.slice(0,-1)+\"\\\\\"+e.charCodeAt(e.length-1).toString(16)+\" \":\"\\\\\"+e},oe=function(){h()},se=we((function(e){return!0===e.disabled&&\"fieldset\"===e.nodeName.toLowerCase()}),{dir:\"parentNode\",next:\"legend\"});try{R.apply(I=P.call(S.childNodes),S.childNodes),I[S.childNodes.length].nodeType}catch(e){R={apply:I.length?function(e,t){O.apply(e,P.call(t))}:function(e,t){for(var n=e.length,i=0;e[n++]=t[i++];);e.length=n-1}}}function ae(e,t,i,r){var o,a,c,d,u,f,m,y=t&&t.ownerDocument,S=t?t.nodeType:9;if(i=i||[],\"string\"!=typeof e||!e||1!==S&&9!==S&&11!==S)return i;if(!r&&(h(t),t=t||p,g)){if(11!==S&&(u=J.exec(e)))if(o=u[1]){if(9===S){if(!(c=t.getElementById(o)))return i;if(c.id===o)return i.push(c),i}else if(y&&(c=y.getElementById(o))&&b(t,c)&&c.id===o)return i.push(c),i}else{if(u[2])return R.apply(i,t.getElementsByTagName(e)),i;if((o=u[3])&&n.getElementsByClassName&&t.getElementsByClassName)return R.apply(i,t.getElementsByClassName(o)),i}if(n.qsa&&!k[e+\" \"]&&(!v||!v.test(e))&&(1!==S||\"object\"!==t.nodeName.toLowerCase())){if(m=e,y=t,1===S&&(V.test(e)||U.test(e))){for((y=ee.test(e)&&me(t.parentNode)||t)===t&&n.scope||((d=t.getAttribute(\"id\"))?d=d.replace(ie,re):t.setAttribute(\"id\",d=w)),a=(f=s(e)).length;a--;)f[a]=(d?\"#\"+d:\":scope\")+\" \"+be(f[a]);m=f.join(\",\")}try{return R.apply(i,y.querySelectorAll(m)),i}catch(t){k(e,!0)}finally{d===w&&t.removeAttribute(\"id\")}}}return l(e.replace(B,\"$1\"),t,i,r)}function le(){var e=[];return function t(n,r){return e.push(n+\" \")>i.cacheLength&&delete t[e.shift()],t[n+\" \"]=r}}function ce(e){return e[w]=!0,e}function de(e){var t=p.createElement(\"fieldset\");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ue(e,t){for(var n=e.split(\"|\"),r=n.length;r--;)i.attrHandle[n[r]]=t}function he(e,t){var n=t&&e,i=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(i)return i;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function pe(e){return function(t){return\"input\"===t.nodeName.toLowerCase()&&t.type===e}}function fe(e){return function(t){var n=t.nodeName.toLowerCase();return(\"input\"===n||\"button\"===n)&&t.type===e}}function ge(e){return function(t){return\"form\"in t?t.parentNode&&!1===t.disabled?\"label\"in t?\"label\"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&se(t)===e:t.disabled===e:\"label\"in t&&t.disabled===e}}function ve(e){return ce((function(t){return t=+t,ce((function(n,i){for(var r,o=e([],n.length,t),s=o.length;s--;)n[r=o[s]]&&(n[r]=!(i[r]=n[r]))}))}))}function me(e){return e&&void 0!==e.getElementsByTagName&&e}for(t in n=ae.support={},o=ae.isXML=function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!G.test(t||n&&n.nodeName||\"HTML\")},h=ae.setDocument=function(e){var t,r,s=e?e.ownerDocument||e:S;return s!=p&&9===s.nodeType&&s.documentElement?(f=(p=s).documentElement,g=!o(p),S!=p&&(r=p.defaultView)&&r.top!==r&&(r.addEventListener?r.addEventListener(\"unload\",oe,!1):r.attachEvent&&r.attachEvent(\"onunload\",oe)),n.scope=de((function(e){return f.appendChild(e).appendChild(p.createElement(\"div\")),void 0!==e.querySelectorAll&&!e.querySelectorAll(\":scope fieldset div\").length})),n.attributes=de((function(e){return e.className=\"i\",!e.getAttribute(\"className\")})),n.getElementsByTagName=de((function(e){return e.appendChild(p.createComment(\"\")),!e.getElementsByTagName(\"*\").length})),n.getElementsByClassName=Q.test(p.getElementsByClassName),n.getById=de((function(e){return f.appendChild(e).id=w,!p.getElementsByName||!p.getElementsByName(w).length})),n.getById?(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute(\"id\")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(te,ne);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode(\"id\");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&g){var n,i,r,o=t.getElementById(e);if(o){if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o];for(r=t.getElementsByName(e),i=0;o=r[i++];)if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o]}return[]}}),i.find.TAG=n.getElementsByTagName?function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):n.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,i=[],r=0,o=t.getElementsByTagName(e);if(\"*\"===e){for(;n=o[r++];)1===n.nodeType&&i.push(n);return i}return o},i.find.CLASS=n.getElementsByClassName&&function(e,t){if(void 0!==t.getElementsByClassName&&g)return t.getElementsByClassName(e)},m=[],v=[],(n.qsa=Q.test(p.querySelectorAll))&&(de((function(e){var t;f.appendChild(e).innerHTML=\"\",e.querySelectorAll(\"[msallowcapture^='']\").length&&v.push(\"[*^$]=[\\\\x20\\\\t\\\\r\\\\n\\\\f]*(?:''|\\\"\\\")\"),e.querySelectorAll(\"[selected]\").length||v.push(\"\\\\[[\\\\x20\\\\t\\\\r\\\\n\\\\f]*(?:value|\"+N+\")\"),e.querySelectorAll(\"[id~=\"+w+\"-]\").length||v.push(\"~=\"),(t=p.createElement(\"input\")).setAttribute(\"name\",\"\"),e.appendChild(t),e.querySelectorAll(\"[name='']\").length||v.push(\"\\\\[[\\\\x20\\\\t\\\\r\\\\n\\\\f]*name[\\\\x20\\\\t\\\\r\\\\n\\\\f]*=[\\\\x20\\\\t\\\\r\\\\n\\\\f]*(?:''|\\\"\\\")\"),e.querySelectorAll(\":checked\").length||v.push(\":checked\"),e.querySelectorAll(\"a#\"+w+\"+*\").length||v.push(\".#.+[+~]\"),e.querySelectorAll(\"\\\\\\f\"),v.push(\"[\\\\r\\\\n\\\\f]\")})),de((function(e){e.innerHTML=\"\";var t=p.createElement(\"input\");t.setAttribute(\"type\",\"hidden\"),e.appendChild(t).setAttribute(\"name\",\"D\"),e.querySelectorAll(\"[name=d]\").length&&v.push(\"name[\\\\x20\\\\t\\\\r\\\\n\\\\f]*[*^$|!~]?=\"),2!==e.querySelectorAll(\":enabled\").length&&v.push(\":enabled\",\":disabled\"),f.appendChild(e).disabled=!0,2!==e.querySelectorAll(\":disabled\").length&&v.push(\":enabled\",\":disabled\"),e.querySelectorAll(\"*,:x\"),v.push(\",.*:\")}))),(n.matchesSelector=Q.test(y=f.matches||f.webkitMatchesSelector||f.mozMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&de((function(e){n.disconnectedMatch=y.call(e,\"*\"),y.call(e,\"[s!='']:x\"),m.push(\"!=\",$)})),v=v.length&&new RegExp(v.join(\"|\")),m=m.length&&new RegExp(m.join(\"|\")),t=Q.test(f.compareDocumentPosition),b=t||Q.test(f.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,i=t&&t.parentNode;return e===i||!(!i||1!==i.nodeType||!(n.contains?n.contains(i):e.compareDocumentPosition&&16&e.compareDocumentPosition(i)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return u=!0,0;var i=!e.compareDocumentPosition-!t.compareDocumentPosition;return i||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!n.sortDetached&&t.compareDocumentPosition(e)===i?e==p||e.ownerDocument==S&&b(S,e)?-1:t==p||t.ownerDocument==S&&b(S,t)?1:d?L(d,e)-L(d,t):0:4&i?-1:1)}:function(e,t){if(e===t)return u=!0,0;var n,i=0,r=e.parentNode,o=t.parentNode,s=[e],a=[t];if(!r||!o)return e==p?-1:t==p?1:r?-1:o?1:d?L(d,e)-L(d,t):0;if(r===o)return he(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)a.unshift(n);for(;s[i]===a[i];)i++;return i?he(s[i],a[i]):s[i]==S?-1:a[i]==S?1:0},p):p},ae.matches=function(e,t){return ae(e,null,null,t)},ae.matchesSelector=function(e,t){if(h(e),n.matchesSelector&&g&&!k[t+\" \"]&&(!m||!m.test(t))&&(!v||!v.test(t)))try{var i=y.call(e,t);if(i||n.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){k(t,!0)}return ae(t,p,null,[e]).length>0},ae.contains=function(e,t){return(e.ownerDocument||e)!=p&&h(e),b(e,t)},ae.attr=function(e,t){(e.ownerDocument||e)!=p&&h(e);var r=i.attrHandle[t.toLowerCase()],o=r&&A.call(i.attrHandle,t.toLowerCase())?r(e,t,!g):void 0;return void 0!==o?o:n.attributes||!g?e.getAttribute(t):(o=e.getAttributeNode(t))&&o.specified?o.value:null},ae.escape=function(e){return(e+\"\").replace(ie,re)},ae.error=function(e){throw new Error(\"Syntax error, unrecognized expression: \"+e)},ae.uniqueSort=function(e){var t,i=[],r=0,o=0;if(u=!n.detectDuplicates,d=!n.sortStable&&e.slice(0),e.sort(D),u){for(;t=e[o++];)t===e[o]&&(r=i.push(o));for(;r--;)e.splice(i[r],1)}return d=null,e},r=ae.getText=function(e){var t,n=\"\",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o){if(\"string\"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=r(e)}else if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=r(t);return n},i=ae.selectors={cacheLength:50,createPseudo:ce,match:X,attrHandle:{},find:{},relative:{\">\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||\"\").replace(te,ne),\"~=\"===e[2]&&(e[3]=\" \"+e[3]+\" \"),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),\"nth\"===e[1].slice(0,3)?(e[3]||ae.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(\"even\"===e[3]||\"odd\"===e[3])),e[5]=+(e[7]+e[8]||\"odd\"===e[3])):e[3]&&ae.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return X.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||\"\":n&&F.test(n)&&(t=s(n,!0))&&(t=n.indexOf(\")\",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return\"*\"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=x[e+\" \"];return t||(t=new RegExp(\"(^|[\\\\x20\\\\t\\\\r\\\\n\\\\f])\"+e+\"(\"+H+\"|$)\"))&&x(e,(function(e){return t.test(\"string\"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute(\"class\")||\"\")}))},ATTR:function(e,t,n){return function(i){var r=ae.attr(i,e);return null==r?\"!=\"===t:!t||(r+=\"\",\"=\"===t?r===n:\"!=\"===t?r!==n:\"^=\"===t?n&&0===r.indexOf(n):\"*=\"===t?n&&r.indexOf(n)>-1:\"$=\"===t?n&&r.slice(-n.length)===n:\"~=\"===t?(\" \"+r.replace(q,\" \")+\" \").indexOf(n)>-1:\"|=\"===t&&(r===n||r.slice(0,n.length+1)===n+\"-\"))}},CHILD:function(e,t,n,i,r){var o=\"nth\"!==e.slice(0,3),s=\"last\"!==e.slice(-4),a=\"of-type\"===t;return 1===i&&0===r?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,h,p,f,g=o!==s?\"nextSibling\":\"previousSibling\",v=t.parentNode,m=a&&t.nodeName.toLowerCase(),y=!l&&!a,b=!1;if(v){if(o){for(;g;){for(h=t;h=h[g];)if(a?h.nodeName.toLowerCase()===m:1===h.nodeType)return!1;f=g=\"only\"===e&&!f&&\"nextSibling\"}return!0}if(f=[s?v.firstChild:v.lastChild],s&&y){for(b=(p=(c=(d=(u=(h=v)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]||[])[0]===E&&c[1])&&c[2],h=p&&v.childNodes[p];h=++p&&h&&h[g]||(b=p=0)||f.pop();)if(1===h.nodeType&&++b&&h===t){d[e]=[E,p,b];break}}else if(y&&(b=p=(c=(d=(u=(h=t)[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]||[])[0]===E&&c[1]),!1===b)for(;(h=++p&&h&&h[g]||(b=p=0)||f.pop())&&((a?h.nodeName.toLowerCase()!==m:1!==h.nodeType)||!++b||(y&&((d=(u=h[w]||(h[w]={}))[h.uniqueID]||(u[h.uniqueID]={}))[e]=[E,b]),h!==t)););return(b-=r)===i||b%i==0&&b/i>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||ae.error(\"unsupported pseudo: \"+e);return r[w]?r(t):r.length>1?(n=[e,e,\"\",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ce((function(e,n){for(var i,o=r(e,t),s=o.length;s--;)e[i=L(e,o[s])]=!(n[i]=o[s])})):function(e){return r(e,0,n)}):r}},pseudos:{not:ce((function(e){var t=[],n=[],i=a(e.replace(B,\"$1\"));return i[w]?ce((function(e,t,n,r){for(var o,s=i(e,null,r,[]),a=e.length;a--;)(o=s[a])&&(e[a]=!(t[a]=o))})):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}})),has:ce((function(e){return function(t){return ae(e,t).length>0}})),contains:ce((function(e){return e=e.replace(te,ne),function(t){return(t.textContent||r(t)).indexOf(e)>-1}})),lang:ce((function(e){return Y.test(e||\"\")||ae.error(\"unsupported lang: \"+e),e=e.replace(te,ne).toLowerCase(),function(t){var n;do{if(n=g?t.lang:t.getAttribute(\"xml:lang\")||t.getAttribute(\"lang\"))return(n=n.toLowerCase())===e||0===n.indexOf(e+\"-\")}while((t=t.parentNode)&&1===t.nodeType);return!1}})),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:ge(!1),disabled:ge(!0),checked:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&!!e.checked||\"option\"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return K.test(e.nodeName)},input:function(e){return Z.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return\"input\"===t&&\"button\"===e.type||\"button\"===t},text:function(e){var t;return\"input\"===e.nodeName.toLowerCase()&&\"text\"===e.type&&(null==(t=e.getAttribute(\"type\"))||\"text\"===t.toLowerCase())},first:ve((function(){return[0]})),last:ve((function(e,t){return[t-1]})),eq:ve((function(e,t,n){return[n<0?n+t:n]})),even:ve((function(e,t){for(var n=0;nt?t:n;--i>=0;)e.push(i);return e})),gt:ve((function(e,t,n){for(var i=n<0?n+t:n;++i1?function(t,n,i){for(var r=e.length;r--;)if(!e[r](t,n,i))return!1;return!0}:e[0]}function Ee(e,t,n,i,r){for(var o,s=[],a=0,l=e.length,c=null!=t;a-1&&(o[c]=!(s[c]=u))}}else m=Ee(m===s?m.splice(f,m.length):m),r?r(null,s,m,l):R.apply(s,m)}))}function xe(e){for(var t,n,r,o=e.length,s=i.relative[e[0].type],a=s||i.relative[\" \"],l=s?1:0,d=we((function(e){return e===t}),a,!0),u=we((function(e){return L(t,e)>-1}),a,!0),h=[function(e,n,i){var r=!s&&(i||n!==c)||((t=n).nodeType?d(e,n,i):u(e,n,i));return t=null,r}];l1&&Se(h),l>1&&be(e.slice(0,l-1).concat({value:\" \"===e[l-2].type?\"*\":\"\"})).replace(B,\"$1\"),n,l0,r=e.length>0,o=function(o,s,a,l,d){var u,f,v,m=0,y=\"0\",b=o&&[],w=[],S=c,T=o||r&&i.find.TAG(\"*\",d),x=E+=null==S?1:Math.random()||.1,C=T.length;for(d&&(c=s==p||s||d);y!==C&&null!=(u=T[y]);y++){if(r&&u){for(f=0,s||u.ownerDocument==p||(h(u),a=!g);v=e[f++];)if(v(u,s||p,a)){l.push(u);break}d&&(E=x)}n&&((u=!v&&u)&&m--,o&&b.push(u))}if(m+=y,n&&y!==m){for(f=0;v=t[f++];)v(b,w,s,a);if(o){if(m>0)for(;y--;)b[y]||w[y]||(w[y]=M.call(l));w=Ee(w)}R.apply(l,w),d&&!o&&w.length>0&&m+t.length>1&&ae.uniqueSort(l)}return d&&(E=x,c=S),b};return n?ce(o):o}(o,r)),a.selector=e}return a},l=ae.select=function(e,t,n,r){var o,l,c,d,u,h=\"function\"==typeof e&&e,p=!r&&s(e=h.selector||e);if(n=n||[],1===p.length){if((l=p[0]=p[0].slice(0)).length>2&&\"ID\"===(c=l[0]).type&&9===t.nodeType&&g&&i.relative[l[1].type]){if(!(t=(i.find.ID(c.matches[0].replace(te,ne),t)||[])[0]))return n;h&&(t=t.parentNode),e=e.slice(l.shift().value.length)}for(o=X.needsContext.test(e)?0:l.length;o--&&(c=l[o],!i.relative[d=c.type]);)if((u=i.find[d])&&(r=u(c.matches[0].replace(te,ne),ee.test(l[0].type)&&me(t.parentNode)||t))){if(l.splice(o,1),!(e=r.length&&be(l)))return R.apply(n,r),n;break}}return(h||a(e,p))(r,t,!g,n,!t||ee.test(e)&&me(t.parentNode)||t),n},n.sortStable=w.split(\"\").sort(D).join(\"\")===w,n.detectDuplicates=!!u,h(),n.sortDetached=de((function(e){return 1&e.compareDocumentPosition(p.createElement(\"fieldset\"))})),de((function(e){return e.innerHTML=\"\",\"#\"===e.firstChild.getAttribute(\"href\")}))||ue(\"type|href|height|width\",(function(e,t,n){if(!n)return e.getAttribute(t,\"type\"===t.toLowerCase()?1:2)})),n.attributes&&de((function(e){return e.innerHTML=\"\",e.firstChild.setAttribute(\"value\",\"\"),\"\"===e.firstChild.getAttribute(\"value\")}))||ue(\"value\",(function(e,t,n){if(!n&&\"input\"===e.nodeName.toLowerCase())return e.defaultValue})),de((function(e){return null==e.getAttribute(\"disabled\")}))||ue(N,(function(e,t,n){var i;if(!n)return!0===e[t]?t.toLowerCase():(i=e.getAttributeNode(t))&&i.specified?i.value:null})),ae}(e);S.find=T,S.expr=T.selectors,S.expr[\":\"]=S.expr.pseudos,S.uniqueSort=S.unique=T.uniqueSort,S.text=T.getText,S.isXMLDoc=T.isXML,S.contains=T.contains,S.escapeSelector=T.escape;var x=function(e,t,n){for(var i=[],r=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(r&&S(e).is(n))break;i.push(e)}return i},C=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},_=S.expr.match.needsContext;function k(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function A(e,t,n){return f(t)?S.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?S.grep(e,(function(e){return e===t!==n})):\"string\"!=typeof t?S.grep(e,(function(e){return a.call(t,e)>-1!==n})):S.filter(t,e,n)}S.filter=function(e,t,n){var i=t[0];return n&&(e=\":not(\"+e+\")\"),1===t.length&&1===i.nodeType?S.find.matchesSelector(i,e)?[i]:[]:S.find.matches(e,S.grep(t,(function(e){return 1===e.nodeType})))},S.fn.extend({find:function(e){var t,n,i=this.length,r=this;if(\"string\"!=typeof e)return this.pushStack(S(e).filter((function(){for(t=0;t1?S.uniqueSort(n):n},filter:function(e){return this.pushStack(A(this,e||[],!1))},not:function(e){return this.pushStack(A(this,e||[],!0))},is:function(e){return!!A(this,\"string\"==typeof e&&_.test(e)?S(e):e||[],!1).length}});var I,M=/^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/;(S.fn.init=function(e,t,n){var i,r;if(!e)return this;if(n=n||I,\"string\"==typeof e){if(!(i=\"<\"===e[0]&&\">\"===e[e.length-1]&&e.length>=3?[null,e,null]:M.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof S?t[0]:t,S.merge(this,S.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:v,!0)),D.test(i[1])&&S.isPlainObject(t))for(i in t)f(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(r=v.getElementById(i[2]))&&(this[0]=r,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):f(e)?void 0!==n.ready?n.ready(e):e(S):S.makeArray(e,this)}).prototype=S.fn,I=S(v);var O=/^(?:parents|prev(?:Until|All))/,R={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}S.fn.extend({has:function(e){var t=S(e,this),n=t.length;return this.filter((function(){for(var e=0;e-1:1===n.nodeType&&S.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?S.uniqueSort(o):o)},index:function(e){return e?\"string\"==typeof e?a.call(S(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(S.uniqueSort(S.merge(this.get(),S(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),S.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return x(e,\"parentNode\")},parentsUntil:function(e,t,n){return x(e,\"parentNode\",n)},next:function(e){return P(e,\"nextSibling\")},prev:function(e){return P(e,\"previousSibling\")},nextAll:function(e){return x(e,\"nextSibling\")},prevAll:function(e){return x(e,\"previousSibling\")},nextUntil:function(e,t,n){return x(e,\"nextSibling\",n)},prevUntil:function(e,t,n){return x(e,\"previousSibling\",n)},siblings:function(e){return C((e.parentNode||{}).firstChild,e)},children:function(e){return C(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(k(e,\"template\")&&(e=e.content||e),S.merge([],e.childNodes))}},(function(e,t){S.fn[e]=function(n,i){var r=S.map(this,t,n);return\"Until\"!==e.slice(-5)&&(i=n),i&&\"string\"==typeof i&&(r=S.filter(i,r)),this.length>1&&(R[e]||S.uniqueSort(r),O.test(e)&&r.reverse()),this.pushStack(r)}}));var L=/[^\\x20\\t\\r\\n\\f]+/g;function N(e){return e}function H(e){throw e}function j(e,t,n,i){var r;try{e&&f(r=e.promise)?r.call(e).done(t).fail(n):e&&f(r=e.then)?r.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}S.Callbacks=function(e){e=\"string\"==typeof e?function(e){var t={};return S.each(e.match(L)||[],(function(e,n){t[n]=!0})),t}(e):S.extend({},e);var t,n,i,r,o=[],s=[],a=-1,l=function(){for(r=r||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a-1;)o.splice(n,1),n<=a&&a--})),this},has:function(e){return e?S.inArray(e,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return r=s=[],o=n=\"\",this},disabled:function(){return!o},lock:function(){return r=s=[],n||t||(o=n=\"\"),this},locked:function(){return!!r},fireWith:function(e,n){return r||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},S.extend({Deferred:function(t){var n=[[\"notify\",\"progress\",S.Callbacks(\"memory\"),S.Callbacks(\"memory\"),2],[\"resolve\",\"done\",S.Callbacks(\"once memory\"),S.Callbacks(\"once memory\"),0,\"resolved\"],[\"reject\",\"fail\",S.Callbacks(\"once memory\"),S.Callbacks(\"once memory\"),1,\"rejected\"]],i=\"pending\",r={state:function(){return i},always:function(){return o.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return S.Deferred((function(t){S.each(n,(function(n,i){var r=f(e[i[4]])&&e[i[4]];o[i[1]]((function(){var e=r&&r.apply(this,arguments);e&&f(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+\"With\"](this,r?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,r){var o=0;function s(t,n,i,r){return function(){var a=this,l=arguments,c=function(){var e,c;if(!(t=o&&(i!==H&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?d():(S.Deferred.getStackHook&&(d.stackTrace=S.Deferred.getStackHook()),e.setTimeout(d))}}return S.Deferred((function(e){n[0][3].add(s(0,e,f(r)?r:N,e.notifyWith)),n[1][3].add(s(0,e,f(t)?t:N)),n[2][3].add(s(0,e,f(i)?i:H))})).promise()},promise:function(e){return null!=e?S.extend(e,r):r}},o={};return S.each(n,(function(e,t){var s=t[2],a=t[5];r[t[1]]=s.add,a&&s.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),o[t[0]]=function(){return o[t[0]+\"With\"](this===o?void 0:this,arguments),this},o[t[0]+\"With\"]=s.fireWith})),r.promise(o),t&&t.call(o,o),o},when:function(e){var t=arguments.length,n=t,i=Array(n),o=r.call(arguments),s=S.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?r.call(arguments):n,--t||s.resolveWith(i,o)}};if(t<=1&&(j(e,s.done(a(n)).resolve,s.reject,!t),\"pending\"===s.state()||f(o[n]&&o[n].then)))return s.then();for(;n--;)j(o[n],a(n),s.reject);return s.promise()}});var z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;S.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&z.test(t.name)&&e.console.warn(\"jQuery.Deferred exception: \"+t.message,t.stack,n)},S.readyException=function(t){e.setTimeout((function(){throw t}))};var $=S.Deferred();function q(){v.removeEventListener(\"DOMContentLoaded\",q),e.removeEventListener(\"load\",q),S.ready()}S.fn.ready=function(e){return $.then(e).catch((function(e){S.readyException(e)})),this},S.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--S.readyWait:S.isReady)||(S.isReady=!0,!0!==e&&--S.readyWait>0||$.resolveWith(v,[S]))}}),S.ready.then=$.then,\"complete\"===v.readyState||\"loading\"!==v.readyState&&!v.documentElement.doScroll?e.setTimeout(S.ready):(v.addEventListener(\"DOMContentLoaded\",q),e.addEventListener(\"load\",q));var B=function(e,t,n,i,r,o,s){var a=0,l=e.length,c=null==n;if(\"object\"===b(n))for(a in r=!0,n)B(e,t,a,n[a],!0,o,s);else if(void 0!==i&&(r=!0,f(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(S(e),n)})),t))for(;a1,null,!0)},removeData:function(e){return this.each((function(){Z.remove(this,e)}))}}),S.extend({queue:function(e,t,n){var i;if(e)return t=(t||\"fx\")+\"queue\",i=G.get(e,t),n&&(!i||Array.isArray(n)?i=G.access(e,t,S.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||\"fx\";var n=S.queue(e,t),i=n.length,r=n.shift(),o=S._queueHooks(e,t);\"inprogress\"===r&&(r=n.shift(),i--),r&&(\"fx\"===t&&n.unshift(\"inprogress\"),delete o.stop,r.call(e,(function(){S.dequeue(e,t)}),o)),!i&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+\"queueHooks\";return G.get(e,n)||G.access(e,n,{empty:S.Callbacks(\"once memory\").add((function(){G.remove(e,[t+\"queue\",n])}))})}}),S.fn.extend({queue:function(e,t){var n=2;return\"string\"!=typeof e&&(t=e,e=\"fx\",n--),arguments.length\\x20\\t\\r\\n\\f]*)/i,ge=/^$|^module$|\\/(?:java|ecma)script/i;ue=v.createDocumentFragment().appendChild(v.createElement(\"div\")),(he=v.createElement(\"input\")).setAttribute(\"type\",\"radio\"),he.setAttribute(\"checked\",\"checked\"),he.setAttribute(\"name\",\"t\"),ue.appendChild(he),p.checkClone=ue.cloneNode(!0).cloneNode(!0).lastChild.checked,ue.innerHTML=\"\",p.noCloneChecked=!!ue.cloneNode(!0).lastChild.defaultValue,ue.innerHTML=\"\",p.option=!!ue.lastChild;var ve={thead:[1,\"\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};function me(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||\"*\"):void 0!==e.querySelectorAll?e.querySelectorAll(t||\"*\"):[],void 0===t||t&&k(e,t)?S.merge([e],n):n}function ye(e,t){for(var n=0,i=e.length;n\",\"\"]);var be=/<|&#?\\w+;/;function we(e,t,n,i,r){for(var o,s,a,l,c,d,u=t.createDocumentFragment(),h=[],p=0,f=e.length;p-1)r&&r.push(o);else if(c=re(o),s=me(u.appendChild(o),\"script\"),c&&ye(s),n)for(d=0;o=s[d++];)ge.test(o.type||\"\")&&n.push(o);return u}var Se=/^([^.]*)(?:\\.(.+)|)/;function Ee(){return!0}function Te(){return!1}function xe(e,t){return e===function(){try{return v.activeElement}catch(e){}}()==(\"focus\"===t)}function Ce(e,t,n,i,r,o){var s,a;if(\"object\"==typeof t){for(a in\"string\"!=typeof n&&(i=i||n,n=void 0),t)Ce(e,a,n,i,t[a],o);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&(\"string\"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=Te;else if(!r)return e;return 1===o&&(s=r,r=function(e){return S().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=S.guid++)),e.each((function(){S.event.add(this,t,r,i,n)}))}function _e(e,t,n){n?(G.set(e,t,!1),S.event.add(e,t,{namespace:!1,handler:function(e){var i,o,s=G.get(this,t);if(1&e.isTrigger&&this[t]){if(s.length)(S.event.special[t]||{}).delegateType&&e.stopPropagation();else if(s=r.call(arguments),G.set(this,t,s),i=n(this,t),this[t](),s!==(o=G.get(this,t))||i?G.set(this,t,!1):o={},s!==o)return e.stopImmediatePropagation(),e.preventDefault(),o&&o.value}else s.length&&(G.set(this,t,{value:S.event.trigger(S.extend(s[0],S.Event.prototype),s.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===G.get(e,t)&&S.event.add(e,t,Ee)}S.event={global:{},add:function(e,t,n,i,r){var o,s,a,l,c,d,u,h,p,f,g,v=G.get(e);if(Y(e))for(n.handler&&(n=(o=n).handler,r=o.selector),r&&S.find.matchesSelector(ie,r),n.guid||(n.guid=S.guid++),(l=v.events)||(l=v.events=Object.create(null)),(s=v.handle)||(s=v.handle=function(t){return void 0!==S&&S.event.triggered!==t.type?S.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||\"\").match(L)||[\"\"]).length;c--;)p=g=(a=Se.exec(t[c])||[])[1],f=(a[2]||\"\").split(\".\").sort(),p&&(u=S.event.special[p]||{},p=(r?u.delegateType:u.bindType)||p,u=S.event.special[p]||{},d=S.extend({type:p,origType:g,data:i,handler:n,guid:n.guid,selector:r,needsContext:r&&S.expr.match.needsContext.test(r),namespace:f.join(\".\")},o),(h=l[p])||((h=l[p]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,f,s)||e.addEventListener&&e.addEventListener(p,s)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),r?h.splice(h.delegateCount++,0,d):h.push(d),S.event.global[p]=!0)},remove:function(e,t,n,i,r){var o,s,a,l,c,d,u,h,p,f,g,v=G.hasData(e)&&G.get(e);if(v&&(l=v.events)){for(c=(t=(t||\"\").match(L)||[\"\"]).length;c--;)if(p=g=(a=Se.exec(t[c])||[])[1],f=(a[2]||\"\").split(\".\").sort(),p){for(u=S.event.special[p]||{},h=l[p=(i?u.delegateType:u.bindType)||p]||[],a=a[2]&&new RegExp(\"(^|\\\\.)\"+f.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),s=o=h.length;o--;)d=h[o],!r&&g!==d.origType||n&&n.guid!==d.guid||a&&!a.test(d.namespace)||i&&i!==d.selector&&(\"**\"!==i||!d.selector)||(h.splice(o,1),d.selector&&h.delegateCount--,u.remove&&u.remove.call(e,d));s&&!h.length&&(u.teardown&&!1!==u.teardown.call(e,f,v.handle)||S.removeEvent(e,p,v.handle),delete l[p])}else for(p in l)S.event.remove(e,p+t[c],n,i,!0);S.isEmptyObject(l)&&G.remove(e,\"handle events\")}},dispatch:function(e){var t,n,i,r,o,s,a=new Array(arguments.length),l=S.event.fix(e),c=(G.get(this,\"events\")||Object.create(null))[l.type]||[],d=S.event.special[l.type]||{};for(a[0]=l,t=1;t=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&(\"click\"!==e.type||!0!==c.disabled)){for(o=[],s={},n=0;n-1:S.find(r,this,null,[c]).length),s[r]&&o.push(i);o.length&&a.push({elem:c,handlers:o})}return c=this,l\\s*$/g;function Ie(e,t){return k(e,\"table\")&&k(11!==t.nodeType?t:t.firstChild,\"tr\")&&S(e).children(\"tbody\")[0]||e}function Me(e){return e.type=(null!==e.getAttribute(\"type\"))+\"/\"+e.type,e}function Oe(e){return\"true/\"===(e.type||\"\").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute(\"type\"),e}function Re(e,t){var n,i,r,o,s,a;if(1===t.nodeType){if(G.hasData(e)&&(a=G.get(e).events))for(r in G.remove(t,\"handle events\"),a)for(n=0,i=a[r].length;n1&&\"string\"==typeof v&&!p.checkClone&&De.test(v))return e.each((function(r){var o=e.eq(r);m&&(t[0]=v.call(this,r,o.html())),Le(o,t,n,i)}));if(h&&(s=(r=we(t,e[0].ownerDocument,!1,e,i)).firstChild,1===r.childNodes.length&&(r=s),s||i)){for(l=(a=S.map(me(r,\"script\"),Me)).length;u0&&ye(s,!l&&me(e,\"script\")),a},cleanData:function(e){for(var t,n,i,r=S.event.special,o=0;void 0!==(n=e[o]);o++)if(Y(n)){if(t=n[G.expando]){if(t.events)for(i in t.events)r[i]?S.event.remove(n,i):S.removeEvent(n,i,t.handle);n[G.expando]=void 0}n[Z.expando]&&(n[Z.expando]=void 0)}}}),S.fn.extend({detach:function(e){return Ne(this,e,!0)},remove:function(e){return Ne(this,e)},text:function(e){return B(this,(function(e){return void 0===e?S.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)}))}),null,e,arguments.length)},append:function(){return Le(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ie(this,e).appendChild(e)}))},prepend:function(){return Le(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Ie(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Le(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Le(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)}))},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(S.cleanData(me(e,!1)),e.textContent=\"\");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return S.clone(this,e,t)}))},html:function(e){return B(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if(\"string\"==typeof e&&!ke.test(e)&&!ve[(fe.exec(e)||[\"\",\"\"])[1].toLowerCase()]){e=S.htmlPrefilter(e);try{for(;n=0&&(l+=Math.max(0,Math.ceil(e[\"offset\"+t[0].toUpperCase()+t.slice(1)]-o-l-a-.5))||0),l}function Je(e,t,n){var i=je(e),r=(!p.boxSizingReliable()||n)&&\"border-box\"===S.css(e,\"boxSizing\",!1,i),o=r,s=qe(e,t,i),a=\"offset\"+t[0].toUpperCase()+t.slice(1);if(He.test(s)){if(!n)return s;s=\"auto\"}return(!p.boxSizingReliable()&&r||!p.reliableTrDimensions()&&k(e,\"tr\")||\"auto\"===s||!parseFloat(s)&&\"inline\"===S.css(e,\"display\",!1,i))&&e.getClientRects().length&&(r=\"border-box\"===S.css(e,\"boxSizing\",!1,i),(o=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+Qe(e,t,n||(r?\"border\":\"content\"),o,i,s)+\"px\"}function et(e,t,n,i,r){return new et.prototype.init(e,t,n,i,r)}S.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=qe(e,\"opacity\");return\"\"===n?\"1\":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,o,s,a=F(t),l=Xe.test(t),c=e.style;if(l||(t=Fe(a)),s=S.cssHooks[t]||S.cssHooks[a],void 0===n)return s&&\"get\"in s&&void 0!==(r=s.get(e,!1,i))?r:c[t];\"string\"===(o=typeof n)&&(r=te.exec(n))&&r[1]&&(n=ae(e,t,r),o=\"number\"),null!=n&&n==n&&(\"number\"!==o||l||(n+=r&&r[3]||(S.cssNumber[a]?\"\":\"px\")),p.clearCloneStyle||\"\"!==n||0!==t.indexOf(\"background\")||(c[t]=\"inherit\"),s&&\"set\"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var r,o,s,a=F(t);return Xe.test(t)||(t=Fe(a)),(s=S.cssHooks[t]||S.cssHooks[a])&&\"get\"in s&&(r=s.get(e,!0,n)),void 0===r&&(r=qe(e,t,i)),\"normal\"===r&&t in Ze&&(r=Ze[t]),\"\"===n||n?(o=parseFloat(r),!0===n||isFinite(o)?o||0:r):r}}),S.each([\"height\",\"width\"],(function(e,t){S.cssHooks[t]={get:function(e,n,i){if(n)return!Ye.test(S.css(e,\"display\"))||e.getClientRects().length&&e.getBoundingClientRect().width?Je(e,t,i):ze(e,Ge,(function(){return Je(e,t,i)}))},set:function(e,n,i){var r,o=je(e),s=!p.scrollboxSize()&&\"absolute\"===o.position,a=(s||i)&&\"border-box\"===S.css(e,\"boxSizing\",!1,o),l=i?Qe(e,t,i,a,o):0;return a&&s&&(l-=Math.ceil(e[\"offset\"+t[0].toUpperCase()+t.slice(1)]-parseFloat(o[t])-Qe(e,t,\"border\",!1,o)-.5)),l&&(r=te.exec(n))&&\"px\"!==(r[3]||\"px\")&&(e.style[t]=n,n=S.css(e,t)),Ke(0,n,l)}}})),S.cssHooks.marginLeft=Be(p.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(qe(e,\"marginLeft\"))||e.getBoundingClientRect().left-ze(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+\"px\"})),S.each({margin:\"\",padding:\"\",border:\"Width\"},(function(e,t){S.cssHooks[e+t]={expand:function(n){for(var i=0,r={},o=\"string\"==typeof n?n.split(\" \"):[n];i<4;i++)r[e+ne[i]+t]=o[i]||o[i-2]||o[0];return r}},\"margin\"!==e&&(S.cssHooks[e+t].set=Ke)})),S.fn.extend({css:function(e,t){return B(this,(function(e,t,n){var i,r,o={},s=0;if(Array.isArray(t)){for(i=je(e),r=t.length;s1)}}),S.Tween=et,et.prototype={constructor:et,init:function(e,t,n,i,r,o){this.elem=e,this.prop=n,this.easing=r||S.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=o||(S.cssNumber[n]?\"\":\"px\")},cur:function(){var e=et.propHooks[this.prop];return e&&e.get?e.get(this):et.propHooks._default.get(this)},run:function(e){var t,n=et.propHooks[this.prop];return this.options.duration?this.pos=t=S.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):et.propHooks._default.set(this),this}},et.prototype.init.prototype=et.prototype,et.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=S.css(e.elem,e.prop,\"\"))&&\"auto\"!==t?t:0},set:function(e){S.fx.step[e.prop]?S.fx.step[e.prop](e):1!==e.elem.nodeType||!S.cssHooks[e.prop]&&null==e.elem.style[Fe(e.prop)]?e.elem[e.prop]=e.now:S.style(e.elem,e.prop,e.now+e.unit)}}},et.propHooks.scrollTop=et.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},S.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:\"swing\"},S.fx=et.prototype.init,S.fx.step={};var tt,nt,it=/^(?:toggle|show|hide)$/,rt=/queueHooks$/;function ot(){nt&&(!1===v.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ot):e.setTimeout(ot,S.fx.interval),S.fx.tick())}function st(){return e.setTimeout((function(){tt=void 0})),tt=Date.now()}function at(e,t){var n,i=0,r={height:e};for(t=t?1:0;i<4;i+=2-t)r[\"margin\"+(n=ne[i])]=r[\"padding\"+n]=e;return t&&(r.opacity=r.width=e),r}function lt(e,t,n){for(var i,r=(ct.tweeners[t]||[]).concat(ct.tweeners[\"*\"]),o=0,s=r.length;o1)},removeAttr:function(e){return this.each((function(){S.removeAttr(this,e)}))}}),S.extend({attr:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===e.getAttribute?S.prop(e,t,n):(1===o&&S.isXMLDoc(e)||(r=S.attrHooks[t.toLowerCase()]||(S.expr.match.bool.test(t)?dt:void 0)),void 0!==n?null===n?void S.removeAttr(e,t):r&&\"set\"in r&&void 0!==(i=r.set(e,n,t))?i:(e.setAttribute(t,n+\"\"),n):r&&\"get\"in r&&null!==(i=r.get(e,t))?i:null==(i=S.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!p.radioValue&&\"radio\"===t&&k(e,\"input\")){var n=e.value;return e.setAttribute(\"type\",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,r=t&&t.match(L);if(r&&1===e.nodeType)for(;n=r[i++];)e.removeAttribute(n)}}),dt={set:function(e,t,n){return!1===t?S.removeAttr(e,n):e.setAttribute(n,n),n}},S.each(S.expr.match.bool.source.match(/\\w+/g),(function(e,t){var n=ut[t]||S.find.attr;ut[t]=function(e,t,i){var r,o,s=t.toLowerCase();return i||(o=ut[s],ut[s]=r,r=null!=n(e,t,i)?s:null,ut[s]=o),r}}));var ht=/^(?:input|select|textarea|button)$/i,pt=/^(?:a|area)$/i;function ft(e){return(e.match(L)||[]).join(\" \")}function gt(e){return e.getAttribute&&e.getAttribute(\"class\")||\"\"}function vt(e){return Array.isArray(e)?e:\"string\"==typeof e&&e.match(L)||[]}S.fn.extend({prop:function(e,t){return B(this,S.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[S.propFix[e]||e]}))}}),S.extend({prop:function(e,t,n){var i,r,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&S.isXMLDoc(e)||(t=S.propFix[t]||t,r=S.propHooks[t]),void 0!==n?r&&\"set\"in r&&void 0!==(i=r.set(e,n,t))?i:e[t]=n:r&&\"get\"in r&&null!==(i=r.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=S.find.attr(e,\"tabindex\");return t?parseInt(t,10):ht.test(e.nodeName)||pt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:\"htmlFor\",class:\"className\"}}),p.optSelected||(S.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),S.each([\"tabIndex\",\"readOnly\",\"maxLength\",\"cellSpacing\",\"cellPadding\",\"rowSpan\",\"colSpan\",\"useMap\",\"frameBorder\",\"contentEditable\"],(function(){S.propFix[this.toLowerCase()]=this})),S.fn.extend({addClass:function(e){var t,n,i,r,o,s,a,l=0;if(f(e))return this.each((function(t){S(this).addClass(e.call(this,t,gt(this)))}));if((t=vt(e)).length)for(;n=this[l++];)if(r=gt(n),i=1===n.nodeType&&\" \"+ft(r)+\" \"){for(s=0;o=t[s++];)i.indexOf(\" \"+o+\" \")<0&&(i+=o+\" \");r!==(a=ft(i))&&n.setAttribute(\"class\",a)}return this},removeClass:function(e){var t,n,i,r,o,s,a,l=0;if(f(e))return this.each((function(t){S(this).removeClass(e.call(this,t,gt(this)))}));if(!arguments.length)return this.attr(\"class\",\"\");if((t=vt(e)).length)for(;n=this[l++];)if(r=gt(n),i=1===n.nodeType&&\" \"+ft(r)+\" \"){for(s=0;o=t[s++];)for(;i.indexOf(\" \"+o+\" \")>-1;)i=i.replace(\" \"+o+\" \",\" \");r!==(a=ft(i))&&n.setAttribute(\"class\",a)}return this},toggleClass:function(e,t){var n=typeof e,i=\"string\"===n||Array.isArray(e);return\"boolean\"==typeof t&&i?t?this.addClass(e):this.removeClass(e):f(e)?this.each((function(n){S(this).toggleClass(e.call(this,n,gt(this),t),t)})):this.each((function(){var t,r,o,s;if(i)for(r=0,o=S(this),s=vt(e);t=s[r++];)o.hasClass(t)?o.removeClass(t):o.addClass(t);else void 0!==e&&\"boolean\"!==n||((t=gt(this))&&G.set(this,\"__className__\",t),this.setAttribute&&this.setAttribute(\"class\",t||!1===e?\"\":G.get(this,\"__className__\")||\"\"))}))},hasClass:function(e){var t,n,i=0;for(t=\" \"+e+\" \";n=this[i++];)if(1===n.nodeType&&(\" \"+ft(gt(n))+\" \").indexOf(t)>-1)return!0;return!1}});var mt=/\\r/g;S.fn.extend({val:function(e){var t,n,i,r=this[0];return arguments.length?(i=f(e),this.each((function(n){var r;1===this.nodeType&&(null==(r=i?e.call(this,n,S(this).val()):e)?r=\"\":\"number\"==typeof r?r+=\"\":Array.isArray(r)&&(r=S.map(r,(function(e){return null==e?\"\":e+\"\"}))),(t=S.valHooks[this.type]||S.valHooks[this.nodeName.toLowerCase()])&&\"set\"in t&&void 0!==t.set(this,r,\"value\")||(this.value=r))}))):r?(t=S.valHooks[r.type]||S.valHooks[r.nodeName.toLowerCase()])&&\"get\"in t&&void 0!==(n=t.get(r,\"value\"))?n:\"string\"==typeof(n=r.value)?n.replace(mt,\"\"):null==n?\"\":n:void 0}}),S.extend({valHooks:{option:{get:function(e){var t=S.find.attr(e,\"value\");return null!=t?t:ft(S.text(e))}},select:{get:function(e){var t,n,i,r=e.options,o=e.selectedIndex,s=\"select-one\"===e.type,a=s?null:[],l=s?o+1:r.length;for(i=o<0?l:s?o:0;i-1)&&(n=!0);return n||(e.selectedIndex=-1),o}}}}),S.each([\"radio\",\"checkbox\"],(function(){S.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=S.inArray(S(e).val(),t)>-1}},p.checkOn||(S.valHooks[this].get=function(e){return null===e.getAttribute(\"value\")?\"on\":e.value})})),p.focusin=\"onfocusin\"in e;var yt=/^(?:focusinfocus|focusoutblur)$/,bt=function(e){e.stopPropagation()};S.extend(S.event,{trigger:function(t,n,i,r){var o,s,a,l,c,u,h,p,m=[i||v],y=d.call(t,\"type\")?t.type:t,b=d.call(t,\"namespace\")?t.namespace.split(\".\"):[];if(s=p=a=i=i||v,3!==i.nodeType&&8!==i.nodeType&&!yt.test(y+S.event.triggered)&&(y.indexOf(\".\")>-1&&(b=y.split(\".\"),y=b.shift(),b.sort()),c=y.indexOf(\":\")<0&&\"on\"+y,(t=t[S.expando]?t:new S.Event(y,\"object\"==typeof t&&t)).isTrigger=r?2:3,t.namespace=b.join(\".\"),t.rnamespace=t.namespace?new RegExp(\"(^|\\\\.)\"+b.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:S.makeArray(n,[t]),h=S.event.special[y]||{},r||!h.trigger||!1!==h.trigger.apply(i,n))){if(!r&&!h.noBubble&&!g(i)){for(l=h.delegateType||y,yt.test(l+y)||(s=s.parentNode);s;s=s.parentNode)m.push(s),a=s;a===(i.ownerDocument||v)&&m.push(a.defaultView||a.parentWindow||e)}for(o=0;(s=m[o++])&&!t.isPropagationStopped();)p=s,t.type=o>1?l:h.bindType||y,(u=(G.get(s,\"events\")||Object.create(null))[t.type]&&G.get(s,\"handle\"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&Y(s)&&(t.result=u.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,r||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(m.pop(),n)||!Y(i)||c&&f(i[y])&&!g(i)&&((a=i[c])&&(i[c]=null),S.event.triggered=y,t.isPropagationStopped()&&p.addEventListener(y,bt),i[y](),t.isPropagationStopped()&&p.removeEventListener(y,bt),S.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=S.extend(new S.Event,n,{type:e,isSimulated:!0});S.event.trigger(i,null,t)}}),S.fn.extend({trigger:function(e,t){return this.each((function(){S.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return S.event.trigger(e,t,n,!0)}}),p.focusin||S.each({focus:\"focusin\",blur:\"focusout\"},(function(e,t){var n=function(e){S.event.simulate(t,e.target,S.event.fix(e))};S.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,r=G.access(i,t);r||i.addEventListener(e,n,!0),G.access(i,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,r=G.access(i,t)-1;r?G.access(i,t,r):(i.removeEventListener(e,n,!0),G.remove(i,t))}}}));var wt=e.location,St={guid:Date.now()},Et=/\\?/;S.parseXML=function(t){var n,i;if(!t||\"string\"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,\"text/xml\")}catch(e){}return i=n&&n.getElementsByTagName(\"parsererror\")[0],n&&!i||S.error(\"Invalid XML: \"+(i?S.map(i.childNodes,(function(e){return e.textContent})).join(\"\\n\"):t)),n};var Tt=/\\[\\]$/,xt=/\\r?\\n/g,Ct=/^(?:submit|button|image|reset|file)$/i,_t=/^(?:input|select|textarea|keygen)/i;function kt(e,t,n,i){var r;if(Array.isArray(t))S.each(t,(function(t,r){n||Tt.test(e)?i(e,r):kt(e+\"[\"+(\"object\"==typeof r&&null!=r?t:\"\")+\"]\",r,n,i)}));else if(n||\"object\"!==b(t))i(e,t);else for(r in t)kt(e+\"[\"+r+\"]\",t[r],n,i)}S.param=function(e,t){var n,i=[],r=function(e,t){var n=f(t)?t():t;i[i.length]=encodeURIComponent(e)+\"=\"+encodeURIComponent(null==n?\"\":n)};if(null==e)return\"\";if(Array.isArray(e)||e.jquery&&!S.isPlainObject(e))S.each(e,(function(){r(this.name,this.value)}));else for(n in e)kt(n,e[n],t,r);return i.join(\"&\")},S.fn.extend({serialize:function(){return S.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=S.prop(this,\"elements\");return e?S.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!S(this).is(\":disabled\")&&_t.test(this.nodeName)&&!Ct.test(e)&&(this.checked||!pe.test(e))})).map((function(e,t){var n=S(this).val();return null==n?null:Array.isArray(n)?S.map(n,(function(e){return{name:t.name,value:e.replace(xt,\"\\r\\n\")}})):{name:t.name,value:n.replace(xt,\"\\r\\n\")}})).get()}});var Dt=/%20/g,At=/#.*$/,It=/([?&])_=[^&]*/,Mt=/^(.*?):[ \\t]*([^\\r\\n]*)$/gm,Ot=/^(?:GET|HEAD)$/,Rt=/^\\/\\//,Pt={},Lt={},Nt=\"*/\".concat(\"*\"),Ht=v.createElement(\"a\");function jt(e){return function(t,n){\"string\"!=typeof t&&(n=t,t=\"*\");var i,r=0,o=t.toLowerCase().match(L)||[];if(f(n))for(;i=o[r++];)\"+\"===i[0]?(i=i.slice(1)||\"*\",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function zt(e,t,n,i){var r={},o=e===Lt;function s(a){var l;return r[a]=!0,S.each(e[a]||[],(function(e,a){var c=a(t,n,i);return\"string\"!=typeof c||o||r[c]?o?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!r[\"*\"]&&s(\"*\")}function $t(e,t){var n,i,r=S.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((r[n]?e:i||(i={}))[n]=t[n]);return i&&S.extend(!0,e,i),e}Ht.href=wt.href,S.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:wt.href,type:\"GET\",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(wt.protocol),global:!0,processData:!0,async:!0,contentType:\"application/x-www-form-urlencoded; charset=UTF-8\",accepts:{\"*\":Nt,text:\"text/plain\",html:\"text/html\",xml:\"application/xml, text/xml\",json:\"application/json, text/javascript\"},contents:{xml:/\\bxml\\b/,html:/\\bhtml/,json:/\\bjson\\b/},responseFields:{xml:\"responseXML\",text:\"responseText\",json:\"responseJSON\"},converters:{\"* text\":String,\"text html\":!0,\"text json\":JSON.parse,\"text xml\":S.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?$t($t(e,S.ajaxSettings),t):$t(S.ajaxSettings,e)},ajaxPrefilter:jt(Pt),ajaxTransport:jt(Lt),ajax:function(t,n){\"object\"==typeof t&&(n=t,t=void 0),n=n||{};var i,r,o,s,a,l,c,d,u,h,p=S.ajaxSetup({},n),f=p.context||p,g=p.context&&(f.nodeType||f.jquery)?S(f):S.event,m=S.Deferred(),y=S.Callbacks(\"once memory\"),b=p.statusCode||{},w={},E={},T=\"canceled\",x={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=Mt.exec(o);)s[t[1].toLowerCase()+\" \"]=(s[t[1].toLowerCase()+\" \"]||[]).concat(t[2]);t=s[e.toLowerCase()+\" \"]}return null==t?null:t.join(\", \")},getAllResponseHeaders:function(){return c?o:null},setRequestHeader:function(e,t){return null==c&&(e=E[e.toLowerCase()]=E[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)x.always(e[x.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||T;return i&&i.abort(t),C(0,t),this}};if(m.promise(x),p.url=((t||p.url||wt.href)+\"\").replace(Rt,wt.protocol+\"//\"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=(p.dataType||\"*\").toLowerCase().match(L)||[\"\"],null==p.crossDomain){l=v.createElement(\"a\");try{l.href=p.url,l.href=l.href,p.crossDomain=Ht.protocol+\"//\"+Ht.host!=l.protocol+\"//\"+l.host}catch(e){p.crossDomain=!0}}if(p.data&&p.processData&&\"string\"!=typeof p.data&&(p.data=S.param(p.data,p.traditional)),zt(Pt,p,n,x),c)return x;for(u in(d=S.event&&p.global)&&0==S.active++&&S.event.trigger(\"ajaxStart\"),p.type=p.type.toUpperCase(),p.hasContent=!Ot.test(p.type),r=p.url.replace(At,\"\"),p.hasContent?p.data&&p.processData&&0===(p.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&(p.data=p.data.replace(Dt,\"+\")):(h=p.url.slice(r.length),p.data&&(p.processData||\"string\"==typeof p.data)&&(r+=(Et.test(r)?\"&\":\"?\")+p.data,delete p.data),!1===p.cache&&(r=r.replace(It,\"$1\"),h=(Et.test(r)?\"&\":\"?\")+\"_=\"+St.guid+++h),p.url=r+h),p.ifModified&&(S.lastModified[r]&&x.setRequestHeader(\"If-Modified-Since\",S.lastModified[r]),S.etag[r]&&x.setRequestHeader(\"If-None-Match\",S.etag[r])),(p.data&&p.hasContent&&!1!==p.contentType||n.contentType)&&x.setRequestHeader(\"Content-Type\",p.contentType),x.setRequestHeader(\"Accept\",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+(\"*\"!==p.dataTypes[0]?\", \"+Nt+\"; q=0.01\":\"\"):p.accepts[\"*\"]),p.headers)x.setRequestHeader(u,p.headers[u]);if(p.beforeSend&&(!1===p.beforeSend.call(f,x,p)||c))return x.abort();if(T=\"abort\",y.add(p.complete),x.done(p.success),x.fail(p.error),i=zt(Lt,p,n,x)){if(x.readyState=1,d&&g.trigger(\"ajaxSend\",[x,p]),c)return x;p.async&&p.timeout>0&&(a=e.setTimeout((function(){x.abort(\"timeout\")}),p.timeout));try{c=!1,i.send(w,C)}catch(e){if(c)throw e;C(-1,e)}}else C(-1,\"No Transport\");function C(t,n,s,l){var u,h,v,w,E,T=n;c||(c=!0,a&&e.clearTimeout(a),i=void 0,o=l||\"\",x.readyState=t>0?4:0,u=t>=200&&t<300||304===t,s&&(w=function(e,t,n){for(var i,r,o,s,a=e.contents,l=e.dataTypes;\"*\"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader(\"Content-Type\"));if(i)for(r in a)if(a[r]&&a[r].test(i)){l.unshift(r);break}if(l[0]in n)o=l[0];else{for(r in n){if(!l[0]||e.converters[r+\" \"+l[0]]){o=r;break}s||(s=r)}o=o||s}if(o)return o!==l[0]&&l.unshift(o),n[o]}(p,x,s)),!u&&S.inArray(\"script\",p.dataTypes)>-1&&S.inArray(\"json\",p.dataTypes)<0&&(p.converters[\"text script\"]=function(){}),w=function(e,t,n,i){var r,o,s,a,l,c={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(o=d.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=d.shift())if(\"*\"===o)o=l;else if(\"*\"!==l&&l!==o){if(!(s=c[l+\" \"+o]||c[\"* \"+o]))for(r in c)if((a=r.split(\" \"))[1]===o&&(s=c[l+\" \"+a[0]]||c[\"* \"+a[0]])){!0===s?s=c[r]:!0!==c[r]&&(o=a[0],d.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:\"parsererror\",error:s?e:\"No conversion from \"+l+\" to \"+o}}}return{state:\"success\",data:t}}(p,w,x,u),u?(p.ifModified&&((E=x.getResponseHeader(\"Last-Modified\"))&&(S.lastModified[r]=E),(E=x.getResponseHeader(\"etag\"))&&(S.etag[r]=E)),204===t||\"HEAD\"===p.type?T=\"nocontent\":304===t?T=\"notmodified\":(T=w.state,h=w.data,u=!(v=w.error))):(v=T,!t&&T||(T=\"error\",t<0&&(t=0))),x.status=t,x.statusText=(n||T)+\"\",u?m.resolveWith(f,[h,T,x]):m.rejectWith(f,[x,T,v]),x.statusCode(b),b=void 0,d&&g.trigger(u?\"ajaxSuccess\":\"ajaxError\",[x,p,u?h:v]),y.fireWith(f,[x,T]),d&&(g.trigger(\"ajaxComplete\",[x,p]),--S.active||S.event.trigger(\"ajaxStop\")))}return x},getJSON:function(e,t,n){return S.get(e,t,n,\"json\")},getScript:function(e,t){return S.get(e,void 0,t,\"script\")}}),S.each([\"get\",\"post\"],(function(e,t){S[t]=function(e,n,i,r){return f(n)&&(r=r||i,i=n,n=void 0),S.ajax(S.extend({url:e,type:t,dataType:r,data:n,success:i},S.isPlainObject(e)&&e))}})),S.ajaxPrefilter((function(e){var t;for(t in e.headers)\"content-type\"===t.toLowerCase()&&(e.contentType=e.headers[t]||\"\")})),S._evalUrl=function(e,t,n){return S.ajax({url:e,type:\"GET\",dataType:\"script\",cache:!0,async:!1,global:!1,converters:{\"text script\":function(){}},dataFilter:function(e){S.globalEval(e,t,n)}})},S.fn.extend({wrapAll:function(e){var t;return this[0]&&(f(e)&&(e=e.call(this[0])),t=S(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return f(e)?this.each((function(t){S(this).wrapInner(e.call(this,t))})):this.each((function(){var t=S(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=f(e);return this.each((function(n){S(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not(\"body\").each((function(){S(this).replaceWith(this.childNodes)})),this}}),S.expr.pseudos.hidden=function(e){return!S.expr.pseudos.visible(e)},S.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},S.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var qt={0:200,1223:204},Bt=S.ajaxSettings.xhr();p.cors=!!Bt&&\"withCredentials\"in Bt,p.ajax=Bt=!!Bt,S.ajaxTransport((function(t){var n,i;if(p.cors||Bt&&!t.crossDomain)return{send:function(r,o){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r[\"X-Requested-With\"]||(r[\"X-Requested-With\"]=\"XMLHttpRequest\"),r)a.setRequestHeader(s,r[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,\"abort\"===e?a.abort():\"error\"===e?\"number\"!=typeof a.status?o(0,\"error\"):o(a.status,a.statusText):o(qt[a.status]||a.status,a.statusText,\"text\"!==(a.responseType||\"text\")||\"string\"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n(\"error\"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&i()}))},n=n(\"abort\");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),S.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),S.ajaxSetup({accepts:{script:\"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript\"},contents:{script:/\\b(?:java|ecma)script\\b/},converters:{\"text script\":function(e){return S.globalEval(e),e}}}),S.ajaxPrefilter(\"script\",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type=\"GET\")})),S.ajaxTransport(\"script\",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,r){t=S(\"