1(function(root, factory) { 2 if (typeof define === 'function' && define.amd) { 3 define(factory) 4 } else if (typeof exports === 'object') { 5 module.exports = factory() 6 } else { 7 root.tingle = factory() 8 } 9}(this, function() { 10 11 /* ----------------------------------------------------------- */ 12 /* == modal */ 13 /* ----------------------------------------------------------- */ 14 15 var transitionEvent = whichTransitionEvent() 16 var isBusy = false 17 18 function Modal(options) { 19 var defaults = { 20 onClose: null, 21 onOpen: null, 22 beforeOpen: null, 23 beforeClose: null, 24 stickyFooter: false, 25 footer: false, 26 cssClass: [], 27 closeLabel: 'Close', 28 closeMethods: [] 29 } 30 31 // extends config 32 this.opts = extend({}, defaults, options) 33 34 // init modal 35 this.init() 36 } 37 38 Modal.prototype.init = function() { 39 if (this.modal) { 40 return 41 } 42 43 _build.call(this) 44 _bindEvents.call(this) 45 46 // insert modal in dom 47 document.body.insertBefore(this.modal, document.body.firstChild) 48 49 if (this.opts.footer) { 50 this.addFooter() 51 } 52 53 return this 54 } 55 56 Modal.prototype._busy = function(state) { 57 isBusy = state 58 } 59 60 Modal.prototype._isBusy = function() { 61 return isBusy 62 } 63 64 Modal.prototype.destroy = function() { 65 if (this.modal === null) { 66 return 67 } 68 69 // restore scrolling 70 if (this.isOpen()) { 71 this.close(true) 72 } 73 74 // unbind all events 75 _unbindEvents.call(this) 76 77 // remove modal from dom 78 this.modal.parentNode.removeChild(this.modal) 79 80 this.modal = null 81 } 82 83 Modal.prototype.isOpen = function() { 84 return !!this.modal.classList.contains('tingle-modal--visible') 85 } 86 87 Modal.prototype.open = function() { 88 if(this._isBusy()) return 89 this._busy(true) 90 91 var self = this 92 93 // before open callback 94 if (typeof self.opts.beforeOpen === 'function') { 95 self.opts.beforeOpen() 96 } 97 98 if (this.modal.style.removeProperty) { 99 this.modal.style.removeProperty('display') 100 } else { 101 this.modal.style.removeAttribute('display') 102 } 103 104 // prevent double scroll 105 this._scrollPosition = window.pageYOffset 106 document.body.classList.add('tingle-enabled') 107 document.body.style.top = -this._scrollPosition + 'px' 108 109 // sticky footer 110 this.setStickyFooter(this.opts.stickyFooter) 111 112 // show modal 113 this.modal.classList.add('tingle-modal--visible') 114 115 if (transitionEvent) { 116 this.modal.addEventListener(transitionEvent, function handler() { 117 if (typeof self.opts.onOpen === 'function') { 118 self.opts.onOpen.call(self) 119 } 120 121 // detach event after transition end (so it doesn't fire multiple onOpen) 122 self.modal.removeEventListener(transitionEvent, handler, false) 123 self._busy(false) 124 }, false) 125 } else { 126 if (typeof self.opts.onOpen === 'function') { 127 self.opts.onOpen.call(self) 128 } 129 self._busy(false) 130 } 131 132 // check if modal is bigger than screen height 133 this.checkOverflow() 134 135 return this 136 } 137 138 Modal.prototype.close = function(force) { 139 if(this._isBusy()) return 140 this._busy(true) 141 force = force || false 142 143 // before close 144 if (typeof this.opts.beforeClose === 'function') { 145 var close = this.opts.beforeClose.call(this) 146 if (!close) { 147 this._busy(false) 148 return 149 } 150 } 151 152 document.body.classList.remove('tingle-enabled') 153 window.scrollTo(0, this._scrollPosition) 154 document.body.style.top = null 155 156 this.modal.classList.remove('tingle-modal--visible') 157 158 // using similar setup as onOpen 159 // reference to the Modal that's created 160 var self = this 161 162 if (force) { 163 self.modal.style.display = 'none' 164 if (typeof self.opts.onClose === 'function') { 165 self.opts.onClose.call(this) 166 } 167 self._busy(false) 168 } else if (transitionEvent) { 169 // track when transition is happening then run onClose on complete 170 this.modal.addEventListener(transitionEvent, function handler() { 171 // detach event after transition end (so it doesn't fire multiple onClose) 172 self.modal.removeEventListener(transitionEvent, handler, false) 173 174 self.modal.style.display = 'none' 175 176 // on close callback 177 if (typeof self.opts.onClose === 'function') { 178 self.opts.onClose.call(this) 179 } 180 181 self._busy(false) 182 183 }, false) 184 } else { 185 self.modal.style.display = 'none' 186 // on close callback 187 if (typeof self.opts.onClose === 'function') { 188 self.opts.onClose.call(this) 189 } 190 self._busy(false) 191 } 192 } 193 194 Modal.prototype.setContent = function(content) { 195 // check type of content : String or Node 196 if (typeof content === 'string') { 197 this.modalBoxContent.innerHTML = content 198 } else { 199 this.modalBoxContent.innerHTML = '' 200 this.modalBoxContent.appendChild(content) 201 } 202 203 if (this.isOpen()) { 204 // check if modal is bigger than screen height 205 this.checkOverflow() 206 } 207 208 return this 209 } 210 211 Modal.prototype.getContent = function() { 212 return this.modalBoxContent 213 } 214 215 Modal.prototype.addFooter = function() { 216 // add footer to modal 217 _buildFooter.call(this) 218 219 return this 220 } 221 222 Modal.prototype.setFooterContent = function(content) { 223 // set footer content 224 this.modalBoxFooter.innerHTML = content 225 226 return this 227 } 228 229 Modal.prototype.getFooterContent = function() { 230 return this.modalBoxFooter 231 } 232 233 Modal.prototype.setStickyFooter = function(isSticky) { 234 // if the modal is smaller than the viewport height, we don't need sticky 235 if (!this.isOverflow()) { 236 isSticky = false 237 } 238 239 if (isSticky) { 240 if (this.modalBox.contains(this.modalBoxFooter)) { 241 this.modalBox.removeChild(this.modalBoxFooter) 242 this.modal.appendChild(this.modalBoxFooter) 243 this.modalBoxFooter.classList.add('tingle-modal-box__footer--sticky') 244 _recalculateFooterPosition.call(this) 245 this.modalBoxContent.style['padding-bottom'] = this.modalBoxFooter.clientHeight + 20 + 'px' 246 } 247 } else if (this.modalBoxFooter) { 248 if (!this.modalBox.contains(this.modalBoxFooter)) { 249 this.modal.removeChild(this.modalBoxFooter) 250 this.modalBox.appendChild(this.modalBoxFooter) 251 this.modalBoxFooter.style.width = 'auto' 252 this.modalBoxFooter.style.left = '' 253 this.modalBoxContent.style['padding-bottom'] = '' 254 this.modalBoxFooter.classList.remove('tingle-modal-box__footer--sticky') 255 } 256 } 257 258 return this 259 } 260 261 262 Modal.prototype.addFooterBtn = function(label, cssClass, callback) { 263 var btn = document.createElement('button') 264 265 // set label 266 btn.innerHTML = label 267 268 // bind callback 269 btn.addEventListener('click', callback) 270 271 if (typeof cssClass === 'string' && cssClass.length) { 272 // add classes to btn 273 cssClass.split(' ').forEach(function(item) { 274 btn.classList.add(item) 275 }) 276 } 277 278 this.modalBoxFooter.appendChild(btn) 279 280 return btn 281 } 282 283 Modal.prototype.resize = function() { 284 // eslint-disable-next-line no-console 285 console.warn('Resize is deprecated and will be removed in version 1.0') 286 } 287 288 Modal.prototype.isOverflow = function() {
vendor: 4,400 bytes, lines 289-412
289 var viewportHeight = window.innerHeight 290 var modalHeight = this.modalBox.clientHeight 291 292 return modalHeight >= viewportHeight 293 } 294 295 Modal.prototype.checkOverflow = function() { 296 // only if the modal is currently shown 297 if (this.modal.classList.contains('tingle-modal--visible')) { 298 if (this.isOverflow()) { 299 this.modal.classList.add('tingle-modal--overflow') 300 } else { 301 this.modal.classList.remove('tingle-modal--overflow') 302 } 303 304 // tODO: remove offset 305 // _offset.call(this); 306 if (!this.isOverflow() && this.opts.stickyFooter) { 307 this.setStickyFooter(false) 308 } else if (this.isOverflow() && this.opts.stickyFooter) { 309 _recalculateFooterPosition.call(this) 310 this.setStickyFooter(true) 311 } 312 } 313 } 314 315 316 /* ----------------------------------------------------------- */ 317 /* == private methods */ 318 /* ----------------------------------------------------------- */ 319 320 function _recalculateFooterPosition() { 321 if (!this.modalBoxFooter) { 322 return 323 } 324 this.modalBoxFooter.style.width = this.modalBox.clientWidth + 'px' 325 this.modalBoxFooter.style.left = this.modalBox.offsetLeft + 'px' 326 } 327 328 function _build() { 329 330 // wrapper 331 this.modal = document.createElement('div') 332 this.modal.classList.add('tingle-modal') 333 334 // remove cusor if no overlay close method 335 if (this.opts.closeMethods.length === 0 || this.opts.closeMethods.indexOf('overlay') === -1) { 336 this.modal.classList.add('tingle-modal--noOverlayClose') 337 } 338 339 this.modal.style.display = 'none' 340 341 // custom class 342 this.opts.cssClass.forEach(function(item) { 343 if (typeof item === 'string') { 344 this.modal.classList.add(item) 345 } 346 }, this) 347 348 // close btn 349 if (this.opts.closeMethods.indexOf('button') !== -1) { 350 this.modalCloseBtn = document.createElement('button') 351 this.modalCloseBtn.type = 'button' 352 this.modalCloseBtn.classList.add('tingle-modal__close') 353 354 this.modalCloseBtnIcon = document.createElement('span') 355 this.modalCloseBtnIcon.classList.add('tingle-modal__closeIcon') 356 this.modalCloseBtnIcon.innerHTML = 'Ã' 357 358 this.modalCloseBtn.appendChild(this.modalCloseBtnIcon) 359 } 360 361 // modal 362 this.modalBox = document.createElement('div') 363 this.modalBox.classList.add('tingle-modal-box') 364 365 // modal box content 366 this.modalBoxContent = document.createElement('div') 367 this.modalBoxContent.classList.add('tingle-modal-box__content') 368 369 this.modalBox.appendChild(this.modalBoxContent) 370 371 if (this.opts.closeMethods.indexOf('button') !== -1) { 372 this.modal.appendChild(this.modalCloseBtn) 373 } 374 375 this.modal.appendChild(this.modalBox) 376 377 } 378 379 function _buildFooter() { 380 this.modalBoxFooter = document.createElement('div') 381 this.modalBoxFooter.classList.add('tingle-modal-box__footer') 382 this.modalBox.appendChild(this.modalBoxFooter) 383 } 384 385 function _bindEvents() { 386 387 this._events = { 388 clickCloseBtn: this.close.bind(this), 389 clickOverlay: _handleClickOutside.bind(this), 390 resize: this.checkOverflow.bind(this), 391 keyboardNav: _handleKeyboardNav.bind(this) 392 } 393 394 if (this.opts.closeMethods.indexOf('button') !== -1) { 395 this.modalCloseBtn.addEventListener('click', this._events.clickCloseBtn) 396 } 397 398 this.modal.addEventListener('mousedown', this._events.clickOverlay) 399 window.addEventListener('resize', this._events.resize) 400 document.addEventListener('keydown', this._events.keyboardNav) 401 } 402 403 function _handleKeyboardNav(event) { 404 // escape key 405 if (this.opts.closeMethods.indexOf('escape') !== -1 && event.which === 27 && this.isOpen()) { 406 this.close() 407 } 408 } 409 410 function _handleClickOutside(event) { 411 // if click is outside the modal 412 if (this.opts.closeMethods.indexOf('overlay') !== -1 && !_findAnce
412stor(event.target, 'tingle-modal') && 413 event.clientX < this.modal.clientWidth) { 414 this.close() 415 } 416 } 417 418 function _findAncestor(el, cls) { 419 while ((el = el.parentElement) && !el.classList.contains(cls)); 420 return el 421 } 422 423 function _unbindEvents() { 424 if (this.opts.closeMethods.indexOf('button') !== -1) { 425 this.modalCloseBtn.removeEventListener('click', this._events.clickCloseBtn) 426 } 427 this.modal.removeEventListener('mousedown', this._events.clickOverlay) 428 window.removeEventListener('resize', this._events.resize) 429 document.removeEventListener('keydown', this._events.keyboardNav) 430 } 431 432 /* ----------------------------------------------------------- */ 433 /* == confirm */ 434 /* ----------------------------------------------------------- */ 435 436 // coming soon 437 438 /* ----------------------------------------------------------- */ 439 /* == alert */ 440 /* ----------------------------------------------------------- */ 441 442 // coming soon 443 444 /* ----------------------------------------------------------- */ 445 /* == helpers */ 446 /* ----------------------------------------------------------- */ 447 448 function extend() { 449 for (var i = 1; i < arguments.length; i++) { 450 for (var key in arguments[i]) { 451 if (arguments[i].hasOwnProperty(key)) { 452 arguments[0][key] = arguments[i][key] 453 } 454 } 455 } 456 return arguments[0] 457 } 458 459 function whichTransitionEvent() { 460 var t 461 var el = document.createElement('tingle-test-transition') 462 var transitions = { 463 'transition': 'transitionend', 464 'OTransition': 'oTransitionEnd', 465 'MozTransition': 'transitionend', 466 'WebkitTransition': 'webkitTransitionEnd' 467 } 468 469 for (t in transitions) { 470 if (el.style[t] !== undefined) { 471 return transitions[t] 472 } 473 } 474 } 475 476 /* ----------------------------------------------------------- */ 477 /* == return */ 478 /* ----------------------------------------------------------- */ 479 480 return { 481 modal: Modal 482 } 483 484})); 485function g() { 486 const o = ".aem-product-card-widget"; 487 document.querySelectorAll(o).forEach(n => { 488 const r = n.querySelector(".aem-widget__accordion-toggle"); 489 r.querySelector(".aem-widget__accordion-trigger").addEventListener("click", () => { 490 r.classList.toggle("aem-widget__accordion_closed") 491 }) 492 }) 493} 494 495function A() { 496 if (!window.matchMedia("(max-width: 632px)").matches) return; 497 const a = ".aem-banner-widget", 498 n = ".aem-widget__breadcrumbs_mobile-view", 499 r = ".aem-widget__breadcrumbs-item", 500 c = ".aem-widget__breadcrumbs-item-link", 501 e = document.querySelector(a).querySelector(n), 502 s = e.querySelectorAll(r); 503 if (s.length <= 3) return; 504 const t = Array.from(s.values()), 505 u = t.slice(0, 2), 506 E = t[t.length - 1], 507 d = t[0].cloneNode(!0), 508 i = d.querySelector(c), 509 l = c.replace(".", "") + "_show-more"; 510 i.classList.add(l), i.innerHTML = ""; 511 const S = [...u, d, E]; 512 e.innerHTML = "", e.append(...S); 513 const m = _ => { 514 _.preventDefault(), _.target.matches(`.${l}`) && (e.innerHTML = "", e.append(...t), e.removeEventListener("click", m)) 515 }; 516 e.addEventListener("click", m) 517} 518document.addEventListener("DOMContentLoaded", () => { 519 /*g(),*/ A(),setImageHeight(); 520}); 521// This is just a sample script. Paste your real code (javascript or HTML) here. 522//TODO: what is this for? 523//if ('this_is' == /an_example/) { 524// of_beautifier(); 525//} else { 526// var a = b ? (c % d) : e[f]; 527//} 528 529function setImageHeight() { 530 let banner_content = document.getElementsByClassName('aem-widget__banner-box'); 531 let requiredElement = banner_content[0]; 532 let contentHeight = requiredElement ? requiredElement.offsetHeight : 0; 533 contentHeight = contentHeight + 128; 534 let imageHeight = contentHeight+ "px"; 535 let image_elem = document.getElementsByClassName('aem-widget__banner-image'); 536 let imageElement = image_elem[0]; 537 if(window.innerWidth > 1000 && imageElement) { 538 imageElement.style.height = imageHeight; 539 } 540 541 542 543} 544 545(function(t,e){if(typeof define==="function"&&define.amd){define(["jquery"],e)}else if(typeof exports==="object"){module.exports=e(require("jquery"))}else{e(t.jQuery)}})(this,function(t){t.transit={version:"0.9.12",propertyMap:{marginLeft:"margin",marginRight:"margin",marginBottom:"margin",marginTop:"margin",paddingLeft:"padding",paddingRight:"padding",paddingBottom:"padding",paddingTop:"padding"},enabled:true,useTransitionEnd:false};var e=document.createElement("div");var n={};function i(t){if(t in e.style)return t;var n=["Moz","Webkit","O","ms"];var i=t.charAt(0).toUpperCase()+t.substr(1);for(var r=0;r<n.length;++r){var s=n[r]+i;if(s in e.style){return s}}}function r(){e.style[n.transform]="";e.style[n.transform]="rotateY(90deg)";return e.style[n.transform]!==""}var s=navigator.userAgent.toLowerCase().indexOf("chrome")>-1;n.transition=i("transition");n.transitionDelay=i("transitionDelay");n.transform=i("transform");n.transformOrigin=i("transformOrigin");n.filter=i("Filter");n.transform3d=r();var a={transition:"transitionend",MozTransition:"transitionend",OTransition:"oTransitionEnd",WebkitTransition:"webkitTransitionEnd",msTransition:"MSTransitionEnd"};var o=n.transitionEnd=a[n.transition]||null;for(var u in n){if(n.hasOwnProperty(u)&&typeof t.support[u]==="undefined"){t.support[u]=n[u]}}e=null;t.cssEase={_default:"ease","in":"ease-in",out:"ease-out","in-out":"ease-in-out",snap:"cubic-bezier(0,1,.5,1)",easeInCubic:"cubic-bezier(.550,.055,.675,.190)",easeOutCubic:"cubic-bezier(.215,.61,.355,1)",easeInOutCubic:"cubic-bezier(.645,.045,.355,1)",easeInCirc:"cubic-bezier(.6,.04,.98,.335)",easeOutCirc:"cubic-bezier(.075,.82,.165,1)",easeInOutCirc:"cubic-bezier(.785,.135,.15,.86)",easeInExpo:"cubic-bezier(.95,.05,.795,.035)",easeOutExpo:"cubic-bezier(.19,1,.22,1)",easeInOutExpo:"cubic-bezier(1,0,0,1)",easeInQuad:"cubic-bezier(.55,.085,.68,.53)",easeOutQuad:"cubic-bezier(.25,.46,.45,.94)",easeInOutQuad:"cubic-bezier(.455,.03,.515,.955)",easeInQuart:"cubic-bezier(.895,.03,.685,.22)",easeOutQuart:"cubic-bezier(.165,.84,.44,1)",easeInOutQuart:"cubic-bezier(.77,0,.175,1
545)",easeInQuint:"cubic-bezier(.755,.05,.855,.06)",easeOutQuint:"cubic-bezier(.23,1,.32,1)",easeInOutQuint:"cubic-bezier(.86,0,.07,1)",easeInSine:"cubic-bezier(.47,0,.745,.715)",easeOutSine:"cubic-bezier(.39,.575,.565,1)",easeInOutSine:"cubic-bezier(.445,.05,.55,.95)",easeInBack:"cubic-bezier(.6,-.28,.735,.045)",easeOutBack:"cubic-bezier(.175, .885,.32,1.275)",easeInOutBack:"cubic-bezier(.68,-.55,.265,1.55)"};t.cssHooks["transit:transform"]={get:function(e){return t(e).data("transform")||new f},set:function(e,i){var r=i;if(!(r instanceof f)){r=new f(r)}if(n.transform==="WebkitTransform"&&!s){e.style[n.transform]=r.toString(true)}else{e.style[n.transform]=r.toString()}t(e).data("transform",r)}};t.cssHooks.transform={set:t.cssHooks["transit:transform"].set};t.cssHooks.filter={get:function(t){return t.style[n.filter]},set:function(t,e){t.style[n.filter]=e}};if(t.fn.jquery<"1.8"){t.cssHooks.transformOrigin={get:function(t){return t.style[n.transformOrigin]},set:function(t,e){t.style[n.transformOrigin]=e}};t.cssHooks.transition={get:function(t){return t.style[n.transition]},set:function(t,e){t.style[n.transition]=e}}}p("scale");p("scaleX");p("scaleY");p("translate");p("rotate");p("rotateX");p("rotateY");p("rotate3d");p("perspective");p("skewX");p("skewY");p("x",true);p("y",true);function f(t){if(typeof t==="string"){this.parse(t)}return this}f.prototype={setFromString:function(t,e){var n=typeof e==="string"?e.split(","):e.constructor===Array?e:[e];n.unshift(t);f.prototype.set.apply(this,n)},set:function(t){var e=Array.prototype.slice.apply(arguments,[1]);if(this.setter[t]){this.setter[t].apply(this,e)}else{this[t]=e.join(",")}},get:function(t){if(this.getter[t]){return this.getter[t].apply(this)}else{return this[t]||0}},setter:{rotate:function(t){this.rotate=b(t,"deg")},rotateX:function(t){this.rotateX=b(t,"deg")},rotateY:function(t){this.rotateY=b(t,"deg")},scale:function(t,e){if(e===undefined){e=t}this.scale=t+","+e},skewX:function(t){this.skewX=b(t,"deg")},skewY:function(t){this.skewY=b(t,"deg")},perspective:function(t){this.perspective=b(t,"px")},x:function(t){this.set("translate",t,null)},y:function(t){this.set("translate",null,t)},translate:function(t,e){if(this._translateX===undefined){this._translateX=0}if(this._translateY===undefined){this._translateY=0}if(t!==null&&t!==undefined){this._translateX=b(t,"px")}if(e!==null&&e!==undefined){this._translateY=b(e,"px")}this.translate=this._translateX+","+this._translateY}},getter:{x:function(){return this._translateX||0},y:function(){return this._translateY||0},scale:function(){var t=(this.scale||"1,1").split(",");if(t[0]){t[0]=parseFloat(t[0])}if(t[1]){t[1]=parseFloat(t[1])}return t[0]===t[1]?t[0]:t},rotate3d:function(){var t=(this.rotate3d||"0,0,0,0deg").split(",");for(var e=0;e<=3;++e){if(t[e]){t[e]=parseFloat(t[e])}}if(t[3]){t[3]=b(t[3],"deg")}return t}},parse:function(t){var e=this;t.replace(/([a-zA-Z0-9]+)\((.*?)\)/g,function(t,n,i){e.setFromString(n,i)})},toString:function(t){var e=[];for(var i in this){if(this.hasOwnProperty(i)){if(!n.transform3d&&(i==="rotateX"||i==="rotateY"||i==="perspective"||i==="transformOrigin")){continue}if(i[0]!=="_"){if(t&&i==="scale"){e.push(i+"3d("+this[i]+",1)")}else if(t&&i==="translate"){e.push(i+"3d("+this[i]+",0)")}else{e.push(i+"("+this[i]+")")}}}}return e.join(" ")}};function c(t,e,n){if(e===true){t.queue(n)}else if(e){t.queue(e,n)}else{t.each(function(){n.call(this)})}}function l(e){var i=[];t.each(e,function(e){e=t.camelCase(e);e=t.transit.propertyMap[e]||t.cssProps[e]||e;e=h(e);if(n[e])e=h(n[e]);if(t.inArray(e,i)===-1){i.push(e)}});return i}function d(e,n,i,r){var s=l(e);if(t.cssEase[i]){i=t.cssEase[i]}var a=""+y(n)+" "+i;if(parseInt(r,10)>0){a+=" "+y(r)}var o=[];
545t.each(s,function(t,e){o.push(e+" "+a)});return o.join(", ")}t.fn.transition=t.fn.transit=function(e,i,r,s){var a=this;var u=0;var f=true;var l=t.extend(true,{},e);if(typeof i==="function"){s=i;i=undefined}if(typeof i==="object"){r=i.easing;u=i.delay||0;f=typeof i.queue==="undefined"?true:i.queue;s=i.complete;i=i.duration}if(typeof r==="function"){s=r;r=undefined}if(typeof l.easing!=="undefined"){r=l.easing;delete l.easing}if(typeof l.duration!=="undefined"){i=l.duration;delete l.duration}if(typeof l.complete!=="undefined"){s=l.complete;delete l.complete}if(typeof l.queue!=="undefined"){f=l.queue;delete l.queue}if(typeof l.delay!=="undefined"){u=l.delay;delete l.delay}if(typeof i==="undefined"){i=t.fx.speeds._default}if(typeof r==="undefined"){r=t.cssEase._default}i=y(i);var p=d(l,i,r,u);var h=t.transit.enabled&&n.transition;var b=h?parseInt(i,10)+parseInt(u,10):0;if(b===0){var g=function(t){a.css(l);if(s){s.apply(a)}if(t){t()}};c(a,f,g);return a}var m={};var v=function(e){var i=false;var r=function(){if(i){a.unbind(o,r)}if(b>0){a.each(function(){this.style[n.transition]=m[this]||null})}if(typeof s==="function"){s.apply(a)}if(typeof e==="function"){e()}};if(b>0&&o&&t.transit.useTransitionEnd){i=true;a.bind(o,r)}else{window.setTimeout(r,b)}a.each(function(){if(b>0){this.style[n.transition]=p}t(this).css(l)})};var z=function(t){this.offsetWidth;v(t)};c(a,f,z);return this};function p(e,i){if(!i){t.cssNumber[e]=true}t.transit.propertyMap[e]=n.transform;t.cssHooks[e]={get:function(n){var i=t(n).css("transit:transform");return i.get(e)},set:function(n,i){var r=t(n).css("transit:transform");r.setFromString(e,i);t(n).css({"transit:transform":r})}}}function h(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}function b(t,e){if(typeof t==="string"&&!t.match(/^[\-0-9\.]+$/)){return t}else{return""+t+e}}function y(e){var n=e;if(typeof n==="string"&&!n.match(/^[\-0-9\.]+/)){n=t.fx.speeds[n]||t.fx.speeds._default}return b(n,"ms")}t.transit.getTransitionValue=d;return t}); 546/**! 547 * @fileOverview Kickass library to create and place poppers near their reference elements. 548 * @version 1.12.5 549 * @license 550 * Copyright (c) 2016 Federico Zivolo and contributors 551 * 552 * Permission is hereby granted, free of charge, to any person obtaining a copy 553 * of this software and associated documentation files (the "Software"), to deal 554 * in the Software without restriction, including without limitation the rights 555 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 556 * copies of the Software, and to permit persons to whom the Software is 557 * furnished to do so, subject to the following conditions: 558 * 559 * The above copyright notice and this permission notice shall be included in all 560 * copies or substantial portions of the Software. 561 * 562 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 563 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 564 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 565 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 566 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 567 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 568 * SOFTWARE. 569 */ 570(function (global, factory) { 571 typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : 572 typeof define === 'function' && define.amd ? define(factory) : 573 (global.Popper = factory()); 574}(this, (function () { 'use strict'; 575 576var nativeHints = ['native code', '[object MutationObserverConstructor]']; 577 578/** 579 * Determine if a function is implemented natively (as opposed to a polyfill). 580 * @method 581 * @memberof Popper.Utils 582 * @argument {Function | undefined} fn the function to check 583 * @returns {Boolean} 584 */ 585var isNative = (function (fn) { 586 return nativeHints.some(function (hint) { 587 return (fn || '').toString().indexOf(hint) > -1; 588 }); 589}); 590 591var isBrowser = typeof window !== 'undefined'; 592var longerTimeoutBrowsers = ['Edge', 'Trident', 'Firefox']; 593var timeoutDuration = 0; 594for (var i = 0; i < longerTimeoutBrowsers.length; i += 1) { 595 if (isBrowser && navigator.userAgent.indexOf(longerTimeoutBrowsers[i]) >= 0) { 596 timeoutDuration = 1; 597 break; 598 } 599} 600 601function microtaskDebounce(fn) { 602 var scheduled = false; 603 var i = 0; 604 var elem = document.createElement('span'); 605 606 // MutationObserver provides a mechanism for scheduling microtasks, which 607 // are scheduled *before* the next task. This gives us a way to debounce 608 // a function but ensure it's called *before* the next paint. 609 var observer = new MutationObserver(function () { 610 fn(); 611 scheduled = false; 612 }); 613 614 observer.observe(elem, { attributes: true });
615 616 return function () { 617 if (!scheduled) { 618 scheduled = true; 619 elem.setAttribute('x-index', i); 620 i = i + 1; // don't use compund (+=) because it doesn't get optimized in V8 621 } 622 }; 623} 624 625function taskDebounce(fn) { 626 var scheduled = false; 627 return function () { 628 if (!scheduled) { 629 scheduled = true; 630 setTimeout(function () { 631 scheduled = false; 632 fn(); 633 }, timeoutDuration); 634 } 635 }; 636} 637 638// It's common for MutationObserver polyfills to be seen in the wild, however 639// these rely on Mutation Events which only occur when an element is connected 640// to the DOM. The algorithm used in this module does not use a connected element, 641// and so we must ensure that a *native* MutationObserver is available. 642var supportsNativeMutationObserver = isBrowser && isNative(window.MutationObserver); 643 644/** 645* Create a debounced version of a method, that's asynchronously deferred 646* but called in the minimum time possible. 647* 648* @method 649* @memberof Popper.Utils 650* @argument {Function} fn 651* @returns {Function} 652*/ 653var debounce = supportsNativeMutationObserver ? microtaskDebounce : taskDebounce; 654 655/** 656 * Check if the given variable is a function 657 * @method 658 * @memberof Popper.Utils 659 * @argument {Any} functionToCheck - variable to check 660 * @returns {Boolean} answer to: is a function? 661 */ 662function isFunction(functionToCheck) { 663 var getType = {}; 664 return functionToCheck && getType.toString.call(functionToCheck) === '[object Function]'; 665} 666 667/** 668 * Get CSS computed property of the given element 669 * @method 670 * @memberof Popper.Utils 671 * @argument {Eement} element 672 * @argument {String} property 673 */ 674function getStyleComputedProperty(element, property) { 675 if (element.nodeType !== 1) { 676 return []; 677 } 678 // NOTE: 1 DOM access here 679 var css = window.getComputedStyle(element, null); 680 return property ? css[property] : css; 681} 682 683/** 684 * Returns the parentNode or the host of the element 685 * @method 686 * @memberof Popper.Utils 687 * @argument {Element} element 688 * @returns {Element} parent 689 */ 690function getParentNode(element) { 691 if (element.nodeName === 'HTML') { 692 return element; 693 } 694 return element.parentNode || element.host; 695} 696 697/** 698 * Returns the scrolling parent of the given element 699 * @method 700 * @memberof Popper.Utils 701 * @argument {Element} element 702 * @returns {Element} scroll parent 703 */ 704function getScrollParent(element) { 705 // Return body, `getScroll` will take care to get the correct `scrollTop` from it 706 if (!element || ['HTML', 'BODY', '#document'].indexOf(element.nodeName) !== -1) { 707 return window.document.body; 708 } 709 710 // Firefox want us to check `-x` and `-y` variations as well 711 712 var _getStyleComputedProp = getStyleComputedProperty(element), 713 overflow = _getStyleComputedProp.overflow, 714 overflowX = _getStyleComputedProp.overflowX, 715 overflowY = _getStyleComputedProp.overflowY; 716 717 if (/(auto|scroll)/.test(overflow + overflowY + overflowX)) { 718 return element; 719 } 720 721 return getScrollParent(getParentNode(element)); 722} 723 724/** 725 * Returns the offset parent of the given element 726 * @method 727 * @memberof Popper.Utils 728 * @argument {Element} element 729 * @returns {Element} offset parent 730 */ 731function getOffsetParent(element) { 732 // NOTE: 1 DOM access here 733 var offsetParent = element && element.offsetParent; 734 var nodeName = offsetParent && offsetParent.nodeName; 735 736 if (!nodeName || nodeName === 'BODY' || nodeName === 'HTML') { 737 return window.document.documentElement; 738 } 739 740 // .offsetParent will return the closest TD or TABLE in case 741 // no offsetParent is present, I hate this job... 742 if (['TD', 'TABLE'].indexOf(offsetParent.nodeName) !== -1 && getStyleComputedProperty(offsetParent, 'position') === 'static') { 743 return getOffsetParent(offsetParent); 744 } 745 746 return offsetParent; 747} 748 749function isOffsetContainer(element) { 750 var nodeName = element.nodeName; 751 752 if (nodeName === 'BODY') { 753 return false; 754 } 755 return nodeName === 'HTML' || getOffsetParent(element.firstElementChild) === element; 756} 757 758/** 759 * Finds the root node (document, shadowDOM root) of the given element 760 * @method 761 * @memberof Popper.Utils 762 * @argument {Element} node 763 * @returns {Element} root node 764 */ 765function getRoot(node) { 766 if (node.parentNode !== null) { 767 return getRoot(node.parentNode); 768 } 769 770 return node; 771} 772 773/** 774 * Finds the offset parent common to the two provided nodes 775 * @method 776 * @memberof Popper.Utils 777 * @argument {Element} element1 778 * @argument {Element} element2 779 * @returns {Element} common offset parent 780 */ 781function findCommonOffsetParent(element1, element2) { 782 // This check is needed to avoid errors in case one of the elements isn't defined for any reason 783 if (!element1 || !element1.nodeType || !element2 || !element2.nodeType) { 784 return window.document.documentElement; 785 } 786 787 // Here we make sure to give as "start" the element that comes first in the DOM 788 var order = element1.compareDocumentPosition(element2) & Node.DOCUMENT_POSITION_FOLLOWING; 789 var start = order ? element1 : element2; 790 var end = order ? element2 : element1; 791 792 // Get common ancestor container 793 var range = document.createRange(); 794 range.setStart(start, 0); 795 range.setEnd(end, 0); 796 var commonAncestorContainer = range.commonAncestorContainer; 797
798 // Both nodes are inside #document 799 800 if (element1 !== commonAncestorContainer && element2 !== commonAncestorContainer || start.contains(end)) { 801 if (isOffsetContainer(commonAncestorContainer)) { 802 return commonAncestorContainer; 803 } 804 805 return getOffsetParent(commonAncestorContainer); 806 } 807 808 // one of the nodes is inside shadowDOM, find which one 809 var element1root = getRoot(element1); 810 if (element1root.host) { 811 return findCommonOffsetParent(element1root.host, element2); 812 } else { 813 return findCommonOffsetParent(element1, getRoot(element2).host); 814 } 815} 816 817/** 818 * Gets the scroll value of the given element in the given side (top and left) 819 * @method 820 * @memberof Popper.Utils 821 * @argument {Element} element 822 * @argument {String} side `top` or `left` 823 * @returns {number} amount of scrolled pixels 824 */ 825function getScroll(element) { 826 var side = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'top'; 827 828 var upperSide = side === 'top' ? 'scrollTop' : 'scrollLeft'; 829 var nodeName = element.nodeName; 830 831 if (nodeName === 'BODY' || nodeName === 'HTML') { 832 var html = window.document.documentElement; 833 var scrollingElement = window.document.scrollingElement || html; 834 return scrollingElement[upperSide]; 835 } 836 837 return element[upperSide]; 838} 839 840/* 841 * Sum or subtract the element scroll values (left and top) from a given rect object 842 * @method 843 * @memberof Popper.Utils 844 * @param {Object} rect - Rect object you want to change 845 * @param {HTMLElement} element - The element from the function reads the scroll values 846 * @param {Boolean} subtract - set to true if you want to subtract the scroll values 847 * @return {Object} rect - The modifier rect object 848 */ 849function includeScroll(rect, element) { 850 var subtract = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; 851 852 var scrollTop = getScroll(element, 'top'); 853 var scrollLeft = getScroll(element, 'left'); 854 var modifier = subtract ? -1 : 1; 855 rect.top += scrollTop * modifier; 856 rect.bottom += scrollTop * modifier; 857 rect.left += scrollLeft * modifier; 858 rect.right += scrollLeft * modifier; 859 return rect; 860} 861 862/* 863 * Helper to detect borders of a given element 864 * @method 865 * @memberof Popper.Utils 866 * @param {CSSStyleDeclaration} styles 867 * Result of `getStyleComputedProperty` on the given element 868 * @param {String} axis - `x` or `y` 869 * @return {number} borders - The borders size of the given axis 870 */ 871 872function getBordersSize(styles, axis) { 873 var sideA = axis === 'x' ? 'Left' : 'Top'; 874 var sideB = sideA === 'Left' ? 'Right' : 'Bottom'; 875 876 return +styles['border' + sideA + 'Width'].split('px')[0] + +styles['border' + sideB + 'Width'].split('px')[0]; 877} 878 879/** 880 * Tells if you are running Internet Explorer 10 881 * @method 882 * @memberof Popper.Utils 883 * @returns {Boolean} isIE10 884 */ 885var isIE10 = undefined; 886 887var isIE10$1 = function () { 888 if (isIE10 === undefined) { 889 isIE10 = navigator.appVersion.indexOf('MSIE 10') !== -1; 890 } 891 return isIE10; 892}; 893 894function getSize(axis, body, html, computedStyle) { 895 return Math.max(body['offset' + axis], body['scroll' + axis], html['client' + axis], html['offset' + axis], html['scroll' + axis], isIE10$1() ? html['offset' + axis] + computedStyle['margin' + (axis === 'Height' ? 'Top' : 'Left')] + computedStyle['margin' + (axis === 'Height' ? 'Bottom' : 'Right')] : 0); 896} 897 898function getWindowSizes() { 899 var body = window.document.body; 900 var html = window.document.documentElement; 901 var computedStyle = isIE10$1() && window.getComputedStyle(html); 902 903 return { 904 height: getSize('Height', body, html, computedStyle), 905 width: getSize('Width', body, html, computedStyle) 906 }; 907} 908 909var classCallCheck = function (instance, Constructor) { 910 if (!(instance instanceof Constructor)) { 911 throw new TypeError("Cannot call a class as a function"); 912 } 913}; 914 915var createClass = function () { 916 function defineProperties(target, props) { 917 for (var i = 0; i < props.length; i++) { 918 var descriptor = props[i]; 919 descriptor.enumerable = descriptor.enumerable || false; 920 descriptor.configurable = true; 921 if ("value" in descriptor) descriptor.writable = true; 922 Object.defineProperty(target, descriptor.key, descriptor); 923 } 924 } 925 926 return function (Constructor, protoProps, staticProps) { 927 if (protoProps) defineProperties(Constructor.prototype, protoProps); 928 if (staticProps) defineProperties(Constructor, staticProps); 929 return Constructor; 930 }; 931}(); 932 933 934 935 936 937var defineProperty = function (obj, key, value) { 938 if (key in obj) { 939 Object.defineProperty(obj, key, { 940 value: value, 941 enumerable: true, 942 configurable: true, 943 writable: true 944 });
945 } else { 946 obj[key] = value; 947 } 948 949 return obj; 950}; 951 952var _extends = Object.assign || function (target) { 953 for (var i = 1; i < arguments.length; i++) { 954 var source = arguments[i]; 955 956 for (var key in source) { 957 if (Object.prototype.hasOwnProperty.call(source, key)) { 958 target[key] = source[key]; 959 } 960 } 961 } 962 963 return target; 964}; 965 966/** 967 * Given element offsets, generate an output similar to getBoundingClientRect 968 * @method 969 * @memberof Popper.Utils 970 * @argument {Object} offsets 971 * @returns {Object} ClientRect like output 972 */ 973function getClientRect(offsets) { 974 return _extends({}, offsets, { 975 right: offsets.left + offsets.width, 976 bottom: offsets.top + offsets.height 977 }); 978} 979 980/** 981 * Get bounding client rect of given element 982 * @method 983 * @memberof Popper.Utils 984 * @param {HTMLElement} element 985 * @return {Object} client rect 986 */ 987function getBoundingClientRect(element) { 988 var rect = {}; 989 990 // IE10 10 FIX: Please, don't ask, the element isn't 991 // considered in DOM in some circumstances... 992 // This isn't reproducible in IE10 compatibility mode of IE11 993 if (isIE10$1()) { 994 try { 995 rect = element.getBoundingClientRect(); 996 var scrollTop = getScroll(element, 'top'); 997 var scrollLeft = getScroll(element, 'left'); 998 rect.top += scrollTop; 999 rect.left += scrollLeft; 1000 rect.bottom += scrollTop; 1001 rect.right += scrollLeft; 1002 } catch (err) {} 1003 } else { 1004 rect = element.getBoundingClientRect(); 1005 } 1006 1007 var result = { 1008 left: rect.left, 1009 top: rect.top, 1010 width: rect.right - rect.left, 1011 height: rect.bottom - rect.top 1012 }; 1013 1014 // subtract scrollbar size from sizes 1015 var sizes = element.nodeName === 'HTML' ? getWindowSizes() : {}; 1016 var width = sizes.width || element.clientWidth || result.right - result.left; 1017 var height = sizes.height || element.clientHeight || result.bottom - result.top; 1018 1019 var horizScrollbar = element.offsetWidth - width; 1020 var vertScrollbar = element.offsetHeight - height; 1021 1022 // if an hypothetical scrollbar is detected, we must be sure it's not a `border` 1023 // we make this check conditional for performance reasons 1024 if (horizScrollbar || vertScrollbar) { 1025 var styles = getStyleComputedProperty(element); 1026 horizScrollbar -= getBordersSize(styles, 'x'); 1027 vertScrollbar -= getBordersSize(styles, 'y'); 1028 1029 result.width -= horizScrollbar; 1030 result.height -= vertScrollbar; 1031 } 1032 1033 return getClientRect(result); 1034} 1035 1036function getOffsetRectRelativeToArbitraryNode(children, parent) { 1037 var isIE10 = isIE10$1(); 1038 var isHTML = parent.nodeName === 'HTML'; 1039 var childrenRect = getBoundingClientRect(children); 1040 var parentRect = getBoundingClientRect(parent); 1041 var scrollParent = getScrollParent(children); 1042 1043 var styles = getStyleComputedProperty(parent); 1044 var borderTopWidth = +styles.borderTopWidth.split('px')[0]; 1045 var borderLeftWidth = +styles.borderLeftWidth.split('px')[0]; 1046 1047 var offsets = getClientRect({ 1048 top: childrenRect.top - parentRect.top - borderTopWidth, 1049 left: childrenRect.left - parentRect.left - borderLeftWidth, 1050 width: childrenRect.width, 1051 height: childrenRect.height 1052 }); 1053 offsets.marginTop = 0; 1054 offsets.marginLeft = 0; 1055 1056 // Subtract margins of documentElement in case it's being used as parent 1057 // we do this only on HTML because it's the only element that behaves 1058 // differently when margins are applied to it. The margins are included in 1059 // the box of the documentElement, in the other cases not. 1060 if (!isIE10 && isHTML) { 1061 var marginTop = +styles.marginTop.split('px')[0]; 1062 var marginLeft = +styles.marginLeft.split('px')[0]; 1063 1064 offsets.top -= borderTopWidth - marginTop; 1065 offsets.bottom -= borderTopWidth - marginTop; 1066 offsets.left -= borderLeftWidth - marginLeft; 1067 offsets.right -= borderLeftWidth - marginLeft; 1068 1069 // Attach marginTop and marginLeft because in some circumstances we may need them 1070 offsets.marginTop = marginTop; 1071 offsets.marginLeft = marginLeft; 1072 } 1073 1074 if (isIE10 ? parent.contains(scrollParent) : parent === scrollParent && scrollParent.nodeName !== 'BODY') { 1075 offsets = includeScroll(offsets, parent); 1076 } 1077 1078 return offsets; 1079} 1080 1081function getViewportOffsetRectRelativeToArtbitraryNode(element) { 1082 var html = window.document.documentElement; 1083 var relativeOffset = getOffsetRectRelativeToArbitraryNode(element, html); 1084 var width = Math.max(html.clientWidth, window.innerWidth || 0); 1085 var height = Math.max(html.clientHeight, window.innerHeight || 0
vendor: 4,306 bytes, lines 1085-1227
1085); 1086 1087 var scrollTop = getScroll(html); 1088 var scrollLeft = getScroll(html, 'left'); 1089 1090 var offset = { 1091 top: scrollTop - relativeOffset.top + relativeOffset.marginTop, 1092 left: scrollLeft - relativeOffset.left + relativeOffset.marginLeft, 1093 width: width, 1094 height: height 1095 }; 1096 1097 return getClientRect(offset); 1098} 1099 1100/** 1101 * Check if the given element is fixed or is inside a fixed parent 1102 * @method 1103 * @memberof Popper.Utils 1104 * @argument {Element} element 1105 * @argument {Element} customContainer 1106 * @returns {Boolean} answer to "isFixed?" 1107 */ 1108function isFixed(element) { 1109 var nodeName = element.nodeName; 1110 if (nodeName === 'BODY' || nodeName === 'HTML') { 1111 return false; 1112 } 1113 if (getStyleComputedProperty(element, 'position') === 'fixed') { 1114 return true; 1115 } 1116 return isFixed(getParentNode(element)); 1117} 1118 1119/** 1120 * Computed the boundaries limits and return them 1121 * @method 1122 * @memberof Popper.Utils 1123 * @param {HTMLElement} popper 1124 * @param {HTMLElement} reference 1125 * @param {number} padding 1126 * @param {HTMLElement} boundariesElement - Element used to define the boundaries 1127 * @returns {Object} Coordinates of the boundaries 1128 */ 1129function getBoundaries(popper, reference, padding, boundariesElement) { 1130 // NOTE: 1 DOM access here 1131 var boundaries = { top: 0, left: 0 }; 1132 var offsetParent = findCommonOffsetParent(popper, reference); 1133 1134 // Handle viewport case 1135 if (boundariesElement === 'viewport') { 1136 boundaries = getViewportOffsetRectRelativeToArtbitraryNode(offsetParent); 1137 } else { 1138 // Handle other cases based on DOM element used as boundaries 1139 var boundariesNode = void 0; 1140 if (boundariesElement === 'scrollParent') { 1141 boundariesNode = getScrollParent(getParentNode(popper)); 1142 if (boundariesNode.nodeName === 'BODY') { 1143 boundariesNode = window.document.documentElement; 1144 } 1145 } else if (boundariesElement === 'window') { 1146 boundariesNode = window.document.documentElement; 1147 } else { 1148 boundariesNode = boundariesElement; 1149 } 1150 1151 var offsets = getOffsetRectRelativeToArbitraryNode(boundariesNode, offsetParent); 1152 1153 // In case of HTML, we need a different computation 1154 if (boundariesNode.nodeName === 'HTML' && !isFixed(offsetParent)) { 1155 var _getWindowSizes = getWindowSizes(), 1156 height = _getWindowSizes.height, 1157 width = _getWindowSizes.width; 1158 1159 boundaries.top += offsets.top - offsets.marginTop; 1160 boundaries.bottom = height + offsets.top; 1161 boundaries.left += offsets.left - offsets.marginLeft; 1162 boundaries.right = width + offsets.left; 1163 } else { 1164 // for all the other DOM elements, this one is good 1165 boundaries = offsets; 1166 } 1167 } 1168 1169 // Add paddings 1170 boundaries.left += padding; 1171 boundaries.top += padding; 1172 boundaries.right -= padding; 1173 boundaries.bottom -= padding; 1174 1175 return boundaries; 1176} 1177 1178function getArea(_ref) { 1179 var width = _ref.width, 1180 height = _ref.height; 1181 1182 return width * height; 1183} 1184 1185/** 1186 * Utility used to transform the `auto` placement to the placement with more 1187 * available space. 1188 * @method 1189 * @memberof Popper.Utils 1190 * @argument {Object} data - The data object generated by update method 1191 * @argument {Object} options - Modifiers configuration and options 1192 * @returns {Object} The data object, properly modified 1193 */ 1194function computeAutoPlacement(placement, refRect, popper, reference, boundariesElement) { 1195 var padding = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : 0; 1196 1197 if (placement.indexOf('auto') === -1) { 1198 return placement; 1199 } 1200 1201 var boundaries = getBoundaries(popper, reference, padding, boundariesElement); 1202 1203 var rects = { 1204 top: { 1205 width: boundaries.width, 1206 height: refRect.top - boundaries.top 1207 }, 1208 right: { 1209 width: boundaries.right - refRect.right, 1210 height: boundaries.height 1211 }, 1212 bottom: { 1213 width: boundaries.width, 1214 height: boundaries.bottom - refRect.bottom 1215 }, 1216 left: { 1217 width: refRect.left - boundaries.left, 1218 height: boundaries.height 1219 } 1220 }; 1221 1222 var sortedAreas = Object.keys(rects).map(function (key) { 1223 return _extends({ 1224 key: key 1225 }, rects[key], { 1226 area: getArea(rects[key]) 1227 });
1228 }).sort(function (a, b) { 1229 return b.area - a.area; 1230 }); 1231 1232 var filteredAreas = sortedAreas.filter(function (_ref2) { 1233 var width = _ref2.width, 1234 height = _ref2.height; 1235 return width >= popper.clientWidth && height >= popper.clientHeight; 1236 }); 1237 1238 var computedPlacement = filteredAreas.length > 0 ? filteredAreas[0].key : sortedAreas[0].key; 1239 1240 var variation = placement.split('-')[1]; 1241 1242 return computedPlacement + (variation ? '-' + variation : ''); 1243} 1244 1245/** 1246 * Get offsets to the reference element 1247 * @method 1248 * @memberof Popper.Utils 1249 * @param {Object} state 1250 * @param {Element} popper - the popper element 1251 * @param {Element} reference - the reference element (the popper will be relative to this) 1252 * @returns {Object} An object containing the offsets which will be applied to the popper 1253 */ 1254function getReferenceOffsets(state, popper, reference) { 1255 var commonOffsetParent = findCommonOffsetParent(popper, reference); 1256 return getOffsetRectRelativeToArbitraryNode(reference, commonOffsetParent); 1257} 1258 1259/** 1260 * Get the outer sizes of the given element (offset size + margins) 1261 * @method 1262 * @memberof Popper.Utils 1263 * @argument {Element} element 1264 * @returns {Object}
vendor: 4,716 bytes, lines 1264-1411
1264 object containing width and height properties 1265 */ 1266function getOuterSizes(element) { 1267 var styles = window.getComputedStyle(element); 1268 var x = parseFloat(styles.marginTop) + parseFloat(styles.marginBottom); 1269 var y = parseFloat(styles.marginLeft) + parseFloat(styles.marginRight); 1270 var result = { 1271 width: element.offsetWidth + y, 1272 height: element.offsetHeight + x 1273 }; 1274 return result; 1275} 1276 1277/** 1278 * Get the opposite placement of the given one 1279 * @method 1280 * @memberof Popper.Utils 1281 * @argument {String} placement 1282 * @returns {String} flipped placement 1283 */ 1284function getOppositePlacement(placement) { 1285 var hash = { left: 'right', right: 'left', bottom: 'top', top: 'bottom' }; 1286 return placement.replace(/left|right|bottom|top/g, function (matched) { 1287 return hash[matched]; 1288 }); 1289} 1290 1291/** 1292 * Get offsets to the popper 1293 * @method 1294 * @memberof Popper.Utils 1295 * @param {Object} position - CSS position the Popper will get applied 1296 * @param {HTMLElement} popper - the popper element 1297 * @param {Object} referenceOffsets - the reference offsets (the popper will be relative to this) 1298 * @param {String} placement - one of the valid placement options 1299 * @returns {Object} popperOffsets - An object containing the offsets which will be applied to the popper 1300 */ 1301function getPopperOffsets(popper, referenceOffsets, placement) { 1302 placement = placement.split('-')[0]; 1303 1304 // Get popper node sizes 1305 var popperRect = getOuterSizes(popper); 1306 1307 // Add position, width and height to our offsets object 1308 var popperOffsets = { 1309 width: popperRect.width, 1310 height: popperRect.height 1311 }; 1312 1313 // depending by the popper placement we have to compute its offsets slightly differently 1314 var isHoriz = ['right', 'left'].indexOf(placement) !== -1; 1315 var mainSide = isHoriz ? 'top' : 'left'; 1316 var secondarySide = isHoriz ? 'left' : 'top'; 1317 var measurement = isHoriz ? 'height' : 'width'; 1318 var secondaryMeasurement = !isHoriz ? 'height' : 'width'; 1319 1320 popperOffsets[mainSide] = referenceOffsets[mainSide] + referenceOffsets[measurement] / 2 - popperRect[measurement] / 2; 1321 if (placement === secondarySide) { 1322 popperOffsets[secondarySide] = referenceOffsets[secondarySide] - popperRect[secondaryMeasurement]; 1323 } else { 1324 popperOffsets[secondarySide] = referenceOffsets[getOppositePlacement(secondarySide)]; 1325 } 1326 1327 return popperOffsets; 1328} 1329 1330/** 1331 * Mimics the `find` method of Array 1332 * @method 1333 * @memberof Popper.Utils 1334 * @argument {Array} arr 1335 * @argument prop 1336 * @argument value 1337 * @returns index or -1 1338 */ 1339function find(arr, check) { 1340 // use native find if supported 1341 if (Array.prototype.find) { 1342 return arr.find(check); 1343 } 1344 1345 // use `filter` to obtain the same behavior of `find` 1346 return arr.filter(check)[0]; 1347} 1348 1349/** 1350 * Return the index of the matching object 1351 * @method 1352 * @memberof Popper.Utils 1353 * @argument {Array} arr 1354 * @argument prop 1355 * @argument value 1356 * @returns index or -1 1357 */ 1358function findIndex(arr, prop, value) { 1359 // use native findIndex if supported 1360 if (Array.prototype.findIndex) { 1361 return arr.findIndex(function (cur) { 1362 return cur[prop] === value; 1363 }); 1364 } 1365 1366 // use `find` + `indexOf` if `findIndex` isn't supported 1367 var match = find(arr, function (obj) { 1368 return obj[prop] === value; 1369 }); 1370 return arr.indexOf(match); 1371} 1372 1373/** 1374 * Loop trough the list of modifiers and run them in order, 1375 * each of them will then edit the data object. 1376 * @method 1377 * @memberof Popper.Utils 1378 * @param {dataObject} data 1379 * @param {Array} modifiers 1380 * @param {String} ends - Optional modifier name used as stopper 1381 * @returns {dataObject} 1382 */ 1383function runModifiers(modifiers, data, ends) { 1384 var modifiersToRun = ends === undefined ? modifiers : modifiers.slice(0, findIndex(modifiers, 'name', ends)); 1385 1386 modifiersToRun.forEach(function (modifier) { 1387 if (modifier.function) { 1388 console.warn('`modifier.function` is deprecated, use `modifier.fn`!'); 1389 } 1390 var fn = modifier.function || modifier.fn; 1391 if (modifier.enabled && isFunction(fn)) { 1392 // Add properties to offsets to make them a complete clientRect object 1393 // we do this before each modifier to make sure the previous one doesn't 1394 // mess with these values 1395 data.offsets.popper = getClientRect(data.offsets.popper); 1396 data.offsets.reference = getClientRect(data.offsets.reference); 1397 1398 data = fn(data, modifier); 1399 } 1400 }); 1401 1402 return data; 1403} 1404 1405/** 1406 * Updates the position of the popper, computing the new offsets and applying 1407 * the new style.<br /> 1408 * Prefer `scheduleUpdate` over `update` because of performance reasons. 1409 * @method 1410 * @memberof Popper 1411 */
vendor: 4,935 bytes, lines 1412-1570
1412function update() { 1413 // if popper is destroyed, don't perform any further update 1414 if (this.state.isDestroyed) { 1415 return; 1416 } 1417 1418 var data = { 1419 instance: this, 1420 styles: {}, 1421 arrowStyles: {}, 1422 attributes: {}, 1423 flipped: false, 1424 offsets: {} 1425 }; 1426 1427 // compute reference element offsets 1428 data.offsets.reference = getReferenceOffsets(this.state, this.popper, this.reference); 1429 1430 // compute auto placement, store placement inside the data object, 1431 // modifiers will be able to edit `placement` if needed 1432 // and refer to originalPlacement to know the original value 1433 data.placement = computeAutoPlacement(this.options.placement, data.offsets.reference, this.popper, this.reference, this.options.modifiers.flip.boundariesElement, this.options.modifiers.flip.padding); 1434 1435 // store the computed placement inside `originalPlacement` 1436 data.originalPlacement = data.placement; 1437 1438 // compute the popper offsets 1439 data.offsets.popper = getPopperOffsets(this.popper, data.offsets.reference, data.placement); 1440 data.offsets.popper.position = 'absolute'; 1441 1442 // run the modifiers 1443 data = runModifiers(this.modifiers, data); 1444 1445 // the first `update` will call `onCreate` callback 1446 // the other ones will call `onUpdate` callback 1447 if (!this.state.isCreated) { 1448 this.state.isCreated = true; 1449 this.options.onCreate(data); 1450 } else { 1451 this.options.onUpdate(data); 1452 } 1453} 1454 1455/** 1456 * Helper used to know if the given modifier is enabled. 1457 * @method 1458 * @memberof Popper.Utils 1459 * @returns {Boolean} 1460 */ 1461function isModifierEnabled(modifiers, modifierName) { 1462 return modifiers.some(function (_ref) { 1463 var name = _ref.name, 1464 enabled = _ref.enabled; 1465 return enabled && name === modifierName; 1466 }); 1467} 1468 1469/** 1470 * Get the prefixed supported property name 1471 * @method 1472 * @memberof Popper.Utils 1473 * @argument {String} property (camelCase) 1474 * @returns {String} prefixed property (camelCase or PascalCase, depending on the vendor prefix) 1475 */ 1476function getSupportedPropertyName(property) { 1477 var prefixes = [false, 'ms', 'Webkit', 'Moz', 'O']; 1478 var upperProp = property.charAt(0).toUpperCase() + property.slice(1); 1479 1480 for (var i = 0; i < prefixes.length - 1; i++) { 1481 var prefix = prefixes[i]; 1482 var toCheck = prefix ? '' + prefix + upperProp : property; 1483 if (typeof window.document.body.style[toCheck] !== 'undefined') { 1484 return toCheck; 1485 } 1486 } 1487 return null; 1488} 1489 1490/** 1491 * Destroy the popper 1492 * @method 1493 * @memberof Popper 1494 */ 1495function destroy() { 1496 this.state.isDestroyed = true; 1497 1498 // touch DOM only if `applyStyle` modifier is enabled 1499 if (isModifierEnabled(this.modifiers, 'applyStyle')) { 1500 this.popper.removeAttribute('x-placement'); 1501 this.popper.style.left = ''; 1502 this.popper.style.position = ''; 1503 this.popper.style.top = ''; 1504 this.popper.style[getSupportedPropertyName('transform')] = ''; 1505 } 1506 1507 this.disableEventListeners(); 1508 1509 // remove the popper if user explicity asked for the deletion on destroy 1510 // do not use `remove` because IE11 doesn't support it 1511 if (this.options.removeOnDestroy) { 1512 this.popper.parentNode.removeChild(this.popper); 1513 } 1514 return this; 1515} 1516 1517function attachToScrollParents(scrollParent, event, callback, scrollParents) { 1518 var isBody = scrollParent.nodeName === 'BODY'; 1519 var target = isBody ? window : scrollParent; 1520 target.addEventListener(event, callback, { passive: true }); 1521 1522 if (!isBody) { 1523 attachToScrollParents(getScrollParent(target.parentNode), event, callback, scrollParents); 1524 } 1525 scrollParents.push(target); 1526} 1527 1528/** 1529 * Setup needed event listeners used to update the popper position 1530 * @method 1531 * @memberof Popper.Utils 1532 * @private 1533 */ 1534function setupEventListeners(reference, options, state, updateBound) { 1535 // Resize event listener on window 1536 state.updateBound = updateBound; 1537 window.addEventListener('resize', state.updateBound, { passive: true }); 1538 1539 // Scroll event listener on scroll parents 1540 var scrollElement = getScrollParent(reference); 1541 attachToScrollParents(scrollElement, 'scroll', state.updateBound, state.scrollParents); 1542 state.scrollElement = scrollElement; 1543 state.eventsEnabled = true; 1544 1545 return state; 1546} 1547 1548/** 1549 * It will add resize/scroll events and start recalculating 1550 * position of the popper element when they are triggered. 1551 * @method 1552 * @memberof Popper 1553 */ 1554function enableEventListeners() { 1555 if (!this.state.eventsEnabled) { 1556 this.state = setupEventListeners(this.reference, this.options, this.state, this.scheduleUpdate); 1557 } 1558} 1559 1560/** 1561 * Remove event listeners used to update the popper position 1562 * @method 1563 * @memberof Popper.Utils 1564 * @private 1565 */ 1566function removeEventListeners(reference, state) { 1567 // Remove resize event listener on window 1568 window.removeEventListener('resize', state.updateBound); 1569 1570 // Remove scroll event listener on scroll parents
vendor: 3,215 bytes, lines 1571-1666
1571 state.scrollParents.forEach(function (target) { 1572 target.removeEventListener('scroll', state.updateBound); 1573 }); 1574 1575 // Reset state 1576 state.updateBound = null; 1577 state.scrollParents = []; 1578 state.scrollElement = null; 1579 state.eventsEnabled = false; 1580 return state; 1581} 1582 1583/** 1584 * It will remove resize/scroll events and won't recalculate popper position 1585 * when they are triggered. It also won't trigger onUpdate callback anymore, 1586 * unless you call `update` method manually. 1587 * @method 1588 * @memberof Popper 1589 */ 1590function disableEventListeners() { 1591 if (this.state.eventsEnabled) { 1592 window.cancelAnimationFrame(this.scheduleUpdate); 1593 this.state = removeEventListeners(this.reference, this.state); 1594 } 1595} 1596 1597/** 1598 * Tells if a given input is a number 1599 * @method 1600 * @memberof Popper.Utils 1601 * @param {*} input to check 1602 * @return {Boolean} 1603 */ 1604function isNumeric(n) { 1605 return n !== '' && !isNaN(parseFloat(n)) && isFinite(n); 1606} 1607 1608/** 1609 * Set the style to the given popper 1610 * @method 1611 * @memberof Popper.Utils 1612 * @argument {Element} element - Element to apply the style to 1613 * @argument {Object} styles 1614 * Object with a list of properties and values which will be applied to the element 1615 */ 1616function setStyles(element, styles) { 1617 Object.keys(styles).forEach(function (prop) { 1618 var unit = ''; 1619 // add unit if the value is numeric and is one of the following 1620 if (['width', 'height', 'top', 'right', 'bottom', 'left'].indexOf(prop) !== -1 && isNumeric(styles[prop])) { 1621 unit = 'px'; 1622 } 1623 element.style[prop] = styles[prop] + unit; 1624 }); 1625} 1626 1627/** 1628 * Set the attributes to the given popper 1629 * @method 1630 * @memberof Popper.Utils 1631 * @argument {Element} element - Element to apply the attributes to 1632 * @argument {Object} styles 1633 * Object with a list of properties and values which will be applied to the element 1634 */ 1635function setAttributes(element, attributes) { 1636 Object.keys(attributes).forEach(function (prop) { 1637 var value = attributes[prop]; 1638 if (value !== false) { 1639 element.setAttribute(prop, attributes[prop]); 1640 } else { 1641 element.removeAttribute(prop); 1642 } 1643 }); 1644} 1645 1646/** 1647 * @function 1648 * @memberof Modifiers 1649 * @argument {Object} data - The data object generated by `update` method 1650 * @argument {Object} data.styles - List of style properties - values to apply to popper element 1651 * @argument {Object} data.attributes - List of attribute properties - values to apply to popper element 1652 * @argument {Object} options - Modifiers configuration and options 1653 * @returns {Object} The same data object 1654 */ 1655function applyStyle(data) { 1656 // any property present in `data.styles` will be applied to the popper, 1657 // in this way we can make the 3rd party modifiers add custom styles to it 1658 // Be aware, modifiers could override the properties defined in the previous 1659 // lines of this modifier! 1660 setStyles(data.instance.popper, data.styles); 1661 1662 // any property present in `data.attributes` will be applied to the popper, 1663 // they will be set as HTML attributes of the element 1664 setAttributes(data.instance.popper, data.attributes); 1665 1666 // if arrowElement is defined and arrowStyles has some properties
1667 if (data.arrowElement && Object.keys(data.arrowStyles).length) { 1668 setStyles(data.arrowElement, data.arrowStyles); 1669 } 1670 1671 return data; 1672} 1673 1674/** 1675 * Set the x-placement attribute before everything else because it could be used 1676 * to add margins to the popper margins needs to be calculated to get the 1677 * correct popper offsets. 1678 * @method 1679 * @memberof Popper.modifiers 1680 * @param {HTMLElement} reference - The reference element used to position the popper 1681 * @param {HTMLElement} popper - The HTML element used as popper. 1682 * @param {Object} options - Popper.js options 1683 */ 1684function applyStyleOnLoad(reference, popper, options, modifierOptions, state) { 1685 // compute reference element offsets 1686 var referenceOffsets = getReferenceOffsets(state, popper, reference); 1687 1688 // compute auto placement, store placement inside the data object, 1689 // modifiers will be able to edit `placement` if needed 1690 // and refer to originalPlacement to know the original value 1691 var placement = computeAutoPlacement(options.placement, referenceOffsets, popper, reference, options.modifiers.flip.boundariesElement, options.modifiers.flip.padding); 1692 1693 popper.setAttribute('x-placement', placement); 1694 1695 // Apply `position` to popper before anything else because 1696 // without the position applied we can't guarantee correct computations 1697 setStyles(popper, { position: 'absolute' }); 1698 1699 return options; 1700} 1701 1702/** 1703 * @function 1704 * @memberof Modifiers 1705 * @argument {Object} data - The data object generated by `update` method 1706 * @argument {Object} options - Modifiers configuration and options 1707 * @returns {Object} The data object, properly modified 1708 */ 1709function computeStyle(data, options) { 1710 var x = options.x, 1711 y = options.y;
vendor: 4,639 bytes, lines 1712-1838
1712 var popper = data.offsets.popper; 1713 1714 // Remove this legacy support in Popper.js v2 1715 1716 var legacyGpuAccelerationOption = find(data.instance.modifiers, function (modifier) { 1717 return modifier.name === 'applyStyle'; 1718 }).gpuAcceleration; 1719 if (legacyGpuAccelerationOption !== undefined) { 1720 console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!'); 1721 } 1722 var gpuAcceleration = legacyGpuAccelerationOption !== undefined ? legacyGpuAccelerationOption : options.gpuAcceleration; 1723 1724 var offsetParent = getOffsetParent(data.instance.popper); 1725 var offsetParentRect = getBoundingClientRect(offsetParent); 1726 1727 // Styles 1728 var styles = { 1729 position: popper.position 1730 }; 1731 1732 // floor sides to avoid blurry text 1733 var offsets = { 1734 left: Math.floor(popper.left), 1735 top: Math.floor(popper.top), 1736 bottom: Math.floor(popper.bottom), 1737 right: Math.floor(popper.right) 1738 }; 1739 1740 var sideA = x === 'bottom' ? 'top' : 'bottom'; 1741 var sideB = y === 'right' ? 'left' : 'right'; 1742 1743 // if gpuAcceleration is set to `true` and transform is supported, 1744 // we use `translate3d` to apply the position to the popper we 1745 // automatically use the supported prefixed version if needed 1746 var prefixedProperty = getSupportedPropertyName('transform'); 1747 1748 // now, let's make a step back and look at this code closely (wtf?) 1749 // If the content of the popper grows once it's been positioned, it 1750 // may happen that the popper gets misplaced because of the new content 1751 // overflowing its reference element 1752 // To avoid this problem, we provide two options (x and y), which allow 1753 // the consumer to define the offset origin. 1754 // If we position a popper on top of a reference element, we can set 1755 // `x` to `top` to make the popper grow towards its top instead of 1756 // its bottom. 1757 var left = void 0, 1758 top = void 0; 1759 if (sideA === 'bottom') { 1760 top = -offsetParentRect.height + offsets.bottom; 1761 } else { 1762 top = offsets.top; 1763 } 1764 if (sideB === 'right') { 1765 left = -offsetParentRect.width + offsets.right; 1766 } else { 1767 left = offsets.left; 1768 } 1769 if (gpuAcceleration && prefixedProperty) { 1770 styles[prefixedProperty] = 'translate3d(' + left + 'px, ' + top + 'px, 0)'; 1771 styles[sideA] = 0; 1772 styles[sideB] = 0; 1773 styles.willChange = 'transform'; 1774 } else { 1775 // othwerise, we use the standard `top`, `left`, `bottom` and `right` properties 1776 var invertTop = sideA === 'bottom' ? -1 : 1; 1777 var invertLeft = sideB === 'right' ? -1 : 1; 1778 styles[sideA] = top * invertTop; 1779 styles[sideB] = left * invertLeft; 1780 styles.willChange = sideA + ', ' + sideB; 1781 } 1782 1783 // Attributes 1784 var attributes = { 1785 'x-placement': data.placement 1786 }; 1787 1788 // Update `data` attributes, styles and arrowStyles 1789 data.attributes = _extends({}, attributes, data.attributes); 1790 data.styles = _extends({}, styles, data.styles); 1791 data.arrowStyles = _extends({}, data.offsets.arrow, data.arrowStyles); 1792 1793 return data; 1794} 1795 1796/** 1797 * Helper used to know if the given modifier depends from another one.<br /> 1798 * It checks if the needed modifier is listed and enabled. 1799 * @method 1800 * @memberof Popper.Utils 1801 * @param {Array} modifiers - list of modifiers 1802 * @param {String} requestingName - name of requesting modifier 1803 * @param {String} requestedName - name of requested modifier 1804 * @returns {Boolean} 1805 */ 1806function isModifierRequired(modifiers, requestingName, requestedName) { 1807 var requesting = find(modifiers, function (_ref) { 1808 var name = _ref.name; 1809 return name === requestingName; 1810 }); 1811 1812 var isRequired = !!requesting && modifiers.some(function (modifier) { 1813 return modifier.name === requestedName && modifier.enabled && modifier.order < requesting.order; 1814 }); 1815 1816 if (!isRequired) { 1817 var _requesting = '`' + requestingName + '`'; 1818 var requested = '`' + requestedName + '`'; 1819 console.warn(requested + ' modifier is required by ' + _requesting + ' modifier in order to work, be sure to include it before ' + _requesting + '!'); 1820 } 1821 return isRequired; 1822} 1823 1824/** 1825 * @function 1826 * @memberof Modifiers 1827 * @argument {Object} data - The data object generated by update method 1828 * @argument {Object} options - Modifiers configuration and options 1829 * @returns {Object} The data object, properly modified 1830 */ 1831function arrow(data, options) { 1832 // arrow depends on keepTogether in order to work 1833 if (!isModifierRequired(data.instance.modifiers, 'arrow', 'keepTogether')) { 1834 return data; 1835 } 1836 1837 var arrowElement = options.element; 1838
vendor: 8,356 bytes, lines 1839-2058
1839 // if arrowElement is a string, suppose it's a CSS selector 1840 if (typeof arrowElement === 'string') { 1841 arrowElement = data.instance.popper.querySelector(arrowElement); 1842 1843 // if arrowElement is not found, don't run the modifier 1844 if (!arrowElement) { 1845 return data; 1846 } 1847 } else { 1848 // if the arrowElement isn't a query selector we must check that the 1849 // provided DOM node is child of its popper node 1850 if (!data.instance.popper.contains(arrowElement)) { 1851 console.warn('WARNING: `arrow.element` must be child of its popper element!'); 1852 return data; 1853 } 1854 } 1855 1856 var placement = data.placement.split('-')[0]; 1857 var _data$offsets = data.offsets, 1858 popper = _data$offsets.popper, 1859 reference = _data$offsets.reference; 1860 1861 var isVertical = ['left', 'right'].indexOf(placement) !== -1; 1862 1863 var len = isVertical ? 'height' : 'width'; 1864 var sideCapitalized = isVertical ? 'Top' : 'Left'; 1865 var side = sideCapitalized.toLowerCase(); 1866 var altSide = isVertical ? 'left' : 'top'; 1867 var opSide = isVertical ? 'bottom' : 'right'; 1868 var arrowElementSize = getOuterSizes(arrowElement)[len]; 1869 1870 // 1871 // extends keepTogether behavior making sure the popper and its 1872 // reference have enough pixels in conjuction 1873 // 1874 1875 // top/left side 1876 if (reference[opSide] - arrowElementSize < popper[side]) { 1877 data.offsets.popper[side] -= popper[side] - (reference[opSide] - arrowElementSize); 1878 } 1879 // bottom/right side 1880 if (reference[side] + arrowElementSize > popper[opSide]) { 1881 data.offsets.popper[side] += reference[side] + arrowElementSize - popper[opSide]; 1882 } 1883 1884 // compute center of the popper 1885 var center = reference[side] + reference[len] / 2 - arrowElementSize / 2; 1886 1887 // Compute the sideValue using the updated popper offsets 1888 // take popper margin in account because we don't have this info available 1889 var popperMarginSide = getStyleComputedProperty(data.instance.popper, 'margin' + sideCapitalized).replace('px', ''); 1890 var sideValue = center - getClientRect(data.offsets.popper)[side] - popperMarginSide; 1891 1892 // prevent arrowElement from being placed not contiguously to its popper 1893 sideValue = Math.max(Math.min(popper[len] - arrowElementSize, sideValue), 0); 1894 1895 data.arrowElement = arrowElement; 1896 data.offsets.arrow = {}; 1897 data.offsets.arrow[side] = Math.round(sideValue); 1898 data.offsets.arrow[altSide] = ''; // make sure to unset any eventual altSide value from the DOM node 1899 1900 return data; 1901} 1902 1903/** 1904 * Get the opposite placement variation of the given one 1905 * @method 1906 * @memberof Popper.Utils 1907 * @argument {String} placement variation 1908 * @returns {String} flipped placement variation 1909 */ 1910function getOppositeVariation(variation) { 1911 if (variation === 'end') { 1912 return 'start'; 1913 } else if (variation === 'start') { 1914 return 'end'; 1915 } 1916 return variation; 1917} 1918 1919/** 1920 * List of accepted placements to use as values of the `placement` option.<br /> 1921 * Valid placements are: 1922 * - `auto` 1923 * - `top` 1924 * - `right` 1925 * - `bottom` 1926 * - `left` 1927 * 1928 * Each placement can have a variation from this list: 1929 * - `-start` 1930 * - `-end` 1931 * 1932 * Variations are interpreted easily if you think of them as the left to right 1933 * written languages. Horizontally (`top` and `bottom`), `start` is left and `end` 1934 * is right.<br /> 1935 * Vertically (`left` and `right`), `start` is top and `end` is bottom. 1936 * 1937 * Some valid examples are: 1938 * - `top-end` (on top of reference, right aligned) 1939 * - `right-start` (on right of reference, top aligned) 1940 * - `bottom` (on bottom, centered) 1941 * - `auto-right` (on the side with more space available, alignment depends by placement) 1942 * 1943 * @static 1944 * @type {Array} 1945 * @enum {String} 1946 * @readonly 1947 * @method placements 1948 * @memberof Popper 1949 */ 1950var placements = ['auto-start', 'auto', 'auto-end', 'top-start', 'top', 'top-end', 'right-start', 'right', 'right-end', 'bottom-end', 'bottom', 'bottom-start', 'left-end', 'left', 'left-start']; 1951 1952// Get rid of `auto` `auto-start` and `auto-end` 1953var validPlacements = placements.slice(3); 1954 1955/** 1956 * Given an initial placement, returns all the subsequent placements 1957 * clockwise (or counter-clockwise). 1958 * 1959 * @method 1960 * @memberof Popper.Utils 1961 * @argument {String} placement - A valid placement (it accepts variations) 1962 * @argument {Boolean} counter - Set to true to walk the placements counterclockwise 1963 * @returns {Array} placements including their variations 1964 */ 1965function clockwise(placement) { 1966 var counter = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false; 1967 1968 var index = validPlacements.indexOf(placement); 1969 var arr = validPlacements.slice(index + 1).concat(validPlacements.slice(0, index)); 1970 return counter ? arr.reverse() : arr; 1971} 1972 1973var BEHAVIORS = { 1974 FLIP: 'flip', 1975 CLOCKWISE: 'clockwise', 1976 COUNTERCLOCKWISE: 'counterclockwise' 1977}; 1978 1979/** 1980 * @function 1981 * @memberof Modifiers 1982 * @argument {Object} data - The data object generated by update method 1983 * @argument {Object} options - Modifiers configuration and options 1984 * @returns {Object} The data object, properly modified 1985 */ 1986function flip(data, options) { 1987 // if `inner` modifier is enabled, we can't use the `flip` modifier 1988 if (isModifierEnabled(data.instance.modifiers, 'inner')) { 1989 return data; 1990 } 1991 1992 if (data.flipped && data.placement === data.originalPlacement) { 1993 // seems like flip is trying to loop, probably there's not enough space on any of the flippable sides 1994 return data; 1995 } 1996 1997 var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, options.boundariesElement); 1998 1999 var placement = data.placement.split('-')[0]; 2000 var placementOpposite = getOppositePlacement(placement); 2001 var variation = data.placement.split('-')[1] || ''; 2002 2003 var flipOrder = []; 2004 2005 switch (options.behavior) { 2006 case BEHAVIORS.FLIP: 2007 flipOrder = [placement, placementOpposite]; 2008 break; 2009 case BEHAVIORS.CLOCKWISE: 2010 flipOrder = clockwise(placement); 2011 break; 2012 case BEHAVIORS.COUNTERCLOCKWISE: 2013 flipOrder = clockwise(placement, true); 2014 break; 2015 default: 2016 flipOrder = options.behavior; 2017 } 2018 2019 flipOrder.forEach(function (step, index) { 2020 if (placement !== step || flipOrder.length === index + 1) { 2021 return data; 2022 } 2023 2024 placement = data.placement.split('-')[0]; 2025 placementOpposite = getOppositePlacement(placement); 2026 2027 var popperOffsets = data.offsets.popper; 2028 var refOffsets = data.offsets.reference; 2029 2030 // using floor because the reference offsets may contain decimals we are not going to consider here 2031 var floor = Math.floor; 2032 var overlapsRef = placement === 'left' && floor(popperOffsets.right) > floor(refOffsets.left) || placement === 'right' && floor(popperOffsets.left) < floor(refOffsets.right) || placement === 'top' && floor(popperOffsets.bottom) > floor(refOffsets.top) || placement === 'bottom' && floor(popperOffsets.top) < floor(refOffsets.bottom); 2033 2034 var overflowsLeft = floor(popperOffsets.left) < floor(boundaries.left); 2035 var overflowsRight = floor(popperOffsets.right) > floor(boundaries.right); 2036 var overflowsTop = floor(popperOffsets.top) < floor(boundaries.top); 2037 var overflowsBottom = floor(popperOffsets.bottom) > floor(boundaries.bottom); 2038 2039 var overflowsBoundaries = placement === 'left' && overflowsLeft || placement === 'right' && overflowsRight || placement === 'top' && overflowsTop || placement === 'bottom' && overflowsBottom; 2040 2041 // flip the variation if required 2042 var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; 2043 var flippedVariation = !!options.flipVariations && (isVertical && variation === 'start' && overflowsLeft || isVertical && variation === 'end' && overflowsRight || !isVertical && variation === 'start' && overflowsTop || !isVertical && variation === 'end' && overflowsBottom); 2044 2045 if (overlapsRef || overflowsBoundaries || flippedVariation) { 2046 // this boolean to detect any flip loop 2047 data.flipped = true; 2048 2049 if (overlapsRef || overflowsBoundaries) { 2050 placement = flipOrder[index + 1]; 2051 } 2052 2053 if (flippedVariation) { 2054 variation = getOppositeVariation(variation); 2055 } 2056 2057 data.placement = placement + (variation ? '-' + variation : ''); 2058
vendor: 5,717 bytes, lines 2059-2215
2059 // this object contains `position`, we want to preserve it along with 2060 // any additional property we may add in the future 2061 data.offsets.popper = _extends({}, data.offsets.popper, getPopperOffsets(data.instance.popper, data.offsets.reference, data.placement)); 2062 2063 data = runModifiers(data.instance.modifiers, data, 'flip'); 2064 } 2065 }); 2066 return data; 2067} 2068 2069/** 2070 * @function 2071 * @memberof Modifiers 2072 * @argument {Object} data - The data object generated by update method 2073 * @argument {Object} options - Modifiers configuration and options 2074 * @returns {Object} The data object, properly modified 2075 */ 2076function keepTogether(data) { 2077 var _data$offsets = data.offsets, 2078 popper = _data$offsets.popper, 2079 reference = _data$offsets.reference; 2080 2081 var placement = data.placement.split('-')[0]; 2082 var floor = Math.floor; 2083 var isVertical = ['top', 'bottom'].indexOf(placement) !== -1; 2084 var side = isVertical ? 'right' : 'bottom'; 2085 var opSide = isVertical ? 'left' : 'top'; 2086 var measurement = isVertical ? 'width' : 'height'; 2087 2088 if (popper[side] < floor(reference[opSide])) { 2089 data.offsets.popper[opSide] = floor(reference[opSide]) - popper[measurement]; 2090 } 2091 if (popper[opSide] > floor(reference[side])) { 2092 data.offsets.popper[opSide] = floor(reference[side]); 2093 } 2094 2095 return data; 2096} 2097 2098/** 2099 * Converts a string containing value + unit into a px value number 2100 * @function 2101 * @memberof {modifiers~offset} 2102 * @private 2103 * @argument {String} str - Value + unit string 2104 * @argument {String} measurement - `height` or `width` 2105 * @argument {Object} popperOffsets 2106 * @argument {Object} referenceOffsets 2107 * @returns {Number|String} 2108 * Value in pixels, or original string if no values were extracted 2109 */ 2110function toValue(str, measurement, popperOffsets, referenceOffsets) { 2111 // separate value from unit 2112 var split = str.match(/((?:\-|\+)?\d*\.?\d*)(.*)/); 2113 var value = +split[1]; 2114 var unit = split[2]; 2115 2116 // If it's not a number it's an operator, I guess 2117 if (!value) { 2118 return str; 2119 } 2120 2121 if (unit.indexOf('%') === 0) { 2122 var element = void 0; 2123 switch (unit) { 2124 case '%p': 2125 element = popperOffsets; 2126 break; 2127 case '%': 2128 case '%r': 2129 default: 2130 element = referenceOffsets; 2131 } 2132 2133 var rect = getClientRect(element); 2134 return rect[measurement] / 100 * value; 2135 } else if (unit === 'vh' || unit === 'vw') { 2136 // if is a vh or vw, we calculate the size based on the viewport 2137 var size = void 0; 2138 if (unit === 'vh') { 2139 size = Math.max(document.documentElement.clientHeight, window.innerHeight || 0); 2140 } else { 2141 size = Math.max(document.documentElement.clientWidth, window.innerWidth || 0); 2142 } 2143 return size / 100 * value; 2144 } else { 2145 // if is an explicit pixel unit, we get rid of the unit and keep the value 2146 // if is an implicit unit, it's px, and we return just the value 2147 return value; 2148 } 2149} 2150 2151/** 2152 * Parse an `offset` string to extrapolate `x` and `y` numeric offsets. 2153 * @function 2154 * @memberof {modifiers~offset} 2155 * @private 2156 * @argument {String} offset 2157 * @argument {Object} popperOffsets 2158 * @argument {Object} referenceOffsets 2159 * @argument {String} basePlacement 2160 * @returns {Array} a two cells array with x and y offsets in numbers 2161 */ 2162function parseOffset(offset, popperOffsets, referenceOffsets, basePlacement) { 2163 var offsets = [0, 0]; 2164 2165 // Use height if placement is left or right and index is 0 otherwise use width 2166 // in this way the first offset will use an axis and the second one 2167 // will use the other one 2168 var useHeight = ['right', 'left'].indexOf(basePlacement) !== -1; 2169 2170 // Split the offset string to obtain a list of values and operands 2171 // The regex addresses values with the plus or minus sign in front (+10, -20, etc) 2172 var fragments = offset.split(/(\+|\-)/).map(function (frag) { 2173 return frag.trim(); 2174 }); 2175 2176 // Detect if the offset string contains a pair of values or a single one 2177 // they could be separated by comma or space 2178 var divider = fragments.indexOf(find(fragments, function (frag) { 2179 return frag.search(/,|\s/) !== -1; 2180 })); 2181 2182 if (fragments[divider] && fragments[divider].indexOf(',') === -1) { 2183 console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.'); 2184 } 2185 2186 // If divider is found, we divide the list of values and operands to divide 2187 // them by ofset X and Y. 2188 var splitRegex = /\s*,\s*|\s+/; 2189 var ops = divider !== -1 ? [fragments.slice(0, divider).concat([fragments[divider].split(splitRegex)[0]]), [fragments[divider].split(splitRegex)[1]].concat(fragments.slice(divider + 1))] : [fragments]; 2190 2191 // Convert the values with units to absolute pixels to allow our computations 2192 ops = ops.map(function (op, index) { 2193 // Most of the units rely on the orientation of the popper 2194 var measurement = (index === 1 ? !useHeight : useHeight) ? 'height' : 'width'; 2195 var mergeWithPrevious = false; 2196 return op 2197 // This aggregates any `+` or `-` sign that aren't considered operators 2198 // e.g.: 10 + +5 => [10, +, +5] 2199 .reduce(function (a, b) { 2200 if (a[a.length - 1] === '' && ['+', '-'].indexOf(b) !== -1) { 2201 a[a.length - 1] = b; 2202 mergeWithPrevious = true; 2203 return a; 2204 } else if (mergeWithPrevious) { 2205 a[a.length - 1] += b; 2206 mergeWithPrevious = false; 2207 return a; 2208 } else { 2209 return a.concat(b); 2210 } 2211 }, []) 2212 // Here we convert the string values into number values (in px) 2213 .map(function (str) { 2214 return toValue(str, measurement, popperOffsets, referenceOffsets); 2215 });
vendor: 5,101 bytes, lines 2216-2369
2216 }); 2217 2218 // Loop trough the offsets arrays and execute the operations 2219 ops.forEach(function (op, index) { 2220 op.forEach(function (frag, index2) { 2221 if (isNumeric(frag)) { 2222 offsets[index] += frag * (op[index2 - 1] === '-' ? -1 : 1); 2223 } 2224 }); 2225 }); 2226 return offsets; 2227} 2228 2229/** 2230 * @function 2231 * @memberof Modifiers 2232 * @argument {Object} data - The data object generated by update method 2233 * @argument {Object} options - Modifiers configuration and options 2234 * @argument {Number|String} options.offset=0 2235 * The offset value as described in the modifier description 2236 * @returns {Object} The data object, properly modified 2237 */ 2238function offset(data, _ref) { 2239 var offset = _ref.offset; 2240 var placement = data.placement, 2241 _data$offsets = data.offsets, 2242 popper = _data$offsets.popper, 2243 reference = _data$offsets.reference; 2244 2245 var basePlacement = placement.split('-')[0]; 2246 2247 var offsets = void 0; 2248 if (isNumeric(+offset)) { 2249 offsets = [+offset, 0]; 2250 } else { 2251 offsets = parseOffset(offset, popper, reference, basePlacement); 2252 } 2253 2254 if (basePlacement === 'left') { 2255 popper.top += offsets[0]; 2256 popper.left -= offsets[1]; 2257 } else if (basePlacement === 'right') { 2258 popper.top += offsets[0]; 2259 popper.left += offsets[1]; 2260 } else if (basePlacement === 'top') { 2261 popper.left += offsets[0]; 2262 popper.top -= offsets[1]; 2263 } else if (basePlacement === 'bottom') { 2264 popper.left += offsets[0]; 2265 popper.top += offsets[1]; 2266 } 2267 2268 data.popper = popper; 2269 return data; 2270} 2271 2272/** 2273 * @function 2274 * @memberof Modifiers 2275 * @argument {Object} data - The data object generated by `update` method 2276 * @argument {Object} options - Modifiers configuration and options 2277 * @returns {Object} The data object, properly modified 2278 */ 2279function preventOverflow(data, options) { 2280 var boundariesElement = options.boundariesElement || getOffsetParent(data.instance.popper); 2281 2282 // If offsetParent is the reference element, we really want to 2283 // go one step up and use the next offsetParent as reference to 2284 // avoid to make this modifier completely useless and look like broken 2285 if (data.instance.reference === boundariesElement) { 2286 boundariesElement = getOffsetParent(boundariesElement); 2287 } 2288 2289 var boundaries = getBoundaries(data.instance.popper, data.instance.reference, options.padding, boundariesElement); 2290 options.boundaries = boundaries; 2291 2292 var order = options.priority; 2293 var popper = data.offsets.popper; 2294 2295 var check = { 2296 primary: function primary(placement) { 2297 var value = popper[placement]; 2298 if (popper[placement] < boundaries[placement] && !options.escapeWithReference) { 2299 value = Math.max(popper[placement], boundaries[placement]); 2300 } 2301 return defineProperty({}, placement, value); 2302 }, 2303 secondary: function secondary(placement) { 2304 var mainSide = placement === 'right' ? 'left' : 'top'; 2305 var value = popper[mainSide]; 2306 if (popper[placement] > boundaries[placement] && !options.escapeWithReference) { 2307 value = Math.min(popper[mainSide], boundaries[placement] - (placement === 'right' ? popper.width : popper.height)); 2308 } 2309 return defineProperty({}, mainSide, value); 2310 } 2311 }; 2312 2313 order.forEach(function (placement) { 2314 var side = ['left', 'top'].indexOf(placement) !== -1 ? 'primary' : 'secondary'; 2315 popper = _extends({}, popper, check[side](placement)); 2316 }); 2317 2318 data.offsets.popper = popper; 2319 2320 return data; 2321} 2322 2323/** 2324 * @function 2325 * @memberof Modifiers 2326 * @argument {Object} data - The data object generated by `update` method 2327 * @argument {Object} options - Modifiers configuration and options 2328 * @returns {Object} The data object, properly modified 2329 */ 2330function shift(data) { 2331 var placement = data.placement; 2332 var basePlacement = placement.split('-')[0]; 2333 var shiftvariation = placement.split('-')[1]; 2334 2335 // if shift shiftvariation is specified, run the modifier 2336 if (shiftvariation) { 2337 var _data$offsets = data.offsets, 2338 reference = _data$offsets.reference, 2339 popper = _data$offsets.popper; 2340 2341 var isVertical = ['bottom', 'top'].indexOf(basePlacement) !== -1; 2342 var side = isVertical ? 'left' : 'top'; 2343 var measurement = isVertical ? 'width' : 'height'; 2344 2345 var shiftOffsets = { 2346 start: defineProperty({}, side, reference[side]), 2347 end: defineProperty({}, side, reference[side] + reference[measurement] - popper[measurement]) 2348 }; 2349 2350 data.offsets.popper = _extends({}, popper, shiftOffsets[shiftvariation]); 2351 } 2352 2353 return data; 2354} 2355 2356/** 2357 * @function 2358 * @memberof Modifiers 2359 * @argument {Object} data - The data object generated by update method 2360 * @argument {Object} options - Modifiers configuration and options 2361 * @returns {Object} The data object, properly modified 2362 */ 2363function hide(data) { 2364 if (!isModifierRequired(data.instance.modifiers, 'hide', 'preventOverflow')) { 2365 return data; 2366 } 2367 2368 var refRect = data.offsets.reference; 2369 var bound = find(data.instance.modifiers, function (modifier) {
vendor: 3,741 bytes, lines 2370-2474
2370 return modifier.name === 'preventOverflow'; 2371 }).boundaries; 2372 2373 if (refRect.bottom < bound.top || refRect.left > bound.right || refRect.top > bound.bottom || refRect.right < bound.left) { 2374 // Avoid unnecessary DOM access if visibility hasn't changed 2375 if (data.hide === true) { 2376 return data; 2377 } 2378 2379 data.hide = true; 2380 data.attributes['x-out-of-boundaries'] = ''; 2381 } else { 2382 // Avoid unnecessary DOM access if visibility hasn't changed 2383 if (data.hide === false) { 2384 return data; 2385 } 2386 2387 data.hide = false; 2388 data.attributes['x-out-of-boundaries'] = false; 2389 } 2390 2391 return data; 2392} 2393 2394/** 2395 * @function 2396 * @memberof Modifiers 2397 * @argument {Object} data - The data object generated by `update` method 2398 * @argument {Object} options - Modifiers configuration and options 2399 * @returns {Object} The data object, properly modified 2400 */ 2401function inner(data) { 2402 var placement = data.placement; 2403 var basePlacement = placement.split('-')[0]; 2404 var _data$offsets = data.offsets, 2405 popper = _data$offsets.popper, 2406 reference = _data$offsets.reference; 2407 2408 var isHoriz = ['left', 'right'].indexOf(basePlacement) !== -1; 2409 2410 var subtractLength = ['top', 'left'].indexOf(basePlacement) === -1; 2411 2412 popper[isHoriz ? 'left' : 'top'] = reference[basePlacement] - (subtractLength ? popper[isHoriz ? 'width' : 'height'] : 0); 2413 2414 data.placement = getOppositePlacement(placement); 2415 data.offsets.popper = getClientRect(popper); 2416 2417 return data; 2418} 2419 2420/** 2421 * Modifier function, each modifier can have a function of this type assigned 2422 * to its `fn` property.<br /> 2423 * These functions will be called on each update, this means that you must 2424 * make sure they are performant enough to avoid performance bottlenecks. 2425 * 2426 * @function ModifierFn 2427 * @argument {dataObject} data - The data object generated by `update` method 2428 * @argument {Object} options - Modifiers configuration and options 2429 * @returns {dataObject} The data object, properly modified 2430 */ 2431 2432/** 2433 * Modifiers are plugins used to alter the behavior of your poppers.<br /> 2434 * Popper.js uses a set of 9 modifiers to provide all the basic functionalities 2435 * needed by the library. 2436 * 2437 * Usually you don't want to override the `order`, `fn` and `onLoad` props. 2438 * All the other properties are configurations that could be tweaked. 2439 * @namespace modifiers 2440 */ 2441var modifiers = { 2442 /** 2443 * Modifier used to shift the popper on the start or end of its reference 2444 * element.<br /> 2445 * It will read the variation of the `placement` property.<br /> 2446 * It can be one either `-end` or `-start`. 2447 * @memberof modifiers 2448 * @inner 2449 */ 2450 shift: { 2451 /** @prop {number} order=100 - Index used to define the order of execution */ 2452 order: 100, 2453 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2454 enabled: true, 2455 /** @prop {ModifierFn} */ 2456 fn: shift 2457 }, 2458 2459 /** 2460 * The `offset` modifier can shift your popper on both its axis. 2461 * 2462 * It accepts the following units: 2463 * - `px` or unitless, interpreted as pixels 2464 * - `%` or `%r`, percentage relative to the length of the reference element 2465 * - `%p`, percentage relative to the length of the popper element 2466 * - `vw`, CSS viewport width unit 2467 * - `vh`, CSS viewport height unit 2468 * 2469 * For length is intended the main axis relative to the placement of the popper.<br /> 2470 * This means that if the placement is `top` or `bottom`, the length will be the 2471 * `width`. In case of `left` or `right`, it will be the height. 2472 * 2473 * You can provide a single value (as `Number` or `String`), or a pair of values 2474 * as `String` divided by a comma or one (or more) white space
2474s.<br /> 2475 * The latter is a deprecated method because it leads to confusion and will be 2476 * removed in v2.<br /> 2477 * Additionally, it accepts additions and subtractions between different units. 2478 * Note that multiplications and divisions aren't supported. 2479 * 2480 * Valid examples are: 2481 * ``` 2482 * 10 2483 * '10%' 2484 * '10, 10' 2485 * '10%, 10' 2486 * '10 + 10%' 2487 * '10 - 5vh + 3%' 2488 * '-10px + 5vh, 5px - 6%' 2489 * ``` 2490 * > **NB**: If you desire to apply offsets to your poppers in a way that may make them overlap 2491 * > with their reference element, unfortunately, you will have to disable the `flip` modifier. 2492 * > More on this [reading this issue](https://github.com/FezVrasta/popper.js/issues/373) 2493 * 2494 * @memberof modifiers 2495 * @inner 2496 */ 2497 offset: { 2498 /** @prop {number} order=200 - Index used to define the order of execution */ 2499 order: 200, 2500 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2501 enabled: true, 2502 /** @prop {ModifierFn} */ 2503 fn: offset, 2504 /** @prop {Number|String} offset=0 2505 * The offset value as described in the modifier description 2506 */ 2507 offset: 0 2508 }, 2509 2510 /** 2511 * Modifier used to prevent the popper from being positioned outside the boundary. 2512 * 2513 * An scenario exists where the reference itself is not within the boundaries.<br /> 2514 * We can say it has "escaped the boundaries" â or just "escaped".<br /> 2515 * In this case we need to decide whether the popper should either: 2516 * 2517 * - detach from the reference and remain "trapped" in the boundaries, or 2518 * - if it should ignore the boundary and "escape with its reference" 2519 * 2520 * When `escapeWithReference` is set to`true` and reference is completely 2521 * outside its boundaries, the popper will overflow (or completely leave) 2522 * the boundaries in order to remain attached to the edge of the reference. 2523 * 2524 * @memberof modifiers 2525 * @inner 2526 */ 2527 preventOverflow: { 2528 /** @prop {number} order=300 - Index used to define the order of execution */ 2529 order: 300, 2530 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2531 enabled: true, 2532 /** @prop {ModifierFn} */ 2533 fn: preventOverflow, 2534 /** 2535 * @prop {Array} [priority=['left','right','top','bottom']] 2536 * Popper will try to prevent overflow following these priorities by default, 2537 * then, it could overflow on the left and on top of the `boundariesElement` 2538 */ 2539 priority: ['left', 'right', 'top', 'bottom'], 2540 /** 2541 * @prop {number} padding=5 2542 * Amount of pixel used to define a minimum distance between the boundaries 2543 * and the popper this makes sure the popper has always a little padding 2544 * between the edges of its container 2545 */ 2546 padding: 5, 2547 /** 2548 * @prop {String|HTMLElement} boundariesElement='scrollParent' 2549 * Boundaries used by the modifier, can be `scrollParent`, `window`, 2550 * `viewport` or any DOM element. 2551 */ 2552 boundariesElement: 'scrollParent' 2553 }, 2554 2555 /** 2556 * Modifier used to make sure the reference and its popper stay near eachothers 2557 * without leaving any gap between the two. Expecially useful when the arrow is 2558 * enabled and you want to assure it to point to its reference element. 2559 * It cares only about the first axis, you can still have poppers with margin 2560 * between the popper and its reference element. 2561 * @memberof modifiers 2562 * @inner 2563 */ 2564 keepTogether: { 2565 /** @prop {number} order=400 - Index used to define the order of execution */ 2566 order: 400, 2567 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2568 enabled: true, 2569 /** @prop {ModifierFn} */ 2570 fn: keepTogether 2571 }, 2572 2573 /** 2574 * This modifier is used to move the `arrowElement` of the popper to make 2575 * sure it is positioned between the reference element and its popper element. 2576 * It will read the outer size of the `arrowElement` node to detect how many 2577 * pixels of conjuction are needed. 2578 * 2579 * It has no effect if no `arrowElement` is provided. 2580 * @memberof modifiers 2581 * @inner 2582 */ 2583 arrow: { 2584 /** @prop {number} order=500 - Index used to define the order of execution */ 2585 order: 500, 2586 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2587 enabled: true, 2588 /** @prop {ModifierFn} */ 2589 fn: arrow, 2590 /** @prop {String|HTMLElement} element='[x-arrow]' - Selector or node used as arrow */ 2591 element: '[x-arrow]' 2592 }, 2593 2594 /** 2595 * Modifier used to flip the popper's placement when it starts to overlap its 2596 * reference element. 2597 * 2598 * Requires the `preventOverflow` modifier before it in order to work. 2599 * 2600 * **NOTE:** this modifier will interrupt the current update cycle and will 2601 * restart it if it detects the need to flip the placement. 2602 * @memberof modifiers 2603 * @inner 2604 */ 2605 flip: { 2606 /** @prop {number} order=600 - Index used to define the order of execution */ 2607 order: 600, 2608 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2609 enabled: true, 2610 /** @prop {ModifierFn} */ 2611 fn: flip, 2612 /** 2613 * @prop {String|Array} behavior='flip' 2614 * The behavior used to change the popper's placement. It can be one of 2615 * `flip`, `clockwise`, `counterclockwise` or an array with a list of valid 2616 * placements (with optional variations). 2617 */ 2618 behavior: 'flip', 2619 /** 2620 * @prop {number} padding=5 2621 * The popper will flip if it hits the edges of the `boundariesElement` 2622 */ 2623 padding: 5, 2624 /** 2625 * @prop {String|HTMLElement} boundariesElement='viewport' 2626 * The element which will define the boundaries of the popper position, 2627 * the popper will never be placed outside of the defined boundaries 2628 * (except if keepTogether is enabled) 2629 */ 2630 boundariesElement: 'viewport' 2631 }, 2632 2633 /** 2634 * Modifier used to make the popper flow toward the inner of the reference element. 2635 * By default, when this modifier is disabled, the popper will be placed outside 2636 * the reference element. 2637 * @memberof modifiers 2638 * @inner 2639 */ 2640 inner: { 2641 /** @prop {number} order=700 - Index used to define the order of execution */ 2642 order: 700, 2643 /** @prop {Boolean} enabled=false - Whether the modifier is enabled or not */ 2644 enabled: false, 2645 /** @prop {ModifierFn} */ 2646 fn: inner 2647 }, 2648 2649 /** 2650 * Modifier used to hide the popper when its reference element is outside of the 2651 * popper boundaries. It will set a `x-out-of-boundaries` attribute which can 2652 * be used to hide with a CSS selector the popper when its reference is 2653 * out of boundaries. 2654 * 2655 * Requires the `preventOverflow` modifier before it in order to work. 2656 * @memberof modifiers 2657 * @inner 2658 */ 2659 hide: { 2660 /** @prop {number} order=800 - Index used to define the order of execution */ 2661 order: 800, 2662 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2663 enabled: true, 2664 /** @prop {ModifierFn} */ 2665 fn: hide 2666 }, 2667 2668 /** 2669 * Computes the style that will be applied to the popper element to gets 2670 * properly positioned. 2671 * 2672 * Note that this modifier will not touch the DOM, it just prepares the styles 2673 * so that `applyStyle` modifier can apply it. This separation is useful 2674 * in case you need to replace `applyStyle` with a custom implementation. 2675 * 2676 * This modifier has `850` as `order` value to maintain backward compatibility 2677 * with previous versions of Popper.js. Expect the modifiers ordering method 2678 * to change in future major versions of the library. 2679 * 2680 * @memberof modifiers 2681 * @inner 2682 */ 2683 computeStyle: { 2684 /** @prop {number} order=850 - Index used to define the order of execution */ 2685 order: 850, 2686 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2687 enabled: true, 2688 /** @prop {ModifierFn} */ 2689 fn: computeStyle, 2690 /** 2691 * @prop {Boolean} gpuAcceleration=true 2692 * If true, it uses the CSS 3d transformation to position the popper. 2693 * Otherwise, it will use the `top` and `left` properties. 2694 */ 2695 gpuAcceleration: true, 2696 /** 2697 * @prop {string} [x='bottom'] 2698 * Where to anchor the X axis (`bottom` or `top`). AKA X offset origin. 2699 * Change this if your popper should grow in a direction different from `bottom` 2700 */ 2701 x: 'bottom', 2702 /** 2703 * @prop {string} [x='left'] 2704 * Where to anchor the Y axis (`left` or `right`). AKA Y offset origin. 2705 * Change this if your popper should grow in a direction different from `right` 2706 */ 2707 y: 'right' 2708 }, 2709 2710 /** 2711 * Applies the computed styles to the popper element. 2712 * 2713 * All the DOM manipulations are limited to this modifier. This is useful in case 2714 * you want to integrate Popper.js inside a framework or view library and you 2715 * want to delegate all the DOM manipulations to it. 2716 * 2717 * Note that if you disable this modifier, you must make sure the popper element 2718 * has its position set to `absolute` before Popper.js can do its work! 2719 * 2720 * Just disable this modifier and define you own to achieve the desired effect. 2721 * 2722 * @memberof modifiers 2723 * @inner 2724 */ 2725 applyStyle: { 2726 /** @prop {number} order=900 - Index used to define the order of execution */ 2727 order: 900, 2728 /** @prop {Boolean} enabled=true - Whether the modifier is enabled or not */ 2729 enabled: true, 2730 /** @prop {ModifierFn} */
vendor: 4,779 bytes, lines 2731-2863
2731 fn: applyStyle, 2732 /** @prop {Function} */ 2733 onLoad: applyStyleOnLoad, 2734 /** 2735 * @deprecated since version 1.10.0, the property moved to `computeStyle` modifier 2736 * @prop {Boolean} gpuAcceleration=true 2737 * If true, it uses the CSS 3d transformation to position the popper. 2738 * Otherwise, it will use the `top` and `left` properties. 2739 */ 2740 gpuAcceleration: undefined 2741 } 2742}; 2743 2744/** 2745 * The `dataObject` is an object containing all the informations used by Popper.js 2746 * this object get passed to modifiers and to the `onCreate` and `onUpdate` callbacks. 2747 * @name dataObject 2748 * @property {Object} data.instance The Popper.js instance 2749 * @property {String} data.placement Placement applied to popper 2750 * @property {String} data.originalPlacement Placement originally defined on init 2751 * @property {Boolean} data.flipped True if popper has been flipped by flip modifier 2752 * @property {Boolean} data.hide True if the reference element is out of boundaries, useful to know when to hide the popper. 2753 * @property {HTMLElement} data.arrowElement Node used as arrow by arrow modifier 2754 * @property {Object} data.styles Any CSS property defined here will be applied to the popper, it expects the JavaScript nomenclature (eg. `marginBottom`) 2755 * @property {Object} data.arrowStyles Any CSS property defined here will be applied to the popper arrow, it expects the JavaScript nomenclature (eg. `marginBottom`) 2756 * @property {Object} data.boundaries Offsets of the popper boundaries 2757 * @property {Object} data.offsets The measurements of popper, reference and arrow elements. 2758 * @property {Object} data.offsets.popper `top`, `left`, `width`, `height` values 2759 * @property {Object} data.offsets.reference `top`, `left`, `width`, `height` values 2760 * @property {Object} data.offsets.arrow] `top` and `left` offsets, only one of them will be different from 0 2761 */ 2762 2763/** 2764 * Default options provided to Popper.js constructor.<br /> 2765 * These can be overriden using the `options` argument of Popper.js.<br /> 2766 * To override an option, simply pass as 3rd argument an object with the same 2767 * structure of this object, example: 2768 * ``` 2769 * new Popper(ref, pop, { 2770 * modifiers: { 2771 * preventOverflow: { enabled: false } 2772 * } 2773 * }) 2774 * ``` 2775 * @type {Object} 2776 * @static 2777 * @memberof Popper 2778 */ 2779var Defaults = { 2780 /** 2781 * Popper's placement 2782 * @prop {Popper.placements} placement='bottom' 2783 */ 2784 placement: 'bottom', 2785 2786 /** 2787 * Whether events (resize, scroll) are initially enabled 2788 * @prop {Boolean} eventsEnabled=true 2789 */ 2790 eventsEnabled: true, 2791 2792 /** 2793 * Set to true if you want to automatically remove the popper when 2794 * you call the `destroy` method. 2795 * @prop {Boolean} removeOnDestroy=false 2796 */ 2797 removeOnDestroy: false, 2798 2799 /** 2800 * Callback called when the popper is created.<br /> 2801 * By default, is set to no-op.<br /> 2802 * Access Popper.js instance with `data.instance`. 2803 * @prop {onCreate} 2804 */ 2805 onCreate: function onCreate() {}, 2806 2807 /** 2808 * Callback called when the popper is updated, this callback is not called 2809 * on the initialization/creation of the popper, but only on subsequent 2810 * updates.<br /> 2811 * By default, is set to no-op.<br /> 2812 * Access Popper.js instance with `data.instance`. 2813 * @prop {onUpdate} 2814 */ 2815 onUpdate: function onUpdate() {}, 2816 2817 /** 2818 * List of modifiers used to modify the offsets before they are applied to the popper. 2819 * They provide most of the functionalities of Popper.js 2820 * @prop {modifiers} 2821 */ 2822 modifiers: modifiers 2823}; 2824 2825/** 2826 * @callback onCreate 2827 * @param {dataObject} data 2828 */ 2829 2830/** 2831 * @callback onUpdate 2832 * @param {dataObject} data 2833 */ 2834 2835// Utils 2836// Methods 2837var Popper = function () { 2838 /** 2839 * Create a new Popper.js instance 2840 * @class Popper 2841 * @param {HTMLElement|referenceObject} reference - The reference element used to position the popper 2842 * @param {HTMLElement} popper - The HTML element used as popper. 2843 * @param {Object} options - Your custom options to override the ones defined in [Defaults](#defaults) 2844 * @return {Object} instance - The generated Popper.js instance 2845 */ 2846 function Popper(reference, popper) { 2847 var _this = this; 2848 2849 var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {}; 2850 classCallCheck(this, Popper); 2851 2852 this.scheduleUpdate = function () { 2853 return requestAnimationFrame(_this.update); 2854 }; 2855 2856 // make update() debounced, so that it only runs at most once-per-tick 2857 this.update = debounce(this.update.bind(this)); 2858 2859 // with {} we create a new object with the options inside it 2860 this.options = _extends({}, Popper.Defaults, options); 2861 2862 // init state 2863 this.state = {
2864 isDestroyed: false, 2865 isCreated: false, 2866 scrollParents: [] 2867 }; 2868 2869 // get reference and popper elements (allow jQuery wrappers) 2870 this.reference = reference.jquery ? reference[0] : reference; 2871 this.popper = popper.jquery ? popper[0] : popper; 2872 2873 // Deep merge modifiers options 2874 this.options.modifiers = {}; 2875 Object.keys(_extends({}, Popper.Defaults.modifiers, options.modifiers)).forEach(function (name) { 2876 _this.options.modifiers[name] = _extends({}, Popper.Defaults.modifiers[name] || {}, options.modifiers ? options.modifiers[name] : {}); 2877 }); 2878 2879 // Refactoring modifiers' list (Object => Array) 2880 this.modifiers = Object.keys(this.options.modifiers).map(function (name) { 2881 return _extends({ 2882 name: name 2883 }, _this.options.modifiers[name]); 2884 }) 2885 // sort the modifiers by order 2886 .sort(function (a, b) { 2887 return a.order - b.order; 2888 }); 2889 2890 // modifiers have the ability to execute arbitrary code when Popper.js get inited 2891 // such code is executed in the same order of its modifier 2892 // they could add new properties to their options configuration 2893 // BE AWARE: don't add options to `options.modifiers.name` but to `modifierOptions`! 2894 this.modifiers.forEach(function (modifierOptions) { 2895 if (modifierOptions.enabled && isFunction(modifierOptions.onLoad)) { 2896 modifierOptions.onLoad(_this.reference, _this.popper, _this.options, modifierOptions, _this.state); 2897 } 2898 }); 2899 2900 // fire the first update to position the popper in the right place 2901 this.update(); 2902 2903 var eventsEnabled = this.options.eventsEnabled; 2904 if (eventsEnabled) { 2905 // setup event listeners, they will take care of update the position in specific situations 2906 this.enableEventListeners(); 2907 } 2908 2909 this.state.eventsEnabled = eventsEnabled; 2910 } 2911 2912 // We can't use class properties because they don't get listed in the 2913 // class prototype and break stuff like Sinon stubs 2914 2915 2916 createClass(Popper, [{ 2917 key: 'update', 2918 value: function update$$1() { 2919 return update.call(this); 2920 } 2921 }, { 2922 key: 'destroy', 2923 value: function destroy$$1() { 2924 return destroy.call(this); 2925 } 2926 }, { 2927 key: 'enableEventListeners', 2928 value: function enableEventListeners$$1() { 2929 return enableEventListeners.call(this); 2930 } 2931 }, { 2932 key: 'disableEventListeners', 2933 value: function disableEventListeners$$1() { 2934 return disableEventListeners.call(this); 2935 } 2936 2937 /** 2938 * Schedule an update, it will run on the next UI update available 2939 * @method scheduleUpdate 2940 * @memberof Popper 2941 */ 2942 2943 2944 /** 2945 * Collection of utilities useful when writing custom modifiers. 2946 * Starting from version 1.7, this method is available only if you 2947 * include `popper-utils.js` before `popper.js`. 2948 * 2949 * **DEPRECATION**: This way to access PopperUtils is deprecated 2950 * and will be removed in v2! Use the PopperUtils module directly instead. 2951 * Due to the high instability of the methods contained in Utils, we can't 2952 * guarantee them to follow semver. Use them at your own risk! 2953 * @static 2954 * @private 2955 * @type {Object} 2956 * @deprecated since version 1.8 2957 * @member Utils 2958 * @memberof Popper 2959 */ 2960 2961 }]); 2962 return Popper; 2963}(); 2964 2965/** 2966 * The `referenceObject` is an object that provides an interface compatible with Popper.js 2967 * and lets you use it as replacement of a real DOM node.<br /> 2968 * You can use this method to position a popper relatively to a set of coordinates 2969 * in case you don't have a DOM node to use as reference. 2970 * 2971 * ``` 2972 * new Popper(referenceObject, popperNode); 2973 * ``` 2974 * 2975 * NB: This feature isn't supported in Internet Explorer 10 2976 * @name referenceObject 2977 * @property {Function} data.getBoundingClientRect 2978 * A function that returns a set of coordinates compatible with the native `getBoundingClientRect` method. 2979 * @property {number} data.clientWidth 2980 * An ES6 getter that will return the width of the virtual reference element. 2981 * @property {number} data.clientHeight 2982 * An ES6 getter that will return the height of the virtual reference element. 2983 */ 2984 2985 2986Popper.Utils = (typeof window !== 'undefined' ? window : global).PopperUtils; 2987Popper.placements = placements; 2988Popper.Defaults = Defaults; 2989 2990return Popper; 2991 2992}))); 2993//# sourceMappingURL=popper.js.map 2994 2995/*! 2996 * Bootstrap v4.0.0-beta (https://getbootstrap.com) 2997 * Copyright 2011-2017 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) 2998 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 2999 */ 3000 3001if (typeof jQuery === 'undefined') { 3002 throw new Error('Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Bootstrap\'s JavaScript.') 3003} 3004 3005(function ($) { 3006 var version = $.fn.jquery.split(' ')[0].split('.') 3007 if ((version[0] < 2 && version[1] < 9) || (version[0] == 1 && version[1] == 9 && version[2] < 1) || (version[0] >= 4)) { 3008 throw new Error('Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0') 3009 } 3010})(jQuery); 3011 3012(function () { 3013var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; 3014 3015var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }(); 3016 3017function _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; } 3018 3019function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { c
3019onstructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } 3020 3021function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } } 3022 3023/** 3024 * -------------------------------------------------------------------------- 3025 * Bootstrap (v4.0.0-beta): util.js 3026 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 3027 * -------------------------------------------------------------------------- 3028 */ 3029 3030var Util = function ($) { 3031 3032 /** 3033 * ------------------------------------------------------------------------ 3034 * Private TransitionEnd Helpers 3035 * ------------------------------------------------------------------------ 3036 */ 3037 3038 var transition = false; 3039 3040 var MAX_UID = 1000000; 3041 3042 var TransitionEndEvent = { 3043 WebkitTransition: 'webkitTransitionEnd', 3044 MozTransition: 'transitionend', 3045 OTransition: 'oTransitionEnd otransitionend', 3046 transition: 'transitionend' 3047 3048 // shoutout AngusCroll (https://goo.gl/pxwQGp) 3049 };function toType(obj) { 3050 return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); 3051 } 3052 3053 function isElement(obj) { 3054 return (obj[0] || obj).nodeType; 3055 } 3056 3057 function getSpecialTransitionEndEvent() { 3058 return { 3059 bindType: transition.end, 3060 delegateType: transition.end, 3061 handle: function handle(event) { 3062 if ($(event.target).is(this)) { 3063 return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params 3064 } 3065 return undefined; 3066 } 3067 }; 3068 } 3069 3070 function transitionEndTest() { 3071 if (window.QUnit) { 3072 return false; 3073 } 3074 3075 var el = document.createElement('bootstrap'); 3076 3077 for (var name in TransitionEndEvent) { 3078 if (el.style[name] !== undefined) { 3079 return { 3080 end: TransitionEndEvent[name] 3081 }; 3082 } 3083 } 3084 3085 return false; 3086 } 3087 3088 function transitionEndEmulator(duration) { 3089 var _this = this; 3090 3091 var called = false; 3092 3093 $(this).one(Util.TRANSITION_END, function () { 3094 called = true; 3095 }); 3096 3097 setTimeout(function () { 3098 if (!called) { 3099 Util.triggerTransitionEnd(_this); 3100 } 3101 }, duration); 3102 3103 return this; 3104 } 3105 3106 function setTransitionEndSupport() { 3107 transition = transitionEndTest(); 3108 3109 $.fn.emulateTransitionEnd = transitionEndEmulator; 3110 3111 if (Util.supportsTransitionEnd()) { 3112 $.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); 3113 } 3114 } 3115 3116 /** 3117 * -------------------------------------------------------------------------- 3118 * Public Util Api 3119 * -------------------------------------------------------------------------- 3120 */ 3121 3122 var Util = { 3123 3124 TRANSITION_END: 'bsTransitionEnd', 3125 3126 getUID: function getUID(prefix) { 3127 do { 3128 // eslint-disable-next-line no-bitwise 3129 prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here 3130 } while (document.getElementById(prefix)); 3131 return prefix; 3132 }, 3133 getSelectorFromElement: function getSelectorFromElement(element) { 3134 var selector = element.getAttribute('data-target'); 3135 if (!selector || selector === '#') { 3136 selector = element.getAttribute('href') || ''; 3137 } 3138 3139 try { 3140 var $selector = $(selector); 3141 return $selector.length > 0 ? selector : null; 3142 } catch (error) { 3143 return null; 3144 } 3145 }, 3146 reflow: function reflow(element) { 3147 return element.offsetHeight; 3148 }, 3149 triggerTransitionEnd: function triggerTransitionEnd(element) { 3150 $(element).trigger(transition.end); 3151 }, 3152 supportsTransitionEnd: function supportsTransitionEnd() { 3153 return Boolean(transition); 3154 }, 3155 typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { 3156 for (var property in configTypes) { 3157 if (configTypes.hasOwnProperty(property)) { 3158 var expectedTypes = configTypes[property]; 3159 var value = config[property]; 3160 var valueType = value && isElement(value) ? 'element' : toType(value); 3161 3162 if (!new RegExp(expectedTypes).test(valueType)) { 3163 throw new Error(componentName.toUpperCase() + ': ' + ('Option "' + property + '" provided type "' + valueType + '" ') + ('but expected type "' + expectedTypes + '".')); 3164 } 3165 } 3166 } 3167 } 3168 }; 3169 3170 setTransitionEndSupport(); 3171 3172 return Util; 3173}(jQuery); 3174 3175/** 3176 * -------------------------------------------------------------------------- 3177 * Bootstrap (v4.0.0-beta): alert.js 3178 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 3179 * -------------------------------------------------------------------------- 3180 */ 3181 3182var Alert = function ($) { 3183 3184 /** 3185 * ------------------------------------------------------------------------ 3186 * Constants 3187 * ------------------------------------------------------------------------ 3188 */ 3189 3190 var NAME = 'alert'; 3191 var VERSION = '4.0.0-beta'; 3192 var DATA_KEY = 'bs.alert'; 3193 var EVENT_KEY = '.' + DATA_KEY; 3194 var DATA_API_KEY = '.data-api'; 3195 var JQUERY_NO_CONFLICT = $.fn[NAME]; 3196 var TRANSITION_DURATION = 150; 3197 3198 var Selector = { 3199 DISMISS: '[data-dismiss="alert"]' 3200 }; 3201 3202 var Event = { 3203 CLOSE: 'close' + EVENT_KEY, 3204 CLOSED: 'closed' + EVENT_KEY, 3205 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 3206 }; 3207 3208 var ClassName = { 3209 ALERT: 'alert', 3210 FADE: 'fade', 3211 SHOW: 'show' 3212 3213 /** 3214 * ------------------------------------------------------------------------ 3215 * Class Definition 3216 * ------------------------------------------------------------------------ 3217 */ 3218 3219 }; 3220 var Alert = function () { 3221 function Alert(element) { 3222 _classCallCheck(this, Alert); 3223 3224 this._element = element; 3225 } 3226 3227 // getters 3228 3229 // public 3230 3231 Alert.prototype.close = function close(element) { 3232 element = element || this._element; 3233 3234 var rootElement = this._getRootElement(element); 3235 var customEvent = this._triggerCloseEvent(rootElement); 3236 3237 if (customEvent.isDefaultPrevented()) { 3238 return; 3239 } 3240 3241 this._removeElement(rootElement); 3242 }; 3243 3244 Alert.prototype.dispose = function dispose() { 3245 $.removeData(this._element, DATA_KEY); 3246 this._element = null; 3247 }; 3248 3249 // private 3250 3251 Alert.prototype._getRootElement = function _getRootElement(element) { 3252 var selector = Util.getSelectorFromElement(element); 3253 var parent = false; 3254 3255 if (selector) { 3256 parent = $(selector)[0]; 3257 } 3258 3259 if (!parent) { 3260 parent = $(element).closest('.' + ClassName.ALERT)[0]; 3261 } 3262 3263 return parent; 3264 }; 3265 3266 Alert.prototype._triggerCloseEvent = function _triggerCloseEvent(element) { 3267 var closeEvent = $.Event(Event.CLOSE); 3268 3269 $(element).trigger(closeEvent); 3270 return closeEvent; 3271 }; 3272 3273 Alert.prototype._removeElement = function _removeElement(element) { 3274 var _this2 = this; 3275 3276 $(element).removeClass(ClassName.SHOW); 3277 3278 if (!Util.supportsTransitionEnd() || !$(element).hasClass(ClassName.FADE)) { 3279 this._destroyElement(element); 3280 return; 3281 } 3282 3283 $(element).one(Util.TRANSITION_END, function (event) { 3284 return _this2._destroyElement(element, event); 3285 }).emulateTransitionEnd(TRANSITION_DURATION); 3286 }; 3287 3288 Alert.prototype._destroyElement = function _destroyElement(element) { 3289 $(element).detach().trigger(Event.CLOSED).remove(); 3290 }; 3291 3292 // static 3293 3294 Alert._jQueryInterface = function _jQueryInterface(config) { 3295 return this.each(function () { 3296 var $element = $(this); 3297 var data = $element.data(DATA_KEY); 3298 3299 if (!data) { 3300 data = new Alert(this); 3301 $element.data(DATA_KEY, data); 3302 } 3303 3304 if (config === 'close') { 3305 data[config](this); 3306 } 3307 }); 3308 }; 3309 3310 Alert._handleDismiss = function _handleDismiss(alertInstance) { 3311 return function (event) { 3312 if (event) { 3313 event.preventDefault(); 3314 } 3315 3316 alertInstance.close(this); 3317 }; 3318 }; 3319 3320 _createClass(Alert, null, [{ 3321 key: 'VERSION', 3322 get: function get() { 3323 return VERSION; 3324 } 3325 }]); 3326 3327 return Alert; 3328 }(); 3329 3330 /** 3331 * ------------------------------------------------------------------------ 3332 * Data Api implementation 3333 * ------------------------------------------------------------------------ 3334 */ 3335 3336 $(document).on(Event.CLICK_DATA_API, Selector.DISMISS, Alert._handleDismiss(new Alert())); 3337 3338 /** 3339 * ------------------------------------------------------------------------ 3340 * jQuery 3341 * ------------------------------------------------------------------------ 3342 */ 3343 3344 $.fn[NAME] = Alert._jQueryInterface; 3345 $.fn[NAME].Constructor = Alert; 3346 $.fn[NAME].noConflict = function () { 3347 $.fn[NAME] = JQUERY_NO_CONFLICT; 3348 return Alert._jQueryInterface; 3349 }; 3350 3351 return Alert; 3352}(jQuery); 3353 3354/** 3355 * -------------------------------------------------------------------------- 3356 * Bootstrap (v4.0.0-beta): button.js 3357 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 3358 * -------------------------------------------------------------------------- 3359 */ 3360 3361var Button = function ($) { 3362 3363 /** 3364 * ------------------------------------------------------------------------ 3365 * Constants 3366 * ------------------------------------------------------------------------ 3367 */ 3368 3369 var NAME = 'button'; 3370 var VERSION = '4.0.0-beta'; 3371 var DATA_KEY = 'bs.button'; 3372 var EVENT_KEY = '.' + DATA_KEY; 3373 var DATA_API_KEY = '.data-api'; 3374 var JQUERY_NO_CONFLICT = $.fn[NAME]; 3375 3376 var ClassName = { 3377 ACTIVE: 'active', 3378 BUTTON: 'btn', 3379 FOCUS: 'focus' 3380 }; 3381 3382 var Selector = { 3383 DATA_TOGGLE_CARROT: '[data-toggle^="button"]', 3384 DATA_TOGGLE: '[data-toggle="buttons"]', 3385 INPUT: 'input', 3386 ACTIVE: '.active', 3387 BUTTON: '.btn' 3388 }; 3389 3390 var Event = { 3391 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY, 3392 FOCUS_BLUR_DATA_API: 'focus' + EVENT_KEY + DATA_API_KEY + ' ' + ('blur' + EVENT_KEY + DATA_API_KEY) 3393 3394 /** 3395 * ------------------------------------------------------------------------ 3396 * Class Definition 3397 * ------------------------------------------------------------------------ 3398 */ 3399 3400 }; 3401 var Button = function () { 3402 function Button(element) { 3403 _classCallCheck(this, Button); 3404 3405 this._element = element; 3406 } 3407 3408 // getters 3409 3410 // public 3411
vendor: 5,543 bytes, lines 3412-3600
3412 Button.prototype.toggle = function toggle() { 3413 var triggerChangeEvent = true; 3414 var addAriaPressed = true; 3415 var rootElement = $(this._element).closest(Selector.DATA_TOGGLE)[0]; 3416 3417 if (rootElement) { 3418 var input = $(this._element).find(Selector.INPUT)[0]; 3419 3420 if (input) { 3421 if (input.type === 'radio') { 3422 if (input.checked && $(this._element).hasClass(ClassName.ACTIVE)) { 3423 triggerChangeEvent = false; 3424 } else { 3425 var activeElement = $(rootElement).find(Selector.ACTIVE)[0]; 3426 3427 if (activeElement) { 3428 $(activeElement).removeClass(ClassName.ACTIVE); 3429 } 3430 } 3431 } 3432 3433 if (triggerChangeEvent) { 3434 if (input.hasAttribute('disabled') || rootElement.hasAttribute('disabled') || input.classList.contains('disabled') || rootElement.classList.contains('disabled')) { 3435 return; 3436 } 3437 input.checked = !$(this._element).hasClass(ClassName.ACTIVE); 3438 $(input).trigger('change'); 3439 } 3440 3441 input.focus(); 3442 addAriaPressed = false; 3443 } 3444 } 3445 3446 if (addAriaPressed) { 3447 this._element.setAttribute('aria-pressed', !$(this._element).hasClass(ClassName.ACTIVE)); 3448 } 3449 3450 if (triggerChangeEvent) { 3451 $(this._element).toggleClass(ClassName.ACTIVE); 3452 } 3453 }; 3454 3455 Button.prototype.dispose = function dispose() { 3456 $.removeData(this._element, DATA_KEY); 3457 this._element = null; 3458 }; 3459 3460 // static 3461 3462 Button._jQueryInterface = function _jQueryInterface(config) { 3463 return this.each(function () { 3464 var data = $(this).data(DATA_KEY); 3465 3466 if (!data) { 3467 data = new Button(this); 3468 $(this).data(DATA_KEY, data); 3469 } 3470 3471 if (config === 'toggle') { 3472 data[config](); 3473 } 3474 }); 3475 }; 3476 3477 _createClass(Button, null, [{ 3478 key: 'VERSION', 3479 get: function get() { 3480 return VERSION; 3481 } 3482 }]); 3483 3484 return Button; 3485 }(); 3486 3487 /** 3488 * ------------------------------------------------------------------------ 3489 * Data Api implementation 3490 * ------------------------------------------------------------------------ 3491 */ 3492 3493 $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { 3494 event.preventDefault(); 3495 3496 var button = event.target; 3497 3498 if (!$(button).hasClass(ClassName.BUTTON)) { 3499 button = $(button).closest(Selector.BUTTON); 3500 } 3501 3502 Button._jQueryInterface.call($(button), 'toggle'); 3503 }).on(Event.FOCUS_BLUR_DATA_API, Selector.DATA_TOGGLE_CARROT, function (event) { 3504 var button = $(event.target).closest(Selector.BUTTON)[0]; 3505 $(button).toggleClass(ClassName.FOCUS, /^focus(in)?$/.test(event.type)); 3506 }); 3507 3508 /** 3509 * ------------------------------------------------------------------------ 3510 * jQuery 3511 * ------------------------------------------------------------------------ 3512 */ 3513 3514 $.fn[NAME] = Button._jQueryInterface; 3515 $.fn[NAME].Constructor = Button; 3516 $.fn[NAME].noConflict = function () { 3517 $.fn[NAME] = JQUERY_NO_CONFLICT; 3518 return Button._jQueryInterface; 3519 }; 3520 3521 return Button; 3522}(jQuery); 3523 3524/** 3525 * -------------------------------------------------------------------------- 3526 * Bootstrap (v4.0.0-beta): carousel.js 3527 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 3528 * -------------------------------------------------------------------------- 3529 */ 3530 3531var Carousel = function ($) { 3532 3533 /** 3534 * ------------------------------------------------------------------------ 3535 * Constants 3536 * ------------------------------------------------------------------------ 3537 */ 3538 3539 var NAME = 'carousel'; 3540 var VERSION = '4.0.0-beta'; 3541 var DATA_KEY = 'bs.carousel'; 3542 var EVENT_KEY = '.' + DATA_KEY; 3543 var DATA_API_KEY = '.data-api'; 3544 var JQUERY_NO_CONFLICT = $.fn[NAME]; 3545 var TRANSITION_DURATION = 600; 3546 var ARROW_LEFT_KEYCODE = 37; // KeyboardEvent.which value for left arrow key 3547 var ARROW_RIGHT_KEYCODE = 39; // KeyboardEvent.which value for right arrow key 3548 var TOUCHEVENT_COMPAT_WAIT = 500; // Time for mouse compat events to fire after touch 3549 3550 var Default = { 3551 interval: 5000, 3552 keyboard: true, 3553 slide: false, 3554 pause: 'hover', 3555 wrap: true 3556 }; 3557 3558 var DefaultType = { 3559 interval: '(number|boolean)', 3560 keyboard: 'boolean', 3561 slide: '(boolean|string)', 3562 pause: '(string|boolean)', 3563 wrap: 'boolean' 3564 }; 3565 3566 var Direction = { 3567 NEXT: 'next', 3568 PREV: 'prev', 3569 LEFT: 'left', 3570 RIGHT: 'right' 3571 }; 3572 3573 var Event = { 3574 SLIDE: 'slide' + EVENT_KEY, 3575 SLID: 'slid' + EVENT_KEY, 3576 KEYDOWN: 'keydown' + EVENT_KEY, 3577 MOUSEENTER: 'mouseenter' + EVENT_KEY, 3578 MOUSELEAVE: 'mouseleave' + EVENT_KEY, 3579 TOUCHEND: 'touchend' + EVENT_KEY, 3580 LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY, 3581 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 3582 }; 3583 3584 var ClassName = { 3585 CAROUSEL: 'carousel', 3586 ACTIVE: 'active', 3587 SLIDE: 'slide', 3588 RIGHT: 'carousel-item-right', 3589 LEFT: 'carousel-item-left', 3590 NEXT: 'carousel-item-next', 3591 PREV: 'carousel-item-prev', 3592 ITEM: 'carousel-item' 3593 }; 3594 3595 var Selector = { 3596 ACTIVE: '.active', 3597 ACTIVE_ITEM: '.active.carousel-item', 3598 ITEM: '.carousel-item', 3599 NEXT_PREV: '.carousel-item-next, .carousel-item-prev', 3600 INDICATORS: '.carousel-indicators',
3601 DATA_SLIDE: '[data-slide], [data-slide-to]', 3602 DATA_RIDE: '[data-ride="carousel"]' 3603 3604 /** 3605 * ------------------------------------------------------------------------ 3606 * Class Definition 3607 * ------------------------------------------------------------------------ 3608 */ 3609 3610 }; 3611 var Carousel = function () { 3612 function Carousel(element, config) { 3613 _classCallCheck(this, Carousel); 3614 3615 this._items = null; 3616 this._interval = null; 3617 this._activeElement = null; 3618 3619 this._isPaused = false; 3620 this._isSliding = false; 3621 3622 this.touchTimeout = null; 3623 3624 this._config = this._getConfig(config); 3625 this._element = $(element)[0]; 3626 this._indicatorsElement = $(this._element).find(Selector.INDICATORS)[0]; 3627 3628 this._addEventListeners(); 3629 } 3630 3631 // getters 3632 3633 // public 3634 3635 Carousel.prototype.next = function next() { 3636 if (!this._isSliding) { 3637 this._slide(Direction.NEXT); 3638 } 3639 }; 3640 3641 Carousel.prototype.nextWhenVisible = function nextWhenVisible() { 3642 // Don't call next when the page isn't visible 3643 if (!document.hidden) { 3644 this.next(); 3645 } 3646 }; 3647 3648 Carousel.prototype.prev = function prev() { 3649 if (!this._isSliding) { 3650 this._slide(Direction.PREV); 3651 } 3652 }; 3653 3654 Carousel.prototype.pause = function pause(event) { 3655 if (!event) { 3656 this._isPaused = true; 3657 } 3658 3659 if ($(this._element).find(Selector.NEXT_PREV)[0] && Util.supportsTransitionEnd()) { 3660 Util.triggerTransitionEnd(this._element); 3661 this.cycle(true); 3662 } 3663 3664 clearInterval(this._interval); 3665 this._interval = null; 3666 }; 3667 3668 Carousel.prototype.cycle = function cycle(event) { 3669 if (!event) { 3670 this._isPaused = false; 3671 } 3672 3673 if (this._interval) { 3674 clearInterval(this._interval); 3675 this._interval = null; 3676 } 3677 3678 if (this._config.interval && !this._isPaused) { 3679 this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval); 3680 } 3681 }; 3682 3683 Carousel.prototype.to = function to(index) { 3684 var _this3 = this; 3685 3686 this._activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0]; 3687 3688 var activeIndex = this._getItemIndex(this._activeElement); 3689 3690 if (index > this._items.length - 1 || index < 0) { 3691 return; 3692 } 3693 3694 if (this._isSliding) { 3695 $(this._element).one(Event.SLID, function () { 3696 return _this3.to(index); 3697 }); 3698 return; 3699 } 3700 3701 if (activeIndex === index) { 3702 this.pause(); 3703 this.cycle(); 3704 return; 3705 } 3706 3707 var direction = index > activeIndex ? Direction.NEXT : Direction.PREV; 3708 3709 this._slide(direction, this._items[index]); 3710 }; 3711 3712 Carousel.prototype.dispose = function dispose() { 3713 $(this._element).off(EVENT_KEY); 3714 $.removeData(this._element, DATA_KEY); 3715 3716 this._items = null; 3717 this._config = null; 3718 this._element = null; 3719 this._interval = null; 3720 this._isPaused = null; 3721 this._isSliding = null; 3722 this._activeElement = null; 3723 this._indicatorsElement = null; 3724 }; 3725 3726 // private 3727 3728 Carousel.prototype._getConfig = function _getConfig(config) { 3729 config = $.extend({}, Default, config); 3730 Util.typeCheckConfig(NAME, config, DefaultType); 3731 return config; 3732 }; 3733 3734 Carousel.prototype._addEventListeners = function _addEventListeners() { 3735 var _this4 = this; 3736 3737 if (this._config.keyboard) { 3738 $(this._element).on(Event.KEYDOWN, function (event) { 3739 return _this4._keydown(event); 3740 }); 3741 } 3742 3743 if (this._config.pause === 'hover') { 3744 $(this._element).on(Event.MOUSEENTER, function (event) { 3745 return _this4.pause(event); 3746 }).on(Event.MOUSELEAVE, function (event) { 3747 return _this4.cycle(event); 3748 }); 3749 if ('ontouchstart' in document.documentElement) {
3750 // if it's a touch-enabled device, mouseenter/leave are fired as 3751 // part of the mouse compatibility events on first tap - the carousel 3752 // would stop cycling until user tapped out of it; 3753 // here, we listen for touchend, explicitly pause the carousel 3754 // (as if it's the second time we tap on it, mouseenter compat event 3755 // is NOT fired) and after a timeout (to allow for mouse compatibility 3756 // events to fire) we explicitly restart cycling 3757 $(this._element).on(Event.TOUCHEND, function () { 3758 _this4.pause(); 3759 if (_this4.touchTimeout) { 3760 clearTimeout(_this4.touchTimeout); 3761 } 3762 _this4.touchTimeout = setTimeout(function (event) { 3763 return _this4.cycle(event); 3764 }, TOUCHEVENT_COMPAT_WAIT + _this4._config.interval); 3765 }); 3766 } 3767 } 3768 }; 3769 3770 Carousel.prototype._keydown = function _keydown(event) { 3771 if (/input|textarea/i.test(event.target.tagName)) { 3772 return; 3773 } 3774 3775 switch (event.which) { 3776 case ARROW_LEFT_KEYCODE: 3777 event.preventDefault(); 3778 this.prev(); 3779 break; 3780 case ARROW_RIGHT_KEYCODE: 3781 event.preventDefault(); 3782 this.next(); 3783 break; 3784 default: 3785 return; 3786 } 3787 }; 3788 3789 Carousel.prototype._getItemIndex = function _getItemIndex(element) { 3790 this._items = $.makeArray($(element).parent().find(Selector.ITEM)); 3791 return this._items.indexOf(element); 3792 }; 3793 3794 Carousel.prototype._getItemByDirection = function _getItemByDirection(direction, activeElement) { 3795 var isNextDirection = direction === Direction.NEXT; 3796 var isPrevDirection = direction === Direction.PREV; 3797 var activeIndex = this._getItemIndex(activeElement); 3798 var lastItemIndex = this._items.length - 1; 3799 var isGoingToWrap = isPrevDirection && activeIndex === 0 || isNextDirection && activeIndex === lastItemIndex; 3800 3801 if (isGoingToWrap && !this._config.wrap) { 3802 return activeElement; 3803 } 3804 3805 var delta = direction === Direction.PREV ? -1 : 1; 3806 var itemIndex = (activeIndex + delta) % this._items.length; 3807 3808 return itemIndex === -1 ? this._items[this._items.length - 1] : this._items[itemIndex]; 3809 }; 3810 3811 Carousel.prototype._triggerSlideEvent = function _triggerSlideEvent(relatedTarget, eventDirectionName) { 3812 var targetIndex = this._getItemIndex(relatedTarget); 3813 var fromIndex = this._getItemIndex($(this._element).find(Selector.ACTIVE_ITEM)[0]); 3814 var slideEvent = $.Event(Event.SLIDE, { 3815 relatedTarget: relatedTarget, 3816 direction: eventDirectionName, 3817 from: fromIndex, 3818 to: targetIndex 3819 }); 3820 3821 $(this._element).trigger(slideEvent); 3822 3823 return slideEvent; 3824 }; 3825 3826 Carousel.prototype._setActiveIndicatorElement = function _setActiveIndicatorElement(element) { 3827 if (this._indicatorsElement) { 3828 $(this._indicatorsElement).find(Selector.ACTIVE).removeClass(ClassName.ACTIVE); 3829 3830 var nextIndicator = this._indicatorsElement.children[this._getItemIndex(element)]; 3831 3832 if (nextIndicator) { 3833 $(nextIndicator).addClass(ClassName.ACTIVE); 3834 } 3835 } 3836 }; 3837 3838 Carousel.prototype._slide = function _slide(direction, element) { 3839 var _this5 = this; 3840 3841 var activeElement = $(this._element).find(Selector.ACTIVE_ITEM)[0]; 3842 var activeElementIndex = this._getItemIndex(activeElement); 3843 var nextElement = element || activeElement && this._getItemByDirection(direction, activeElement); 3844 var nextElementIndex = this._getItemIndex(nextElement); 3845 var isCycling = Boolean(this._interval); 3846 3847 var directionalClassName = void 0; 3848 var orderClassName = void 0; 3849 var eventDirectionName = void 0; 3850 3851 if (direction === Direction.NEXT) { 3852 directionalClassName = ClassName.LEFT; 3853 orderClassName = ClassName.NEXT; 3854 eventDirectionName = Direction.LEFT; 3855 } else { 3856 directionalClassName = ClassName.RIGHT; 3857 orderClassName = ClassName.PREV; 3858 eventDirectionName = Direction.RIGHT; 3859 } 3860 3861 if (nextElement && $(nextElement).hasClass(ClassName.ACTIVE)) { 3862 this._isSliding = false; 3863 return; 3864 } 3865 3866 var slideEvent = this._triggerSlideEvent(nextElement, eventDirectionName); 3867 if (slideEvent.isDefaultPrevented()) { 3868 return; 3869 } 3870 3871 if (!activeElement || !nextElement) { 3872 // some weirdness is happening, so we bail 3873 return; 3874 } 3875 3876 this._isSliding = true; 3877 3878 if (isCycling) { 3879 this.pause(); 3880 } 3881 3882 this._setActiveIndicatorElement(nextElement); 3883 3884 var slidEvent = $.Event(Event.SLID, { 3885 relatedTarget: nextElement, 3886 direction: eventDirectionName, 3887 from: activeElementIndex, 3888 to: nextElementIndex 3889 }); 3890 3891 if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.SLIDE)) { 3892 3893 $(nextElement).addClass(orderClassName); 3894 3895 Util.reflow(nextElement); 3896 3897 $(activeElement).addClass(directionalClassName); 3898 $(nextElement).addClass(directionalClassName); 3899 3900 $(activeElement).one(Util.TRANSITION_END, function () { 3901 $(nextElement).removeClass(directionalClassName + ' ' + orderClassName).addClass(ClassName.ACTIVE); 3902 3903 $(activeElement).removeClass(ClassName.ACTIVE + ' ' + orderClassName + ' ' + directionalClassName); 3904
3905 _this5._isSliding = false; 3906 3907 setTimeout(function () { 3908 return $(_this5._element).trigger(slidEvent); 3909 }, 0); 3910 }).emulateTransitionEnd(TRANSITION_DURATION); 3911 } else { 3912 $(activeElement).removeClass(ClassName.ACTIVE); 3913 $(nextElement).addClass(ClassName.ACTIVE); 3914 3915 this._isSliding = false; 3916 $(this._element).trigger(slidEvent); 3917 } 3918 3919 if (isCycling) { 3920 this.cycle(); 3921 } 3922 }; 3923 3924 // static 3925 3926 Carousel._jQueryInterface = function _jQueryInterface(config) { 3927 return this.each(function () { 3928 var data = $(this).data(DATA_KEY); 3929 var _config = $.extend({}, Default, $(this).data()); 3930 3931 if ((typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object') { 3932 $.extend(_config, config); 3933 } 3934 3935 var action = typeof config === 'string' ? config : _config.slide; 3936 3937 if (!data) { 3938 data = new Carousel(this, _config); 3939 $(this).data(DATA_KEY, data); 3940 } 3941 3942 if (typeof config === 'number') { 3943 data.to(config); 3944 } else if (typeof action === 'string') { 3945 if (data[action] === undefined) { 3946 throw new Error('No method named "' + action + '"'); 3947 } 3948 data[action](); 3949 } else if (_config.interval) { 3950 data.pause(); 3951 data.cycle(); 3952 } 3953 }); 3954 }; 3955 3956 Carousel._dataApiClickHandler = function _dataApiClickHandler(event) { 3957 var selector = Util.getSelectorFromElement(this); 3958 3959 if (!selector) { 3960 return; 3961 } 3962 3963 var target = $(selector)[0]; 3964 3965 if (!target || !$(target).hasClass(ClassName.CAROUSEL)) { 3966 return; 3967 } 3968 3969 var config = $.extend({}, $(target).data(), $(this).data()); 3970 var slideIndex = this.getAttribute('data-slide-to'); 3971 3972 if (slideIndex) { 3973 config.interval = false; 3974 } 3975 3976 Carousel._jQueryInterface.call($(target), config); 3977 3978 if (slideIndex) { 3979 $(target).data(DATA_KEY).to(slideIndex); 3980 } 3981 3982 event.preventDefault(); 3983 }; 3984 3985 _createClass(Carousel, null, [{ 3986 key: 'VERSION', 3987 get: function get() { 3988 return VERSION; 3989 } 3990 }, { 3991 key: 'Default', 3992 get: function get() { 3993 return Default; 3994 } 3995 }]); 3996 3997 return Carousel; 3998 }(); 3999 4000 /** 4001 * ------------------------------------------------------------------------ 4002 * Data Api implementation 4003 * ------------------------------------------------------------------------ 4004 */ 4005 4006 $(document).on(Event.CLICK_DATA_API, Selector.DATA_SLIDE, Carousel._dataApiClickHandler); 4007 4008 $(window).on(Event.LOAD_DATA_API, function () { 4009 $(Selector.DATA_RIDE).each(function () { 4010 var $carousel = $(this); 4011 Carousel._jQueryInterface.call($carousel, $carousel.data()); 4012 }); 4013 }); 4014 4015 /** 4016 * ------------------------------------------------------------------------ 4017 * jQuery 4018 * ------------------------------------------------------------------------ 4019 */ 4020 4021 $.fn[NAME] = Carousel._jQueryInterface; 4022 $.fn[NAME].Constructor = Carousel; 4023 $.fn[NAME].noConflict = function () { 4024 $.fn[NAME] = JQUERY_NO_CONFLICT; 4025 return Carousel._jQueryInterface; 4026 }; 4027 4028 return Carousel; 4029}(jQuery); 4030 4031/** 4032 * -------------------------------------------------------------------------- 4033 * Bootstrap (v4.0.0-beta): collapse.js 4034 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 4035 * -------------------------------------------------------------------------- 4036 */ 4037 4038var Collapse = function ($) { 4039 4040 /** 4041 * ------------------------------------------------------------------------ 4042 * Constants 4043 * ------------------------------------------------------------------------ 4044 */ 4045 4046 var NAME = 'collapse'; 4047 var VERSION = '4.0.0-beta'; 4048 var DATA_KEY = 'bs.collapse'; 4049 var EVENT_KEY = '.' + DATA_KEY; 4050 var DATA_API_KEY = '.data-api'; 4051 var JQUERY_NO_CONFLICT = $.fn[NAME]; 4052 var TRANSITION_DURATION = 600; 4053 4054 var Default = { 4055 toggle: true, 4056 parent: '' 4057 }; 4058 4059 var DefaultType = { 4060 toggle: 'boolean', 4061 parent: 'string' 4062 }; 4063 4064 var Event = { 4065 SHOW: 'show' + EVENT_KEY, 4066 SHOWN: 'shown' + EVENT_KEY, 4067 HIDE: 'hide' + EVENT_KEY, 4068 HIDDEN: 'hidden' + EVENT_KEY, 4069 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 4070 }; 4071 4072 var ClassName = { 4073 SHOW: 'show', 4074 COLLAPSE: 'collapse', 4075 COLLAPSING: 'collapsing', 4076 COLLAPSED: 'collapsed' 4077 }; 4078 4079 var Dimension = { 4080 WIDTH: 'width', 4081 HEIGHT: 'height' 4082 }; 4083 4084 var Selector = { 4085 ACTIVES: '.show, .collapsing', 4086 DATA_TOGGLE: '[data-toggle="collapse"]' 4087 4088 /** 4089 * ------------------------------------------------------------------------ 4090 * Class Definition 4091 * ------------------------------------------------------------------------ 4092 */ 4093 4094 }; 4095 var Collapse = function () { 4096 function Collapse(element, config) { 4097 _classCallCheck(this, Collapse); 4098 4099 this._isTransitioning = false; 4100 this._element = element; 4101 this._config = this._getConfig(config); 4102 this._triggerArray = $.makeArray($('[data-toggle="collapse"][href="#' + element.i
4102d + '"],' + ('[data-toggle="collapse"][data-target="#' + element.id + '"]'))); 4103 var tabToggles = $(Selector.DATA_TOGGLE); 4104 for (var i = 0; i < tabToggles.length; i++) { 4105 var elem = tabToggles[i]; 4106 var selector = Util.getSelectorFromElement(elem); 4107 if (selector !== null && $(selector).filter(element).length > 0) { 4108 this._triggerArray.push(elem); 4109 } 4110 } 4111 4112 this._parent = this._config.parent ? this._getParent() : null; 4113 4114 if (!this._config.parent) { 4115 this._addAriaAndCollapsedClass(this._element, this._triggerArray); 4116 } 4117 4118 if (this._config.toggle) { 4119 this.toggle(); 4120 } 4121 } 4122 4123 // getters 4124 4125 // public 4126 4127 Collapse.prototype.toggle = function toggle() { 4128 if ($(this._element).hasClass(ClassName.SHOW)) { 4129 this.hide(); 4130 } else { 4131 this.show(); 4132 } 4133 }; 4134 4135 Collapse.prototype.show = function show() { 4136 var _this6 = this; 4137 4138 if (this._isTransitioning || $(this._element).hasClass(ClassName.SHOW)) { 4139 return; 4140 } 4141 4142 var actives = void 0; 4143 var activesData = void 0; 4144 4145 if (this._parent) { 4146 actives = $.makeArray($(this._parent).children().children(Selector.ACTIVES)); 4147 if (!actives.length) { 4148 actives = null; 4149 } 4150 } 4151 4152 if (actives) { 4153 activesData = $(actives).data(DATA_KEY); 4154 if (activesData && activesData._isTransitioning) { 4155 return; 4156 } 4157 } 4158 4159 var startEvent = $.Event(Event.SHOW); 4160 $(this._element).trigger(startEvent); 4161 if (startEvent.isDefaultPrevented()) { 4162 return; 4163 } 4164 4165 if (actives) { 4166 Collapse._jQueryInterface.call($(actives), 'hide'); 4167 if (!activesData) { 4168 $(actives).data(DATA_KEY, null); 4169 } 4170 } 4171 4172 var dimension = this._getDimension(); 4173 4174 $(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING); 4175 4176 this._element.style[dimension] = 0; 4177 4178 if (this._triggerArray.length) { 4179 $(this._triggerArray).removeClass(ClassName.COLLAPSED).attr('aria-expanded', true); 4180 } 4181 4182 this.setTransitioning(true); 4183 4184 var complete = function complete() { 4185 $(_this6._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW); 4186 4187 _this6._element.style[dimension] = ''; 4188 4189 _this6.setTransitioning(false); 4190 4191 $(_this6._element).trigger(Event.SHOWN); 4192 }; 4193 4194 if (!Util.supportsTransitionEnd()) { 4195 complete(); 4196 return; 4197 } 4198 4199 var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); 4200 var scrollSize = 'scroll' + capitalizedDimension; 4201 4202 $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 4203 4204 this._element.style[dimension] = this._element[scrollSize] + 'px'; 4205 }; 4206 4207 Collapse.prototype.hide = function hide() { 4208 var _this7 = this; 4209 4210 if (this._isTransitioning || !$(this._element).hasClass(ClassName.SHOW)) { 4211 return; 4212 } 4213 4214 var startEvent = $.Event(Event.HIDE); 4215 $(this._element).trigger(startEvent); 4216 if (startEvent.isDefaultPrevented()) { 4217 return; 4218 } 4219 4220 var dimension = this._getDimension(); 4221 4222 this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + 'px'; 4223 4224 Util.reflow(this._element); 4225 4226 $(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW); 4227 4228 if (this._triggerArray.length) { 4229 for (var i = 0; i < this._triggerArray.length; i++) { 4230 var trigger = this._triggerArray[i]; 4231 var selector = Util.getSelectorFromElement(trigger); 4232 if (selector !== null) { 4233 var $elem = $(selector); 4234 if (!$elem.hasClass(ClassName.SHOW)) { 4235 $(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false); 4236 } 4237 } 4238 } 4239 } 4240 4241 this.setTransitioning(true); 4242 4243 var complete = function complete() { 4244 _this7.setTransitioning(false); 4245 $(_this7._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN); 4246 }; 4247 4248 this._element.style[dimension] = ''; 4249 4250 if (!Util.supportsTransitionEnd()) { 4251 complete(); 4252 return; 4253 } 4254 4255 $(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 4256 }; 4257 4258 Collapse.prototype.setTransitioning = function setTransitioning(isTransitioning) { 4259 this._isTransitioning = isTransitioning; 4260 }; 4261 4262 Collapse.prototype.dispose = function dispose() { 4263 $.removeData(this._element, DATA_KEY); 4264 4265 this._config = null; 4266 this._parent = null; 4267 this._element = null; 4268 this._triggerArray = null; 4269 this._isTransitioning = null; 4270 }; 4271 4272 // private 4273 4274 Collapse.prototype._getConfig = function _getConfig(config) { 4275 config = $.extend({}, Default, config); 4276 config.toggle = Boolean(config.toggle); // coerce string values 4277 Util.typeCheckConfig(NAME, config, DefaultType); 4278 return config; 4279 }; 4280 4281 Collapse.prototype._getDimension = function _getDimension() { 4282 var hasWidth = $(this._element).hasClass(Dimension.WIDTH); 4283 return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT; 4284 }; 4285 4286 Collapse.prototype._getParent = function _getParent() { 4287 var _this8 = this; 4288 4289 var parent = $(this._config.parent)[0]; 4290 var selector = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]'; 4291 4292 $(parent).find(selector).each(function (i, element) { 4293 _this8._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]);
4294 }); 4295 4296 return parent; 4297 }; 4298 4299 Collapse.prototype._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) { 4300 if (element) { 4301 var isOpen = $(element).hasClass(ClassName.SHOW); 4302 4303 if (triggerArray.length) { 4304 $(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen); 4305 } 4306 } 4307 }; 4308 4309 // static 4310 4311 Collapse._getTargetFromElement = function _getTargetFromElement(element) { 4312 var selector = Util.getSelectorFromElement(element); 4313 return selector ? $(selector)[0] : null; 4314 }; 4315 4316 Collapse._jQueryInterface = function _jQueryInterface(config) { 4317 return this.each(function () { 4318 var $this = $(this); 4319 var data = $this.data(DATA_KEY); 4320 var _config = $.extend({}, Default, $this.data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config); 4321 4322 if (!data && _config.toggle && /show|hide/.test(config)) { 4323 _config.toggle = false; 4324 } 4325 4326 if (!data) { 4327 data = new Collapse(this, _config); 4328 $this.data(DATA_KEY, data); 4329 } 4330 4331 if (typeof config === 'string') { 4332 if (data[config] === undefined) { 4333 throw new Error('No method named "' + config + '"'); 4334 } 4335 data[config](); 4336 } 4337 }); 4338 }; 4339 4340 _createClass(Collapse, null, [{ 4341 key: 'VERSION', 4342 get: function get() { 4343 return VERSION; 4344 } 4345 }, { 4346 key: 'Default', 4347 get: function get() { 4348 return Default; 4349 } 4350 }]); 4351 4352 return Collapse; 4353 }(); 4354 4355 /** 4356 * ------------------------------------------------------------------------ 4357 * Data Api implementation 4358 * ------------------------------------------------------------------------ 4359 */ 4360 4361 $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 4362 if (!/input|textarea/i.test(event.target.tagName)) { 4363 event.preventDefault(); 4364 } 4365 4366 var $trigger = $(this); 4367 var selector = Util.getSelectorFromElement(this); 4368 $(selector).each(function () { 4369 var $target = $(this); 4370 var data = $target.data(DATA_KEY); 4371 var config = data ? 'toggle' : $trigger.data(); 4372 Collapse._jQueryInterface.call($target, config); 4373 }); 4374 }); 4375 4376 /** 4377 * ------------------------------------------------------------------------ 4378 * jQuery 4379 * ------------------------------------------------------------------------ 4380 */ 4381 4382 $.fn[NAME] = Collapse._jQueryInterface; 4383 $.fn[NAME].Constructor = Collapse; 4384 $.fn[NAME].noConflict = function () { 4385 $.fn[NAME] = JQUERY_NO_CONFLICT; 4386 return Collapse._jQueryInterface; 4387 }; 4388 4389 return Collapse; 4390}(jQuery); 4391 4392/* global Popper */ 4393 4394/** 4395 * -------------------------------------------------------------------------- 4396 * Bootstrap (v4.0.0-beta): dropdown.js 4397 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 4398 * -------------------------------------------------------------------------- 4399 */ 4400 4401var Dropdown = function ($) { 4402 4403 /** 4404 * Check for Popper dependency 4405 * Popper - https://popper.js.org 4406 */ 4407 if (typeof Popper === 'undefined') { 4408 throw new Error('Bootstrap dropdown require Popper.js (https://popper.js.org)'); 4409 } 4410 4411 /** 4412 * ------------------------------------------------------------------------ 4413 * Constants 4414 * ------------------------------------------------------------------------ 4415 */ 4416 4417 var NAME = 'dropdown'; 4418 var VERSION = '4.0.0-beta'; 4419 var DATA_KEY = 'bs.dropdown'; 4420 var EVENT_KEY = '.' + DATA_KEY; 4421 var DATA_API_KEY = '.data-api'; 4422 var JQUERY_NO_CONFLICT = $.fn[NAME]; 4423 var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key 4424 var SPACE_KEYCODE = 32; // KeyboardEvent.which value for space key 4425 var TAB_KEYCODE = 9; // KeyboardEvent.which value for tab key 4426 var ARROW_UP_KEYCODE = 38; // KeyboardEvent.which value for up arrow key 4427 var ARROW_DOWN_KEYCODE = 40; // KeyboardEvent.which value for down arrow key 4428 var RIGHT_MOUSE_BUTTON_WHICH = 3; // MouseEvent.which value for the right button (assuming a right-handed mouse) 4429 var REGEXP_KEYDOWN = new RegExp(ARROW_UP_KEYCODE + '|' + ARROW_DOWN_KEYCODE + '|' + ESCAPE_KEYCODE);
vendor: 13,404 bytes, lines 4430-4872
4430 4431 var Event = { 4432 HIDE: 'hide' + EVENT_KEY, 4433 HIDDEN: 'hidden' + EVENT_KEY, 4434 SHOW: 'show' + EVENT_KEY, 4435 SHOWN: 'shown' + EVENT_KEY, 4436 CLICK: 'click' + EVENT_KEY, 4437 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY, 4438 KEYDOWN_DATA_API: 'keydown' + EVENT_KEY + DATA_API_KEY, 4439 KEYUP_DATA_API: 'keyup' + EVENT_KEY + DATA_API_KEY 4440 }; 4441 4442 var ClassName = { 4443 DISABLED: 'disabled', 4444 SHOW: 'show', 4445 DROPUP: 'dropup', 4446 MENURIGHT: 'dropdown-menu-right', 4447 MENULEFT: 'dropdown-menu-left' 4448 }; 4449 4450 var Selector = { 4451 DATA_TOGGLE: '[data-toggle="dropdown"]', 4452 FORM_CHILD: '.dropdown form', 4453 MENU: '.dropdown-menu', 4454 NAVBAR_NAV: '.navbar-nav', 4455 VISIBLE_ITEMS: '.dropdown-menu .dropdown-item:not(.disabled)' 4456 }; 4457 4458 var AttachmentMap = { 4459 TOP: 'top-start', 4460 TOPEND: 'top-end', 4461 BOTTOM: 'bottom-start', 4462 BOTTOMEND: 'bottom-end' 4463 }; 4464 4465 var Default = { 4466 placement: AttachmentMap.BOTTOM, 4467 offset: 0, 4468 flip: true 4469 }; 4470 4471 var DefaultType = { 4472 placement: 'string', 4473 offset: '(number|string)', 4474 flip: 'boolean' 4475 4476 /** 4477 * ------------------------------------------------------------------------ 4478 * Class Definition 4479 * ------------------------------------------------------------------------ 4480 */ 4481 4482 }; 4483 var Dropdown = function () { 4484 function Dropdown(element, config) { 4485 _classCallCheck(this, Dropdown); 4486 4487 this._element = element; 4488 this._popper = null; 4489 this._config = this._getConfig(config); 4490 this._menu = this._getMenuElement(); 4491 this._inNavbar = this._detectNavbar(); 4492 4493 this._addEventListeners(); 4494 } 4495 4496 // getters 4497 4498 // public 4499 4500 Dropdown.prototype.toggle = function toggle() { 4501 if (this._element.disabled || $(this._element).hasClass(ClassName.DISABLED)) { 4502 return; 4503 } 4504 4505 var parent = Dropdown._getParentFromElement(this._element); 4506 var isActive = $(this._menu).hasClass(ClassName.SHOW); 4507 4508 Dropdown._clearMenus(); 4509 4510 if (isActive) { 4511 return; 4512 } 4513 4514 var relatedTarget = { 4515 relatedTarget: this._element 4516 }; 4517 var showEvent = $.Event(Event.SHOW, relatedTarget); 4518 4519 $(parent).trigger(showEvent); 4520 4521 if (showEvent.isDefaultPrevented()) { 4522 return; 4523 } 4524 4525 var element = this._element; 4526 // for dropup with alignment we use the parent as popper container 4527 if ($(parent).hasClass(ClassName.DROPUP)) { 4528 if ($(this._menu).hasClass(ClassName.MENULEFT) || $(this._menu).hasClass(ClassName.MENURIGHT)) { 4529 element = parent; 4530 } 4531 } 4532 this._popper = new Popper(element, this._menu, this._getPopperConfig()); 4533 4534 // if this is a touch-enabled device we add extra 4535 // empty mouseover listeners to the body's immediate children; 4536 // only needed because of broken event delegation on iOS 4537 // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html 4538 if ('ontouchstart' in document.documentElement && !$(parent).closest(Selector.NAVBAR_NAV).length) { 4539 $('body').children().on('mouseover', null, $.noop); 4540 } 4541 4542 this._element.focus(); 4543 this._element.setAttribute('aria-expanded', true); 4544 4545 $(this._menu).toggleClass(ClassName.SHOW); 4546 $(parent).toggleClass(ClassName.SHOW).trigger($.Event(Event.SHOWN, relatedTarget)); 4547 }; 4548 4549 Dropdown.prototype.dispose = function dispose() { 4550 $.removeData(this._element, DATA_KEY); 4551 $(this._element).off(EVENT_KEY); 4552 this._element = null; 4553 this._menu = null; 4554 if (this._popper !== null) { 4555 this._popper.destroy(); 4556 } 4557 this._popper = null; 4558 }; 4559 4560 Dropdown.prototype.update = function update() { 4561 this._inNavbar = this._detectNavbar(); 4562 if (this._popper !== null) { 4563 this._popper.scheduleUpdate(); 4564 } 4565 }; 4566 4567 // private 4568 4569 Dropdown.prototype._addEventListeners = function _addEventListeners() { 4570 var _this9 = this; 4571 4572 $(this._element).on(Event.CLICK, function (event) { 4573 event.preventDefault(); 4574 event.stopPropagation(); 4575 _this9.toggle(); 4576 }); 4577 }; 4578 4579 Dropdown.prototype._getConfig = function _getConfig(config) { 4580 var elementData = $(this._element).data(); 4581 if (elementData.placement !== undefined) { 4582 elementData.placement = AttachmentMap[elementData.placement.toUpperCase()]; 4583 } 4584 4585 config = $.extend({}, this.constructor.Default, $(this._element).data(), config); 4586 4587 Util.typeCheckConfig(NAME, config, this.constructor.DefaultType); 4588 4589 return config; 4590 }; 4591 4592 Dropdown.prototype._getMenuElement = function _getMenuElement() { 4593 if (!this._menu) { 4594 var parent = Dropdown._getParentFromElement(this._element); 4595 this._menu = $(parent).find(Selector.MENU)[0]; 4596 } 4597 return this._menu; 4598 }; 4599 4600 Dropdown.prototype._getPlacement = function _getPlacement() { 4601 var $parentDropdown = $(this._element).parent(); 4602 var placement = this._config.placement; 4603 4604 // Handle dropup 4605 if ($parentDropdown.hasClass(ClassName.DROPUP) || this._config.placement === AttachmentMap.TOP) { 4606 placement = AttachmentMap.TOP; 4607 if ($(this._menu).hasClass(ClassName.MENURIGHT)) { 4608 placement = AttachmentMap.TOPEND; 4609 } 4610 } else if ($(this._menu).hasClass(ClassName.MENURIGHT)) { 4611 placement = AttachmentMap.BOTTOMEND; 4612 } 4613 return placement; 4614 }; 4615 4616 Dropdown.prototype._detectNavbar = function _detectNavbar() { 4617 return $(this._element).closest('.navbar').length > 0; 4618 }; 4619 4620 Dropdown.prototype._getPopperConfig = function _getPopperConfig() { 4621 var popperConfig = { 4622 placement: this._getPlacement(), 4623 modifiers: { 4624 offset: { 4625 offset: this._config.offset 4626 }, 4627 flip: { 4628 enabled: this._config.flip 4629 } 4630 } 4631 4632 // Disable Popper.js for Dropdown in Navbar 4633 };if (this._inNavbar) { 4634 popperConfig.modifiers.applyStyle = { 4635 enabled: !this._inNavbar 4636 }; 4637 } 4638 return popperConfig; 4639 }; 4640 4641 // static 4642 4643 Dropdown._jQueryInterface = function _jQueryInterface(config) { 4644 return this.each(function () { 4645 var data = $(this).data(DATA_KEY); 4646 var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null; 4647 4648 if (!data) { 4649 data = new Dropdown(this, _config); 4650 $(this).data(DATA_KEY, data); 4651 } 4652 4653 if (typeof config === 'string') { 4654 if (data[config] === undefined) { 4655 throw new Error('No method named "' + config + '"'); 4656 } 4657 data[config](); 4658 } 4659 }); 4660 }; 4661 4662 Dropdown._clearMenus = function _clearMenus(event) { 4663 if (event && (event.which === RIGHT_MOUSE_BUTTON_WHICH || event.type === 'keyup' && event.which !== TAB_KEYCODE)) { 4664 return; 4665 } 4666 4667 var toggles = $.makeArray($(Selector.DATA_TOGGLE)); 4668 for (var i = 0; i < toggles.length; i++) { 4669 var parent = Dropdown._getParentFromElement(toggles[i]); 4670 var context = $(toggles[i]).data(DATA_KEY); 4671 var relatedTarget = { 4672 relatedTarget: toggles[i] 4673 }; 4674 4675 if (!context) { 4676 continue; 4677 } 4678 4679 var dropdownMenu = context._menu; 4680 if (!$(parent).hasClass(ClassName.SHOW)) { 4681 continue; 4682 } 4683 4684 if (event && (event.type === 'click' && /input|textarea/i.test(event.target.tagName) || event.type === 'keyup' && event.which === TAB_KEYCODE) && $.contains(parent, event.target)) { 4685 continue; 4686 } 4687 4688 var hideEvent = $.Event(Event.HIDE, relatedTarget); 4689 $(parent).trigger(hideEvent); 4690 if (hideEvent.isDefaultPrevented()) { 4691 continue; 4692 } 4693 4694 // if this is a touch-enabled device we remove the extra 4695 // empty mouseover listeners we added for iOS support 4696 if ('ontouchstart' in document.documentElement) { 4697 $('body').children().off('mouseover', null, $.noop); 4698 } 4699 4700 toggles[i].setAttribute('aria-expanded', 'false'); 4701 4702 $(dropdownMenu).removeClass(ClassName.SHOW); 4703 $(parent).removeClass(ClassName.SHOW).trigger($.Event(Event.HIDDEN, relatedTarget)); 4704 } 4705 }; 4706 4707 Dropdown._getParentFromElement = function _getParentFromElement(element) { 4708 var parent = void 0; 4709 var selector = Util.getSelectorFromElement(element); 4710 4711 if (selector) { 4712 parent = $(selector)[0]; 4713 } 4714 4715 return parent || element.parentNode; 4716 }; 4717 4718 Dropdown._dataApiKeydownHandler = function _dataApiKeydownHandler(event) { 4719 if (!REGEXP_KEYDOWN.test(event.which) || /button/i.test(event.target.tagName) && event.which === SPACE_KEYCODE || /input|textarea/i.test(event.target.tagName)) { 4720 return; 4721 } 4722 4723 event.preventDefault(); 4724 event.stopPropagation(); 4725 4726 if (this.disabled || $(this).hasClass(ClassName.DISABLED)) { 4727 return; 4728 } 4729 4730 var parent = Dropdown._getParentFromElement(this); 4731 var isActive = $(parent).hasClass(ClassName.SHOW); 4732 4733 if (!isActive && (event.which !== ESCAPE_KEYCODE || event.which !== SPACE_KEYCODE) || isActive && (event.which === ESCAPE_KEYCODE || event.which === SPACE_KEYCODE)) { 4734 4735 if (event.which === ESCAPE_KEYCODE) { 4736 var toggle = $(parent).find(Selector.DATA_TOGGLE)[0]; 4737 $(toggle).trigger('focus'); 4738 } 4739 4740 $(this).trigger('click'); 4741 return; 4742 } 4743 4744 var items = $(parent).find(Selector.VISIBLE_ITEMS).get(); 4745 4746 if (!items.length) { 4747 return; 4748 } 4749 4750 var index = items.indexOf(event.target); 4751 4752 if (event.which === ARROW_UP_KEYCODE && index > 0) { 4753 // up 4754 index--; 4755 } 4756 4757 if (event.which === ARROW_DOWN_KEYCODE && index < items.length - 1) { 4758 // down 4759 index++; 4760 } 4761 4762 if (index < 0) { 4763 index = 0; 4764 } 4765 4766 items[index].focus(); 4767 }; 4768 4769 _createClass(Dropdown, null, [{ 4770 key: 'VERSION', 4771 get: function get() { 4772 return VERSION; 4773 } 4774 }, { 4775 key: 'Default', 4776 get: function get() { 4777 return Default; 4778 } 4779 }, { 4780 key: 'DefaultType', 4781 get: function get() { 4782 return DefaultType; 4783 } 4784 }]); 4785 4786 return Dropdown; 4787 }(); 4788 4789 /** 4790 * ------------------------------------------------------------------------ 4791 * Data Api implementation 4792 * ------------------------------------------------------------------------ 4793 */ 4794 4795 $(document).on(Event.KEYDOWN_DATA_API, Selector.DATA_TOGGLE, Dropdown._dataApiKeydownHandler).on(Event.KEYDOWN_DATA_API, Selector.MENU, Dropdown._dataApiKeydownHandler).on(Event.CLICK_DATA_API + ' ' + Event.KEYUP_DATA_API, Dropdown._clearMenus).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 4796 event.preventDefault(); 4797 event.stopPropagation(); 4798 Dropdown._jQueryInterface.call($(this), 'toggle'); 4799 }).on(Event.CLICK_DATA_API, Selector.FORM_CHILD, function (e) { 4800 e.stopPropagation(); 4801 }); 4802 4803 /** 4804 * ------------------------------------------------------------------------ 4805 * jQuery 4806 * ------------------------------------------------------------------------ 4807 */ 4808 4809 $.fn[NAME] = Dropdown._jQueryInterface; 4810 $.fn[NAME].Constructor = Dropdown; 4811 $.fn[NAME].noConflict = function () { 4812 $.fn[NAME] = JQUERY_NO_CONFLICT; 4813 return Dropdown._jQueryInterface; 4814 }; 4815 4816 return Dropdown; 4817}(jQuery); 4818 4819/** 4820 * -------------------------------------------------------------------------- 4821 * Bootstrap (v4.0.0-beta): modal.js 4822 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 4823 * -------------------------------------------------------------------------- 4824 */ 4825 4826var Modal = function ($) { 4827 4828 /** 4829 * ------------------------------------------------------------------------ 4830 * Constants 4831 * ------------------------------------------------------------------------ 4832 */ 4833 4834 var NAME = 'modal'; 4835 var VERSION = '4.0.0-beta'; 4836 var DATA_KEY = 'bs.modal'; 4837 var EVENT_KEY = '.' + DATA_KEY; 4838 var DATA_API_KEY = '.data-api'; 4839 var JQUERY_NO_CONFLICT = $.fn[NAME]; 4840 var TRANSITION_DURATION = 300; 4841 var BACKDROP_TRANSITION_DURATION = 150; 4842 var ESCAPE_KEYCODE = 27; // KeyboardEvent.which value for Escape (Esc) key 4843 4844 var Default = { 4845 backdrop: true, 4846 keyboard: true, 4847 focus: true, 4848 show: true 4849 }; 4850 4851 var DefaultType = { 4852 backdrop: '(boolean|string)', 4853 keyboard: 'boolean', 4854 focus: 'boolean', 4855 show: 'boolean' 4856 }; 4857 4858 var Event = { 4859 HIDE: 'hide' + EVENT_KEY, 4860 HIDDEN: 'hidden' + EVENT_KEY, 4861 SHOW: 'show' + EVENT_KEY, 4862 SHOWN: 'shown' + EVENT_KEY, 4863 FOCUSIN: 'focusin' + EVENT_KEY, 4864 RESIZE: 'resize' + EVENT_KEY, 4865 CLICK_DISMISS: 'click.dismiss' + EVENT_KEY, 4866 KEYDOWN_DISMISS: 'keydown.dismiss' + EVENT_KEY, 4867 MOUSEUP_DISMISS: 'mouseup.dismiss' + EVENT_KEY, 4868 MOUSEDOWN_DISMISS: 'mousedown.dismiss' + EVENT_KEY, 4869 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 4870 }; 4871 4872 var ClassName = {
4873 SCROLLBAR_MEASURER: 'modal-scrollbar-measure', 4874 BACKDROP: 'modal-backdrop', 4875 OPEN: 'modal-open', 4876 FADE: 'fade', 4877 SHOW: 'show' 4878 }; 4879 4880 var Selector = { 4881 DIALOG: '.modal-dialog', 4882 DATA_TOGGLE: '[data-toggle="modal"]', 4883 DATA_DISMISS: '[data-dismiss="modal"]', 4884 FIXED_CONTENT: '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top', 4885 NAVBAR_TOGGLER: '.navbar-toggler' 4886 4887 /** 4888 * ------------------------------------------------------------------------ 4889 * Class Definition 4890 * ------------------------------------------------------------------------ 4891 */ 4892 4893 }; 4894 var Modal = function () { 4895 function Modal(element, config) { 4896 _classCallCheck(this, Modal); 4897 4898 this._config = this._getConfig(config); 4899 this._element = element; 4900 this._dialog = $(element).find(Selector.DIALOG)[0]; 4901 this._backdrop = null; 4902 this._isShown = false; 4903 this._isBodyOverflowing = false; 4904 this._ignoreBackdropClick = false; 4905 this._originalBodyPadding = 0; 4906 this._scrollbarWidth = 0; 4907 } 4908 4909 // getters 4910 4911 // public 4912 4913 Modal.prototype.toggle = function toggle(relatedTarget) { 4914 return this._isShown ? this.hide() : this.show(relatedTarget); 4915 }; 4916 4917 Modal.prototype.show = function show(relatedTarget) { 4918 var _this10 = this; 4919 4920 if (this._isTransitioning) { 4921 return; 4922 } 4923 4924 if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE)) { 4925 this._isTransitioning = true; 4926 } 4927 4928 var showEvent = $.Event(Event.SHOW, { 4929 relatedTarget: relatedTarget 4930 }); 4931 4932 $(this._element).trigger(showEvent); 4933 4934 if (this._isShown || showEvent.isDefaultPrevented()) { 4935 return; 4936 } 4937 4938 this._isShown = true; 4939 4940 this._checkScrollbar(); 4941 this._setScrollbar(); 4942 4943 $(document.body).addClass(ClassName.OPEN); 4944 4945 this._setEscapeEvent(); 4946 this._setResizeEvent(); 4947 4948 $(this._element).on(Event.CLICK_DISMISS, Selector.DATA_DISMISS, function (event) { 4949 return _this10.hide(event); 4950 }); 4951 4952 $(this._dialog).on(Event.MOUSEDOWN_DISMISS, function () { 4953 $(_this10._element).one(Event.MOUSEUP_DISMISS, function (event) { 4954 if ($(event.target).is(_this10._element)) { 4955 _this10._ignoreBackdropClick = true; 4956 } 4957 }); 4958 }); 4959 4960 this._showBackdrop(function () { 4961 return _this10._showElement(relatedTarget); 4962 }); 4963 }; 4964 4965 Modal.prototype.hide = function hide(event) { 4966 var _this11 = this; 4967 4968 if (event) { 4969 event.preventDefault(); 4970 } 4971 4972 if (this._isTransitioning || !this._isShown) { 4973 return; 4974 } 4975 4976 var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE); 4977 4978 if (transition) { 4979 this._isTransitioning = true; 4980 } 4981 4982 var hideEvent = $.Event(Event.HIDE); 4983 4984 $(this._element).trigger(hideEvent); 4985 4986 if (!this._isShown || hideEvent.isDefaultPrevented()) { 4987 return; 4988 } 4989 4990 this._isShown = false; 4991 4992 this._setEscapeEvent(); 4993 this._setResizeEvent(); 4994 4995 $(document).off(Event.FOCUSIN); 4996 4997 $(this._element).removeClass(ClassName.SHOW); 4998 4999 $(this._element).off(Event.CLICK_DISMISS); 5000 $(this._dialog).off(Event.MOUSEDOWN_DISMISS); 5001 5002 if (transition) { 5003 5004 $(this._element).one(Util.TRANSITION_END, function (event) { 5005 return _this11._hideModal(event); 5006 }).emulateTransitionEnd(TRANSITION_DURATION); 5007 } else { 5008 this._hideModal(); 5009 } 5010 }; 5011 5012 Modal.prototype.dispose = function dispose() { 5013 $.removeData(this._element, DATA_KEY); 5014 5015 $(window, document, this._element, this._backdrop).off(EVENT_KEY); 5016 5017 this._config = null; 5018 this._element = null; 5019 this._dialog = null; 5020 this._backdrop = null; 5021 this._isShown = null; 5022 this._isBodyOverflowing = null; 5023 this._ignoreBackdropClick = null; 5024 this._scrollbarWidth = null; 5025 }; 5026 5027 Modal.prototype.handleUpdate = function handleUpdate() { 5028 this._adjustDialog(); 5029 }; 5030 5031 // private 5032 5033 Modal.prototype._getConfig = function _getConfig(config) { 5034 config = $.extend({}, Default, config); 5035 Util.typeCheckConfig(NAME, config, DefaultType); 5036 return config; 5037 }; 5038 5039 Modal.prototype._showElement = function _showElement(relatedTarget) { 5040 var _this12 = this; 5041 5042 var transition = Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE); 5043 5044 if (!this._element.parentNode || this._element.parentNode.nodeType !== Node.ELEMENT_NODE) { 5045 // don't move modals dom position 5046 document.body.appendChild(this._element); 5047 } 5048 5049 this._element.style.display = 'block'; 5050 this._element.removeAttribute('aria-hidden'); 5051 this._element.scrollTop = 0; 5052 5053 if (transition) { 5054 Util.reflow(this._element); 5055 } 5056 5057 $(this._element).addClass(ClassName.SHOW); 5058 5059 if (this._config.focus) { 5060 this._enforceFocus(); 5061 } 5062 5063 var shownEvent = $.Event(Event.SHOWN, { 5064 relatedTarget: relatedTarget 5065 }); 5066 5067 var transitionComplete = function transitionComplete() { 5068 if (_this12._config.focus) { 5069 _this12._element.focus(); 5070 } 5071 _this12._isTransitioning = false; 5072 $(_this12._element).trigger(shownEvent); 5073 }; 5074 5075 if (transition) { 5076 $(this._dialog).one(Util.TRANSITION_END, transitionComplete).emulateTransitionEnd(TRANSITION_DURATION); 5077 } else { 5078 transitionComplete(); 5079 } 5080 }; 5081 5082 Modal.prototype._enforceFocus = function _enforceFocus() { 5083 var _this13 = this; 5084 5085 $(document).off(Event.FOCUSIN) // guard against infinite focus loop 5086 .on(Event.FOCUSIN, function (event) { 5087 if (document !== event.target && _this13._element !== event.target && !$(_this13._element).has(event.target).length) { 5088 _this13._element.focus(); 5089 } 5090 }); 5091 }; 5092 5093 Modal.prototype._setEscapeEvent = function _setEscapeEvent() { 5094 var _this14 = this; 5095 5096 if (this._isShown && this._config.keyboard) { 5097 $(this._element).on(Event.KEYDOWN_DISMISS, function (event) { 5098 if (event.which === ESCAPE_KEYCODE) { 5099 event.preventDefault(); 5100 _this14.hide(); 5101 } 5102 }); 5103 } else if (!this._isShown) { 5104 $(this._element).off(Event.KEYDOWN_DISMISS); 5105 } 5106 }; 5107 5108 Modal.prototype._setResizeEvent = function _setResizeEvent() { 5109 var _this15 = this; 5110 5111 if (this._isShown) { 5112 $(window).on(Event.RESIZE, function (event) { 5113 return _this15.handleUpdate(event); 5114 }); 5115 } else { 5116 $(window).off(Event.RESIZE); 5117 } 5118 }; 5119 5120 Modal.prototype._hideModal = function _hideModal() { 5121 var _this16 = this; 5122 5123 this._element.style.display = 'none'; 5124 this._element.setAttribute('aria-hidden', true); 5125 this._isTransitioning = false; 5126 this._showBackdrop(function () { 5127 $(document.body).removeClass(ClassName.OPEN); 5128 _this16._resetAdjustments(); 5129 _this16._resetScrollbar(); 5130 $(_this16._element).trigger(Event.HIDDEN); 5131 }); 5132 }; 5133 5134 Modal.prototype._removeBackdrop = function _removeBackdrop() { 5135 if (this._backdrop) { 5136 $(this._backdrop).remove(); 5137 this._backdrop = null; 5138 } 5139 }; 5140 5141 Modal.prototype._showBackdrop = function _showBackdrop(callback) { 5142 var _this17 = this; 5143 5144 var animate = $(this._element).hasClass(ClassName.FADE) ? ClassName.FADE : ''; 5145 5146 if (this._isShown && this._config.backdrop) { 5147 var doAnimate = Util.supportsTransitionEnd() && animate; 5148 5149 this._backdrop = document.createElement('div'); 5150 this._backdrop.className = ClassName.BACKDROP; 5151 5152 if (animate) { 5153 $(this._backdrop).addClass(animate); 5154 } 5155 5156 $(this._backdrop).appendTo(document.body); 5157 5158 $(this._element).on(Event.CLICK_DISMISS, function (event) { 5159 if (_this17._ignoreBackdropClick) { 5160 _this17._ignoreBackdropClick = false; 5161 return; 5162 } 5163 if (event.target !== event.currentTarget) { 5164 return; 5165 } 5166 if (_this17._config.backdrop === 'static') { 5167 _this17._element.focus(); 5168 } else { 5169 _this17.hide(); 5170 } 5171 }); 5172 5173 if (doAnimate) { 5174 Util.reflow(this._backdrop); 5175 } 5176 5177 $(this._backdrop).addClass(ClassName.SHOW); 5178 5179 if (!callback) { 5180 return; 5181 } 5182 5183 if (!doAnimate) { 5184 callback(); 5185 return; 5186 } 5187 5188 $(this._backdrop).one(Util.TRANSITION_END, callback).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION); 5189 } else if (!this._isShown && this._backdrop) { 5190 $(this._backdrop).removeClass(ClassName.SHOW); 5191 5192 var callbackRemove = function callbackRemove() { 5193 _this17._removeBackdrop(); 5194 if (callback) { 5195 callback(); 5196 } 5197 }; 5198 5199 if (Util.supportsTransitionEnd() && $(this._element).hasClass(ClassName.FADE)) { 5200 $(this._backdrop).one(Util.TRANSITION_END, callbackRemove).emulateTransitionEnd(BACKDROP_TRANSITION_DURATION); 5201 } else { 5202 callbackRemove(); 5203 } 5204 } else if (callback) { 5205 callback(); 5206 } 5207 }; 5208 5209 // ---------------------------------------------------------------------- 5210 // the following methods are used to handle overflowing modals 5211 // todo (fat): these should probably be refactored out of modal.js 5212 // ---------------------------------------------------------------------- 5213 5214 Modal.prototype._adjustDialog = function _adjustDialog() { 5215 var isModalOverflowing = this._element.scrollHeight > document.documentElement.clientHeight; 5216 5217 if (!this._isBodyOverflowing && isModalOverflowing) { 5218 this._element.style.paddingLeft = this._scrollbarWidth + 'px'; 5219 } 5220 5221 if (this._isBodyOverflowing && !isModalOverflowing) { 5222 this._element.style.paddingRight = this._scrollbarWidth + 'px'; 5223 } 5224 }; 5225 5226 Modal.prototype._resetAdjustments = function _resetAdjustments() { 5227 this._element.style.paddingLeft = ''; 5228 this._element.style.paddingRight = ''; 5229 }; 5230 5231 Modal.prototype._checkScrollbar = function _checkScrollbar() { 5232 this._isBodyOverflowing = document.body.clientWidth < window.innerWidth; 5233 this._scrollbarWidth = this._getScrollbarWidth(); 5234 }; 5235 5236 Modal.prototype._setScrollbar = function _setScrollbar() { 5237 var _this18 = this; 5238 5239 if (this._isBodyOverflowing) { 5240 // Note: DOMNode.style.paddingRight returns the actual value or '' if not set 5241 // while $(DOMNode).css('padding-right') returns the calculated value or 0 if not set 5242 5243 // Adjust fixed content padding 5244 $(Selector.FIXED_CONTENT).each(function (index, element) { 5245 var actualPadding = $(element)[0].style.paddingRight; 5246 var calculatedPadding = $(element).css('padding-right'); 5247 $(element).data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + _this18._scrollbarWidth + 'px'); 5248 }); 5249 5250 // Adjust navbar-toggler margin 5251 $(Selector.NAVBAR_TOGGLER).each(function (index, element) { 5252 var actualMargin = $(element)[0].style.marginRight; 5253 var calculatedMargin = $(element).css('margin-right'); 5254 $(element).data('margin-right', actualMargin).css('margin-right', parseFloat(calculatedMargin) + _this18._scrollbarWidth + 'px'); 5255 }); 5256 5257 // Adjust body padding 5258 var actualPadding = document.body.style.paddingRight; 5259 var calculatedPadding = $('body').css('padding-right'); 5260 $('body').data('padding-right', actualPadding).css('padding-right', parseFloat(calculatedPadding) + this._scrollbarWidth + 'px'); 5261 } 5262 }; 5263 5264 Modal.prototype._resetScrollbar = function _resetScrollbar() { 5265 // Restore fixed content padding 5266 $(Selector.FIXED_CONTENT).each(function (index, element) { 5267 var padding = $(element).data('padding-right'); 5268 if (typeof padding !== 'undefined') { 5269 $(element).css('padding-right', padding).removeData('padding-right'); 5270 } 5271 }); 5272 5273 // Restore navbar-toggler margin 5274 $(Selector.NAVBAR_TOGGLER).each(function (index, element) { 5275 var margin = $(element).data('margin-right'); 5276 if (typeof margin !== 'undefined') { 5277 $(element).css('margin-right', margin).removeData('margin-right'); 5278 } 5279 }); 5280 5281 // Restore body padding 5282 var padding = $('body').data('padding-right'); 5283 if (typeof padding !== 'undefined') { 5284 $('body').css('padding-right', padding).removeData('padding-right'); 5285 } 5286 }; 5287 5288 Modal.prototype._getScrollbarWidth = function _getScrollbarWidth() { 5289 // thx d.walsh 5290 var scrollDiv = document.createElement('div'); 5291 scrollDiv.className = ClassName.SCROLLBAR_MEASURER; 5292 document.body.appendChild(scrollDiv); 5293 var scrollbarWidth = scrollDiv.getBoundingClientRect().width - scrollDiv.clientWidth; 5294 document.body.removeChild(scrollDiv); 5295 return scrollbarWidth; 5296 }; 5297 5298 // static 5299 5300 Modal._jQueryInterface = function _jQueryInterface(config, relatedTarget) { 5301 return this.each(function () { 5302 var data = $(this).data(DATA_KEY); 5303 var _config = $.extend({}, Modal.Default, $(this).data(), (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config); 5304 5305 if (!data) { 5306 data = new Modal(this, _config); 5307 $(this).data(DATA_KEY, data); 5308 } 5309 5310 if (typeof config === 'string') { 5311 if (data[config] === undefined) {
5312 throw new Error('No method named "' + config + '"'); 5313 } 5314 data[config](relatedTarget); 5315 } else if (_config.show) { 5316 data.show(relatedTarget); 5317 } 5318 }); 5319 }; 5320 5321 _createClass(Modal, null, [{ 5322 key: 'VERSION', 5323 get: function get() { 5324 return VERSION; 5325 } 5326 }, { 5327 key: 'Default', 5328 get: function get() { 5329 return Default; 5330 } 5331 }]); 5332 5333 return Modal; 5334 }(); 5335 5336 /** 5337 * ------------------------------------------------------------------------ 5338 * Data Api implementation 5339 * ------------------------------------------------------------------------ 5340 */ 5341 5342 $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 5343 var _this19 = this; 5344 5345 var target = void 0; 5346 var selector = Util.getSelectorFromElement(this); 5347 5348 if (selector) { 5349 target = $(selector)[0]; 5350 } 5351 5352 var config = $(target).data(DATA_KEY) ? 'toggle' : $.extend({}, $(target).data(), $(this).data()); 5353 5354 if (this.tagName === 'A' || this.tagName === 'AREA') { 5355 event.preventDefault(); 5356 } 5357 5358 var $target = $(target).one(Event.SHOW, function (showEvent) { 5359 if (showEvent.isDefaultPrevented()) { 5360 // only register focus restorer if modal will actually get shown 5361 return; 5362 } 5363 5364 $target.one(Event.HIDDEN, function () { 5365 if ($(_this19).is(':visible')) { 5366 _this19.focus(); 5367 } 5368 }); 5369 }); 5370 5371 Modal._jQueryInterface.call($(target), config, this); 5372 }); 5373 5374 /** 5375 * ------------------------------------------------------------------------ 5376 * jQuery 5377 * ------------------------------------------------------------------------ 5378 */ 5379 5380 $.fn[NAME] = Modal._jQueryInterface; 5381 $.fn[NAME].Constructor = Modal; 5382 $.fn[NAME].noConflict = function () { 5383 $.fn[NAME] = JQUERY_NO_CONFLICT; 5384 return Modal._jQueryInterface; 5385 }; 5386 5387 return Modal; 5388}(jQuery); 5389 5390/** 5391 * -------------------------------------------------------------------------- 5392 * Bootstrap (v4.0.0-beta): scrollspy.js 5393 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5394 * -------------------------------------------------------------------------- 5395 */ 5396 5397var ScrollSpy = function ($) { 5398 5399 /** 5400 * ------------------------------------------------------------------------ 5401 * Constants 5402 * ------------------------------------------------------------------------ 5403 */ 5404 5405 var NAME = 'scrollspy'; 5406 var VERSION = '4.0.0-beta'; 5407 var DATA_KEY = 'bs.scrollspy'; 5408 var EVENT_KEY = '.' + DATA_KEY; 5409 var DATA_API_KEY = '.data-api'; 5410 var JQUERY_NO_CONFLICT = $.fn[NAME]; 5411 5412 var Default = { 5413 offset: 10, 5414 method: 'auto', 5415 target: '' 5416 }; 5417 5418 var DefaultType = { 5419 offset: 'number', 5420 method: 'string', 5421 target: '(string|element)' 5422 }; 5423 5424 var Event = { 5425 ACTIVATE: 'activate' + EVENT_KEY, 5426 SCROLL: 'scroll' + EVENT_KEY, 5427 LOAD_DATA_API: 'load' + EVENT_KEY + DATA_API_KEY 5428 }; 5429 5430 var ClassName = { 5431 DROPDOWN_ITEM: 'dropdown-item', 5432 DROPDOWN_MENU: 'dropdown-menu', 5433 ACTIVE: 'active' 5434 }; 5435 5436 var Selector = { 5437 DATA_SPY: '[data-spy="scroll"]', 5438 ACTIVE: '.active', 5439 NAV_LIST_GROUP: '.nav, .list-group', 5440 NAV_LINKS: '.nav-link', 5441 LIST_ITEMS: '.list-group-item', 5442 DROPDOWN: '.dropdown', 5443 DROPDOWN_ITEMS: '.dropdown-item', 5444 DROPDOWN_TOGGLE: '.dropdown-toggle' 5445 }; 5446 5447 var OffsetMethod = { 5448 OFFSET: 'offset', 5449 POSITION: 'position' 5450 5451 /** 5452 * ------------------------------------------------------------------------ 5453 * Class Definition 5454 * ------------------------------------------------------------------------ 5455 */ 5456 5457 }; 5458 var ScrollSpy = function () { 5459 function ScrollSpy(element, config) { 5460 var _this20 = this; 5461 5462 _classCallCheck(this, ScrollSpy); 5463 5464 this._element = element; 5465 this._scrollElement = element.tagName === 'BODY' ? window : element; 5466 this._config = this._getConfig(config); 5467 this._selector = this._config.target + ' ' + Selector.NAV_LINKS + ',' + (this._config.target + ' ' + Selector.LIST_ITEMS + ',') + (this._config.target + ' ' + Selector.DROPDOWN_IT
5467EMS); 5468 this._offsets = []; 5469 this._targets = []; 5470 this._activeTarget = null; 5471 this._scrollHeight = 0; 5472 5473 $(this._scrollElement).on(Event.SCROLL, function (event) { 5474 return _this20._process(event); 5475 }); 5476 5477 this.refresh(); 5478 this._process(); 5479 } 5480 5481 // getters 5482 5483 // public 5484 5485 ScrollSpy.prototype.refresh = function refresh() { 5486 var _this21 = this; 5487 5488 var autoMethod = this._scrollElement !== this._scrollElement.window ? OffsetMethod.POSITION : OffsetMethod.OFFSET; 5489 5490 var offsetMethod = this._config.method === 'auto' ? autoMethod : this._config.method; 5491 5492 var offsetBase = offsetMethod === OffsetMethod.POSITION ? this._getScrollTop() : 0; 5493 5494 this._offsets = []; 5495 this._targets = []; 5496 5497 this._scrollHeight = this._getScrollHeight(); 5498 5499 var targets = $.makeArray($(this._selector)); 5500 5501 targets.map(function (element) { 5502 var target = void 0; 5503 var targetSelector = Util.getSelectorFromElement(element); 5504 5505 if (targetSelector) { 5506 target = $(targetSelector)[0]; 5507 } 5508 5509 if (target) { 5510 var targetBCR = target.getBoundingClientRect(); 5511 if (targetBCR.width || targetBCR.height) { 5512 // todo (fat): remove sketch reliance on jQuery position/offset 5513 return [$(target)[offsetMethod]().top + offsetBase, targetSelector]; 5514 } 5515 } 5516 return null; 5517 }).filter(function (item) { 5518 return item; 5519 }).sort(function (a, b) { 5520 return a[0] - b[0]; 5521 }
5521).forEach(function (item) { 5522 _this21._offsets.push(item[0]); 5523 _this21._targets.push(item[1]); 5524 }); 5525 }; 5526 5527 ScrollSpy.prototype.dispose = function dispose() { 5528 $.removeData(this._element, DATA_KEY); 5529 $(this._scrollElement).off(EVENT_KEY); 5530 5531 this._element = null; 5532 this._scrollElement = null; 5533 this._config = null; 5534 this._selector = null; 5535 this._offsets = null; 5536 this._targets = null; 5537 this._activeTarget = null; 5538 this._scrollHeight = null; 5539 }; 5540 5541 // private 5542 5543 ScrollSpy.prototype._getConfig = function _getConfig(config) { 5544 config = $.extend({}, Default, config); 5545 5546 if (typeof config.target !== 'string') { 5547 var id = $(config.target).attr('id'); 5548 if (!id) { 5549 id = Util.getUID(NAME); 5550 $(config.target).attr('id', id); 5551 } 5552 config.target = '#' + id; 5553 } 5554 5555 Util.typeCheckConfig(NAME, config, DefaultType); 5556 5557 return config; 5558 }; 5559 5560 ScrollSpy.prototype._getScrollTop = function _getScrollTop() { 5561 return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop; 5562 }; 5563 5564 ScrollSpy.prototype._getScrollHeight = function _getScrollHeight() { 5565 return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight); 5566 }; 5567 5568 ScrollSpy.prototype._getOffsetHeight = function _getOffsetHeight() { 5569 return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height; 5570 }; 5571 5572 ScrollSpy.prototype._process = function _process() { 5573 var scrollTop = this._getScrollTop() + this._config.offset; 5574 var scrollHeight = this._getScrollHeight(); 5575 var maxScroll = this._config.offset + scrollHeight - this._getOffsetHeight(); 5576 5577 if (this._scrollHeight !== scrollHeight) { 5578 this.refresh(); 5579 } 5580 5581 if (scrollTop >= maxScroll) { 5582 var target = this._targets[this._targets.length - 1]; 5583 5584 if (this._activeTarget !== target) { 5585 this._activate(target); 5586 } 5587 return; 5588 } 5589 5590 if (this._activeTarget && scrollTop < this._offsets[0] && this._offsets[0] > 0) { 5591 this._activeTarget = null; 5592 this._clear(); 5593 return; 5594 } 5595 5596 for (var i = this._offsets.length; i--;) { 5597 var isActiveTarget = this._activeTarget !== this._targets[i] && scrollTop >= this._offsets[i] && (this._offsets[i + 1] === undefined || scrollTop < this._offsets[i + 1]); 5598 5599 if (isActiveTarget) { 5600 this._activate(this._targets[i]); 5601 } 5602 } 5603 }; 5604 5605 ScrollSpy.prototype._activate = function _activate(target) { 5606 this._activeTarget = target; 5607 5608 this._clear(); 5609 5610 var queries = this._selector.split(','); 5611 queries = queries.map(function (selector) { 5612 return selector + '[data-target="' + target + '"],' + (selector + '[href="' + target + '"]'); 5613 }); 5614 5615 var $link = $(queries.join(',')); 5616 5617 if ($link.hasClass(ClassName.DROPDOWN_ITEM)) { 5618 $link.closest(Selector.DROPDOWN).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE); 5619 $link.addClass(ClassName.ACTIVE); 5620 } else { 5621 // Set triggered link as active 5622 $link.addClass(ClassName.ACTIVE); 5623 // Set triggered links parents as active 5624 // With both <ul> and <nav> markup a parent is the previous sibling of any nav ancestor 5625 $link.parents(Selector.NAV_LIST_GROUP).prev(Selector.NAV_LINKS + ', ' + Selector.LIST_ITEMS).addClass(ClassName.ACTIVE); 5626 } 5627 5628 $(this._scrollElement).trigger(Event.ACTIVATE, { 5629 relatedTarget: target 5630 }); 5631 }; 5632 5633 ScrollSpy.prototype._clear = function _clear() { 5634 $(this._selector).filter(Selector.ACTIVE).removeClass(ClassName.ACTIVE); 5635 }; 5636 5637 // static 5638 5639 ScrollSpy._jQueryInterface = function _jQueryInterface(config) { 5640 return this.each(function () { 5641 var data = $(this).data(DATA_KEY); 5642 var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config; 5643 5644 if (!data) { 5645 data = new ScrollSpy(this, _config); 5646 $(this).data(DATA_KEY, data); 5647 } 5648 5649 if (typeof config === 'string') { 5650 if (data[config] === undefined) {
5651 throw new Error('No method named "' + config + '"'); 5652 } 5653 data[config](); 5654 } 5655 }); 5656 }; 5657 5658 _createClass(ScrollSpy, null, [{ 5659 key: 'VERSION', 5660 get: function get() { 5661 return VERSION; 5662 } 5663 }, { 5664 key: 'Default', 5665 get: function get() { 5666 return Default; 5667 } 5668 }]); 5669 5670 return ScrollSpy; 5671 }(); 5672 5673 /** 5674 * ------------------------------------------------------------------------ 5675 * Data Api implementation 5676 * ------------------------------------------------------------------------ 5677 */ 5678 5679 $(window).on(Event.LOAD_DATA_API, function () { 5680 var scrollSpys = $.makeArray($(Selector.DATA_SPY)); 5681 5682 for (var i = scrollSpys.length; i--;) { 5683 var $spy = $(scrollSpys[i]); 5684 ScrollSpy._jQueryInterface.call($spy, $spy.data()); 5685 } 5686 }); 5687 5688 /** 5689 * ------------------------------------------------------------------------ 5690 * jQuery 5691 * ------------------------------------------------------------------------ 5692 */ 5693 5694 $.fn[NAME] = ScrollSpy._jQueryInterface; 5695 $.fn[NAME].Constructor = ScrollSpy; 5696 $.fn[NAME].noConflict = function () { 5697 $.fn[NAME] = JQUERY_NO_CONFLICT; 5698 return ScrollSpy._jQueryInterface; 5699 }; 5700 5701 return ScrollSpy; 5702}(jQuery); 5703 5704/** 5705 * -------------------------------------------------------------------------- 5706 * Bootstrap (v4.0.0-beta): tab.js 5707 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5708 * -------------------------------------------------------------------------- 5709 */ 5710 5711var Tab = function ($) { 5712 5713 /** 5714 * ------------------------------------------------------------------------ 5715 * Constants 5716 * ------------------------------------------------------------------------ 5717 */ 5718 5719 var NAME = 'tab'; 5720 var VERSION = '4.0.0-beta'; 5721 var DATA_KEY = 'bs.tab'; 5722 var EVENT_KEY = '.' + DATA_KEY; 5723 var DATA_API_KEY = '.data-api'; 5724 var JQUERY_NO_CONFLICT = $.fn[NAME]; 5725 var TRANSITION_DURATION = 150; 5726 5727 var Event = { 5728 HIDE: 'hide' + EVENT_KEY, 5729 HIDDEN: 'hidden' + EVENT_KEY, 5730 SHOW: 'show' + EVENT_KEY, 5731 SHOWN: 'shown' + EVENT_KEY, 5732 CLICK_DATA_API: 'click' + EVENT_KEY + DATA_API_KEY 5733 }; 5734 5735 var ClassName = { 5736 DROPDOWN_MENU: 'dropdown-menu', 5737 ACTIVE: 'active', 5738 DISABLED: 'disabled', 5739 FADE: 'fade', 5740 SHOW: 'show' 5741 }; 5742 5743 var Selector = { 5744 DROPDOWN: '.dropdown', 5745 NAV_LIST_GROUP: '.nav, .list-group', 5746 ACTIVE: '.active', 5747 DATA_TOGGLE: '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]', 5748 DROPDOWN_TOGGLE: '.dropdown-toggle', 5749 DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active' 5750 5751 /** 5752 * ------------------------------------------------------------------------ 5753 * Class Definition 5754 * ------------------------------------------------------------------------ 5755 */ 5756 5757 }; 5758 var Tab = function () { 5759 function Tab(element) { 5760 _classCallCheck(this, Tab); 5761 5762 this._element = element; 5763 } 5764 5765 // getters 5766 5767 // public 5768 5769 Tab.prototype.show = function show() { 5770 var _this22 = this; 5771 5772 if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $(this._element).hasClass(ClassName.ACTIVE) || $(this._element).hasClass(ClassName.DISABLED)) { 5773 return; 5774 } 5775 5776 var target = void 0; 5777 var previous = void 0; 5778 var listElement = $(this._element).closest(Selector.NAV_LIST_GROUP)[0]; 5779 var selector = Util.getSelectorFromElement(this._element); 5780 5781 if (listElement) { 5782 previous = $.makeArray($(listElement).find(Selector.ACTIVE)); 5783 previous = previous[previous.length - 1]; 5784 } 5785 5786 var hideEvent = $.Event(Event.HIDE, { 5787 relatedTarget: this._element 5788 }); 5789 5790 var showEvent = $.Event(Event.SHOW, { 5791 relatedTarget: previous 5792 }); 5793 5794 if (previous) { 5795 $(previous).trigger(hideEvent); 5796 } 5797 5798 $(this._element).trigger(showEvent); 5799 5800 if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) { 5801 return; 5802 } 5803 5804 if (selector) { 5805 target = $(selector)[0]; 5806 } 5807 5808 this._activate(this._element, listElement); 5809 5810 var complete = function complete() { 5811 var hiddenEvent = $.Event(Event.HIDDEN, { 5812 relatedTarget: _this22._element 5813 }); 5814 5815 var shownEvent = $.Event(Event.SHOWN, { 5816 relatedTarget: previous 5817 }); 5818 5819 $(previous).trigger(hiddenEvent); 5820 $(_this22._element).trigger(shownEvent); 5821 }; 5822 5823 if (target) { 5824 this._activate(target, target.parentNode, complete); 5825 } else { 5826 complete(); 5827 } 5828 }; 5829 5830 Tab.prototype.dispose = function dispose() { 5831 $.removeData(this._element, DATA_KEY); 5832 this._element = null; 5833 }; 5834 5835 // private 5836 5837 Tab.prototype._activate = function _activate(element, container, callback) { 5838 var _this23 = this; 5839 5840 var active = $(container).find(Selector.ACTIVE)[0]; 5841 var isTransitioning = callback && Util.supportsTransitionEnd() && active && $(active).hasClass(ClassName.FADE); 5842 5843 var complete = function complete() { 5844 return _this23._transitionComplete(element, active, isTransitioning, callback); 5845 }; 5846 5847 if (active && isTransitioning) { 5848 $(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 5849 } else { 5850 complete(); 5851 } 5852 5853 if (active) { 5854 $(active).removeClass(ClassName.SHOW); 5855 } 5856 }; 5857 5858 Tab.prototype._transitionComplete = function _transitionComplete(element, active, isTransitioning, callback) { 5859 if (active) { 5860 $(active).removeClass(ClassName.ACTIVE); 5861
vendor: 4,606 bytes, lines 5862-6033
5862 var dropdownChild = $(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0]; 5863 5864 if (dropdownChild) { 5865 $(dropdownChild).removeClass(ClassName.ACTIVE); 5866 } 5867 5868 active.setAttribute('aria-expanded', false); 5869 } 5870 5871 $(element).addClass(ClassName.ACTIVE); 5872 element.setAttribute('aria-expanded', true); 5873 5874 if (isTransitioning) { 5875 Util.reflow(element); 5876 $(element).addClass(ClassName.SHOW); 5877 } else { 5878 $(element).removeClass(ClassName.FADE); 5879 } 5880 5881 if (element.parentNode && $(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) { 5882 5883 var dropdownElement = $(element).closest(Selector.DROPDOWN)[0]; 5884 if (dropdownElement) { 5885 $(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE); 5886 } 5887 5888 element.setAttribute('aria-expanded', true); 5889 } 5890 5891 if (callback) { 5892 callback(); 5893 } 5894 }; 5895 5896 // static 5897 5898 Tab._jQueryInterface = function _jQueryInterface(config) { 5899 return this.each(function () { 5900 var $this = $(this); 5901 var data = $this.data(DATA_KEY); 5902 5903 if (!data) { 5904 data = new Tab(this); 5905 $this.data(DATA_KEY, data); 5906 } 5907 5908 if (typeof config === 'string') { 5909 if (data[config] === undefined) { 5910 throw new Error('No method named "' + config + '"'); 5911 } 5912 data[config](); 5913 } 5914 }); 5915 }; 5916 5917 _createClass(Tab, null, [{ 5918 key: 'VERSION', 5919 get: function get() { 5920 return VERSION; 5921 } 5922 }]); 5923 5924 return Tab; 5925 }(); 5926 5927 /** 5928 * ------------------------------------------------------------------------ 5929 * Data Api implementation 5930 * ------------------------------------------------------------------------ 5931 */ 5932 5933 $(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 5934 event.preventDefault(); 5935 Tab._jQueryInterface.call($(this), 'show'); 5936 }); 5937 5938 /** 5939 * ------------------------------------------------------------------------ 5940 * jQuery 5941 * ------------------------------------------------------------------------ 5942 */ 5943 5944 $.fn[NAME] = Tab._jQueryInterface; 5945 $.fn[NAME].Constructor = Tab; 5946 $.fn[NAME].noConflict = function () { 5947 $.fn[NAME] = JQUERY_NO_CONFLICT; 5948 return Tab._jQueryInterface; 5949 }; 5950 5951 return Tab; 5952}(jQuery); 5953 5954/* global Popper */ 5955 5956/** 5957 * -------------------------------------------------------------------------- 5958 * Bootstrap (v4.0.0-beta): tooltip.js 5959 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 5960 * -------------------------------------------------------------------------- 5961 */ 5962 5963var Tooltip = function ($) { 5964 5965 /** 5966 * Check for Popper dependency 5967 * Popper - https://popper.js.org 5968 */ 5969 if (typeof Popper === 'undefined') { 5970 throw new Error('Bootstrap tooltips require Popper.js (https://popper.js.org)'); 5971 } 5972 5973 /** 5974 * ------------------------------------------------------------------------ 5975 * Constants 5976 * ------------------------------------------------------------------------ 5977 */ 5978 5979 var NAME = 'tooltip'; 5980 var VERSION = '4.0.0-beta'; 5981 var DATA_KEY = 'bs.tooltip'; 5982 var EVENT_KEY = '.' + DATA_KEY; 5983 var JQUERY_NO_CONFLICT = $.fn[NAME]; 5984 var TRANSITION_DURATION = 150; 5985 var CLASS_PREFIX = 'bs-tooltip'; 5986 var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g'); 5987 5988 var DefaultType = { 5989 animation: 'boolean', 5990 template: 'string', 5991 title: '(string|element|function)', 5992 trigger: 'string', 5993 delay: '(number|object)', 5994 html: 'boolean', 5995 selector: '(string|boolean)', 5996 placement: '(string|function)', 5997 offset: '(number|string)', 5998 container: '(string|element|boolean)', 5999 fallbackPlacement: '(string|array)' 6000 }; 6001 6002 var AttachmentMap = { 6003 AUTO: 'auto', 6004 TOP: 'top', 6005 RIGHT: 'right', 6006 BOTTOM: 'bottom', 6007 LEFT: 'left' 6008 }; 6009 6010 var Default = { 6011 animation: true, 6012 template: '<div class="tooltip" role="tooltip">' + '<div class="arrow"></div>' + '<div class="tooltip-inner"></div></div>', 6013 trigger: 'hover focus', 6014 title: '', 6015 delay: 0, 6016 html: false, 6017 selector: false, 6018 placement: 'top', 6019 offset: 0, 6020 container: false, 6021 fallbackPlacement: 'flip' 6022 }; 6023 6024 var HoverState = { 6025 SHOW: 'show', 6026 OUT: 'out' 6027 }; 6028 6029 var Event = { 6030 HIDE: 'hide' + EVENT_KEY, 6031 HIDDEN: 'hidden' + EVENT_KEY, 6032 SHOW: 'show' + EVENT_KEY, 6033 SHOWN: 'shown' + EVENT_KEY,
6034 INSERTED: 'inserted' + EVENT_KEY, 6035 CLICK: 'click' + EVENT_KEY, 6036 FOCUSIN: 'focusin' + EVENT_KEY, 6037 FOCUSOUT: 'focusout' + EVENT_KEY, 6038 MOUSEENTER: 'mouseenter' + EVENT_KEY, 6039 MOUSELEAVE: 'mouseleave' + EVENT_KEY 6040 }; 6041 6042 var ClassName = { 6043 FADE: 'fade', 6044 SHOW: 'show' 6045 }; 6046 6047 var Selector = { 6048 TOOLTIP: '.tooltip', 6049 TOOLTIP_INNER: '.tooltip-inner', 6050 ARROW: '.arrow' 6051 }; 6052 6053 var Trigger = { 6054 HOVER: 'hover', 6055 FOCUS: 'focus', 6056 CLICK: 'click', 6057 MANUAL: 'manual' 6058 6059 /** 6060 * ------------------------------------------------------------------------ 6061 * Class Definition 6062 * ------------------------------------------------------------------------ 6063 */ 6064 6065 }; 6066 var Tooltip = function () { 6067 function Tooltip(element, config) { 6068 _classCallCheck(this, Tooltip); 6069 6070 // private 6071 this._isEnabled = true; 6072 this._timeout = 0; 6073 this._hoverState = ''; 6074 this._activeTrigger = {}; 6075 this._popper = null; 6076 6077 // protected 6078 this.element = element; 6079 this.config = this._getConfig(config); 6080 this.tip = null; 6081 6082 this._setListeners(); 6083 } 6084 6085 // getters 6086 6087 // public 6088 6089 Tooltip.prototype.enable = function enable() { 6090 this._isEnabled = true; 6091 }; 6092 6093 Tooltip.prototype.disable = function disable() { 6094 this._isEnabled = false; 6095 }; 6096 6097 Tooltip.prototype.toggleEnabled = function toggleEnabled() { 6098 this._isEnabled = !this._isEnabled; 6099 }; 6100 6101 Tooltip.prototype.toggle = function toggle(event) { 6102 if (event) { 6103 var dataKey = this.constructor.DATA_KEY; 6104 var context = $(event.currentTarget).data(dataKey); 6105 6106 if (!context) { 6107 context = new this.constructor(event.currentTarget, this._getDelegateConfig()); 6108 $(event.currentTarget).data(dataKey, context); 6109 } 6110 6111 context._activeTrigger.click = !context._activeTrigger.click; 6112 6113 if (context._isWithActiveTrigger()) { 6114 context._enter(null, context); 6115 } else { 6116 context._leave(null, context); 6117 } 6118 } else { 6119 6120 if ($(this.getTipElement()).hasClass(ClassName.SHOW)) { 6121 this._leave(null, this); 6122 return; 6123 } 6124 6125 this._enter(null, this); 6126 } 6127 }; 6128 6129 Tooltip.prototype.dispose = function dispose() { 6130 clearTimeout(this._timeout); 6131 6132 $.removeData(this.element, this.constructor.DATA_KEY); 6133 6134 $(this.element).off(this.constructor.EVENT_KEY); 6135 $(this.element).closest('.modal').off('hide.bs.modal'); 6136 6137 if (this.tip) { 6138 $(this.tip).remove(); 6139 } 6140 6141 this._isEnabled = null; 6142 this._timeout = null; 6143 this._hoverState = null; 6144 this._activeTrigger = null; 6145 if (this._popper !== null) { 6146 this._popper.destroy(); 6147 } 6148 this._popper = null; 6149 6150 this.element = null; 6151 this.config = null; 6152 this.tip = null; 6153 }; 6154 6155 Tooltip.prototype.show = function show() { 6156 var _this24 = this; 6157 6158 if ($(this.element).css('display') === 'none') { 6159 throw new Error('Please use show on visible elements'); 6160 } 6161 6162 var showEvent = $.Event(this.constructor.Event.SHOW); 6163 if (this.isWithContent() && this._isEnabled) { 6164 $(this.element).trigger(showEvent); 6165 6166 var isInTheDom = $.contains(this.element.ownerDocument.documentElement, this.element); 6167 6168 if (showEvent.isDefaultPrevented() || !isInTheDom) { 6169 return; 6170 } 6171 6172 var tip = this.getTipElement(); 6173 var tipId = Util.getUID(this.constructor.NAME); 6174
6175 tip.setAttribute('id', tipId); 6176 this.element.setAttribute('aria-describedby', tipId); 6177 6178 this.setContent(); 6179 6180 if (this.config.animation) { 6181 $(tip).addClass(ClassName.FADE); 6182 } 6183 6184 var placement = typeof this.config.placement === 'function' ? this.config.placement.call(this, tip, this.element) : this.config.placement; 6185 6186 var attachment = this._getAttachment(placement); 6187 this.addAttachmentClass(attachment); 6188 6189 var container = this.config.container === false ? document.body : $(this.config.container); 6190 6191 $(tip).data(this.constructor.DATA_KEY, this); 6192 6193 if (!$.contains(this.element.ownerDocument.documentElement, this.tip)) { 6194 $(tip).appendTo(container); 6195 } 6196 6197 $(this.element).trigger(this.constructor.Event.INSERTED); 6198 6199 this._popper = new Popper(this.element, tip, { 6200 placement: attachment, 6201 modifiers: { 6202 offset: { 6203 offset: this.config.offset 6204 }, 6205 flip: { 6206 behavior: this.config.fallbackPlacement 6207 }, 6208 arrow: { 6209 element: Selector.ARROW 6210 } 6211 }, 6212 onCreate: function onCreate(data) { 6213 if (data.originalPlacement !== data.placement) { 6214 _this24._handlePopperPlacementChange(data); 6215 } 6216 }, 6217 onUpdate: function onUpdate(data) { 6218 _this24._handlePopperPlacementChange(data); 6219 } 6220 }); 6221 6222 $(tip).addClass(ClassName.SHOW); 6223 6224 // if this is a touch-enabled device we add extra 6225 // empty mouseover listeners to the body's immediate children; 6226 // only needed because of broken event delegation on iOS 6227 // https://www.quirksmode.org/blog/archives/2014/02/mouse_event_bub.html 6228 if ('ontouchstart' in document.documentElement) { 6229 $('body').children().on('mouseover', null, $.noop); 6230 } 6231 6232 var complete = function complete() { 6233 if (_this24.config.animation) { 6234 _this24._fixTransition(); 6235 } 6236 var prevHoverState = _this24._hoverState; 6237 _this24._hoverState = null; 6238 6239 $(_this24.element).trigger(_this24.constructor.Event.SHOWN); 6240 6241 if (prevHoverState === HoverState.OUT) { 6242 _this24._leave(null, _this24); 6243 } 6244 }; 6245 6246 if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) { 6247 $(this.tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(Tooltip._TRANSITION_DURATION); 6248 } else { 6249 complete(); 6250 } 6251 } 6252 }; 6253 6254 Tooltip.prototype.hide = function hide(callback) { 6255 var _this25 = this; 6256 6257 var tip = this.getTipElement(); 6258 var hideEvent = $.Event(this.constructor.Event.HIDE); 6259 var complete = function complete() { 6260 if (_this25._hoverState !== HoverState.SHOW && tip.parentNode) { 6261 tip.parentNode.removeChild(tip); 6262 } 6263 6264 _this25._cleanTipClass(); 6265 _this25.element.removeAttribute('aria-describedby'); 6266 $(_this25.element).trigger(_this25.constructor.Event.HIDDEN); 6267 if (_this25._popper !== null) { 6268 _this25._popper.destroy(); 6269 } 6270 6271 if (callback) { 6272 callback(); 6273 } 6274 }; 6275 6276 $(this.element).trigger(hideEvent); 6277 6278 if (hideEvent.isDefaultPrevented()) { 6279 return; 6280 } 6281 6282 $(tip).removeClass(ClassName.SHOW); 6283 6284 // if this is a touch-enabled device we remove the extra 6285 // empty mouseover listeners we added for iOS support 6286 if ('ontouchstart' in document.documentElement) { 6287 $('body').children().off('mouseover', null, $.noop); 6288 } 6289 6290 this._activeTrigger[Trigger.CLICK] = false; 6291 this._activeTrigger[Trigger.FOCUS] = false; 6292 this._activeTrigger[Trigger.HOVER] = false; 6293 6294 if (Util.supportsTransitionEnd() && $(this.tip).hasClass(ClassName.FADE)) { 6295 6296 $(tip).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 6297 } else { 6298 complete(); 6299 } 6300 6301 this._hoverState = ''; 6302 }; 6303
6304 Tooltip.prototype.update = function update() { 6305 if (this._popper !== null) { 6306 this._popper.scheduleUpdate(); 6307 } 6308 }; 6309 6310 // protected 6311 6312 Tooltip.prototype.isWithContent = function isWithContent() { 6313 return Boolean(this.getTitle()); 6314 }; 6315 6316 Tooltip.prototype.addAttachmentClass = function addAttachmentClass(attachment) { 6317 $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment); 6318 }; 6319 6320 Tooltip.prototype.getTipElement = function getTipElement() { 6321 return this.tip = this.tip || $(this.config.template)[0]; 6322 }; 6323 6324 Tooltip.prototype.setContent = function setContent() { 6325 var $tip = $(this.getTipElement()); 6326 this.setElementContent($tip.find(Selector.TOOLTIP_INNER), this.getTitle()); 6327 $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW); 6328 }; 6329 6330 Tooltip.prototype.setElementContent = function setElementContent($element, content) { 6331 var html = this.config.html; 6332 if ((typeof content === 'undefined' ? 'undefined' : _typeof(content)) === 'object' && (content.nodeType || content.jquery)) { 6333 // content is a DOM node or a jQuery 6334 if (html) { 6335 if (!$(content).parent().is($element)) { 6336 $element.empty().append(content); 6337 } 6338 } else { 6339 $element.text($(content).text()); 6340 } 6341 } else { 6342 $element[html ? 'html' : 'text'](content); 6343 } 6344 }; 6345 6346 Tooltip.prototype.getTitle = function getTitle() { 6347 var title = this.element.getAttribute('data-original-title'); 6348 6349 if (!title) { 6350 title = typeof this.config.title === 'function' ? this.config.title.call(this.element) : this.config.title; 6351 } 6352 6353 return title; 6354 }; 6355 6356 // private 6357 6358 Tooltip.prototype._getAttachment = function _getAttachment(placement) { 6359 return AttachmentMap[placement.toUpperCase()]; 6360 }; 6361 6362 Tooltip.prototype._setListeners = function _setListeners() { 6363 var _this26 = this; 6364 6365 var triggers = this.config.trigger.split(' '); 6366 6367 triggers.forEach(function (trigger) { 6368 if (trigger === 'click') { 6369 $(_this26.element).on(_this26.constructor.Event.CLICK, _this26.config.selector, function (event) { 6370 return _this26.toggle(event); 6371 }); 6372 } else if (trigger !== Trigger.MANUAL) { 6373 var eventIn = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSEENTER : _this26.constructor.Event.FOCUSIN; 6374 var eventOut = trigger === Trigger.HOVER ? _this26.constructor.Event.MOUSELEAVE : _this26.constructor.Event.FOCUSOUT; 6375 6376 $(_this26.element).on(eventIn, _this26.config.selector, function (event) { 6377 return _this26._enter(event); 6378 }).on(eventOut, _this26.config.selector, function (event) { 6379 return _this26._leave(event); 6380 }); 6381 } 6382 6383 $(_this26.element).closest('.modal').on('hide.bs.modal', function () { 6384 return _this26.hide(); 6385 }); 6386 }); 6387 6388 if (this.config.selector) { 6389 this.config = $.extend({}, this.config, { 6390 trigger: 'manual', 6391 selector: '' 6392 }); 6393 } else { 6394 this._fixTitle(); 6395 } 6396 }; 6397 6398 Tooltip.prototype._fixTitle = function _fixTitle() { 6399 var titleType = _typeof(this.element.getAttribute('data-original-title')); 6400 if (this.element.getAttribute('title') || titleType !== 'string') { 6401 this.element.setAttribute('data-original-title', this.element.getAttribute('title') || ''); 6402 this.element.setAttribute('title', ''); 6403 } 6404 }; 6405 6406 Tooltip.prototype._enter = function _enter(event, context) { 6407 var dataKey = this.constructor.DATA_KEY; 6408 6409 context = context || $(event.currentTarget).data(dataKey); 6410 6411 if (!context) { 6412 context = new this.constructor(event.currentTarget, this._getDelegateConfig()); 6413 $(event.currentTarget).data(dataKey, context); 6414 } 6415 6416 if (event) { 6417 context._activeTrigger[event.type === 'focusin' ? Trigger.FOCUS : Trigger.HOVER] = true; 6418 } 6419 6420 if ($(context.getTipElement()).hasClass(ClassName.SHOW) || context._hoverState === HoverState.SHOW) { 6421 context._hoverState = HoverState.SHOW; 6422 return; 6423 } 6424 6425 clearTimeout(context._timeout); 6426 6427 context._hoverState = HoverState.SHOW; 6428 6429 if (!context.config.delay || !context.config.delay.show) { 6430 context.show(); 6431 return; 6432 } 6433 6434 context._timeout = setTimeout(function () { 6435 if (context._hoverState === HoverState.SHOW) { 6436 context.show(); 6437 } 6438 }, context.config.delay.show); 6439 }; 6440 6441 Tooltip.prototype._leave = function _leave(event, context) { 6442 var dataKey = this.constructor.DATA_KEY; 6443 6444 context = context || $(event.currentTarget).data(dataKey); 6445 6446 if (!context) { 6447 context = new this.constructor(event.currentTarget, this._getDelegateConfig()); 6448 $(event.currentTarget).data(dataKey, context); 6449 } 6450 6451 if (event) { 6452 context._activeTrigger[event.type === 'focusout' ? Trigger.FOCUS : Trigger.HOVER] = false; 6453 } 6454 6455 if (context._isWithActiveTrigger()) { 6456 return; 6457 } 6458 6459 clearTimeout(context._timeout); 6460 6461 context._hoverState = HoverState.OUT; 6462 6463 if (!context.config.delay || !context.config.delay.hide) { 6464 context.hide(); 6465 return; 6466 } 6467 6468 context._timeout = setTimeout(function () { 6469 if (context._hoverState === HoverState.OUT) { 6470 context.hide(); 6471 } 6472 }, context.config.delay.hide); 6473 }; 6474 6475 Tooltip.prototype._isWithActiveTrigger = function _isWithActiveTrigger() { 6476 for (var trigger in this._activeTrigger) { 6477 if (this._activeTrigger[trigger]) { 6478 return true; 6479 } 6480 } 6481 6482 return false; 6483 }; 6484 6485 Tooltip.prototype._getConfig = function _getConfig(config) { 6486 config = $.extend({}, this.constructor.Default, $(this.element).data(), config); 6487 6488 if (config.delay && typeof config.delay === 'number') { 6489 config.delay = { 6490 show: config.delay, 6491 hide: config.delay 6492 }; 6493 } 6494 6495 if (config.title && typeof config.title === 'number') { 6496 config.title = config.title.toString(); 6497 } 6498 6499 if (config.content && typeof config.content === 'number') { 6500 config.content = config.content.toString(); 6501 } 6502 6503 Util.typeCheckConfig(NAME, config, this.constructor.DefaultType); 6504 6505 return config; 6506 }; 6507 6508 Tooltip.prototype._getDelegateConfig = function _getDelegateConfig() { 6509 var config = {}; 6510 6511 if (this.config) { 6512 for (var key in this.config) { 6513 if (this.constructor.Default[key] !== this.config[key]) { 6514 config[key] = this.config[key]; 6515 } 6516 } 6517 } 6518 6519 return config; 6520 }; 6521 6522 Tooltip.prototype._cleanTipClass = function _cleanTipClass() { 6523 var $tip = $(this.getTipElement()); 6524 var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); 6525 if (tabClass !== null && tabClass.length > 0) { 6526 $tip.removeClass(tabClass.join(''));
6527 } 6528 }; 6529 6530 Tooltip.prototype._handlePopperPlacementChange = function _handlePopperPlacementChange(data) { 6531 this._cleanTipClass(); 6532 this.addAttachmentClass(this._getAttachment(data.placement)); 6533 }; 6534 6535 Tooltip.prototype._fixTransition = function _fixTransition() { 6536 var tip = this.getTipElement(); 6537 var initConfigAnimation = this.config.animation; 6538 if (tip.getAttribute('x-placement') !== null) { 6539 return; 6540 } 6541 $(tip).removeClass(ClassName.FADE); 6542 this.config.animation = false; 6543 this.hide(); 6544 this.show(); 6545 this.config.animation = initConfigAnimation; 6546 }; 6547 6548 // static 6549 6550 Tooltip._jQueryInterface = function _jQueryInterface(config) { 6551 return this.each(function () { 6552 var data = $(this).data(DATA_KEY); 6553 var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' && config; 6554 6555 if (!data && /dispose|hide/.test(config)) { 6556 return; 6557 } 6558 6559 if (!data) { 6560 data = new Tooltip(this, _config); 6561 $(this).data(DATA_KEY, data); 6562 } 6563 6564 if (typeof config === 'string') { 6565 if (data[config] === undefined) { 6566 throw new Error('No method named "' + config + '"'); 6567 } 6568 data[config](); 6569 } 6570 }); 6571 }; 6572 6573 _createClass(Tooltip, null, [{ 6574 key: 'VERSION', 6575 get: function get() { 6576 return VERSION; 6577 } 6578 }, { 6579 key: 'Default', 6580 get: function get() { 6581 return Default; 6582 } 6583 }, { 6584 key: 'NAME', 6585 get: function get() { 6586 return NAME; 6587 } 6588 }, { 6589 key: 'DATA_KEY', 6590 get: function get() { 6591 return DATA_KEY; 6592 } 6593 }, { 6594 key: 'Event', 6595 get: function get() { 6596 return Event; 6597 } 6598 }, { 6599 key: 'EVENT_KEY', 6600 get: function get() { 6601 return EVENT_KEY; 6602 } 6603 }, { 6604 key: 'DefaultType', 6605 get: function get() { 6606 return DefaultType; 6607 } 6608 }]); 6609 6610 return Tooltip; 6611 }(); 6612 6613 /** 6614 * ------------------------------------------------------------------------ 6615 * jQuery 6616 * ------------------------------------------------------------------------ 6617 */ 6618 6619 $.fn[NAME] = Tooltip._jQueryInterface; 6620 $.fn[NAME].Constructor = Tooltip; 6621 $.fn[NAME].noConflict = function () { 6622 $.fn[NAME] = JQUERY_NO_CONFLICT; 6623 return Tooltip._jQueryInterface; 6624 }; 6625 6626 return Tooltip; 6627}(jQuery); 6628 6629/** 6630 * -------------------------------------------------------------------------- 6631 * Bootstrap (v4.0.0-beta): popover.js 6632 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 6633 * -------------------------------------------------------------------------- 6634 */ 6635 6636var Popover = function ($) { 6637 6638 /** 6639 * ------------------------------------------------------------------------ 6640 * Constants 6641 * ------------------------------------------------------------------------ 6642 */ 6643 6644 var NAME = 'popover'; 6645 var VERSION = '4.0.0-beta'; 6646 var DATA_KEY = 'bs.popover'; 6647 var EVENT_KEY = '.' + DATA_KEY; 6648 var JQUERY_NO_CONFLICT = $.fn[NAME]; 6649 var CLASS_PREFIX = 'bs-popover'; 6650 var BSCLS_PREFIX_REGEX = new RegExp('(^|\\s)' + CLASS_PREFIX + '\\S+', 'g'); 6651 6652 var Default = $.extend({}, Tooltip.Default, { 6653 placement: 'right', 6654 trigger: 'click', 6655 content: '', 6656 template: '<div class="popover" role="tooltip">' + '<div class="arrow"></div>' + '<h3 class="popover-header"></h3>' + '<div class="popover-body"></div></div>' 6657 }); 6658 6659 var DefaultType = $.extend({}, Tooltip.DefaultType, { 6660 content: '(string|element|function)' 6661 }); 6662 6663 var ClassName = { 6664 FADE: 'fade', 6665 SHOW: 'show' 6666 }; 6667 6668 var Selector = { 6669 TITLE: '.popover-header', 6670 CONTENT: '.popover-body' 6671 }; 6672 6673 var Event = { 6674 HIDE: 'hide' + EVENT_KEY, 6675 HIDDEN: 'hidden' + EVENT_KEY, 6676 SHOW: 'show' + EVENT_KEY, 6677 SHOWN: 'shown' + EVENT_KEY, 6678 INSERTED: 'inserted' + EVENT_KEY, 6679 CLICK: 'click' + EVENT_KEY, 6680 FOCUSIN: 'focusin' + EVENT_KEY, 6681 FOCUSOUT: 'focusout' + EVENT_KEY, 6682 MOUSEENTER: 'mouseenter' + EVENT_KEY, 6683 MOUSELEAVE: 'mouseleave' + EVENT_KEY 6684 6685 /** 6686 * ------------------------------------------------------------------------ 6687 * Class Definition 6688 * ------------------------------------------------------------------------ 6689 */ 6690 6691 }; 6692 var Popover = function (_Tooltip) {
6693 _inherits(Popover, _Tooltip); 6694 6695 function Popover() { 6696 _classCallCheck(this, Popover); 6697 6698 return _possibleConstructorReturn(this, _Tooltip.apply(this, arguments)); 6699 } 6700 6701 // overrides 6702 6703 Popover.prototype.isWithContent = function isWithContent() { 6704 return this.getTitle() || this._getContent(); 6705 }; 6706 6707 Popover.prototype.addAttachmentClass = function addAttachmentClass(attachment) { 6708 $(this.getTipElement()).addClass(CLASS_PREFIX + '-' + attachment); 6709 }; 6710 6711 Popover.prototype.getTipElement = function getTipElement() { 6712 return this.tip = this.tip || $(this.config.template)[0]; 6713 }; 6714 6715 Popover.prototype.setContent = function setContent() { 6716 var $tip = $(this.getTipElement()); 6717 6718 // we use append for html objects to maintain js events 6719 this.setElementContent($tip.find(Selector.TITLE), this.getTitle()); 6720 this.setElementContent($tip.find(Selector.CONTENT), this._getContent()); 6721 6722 $tip.removeClass(ClassName.FADE + ' ' + ClassName.SHOW); 6723 }; 6724 6725 // private 6726 6727 Popover.prototype._getContent = function _getContent() { 6728 return this.element.getAttribute('data-content') || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content); 6729 }; 6730 6731 Popover.prototype._cleanTipClass = function _cleanTipClass() { 6732 var $tip = $(this.getTipElement()); 6733 var tabClass = $tip.attr('class').match(BSCLS_PREFIX_REGEX); 6734 if (tabClass !== null && tabClass.length > 0) { 6735 $tip.removeClass(tabClass.join('')); 6736 } 6737 }; 6738 6739 // static 6740 6741 Popover._jQueryInterface = function _jQueryInterface(config) { 6742 return this.each(function () { 6743 var data = $(this).data(DATA_KEY); 6744 var _config = (typeof config === 'undefined' ? 'undefined' : _typeof(config)) === 'object' ? config : null; 6745 6746 if (!data && /destroy|hide/.test(config)) { 6747 return; 6748 } 6749 6750 if (!data) { 6751 data = new Popover(this, _config); 6752 $(this).data(DATA_KEY, data); 6753 } 6754 6755 if (typeof config === 'string') { 6756 if (data[config] === undefined) { 6757 throw new Error('No method named "' + config + '"'); 6758 } 6759 data[config](); 6760 } 6761 }); 6762 }; 6763 6764 _createClass(Popover, null, [{ 6765 key: 'VERSION', 6766 6767 6768 // getters 6769 6770 get: function get() { 6771 return VERSION; 6772 } 6773 }, { 6774 key: 'Default', 6775 get: function get() { 6776 return Default; 6777 } 6778 }, { 6779 key: 'NAME', 6780 get: function get() { 6781 return NAME; 6782 } 6783 }, { 6784 key: 'DATA_KEY', 6785 get: function get() { 6786 return DATA_KEY; 6787 } 6788 }, { 6789 key: 'Event', 6790 get: function get() { 6791 return Event; 6792 } 6793 }, { 6794 key: 'EVENT_KEY', 6795 get: function get() { 6796 return EVENT_KEY; 6797 } 6798 }, { 6799 key: 'DefaultType', 6800 get: function get() { 6801 return DefaultType; 6802 } 6803 }]); 6804 6805 return Popover; 6806 }(Tooltip); 6807 6808 /** 6809 * ------------------------------------------------------------------------ 6810 * jQuery 6811 * ------------------------------------------------------------------------ 6812 */ 6813 6814 $.fn[NAME] = Popover._jQueryInterface; 6815 $.fn[NAME].Constructor = Popover; 6816 $.fn[NAME].noConflict = function () { 6817 $.fn[NAME] = JQUERY_NO_CONFLICT; 6818 return Popover._jQueryInterface; 6819 }; 6820 6821 return Popover; 6822}(jQuery); 6823 6824 6825})(); 6826/** 6827 * Newsroom 6828 */ 6829;window.NEWSROOM = window.NEWSROOM || {}; 6830;(function(NAMESPACE, $){ 6831 6832 var newsContentUrl; 6833 var newsContentUrlList; 6834 var category = { 6835 current: "all", 6836 previous: "all" 6837 }; 6838 var topic = { 6839 current: "all", 6840 previous: "all" 6841 }; 6842 var categoryList = { 6843 current: "all", 6844 previous: "all" 6845 }; 6846 var topicList = { 6847 current: "all", 6848 previous: "all" 6849 }; 6850 6851 NAMESPACE.loadMoreArticles = function(url){ 6852 event.preventDefault(); 6853 if(url){ 6854 // console.log('Load more articles from: '+url); 6855 var target = $(event.target); 6856 var loader = target.prev(); 6857 var wrapper = target.closest('div');
6858 var container = $('.article-snapshots'); 6859 target.hide(); 6860 loader.show(); 6861 6862 //fix downgrade from https to http during get 6863 if (url.startsWith("/")) { 6864 url = window.location.origin + url 6865 } 6866 6867 $.get(url).done(function(data){ 6868 setTimeout(function(){ // PL want a delay even we can show faster... 6869 wrapper.remove(); 6870 container.append(data); 6871 }, 1000); 6872 }).fail(function(error){ 6873 console.log('Error response: '+error); 6874 }); 6875 } 6876 }; 6877 6878 NAMESPACE.loadMoreArticlesList = function(url){ 6879 event.preventDefault(); 6880 if(url){ 6881 // console.log('Load more articles from: '+url); 6882 var target = $(event.target); 6883 var loader = target.prev(); 6884 var wrapper = target.closest('div'); 6885 var container = $('.article-snapshots--list'); 6886 target.hide(); 6887 loader.show(); 6888 6889 //fix downgrade from https to http during get 6890 if (url.startsWith("/")) { 6891 url = window.location.origin + url 6892 } 6893 6894 $.get(url).done(function(data){ 6895 setTimeout(function(){ // PL want a delay even we can show faster... 6896 wrapper.remove(); 6897 container.append(data); 6898 }, 1000); 6899 }).fail(function(error){ 6900 console.log('Error response: '+error); 6901 }); 6902 } 6903 }; 6904 6905 NAMESPACE.toggleArticleSnapShots = function(event, classStr) { 6906 event.preventDefault(); 6907 $(event.target).siblings().removeClass('btn--selected'); 6908 $(event.target).addClass('btn--selected'); 6909 6910 if(classStr == '.article-snapshots') { 6911 $('.article-snapshots--list').hide(); 6912 $('.news_article_filter_list').hide(); 6913 $('.article-snapshots').show(); 6914 $('.news_article_filter').show(); 6915 6916 } 6917 else if(classStr == '.article-snapshots--list') { 6918 $('.article-snapshots--list').show(); 6919 $('.news_article_filter_list').show(); 6920 $('.article-snapshots').hide(); 6921 $('.news_article_filter').hide(); 6922 } 6923 }; 6924 6925 function filterArticles(url){ 6926 6927 if(category.current == category.previous && topic.current == topic.previous){ 6928 return; 6929 } 6930 6931 if(url){ 6932 var container = $('.article-snapshots'); 6933 6934 if(url.indexOf('?') > -1){ 6935 url += '&category=' + category.current; 6936 } 6937 else{ 6938 url += '?category=' + category.current; 6939 } 6940 6941 url += '&topic=' + topic.current; 6942 6943 $.get(url).done(function(data){ 6944 container.html(data); 6945 category.previous = category.current; 6946 topic.previous = topic.current; 6947 }).fail(function(error){ 6948 console.log('Error response: ' + error); 6949 }); 6950 6951 } 6952 } 6953 6954 function filterArticlesList(url){ 6955 6956 if(categoryList.current == categoryList.previous && topicList.current == topicList.previous){ 6957 return; 6958 } 6959 6960 if(url){ 6961 var container = $('.article-snapshots--list'); 6962 6963 if(url.indexOf('?') > -1){ 6964 url += '&category=' + categoryList.current; 6965 } 6966 else{ 6967 url += '?category=' + categoryList.current; 6968 } 6969 6970 url += '&topic=' + topicList.current; 6971 6972 $.get(url).done(function(data){ 6973 container.html(data); 6974 categoryList.previous = categoryList.current; 6975 topicList.previous = topicList.current; 6976 }).fail(function(error){ 6977 console.log('Error response: ' + error); 6978 }); 6979 6980 } 6981 } 6982 /* ========================================================================== 6983 * VIDEO PLAYER PAGE 6984 * ========================================================================== */ 6985 var CHECK_MOBILE_VIEW = false; 6986 NAMESPACE.videoPlayerPage = (function() { 6987 var $videoPlayer = $('.video-player-full'), 6988 $playerInner = $videoPlayer.find('.youtube'), 6989 _isOpen = false, 6990 _resizeTimeout; 6991 6992 var showVideo = function(videoId, pvUrl) { 6993 $videoPlayer.addClass('preloader--active'); 6994 $videoPlayer.find('.close').focus(); 6995 $videoPlayer.css('opacity', 0).addClass('is-active').transition({ 6996 opacity: 1 6997 }, 500, function() { 6998 $videoPlayer.addClass('is-active'); 6999 $playerInner.find('.youtube-inner').addClass('is-hidden'); 7000 $('body').addClass('is-videoplayer'); 7001 $(window).on('resize orientationchange', _updateVideoPlayerSize); 7002 7003 });
7004 loadVideo(videoId, pvUrl); 7005 }; 7006 7007 var loadVideo = function(videoId, pvUrl) { 7008 $videoPlayer.find('.youtube-inner').remove(); 7009 7010 if(pvUrl) { 7011 $playerInner.append('<iframe class="youtube-inner is-hidden" title="Video player" src="'+ pvUrl + '" type="text/html" frameborder="0" allowfullscreen></iframe>'); 7012 } 7013 else { 7014 $playerInner.append('<iframe id="ytplayer-'+videoId+'" class="youtube-inner is-hidden" title="Video player" src="//www.youtube.com/embed/' + videoId + '?rel=0&showinfo=0&color=white&autoplay=1" type="text/html" frameborder="0" allowfullscreen></iframe>'); 7015 } 7016 7017 setTimeout(function() { //provide a slight timeout for UX - can remove later. 7018 $videoPlayer.removeClass('preloader--active'); 7019 $playerInner.find('.youtube-inner').removeClass('is-hidden'); 7020 _updateVideoPlayerSize(); 7021 }, 1000); 7022 }; 7023 7024 var closeVideo = function() { 7025 $videoPlayer.css('opacity', 1).addClass('is-active').transition({ 7026 opacity: 0 7027 }, 500, function() { 7028 $videoPlayer.removeClass('is-active'); 7029 $('body').removeClass('is-videoplayer'); 7030 7031 _isOpen = false; 7032 $(window).off('resize orientationchange', _updateVideoPlayerSize); 7033 7034 $playerInner.find('iframe').remove(); 7035 }); 7036 7037 // window.History.pushState(null, window.document.title, window.location.pathname); 7038 7039 }; 7040 7041 var _updateVideoPlayerSize = function() { 7042 clearTimeout(_resizeTimeout); 7043 _resizeTimeout = null; 7044 7045 $playerInner.find('.youtube-inner').css({ 7046 top: 0, 7047 left: 0, 7048 width: 0, 7049 height: 0 7050 }); 7051 7052 _resizeTimeout = setTimeout(function(){ 7053 var windowWidth = $videoPlayer.width(), 7054 windowHeight = $(window).height() - 200, 7055 windowRatio = windowWidth / windowHeight, 7056 videoRatio = 16 / 9, 7057 videoWidth = 0, 7058 videoHeight = 0, 7059 videoTop = 0, 7060 videoLeft = 0; 7061 7062 if(windowRatio > videoRatio) { //if the window is wider than 16:9 - constrain by height 7063 videoHeight = windowHeight; 7064 videoWidth = windowHeight * videoRatio; 7065 7066 videoTop = 100; //don't need to change top position 7067 videoLeft = (windowWidth - videoWidth) / 2; //center align 7068 } else { //if the window is less than 16:9 - constrain by width 7069 videoWidth = windowWidth; 7070 videoHeight = windowWidth / videoRatio; 7071 7072 videoTop = (windowHeight - videoHeight) / 2; //center align 7073 videoLeft = 0; //don't need to change left position 7074 } 7075 7076 $playerInner.find('.youtube-inner').css({ 7077 top: videoTop, 7078 left: videoLeft, 7079 width: videoWidth+'px', 7080 height: videoHeight+'px' 7081 }); 7082 }, 100); 7083 }; 7084 7085 var init = function() { 7086 7087 var videoId = NAMESPACE.util.getParameterByName('video'); 7088 7089 if(videoId !== '') { 7090 showVideo(videoId); 7091 } 7092 7093 $videoPlayer.find('.close').off('click.videoPlayer').on('click.videoPlayer', function(event){ 7094 event.preventDefault(); 7095 closeVideo(); 7096 }); 7097 7098 //for mobile mode, we need to change href to point to youtube URL. 7099 //This is to ensure that we navigate to youtube page when the javascript is disabled as a fallback. 7100 if (NAMESPACE.IS_RESPONSIVE) { 7101 enquire.register(NAMESPACE.mediaQueries.bp('0,s'), { 7102 match: function () { 7103 CHECK_MOBILE_VIEW = true; 7104 $('.fn_videoPlayerFull').attr('href','http://youtube.com/watch?v='+$('.fn_videoPlayerFull').attr('data-video-id')); 7105 } 7106 }); 7107 7108 enquire.register(NAMESPACE.mediaQueries.bp('m,xxl'), { 7109 match: function () { 7110 CHECK_MOBILE_VIEW = false; 7111 } 7112 }); 7113 } 7114 7115 7116 $('.fn_videoPlayerFull').on('click', function(event){ 7117 var pvUrl = $(this).attr('data-pv-url'); 7118 7119 if(!CHECK_MOBILE_VIEW){ 7120 event.preventDefault(); 7121 // window.History.init(); 7122 videoId = (typeof($(this).attr('data-video-id')) === 'string') ? $(this).attr('data-video-id') : '2674272384001'; 7123 // window.History.pushState(null, window.document.title, window.location.pathname + '?' + 'video=' + videoId); 7124 showVideo(videoId, pvUrl); 7125 } 7126 else { 7127 if(pvUrl) { 7128 event.preventDefault(); 7129 showVideo(videoId, pvUrl); 7130 } 7131 else { 7132 $('.fn_videoPlayerFull').attr('href','http://youtube.com/watch?v='+$('.fn_videoPlayerFull').attr('data-video-id')); 7133 } 7134 } 7135 }); 7136 }; 7137 7138 return { 7139 showVideo: showVideo, 7140 loadVideo: loadVideo, 7141 closeVideo: closeVideo, 7142 init: init, 7143 isOpen: function() { 7144 return _isOpen; 7145 } 7146 }; 7147 }()); 7148 7149 7150 NAMESPACE.util = (function(){ 7151 var getParameterByName = function(queryStringName) { 7152 var name = queryStringName.replace(/[\[]/, '\\[').replace(/[\]]/, '\\]'); 7153 var regex = new RegExp('[\\?&]' + name + '=([^&#]*)'), 7154 results = regex.exec(location.search); 7155 return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' ')); 7156 }; 7157 7158 return { 7159 getParameterByName: getParameterByName 7160 }; 7161 })(); 7162 7163 NAMESPACE.events =(function() { 7164 newsContentUrl = $('#news_article_filter').attr('data-content-url'); 7165 newsContentUrlList = $('#news_article_filter_list').attr('data-content-url'); 7166 // article category 7167 $('#article_category_dropdown .dropdown-item').click(function(e){
7168 e.preventDefault(); 7169 var selectedItemText = $(this).text(); 7170 $('#article_category_dropdown .filter-dropdown-toggle .selected-item').text(selectedItemText); 7171 category.current = $(this).attr('data-category-value'); 7172 filterArticles(newsContentUrl); 7173 7174 }); 7175 // article topic 7176 $('#article_topic_dropdown .dropdown-item').click(function(e){ 7177 e.preventDefault(); 7178 var selectedItemText = $(this).text(); 7179 $('#article_topic_dropdown .filter-dropdown-toggle .selected-item').text(selectedItemText); 7180 topic.current = $(this).attr('data-topic-value'); 7181 filterArticles(newsContentUrl); 7182 }); 7183 7184 $('#article_category_dropdown_list .dropdown-item').click(function(e){ 7185 e.preventDefault(); 7186 var selectedItemText = $(this).text(); 7187 $('#article_category_dropdown_list .filter-dropdown-toggle .selected-item').text(selectedItemText); 7188 categoryList.current = $(this).attr('data-category-value-list'); 7189 7190 filterArticlesList(newsContentUrlList); 7191 7192 }); 7193 // article topic 7194 $('#article_topic_dropdown_list .dropdown-item').click(function(e){ 7195 e.preventDefault(); 7196 var selectedItemText = $(this).text(); 7197 $('#article_topic_dropdown_list .filter-dropdown-toggle .selected-item').text(selectedItemText); 7198 topicList.current = $(this).attr('data-topic-value-list'); 7199 7200 filterArticlesList(newsContentUrlList); 7201 }); 7202 // sub nav dropdown 7203 //$('#sub_nav_mobile_dropdown .dropdown-item').click(function(e){ 7204 // e.preventDefault(); 7205 //var selectedItemText = $(this).text(); 7206 //$('#sub_nav_mobile_dropdown .sub-nav-dropdown-toggle .selected-item').text(selectedItemText); 7207 //}); 7208 7209 7210 collapseNext = function() { 7211 $('body').on('click', '[data-toggle=collapse-next]', function (e) { 7212 7213 var $target = $(this).parent().next(); 7214 7215 7216 if($target.hasClass('show')) { 7217 $(this).addClass('collapsed'); 7218 } 7219 else { 7220 if(!$(this).hasClass()) { 7221 $(this).removeClass('collapsed'); 7222 $(this).addClass('opened'); 7223 } 7224 else { 7225 $(this).removeClass('opened'); 7226 $(this).removeClass('collapsed'); 7227 } 7228 } 7229 7230 $target.collapse('toggle'); 7231 }) 7232 }; 7233 7234 collapseNext(); 7235 NAMESPACE.videoPlayerPage.init(); 7236 })(); 7237})(NEWSROOM, jQuery); 7238 7239 7240(function(root) { 7241 "use strict"; 7242 root.modelLib = { 7243 lib: null, 7244 setLibrary: function(currLib, config) { 7245 if (currLib) { 7246 this.currLib = currLib; 7247 } 7248 }, 7249 setContent: function(content) { 7250 this.lib.setContent(content); 7251 }, 7252 open: function() { 7253 this.lib.open(); 7254 }, 7255 initializeModel: function(config, html) { 7256 if (this.currLib) { 7257 this.lib = new this.currLib(config); 7258 } 7259 this.open(); 7260 this.setContent(html); 7261 } 7262 }; 7263 7264})(window); 7265 7266var popupModal = tingle; 7267(function(popupModal, window) { 7268 "use strict"; 7269 var config = { 7270 cssClass: ["custom-modal"], 7271 onClose: function() { 7272 window.location.hash = ""; 7273 } 7274 }; 7275 7276 window.modelLib.setLibrary(popupModal.modal); 7277 7278 function getDataContentUrl() { 7279 var modalIdEl = document.querySelectorAll("div[data-modal-show='true']")[0]; 7280 if (modalIdEl) { 7281 if (modalIdEl.getAttribute("data-script")) { 7282 if (!eval(modalIdEl.getAttribute("data-script"))) { 7283 return modalIdEl.getAttribute("data-content-url"); 7284 } 7285 } 7286 } 7287 } 7288 7289 function fetchData(url) { 7290 var xhttp; 7291 xhttp = new XMLHttpRequest(); 7292 xhttp.onreadystatechange = function() { 7293 if (this.readyState === 4 && this.status === 200) { 7294 window.modelLib.initializeModel(config, this.responseText); 7295 } 7296 }; 7297 xhttp.open("GET", url, true); 7298 xhttp.send(); 7299 } 7300 7301 document.addEventListener("DOMContentLoaded", function() { 7302 var modalContentUrl = getDataContentUrl(); 7303 if (modalContentUrl) { 7304 fetchData(modalContentUrl); 7305 } 7306 }); 7307 7308}(popupModal, window)); 7309 7310 7311var historicaldata = tingle; 7312(function(historicaldata, window) { 7313 "use strict"; 7314 var config = { 7315 cssClass: ["historical-data-modal"], 7316 onClose: function() { 7317 window.location.hash = ""; 7318 }, 7319 closeMethods: ['overlay', 'button', 'escape'] 7320 }; 7321 window.modelLib.setLibrary(historicaldata.modal); 7322 function fetchData(url, element) { 7323 var xhttp; 7324 xhttp = new XMLHttpRequest(); 7325 xhttp.onreadystatechange = function() { 7326 if (this.readyState === 4 && this.status === 200) { 7327 let modalID = $(element).data('history-modal'); 7328 config.cssClass = [modalID] 7329 window.modelLib.initializeModel(config, this.responseText); 7330 let modalIdentifier = `.${modalID}`; 7331 $(`${modalIdentifier}
7331 .historical_data_modal-sub_title`).text($(element).attr('fund-name')); 7332 $(`${modalIdentifier} .historical_data_date_submit`)[0].setAttribute('data-url', $(element).attr('data-url')); 7333 $(`${modalIdentifier} .historical_data_date_form input`).attr('max', new Date().toISOString().split("T")[0]) 7334 } 7335 }; 7336 xhttp.open("GET", url, true); 7337 xhttp.send(); 7338 } 7339 function populateData(element, url) { 7340 var xhttp; 7341 xhttp = new XMLHttpRequest(); 7342 xhttp.onreadystatechange = function() { 7343 if (this.readyState === 4 && this.status === 200) { 7344 $(element).closest('.historical-data').find('.historical_data_modal-details').html(this.responseText); 7345 } 7346 } 7347 xhttp.open("GET", url, true); 7348 xhttp.send(); 7349 } 7350 $("body").on("click", ".historical-data .historical_data_date_submit", function(evt) { 7351 let fromDate = $(this).closest('.historical_data_date_form').find('.from-date').val(); 7352 let toDate = $(this).closest('.historical_data_date_form').find('.to-date').val(); 7353 let url = $(this).data('url').replace("{dateFrom}",fromDate).replace("{dateTo}",toDate); 7354 populateData(this, url); 7355 }); 7356 $('.pricing_performance-row-detail .historical-data-modal-open').click(function(e){ 7357 let modalInfo = $(this).data('modal-data'); 7358 if (modalInfo) { 7359 fetchData(modalInfo, this); 7360 } 7361 }); 7362}(historicaldata, window)); 7363!function(n){var r={};function i(t){if(r[t])return r[t].exports;var e=r[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=n,i.c=r,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=339)}([function(t,e,n){function p(t,e,n){var r,i,o,a=t&p.F,s=t&p.G,c=t&p.P,l=t&p.B,u=s?h:t&p.S?h[e]||(h[e]={}):(h[e]||{})[b],f=s?v:v[e]||(v[e]={}),d=f[b]||(f[b]={});for(r in n=s?e:n)i=((o=!a&&u&&void 0!==u[r])?u:n)[r],o=l&&o?y(i,h):c&&"function"==typeof i?y(Function.call,i):i,u&&g(u,r,i,t&p.U),f[r]!=i&&m(f,r,o),c&&d[r]!=i&&(d[r]=i)}var h=n(1),v=n(7),m=n(14),g=n(11),y=n(17),b="prototype";h.core=v,p.F=1,p.G=2,p.S=4,p.P=8,p.B=16,p.W=32,p.U=64,p.R=128,t.exports=p},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var r=n(4);t.exports=function(t){if(r(t))return t;throw TypeError(t+" is not an object!")}},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){var r=n(56)("wks"),i=n(32),o=n(1).Symbol,a="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=a&&o[t]||(a?o:i)("Symbol."+t))}).store=r},function(t,e,n){var r=n(19),i=Math.min;t.exports=function(t){return 0<t?i(r(t),9007199254740991):0}},function(t,e){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},function(t,e,n){t.exports=!n(2)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(3),i=n(99),o=n(28),a=Object.defineProperty;e.f=n(8)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(24);t.exports=function(t){return Object(r(t))}},function(t,e,n){var o=n(1),a=n(14),s=n(13),c=n(32)("src"),r=n(154),i="toString",l=(""+r).split(i);n(7).inspectSource=function(t){return r.call(t)},(t.exports=function(t,e,n,r){var i="function"==typeof n;i&&!s(n,"name")&&a(n,"name",e),t[e]!==n&&(i&&!s(n,c)&&a(n,c,t[e]?""+t[e]:l.join(String(e))),t===o?t[e]=n:r?t[e]?t[e]=n:a(t,e,n):(delete t[e],a(t,e,n)))})(Function.prototype,i,function(){return"function"==typeof this&&this[c]||r.call(this)})},function(t,e,n){function r(t,e,n,r){var t=String(a(t)),i="<"+e;return""!==n&&(i+=" "+n+'="'+String(r).replace(s,""")+'"'),i+">"+t+"</"+e+">"}var i=n(0),o=n(2),a=n(24),s=/"/g;t.exports=function(e,t){var n={};n[e]=t(r),i(i.P+i.F*o(function(){var t=""[e]('"');return t!==t.toLowerCase()||3<t.split('"').length}),"String",n)}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(9),i=n(31);t.exports=n(8)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(49),i=n(24);t.exports=function(t){return r(i(t))}},function(t,e,n){"use strict";var r=n(2);t.exports=function(t,e){return!!t&&r(function(){e?t.call(null,function(){},1):t.call(null)})}},function(t,e,n){var o=n(18);t.exports=function(r,i,t){if(o(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e){var n=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(0<t?r:n)(t)}},function(t,e,n){var r=n(50),i=n(31),o=n(15),a=n(28),s=n(13),c=n(99),l=Object.getOwnPropertyDescriptor;e.f=n(8)?l:function(t,e){if(t=o(t),e=a(e,!0),c)try{return l(t,e)}catch(t){}if(s(t,e))return i(!r.f.call(t,e),t[e])}},function(t,e,n){var i=n(0),o=n(7),a=n(2);t.exports=function(t,e){var n=(o.Object||{})[t]||Object[t],r={};r[t]=e(n),i(i.S+i.F*a(function(){n(1)}),"Object",r)}}
vendor: 5,088 bytes, line 7363
7363,function(t,e,n){var b=n(17),w=n(49),_=n(10),x=n(6),r=n(115);t.exports=function(f,t){var d=1==f,p=2==f,h=3==f,v=4==f,m=6==f,g=5==f||m,y=t||r;return function(t,e,n){for(var r,i,o=_(t),a=w(o),s=b(e,n,3),c=x(a.length),l=0,u=d?y(t,c):p?y(t,0):void 0;l<c;l++)if((g||l in a)&&(i=s(r=a[l],l,o),f))if(d)u[l]=i;else if(i)switch(f){case 3:return!0;case 5:return r;case 6:return l;case 2:u.push(r)}else if(v)return!1;return m?-1:h||v?v:u}}},function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},function(t,e){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(N,F,t){"use strict";var p,h,v,m,g,$,R,B,y,e,H,b,q,z,W,r,V,w,U,Y,G,K,_,X,J,Q,n,i,Z,tt,et,nt,rt,it,x,ot,S,at,o,st,ct,lt,E,C,ut,ft,dt,pt,ht,vt,mt,gt,yt,bt,wt,_t,xt,St,Et,Ct,kt,At,k,a,A,O,Ot,D,s,L,Dt,M,Lt,Mt,Tt,T,c,f,Pt,P,l,It,jt,Nt,Ft,$t,Rt,Bt,I,Ht,u,d,j;t(8)?(p=t(33),h=t(1),v=t(2),m=t(0),g=t(67),s=t(94),$=t(17),R=t(46),B=t(31),y=t(14),e=t(47),H=t(19),b=t(6),q=t(126),z=t(35),W=t(28),r=t(13),V=t(51),w=t(4),U=t(10),Y=t(86),G=t(36),K=t(38),_=t(37).f,X=t(88),J=t(32),Q=t(5),n=t(22),l=t(57),i=t(52),u=t(90),Z=t(44),tt=t(60),et=t(45),nt=t(89),rt=t(117),it=t(9),t=t(20),x=it.f,ot=t.f,S=h.RangeError,at=h.TypeError,o=h.Uint8Array,ct="Shared"+(st="ArrayBuffer"),lt="BYTES_PER_ELEMENT",E="prototype",d=Array[E],C=s.ArrayBuffer,ut=s.DataView,ft=n(0),dt=n(2),pt=n(3),ht=n(4),vt=n(5),mt=n(6),gt=l(!0),yt=l(!1),bt=u.values,wt=u.keys,_t=u.entries,xt=d.lastIndexOf,St=d.reduce,Et=d.reduceRight,Ct=d.join,kt=d.sort,At=d.slice,k=d.toString,a=d.toLocaleString,A=Q("iterator"),O=Q("toStringTag"),Ot=J("typed_constructor"),D=J("def_constructor"),s=g.CONSTR,L=g.TYPED,Dt=g.VIEW,M="Wrong length!",Lt=n(1,function(t,e){return f(i(t,t[D]),e)}),Mt=v(function(){return 1===new o(new Uint16Array([1]).buffer)[0]}),Tt=!!o&&!!o[E].set&&v(function(){new o(1).set({})}),T=function(t,e){t=H(t);if(t<0||t%e)throw S("Wrong offset!");return t},c=function(t){if(w(t)&&L in t)return t;throw at(t+" is not a typed array!")},f=function(t,e){if(w(t)&&Ot in t)return new t(e);throw at("It is not a typed array constructor!")},Pt=function(t,e){return P(i(t,t[D]),e)},P=function(t,e){for(var n=0,r=e.length,i=f(t,r);n<r;)i[n]=e[n++];return i},l=function(t,e,n){x(t,e,{get:function(){return this._d[n]}})},It=function(t){var e,n,r,i,o,a,s=U(t),t=arguments.length,c=1<t?arguments[1]:void 0,l=void 0!==c,u=X(s);if(null!=u&&!Y(u)){for(a=u.call(s),r=[],e=0;!(o=a.next()).done;e++)r.push(o.value);s=r}for(l&&2<t&&(c=$(c,arguments[2],2)),e=0,n=b(s.length),i=f(this,n);e<n;e++)i[e]=l?c(s[e],e):s[e];return i},jt=function(){for(var t=0,e=arguments.length,n=f(this,e);t<e;)n[t]=arguments[t++];return n},Nt=!!o&&v(function(){a.call(new o(1))}),Ft=function(){return a.apply(Nt?At.call(c(this)):c(this),arguments)},$t={copyWithin:function(t,e){return rt.call(c(this),t,e,2<arguments.length?arguments[2]:void 0)},every:function(t){return ht(c(this),t,1<arguments.length?arguments[1]:void 0)},fill:function(t){return nt.apply(c(this),arguments)},filter:function(t){return Pt(this,dt(c(this),t,1<arguments.length?arguments[1]:void 0))},find:function(t){return vt(c(this),t,1<arguments.length?arguments[1]:void 0)},findIndex:function(t){return mt(c(this),t,1<arguments.length?arguments[1]:void 0)},forEach:function(t){ft(c(this),t,1<arguments.length?arguments[1]:void 0)},indexOf:function(t){return yt(c(this),t,1<arguments.length?arguments[1]:void 0)},includes:function(t){return gt(c(this),t,1<arguments.length?arguments[1]:void 0)},join:function(t){return Ct.apply(c(this),arguments)},lastIndexOf:function(t){return xt.apply(c(this),arguments)},map:function(t){return Lt(c(this),t,1<arguments.length?arguments[1]:void 0)},reduce:function(t){return St.apply(c(this),arguments)},reduceRight:function(t){return Et.apply(c(this),arguments)},reverse:function(){for(var t,e=this,n=c(e).length,r=Math.floor(n/2),i=0;i<r;)t=e[i],e[i++]=e[--n],e[n]=t;return e},some:function(t){return pt(c(this),t,1<arguments.length?arguments[1]:void 0)},sort:function(t){return kt.call(c(this),t)},subarray:function(t,e){var n=c(this),r=n.length,t=z(t,r);return new(i(n,n[D]))(n.buffer,n.byteOffset+t*n.BYTES_PER_ELEMENT,b((void 0===e?r:z(e,r))-t))}},Rt=function(t,e){return Pt(this,At.call(c(this),t,e))},Bt=function(t){c(this);var e=T(arguments[1],1),n=this.length,r=U(t),i=b(r.length),o=0;if(n<i+e)throw S(M);for(;o<i;)this[e+o]=r[o++]},I={entries:function(){return _t.call(c(this))},keys:function(){return wt.call(c(this))},values:function(){return bt.call(c(this))}},Ht=function(t,e){return w(t)&&t[L]&&"symbol"!=typeof e&&e in t&&String(+e)==String(e)},u=function(t,e){return Ht(t,e=W(e,!0))?B(2,t[e]):ot(t,e)},d=function(t,e,n){return!(Ht(t,e=W(e,!0))&&w(n)&&r(n,"value"))||r(n,"get")||r(n,"set")||n.configurable||r(n,"writable")&&!n.writable||r(n,"enumerable")&&!n.enumerable?x(t,e,n):(t[e]=n.value,t)},s||(t.f=u,it.f=d),m(m.S+m.F*!s,"Object",{getOwnPropertyDescriptor:u,defineProperty:d}),v(function(){k.call({})})&&(k=a=function(){return Ct.call(this)}),j=e({},$t),e(j,I),y(j,A,I.values),e(j,{slice:Rt,set:Bt,constructor:function(){}
7363,toString:k,toLocaleString:Ft}),l(j,"buffer","b"),l(j,"byteOffset","o"),l(j,"byteLength","l"),l(j,"length","e"),x(j,O,{get:function(){return this[L]}}),N.exports=function(t,l,e,i){function u(t,r){x(t,r,{get:function(){var t=this,e=r;return(t=t._d).v[n](e*l+t.o,Mt)},set:function(t){var e=this,n=r;e=e._d,i&&(t=(t=Math.round(t))<0?0:255<t?255:255&t),e.v[o](n*l+e.o,t,Mt)},enumerable:!0})}var f=t+((i=!!i)?"Clamped":"")+"Array",n="get"+t,o="set"+t,d=h[f],a=d||{},t=d&&K(d),r=!d||!g.ABV,s={},c=d&&d[E],r=(r?(d=e(function(t,e,n,r){R(t,d,f,"_d");var i,o,a=0,s=0;if(w(e)){if(!(e instanceof C||(c=V(e))==st||c==ct))return L in e?P(d,e):It.call(d,e);var c=e,s=T(n,l),n=e.byteLength;if(void 0===r){if(n%l)throw S(M);if((i=n-s)<0)throw S(M)}else if(n<(i=b(r)*l)+s)throw S(M);o=i/l}else o=q(e),c=new C(i=o*l);for(y(t,"_d",{b:c,o:s,l:i,e:o,v:new ut(c)});a<o;)u(t,a++)}),c=d[E]=G(j),y(c,"constructor",d)):v(function(){d(1)})&&v(function(){new d(-1)})&&tt(function(t){new d,new d(null),new d(1.5),new d(t)},!0)||(d=e(function(t,e,n,r){return R(t,d,f),w(e)?e instanceof C||(t=V(e))==st||t==ct?void 0!==r?new a(e,T(n,l),r):void 0!==n?new a(e,T(n,l)):new a(e):L in e?P(d,e):It.call(d,e):new a(q(e))}),ft(t!==Function.prototype?_(a).concat(_(t)):_(a),function(t){t in d||y(d,t,a[t])}),d[E]=c,p||(c.constructor=d)),c[A]),e=!!r&&("values"==r.name||null==r.name),t=I.values;y(d,Ot,!0),y(c,L,f),y(c,Dt,!0),y(c,D,d),(i?new d(1)[O]==f:O in c)||x(c,O,{get:function(){return f}}),s[f]=d,m(m.G+m.W+m.F*(d!=a),s),m(m.S,f,{BYTES_PER_ELEMENT:l}),m(m.S+m.F*v(function(){a.of.call(d,1)}),f,{from:It,of:jt}),lt in c||y(c,lt,l),m(m.P,f,$t),et(f),m(m.P+m.F*Tt,f,{set:Bt}),m(m.P+m.F*!e,f,I),p||c.toString==k||(c.toString=k),m(m.P+m.F*v(function(){new d(1).slice()}),f,{slice:Rt}),m(m.P+m.F*(v(function(){return[1,2].toLocaleString()!=new d([1,2]).toLocaleString()})||!v(function(){c.toLocaleString.call([1,2])})),f,{toLocaleString:Ft}),Z[f]=e?r:t,p||e||y(c,A,t)}):N.exports=function(){}},function(t,e,n){!function(Od,Dd){ 7364/*! 7365 * Vue.js v2.7.5 7366 * (c) 2014-2022 Evan You 7367 * Released under the MIT License. 7368 */ 7369t.exports=function(){"use strict";var _=Object.freeze({}),j=Array.isArray;function N(t){return t===undefined||t===null}function F(t){return t!==undefined&&t!==null}function $(t){return t===true}function k(t){return t===false}function R(t){return typeof t==="string"||typeof t==="number"||typeof t==="symbol"||typeof t==="boolean"}function B(t){return typeof t==="function"}function H(t){return t!==null&&typeof t==="object"}var A=Object.prototype.toString;function O(t){return A.call(t).slice(8,-1)}function c(t){return A.call(t)==="[object Object]"}function V(t){return A.call(t)==="[object RegExp]"}function D(t){var e=parseFloat(String(t));return e>=0&&Math.floor(e)===e&&isFinite(t)}function L(t){return F(t)&&typeof t.then==="function"&&typeof t.catch==="function"}function M(t){return t==null?"":Array.isArray(t)||c(t)&&t.toString===A?JSON.stringify(t,null,2):String(t)}function U(t){var e=parseFloat(t);return isNaN(e)?t:e}function l(t,e){var n=Object.create(null);var r=t.split(",");for(var i=0;i<r.length;i++)n[r[i]]=true;return e?function(t){return n[t.toLowerCase()]}:function(t){return n[t]}}var T=l("slot,component",true),P=l("key,ref,slot,slot-scope,is");function I(t,e){if(t.length){var n=t.indexOf(e);if(n>-1)return t.splice(n,1)}}var Y=Object.prototype.hasOwnProperty;function u(t,e){return Y.call(t,e)}function t(r){var i=Object.create(null);return function t(e){var n=i[e];return n||(i[e]=r(e))}}var G=/-(\w)/g,p=t(function(t){return t.replace(G,function(t,e){return e?e.toUpperCase():""})}),K=t(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),X=/\B([A-Z])/g,J=t(function(t){return t.replace(X,"-$1").toLowerCase()});function Q(n,r){function t(t){var e=arguments.length;return e?e>1?n.apply(r,arguments):n.call(r,t):n.call(r)}t._length=n.length;return t}function Z(t,e){return t.bind(e)}var tt=Function.prototype.bind?Z:Q;function et(t,e){e=e||0;var n=t.length-e;var r=new Array(n);while(n--)r[n]=t[n+e];return r}function h(t,e){for(var n in e)t[n]=e[n];return t}function nt(t){var e={};for(var n=0;n<t.length;n++)if(t[n])h(e,t[n]);return e}function x(t,e,n){}var i=function(t,e,n){return false},rt=function(t){return t};function it(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function ot(e,n){if(e===n)return true;var t=H(e);var r=H(n);if(t&&r)try{var i=Array.isArray(e);var o=Array.isArray(n);if(i&&o)return e.length===n.length&&e.every(function(t,e){return ot(t,n[e])});else if(e instanceof Date&&n instanceof Date)return e.getTime()===n.getTime();else if(!i&&!o){var a=Object.keys(e);var s=Object.keys(n);return a.length===s.length&&a.every(function(t){return ot(e[t],n[t])})}else return false}catch(t){return false}else if(!t&&!r)return String(e)===String(n);else return false}function at(t,e){for(var n=0;n<t.length;n++)if(ot(t[n],e))return n;return-1}function st(t){var e=false;return function(){if(!e){e=true;t.apply(this,arguments)}}}
7369function ct(t,e){if(t===e)return t===0&&1/t!==1/e;else return t===t||e===e}var lt="data-server-rendered",ut=["component","directive","filter"],ft=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","serverPrefetch","renderTracked","renderTriggered"],q={optionMergeStrategies:Object.create(null),silent:false,productionTip:true,devtools:true,performance:false,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:i,isReservedAttr:i,isUnknownElement:i,getTagNamespace:x,parsePlatformTagName:rt,mustUseProp:i,async:true,_lifecycleHooks:ft},dt=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function pt(t){var e=(t+"").charCodeAt(0);return e===36||e===95}function f(t,e,n,r){Object.defineProperty(t,e,{value:n,enumerable:!!r,writable:true,configurable:true})}var ht=new RegExp("[^".concat(dt.source,".$_\\d]"));function vt(t){if(ht.test(t))return;var n=t.split(".");return function(t){for(var e=0;e<n.length;e++){if(!t)return;t=t[n[e]]}return t}}var mt="__proto__"in{},r=typeof window!=="undefined",e=r&&window.navigator.userAgent.toLowerCase(),gt=e&&/msie|trident/.test(e),yt=e&&e.indexOf("msie 9.0")>0,bt=e&&e.indexOf("edge/")>0,wt=(e&&e.indexOf("android")>0,e&&/iphone|ipad|ipod|ios/.test(e)),_t=(e&&/chrome\/\d+/.test(e)&&!bt,e&&/phantomjs/.test(e),e&&e.match(/firefox\/(\d+)/)),xt={}.watch,St=false,Et;if(r)try{var Ct={};Object.defineProperty(Ct,"passive",{get:function(){St=true}});window.addEventListener("test-passive",null,Ct)}catch(t){}var kt=function(){if(Et===undefined)if(!r&&typeof Od!=="undefined")Et=Od["process"]&&Od["process"].env.VUE_ENV==="server";else Et=false;return Et},At=r&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function Ot(t){return typeof t==="function"&&/native code/.test(t.toString())}var Dt=typeof Symbol!=="undefined"&&Ot(Symbol)&&typeof Reflect!=="undefined"&&Ot(Reflect.ownKeys),Lt;if(typeof Set!=="undefined"&&Ot(Set))Lt=Set;else Lt=function(){function t(){this.set=Object.create(null)}t.prototype.has=function(t){return this.set[t]===true};t.prototype.add=function(t){this.set[t]=true};t.prototype.clear=function(){this.set=Object.create(null)};return t}();var S=null;function Mt(){return S&&{proxy:S}}function d(t){if(t===void 0)t=null;if(!t)S&&S._scope.off();S=t;t&&t._scope.on()}var z=function(){function t(t,e,n,r,i,o,a,s){this.tag=t;this.data=e;this.children=n;this.text=r;this.elm=i;this.ns=undefined;this.context=o;this.fnContext=undefined;this.fnOptions=undefined;this.fnScopeId=undefined;this.key=e&&e.key;this.componentOptions=a;this.componentInstance=undefined;this.parent=undefined;this.raw=false;this.isStatic=false;this.isRootInsert=true;this.isComment=false;this.isCloned=false;this.isOnce=false;this.asyncFactory=s;this.asyncMeta=undefined;this.isAsyncPlaceholder=false}Object.defineProperty(t.prototype,"child",{get:function(){return this.componentInstance},enumerable:false,configurable:true});return t}(),Tt=function(t){if(t===void 0)t="";var e=new z;e.text=t;e.isComment=true;return e},Pt;function It(t){return new z(undefined,undefined,undefined,String(t))}function jt(t){var e=new z(t.tag,t.data,t.children&&t.children.slice(),t.text,t.elm,t.context,t.componentOptions,t.asyncFactory);e.ns=t.ns;e.isStatic=t.isStatic;e.key=t.key;e.isComment=t.isComment;e.fnContext=t.fnContext;e.fnOptions=t.fnOptions;e.fnScopeId=t.fnScopeId;e.asyncMeta=t.asyncMeta;e.isCloned=true;return e}var Nt=l("Infinity,undefined,NaN,isFinite,isNaN,"+"parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,"+"Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,"+"require"),Ft=function(t,e){W('Property or method "'.concat(e,'" is not defined on the instance but ')+"referenced during render. Make sure that this property is reactive, "+"either in the data option, or for class-based components, by "+"initializing the property. "+"See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.",t)},$t=function(t,e){W('Property "'.concat(e,'" must be accessed with "$data.').concat(e,'" because ')+'properties starting with "$" or "_" are not proxied in the Vue instance to '+"prevent conflicts with Vue internals. "+"See: https://vuejs.org/v2/api/#data",t)},Rt=typeof Proxy!=="undefined"&&Ot(Proxy);if(Rt){var Bt=l("stop,prevent,self,ctrl,shift,alt,meta,exact");q.keyCodes=new Proxy(q.keyCodes,{set:function(t,e,n){if(Bt(e)){W("Avoid overwriting built-in modifier in config.keyCodes: .".concat(e));return false}else{t[e]=n;return true}}})}var Ht={has:function(t,e){var n=e in t;var r=Nt(e)||typeof e==="string"&&e.charAt(0)==="_"&&!(e in t.$data);if(!n&&!r)if(e in t.$data)$t(t,e);else Ft(t,e);return n||!r}},qt={get:function(t,e){if(typeof e==="string"&&!(e in t))if(e in t.$data)$t(t,e);else Ft(t,e);return t[e]}},Pt=function t(e){if(Rt){var n=e.$options;var r=n.render&&n.render._withStripped?qt:Ht;e._renderProxy=new Proxy(e,r)}else e._renderProxy=e},zt=function(){zt=Object.assign||function t(e){for(var n,r=1,i=arguments.length;r<i;r++){n=arguments[r];for(var o in n)if(Object.prototype.hasOwnProperty.call(n,o))e[o]=n[o]}return e};return zt.apply(this,arguments)},Wt=0,v=function(){function e(){this.id=Wt++;this.subs=[]}e.prototype.addSub=function(t){this.subs.push(t)};e.prototype.removeSub=function(t){I(this.subs,t)};
7369e.prototype.depend=function(t){if(e.target){e.target.addDep(this);if(t&&e.target.onTrack)e.target.onTrack(zt({effect:e.target},t))}};e.prototype.notify=function(t){var e=this.subs.slice();if(!q.async)e.sort(function(t,e){return t.id-e.id});for(var n=0,r=e.length;n<r;n++){if(t){var i=e[n];i.onTrigger&&i.onTrigger(zt({effect:e[n]},t))}e[n].update()}};return e}(),Vt=(v.target=null,[]);function Ut(t){Vt.push(t);v.target=t}function Yt(){Vt.pop();v.target=Vt[Vt.length-1]}var Gt=Array.prototype,Kt=Object.create(Gt),Xt,Jt=(["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(a){var s=Gt[a];f(Kt,a,function t(){var e=[];for(var n=0;n<arguments.length;n++)e[n]=arguments[n];var r=s.apply(this,e);var i=this.__ob__;var o;switch(a){case"push":case"unshift":o=e;break;case"splice":o=e.slice(2);break}if(o)i.observeArray(o);i.dep.notify({type:"array mutation",target:this,key:a});return r})}),Object.getOwnPropertyNames(Kt)),Qt={},Zt=true;function te(t){Zt=t}var ee={notify:x,depend:x,addSub:x,removeSub:x},ne=function(){function t(t,e,n){if(e===void 0)e=false;if(n===void 0)n=false;this.value=t;this.shallow=e;this.mock=n;this.dep=n?ee:new v;this.vmCount=0;f(t,"__ob__",this);if(j(t)){if(!n)if(mt)t.__proto__=Kt;else for(var r=0,i=Jt.length;r<i;r++){var o=Jt[r];f(t,o,Kt[o])}if(!e)this.observeArray(t)}else{var a=Object.keys(t);for(var r=0;r<a.length;r++){var o=a[r];ie(t,o,Qt,undefined,e,n)}}}t.prototype.observeArray=function(t){for(var e=0,n=t.length;e<n;e++)re(t[e],false,this.mock)};return t}();function re(t,e,n){if(!H(t)||E(t)||t instanceof z)return;var r;if(u(t,"__ob__")&&t.__ob__ instanceof ne)r=t.__ob__;else if(Zt&&(n||!kt())&&(j(t)||c(t))&&Object.isExtensible(t)&&!t.__v_skip)r=new ne(t,e,n);return r}function ie(r,i,o,a,s,c){var l=new v;var t=Object.getOwnPropertyDescriptor(r,i);if(t&&t.configurable===false)return;var u=t&&t.get;var f=t&&t.set;if((!u||f)&&(o===Qt||arguments.length===2))o=r[i];var d=!s&&re(o,false,c);Object.defineProperty(r,i,{enumerable:true,configurable:true,get:function t(){var e=u?u.call(r):o;if(v.target){l.depend({target:r,type:"get",key:i});if(d){d.dep.depend();if(j(e))se(e)}}return E(e)&&!s?e.value:e},set:function t(e){var n=u?u.call(r):o;if(!ct(n,e))return;if(a)a();if(f)f.call(r,e);else if(u)return;else if(E(n)&&!E(e)){n.value=e;return}else o=e;d=!s&&re(e,false,c);l.notify({type:"set",target:r,key:i,newValue:e,oldValue:n})}});return l}function oe(t,e,n){if(N(t)||R(t))W("Cannot set reactive property on undefined, null, or primitive value: ".concat(t));if(pe(t)){W('Set operation on key "'.concat(e,'" failed: target is readonly.'));return}var r=t.__ob__;if(j(t)&&D(e)){t.length=Math.max(t.length,e);t.splice(e,1,n);if(r&&!r.shallow&&r.mock)re(n,false,true);return n}if(e in t&&!(e in Object.prototype)){t[e]=n;return n}if(t._isVue||r&&r.vmCount){W("Avoid adding reactive properties to a Vue instance or its root $data "+"at runtime - declare it upfront in the data option.");return n}if(!r){t[e]=n;return n}ie(r.value,e,n,undefined,r.shallow,r.mock);r.dep.notify({type:"add",target:t,key:e,newValue:n,oldValue:undefined});return n}function ae(t,e){if(N(t)||R(t))W("Cannot delete reactive property on undefined, null, or primitive value: ".concat(t));if(j(t)&&D(e)){t.splice(e,1);return}var n=t.__ob__;if(t._isVue||n&&n.vmCount){W("Avoid deleting properties on a Vue instance or its root $data "+"- just set it to null.");return}if(pe(t)){W('Delete operation on key "'.concat(e,'" failed: target is readonly.'));return}if(!u(t,e))return;delete t[e];if(!n)return;n.dep.notify({type:"delete",target:t,key:e})}function se(t){for(var e=void 0,n=0,r=t.length;n<r;n++){e=t[n];if(e&&e.__ob__)e.__ob__.dep.depend();if(j(e))se(e)}}function ce(t){ue(t,false);return t}function le(t){ue(t,true);f(t,"__v_isShallow",true);return t}function ue(t,e){if(!pe(t)){{if(j(t))W("Avoid using Array as root value for ".concat(e?"shallowReactive()":"reactive()"," as it cannot be tracked in watch() or watchEffect(). Use ").concat(e?"shallowRef()":"ref()"," instead. This is a Vue-2-only limitation."));var n=t&&t.__ob__;if(n&&n.shallow!==e)W("Target is already a ".concat(n.shallow?"":"non-","shallow reactive object, and cannot be converted to ").concat(e?"":"non-","shallow."))}
7369var r=re(t,e,kt());if(!r){if(t==null||R(t))W("value cannot be made reactive: ".concat(String(t)));if(ge(t))W("Vue 2 does not support reactive collection types such as Map or Set.")}}}function fe(t){if(pe(t))return fe(t["__v_raw"]);return!!(t&&t.__ob__)}function de(t){return!!(t&&t.__v_isShallow)}function pe(t){return!!(t&&t.__v_isReadonly)}function he(t){return fe(t)||pe(t)}function ve(t){var e=t&&t["__v_raw"];return e?ve(e):t}function me(t){f(t,"__v_skip",true);return t}function ge(t){var e=O(t);return e==="Map"||e==="WeakMap"||e==="Set"||e==="WeakSet"}var ye="__v_isRef";function E(t){return!!(t&&t.__v_isRef===true)}function be(t){return _e(t,false)}function we(t){return _e(t,true)}function _e(t,e){if(E(t))return t;var n={};f(n,ye,true);f(n,"__v_isShallow",e);f(n,"dep",ie(n,"value",t,null,e,kt()));return n}function xe(t){if(!t.dep)W("received object is not a triggerable ref.");t.dep&&t.dep.notify({type:"set",target:t,key:"value"})}function Se(t){return E(t)?t.value:t}function Ee(t){if(fe(t))return t;var e={};var n=Object.keys(t);for(var r=0;r<n.length;r++)Ce(e,t,n[r]);return e}function Ce(t,n,r){Object.defineProperty(t,r,{enumerable:true,configurable:true,get:function(){var t=n[r];if(E(t))return t.value;else{var e=t&&t.__ob__;if(e)e.dep.depend();return t}},set:function(t){var e=n[r];if(E(e)&&!E(t))e.value=t;else n[r]=t}})}function ke(t){var e=new v;var n=t(function(){e.depend({target:o,type:"get",key:"value"})},function(){e.notify({target:o,type:"set",key:"value"})}),r=n.get,i=n.set;var o={get value(){return r()},set value(t){i(t)}};f(o,ye,true);return o}function Ae(t){if(!fe(t))W("toRefs() expects a reactive object but received a plain one.");var e=j(t)?new Array(t.length):{};for(var n in t)e[n]=Oe(t,n);return e}function Oe(e,n,r){var t=e[n];if(E(t))return t;var i={get value(){var t=e[n];return t===undefined?r:t},set value(t){e[n]=t}};f(i,ye,true);return i}var De="__v_rawToReadonly",Le="__v_rawToShallowReadonly",s,Me;function Te(t){return Pe(t,false)}function Pe(t,e){if(!c(t)){if(j(t))W("Vue 2 does not support readonly arrays.");else if(ge(t))W("Vue 2 does not support readonly collection types such as Map or Set.");else W("value cannot be made readonly: ".concat(typeof t));return t}if(pe(t))return t;var n=e?Le:De;var r=t[n];if(r)return r;var i=Object.create(Object.getPrototypeOf(t));f(t,n,i);f(i,"__v_isReadonly",true);f(i,"__v_raw",t);if(E(t))f(i,ye,true);if(e||de(t))f(i,"__v_isShallow",true);var o=Object.keys(t);for(var a=0;a<o.length;a++)Ie(i,t,o[a],e);return i}function Ie(t,e,n,r){Object.defineProperty(t,n,{enumerable:true,configurable:true,get:function(){var t=e[n];return r||!c(t)?t:Te(t)},set:function(){W('Set operation on key "'.concat(n,'" failed: target is readonly.'))}})}function je(t){return Pe(t,true)}function Ne(t,e){var n;var r;var i=B(t);if(i){n=t;r=function(){W("Write operation failed: computed value is readonly")}}else{n=t.get;r=t.set}var o=kt()?null:new xi(S,n,x,{lazy:true});if(o&&e){o.onTrack=e.onTrack;o.onTrigger=e.onTrigger}var a={effect:o,get value(){if(o){if(o.dirty)o.evaluate();if(v.target){if(v.target.onTrack)v.target.onTrack({effect:v.target,target:a,type:"get",key:"value"});o.depend()}return o.value}else return n()},set value(t){r(t)}};f(a,ye,true);f(a,"__v_isReadonly",i);return a}var Fe=r&&window.performance;if(Fe&&Fe.mark&&Fe.measure&&Fe.clearMarks&&Fe.clearMeasures){s=function(t){return Fe.mark(t)};Me=function(t,e,n){Fe.measure(t,e,n);Fe.clearMarks(e);Fe.clearMarks(n)}}var $e=t(function(t){var e=t.charAt(0)==="&";t=e?t.slice(1):t;var n=t.charAt(0)==="~";t=n?t.slice(1):t;var r=t.charAt(0)==="!";t=r?t.slice(1):t;return{name:t,once:n,capture:r,passive:e}});function Re(t,r){function i(){var t=i.fns;if(j(t)){var e=t.slice();for(var n=0;n<e.length;n++)Rr(e[n],null,arguments,r,"v-on handler")}else return Rr(t,null,arguments,r,"v-on handler")}i.fns=t;return i}function Be(t,e,n,r,i,o){var a,s,c,l;for(a in t){s=t[a];c=e[a];l=$e(a);if(N(s))W('Invalid handler for event "'.concat(l.name,'": got ')+String(s),o);else if(N(c)){if(N(s.fns))s=t[a]=Re(s,o);if($(l.once))s=t[a]=i(l.name,s,l.capture);n(l.name,s,l.capture,l.passive,l.params)}else if(s!==c){c.fns=s;t[a]=c}}for(a in e)if(N(t[a])){l=$e(a);r(l.name,e[a],l.capture)}}function He(t,e,n){if(t instanceof z)t=t.data.hook||(t.data.hook={});var r;var i=t[e];function o(){n.apply(this,arguments);I(r.fns,o)}if(N(i))r=Re([o]);else if(F(i.fns)&&$(i.merged)){r=i;r.fns.push(o)}else r=Re([i,o]);r.merged=true;t[e]=r}function qe(t,e,n){var r=e.options.props;if(N(r))return;var i={};var o=t.attrs,a=t.props;if(F(o)||F(a))for(var s in r){var c=J(s);{var l=s.toLowerCase();if(s!==l&&o&&u(o,l))ro('Prop "'.concat(l,'" is passed to component ')+"".concat(oo(n||e),", but the declared prop name is")+' "'.concat(s,'". ')+"Note that HTML attributes are case-insensitive and camelCased "+"props need to use their kebab-case equivalents when using in-DOM "+'templates. You should probably use "'.concat(c,'" instead of "').concat(s,'".'))}ze(i,a,s,c,true)||ze(i,o,s,c,false)}return i}function ze(t,e,n,r,i){if(F(e))if(u(e,n)){t[n]=e[n];if(!i)delete e[n];return true}else if(u(e,r)){t[n]=e[r];if(!i)delete e[r];return true}return false}function We(t){for(var e=0;e<t.length;e++)if(j(t[e]))return Array.prototype.concat.apply([],t);return t}function Ve(t){return R(t)?[It(t)]:j(t)?Ye(t):undefined}function Ue(t){return F(t)&&F(t.text)&&k(t.isComment)}function Ye(t,e){var n=[];var r,i,o,a;for(r=0;r<t.length;r++){i=t[r];if(N(i)||typeof i==="boolean")continue;o=n.length-1;a=n[o];if(j(i)){if(i.length>0){i=Ye(i,"".concat(e||"","_").concat(r));if(Ue(i[0])&&Ue(a)){n[o]=It(a.text+i[0].text);i.shift()}n.push.apply(n,i)}}else if(R(i)){if(Ue(a))n[o]=It(a.text+i);else if(i!=="")n.push(It(i))}else if(Ue(i)&&Ue(a))n[o]=It(a.text+i.text);else{if($(t._isVList)&&F(i.tag)&&N(i.key)&&F(e))i.key="__vlist".concat(e,"_").concat(r,"__");n.push(i)}}return n}var Ge=1,Ke=2;function Xe(t,e,n,r,i,o){if(j(n)||R(n)){i=r;r=n;n=undefined}if($(o))i=Ke;return Je(t,e,n,r,i)}function Je(t,e,n,r,i){if(F(n)&&F(n.__ob__)){W("Avoid using observed data object as vnode data: ".concat(JSON.stringify(n),"\n")+"Always create fresh vnode data objects in each render!",t);return Tt()}if(F(n)&&F(n.is))e=n.is;if(!e)return Tt();
7369if(F(n)&&F(n.key)&&!R(n.key))W("Avoid using non-primitive value as key, "+"use string/number value instead.",t);if(j(r)&&B(r[0])){n=n||{};n.scopedSlots={default:r[0]};r.length=0}if(i===Ke)r=Ve(r);else if(i===Ge)r=We(r);var o,a;if(typeof e==="string"){var s=void 0;a=t.$vnode&&t.$vnode.ns||q.getTagNamespace(e);if(q.isReservedTag(e)){if(F(n)&&F(n.nativeOn)&&n.tag!=="component")W("The .native modifier for v-on is only valid on components but it was used on <".concat(e,">."),t);o=new z(q.parsePlatformTagName(e),n,r,undefined,undefined,t)}else if((!n||!n.pre)&&F(s=Eo(t.$options,"components",e)))o=Qi(s,n,t,r,e);else o=new z(e,n,r,undefined,undefined,t)}else o=Qi(e,n,t,r);if(j(o))return o;else if(F(o)){if(F(a))Qe(o,a);if(F(n))Ze(n);return o}else return Tt()}function Qe(t,e,n){t.ns=e;if(t.tag==="foreignObject"){e=undefined;n=true}if(F(t.children))for(var r=0,i=t.children.length;r<i;r++){var o=t.children[r];if(F(o.tag)&&(N(o.ns)||$(n)&&o.tag!=="svg"))Qe(o,e,n)}}function Ze(t){if(H(t.style))bi(t.style);if(H(t.class))bi(t.class)}function tn(t,e){var n=null,r,i,o,a;if(j(t)||typeof t==="string"){n=new Array(t.length);for(r=0,i=t.length;r<i;r++)n[r]=e(t[r],r)}else if(typeof t==="number"){n=new Array(t);for(r=0;r<t;r++)n[r]=e(r+1,r)}else if(H(t))if(Dt&&t[Symbol.iterator]){n=[];var s=t[Symbol.iterator]();var c=s.next();while(!c.done){n.push(e(c.value,n.length));c=s.next()}}else{o=Object.keys(t);n=new Array(o.length);for(r=0,i=o.length;r<i;r++){a=o[r];n[r]=e(t[a],a,r)}}if(!F(n))n=[];n._isVList=true;return n}function en(t,e,n,r){var i=this.$scopedSlots[t];var o;if(i){n=n||{};if(r){if(!H(r))W("slot v-bind without argument expects an Object",this);n=h(h({},r),n)}o=i(n)||(B(e)?e():e)}else o=this.$slots[t]||(B(e)?e():e);var a=n&&n.slot;if(a)return this.$createElement("template",{slot:a},o);else return o}function nn(t){return Eo(this.$options,"filters",t,true)||rt}function rn(t,e){if(j(t))return t.indexOf(e)===-1;else return t!==e}function on(t,e,n,r,i){var o=q.keyCodes[e]||n;if(i&&r&&!q.keyCodes[e])return rn(i,r);else if(o)return rn(o,t);else if(r)return J(r)!==e;return t===undefined}function an(o,a,s,c,l){if(s)if(!H(s))W("v-bind without argument expects an Object or Array value",this);else{if(j(s))s=nt(s);var u=void 0;var t=function(e){if(e==="class"||e==="style"||P(e))u=o;else{var t=o.attrs&&o.attrs.type;u=c||q.mustUseProp(a,t,e)?o.domProps||(o.domProps={}):o.attrs||(o.attrs={})}var n=p(e);var r=J(e);if(!(n in u)&&!(r in u)){u[e]=s[e];if(l){var i=o.on||(o.on={});i["update:".concat(e)]=function(t){s[e]=t}}}};for(var e in s)t(e)}return o}function sn(t,e){var n=this._staticTrees||(this._staticTrees=[]);var r=n[t];if(r&&!e)return r;r=n[t]=this.$options.staticRenderFns[t].call(this._renderProxy,this._c,this);ln(r,"__static__".concat(t),false);return r}function cn(t,e,n){ln(t,"__once__".concat(e).concat(n?"_".concat(n):""),true);return t}function ln(t,e,n){if(j(t)){for(var r=0;r<t.length;
7369r++)if(t[r]&&typeof t[r]!=="string")un(t[r],"".concat(e,"_").concat(r),n)}else un(t,e,n)}function un(t,e,n){t.isStatic=true;t.key=e;t.isOnce=n}function fn(t,e){if(e)if(!c(e))W("v-on without argument expects an Object value",this);else{var n=t.on=t.on?h({},t.on):{};for(var r in e){var i=n[r];var o=e[r];n[r]=i?[].concat(i,o):o}}return t}function dn(t,e,n,r){e=e||{$stable:!n};for(var i=0;i<t.length;i++){var o=t[i];if(j(o))dn(o,e,n);else if(o){if(o.proxy)o.fn.proxy=true;e[o.key]=o.fn}}if(r)e.$key=r;return e}function pn(t,e){for(var n=0;n<e.length;n+=2){var r=e[n];if(typeof r==="string"&&r)t[e[n]]=e[n+1];else if(r!==""&&r!==null)W("Invalid value for dynamic directive argument (expected string or null): ".concat(r),this)}return t}function hn(t,e){return typeof t==="string"?e+t:t}function vn(t){t._o=cn;t._n=U;t._s=M;t._l=tn;t._t=en;t._q=ot;t._i=at;t._m=sn;t._f=nn;t._k=on;t._b=an;t._v=It;t._e=Tt;t._u=dn;t._g=fn;t._d=pn;t._p=hn}function mn(t,e){if(!t||!t.length)return{};var n={};for(var r=0,i=t.length;r<i;r++){var o=t[r];var a=o.data;if(a&&a.attrs&&a.attrs.slot)delete a.attrs.slot;if((o.context===e||o.fnContext===e)&&a&&a.slot!=null){var s=a.slot;var c=n[s]||(n[s]=[]);if(o.tag==="template")c.push.apply(c,o.children||[]);else c.push(o)}else(n.default||(n.default=[])).push(o)}for(var l in n)if(n[l].every(gn))delete n[l];return n}function gn(t){return t.isComment&&!t.asyncFactory||t.text===" "}function yn(t){return t.isComment&&t.asyncFactory}function bn(t,e,n,r){var i;var o=Object.keys(n).length>0;var a=e?!!e.$stable:!o;var s=e&&e.$key;if(!e)i={};else if(e._normalized)return e._normalized;else if(a&&r&&r!==_&&s===r.$key&&!o&&!r.$hasNormal)return r;else{i={};for(var c in e)if(e[c]&&c[0]!=="$")i[c]=wn(t,n,c,e[c])}for(var l in n)if(!(l in i))i[l]=_n(n,l);if(e&&Object.isExtensible(e))e._normalized=i;f(i,"$stable",a);f(i,"$key",s);f(i,"$hasNormal",o);return i}function wn(r,t,e,i){var n=function(){var t=S;d(r);var e=arguments.length?i.apply(null,arguments):i({});e=e&&typeof e==="object"&&!j(e)?[e]:Ve(e);var n=e&&e[0];d(t);return e&&(!n||e.length===1&&n.isComment&&!yn(n))?undefined:e};if(i.proxy)Object.defineProperty(t,e,{get:n,enumerable:true,configurable:true});return n}function _n(t,e){return function(){return t[e]}}function xn(t){var e=t.$options;var n=e.setup;if(n){var r=t._setupContext=Sn(t);d(t);Ut();var i=Rr(n,null,[t._props||le({}),r],t,"setup");Yt();d();if(B(i))e.render=i;else if(H(i)){if(i instanceof z)W("setup() should not return VNodes directly - "+"return a render function instead.");t._setupState=i;if(!i.__sfc)for(var o in i)if(!pt(o))Ce(t,i,o);else W("Avoid using variables that start with _ or $ in setup().");else{var a=t._setupProxy={};for(var o in i)if(o!=="__sfc")Ce(a,i,o)}}else if(i!==undefined)W("setup() should return an object. Received: ".concat(i===null?"null":typeof i))}}function Sn(n){var t=false;return{get attrs(){return En(n)},get slots(){return An(n)},emit:tt(n.$emit,n),expose:function(e){{if(t)W("expose() should be called only once per setup().",n);t=true}if(e)Object.keys(e).forEach(function(t){return Ce(n,e,t)})}}}function En(t){if(!t._attrsProxy){var e=t._attrsProxy={};f(e,"_v_attr_proxy",true);Cn(e,t.$attrs,_,t)}return t._attrsProxy}function Cn(t,e,n,r){var i=false;for(var o in e)if(!(o in t)){i=true;kn(t,o,r)}else if(e[o]!==n[o])i=true;for(var o in t)if(!(o in e)){i=true;delete t[o]}return i}function kn(t,e,n){Object.defineProperty(t,e,{enumerable:true,configurable:true,get:function(){return n.$attrs[e]}})}function An(t){if(!t._slotsProxy)On(t._slotsProxy={},t.$scopedSlots);return t._slotsProxy}function On(t,e){for(var n in e)t[n]=e[n];for(var n in t)if(!(n in e))delete t[n]}function Dn(){return Mn().slots}function Ln(){return Mn().attrs}function Mn(){if(!S)W("useContext() called without active instance.");var t=S;return t._setupContext||(t._setupContext=Sn(t))}function Tn(t,e){var n=j(t)?t.reduce(function(t,e){return t[e]={},t},{}):t;for(var r in e){var i=n[r];if(i)if(j(i)||B(i))n[r]={type:i,default:e[r]};else i.default=e[r];else if(i===null)n[r]={default:e[r]};else W('props default key "'.concat(r,'" has no corresponding declaration.'))}return n}function Pn(i){i._vnode=null;i._staticTrees=null;var t=i.$options;var e=i.$vnode=t._parentVnode;var n=e&&e.context;i.$slots=mn(t._renderChildren,n);i.$scopedSlots=_;i._c=function(t,e,n,r){return Xe(i,t,e,n,r,false)};i.$createElement=function(t,e,n,r){return Xe(i,t,e,n,r,true)};var r=e&&e.data;{ie(i,"$attrs",r&&r.attrs||_,function(){!Gn&&W("$attrs is readonly.",i
7369)},true);ie(i,"$listeners",t._parentListeners||_,function(){!Gn&&W("$listeners is readonly.",i)},true)}}var In=null,jn;function Nn(t){vn(t.prototype);t.prototype.$nextTick=function(t){return Jr(t,this)};t.prototype._render=function(){var e=this;var t=e.$options,n=t.render,r=t._parentVnode;if(r){e.$scopedSlots=bn(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots);if(e._slotsProxy)On(e._slotsProxy,e.$scopedSlots)}e.$vnode=r;var i;try{d(e);In=e;i=n.call(e._renderProxy,e.$createElement)}catch(t){$r(t,e,"render");if(e.$options.renderError)try{i=e.$options.renderError.call(e._renderProxy,e.$createElement,t)}catch(t){$r(t,e,"renderError");i=e._vnode}else i=e._vnode}finally{In=null;d()}if(j(i)&&i.length===1)i=i[0];if(!(i instanceof z)){if(j(i))W("Multiple root nodes returned from render function. Render function "+"should return a single root node.",e);i=Tt()}i.parent=r;return i}}function Fn(t,e){if(t.__esModule||Dt&&t[Symbol.toStringTag]==="Module")t=t.default;return H(t)?e.extend(t):t}function $n(t,e,n,r,i){var o=Tt();o.asyncFactory=t;o.asyncMeta={data:e,context:n,children:r,tag:i};return o}function Rn(e,n){if($(e.error)&&F(e.errorComp))return e.errorComp;if(F(e.resolved))return e.resolved;var t=In;if(t&&F(e.owners)&&e.owners.indexOf(t)===-1)e.owners.push(t);if($(e.loading)&&F(e.loadingComp))return e.loadingComp;if(t&&!F(e.owners)){var r=e.owners=[t];var i=true;var o=null;var a=null;t.$on("hook:destroyed",function(){return I(r,t)});var s=function(t){for(var e=0,n=r.length;e<n;e++)r[e].$forceUpdate();if(t){r.length=0;if(o!==null){clearTimeout(o);o=null}if(a!==null){clearTimeout(a);a=null}}};var c=st(function(t){e.resolved=Fn(t,n);if(!i)s(true);else r.length=0});var l=st(function(t){W("Failed to resolve async component: ".concat(String(e))+(t?"\nReason: ".concat(t):""));if(F(e.errorComp)){e.error=true;s(true)}});var u=e(c,l);if(H(u))if(L(u)){if(N(e.resolved))u.then(c,l)}else if(L(u.component)){u.component.then(c,l);if(F(u.error))e.errorComp=Fn(u.error,n);if(F(u.loading)){e.loadingComp=Fn(u.loading,n);if(u.delay===0)e.loading=true;else o=setTimeout(function(){o=null;if(N(e.resolved)&&N(e.error)){e.loading=true;s(false)}},u.delay||200)}if(F(u.timeout))a=setTimeout(function(){a=null;if(N(e.resolved))l("timeout (".concat(u.timeout,"ms)"))},u.timeout)}i=false;return e.loading?e.loadingComp:e.resolved}}function Bn(t){if(j(t))for(var e=0;e<t.length;e++){var n=t[e];if(F(n)&&(F(n.componentOptions)||yn(n)))return n}}function Hn(t){t._events=Object.create(null);t._hasHookEvent=false;var e=t.$options._parentListeners;if(e)Vn(t,e)}function qn(t,e){jn.$on(t,e)}function zn(t,e){jn.$off(t,e)}function Wn(n,r){var i=jn;return function t(){var e=r.apply(null,arguments);if(e!==null)i.$off(n,t)}}function Vn(t,e,n){jn=t;Be(e,n||{},qn,zn,Wn,t);jn=undefined}function Un(t){var o=/^hook:/;t.prototype.$on=function(t,e){var n=this;if(j(t))for(var r=0,i=t.length;r<i;r++)n.$on(t[r],e);else{(n._events[t]||(n._events[t]=[])).push(e);if(o.test(t))n._hasHookEvent=true}return n};t.prototype.$once=function(t,e){var n=this;function r(){n.$off(t,r);e.apply(n,arguments)}r.fn=e;n.$on(t,r);return n};t.prototype.$off=function(t,e){var n=this;if(!arguments.length){n._events=Object.create(null);return n}if(j(t)){for(var r=0,i=t.length;r<i;r++)n.$off(t[r],e);return n}var o=n._events[t];if(!o)return n;if(!e){n._events[t]=null;return n}var a;var s=o.length;while(s--){a=o[s];if(a===e||a.fn===e){o.splice(s,1);break}}return n};t.prototype.$emit=function(t){var e=this;{var n=t.toLowerCase();if(n!==t&&e._events[n])ro('Event "'.concat(n,'" is emitted in component ')+"".concat(oo(e),' but the handler is registered for "').concat(t,'". ')+"Note that HTML attributes are case-insensitive and you cannot use "+"v-on to listen to camelCase events when using in-DOM templates. "+'You should probably use "'.concat(J(t),'" instead of "').concat(t,'".'))}var r=e._events[t];if(r){r=r.length>1?et(r):r;var i=et(arguments,1);var o='event handler for "'.concat(t,'"');for(var a=0,s=r.length;a<s;a++)Rr(r[a],e,i,e,o)}return e}}var Yn=null,Gn=false;function Kn(t){var e=Yn;Yn=t;return function(){Yn=e}}function Xn(t){var e=t.$options;var n=e.parent;if(n&&!e.abstract){while(n.$options.abstract&&n.$parent)n=n.$parent;n.$children.push(t)}t.$parent=n;t.$root=n?n.$root:t;t.$children=[];t.$refs={};t._provided=n?n._provided:Object.create(null);t._watcher=null;t._inactive=null;t._directInactive=false;t._isMounted=false;t._isDestroyed=false;t._isBeingDestroyed=false}function Jn(t){t.prototype._update=function(t,e){var n=this;var r=n.$el;var i=n._vnode;var o=Kn(n);n._vnode=t;if(!i)n.$el=n.__patch__(n.$el,t,e,false);else n.$el=n.__patch__(i,t);o();if(r)r.__vue__=null;if(n.$el)n.$el.__vue__=n;if(n.$vnode&&n.$parent&&n.$vnode===n.$parent._vnode)n.$parent.$el=n.$el};t.prototype.$forceUpdate=function(){var t=this;
7369if(t._watcher)t._watcher.update()};t.prototype.$destroy=function(){var t=this;if(t._isBeingDestroyed)return;m(t,"beforeDestroy");t._isBeingDestroyed=true;var e=t.$parent;if(e&&!e._isBeingDestroyed&&!t.$options.abstract)I(e.$children,t);t._scope.stop();if(t._data.__ob__)t._data.__ob__.vmCount--;t._isDestroyed=true;t.__patch__(t._vnode,null);m(t,"destroyed");t.$off();if(t.$el)t.$el.__vue__=null;if(t.$vnode)t.$vnode.parent=null}}function Qn(o,t,a){o.$el=t;if(!o.$options.render){o.$options.render=Tt;if(o.$options.template&&o.$options.template.charAt(0)!=="#"||o.$options.el||t)W("You are using the runtime-only build of Vue where the template "+"compiler is not available. Either pre-compile the templates into "+"render functions, or use the compiler-included build.",o);else W("Failed to mount component: template or render function not defined.",o)}m(o,"beforeMount");var e;if(q.performance&&s)e=function(){var t=o._name;var e=o._uid;var n="vue-perf-start:".concat(e);var r="vue-perf-end:".concat(e);s(n);var i=o._render();s(r);Me("vue ".concat(t," render"),n,r);s(n);o._update(i,a);s(r);Me("vue ".concat(t," patch"),n,r)};else e=function(){o._update(o._render(),a)};var n={before:function(){if(o._isMounted&&!o._isDestroyed)m(o,"beforeUpdate")}};{n.onTrack=function(t){return m(o,"renderTracked",[t])};n.onTrigger=function(t){return m(o,"renderTriggered",[t])}}new xi(o,e,x,n,true);a=false;var r=o._preWatchers;if(r)for(var i=0;i<r.length;i++)r[i].run();if(o.$vnode==null){o._isMounted=true;m(o,"mounted")}return o}function Zn(t,e,n,r,i){Gn=true;var o=r.data.scopedSlots;var a=t.$scopedSlots;var s=!!(o&&!o.$stable||a!==_&&!a.$stable||o&&t.$scopedSlots.$key!==o.$key||!o&&t.$scopedSlots.$key);var c=!!(i||t.$options._renderChildren||s);var l=t.$vnode;t.$options._parentVnode=r;t.$vnode=r;if(t._vnode)t._vnode.parent=r;t.$options._renderChildren=i;var u=r.data.attrs||_;if(t._attrsProxy)if(Cn(t._attrsProxy,u,l.data&&l.data.attrs||_,t))c=true;t.$attrs=u;t.$listeners=n||_;if(e&&t.$options.props){te(false);var f=t._props;var d=t.$options._propKeys||[];for(var p=0;p<d.length;p++){var h=d[p];var v=t.$options.props;f[h]=Co(h,v,e,t)}te(true);t.$options.propsData=e}n=n||_;var m=t.$options._parentListeners;t.$options._parentListeners=n;Vn(t,n,m);if(c){t.$slots=mn(i,r.context);t.$forceUpdate()}Gn=false}function tr(t){while(t&&(t=t.$parent))if(t._inactive)return true;return false}function er(t,e){if(e){t._directInactive=false;if(tr(t))return}else if(t._directInactive)return;if(t._inactive||t._inactive===null){t._inactive=false;for(var n=0;n<t.$children.length;n++)er(t.$children[n]);m(t,"activated")}}function nr(t,e){if(e){t._directInactive=true;if(tr(t))return}if(!t._inactive){t._inactive=true;for(var n=0;n<t.$children.length;n++)nr(t.$children[n]);m(t,"deactivated")}}function m(t,e,n,r){if(r===void 0)r=true;Ut();var i=S;r&&d(t);var o=t.$options[e];var a="".concat(e," hook");if(o)for(var s=0,c=o.length;s<c;s++)Rr(o[s],t,n||null,t,a);if(t._hasHookEvent)t.$emit("hook:"+e);r&&d(i);Yt()}var rr=100,ir=[],or=[],ar={},sr={},cr=false,lr=false,ur=0;function fr(){ur=ir.length=or.length=0;ar={};sr={};cr=lr=false}var dr=0,pr=Date.now;if(r&&!gt){var hr=window.performance;if(hr&&typeof hr.now==="function"&&pr()>document.createEvent("Event").timeStamp)pr=function(){return hr.now()}}function vr(){dr=pr();lr=true;var t,e;ir.sort(function(t,e){return t.id-e.id});for(ur=0;ur<ir.length;ur++){t=ir[ur];if(t.before)t.before();e=t.id;ar[e]=null;t.run();if(ar[e]!=null){sr[e]=(sr[e]||0)+1;if(sr[e]>rr){W("You may have an infinite update loop "+(t.user?'in watcher with expression "'.concat(t.expression,'"'):"in a component render function."),t.vm);break}}}var n=or.slice();var r=ir.slice();fr();yr(n);mr(r);if(At&&q.devtools)At.emit("flush")}function mr(t){var e=t.length;while(e--){var n=t[e];var r=n.vm;if(r&&r._watcher===n&&r._isMounted&&!r._isDestroyed)m(r,"updated")}}function gr(t){t._inactive=false;or.push(t)}function yr(t){for(var e=0;e<t.length;e++){t[e]._inactive=true;er(t[e],true)}}function br(t){var e=t.id;if(ar[e]!=null)return;if(t===v.target&&t.noRecurse)return;ar[e]=true;if(!lr)ir.push(t);else{var n=ir.length-1;while(n>ur&&ir[n].id>t.id)n--;ir.splice(n+1,0,t)}if(!cr){cr=true;if(!q.async){vr();return}Jr(vr)}}var wr="watcher",_r="".concat(wr," callback"),xr="".concat(wr," getter"),Sr="".concat(wr," cleanup");function Er(t,e){return Dr(t,null,e)}function Cr(t,e){return Dr(t,null,zt(zt({},e),{flush:"post"}))}function kr(t,e){return Dr(t,null,zt(zt({},e),{flush:"sync"}))}var Ar={},o;function Or(t,e,n){if(typeof e!=="function")W("`watch(fn, options?)` signature has been moved to a separate API. "+"Use `watchEffect(fn, options?)` instead. `watch` now only "+"supports `watch(source, cb, options?) signature.");return Dr(t,e,n)}function Dr(t,e,n){var r=n===void 0?_:n,i=r.immediate,o=r.deep,a=r.flush,s=a===void 0?"pre":a,c=r.onTrack,l=r.onTrigger;
7369if(!e){if(i!==undefined)W('watch() "immediate" option is only respected when using the '+"watch(source, callback, options?) signature.");if(o!==undefined)W('watch() "deep" option is only respected when using the '+"watch(source, callback, options?) signature.")}var u=function(t){W("Invalid watch source: ".concat(t,". A watch source can only be a getter/effect ")+"function, a ref, a reactive object, or an array of these types.")};var f=S;var d=function(t,e,n){if(n===void 0)n=null;return Rr(t,null,n,f,e)};var p;var h=false;var v=false;if(E(t)){p=function(){return t.value};h=de(t)}else if(fe(t)){p=function(){t.__ob__.dep.depend();return t};o=true}else if(j(t)){v=true;h=t.some(function(t){return fe(t)||de(t)});p=function(){return t.map(function(t){if(E(t))return t.value;else if(fe(t))return bi(t);else if(B(t))return d(t,xr);else u(t)})}}else if(B(t))if(e)p=function(){return d(t,xr)};else p=function(){if(f&&f._isDestroyed)return;if(g)g();return d(t,wr,[y])};else{p=x;u(t)}if(e&&o){var m=p;p=function(){return bi(m())}}var g;var y=function(t){g=b.onStop=function(){d(t,Sr)}};if(kt()){y=x;if(!e)p();else if(i)d(e,_r,[p(),v?[]:undefined,y]);return x}var b=new xi(S,p,x,{lazy:true});b.noRecurse=!e;var w=v?[]:Ar;b.run=function(){if(!b.active&&!(s==="pre"&&f&&f._isBeingDestroyed))return;if(e){var t=b.get();if(o||h||(v?t.some(function(t,e){return ct(t,w[e])}):ct(t,w))){if(g)g();d(e,_r,[t,w===Ar?undefined:w,y]);w=t}}else b.get()};if(s==="sync")b.update=b.run;else if(s==="post"){b.id=Infinity;b.update=function(){return br(b)}}else b.update=function(){if(f&&f===S&&!f._isMounted){var t=f._preWatchers||(f._preWatchers=[]);if(t.indexOf(b)<0)t.push(b)}else br(b)};{b.onTrack=c;b.onTrigger=l}if(e)if(i)b.run();else w=b.get();else if(s==="post"&&f)f.$once("hook:mounted",function(){return b.get()});else b.get();return function(){b.teardown()}}var Lr=function(){function t(t){if(t===void 0)t=false;this.active=true;this.effects=[];this.cleanups=[];if(!t&&o){this.parent=o;this.index=(o.scopes||(o.scopes=[])).push(this)-1}}t.prototype.run=function(t){if(this.active){var e=o;try{o=this;return t()}finally{o=e}}else W("cannot run an inactive effect scope.")};t.prototype.on=function(){o=this};t.prototype.off=function(){o=this.parent};t.prototype.stop=function(t){if(this.active){var e=void 0,n=void 0;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].teardown();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(true);if(this.parent&&!t){var r=this.parent.scopes.pop();if(r&&r!==this){this.parent.scopes[this.index]=r;r.index=this.index}}this.active=false}};return t}();function Mr(t){return new Lr(t)}function Tr(t,e){if(e===void 0)e=o;if(e&&e.active)e.effects.push(t)}function Pr(){return o}function Ir(t){if(o)o.cleanups.push(t);else W("onScopeDispose() is called when there is no active effect scope"+" to be associated with.")}function jr(t,e){if(!S)W("provide() can only be used inside setup().");else{var n=S._provided;var r=S.$parent&&S.$parent._provided;if(r===n)n=S._provided=Object.create(r);n[t]=e}}function Nr(t,e,n){if(n===void 0)n=false;var r=S;if(r){var i=r.$parent&&r.$parent._provided;if(i&&t in i)return i[t];else if(arguments.length>1)return n&&B(e)?e.call(r):e;else W('injection "'.concat(String(t),'" not found.'))}else W("inject() can only be used inside setup() or functional components.")}function Fr(t,e,n){if(!S)W("globally imported h() can only be invoked when there is an active "+"component instance, e.g. synchronously in a component's render or setup function.");return Xe(S,t,e,n,2,true)}function $r(t,e,n){Ut();try{if(e){var r=e;while(r=r.$parent){var i=r.$options.errorCaptured;if(i)for(var o=0;o<i.length;o++)try{var a=i[o].call(r,t,e,n)===false;if(a)return}catch(t){Br(t,r,"errorCaptured hook")}}}Br(t,e,n)}finally{Yt()}}function Rr(t,e,n,r,i){var o;try{o=n?t.apply(e,n):t.call(e);if(o&&!o._isVue&&L(o)&&!o._handled){o.catch(function(t){return $r(t,r,i+" (Promise/async)")});o._handled=true}}catch(t){$r(t,r,i)}return o}function Br(e,t,n){if(q.errorHandler)try{return q.errorHandler.call(null,e,t,n)}catch(t){if(t!==e)Hr(t,null,"config.errorHandler")}Hr(e,t,n)}function Hr(t,e,n){W("Error in ".concat(n,': "').concat(t.toString(),'"'),e);if(r&&typeof console!=="undefined")console.error(t);else throw t}var qr=false,zr=[],Wr=false,Vr;function Ur(){Wr=false;var t=zr.slice(0);zr.length=0;for(var e=0;e<t.length;e++)t[e]()}if(typeof Promise!=="undefined"&&Ot(Promise)){var Yr=Promise.resolve();Vr=function(){Yr.then(Ur);if(wt)setTimeout(x)};qr=true}else if(!gt&&typeof MutationObserver!=="undefined"&&(Ot(MutationObserver)||MutationObserver.toString()==="[object MutationObserverConstructor]")){var Gr=1;var Kr=new MutationObserver(Ur);var Xr=document.createTextNode(String(Gr));Kr.observe(Xr,{characterData:true});Vr=function(){Gr=(Gr+1)%2;Xr.data=String(Gr)};
7369qr=true}else if(typeof Dd!=="undefined"&&Ot(Dd))Vr=function(){Dd(Ur)};else Vr=function(){setTimeout(Ur,0)};function Jr(t,e){var n;zr.push(function(){if(t)try{t.call(e)}catch(t){$r(t,e,"nextTick")}else if(n)n(e)});if(!Wr){Wr=true;Vr()}if(!t&&typeof Promise!=="undefined")return new Promise(function(t){n=t})}function Qr(t){{W("useCssModule() is not supported in the global build.");return _}}function Zr(i){if(!r&&!false)return;var o=S;if(!o){W("useCssVars is called without current active component instance.");return}Cr(function(){var t=o.$el;var e=i(o,o._setupProxy);if(t&&t.nodeType===1){var n=t.style;for(var r in e)n.setProperty("--".concat(r),e[r])}})}function ti(t){if(B(t))t={loader:t};var n=t.loader,e=t.loadingComponent,r=t.errorComponent,i=t.delay,o=i===void 0?200:i,a=t.timeout,s=t.suspensible,c=s===void 0?false:s,l=t.onError;if(c)W("The suspensiblbe option for async components is not supported in Vue2. It is ignored.");var u=null;var f=0;var d=function(){f++;u=null;return p()};var p=function(){var e;return u||(e=u=n().catch(function(i){i=i instanceof Error?i:new Error(String(i));if(l)return new Promise(function(t,e){var n=function(){return t(d())};var r=function(){return e(i)};l(i,n,r,f+1)});else throw i}).then(function(t){if(e!==u&&u)return u;if(!t)W("Async component loader resolved to undefined. "+"If you are using retry(), make sure to return its return value.");if(t&&(t.__esModule||t[Symbol.toStringTag]==="Module"))t=t.default;if(t&&!H(t)&&!B(t))throw new Error("Invalid async component load result: ".concat(t));return t}))};return function(){var t=p();return{component:t,delay:o,timeout:a,error:r,loading:e}}}function n(n){return function(t,e){if(e===void 0)e=S;if(!e){W("".concat(ei(n)," is called when there is no active component instance to be ")+"associated with. "+"Lifecycle injection APIs can only be used during execution of setup().");return}return ni(e,n,t)}}function ei(t){if(t==="beforeDestroy")t="beforeUnmount";else if(t==="destroyed")t="unmounted";return"on".concat(t[0].toUpperCase()+t.slice(1))}function ni(t,e,n){var r=t.$options;r[e]=po(r[e],n)}var ri=n("beforeMount"),ii=n("mounted"),oi=n("beforeUpdate"),ai=n("updated"),si=n("beforeDestroy"),ci=n("destroyed"),li=n("errorCaptured"),ui=n("activated"),fi=n("deactivated"),di=n("serverPrefetch"),pi=n("renderTracked"),hi=n("renderTriggered"),vi="2.7.5";function mi(t){return t}var gi=Object.freeze({__proto__:null,version:vi,defineComponent:mi,ref:be,shallowRef:we,isRef:E,toRef:Oe,toRefs:Ae,unref:Se,proxyRefs:Ee,customRef:ke,triggerRef:xe,reactive:ce,isReactive:fe,isReadonly:pe,isShallow:de,isProxy:he,shallowReactive:le,markRaw:me,toRaw:ve,readonly:Te,shallowReadonly:je,computed:Ne,watch:Or,watchEffect:Er,watchPostEffect:Cr,watchSyncEffect:kr,EffectScope:Lr,effectScope:Mr,onScopeDispose:Ir,getCurrentScope:Pr,provide:jr,inject:Nr,h:Fr,getCurrentInstance:Mt,useSlots:Dn,useAttrs:Ln,mergeDefaults:Tn,nextTick:Jr,set:oe,del:ae,useCssModule:Qr,useCssVars:Zr,defineAsyncComponent:ti,onBeforeMount:ri,onMounted:ii,onBeforeUpdate:oi,onUpdated:ai,onBeforeUnmount:si,onUnmounted:ci,onErrorCaptured:li,onActivated:ui,onDeactivated:fi,onServerPrefetch:di,onRenderTracked:pi,onRenderTriggered:hi}),yi=new Lt;function bi(t){wi(t,yi);yi.clear();return t}function wi(t,e){var n,r;var i=j(t);if(!i&&!H(t)||Object.isFrozen(t)||t instanceof z)return;if(t.__ob__){var o=t.__ob__.dep.id;if(e.has(o))return;e.add(o)}if(i){n=t.length;while(n--)wi(t[n],e)}else if(E(t))wi(t.value,e);else{r=Object.keys(t);n=r.length;while(n--)wi(t[r[n]],e)}}var _i=0,xi=function(){function t(t,e,n,r,i){Tr(this,o||(t?t._scope:undefined));if(this.vm=t)if(i)t._watcher=this;if(r){this.deep=!!r.deep;this.user=!!r.user;this.lazy=!!r.lazy;this.sync=!!r.sync;this.before=r.before;{this.onTrack=r.onTrack;this.onTrigger=r.onTrigger}}else this.deep=this.user=this.lazy=this.sync=false;this.cb=n;this.id=++_i;this.active=true;this.dirty=this.lazy;this.deps=[];this.newDeps=[];this.depIds=new Lt;this.newDepIds=new Lt;this.expression=e.toString();if(B(e))this.getter=e;else{this.getter=vt(e);if(!this.getter){this.getter=x;W('Failed watching path: "'.concat(e,'" ')+"Watcher only accepts simple dot-delimited paths. "+"For full control, use a function instead.",t)}}this.value=this.lazy?undefined:this.get()}t.prototype.get=function(){Ut(this);var t;var e=this.vm;try{t=this.getter.call(e,e)}catch(t){if(this.user)$r(t,e,'getter for watcher "'.concat(this.expression,'"'));else throw t}finally{if(this.deep)bi(t);Yt();this.cleanupDeps()}return t};
7369t.prototype.addDep=function(t){var e=t.id;if(!this.newDepIds.has(e)){this.newDepIds.add(e);this.newDeps.push(t);if(!this.depIds.has(e))t.addSub(this)}};t.prototype.cleanupDeps=function(){var t=this.deps.length;while(t--){var e=this.deps[t];if(!this.newDepIds.has(e.id))e.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds;this.newDepIds=n;this.newDepIds.clear();n=this.deps;this.deps=this.newDeps;this.newDeps=n;this.newDeps.length=0};t.prototype.update=function(){if(this.lazy)this.dirty=true;else if(this.sync)this.run();else br(this)};t.prototype.run=function(){if(this.active){var t=this.get();if(t!==this.value||H(t)||this.deep){var e=this.value;this.value=t;if(this.user){var n='callback for watcher "'.concat(this.expression,'"');Rr(this.cb,this.vm,[t,e],this.vm,n)}else this.cb.call(this.vm,t,e)}}};t.prototype.evaluate=function(){this.value=this.get();this.dirty=false};t.prototype.depend=function(){var t=this.deps.length;while(t--)this.deps[t].depend()};t.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed)I(this.vm._scope.effects,this);if(this.active){var t=this.deps.length;while(t--)this.deps[t].removeSub(this);this.active=false;if(this.onStop)this.onStop()}};return t}(),a={enumerable:true,configurable:true,get:x,set:x};function Si(t,n,r){a.get=function t(){return this[n][r]};a.set=function t(e){this[n][r]=e};Object.defineProperty(t,r,a)}function Ei(t){var e=t.$options;if(e.props)Ci(t,e.props);xn(t);if(e.methods)Pi(t,e.methods);if(e.data)ki(t);else{var n=re(t._data={});n&&n.vmCount++}if(e.computed)Di(t,e.computed);if(e.watch&&e.watch!==xt)Ii(t,e.watch)}function Ci(r,i){var o=r.$options.propsData||{};var a=r._props=le({});var s=r.$options._propKeys=[];var c=!r.$parent;if(!c)te(false);var t=function(t){s.push(t);var e=Co(t,i,o,r);{var n=J(t);if(P(n)||q.isReservedAttr(n))W('"'.concat(n,'" is a reserved attribute and cannot be used as component prop.'),r);ie(a,t,e,function(){if(!c&&!Gn)W("Avoid mutating a prop directly since the value will be "+"overwritten whenever the parent component re-renders. "+"Instead, use a data or computed property based on the prop's "+'value. Prop being mutated: "'.concat(t,'"'),r)})}if(!(t in r))Si(r,"_props",t)};for(var e in i)t(e);te(true)}function ki(t){var e=t.$options.data;e=t._data=B(e)?Ai(e,t):e||{};if(!c(e)){e={};W("data functions should return an object:\n"+"https://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",t)}var n=Object.keys(e);var r=t.$options.props;var i=t.$options.methods;var o=n.length;while(o--){var a=n[o];if(i&&u(i,a))W('Method "'.concat(a,'" has already been defined as a data property.'),t);if(r&&u(r,a))W('The data property "'.concat(a,'" is already declared as a prop. ')+"Use prop default value instead.",t);else if(!pt(a))Si(t,"_data",a)}var s=re(e);s&&s.vmCount++}function Ai(t,e){Ut();try{return t.call(e,e)}catch(t){$r(t,e,"data()");return{}}finally{Yt()}}var Oi={lazy:true};function Di(t,e){var n=t._computedWatchers=Object.create(null);var r=kt();for(var i in e){var o=e[i];var a=B(o)?o:o.get;if(a==null)W('Getter is missing for computed property "'.concat(i,'".'),t);if(!r)n[i]=new xi(t,a||x,x,Oi);if(!(i in t))Li(t,i,o);else if(i in t.$data)W('The computed property "'.concat(i,'" is already defined in data.'),t);else if(t.$options.props&&i in t.$options.props)W('The computed property "'.concat(i,'" is already defined as a prop.'),t);else if(t.$options.methods&&i in t.$options.methods)W('The computed property "'.concat(i,'" is already defined as a method.'),t)}}function Li(t,e,n){var r=!kt();if(B(n)){a.get=r?Mi(e):Ti(n);a.set=x}else{a.get=n.get?r&&n.cache!==false?Mi(e):Ti(n.get):x;a.set=n.set||x}if(a.set===x)a.set=function(){W('Computed property "'.concat(e,'" was assigned to but it has no setter.'),this)};Object.defineProperty(t,e,a)}function Mi(n){return function t(){var e=this._computedWatchers&&this._computedWatchers[n];if(e){if(e.dirty)e.evaluate();if(v.target){if(v.target.onTrack)v.target.onTrack({effect:v.target,target:this,type:"get",key:n});e.depend()}return e.value}}}function Ti(e){return function t(){return e.call(this,this)}}function Pi(t,e){var n=t.$options.props;for(var r in e){{if(typeof e[r]!=="function")W('Method "'.concat(r,'" has type "').concat(typeof e[r],'" in the component definition. ')+"Did you reference the function correctly?",t);if(n&&u(n,r))W('Method "'.concat(r,'" has already been defined as a prop.'),t);if(r in t&&pt(r))W('Method "'.concat(r,'" conflicts with an existing Vue instance method. ')+"Avoid defining component methods that start with _ or $.")}t[r]=typeof e[r]!=="function"?x:tt(e[r],t)}}function Ii(t,e){for(var n in e){var r=e[n];if(j(r))for(var i=0;i<r.length;i++)ji(t,n,r[i]);else ji(t,n,r)}}function ji(t,e,n,r){if(c(n)){r=n;n=n.handler}
7369if(typeof n==="string")n=t[n];return t.$watch(e,n,r)}function Ni(t){var e={};e.get=function(){return this._data};var n={};n.get=function(){return this._props};{e.set=function(){W("Avoid replacing instance root $data. "+"Use nested data properties instead.",this)};n.set=function(){W("$props is readonly.",this)}}Object.defineProperty(t.prototype,"$data",e);Object.defineProperty(t.prototype,"$props",n);t.prototype.$set=oe;t.prototype.$delete=ae;t.prototype.$watch=function(t,e,n){var r=this;if(c(e))return ji(r,t,e,n);n=n||{};n.user=true;var i=new xi(r,t,e,n);if(n.immediate){var o='callback for immediate watcher "'.concat(i.expression,'"');Ut();Rr(e,r,[i.value],r,o);Yt()}return function t(){i.teardown()}}}function Fi(t){var e=t.$options.provide;if(e){var n=B(e)?e.call(t):e;if(!H(n))return;var r=Dt?Reflect.ownKeys(n):Object.keys(n);d(t);for(var i=0;i<r.length;i++)jr(r[i],n[r[i]]);d()}}function $i(e){var n=Ri(e.$options.inject,e);if(n){te(false);Object.keys(n).forEach(function(t){ie(e,t,n[t],function(){W("Avoid mutating an injected value directly since the changes will be "+"overwritten whenever the provided component re-renders. "+'injection being mutated: "'.concat(t,'"'),e)})});te(true)}}function Ri(t,e){if(t){var n=Object.create(null);var r=Dt?Reflect.ownKeys(t):Object.keys(t);for(var i=0;i<r.length;i++){var o=r[i];if(o==="__ob__")continue;var a=t[o].from;if(a in e._provided)n[o]=e._provided[a];else if("default"in t[o]){var s=t[o].default;n[o]=B(s)?s.call(e):s}else W('Injection "'.concat(o,'" not found'),e)}return n}}var Bi=0;function Hi(t){t.prototype._init=function(t){var e=this;e._uid=Bi++;var n,r;if(q.performance&&s){n="vue-perf-start:".concat(e._uid);r="vue-perf-end:".concat(e._uid);s(n)}e._isVue=true;e.__v_skip=true;e._scope=new Lr(true);if(t&&t._isComponent)qi(e,t);else e.$options=So(zi(e.constructor),t||{},e);Pt(e);e._self=e;Xn(e);Hn(e);Pn(e);m(e,"beforeCreate",undefined,false);$i(e);Ei(e);Fi(e);m(e,"created");if(q.performance&&s){e._name=oo(e,false);s(r);Me("vue ".concat(e._name," init"),n,r)}if(e.$options.el)e.$mount(e.$options.el)}}function qi(t,e){var n=t.$options=Object.create(t.constructor.options);var r=e._parentVnode;n.parent=e.parent;n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData;n._parentListeners=i.listeners;n._renderChildren=i.children;n._componentTag=i.tag;if(e.render){n.render=e.render;n.staticRenderFns=e.staticRenderFns}}function zi(t){var e=t.options;if(t.super){var n=zi(t.super);var r=t.superOptions;if(n!==r){t.superOptions=n;var i=Wi(t);if(i)h(t.extendOptions,i);e=t.options=So(n,t.extendOptions);if(e.name)e.components[e.name]=t}}return e}function Wi(t){var e;var n=t.options;var r=t.sealedOptions;for(var i in n)if(n[i]!==r[i]){if(!e)e={};e[i]=n[i]}return e}function Vi(t,e,n,o,r){var i=this;var a=r.options;var s;if(u(o,"_uid")){s=Object.create(o);s._original=o}else{s=o;o=o._original}var c=$(a._compiled);var l=!c;this.data=t;this.props=e;this.children=n;this.parent=o;this.listeners=t.on||_;this.injections=Ri(a.inject,o);this.slots=function(){if(!i.$slots)bn(o,t.scopedSlots,i.$slots=mn(n,o));return i.$slots};Object.defineProperty(this,"scopedSlots",{enumerable:true,get:function(){return bn(o,t.scopedSlots,this.slots())}});if(c){this.$options=a;this.$slots=this.slots();this.$scopedSlots=bn(o,t.scopedSlots,this.$slots)}if(a._scopeId)this._c=function(t,e,n,r){var i=Xe(s,t,e,n,r,l);if(i&&!j(i)){i.fnScopeId=a._scopeId;i.fnContext=o}return i};else this._c=function(t,e,n,r){return Xe(s,t,e,n,r,l)}}function Ui(t,e,n,r,i){var o=t.options;var a={};var s=o.props;if(F(s))for(var c in s)a[c]=Co(c,s,e||_);else{if(F(n.attrs))Gi(a,n.attrs);if(F(n.props))Gi(a,n.props)}var l=new Vi(n,a,i,r,t);var u=o.render.call(null,l._c,l);if(u instanceof z)return Yi(u,n,l.parent,o,l);else if(j(u)){var f=Ve(u)||[];var d=new Array(f.length);for(var p=0;p<f.length;p++)d[p]=Yi(f[p],n,l.parent,o,l);return d}}function Yi(t,e,n,r,i){var o=jt(t);o.fnContext=n;o.fnOptions=r;(o.devtoolsMeta=o.devtoolsMeta||{}).renderContext=i;if(e.slot)(o.data||(o.data={})).slot=e.slot;return o}function Gi(t,e){for(var n in e)t[p(n)]=e[n]}function Ki(t){return t.name||t.__name||t._componentTag}vn(Vi.prototype);var Xi={init:function(t,e){if(t.componentInstance&&!t.componentInstance._isDestroyed&&t.data.keepAlive){var n=t;Xi.prepatch(n,n)}else{var r=t.componentInstance=Zi(t,Yn);r.$mount(e?t.elm:undefined,e)}},prepatch:function(t,e){var n=e.componentOptions;var r=e.componentInstance=t.componentInstance;Zn(r,n.propsData,n.listeners,e,n.children)},insert:function(t){var e=t.context,n=t.componentInstance;if(!n._isMounted){n._isMounted=true;m(n,"mounted")}if(t.data.keepAlive)if(e._isMounted)gr(n);else er(n,true)},destroy:function(t){var e=t.componentInstance;if(!e._isDestroyed)if(!t.data.keepAlive)e.$destroy();else nr(e,true)}},Ji=Object.keys(Xi);function Qi(t,e,n,r,i){if(N(t))return;var o=n.$options._base;if(H(t))t=o.extend(t);if(typeof t!=="function"){W("Invalid Component definition: ".concat(String(t)),n);return}var a;if(N(t.cid)){a=t;t=Rn(a,o);if(t===undefined)return $n(a,e,n,r,i)}e=e||{};zi(t);if(F(e.model))no(t.options,e);var s=qe(e,t,i);if($(t.options.functional))return Ui(t,s,e,n,r);var c=e.on;e.on=e.nativeOn;if($(t.options.abstract)){var l=e.slot;e={};if(l)e.slot=l}to(e);var u=Ki(t.options)||i;var f=new z("vue-component-".concat(t.cid).concat(u?"-".concat(u):""),e,undefined,undefined,undefined,n,{Ctor:t,propsData:s,listeners:c,tag:i,children:r},a);return f}function Zi(t,e){var n={_isComponent:true,_parentVnode:t,parent:e};var r=t.data.inlineTemplate;if(F(r)){n.render=r.render;n.staticRenderFns=r.staticRenderFns}return new t.componentOptions.Ctor(n)}function to(t){var e=t.hook||(t.hook={});for(var n=0;n<Ji.length;n++){var r=Ji[n];var i=e[r];var o=Xi[r];if(i!==o&&!(i&&i._merged))e[r]=i?eo(o,i):o}}function eo(n,r){var t=function(t,e){n(t,e);r(t,e)};t._merged=true;return t}function no(t,e){var n=t.model&&t.model.prop||"value";var r=t.model&&t.model.event||"input";(e.attrs||(e.attrs={}))[n]=e.model.value;var i=e.on||(e.on={});var o=i[r];var a=e.model.callback;if(F(o)){if(j(o)?o.indexOf(a)===-1:o!==a)i[r]=[a].concat(o)}else i[r]=a}var W=x,ro=x,io,oo,ao=typeof console!=="undefined",so=/(?:^|[-_])(\w)/g,co=function(t){return t.replace(so,function(t){return t.toUpperCase()}).replace(/[-_]/g,"")},W=function(t,e){if(e===void 0)e=S;var n=e?io(e):"";if(q.warnHandler)q.warnHandler.call(null,t,e,n);else if(ao&&!q.silent)console.error("[Vue warn]: ".concat(t).concat(n))},ro=function(t,e){if(ao&&!q.silent)console.warn("[Vue tip]: ".concat(t)+(e?io(e):""))},oo=function(t,e){if(t.$root===t)return"<Root>";var n=B(t)&&t.cid!=null?t.options:t._isVue?t.$options||t.constructor.options:t;var r=Ki(n);var i=n.__file;if(!r&&i){var o=i.match(/([^/\\]+)\.vue$/);r=o&&o[1]}return(r?"<".concat(co(r),">"):"<Anonymous>")+(i&&e!==false?" at ".concat(i):"")},lo=function(t,e){var n="";while(e){if(e%2===1)n+=t;if(e>1)t+=t;e>>=1}return n},io=function(t){if(t._isVue&&t.$parent){var e=[];var n=0;while(t){if(e.length>0){var r=e[e.length-1];if(r.constructor===t.constructor){n++;t=t.$parent;continue}else if(n>0){e[e.length-1]=[r,n];n=0}}e.push(t);t=t.$parent}return"\n\nfound in\n\n"+e.map(function(t,e){return"".concat(e===0?"---\x3e ":lo(" ",5+e*2)).concat(j(t)?"".concat(oo(t[0]),"... (").concat(t[1]," recursive calls)"):oo(t))}).join("\n")}else return"\n\n(found in ".concat(oo(t),")")},g=q.optionMergeStrategies;function uo(t,e){if(!e)return t;var n,r,i;var o=Dt?Reflect.ownKeys(e):Object.keys(e);for(var a=0;a<o.length;a++){n=o[a];if(n==="__ob__")continue;r=t[n];i=e[n];if(!u(t,n))oe(t,n,i);else if(r!==i&&c(r)&&c(i))uo(r,i)}return t}function fo(r,i,o){if(!o){if(!i)return r;if(!r)return i;return function t(){return uo(B(i)?i.call(this,this):i,B(r)?r.call(this,this):r)}}else return function t(){var e=B(i)?i.call(o,o):i;var n=B(r)?r.call(o,o):r;if(e)return uo(e,n);else return n}}function po(t,e){var n=e?t?t.concat(e):j(e)?e:[e]:t;return n?ho(n):n}function ho(t){var e=[];for(var n=0;n<t.length;
7369n++)if(e.indexOf(t[n])===-1)e.push(t[n]);return e}function vo(t,e,n,r){var i=Object.create(t||null);if(e){xo(r,e,n);return h(i,e)}else return i}g.el=g.propsData=function(t,e,n,r){if(!n)W('option "'.concat(r,'" can only be used during instance ')+"creation with the `new` keyword.");return mo(t,e)},g.data=function(t,e,n){if(!n){if(e&&typeof e!=="function"){W('The "data" option should be a function '+"that returns a per-instance value in component "+"definitions.",n);return t}return fo(t,e)}return fo(t,e,n)},ft.forEach(function(t){g[t]=po}),ut.forEach(function(t){g[t+"s"]=vo}),g.watch=function(t,e,n,r){if(t===xt)t=undefined;if(e===xt)e=undefined;if(!e)return Object.create(t||null);xo(r,e,n);if(!t)return e;var i={};h(i,t);for(var o in e){var a=i[o];var s=e[o];if(a&&!j(a))a=[a];i[o]=a?a.concat(s):j(s)?s:[s]}return i},g.props=g.methods=g.inject=g.computed=function(t,e,n,r){if(e&&true)xo(r,e,n);if(!t)return e;var i=Object.create(null);h(i,t);if(e)h(i,e);return i},g.provide=fo;var mo=function(t,e){return e===undefined?t:e};function go(t){for(var e in t.components)yo(e)}function yo(t){if(!new RegExp("^[a-zA-Z][\\-\\.0-9_".concat(dt.source,"]*$")).test(t))W('Invalid component name: "'+t+'". Component names '+"should conform to valid custom element name in html5 specification.");if(T(t)||q.isReservedTag(t))W("Do not use built-in or reserved HTML elements as component "+"id: "+t)}function bo(t,e){var n=t.props;if(!n)return;var r={};var i,o,a;if(j(n)){i=n.length;while(i--){o=n[i];if(typeof o==="string"){a=p(o);r[a]={type:null}}else W("props must be strings when using array syntax.")}}else if(c(n))for(var s in n){o=n[s];a=p(s);r[a]=c(o)?o:{type:o}}else W('Invalid value for option "props": expected an Array or an Object, '+"but got ".concat(O(n),"."),e);t.props=r}function wo(t,e){var n=t.inject;if(!n)return;var r=t.inject={};if(j(n))for(var i=0;i<n.length;i++)r[n[i]]={from:n[i]};else if(c(n))for(var o in n){var a=n[o];r[o]=c(a)?h({from:o},a):{from:a}}else W('Invalid value for option "inject": expected an Array or an Object, '+"but got ".concat(O(n),"."),e)}function _o(t){var e=t.directives;if(e)for(var n in e){var r=e[n];if(B(r))e[n]={bind:r,update:r}}}function xo(t,e,n){if(!c(e))W('Invalid value for option "'.concat(t,'": expected an Object, ')+"but got ".concat(O(e),"."),n)}function So(n,r,i){go(r);if(B(r))r=r.options;bo(r,i);wo(r,i);_o(r);if(!r._base){if(r.extends)n=So(n,r.extends,i);if(r.mixins)for(var t=0,e=r.mixins.length;t<e;t++)n=So(n,r.mixins[t],i)}var o={};var a;for(a in n)s(a);for(a in r)if(!u(n,a))s(a);function s(t){var e=g[t]||mo;o[t]=e(n[t],r[t],i,t)}return o}function Eo(t,e,n,r){if(typeof n!=="string")return;var i=t[e];if(u(i,n))return i[n];var o=p(n);if(u(i,o))return i[o];var a=K(o);if(u(i,a))return i[a];var s=i[n]||i[o]||i[a];if(r&&!s)W("Failed to resolve "+e.slice(0,-1)+": "+n);return s}function Co(t,e,n,r){var i=e[t];var o=!u(n,t);var a=n[t];var s=Po(Boolean,i.type);if(s>-1)if(o&&!u(i,"default"))a=false;else if(a===""||a===J(t)){var c=Po(String,i.type);if(c<0||s<c)a=true}if(a===undefined){a=ko(r,i,t);var l=Zt;te(true);re(a);te(l)}Ao(i,t,a,r,o);return a}function ko(t,e,n){if(!u(e,"default"))return undefined;var r=e.default;if(H(r))W('Invalid default value for prop "'+n+'": '+"Props with type Object/Array must use a factory function "+"to return the default value.",t);if(t&&t.$options.propsData&&t.$options.propsData[n]===undefined&&t._props[n]!==undefined)return t._props[n];return B(r)&&Mo(e.type)!=="Function"?r.call(t):r}function Ao(t,e,n,r,i){if(t.required&&i){W('Missing required prop: "'+e+'"',r);return}if(n==null&&!t.required)return;var o=t.type;var a=!o||o===true;var s=[];if(o){if(!j(o))o=[o];for(var c=0;c<o.length&&!a;c++){var l=Do(n,o[c],r);s.push(l.expectedType||"");a=l.valid}}var u=s.some(function(t){return t});if(!a&&u){W(Io(e,n,s),r);return}var f=t.validator;if(f)if(!f(n))W('Invalid prop: custom validator check failed for prop "'+e+'".',r)}var Oo=/^(String|Number|Boolean|Function|Symbol|BigInt)$/;function Do(t,e,n){var r;var i=Mo(e);if(Oo.test(i)){var o=typeof t;r=o===i.toLowerCase();if(!r&&o==="object")r=t instanceof e}else if(i==="Object")r=c(t);else if(i==="Array")r=j(t);else try{r=t instanceof e}catch(t){W('Invalid prop type: "'+String(e)+'" is not a constructor',n);r=false}return{valid:r,expectedType:i}}var Lo=/^\s*function (\w+)/;function Mo(t){var e=t&&t.toString().match(Lo);return e?e[1]:""}function To(t,e){return Mo(t)===Mo(e)}function Po(t,e){if(!j(e))return To(e,t)?0:-1;for(var n=0,r=e.length;n<r;n++)if(To(e[n],t))return n;return-1}function Io(t,e,n){var r='Invalid prop: type check failed for prop "'.concat(t,'".')+" Expected ".concat(n.map(K).join(", "));var i=n[0];var o=O(e);
7369if(n.length===1&&Fo(i)&&Fo(typeof e)&&!$o(i,o))r+=" with value ".concat(jo(e,i));r+=", got ".concat(o," ");if(Fo(o))r+="with value ".concat(jo(e,o),".");return r}function jo(t,e){if(e==="String")return'"'.concat(t,'"');else if(e==="Number")return"".concat(Number(t));else return"".concat(t)}var No=["string","number","boolean"];function Fo(e){return No.some(function(t){return e.toLowerCase()===t})}function $o(){var t=[];for(var e=0;e<arguments.length;e++)t[e]=arguments[e];return t.some(function(t){return t.toLowerCase()==="boolean"})}function y(t){if(!(this instanceof y))W("Vue is a constructor and should be called with the `new` keyword");this._init(t)}function Ro(t){t.use=function(t){var e=this._installedPlugins||(this._installedPlugins=[]);if(e.indexOf(t)>-1)return this;var n=et(arguments,1);n.unshift(this);if(B(t.install))t.install.apply(t,n);else if(B(t))t.apply(null,n);e.push(t);return this}}function Bo(t){t.mixin=function(t){this.options=So(this.options,t);return this}}function Ho(t){t.cid=0;var a=1;t.extend=function(t){t=t||{};var e=this;var n=e.cid;var r=t._Ctor||(t._Ctor={});if(r[n])return r[n];var i=Ki(t)||Ki(e.options);if(i)yo(i);var o=function t(e){this._init(e)};o.prototype=Object.create(e.prototype);o.prototype.constructor=o;o.cid=a++;o.options=So(e.options,t);o["super"]=e;if(o.options.props)qo(o);if(o.options.computed)zo(o);o.extend=e.extend;o.mixin=e.mixin;o.use=e.use;ut.forEach(function(t){o[t]=e[t]});if(i)o.options.components[i]=o;o.superOptions=e.options;o.extendOptions=t;o.sealedOptions=h({},o.options);r[n]=o;return o}}function qo(t){var e=t.options.props;for(var n in e)Si(t.prototype,"_props",n)}function zo(t){var e=t.options.computed;for(var n in e)Li(t.prototype,n,e[n])}function Wo(t){ut.forEach(function(n){t[n]=function(t,e){if(!e)return this.options[n+"s"][t];else{if(n==="component")yo(t);if(n==="component"&&c(e)){e.name=e.name||t;e=this.options._base.extend(e)}if(n==="directive"&&B(e))e={bind:e,update:e};this.options[n+"s"][t]=e;return e}}})}function Vo(t){return t&&(Ki(t.Ctor.options)||t.tag)}function Uo(t,e){if(j(t))return t.indexOf(e)>-1;else if(typeof t==="string")return t.split(",").indexOf(e)>-1;else if(V(t))return t.test(e);return false}function Yo(t,e){var n=t.cache,r=t.keys,i=t._vnode;for(var o in n){var a=n[o];if(a){var s=a.name;if(s&&!e(s))Go(n,o,r,i)}}}function Go(t,e,n,r){var i=t[e];if(i&&(!r||i.tag!==r.tag))i.componentInstance.$destroy();t[e]=null;I(n,e)}Hi(y),Ni(y),Un(y),Jn(y),Nn(y);var Ko=[String,RegExp,Array],Xo,Jo={KeepAlive:{name:"keep-alive",abstract:true,props:{include:Ko,exclude:Ko,max:[String,Number]},methods:{cacheVNode:function(){var t=this,e=t.cache,n=t.keys,r=t.vnodeToCache,i=t.keyToCache;if(r){var o=r.tag,a=r.componentInstance,s=r.componentOptions;e[i]={name:Vo(s),tag:o,componentInstance:a};n.push(i);if(this.max&&n.length>parseInt(this.max))Go(e,n[0],n,this._vnode);this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null);this.keys=[]},destroyed:function(){for(var t in this.cache)Go(this.cache,t,this.keys)},mounted:function(){var t=this;this.cacheVNode();this.$watch("include",function(e){Yo(t,function(t){return Uo(e,t)})});this.$watch("exclude",function(e){Yo(t,function(t){return!Uo(e,t)})})},updated:function(){this.cacheVNode()},render:function(){var t=this.$slots.default;var e=Bn(t);var n=e&&e.componentOptions;if(n){var r=Vo(n);var i=this,o=i.include,a=i.exclude;if(o&&(!r||!Uo(o,r))||a&&r&&Uo(a,r))return e;var s=this,c=s.cache,l=s.keys;var u=e.key==null?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):e.key;if(c[u]){e.componentInstance=c[u].componentInstance;I(l,u);l.push(u)}else{this.vnodeToCache=e;this.keyToCache=u}e.data.keepAlive=true}return e||t&&t[0]}}};function Qo(e){var t={};t.get=function(){return q};t.set=function(){W("Do not replace the Vue.config object, set individual fields instead.")};Object.defineProperty(e,"config",t);e.util={warn:W,extend:h,mergeOptions:So,defineReactive:ie};e.set=oe;e.delete=ae;e.nextTick=Jr;e.observable=function(t){re(t);return t};e.options=Object.create(null);ut.forEach(function(t){e.options[t+"s"]=Object.create(null)});e.options._base=e;h(e.options.components,Jo);Ro(e);Bo(e);Ho(e);Wo(e)}Qo(y),Object.defineProperty(y.prototype,"$isServer",{get:kt}),Object.defineProperty(y.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(y,"FunctionalRenderContext",{value:Vi}),y.version=vi;var Zo=l("style,class"),ta=l("input,textarea,option,select,progress"),ea=function(t,e,n){return n==="value"&&ta(t)&&e!=="button"||n==="selected"&&t==="option"||n==="checked"&&t==="input"||n==="muted"&&t==="video"},na=l("contenteditable,draggable,spellcheck"),ra=l("events,caret,typing,plaintext-only"),ia=function(t,e){return la(e)||e==="false"?"false":t==="contenteditable"&&ra(e)?e:"true"},oa=l("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,"+"default,defaultchecked,defaultmuted,defaultselected,defer,disabled,"+"enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,"+"muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,"+"required,reversed,scoped,seamless,selected,sortable,"+"truespeed,typemustmatch,visible"),aa="http://www.w3.org/1999/xlink",sa=function(t){return t.charAt(5)===":"&&t.slice(0,5)==="xlink"},ca=function(t){return sa(t)?t.slice(6,t.length):""},la=function(t){return t==null||t===false};function ua(t){var e=t.data;var n=t;var r=t;while(F(r.componentInstance)){r=r.componentInstance._vnode;if(r&&r.data)e=fa(r.data,e)}while(F(n=n.parent))if(n&&n.data)e=fa(e,n.data);return da(e.staticClass,e.class)}function fa(t,e){return{staticClass:pa(t.staticClass,e.staticClass),class:F(t.class)?[t.class,e.class]:e.class}}function da(t,e){if(F(t)||F(e))return pa(t,ha(e));return""}function pa(t,e){return t?e?t+" "+e:t:e||""}function ha(t){if(Array.isArray(t))return va(t);if(H(t))return ma(t);
7369if(typeof t==="string")return t;return""}function va(t){var e="";var n;for(var r=0,i=t.length;r<i;r++)if(F(n=ha(t[r]))&&n!==""){if(e)e+=" ";e+=n}return e}function ma(t){var e="";for(var n in t)if(t[n]){if(e)e+=" ";e+=n}return e}var ga={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},ya=l("html,body,base,head,link,meta,style,title,"+"address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,"+"div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,"+"a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,"+"s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,"+"embed,object,param,source,canvas,script,noscript,del,ins,"+"caption,col,colgroup,table,thead,tbody,td,th,tr,"+"button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,"+"output,progress,select,textarea,"+"details,dialog,menu,menuitem,summary,"+"content,element,shadow,template,blockquote,iframe,tfoot"),ba=l("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,"+"foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,"+"polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",true),wa=function(t){return t==="pre"},_a=function(t){return ya(t)||ba(t)};function xa(t){if(ba(t))return"svg";if(t==="math")return"math"}var Sa=Object.create(null);function Ea(t){if(!r)return true;if(_a(t))return false;t=t.toLowerCase();if(Sa[t]!=null)return Sa[t];var e=document.createElement(t);if(t.indexOf("-")>-1)return Sa[t]=e.constructor===window.HTMLUnknownElement||e.constructor===window.HTMLElement;else return Sa[t]=/HTMLUnknownElement/.test(e.toString())}var Ca=l("text,number,password,search,email,tel,url");function ka(t){if(typeof t==="string"){var e=document.querySelector(t);if(!e){W("Cannot find element: "+t);return document.createElement("div")}return e}else return t}function Aa(t,e){var n=document.createElement(t);if(t!=="select")return n;if(e.data&&e.data.attrs&&e.data.attrs.multiple!==undefined)n.setAttribute("multiple","multiple");return n}function Oa(t,e){return document.createElementNS(ga[t],e)}function Da(t){return document.createTextNode(t)}function La(t){return document.createComment(t)}function Ma(t,e,n){t.insertBefore(e,n)}function Ta(t,e){t.removeChild(e)}function Pa(t,e){t.appendChild(e)}function Ia(t){return t.parentNode}function ja(t){return t.nextSibling}function Na(t){return t.tagName}function Fa(t,e){t.textContent=e}function $a(t,e){t.setAttribute(e,"")}var Ra=Object.freeze({__proto__:null,createElement:Aa,createElementNS:Oa,createTextNode:Da,createComment:La,insertBefore:Ma,removeChild:Ta,appendChild:Pa,parentNode:Ia,nextSibling:ja,tagName:Na,setTextContent:Fa,setStyleScope:$a}),Ba={create:function(t,e){Ha(e)},update:function(t,e){if(t.data.ref!==e.data.ref){Ha(t,true);Ha(e)}},destroy:function(t){Ha(t,true)}};function Ha(t,e){var n=t.data.ref;if(!F(n))return;var r=t.context;var i=t.componentInstance||t.elm;var o=e?null:i;var a=e?undefined:i;if(B(n)){Rr(n,r,[o],r,"template ref function");return}var s=t.data.refInFor;var c=typeof n==="string"||typeof n==="number";var l=E(n);var u=r.$refs;if(c||l)if(s){var f=c?u[n]:n.value;if(e)j(f)&&I(f,i);else if(!j(f))if(c){u[n]=[i];qa(r,n,u[n])}else n.value=[i];else if(!f.includes(i))f.push(i)}else if(c){if(e&&u[n]!==i)return;u[n]=a;qa(r,n,o)}else if(l){if(e&&n.value!==i)return;n.value=o}else W("Invalid template ref type: ".concat(typeof n))}function qa(t,e,n){var r=t._setupState;if(r&&u(r,e))if(E(r[e]))r[e].value=n;else r[e]=n}var za=new z("",{},[]),Wa=["create","activate","update","remove","destroy"];function Va(t,e){return t.key===e.key&&t.asyncFactory===e.asyncFactory&&(t.tag===e.tag&&t.isComment===e.isComment&&F(t.data)===F(e.data)&&Ua(t,e)||$(t.isAsyncPlaceholder)&&N(e.asyncFactory.error))}function Ua(t,e){if(t.tag!=="input")return true;var n;var r=F(n=t.data)&&F(n=n.attrs)&&n.type;var i=F(n=e.data)&&F(n=n.attrs)&&n.type;return r===i||Ca(r)&&Ca(i)}function Ya(t,e,n){var r,i;var o={};for(r=e;r<=n;++r){i=t[r].key;if(F(i))o[i]=r}return o}function Ga(t){var r,e;var m={};var n=t.modules,y=t.nodeOps;for(r=0;r<Wa.length;++r){m[Wa[r]]=[];for(e=0;e<n.length;++e)if(F(n[e][Wa[r]]))m[Wa[r]].push(n[e][Wa[r]])}function g(t){return new z(y.tagName(t).toLowerCase(),{},[],undefined,t)}function i(t,e){function n(){if(--n.listeners===0)o(t)}n.listeners=e;return n}function o(t){var e=y.parentNode(t);if(F(e))y.removeChild(e,t)}function u(e,t){return!t&&!e.ns&&!(q.ignoredElements.length&&q.ignoredElements.some(function(t){return V(t)?t.test(e.tag):t===e.tag}))&&q.isUnknownElement(e.tag)}var f=0;function b(t,e,n,r,i,o,a){if(F(t.elm)&&F(o))t=o[a]=jt(t);t.isRootInsert=!i;if(d(t,e,n,r))return;var s=t.data;var c=t.children;var l=t.tag;if(F(l)){{if(s&&s.pre)f++;if(u(t,f))W("Unknown custom element: <"+l+">
7369 - did you "+"register the component correctly? For recursive components, "+'make sure to provide the "name" option.',t.context)}t.elm=t.ns?y.createElementNS(t.ns,l):y.createElement(l,t);x(t);v(t,c,e);if(F(s))_(t,e);h(n,t.elm,r);if(s&&s.pre)f--}else if($(t.isComment)){t.elm=y.createComment(t.text);h(n,t.elm,r)}else{t.elm=y.createTextNode(t.text);h(n,t.elm,r)}}function d(t,e,n,r){var i=t.data;if(F(i)){var o=F(t.componentInstance)&&i.keepAlive;if(F(i=i.hook)&&F(i=i.init))i(t,false);if(F(t.componentInstance)){p(t,e);h(n,t.elm,r);if($(o))a(t,e,n,r);return true}}}function p(t,e){if(F(t.data.pendingInsert)){e.push.apply(e,t.data.pendingInsert);t.data.pendingInsert=null}t.elm=t.componentInstance.$el;if(w(t)){_(t,e);x(t)}else{Ha(t);e.push(t)}}function a(t,e,n,r){var i;var o=t;while(o.componentInstance){o=o.componentInstance._vnode;if(F(i=o.data)&&F(i=i.transition)){for(i=0;i<m.activate.length;++i)m.activate[i](za,o);e.push(o);break}}h(n,t.elm,r)}function h(t,e,n){if(F(t))if(F(n)){if(y.parentNode(n)===t)y.insertBefore(t,e,n)}else y.appendChild(t,e)}function v(t,e,n){if(j(e)){A(e);for(var r=0;r<e.length;++r)b(e[r],n,t.elm,null,true,e,r)}else if(R(t.text))y.appendChild(t.elm,y.createTextNode(String(t.text)))}function w(t){while(t.componentInstance)t=t.componentInstance._vnode;return F(t.tag)}function _(t,e){for(var n=0;n<m.create.length;++n)m.create[n](za,t);r=t.data.hook;if(F(r)){if(F(r.create))r.create(za,t);if(F(r.insert))e.push(t)}}function x(t){var e;if(F(e=t.fnScopeId))y.setStyleScope(t.elm,e);else{var n=t;while(n){if(F(e=n.context)&&F(e=e.$options._scopeId))y.setStyleScope(t.elm,e);n=n.parent}}if(F(e=Yn)&&e!==t.context&&e!==t.fnContext&&F(e=e.$options._scopeId))y.setStyleScope(t.elm,e)}function S(t,e,n,r,i,o){for(;r<=i;++r)b(n[r],o,t,e,false,n,r)}function E(t){var e,n;var r=t.data;if(F(r)){if(F(e=r.hook)&&F(e=e.destroy))e(t);for(e=0;e<m.destroy.length;++e)m.destroy[e](t)}if(F(e=t.children))for(n=0;n<t.children.length;++n)E(t.children[n])}function C(t,e,n){for(;e<=n;++e){var r=t[e];if(F(r))if(F(r.tag)){s(r);E(r)}else o(r.elm)}}function s(t,e){if(F(e)||F(t.data)){var n;var r=m.remove.length+1;if(F(e))e.listeners+=r;else e=i(t.elm,r);if(F(n=t.componentInstance)&&F(n=n._vnode)&&F(n.data))s(n,e);for(n=0;n<m.remove.length;++n)m.remove[n](t,e);if(F(n=t.data.hook)&&F(n=n.remove))n(t,e);else e()}else o(t.elm)}function k(t,e,n,r,i){var o=0;var a=0;var s=e.length-1;var c=e[0];var l=e[s];var u=n.length-1;var f=n[0];var d=n[u];var p,h,v,m;var g=!i;A(n);while(o<=s&&a<=u)if(N(c))c=e[++o];else if(N(l))l=e[--s];else if(Va(c,f)){D(c,f,r,n,a);c=e[++o];f=n[++a]}else if(Va(l,d)){D(l,d,r,n,u);l=e[--s];d=n[--u]}else if(Va(c,d)){D(c,d,r,n,u);g&&y.insertBefore(t,c.elm,y.nextSibling(l.elm));c=e[++o];d=n[--u]}else if(Va(l,f)){D(l,f,r,n,a);g&&y.insertBefore(t,l.elm,c.elm);l=e[--s];f=n[++a]}else{if(N(p))p=Ya(e,o,s);h=F(f.key)?p[f.key]:O(f,e,o,s);if(N(h))b(f,r,t,c.elm,false,n,a);else{v=e[h];if(Va(v,f)){D(v,f,r,n,a);e[h]=undefined;g&&y.insertBefore(t,v.elm,c.elm)}else b(f,r,t,c.elm,false,n,a)}f=n[++a]}if(o>s){m=N(n[u+1])?null:n[u+1].elm;S(t,m,n,a,u,r)}else if(a>u)C(e,o,s)}function A(t){var e={};for(var n=0;n<t.length;n++){var r=t[n];var i=r.key;if(F(i))if(e[i])W("Duplicate keys detected: '".concat(i,"'. This may cause an update error."),r.context);else e[i]=true}}function O(t,e,n,r){for(var i=n;i<r;i++){var o=e[i];if(F(o)&&Va(t,o))return i}}function D(t,e,n,r,i,o){if(t===e)return;if(F(e.elm)&&F(r))e=r[i]=jt(e);var a=e.elm=t.elm;if($(t.isAsyncPlaceholder)){if(F(e.asyncFactory.resolved))P(t.elm,e,n);else e.isAsyncPlaceholder=true;return}if($(e.isStatic)&&$(t.isStatic)&&e.key===t.key&&($(e.isCloned)||$(e.isOnce))){e.componentInstance=t.componentInstance;return}var s;var c=e.data;if(F(c)&&F(s=c.hook)&&F(s=s.prepatch))s(t,e);var l=t.children;var u=e.children;if(F(c)&&w(e)){for(s=0;s<m.update.length;++s)m.update[s](t,e);if(F(s=c.hook)&&F(s=s.update))s(t,e)}if(N(e.text)){if(F(l)&&F(u)){if(l!==u)k(a,l,u,n,o)}else if(F(u)){A(u);if(F(t.text))y.setTextContent(a,"");S(a,null,u,0,u.length-1,n)}else if(F(l))C(l,0,l.length-1);else if(F(t.text))y.setTextContent(a,"")}else if(t.text!==e.text)y.setTextContent(a,e.text);if(F(c))if(F(s=c.hook)&&F(s=s.postpatch))s(t,e)}function L(t,e,n){if($(n)&&F(t.parent))t.parent.data.pendingInsert=e;else for(var r=0;r<e.length;++r)e[r].data.hook.insert(e[r])}var M=false;var T=l("attrs,class,staticClass,staticStyle,key");function P(t,e,n,r){var i;var o=e.tag,a=e.data,s=e.children;r=r||a&&a.pre;e.elm=t;if($(e.isComment)&&F(e.asyncFactory)){e.isAsyncPlaceholder=true;return true}if(!I(t,e,r))return false;if(F(a)){if(F(i=a.hook)&&F(i=i.init))i(e,true);if(F(i=e.componentInstance)){p(e,n);return true}}if(F(o)){if(F(s))if(!t.hasChildNodes())v(e,s,n);else if(F(i=a)&&F(i=i.domProps)&&F(i=i.innerHTML)){if(i!==t.innerHTML){if(typeof console!=="undefined"&&!M){M=true;console.warn("Parent: ",t);console.warn("server innerHTML: ",i);console.warn("client innerHTML: ",t.innerHTML)}return false}}else{var c=true;var l=t.firstChild;for(var u=0;u<s.length;u++){if(!l||!P(l,s[u],n,r)){c=false;break}l=l.nextSibling}if(!c||l){if(typeof console!=="undefined"&&!M){M=true;console.warn("Parent: ",t);console.warn("Mismatching childNodes vs. VNodes: ",t.childNodes,s)}return false}}
7369if(F(a)){var f=false;for(var d in a)if(!T(d)){f=true;_(e,n);break}if(!f&&a["class"])bi(a["class"])}}else if(t.data!==e.text)t.data=e.text;return true}function I(t,e,n){if(F(e.tag))return e.tag.indexOf("vue-component")===0||!u(e,n)&&e.tag.toLowerCase()===(t.tagName&&t.tagName.toLowerCase());else return t.nodeType===(e.isComment?8:3)}return function t(e,n,r,i){if(N(n)){if(F(e))E(e);return}var o=false;var a=[];if(N(e)){o=true;b(n,a)}else{var s=F(e.nodeType);if(!s&&Va(e,n))D(e,n,a,null,null,i);else{if(s){if(e.nodeType===1&&e.hasAttribute(lt)){e.removeAttribute(lt);r=true}if($(r))if(P(e,n,a)){L(n,a,true);return e}else W("The client-side rendered virtual DOM tree is not matching "+"server-rendered content. This is likely caused by incorrect "+"HTML markup, for example nesting block-level elements inside "+"<p>, or missing <tbody>. Bailing hydration and performing "+"full client-side render.");e=g(e)}var c=e.elm;var l=y.parentNode(c);b(n,a,c._leaveCb?null:l,y.nextSibling(c));if(F(n.parent)){var u=n.parent;var f=w(n);while(u){for(var d=0;d<m.destroy.length;++d)m.destroy[d](u);u.elm=n.elm;if(f){for(var p=0;p<m.create.length;++p)m.create[p](za,u);var h=u.data.hook.insert;if(h.merged)for(var v=1;v<h.fns.length;v++)h.fns[v]()}else Ha(u);u=u.parent}}if(F(l))C([e],0,0);else if(F(e.tag))E(e)}}L(n,a,o);return n.elm}}var Ka={create:Xa,update:Xa,destroy:function t(e){Xa(e,za)}};function Xa(t,e){if(t.data.directives||e.data.directives)Ja(t,e)}function Ja(e,n){var t=e===za;var r=n===za;var i=Za(e.data.directives,e.context);var o=Za(n.data.directives,n.context);var a=[];var s=[];var c,l,u;for(c in o){l=i[c];u=o[c];if(!l){es(u,"bind",n,e);if(u.def&&u.def.inserted)a.push(u)}else{u.oldValue=l.value;u.oldArg=l.arg;es(u,"update",n,e);if(u.def&&u.def.componentUpdated)s.push(u)}}if(a.length){var f=function(){for(var t=0;t<a.length;t++)es(a[t],"inserted",n,e)};if(t)He(n,"insert",f);else f()}if(s.length)He(n,"postpatch",function(){for(var t=0;t<s.length;t++)es(s[t],"componentUpdated",n,e)});if(!t)for(c in i)if(!o[c])es(i[c],"unbind",e,e,r)}var Qa=Object.create(null);function Za(t,e){var n=Object.create(null);if(!t)return n;var r,i;for(r=0;r<t.length;r++){i=t[r];if(!i.modifiers)i.modifiers=Qa;n[ts(i)]=i;if(e._setupState&&e._setupState.__sfc)i.def=i.def||Eo(e,"_setupState","v-"+i.name);i.def=i.def||Eo(e.$options,"directives",i.name,true)}return n}function ts(t){return t.rawName||"".concat(t.name,".").concat(Object.keys(t.modifiers||{}).join("."))}function es(e,n,r,t,i){var o=e.def&&e.def[n];if(o)try{o(r.elm,e,r,t,i)}catch(t){$r(t,r.context,"directive ".concat(e.name," ").concat(n," hook"))}}var ns=[Ba,Ka];function rs(t,e){var n=e.componentOptions;if(F(n)&&n.Ctor.options.inheritAttrs===false)return;if(N(t.data.attrs)&&N(e.data.attrs))return;var r,i,o;var a=e.elm;var s=t.data.attrs||{};var c=e.data.attrs||{};if(F(c.__ob__)||$(c._v_attr_proxy))c=e.data.attrs=h({},c);for(r in c){i=c[r];o=s[r];if(o!==i)is(a,r,i,e.data.pre)}if((gt||bt)&&c.value!==s.value)is(a,"value",c.value);for(r in s)if(N(c[r]))if(sa(r))a.removeAttributeNS(aa,ca(r));else if(!na(r))a.removeAttribute(r)}function is(t,e,n,r){if(r||t.tagName.indexOf("-")>-1)os(t,e,n);else if(oa(e))if(la(n))t.removeAttribute(e);else{n=e==="allowfullscreen"&&t.tagName==="EMBED"?"true":e;t.setAttribute(e,n)}else if(na(e))t.setAttribute(e,ia(e,n));else if(sa(e))if(la(n))t.removeAttributeNS(aa,ca(e));else t.setAttributeNS(aa,e,n);else os(t,e,n)}function os(e,t,n){if(la(n))e.removeAttribute(t);else{if(gt&&!yt&&e.tagName==="TEXTAREA"&&t==="placeholder"&&n!==""&&!e.__ieph){var r=function(t){t.stopImmediatePropagation();e.removeEventListener("input",r)};e.addEventListener("input",r);e.__ieph=true}e.setAttribute(t,n)}}var as={create:rs,update:rs};function ss(t,e){var n=e.elm;var r=e.data;var i=t.data;if(N(r.staticClass)&&N(r.class)&&(N(i)||N(i.staticClass)&&N(i.class)))return;var o=ua(e);var a=n._transitionClasses;if(F(a))o=pa(o,ha(a));if(o!==n._prevClass){n.setAttribute("class",o);n._prevClass=o}}var cs={create:ss,update:ss},ls=/[\w).+\-_$\]]/,us,fs,ds,ps,hs,vs,ms;function gs(t){var e=false;var n=false;var r=false;var i=false;var o=0;var a=0;var s=0;var c=0;var l,u,f,d,p;for(f=0;f<t.length;f++){u=l;l=t.charCodeAt(f);if(e){if(l===39&&u!==92)e=false}else if(n){if(l===34&&u!==92)n=false}else if(r){if(l===96&&u!==92)r=false}else if(i){if(l===47&&u!==92)i=false}else if(l===124&&t.charCodeAt(f+1)!==124&&t.charCodeAt(f-1)!==124&&!o&&!a&&!s)if(d===un
7369defined){c=f+1;d=t.slice(0,f).trim()}else m();else{switch(l){case 34:n=true;break;case 39:e=true;break;case 96:r=true;break;case 40:s++;break;case 41:s--;break;case 91:a++;break;case 93:a--;break;case 123:o++;break;case 125:o--;break}if(l===47){var h=f-1;var v=void 0;for(;h>=0;h--){v=t.charAt(h);if(v!==" ")break}if(!v||!ls.test(v))i=true}}}if(d===undefined)d=t.slice(0,f).trim();else if(c!==0)m();function m(){(p||(p=[])).push(t.slice(c,f).trim());c=f+1}if(p)for(f=0;f<p.length;f++)d=ys(d,p[f]);return d}function ys(t,e){var n=e.indexOf("(");if(n<0)return'_f("'.concat(e,'")(').concat(t,")");else{var r=e.slice(0,n);var i=e.slice(n+1);return'_f("'.concat(r,'")(').concat(t).concat(i!==")"?","+i:i)}}function bs(t,e){console.error("[Vue compiler]: ".concat(t))}function ws(t,e){return t?t.map(function(t){return t[e]}).filter(function(t){return t}):[]}function _s(t,e,n,r,i){(t.props||(t.props=[])).push(Ds({name:e,value:n,dynamic:i},r));t.plain=false}function xs(t,e,n,r,i){var o=i?t.dynamicAttrs||(t.dynamicAttrs=[]):t.attrs||(t.attrs=[]);o.push(Ds({name:e,value:n,dynamic:i},r));t.plain=false}function Ss(t,e,n,r){t.attrsMap[e]=n;t.attrsList.push(Ds({name:e,value:n},r))}function Es(t,e,n,r,i,o,a,s){(t.directives||(t.directives=[])).push(Ds({name:e,rawName:n,value:r,arg:i,isDynamicArg:o,modifiers:a},s));t.plain=false}function Cs(t,e,n){return n?"_p(".concat(e,',"').concat(t,'")'):t+e}function ks(t,e,n,r,i,o,a,s){r=r||_;if(o&&r.prevent&&r.passive)o("passive and prevent can't be used together. "+"Passive handler can't prevent default event.",a);if(r.right){if(s)e="(".concat(e,")==='click'?'contextmenu':(").concat(e,")");else if(e==="click"){e="contextmenu";delete r.right}}else if(r.middle)if(s)e="(".concat(e,")==='click'?'mouseup':(").concat(e,")");else if(e==="click")e="mouseup";if(r.capture){delete r.capture;e=Cs("!",e,s)}if(r.once){delete r.once;e=Cs("~",e,s)}if(r.passive){delete r.passive;e=Cs("&",e,s)}var c;if(r.native){delete r.native;c=t.nativeEvents||(t.nativeEvents={})}else c=t.events||(t.events={});var l=Ds({value:n.trim(),dynamic:s},a);if(r!==_)l.modifiers=r;var u=c[e];if(Array.isArray(u))i?u.unshift(l):u.push(l);else if(u)c[e]=i?[l,u]:[u,l];else c[e]=l;t.plain=false}function As(t,e){return t.rawAttrsMap[":"+e]||t.rawAttrsMap["v-bind:"+e]||t.rawAttrsMap[e]}function b(t,e,n){var r=w(t,":"+e)||w(t,"v-bind:"+e);if(r!=null)return gs(r);else if(n!==false){var i=w(t,e);if(i!=null)return JSON.stringify(i)}}function w(t,e,n){var r;if((r=t.attrsMap[e])!=null){var i=t.attrsList;for(var o=0,a=i.length;o<a;o++)if(i[o].name===e){i.splice(o,1);break}}if(n)delete t.attrsMap[e];return r}function Os(t,e){var n=t.attrsList;for(var r=0,i=n.length;r<i;r++){var o=n[r];if(e.test(o.name)){n.splice(r,1);return o}}}function Ds(t,e){if(e){if(e.start!=null)t.start=e.start;if(e.end!=null)t.end=e.end}return t}function Ls(t,e,n){var r=n||{},i=r.number,o=r.trim;var a="$$v";var s=a;if(o)s="(typeof ".concat(a," === 'string'")+"? ".concat(a,".trim()")+": ".concat(a,")");if(i)s="_n(".concat(s,")");var c=Ms(e,s);t.model={value:"(".concat(e,")"),expression:JSON.stringify(e),callback:"function (".concat(a,") {").concat(c,"}")}}function Ms(t,e){var n=Ts(t);if(n.key===null)return"".concat(t,"=").concat(e);else return"$set(".concat(n.exp,", ").concat(n.key,", ").concat(e,")")}function Ts(t){t=t.trim();us=t.length;if(t.indexOf("[")<0||t.lastIndexOf("]")<us-1){ps=t.lastIndexOf(".");if(ps>-1)return{exp:t.slice(0,ps),key:'"'+t.slice(ps+1)+'"'};else return{exp:t,key:null}}fs=t;ps=hs=vs=0;while(!Is()){ds=Ps();if(js(ds))Fs(ds);else if(ds===91)Ns(ds)}return{exp:t.slice(0,hs),key:t.slice(hs+1,vs)}}
7369function Ps(){return fs.charCodeAt(++ps)}function Is(){return ps>=us}function js(t){return t===34||t===39}function Ns(t){var e=1;hs=ps;while(!Is()){t=Ps();if(js(t)){Fs(t);continue}if(t===91)e++;if(t===93)e--;if(e===0){vs=ps;break}}}function Fs(t){var e=t;while(!Is()){t=Ps();if(t===e)break}}var $s="__r",Rs="__c",Bs;function Hs(t,e,n){ms=n;var r=e.value;var i=e.modifiers;var o=t.tag;var a=t.attrsMap.type;if(o==="input"&&a==="file")ms("<".concat(t.tag,' v-model="').concat(r,'" type="file">:\n')+"File inputs are read only. Use a v-on:change listener instead.",t.rawAttrsMap["v-model"]);if(t.component){Ls(t,r,i);return false}else if(o==="select")Ws(t,r,i);else if(o==="input"&&a==="checkbox")qs(t,r,i);else if(o==="input"&&a==="radio")zs(t,r,i);else if(o==="input"||o==="textarea")Vs(t,r,i);else if(!q.isReservedTag(o)){Ls(t,r,i);return false}else ms("<".concat(t.tag,' v-model="').concat(r,'">: ')+"v-model is not supported on this element type. "+"If you are working with contenteditable, it's recommended to "+"wrap a library dedicated for that purpose inside a custom component.",t.rawAttrsMap["v-model"]);return true}function qs(t,e,n){var r=n&&n.number;var i=b(t,"value")||"null";var o=b(t,"true-value")||"true";var a=b(t,"false-value")||"false";_s(t,"checked","Array.isArray(".concat(e,")")+"?_i(".concat(e,",").concat(i,")>-1")+(o==="true"?":(".concat(e,")"):":_q(".concat(e,",").concat(o,")")));ks(t,"change","var $$a=".concat(e,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(o,"):(").concat(a,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(Ms(e,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(Ms(e,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(Ms(e,"$$c"),"}"),null,true)}function zs(t,e,n){var r=n&&n.number;var i=b(t,"value")||"null";i=r?"_n(".concat(i,")"):i;_s(t,"checked","_q(".concat(e,",").concat(i,")"));ks(t,"change",Ms(e,i),null,true)}function Ws(t,e,n){var r=n&&n.number;var i="Array.prototype.filter"+".call($event.target.options,function(o){return o.selected})"+'.map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})");var o="$event.target.multiple ? $$selectedVal : $$selectedVal[0]";var a="var $$selectedVal = ".concat(i,";");a="".concat(a," ").concat(Ms(e,o));ks(t,"change",a,null,true)}function Vs(t,e,n){var r=t.attrsMap.type;{var i=t.attrsMap["v-bind:value"]||t.attrsMap[":value"];var o=t.attrsMap["v-bind:type"]||t.attrsMap[":type"];if(i&&!o){var a=t.attrsMap["v-bind:value"]?"v-bind:value":":value";ms("".concat(a,'="').concat(i,'" conflicts with v-model on the same element ')+"because the latter already expands to a value binding internally",t.rawAttrsMap[a])}}var s=n||{},c=s.lazy,l=s.number,u=s.trim;var f=!c&&r!=="range";var d=c?"change":r==="range"?$s:"input";var p="$event.target.value";if(u)p="$event.target.value.trim()";if(l)p="_n(".concat(p,")");var h=Ms(e,p);if(f)h="if($event.target.composing)return;".concat(h);_s(t,"value","(".concat(e,")"));ks(t,d,h,null,true);if(u||l)ks(t,"blur","$forceUpdate()")}function Us(t){if(F(t[$s])){var e=gt?"change":"input";t[e]=[].concat(t[$s],t[e]||[]);delete t[$s]}if(F(t[Rs])){t.change=[].concat(t[Rs],t.change||[]);delete t[Rs]}}function Ys(n,r,i){var o=Bs;return function t(){var e=r.apply(null,arguments);if(e!==null)Xs(n,t,i,o)}}var Gs=qr&&!(_t&&Number(_t[1])<=53);function Ks(t,e,n,r){if(Gs){var i=dr;var o=e;e=o._wrapper=function(t){if(t.target===t.currentTarget||t.timeStamp>=i||t.timeStamp<=0||t.target.ownerDocument!==document)return o.apply(this,arguments)}}Bs.addEventListener(t,e,St?{capture:n,passive:r}:n)}function Xs(t,e,n,r){(r||Bs).removeEventListener(t,e._wrapper||e,n)}function Js(t,e){if(N(t.data.on)&&N(e.data.on))return;var n=e.data.on||{};var r=t.data.on||{};Bs=e.elm||t.elm;Us(n);Be(n,r,Ks,Xs,Ys,e.context);Bs=undefined}var Qs={create:Js,update:Js,destroy:function(t){return Js(t,za)}},Zs;function tc(t,e){if(N(t.data.domProps)&&N(e.data.domProps))return;var n,r;var i=e.elm;var o=t.data.domProps||{};var a=e.data.domProps||{};if(F(a.__ob__)||$(a._v_attr_proxy))a=e.data.domProps=h({},a);for(n in o)if(!(n in a))i[n]="";for(n in a){r=a[n];if(n==="textContent"||n==="innerHTML"){if(e.children)e.children.length=0;if(r===o[n])continue;if(i.childNodes.length===1)i.removeChild(i.childNodes[0])}if(n==="value"&&i.tagName!=="PROGRESS"){i._value=r;var s=N(r)?"":String(r);if(ec(i,s))i.value=s}else if(n==="innerHTML"&&ba(i.tagName)&&N(i.innerHTML)){Zs=Zs||document.createElement("div");Zs.innerHTML="<svg>".concat(r,"</svg>");var c=Zs.firstChild;while(i.firstChild)i.removeChild(i.firstChild);while(c.firstChild)i.appendChild(c.firstChild)}else if(r!==o[n])try{i[n]=r}catch(t){}}}function ec(t,e){return!t.composing&&(t.tagName==="OPTION"||nc(t,e)||rc(t,e))}function nc(t,e){var n=true;try{n=document.activeElement!==t}catch(t){}return n&&t.value!==e}function rc(t,e){var n=t.value;var r=t._vModifiers;if(F(r)){if(r.number)return U(n)!==U(e);if(r.trim)return n.trim()!==e.trim()}return n!==e}var ic={create:tc,update:tc},oc=t(function(t){var n={};var e=/;(?![^(]*\))/g;var r=/:(.+)/;t.split(e).forEach(function(t){if(t){var e=t.split(r);e.length>1&&(n[e[0].trim()]=e[1].trim())}});return n});function ac(t){var e=sc(t.style);return t.staticStyle?h(t.staticStyle,e):e}function sc(t){if(Array.isArray(t))return nt(t);if(typeof t==="string")return oc(t);return t}function cc(t,e){var n={};var r;if(e){var i=t;while(i.componentInstance){i=i.componentInstance._vnode;if(i&&i.data&&(r=ac(i.data)))h(n,r)}}if(r=ac(t.data))h(n,r);var o=t;while(o=o.parent)if(o.data&&(r=ac(o.data)))h(n,r);return n}var lc=/^--/,uc=/\s*!important$/,fc=function(t,e,n){if(lc.test(e))t.style.setProperty(e,n);else if(uc.test(n))t.style.setProperty(J(e),n.replace(uc,""),"important");else{var r=hc(e);if(Array.isArray(n))for(var i=0,o=n.length;i<o;i++)t.style[r]=n[i];else t.style[r]=n}},dc=["Webkit","Moz","ms"],pc,hc=t(function(t){pc=pc||document.createElement("div").style;t=p(t);if(t!=="filter"&&t in pc)return t;var e=t.charAt(0).toUpperCase()+t.slice(1);for(var n=0;n<dc.length;n++){var r=dc[n]+e;if(r in pc)return r}});function vc(t,e){var n=e.data;var r=t.data;if(N(n.staticStyle)&&N(n.style)&&N(r.staticStyle)&&N(r.style))return;var i,o;var a=e.elm;var s=r.staticStyle;var c=r.normalizedStyle||r.style||{};var l=s||c;var u=sc(e.data.style)||{};e.data.normalizedStyle=F(u.__ob__)?h({},u):u;var f=cc(e,true);for(o in l)if(N(f[o]))fc(a,o,"");for(o in f){i=f[o];if(i!==l[o])fc(a,o,i==null?"":i)}}var mc={create:vc,update:vc},gc=/\s+/;function yc(e,t){if(!t||!(t=t.trim()))return;if(e.classList)if(t.indexOf(" ")>
7369-1)t.split(gc).forEach(function(t){return e.classList.add(t)});else e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");if(n.indexOf(" "+t+" ")<0)e.setAttribute("class",(n+t).trim())}}function bc(e,t){if(!t||!(t=t.trim()))return;if(e.classList){if(t.indexOf(" ")>-1)t.split(gc).forEach(function(t){return e.classList.remove(t)});else e.classList.remove(t);if(!e.classList.length)e.removeAttribute("class")}else{var n=" ".concat(e.getAttribute("class")||""," ");var r=" "+t+" ";while(n.indexOf(r)>=0)n=n.replace(r," ");n=n.trim();if(n)e.setAttribute("class",n);else e.removeAttribute("class")}}function wc(t){if(!t)return;if(typeof t==="object"){var e={};if(t.css!==false)h(e,_c(t.name||"v"));h(e,t);return e}else if(typeof t==="string")return _c(t)}var _c=t(function(t){return{enterClass:"".concat(t,"-enter"),enterToClass:"".concat(t,"-enter-to"),enterActiveClass:"".concat(t,"-enter-active"),leaveClass:"".concat(t,"-leave"),leaveToClass:"".concat(t,"-leave-to"),leaveActiveClass:"".concat(t,"-leave-active")}}),xc=r&&!yt,Sc="transition",Ec="animation",Cc="transition",kc="transitionend",Ac="animation",Oc="animationend";if(xc){if(window.ontransitionend===undefined&&window.onwebkittransitionend!==undefined){Cc="WebkitTransition";kc="webkitTransitionEnd"}if(window.onanimationend===undefined&&window.onwebkitanimationend!==undefined){Ac="WebkitAnimation";Oc="webkitAnimationEnd"}}var Dc=r?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(t){return t()};function Lc(t){Dc(function(){Dc(t)})}function Mc(t,e){var n=t._transitionClasses||(t._transitionClasses=[]);if(n.indexOf(e)<0){n.push(e);yc(t,e)}}function Tc(t,e){if(t._transitionClasses)I(t._transitionClasses,e);bc(t,e)}function Pc(e,t,n){var r=jc(e,t),i=r.type,o=r.timeout,a=r.propCount;if(!i)return n();var s=i===Sc?kc:Oc;var c=0;var l=function(){e.removeEventListener(s,u);n()};var u=function(t){if(t.target===e)if(++c>=a)l()};setTimeout(function(){if(c<a)l()},o+1);e.addEventListener(s,u)}var Ic=/\b(transform|all)(,|$)/;function jc(t,e){var n=window.getComputedStyle(t);var r=(n[Cc+"Delay"]||"").split(", ");var i=(n[Cc+"Duration"]||"").split(", ");var o=Nc(r,i);var a=(n[Ac+"Delay"]||"").split(", ");var s=(n[Ac+"Duration"]||"").split(", ");var c=Nc(a,s);var l;var u=0;var f=0;if(e===Sc){if(o>0){l=Sc;u=o;f=i.length}}else if(e===Ec){if(c>0){l=Ec;u=c;f=s.length}}else{u=Math.max(o,c);l=u>0?o>c?Sc:Ec:null;f=l?l===Sc?i.length:s.length:0}var d=l===Sc&&Ic.test(n[Cc+"Property"]);return{type:l,timeout:u,propCount:f,hasTransform:d}}function Nc(n,t){while(n.length<t.length)n=n.concat(n);return Math.max.apply(null,t.map(function(t,e){return Fc(t)+Fc(n[e])}))}function Fc(t){return Number(t.slice(0,-1).replace(",","."))*1e3}function $c(n,t){var r=n.elm;if(F(r._leaveCb)){r._leaveCb.cancelled=true;r._leaveCb()}var e=wc(n.data.transition);if(N(e))return;if(F(r._enterCb)||r.nodeType!==1)return;var i=e.css,o=e.type,a=e.enterClass,s=e.enterToClass,c=e.enterActiveClass,l=e.appearClass,u=e.appearToClass,f=e.appearActiveClass,d=e.beforeEnter,p=e.enter,h=e.afterEnter,v=e.enterCancelled,m=e.beforeAppear,g=e.appear,y=e.afterAppear,b=e.appearCancelled,w=e.duration;var _=Yn;var x=Yn.$vnode;while(x&&x.parent){_=x.context;x=x.parent}var S=!_._isMounted||!n.isRootInsert;if(S&&!g&&g!=="")return;var E=S&&l?l:a;var C=S&&f?f:c;var k=S&&u?u:s;var A=S?m||d:d;var O=S?B(g)?g:p:p;var D=S?y||h:h;var L=S?b||v:v;var M=U(H(w)?w.enter:w);if(M!=null)Bc(M,"enter",n);var T=i!==false&&!yt;var P=qc(O);var I=r._enterCb=st(function(){if(T){Tc(r,k);Tc(r,C)}if(I.cancelled){if(T)Tc(r,E);L&&L(r)}else D&&D(r);r._enterCb=null});if(!n.data.show)He(n,"insert",function(){var t=r.parentNode;var e=t&&t._pending&&t._pending[n.key];if(e&&e.tag===n.tag&&e.elm._leaveCb)e.elm._leaveCb();O&&O(r,I)});A&&A(r);if(T){Mc(r,E);Mc(r,C);Lc(function(){Tc(r,E);if(!I.cancelled){Mc(r,k);if(!P)if(Hc(M))setTimeout(I,M);else Pc(r,o,I)}})}if(n.data.show){t&&t();O&&O(r,I)}if(!T&&!P)I()}function Rc(t,e){var n=t.elm;if(F(n._enterCb)){n._enterCb.cancelled=true;n._enterCb()}var r=wc(t.data.transition);if(N(r)||n.nodeType!==1)return e();if(F(n._leaveCb))return;var i=r.css,o=r.type,a=r.leaveClass,s=r.leaveToClass,c=r.leaveActiveClass,l=r.beforeLeave,u=r.leave,f=r.afterLeave,d=r.leaveCancelled,p=r.delayLeave,h=r.duration;var v=i!==false&&!yt;var m=qc(u);var g=U(H(h)?h.leave:h);if(F(g))Bc(g,"leave",t);var y=n._leaveCb=st(function(){if(n.parentNode&&n.parentNode._pending)n.parentNode._pending[t.key]=null;if(v){Tc(n,s);Tc(n,c)}if(y.cancelled){if(v)Tc(n,a);d&&d(n)}else{e();f&&f(n)}n._leaveCb=null});if(p)p(b);else b();function b(){if(y.cancelled)return;if(!t.data.show&&n.parentNode)(n.parentNode._pending||(n.parentNode._pending={}))[t.key]=t;l&&l(n);if(v){Mc(n,a);Mc(n,c);Lc(function(){Tc(n,a);if(!y.cancelled){Mc(n,s);if(!m)if(Hc(g))setTimeout(y,g);else Pc(n,o,y)}})}u&&u(n,y);if(!v&&!m)y()}}function Bc(t,e,n){if(typeof t!=="number")W("<transition> explicit ".concat(e," duration is not a valid number - ")+"got ".concat(JSON.stringify(t),"."),n.context);else if(isNaN(t))W("<transition>
7369 explicit ".concat(e," duration is NaN - ")+"the duration expression might be incorrect.",n.context)}function Hc(t){return typeof t==="number"&&!isNaN(t)}function qc(t){if(N(t))return false;var e=t.fns;if(F(e))return qc(Array.isArray(e)?e[0]:e);else return(t._length||t.length)>1}function zc(t,e){if(e.data.show!==true)$c(e)}var Wc,Vc,Uc,Yc=Ga({nodeOps:Ra,modules:[as,cs,Qs,ic,mc,r?{create:zc,activate:zc,remove:function(t,e){if(t.data.show!==true)Rc(t,e);else e()}}:{}].concat(ns)});if(yt)document.addEventListener("selectionchange",function(){var t=document.activeElement;if(t&&t.vmodel)el(t,"input")});var Gc={inserted:function(t,e,n,r){if(n.tag==="select"){if(r.elm&&!r.elm._vOptions)He(n,"postpatch",function(){Gc.componentUpdated(t,e,n)});else Kc(t,e,n.context);t._vOptions=[].map.call(t.options,Qc)}else if(n.tag==="textarea"||Ca(t.type)){t._vModifiers=e.modifiers;if(!e.modifiers.lazy){t.addEventListener("compositionstart",Zc);t.addEventListener("compositionend",tl);t.addEventListener("change",tl);if(yt)t.vmodel=true}}},componentUpdated:function(t,e,n){if(n.tag==="select"){Kc(t,e,n.context);var r=t._vOptions;var i=t._vOptions=[].map.call(t.options,Qc);if(i.some(function(t,e){return!ot(t,r[e])})){var o=t.multiple?e.value.some(function(t){return Jc(t,i)}):e.value!==e.oldValue&&Jc(e.value,i);if(o)el(t,"change")}}}};function Kc(t,e,n){Xc(t,e,n);if(gt||bt)setTimeout(function(){Xc(t,e,n)},0)}function Xc(t,e,n){var r=e.value;var i=t.multiple;if(i&&!Array.isArray(r)){W('<select multiple v-model="'.concat(e.expression,'"> ')+"expects an Array value for its binding, but got ".concat(Object.prototype.toString.call(r).slice(8,-1)),n);return}var o,a;for(var s=0,c=t.options.length;s<c;s++){a=t.options[s];if(i){o=at(r,Qc(a))>-1;if(a.selected!==o)a.selected=o}else if(ot(Qc(a),r)){if(t.selectedIndex!==s)t.selectedIndex=s;return}}if(!i)t.selectedIndex=-1}function Jc(e,t){return t.every(function(t){return!ot(t,e)})}function Qc(t){return"_value"in t?t._value:t.value}function Zc(t){t.target.composing=true}function tl(t){if(!t.target.composing)return;t.target.composing=false;el(t.target,"input")}function el(t,e){var n=document.createEvent("HTMLEvents");n.initEvent(e,true,true);t.dispatchEvent(n)}function nl(t){return t.componentInstance&&(!t.data||!t.data.transition)?nl(t.componentInstance._vnode):t}var rl,il={model:Gc,show:{bind:function(t,e,n){var r=e.value;n=nl(n);var i=n.data&&n.data.transition;var o=t.__vOriginalDisplay=t.style.display==="none"?"":t.style.display;if(r&&i){n.data.show=true;$c(n,function(){t.style.display=o})}else t.style.display=r?o:"none"},update:function(t,e,n){var r=e.value,i=e.oldValue;if(!r===!i)return;n=nl(n);var o=n.data&&n.data.transition;if(o){n.data.show=true;if(r)$c(n,function(){t.style.display=t.__vOriginalDisplay});else Rc(n,function(){t.style.display="none"})}else t.style.display=r?t.__vOriginalDisplay:"none"},unbind:function(t,e,n,r,i){if(!i)t.style.display=t.__vOriginalDisplay}}},ol={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function al(t){var e=t&&t.componentOptions;if(e&&e.Ctor.options.abstract)return al(Bn(e.children));else return t}function sl(t){var e={};var n=t.$options;for(var r in n.propsData)e[r]=t[r];var i=n._parentListeners;for(var r in i)e[p(r)]=i[r];return e}function cl(t,e){if(/\d-keep-alive$/.test(e.tag))return t("keep-alive",{props:e.componentOptions.propsData})}function ll(t){while(t=t.parent)if(t.data.transition)return true}function ul(t,e){return e.key===t.key&&e.tag===t.tag}var fl=function(t){return t.tag||yn(t)},dl=function(t){return t.name==="show"},pl={name:"transition",props:ol,abstract:true,render:function(t){var e=this;var n=this.$slots.default;if(!n)return;n=n.filter(fl);if(!n.length)return;if(n.length>1)W("<transition> can only be used on a single element. Use "+"<transition-group> for lists.",this.$parent);var r=this.mode;if(r&&r!=="in-out"&&r!=="out-in")W("invalid <transition> mode: "+r,this.$parent);var i=n[0];if(ll(this.$vnode))return i;var o=al(i);if(!o)return i;if(this._leaving)return cl(t,i);var a="__transition-".concat(this._uid,"-");o.key=o.key==null?o.isComment?a+"comment":a+o.tag:R(o.key)?String(o.key).indexOf(a)===0?o.key:a+o.key:o.key;var s=(o.data||(o.data={})).transition=sl(this);var c=this._vnode;var l=al(c);if(o.data.directives&&o.data.directives.some(dl))o.data.show=true;if(l&&l.data&&!ul(o,l)&&!yn(l)&&!(l.componentInstance&&l.componentInstance._vnode.isComment)){var u=l.data.transition=h({},s);if(r==="out-in"){this._leaving=true;He(u,"afterLeave",function(){e._leaving=false;e.$forceUpdate()});return cl(t,i)}else if(r==="in-out"){if(yn(o))return c;var f;var d=function(){f()};He(s,"afterEnter",d);He(s,"enterCancelled",d);He(u,"delayLeave",function(t){f=t})}}return i}},hl=h({tag:String,moveClass:String},ol),vl;function ml(t){if(t.elm._moveCb)t.elm._moveCb();if(t.elm._enterCb)t.elm._enterCb()}function gl(t){t.data.newPos=t.elm.getBoundingClientRect()}function yl(t){var e=t.data.pos;var n=t.data.newPos;var r=e.left-n.left;var i=e.top-n.top;if(r||i){t.data.moved=true;var o=t.elm.style;o.transform=o.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)");o.transitionDuration="0s"}}delete hl.mode;var bl={Transition:pl,TransitionGroup:{props:hl,beforeMount:function(){var r=this;var i=this._update;this._update=function(t,e){var n=Kn(r);r.__patch__(r._vnode,r.kept,false,true);r._vnode=r.kept;n();i.call(r,t,e)}},render:function(t){var e=this.tag||this.$vnode.data.tag||"span";var n=Object.create(null);var r=this.prevChildren=this.children;var i=this.$slots.default||[];var o=this.children=[];var a=sl(this);for(var s=0;s<i.length;s++){var c=i[s];if(c.tag)if(c.key!=null&&String(c.key).indexOf("__vlist")!==0){o.push(c);n[c.key]=c;(c.data||(c.data={})).transition=a}else{var l=c.componentOptions;var u=l?Ki(l.Ctor.options)||l.tag||"":c.tag;W("<transition-group> children must be keyed: <".concat(u,">"))}}if(r){var f=[];var d=[];for(var s=0;s<r.length;s++){var c=r[s];c.data.transition=a;c.data.pos=c.elm.getBoundingClientRect();if(n[c.key])f.push(c);else d.push(c)}this.kept=t(e,null,f);this.removed=d}return t(e,null,o)},updated:function(){var t=this.prevChildren;var r=this.moveClass||(this.name||"v")+"-move";if(!t.length||!this.hasMove(t[0].elm,r))return;t.forEach(ml);t.forEach(gl);t.forEach(yl);this._reflow=document.body.offsetHeight;t.forEach(function(t){if(t.data.moved){var n=t.elm;var e=n.style;Mc(n,r);e.transform=e.WebkitTransform=e.transitionDuration="";n.addEventListener(kc,n._moveCb=function t(e){if(e&&e.target!==n)return;if(!e||/transform$/.test(e.propertyName)){n.removeEventListener(kc,t);n._moveCb=null;Tc(n,r)}})}})},methods:{hasMove:function(t,e){if(!xc)return false;if(this._hasMove)return this._hasMove;var n=t.cloneNode();
7369if(t._transitionClasses)t._transitionClasses.forEach(function(t){bc(n,t)});yc(n,e);n.style.display="none";this.$el.appendChild(n);var r=jc(n);this.$el.removeChild(n);return this._hasMove=r.hasTransform}}}};if(y.config.mustUseProp=ea,y.config.isReservedTag=_a,y.config.isReservedAttr=Zo,y.config.getTagNamespace=xa,y.config.isUnknownElement=Ea,h(y.options.directives,il),h(y.options.components,bl),y.prototype.__patch__=r?Yc:x,y.prototype.$mount=function(t,e){t=t&&r?ka(t):undefined;return Qn(this,t,e)},r)setTimeout(function(){if(q.devtools)if(At)At.emit("init",y);else console[console.info?"info":"log"]("Download the Vue Devtools extension for a better development experience:\n"+"https://github.com/vuejs/vue-devtools");if(q.productionTip!==false&&typeof console!=="undefined")console[console.info?"info":"log"]("You are running Vue in development mode.\n"+"Make sure to turn on production mode when deploying for production.\n"+"See more tips at https://vuejs.org/guide/deployment.html")},0);var wl=/\{\{((?:.|\r?\n)+?)\}\}/g,_l=/[-.*+?^${}()|[\]\/\\]/g,xl=t(function(t){var e=t[0].replace(_l,"\\$&");var n=t[1].replace(_l,"\\$&");return new RegExp(e+"((?:.|\\n)+?)"+n,"g")});function Sl(t,e){var n=e?xl(e):wl;if(!n.test(t))return;var r=[];var i=[];var o=n.lastIndex=0;var a,s,c;while(a=n.exec(t)){s=a.index;if(s>o){i.push(c=t.slice(o,s));r.push(JSON.stringify(c))}var l=gs(a[1].trim());r.push("_s(".concat(l,")"));i.push({"@binding":l});o=s+a[0].length}if(o<t.length){i.push(c=t.slice(o));r.push(JSON.stringify(c))}return{expression:r.join("+"),tokens:i}}function El(t,e){var n=e.warn||bs;var r=w(t,"class");if(r){var i=Sl(r,e.delimiters);if(i)n('class="'.concat(r,'": ')+"Interpolation inside attributes has been removed. "+"Use v-bind or the colon shorthand instead. For example, "+'instead of <div class="{{ val }}">, use <div :class="val">.',t.rawAttrsMap["class"])}if(r)t.staticClass=JSON.stringify(r.replace(/\s+/g," ").trim());var o=b(t,"class",false);if(o)t.classBinding=o}function Cl(t){var e="";if(t.staticClass)e+="staticClass:".concat(t.staticClass,",");if(t.classBinding)e+="class:".concat(t.classBinding,",");return e}var kl={staticKeys:["staticClass"],transformNode:El,genData:Cl};function Al(t,e){var n=e.warn||bs;var r=w(t,"style");if(r){{var i=Sl(r,e.delimiters);if(i)n('style="'.concat(r,'": ')+"Interpolation inside attributes has been removed. "+"Use v-bind or the colon shorthand instead. For example, "+'instead of <div style="{{ val }}">, use <div :style="val">.',t.rawAttrsMap["style"])}t.staticStyle=JSON.stringify(oc(r))}var o=b(t,"style",false);if(o)t.styleBinding=o}function Ol(t){var e="";if(t.staticStyle)e+="staticStyle:".concat(t.staticStyle,",");if(t.styleBinding)e+="style:(".concat(t.styleBinding,"),");return e}var Dl={staticKeys:["staticStyle"],transformNode:Al,genData:Ol},Ll,Ml={decode:function(t){Ll=Ll||document.createElement("div");Ll.innerHTML=t;return Ll.textContent}},Tl=l("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,"+"link,meta,param,source,track,wbr"),Pl=l("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),Il=l("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,"+"details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,"+"h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,"+"optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,"+"title,tr,track"),jl=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Nl=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,Fl="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(dt.source,"]*"),$l="((?:".concat(Fl,"\\:)?").concat(Fl,")"),Rl=new RegExp("^<".concat($l)),Bl=/^\s*(\/?)>/,Hl=new RegExp("^<\\/".concat($l,"[^>]*>")),ql=/^<!DOCTYPE [^>]+>/i,zl=/^<!\--/,Wl=/^<!\[/,Vl=l("script,style,textarea",true),Ul={},Yl={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},Gl=/&(?:lt|gt|quot|amp|#39);/g,Kl=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Xl=l("pre,textarea",true),Jl=function(t,e){return t&&Xl(t)&&e[0]==="\n"};function Ql(t,e){var n=e?Kl:Gl;return t.replace(n,function(t){return Yl[t]})}function Zl(p,h){var v=[];var u=h.expectHTML;var f=h.isUnaryTag||i;var d=h.canBeLeftOpenTag||i;var m=0;var g,y;var t=function(){g=p;if(!y||!Vl(y)){var t=p.indexOf("<");if(t===0){if(zl.test(p)){var e=p.indexOf("--\x3e");
7369if(e>=0){if(h.shouldKeepComment&&h.comment)h.comment(p.substring(4,e),m,m+e+3);b(e+3);return"continue"}}if(Wl.test(p)){var n=p.indexOf("]>");if(n>=0){b(n+2);return"continue"}}var r=p.match(ql);if(r){b(r[0].length);return"continue"}var i=p.match(Hl);if(i){var o=m;b(i[0].length);x(i[1],o,m);return"continue"}var a=w();if(a){_(a);if(Jl(a.tagName,p))b(1);return"continue"}}var s=void 0,c=void 0,l=void 0;if(t>=0){c=p.slice(t);while(!Hl.test(c)&&!Rl.test(c)&&!zl.test(c)&&!Wl.test(c)){l=c.indexOf("<",1);if(l<0)break;t+=l;c=p.slice(t)}s=p.substring(0,t)}if(t<0)s=p;if(s)b(s.length);if(h.chars&&s)h.chars(s,m-s.length,m)}else{var u=0;var f=y.toLowerCase();var d=Ul[f]||(Ul[f]=new RegExp("([\\s\\S]*?)(</"+f+"[^>]*>)","i"));var c=p.replace(d,function(t,e,n){u=n.length;if(!Vl(f)&&f!=="noscript")e=e.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1");if(Jl(f,e))e=e.slice(1);if(h.chars)h.chars(e);return""});m+=p.length-c.length;p=c;x(f,m-u,m)}if(p===g){h.chars&&h.chars(p);if(!v.length&&h.warn)h.warn('Mal-formatted tag at end of template: "'.concat(p,'"'),{start:m+p.length});return"break"}};while(p){var e=t();if(e==="break")break}x();function b(t){m+=t;p=p.substring(t)}function w(){var t=p.match(Rl);if(t){var e={tagName:t[1],attrs:[],start:m};b(t[0].length);var n=void 0,r=void 0;while(!(n=p.match(Bl))&&(r=p.match(Nl)||p.match(jl))){r.start=m;b(r[0].length);r.end=m;e.attrs.push(r)}if(n){e.unarySlash=n[1];b(n[0].length);e.end=m;return e}}}function _(t){var e=t.tagName;var n=t.unarySlash;if(u){if(y==="p"&&Il(e))x(y);if(d(e)&&y===e)x(e)}var r=f(e)||!!n;var i=t.attrs.length;var o=new Array(i);for(var a=0;a<i;a++){var s=t.attrs[a];var c=s[3]||s[4]||s[5]||"";var l=e==="a"&&s[1]==="href"?h.shouldDecodeNewlinesForHref:h.shouldDecodeNewlines;o[a]={name:s[1],value:Ql(c,l)};if(h.outputSourceRange){o[a].start=s.start+s[0].match(/^\s*/).length;o[a].end=s.end}}if(!r){v.push({tag:e,lowerCasedTag:e.toLowerCase(),attrs:o,start:t.start,end:t.end});y=e}if(h.start)h.start(e,o,r,t.start,t.end)}function x(t,e,n){var r,i;if(e==null)e=m;if(n==null)n=m;if(t){i=t.toLowerCase();for(r=v.length-1;r>=0;r--)if(v[r].lowerCasedTag===i)break}else r=0;if(r>=0){for(var o=v.length-1;o>=r;o--){if((o>r||!t)&&h.warn)h.warn("tag <".concat(v[o].tag,"> has no matching end tag."),{start:v[o].start,end:v[o].end});if(h.end)h.end(v[o].tag,e,n)}v.length=r;y=r&&v[r-1].tag}else if(i==="br"){if(h.start)h.start(t,[],true,e,n)}else if(i==="p"){if(h.start)h.start(t,[],false,e,n);if(h.end)h.end(t,e,n)}}}var tu=/^@|^v-on:/,eu=/^v-|^@|^:|^#/,nu=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ru=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,iu=/^\(|\)$/g,ou=/^\[.*\]$/,au=/:(.*)$/,su=/^:|^\.|^v-bind:/,cu=/\.[^.\]]+(?=[^\]]*$)/g,lu=/^v-slot(:|$)|^#/,uu=/[\r\n]/,fu=/[ \f\t\r\n]+/g,du=/[\s"'<>\/=]/,pu=t(Ml.decode),hu="_empty_",C,vu,mu,gu,yu,bu,wu,_u,xu;function Su(t,e,n){return{type:1,tag:t,attrsList:e,attrsMap:Wu(e),rawAttrsMap:{},parent:n,children:[]}}function Eu(a,c){C=c.warn||bs;bu=c.isPreTag||i;wu=c.mustUseProp||i;_u=c.getTagNamespace||i;var e=c.isReservedTag||i;xu=function(t){return!!(t.component||t.attrsMap[":is"]||t.attrsMap["v-bind:is"]||!(t.attrsMap.is?e(t.attrsMap.is):e(t.tag)))};mu=ws(c.modules,"transformNode");gu=ws(c.modules,"preTransformNode");yu=ws(c.modules,"postTransformNode");vu=c.delimiters;var l=[];var s=c.preserveWhitespace!==false;var u=c.whitespace;var f;var d;var p=false;var h=false;var n=false;function v(t,e){if(!n){n=true;C(t,e)}}function m(t){r(t);if(!p&&!t.processed)t=Au(t,c);if(!l.length&&t!==f)if(f.if&&(t.elseif||t.else)){g(t);ju(f,{exp:t.elseif,block:t})}else v("Component template should contain exactly one root element. "+"If you are using v-if on multiple elements, "+"use v-else-if to chain them instead.",{start:t.start});if(d&&!t.forbidden)if(t.elseif||t.else)Pu(t,d);else{if(t.slotScope){var e=t.slotTarget||'"default"';(d.scopedSlots||(d.scopedSlots={}))[e]=t}d.children.push(t);t.parent=d}t.children=t.children.filter(function(t){return!t.slotScope});r(t);if(t.pre)p=false;if(bu(t.tag))h=false;for(var n=0;n<yu.length;n++)yu[n](t,c)}function r(t){if(!h){var e=void 0;while((e=t.children[t.children.length-1])&&e.type===3&&e.text===" ")t.children.pop()}}function g(t){if(t.tag==="slot"||t.tag==="template")v("Cannot use <".concat(t.tag,">
7369 as component root element because it may ")+"contain multiple nodes.",{start:t.start});if(t.attrsMap.hasOwnProperty("v-for"))v("Cannot use v-for on stateful component root element because "+"it renders multiple elements.",t.rawAttrsMap["v-for"])}Zl(a,{warn:C,expectHTML:c.expectHTML,isUnaryTag:c.isUnaryTag,canBeLeftOpenTag:c.canBeLeftOpenTag,shouldDecodeNewlines:c.shouldDecodeNewlines,shouldDecodeNewlinesForHref:c.shouldDecodeNewlinesForHref,shouldKeepComment:c.comments,outputSourceRange:c.outputSourceRange,start:function(t,e,n,r,i){var o=d&&d.ns||_u(t);if(gt&&o==="svg")e=Ku(e);var a=Su(t,e,d);if(o)a.ns=o;{if(c.outputSourceRange){a.start=r;a.end=i;a.rawAttrsMap=a.attrsList.reduce(function(t,e){t[e.name]=e;return t},{})}e.forEach(function(t){if(du.test(t.name))C("Invalid dynamic argument expression: attribute names cannot contain "+"spaces, quotes, <, >, / or =.",c.outputSourceRange?{start:t.start+t.name.indexOf("["),end:t.start+t.name.length}:undefined)})}if(Uu(a)&&!kt()){a.forbidden=true;C("Templates should only be responsible for mapping the state to the "+"UI. Avoid placing tags with side-effects in your templates, such as "+"<".concat(t,">")+", as they will not be parsed.",{start:a.start})}for(var s=0;s<gu.length;s++)a=gu[s](a,c)||a;if(!p){Cu(a);if(a.pre)p=true}if(bu(a.tag))h=true;if(p)ku(a);else if(!a.processed){Lu(a);Tu(a);Nu(a)}if(!f){f=a;g(f)}if(!n){d=a;l.push(a)}else m(a)},end:function(t,e,n){var r=l[l.length-1];l.length-=1;d=l[l.length-1];if(c.outputSourceRange)r.end=n;m(r)},chars:function(t,e,n){if(!d){if(t===a)v("Component template requires a root element, rather than just text.",{start:e});else if(t=t.trim())v('text "'.concat(t,'" outside root element will be ignored.'),{start:e});return}if(gt&&d.tag==="textarea"&&d.attrsMap.placeholder===t)return;var r=d.children;if(h||t.trim())t=Vu(d)?t:pu(t);else if(!r.length)t="";else if(u)if(u==="condense")t=uu.test(t)?"":" ";else t=" ";else t=s?" ":"";if(t){if(!h&&u==="condense")t=t.replace(fu," ");var i=void 0;var o=void 0;if(!p&&t!==" "&&(i=Sl(t,vu)))o={type:2,expression:i.expression,tokens:i.tokens,text:t};else if(t!==" "||!r.length||r[r.length-1].text!==" ")o={type:3,text:t};if(o){if(c.outputSourceRange){o.start=e;o.end=n}r.push(o)}}},comment:function(t,e,n){if(d){var r={type:3,text:t,isComment:true};if(c.outputSourceRange){r.start=e;r.end=n}d.children.push(r)}}});return f}function Cu(t){if(w(t,"v-pre")!=null)t.pre=true}function ku(t){var e=t.attrsList;var n=e.length;if(n){var r=t.attrs=new Array(n);for(var i=0;i<n;i++){r[i]={name:e[i].name,value:JSON.stringify(e[i].value)};if(e[i].start!=null){r[i].start=e[i].start;r[i].end=e[i].end}}}else if(!t.pre)t.plain=true}function Au(t,e){Ou(t);t.plain=!t.key&&!t.scopedSlots&&!t.attrsList.length;Du(t);Fu(t);Ru(t);Bu(t);for(var n=0;n<mu.length;n++)t=mu[n](t,e)||t;Hu(t);return t}function Ou(t){var e=b(t,"key");if(e){{if(t.tag==="template")C("<template> cannot be keyed. Place the key on real elements instead.",As(t,"key"));if(t.for){var n=t.iterator2||t.iterator1;var r=t.parent;if(n&&n===e&&r&&r.tag==="transition-group")C("Do not use v-for index as key on <transition-group> children, "+"this is the same as not using keys.",As(t,"key"),true)}}t.key=e}}function Du(t){var e=b(t,"ref");if(e){t.ref=e;t.refInFor=qu(t)}}function Lu(t){var e;if(e=w(t,"v-for")){var n=Mu(e);if(n)h(t,n);else C("Invalid v-for expression: ".concat(e),t.rawAttrsMap["v-for"])}}function Mu(t){var e=t.match(nu);if(!e)return;var n={};n.for=e[2].trim();var r=e[1].trim().replace(iu,"");var i=r.match(ru);if(i){n.alias=r.replace(ru,"").trim();n.iterator1=i[1].trim();if(i[2])n.iterator2=i[2].trim()}else n.alias=r;return n}function Tu(t){var e=w(t,"v-if");if(e){t.if=e;ju(t,{exp:e,block:t})}else{if(w(t,"v-else")!=null)t.else=true;var n=w(t,"v-else-if");if(n)t.elseif=n}}function Pu(t,e){var n=Iu(e.children);if(n&&n.if)ju(n,{exp:t.elseif,block:t});else C("v-".concat(t.elseif?'else-if="'+t.elseif+'"':"else"," ")+"used on element <".concat(t.tag,"> without corresponding v-if."),t.rawAttrsMap[t.elseif?"v-else-if":"v-else"])}function Iu(t){var e=t.length;while(e--)if(t[e].type===1)return t[e];else{if(t[e].text!==" ")C('text "'.concat(t[e].text.trim(),'" between v-if and v-else(-if) ')+"will be ignored.",t[e]);t.pop()}}function ju(t,e){if(!t.ifConditions)t.ifConditions=[];t.ifConditions.push(e)}function Nu(t){var e=w(t,"v-once");if(e!=null)t.once=true}function Fu(t){var e;if(t.tag==="template"){e=w(t,"scope");if(e)C('the "scope" attribute for scoped slots have been deprecated and '+'replaced by "slot-scope" since 2.5. The new "slot-scope" attribute '+"can also be used on plain elements in addition to <template> to "+"denote scoped slots.",t.rawAttrsMap["scope"],true);t.slotScope=e||w(t,"slot-scope")}else if(e=w(t,"slot-scope")){if(t.attrsMap["v-for"])C("Ambiguous combined usage of slot-scope and v-for on <".concat(t.tag,"> ")+"(v-for takes higher priority). Use a wrapper <template> for the "+"scoped slot to make it clearer.",t.rawAttrsMap["slot-scope"],true);t.slotScope=e}var n=b(t,"slot");if(n){t.slotTarget=n==='""'?'"default"':n;t.slotTargetDynamic=!!(t.attrsMap[":slot"]||t.attrsMap["v-bind:slot"]);if(t.tag!=="template"&&!t.slotScope)xs(t,"slot",n,As(t,"slot"))}if(t.tag==="template"){var r=Os(t,lu);if(r){{if(t.slotTarget||t.slotScope)C("Unexpected mixed usage of different slot syntaxes.",t);if(t.parent&&!xu(t.parent))C("<template v-slot> can only appear at the root level inside "+"the receiving component",t)}var i=$u(r),o=i.name,a=i.dynamic;t.slotTarget=o;t.slotTargetDynamic=a;t.slotScope=r.value||hu}}else{var r=Os(t,lu);if(r){{if(!xu(t))C("v-slot can only be used on components or <template>.",r);if(t.slotScope||t.slotTarget)C("Unexpected mixed usage of different slot syntaxes.",t);if(t.scopedSlots)C("To avoid scope ambiguity, the default slot should also use "+"<template> syntax when there are other named slots.",r)}var s=t.scopedSlots||(t.scopedSlots={});var c=$u(r),l=c.name,a=c.dynamic;var u=s[l]=Su("template",[],t);u.slotTarget=l;u.slotTargetDynamic=a;u.children=t.children.filter(function(t){if(!t.slotScope){t.parent=u;return true}});u.slotScope=r.value||hu;t.children=[];t.plain=false}}}function $u(t){var e=t.name.replace(lu,"");if(!e)if(t.name[0]!=="#")e="default";else C("v-slot shorthand syntax requires a slot name.",t);return ou.test(e)?{name:e.slice(1,-1),dynamic:true}:{name:'"'.concat(e,'"'),dynamic:false}}function Ru(t){if(t.tag==="slot"){t.slotName=b(t,"name");if(t.key)C("`key` does not work on <slot> because slots are abstract outlets "+"and can possibly expand into multiple elements. "+"Use the key on a wrapping element instead.",As(t,"key"))}}function Bu(t){var e;if(e=b(t,"is"))t.component=e;if(w(t,"inline-template")!=null)t.inlineTemplate=true}function Hu(t){var e=t.attrsList;var n,r,i,o,a,s,c,l;
7369for(n=0,r=e.length;n<r;n++){i=o=e[n].name;a=e[n].value;if(eu.test(i)){t.hasBindings=true;s=zu(i.replace(eu,""));if(s)i=i.replace(cu,"");if(su.test(i)){i=i.replace(su,"");a=gs(a);l=ou.test(i);if(l)i=i.slice(1,-1);if(a.trim().length===0)C('The value for a v-bind expression cannot be empty. Found in "v-bind:'.concat(i,'"'));if(s){if(s.prop&&!l){i=p(i);if(i==="innerHtml")i="innerHTML"}if(s.camel&&!l)i=p(i);if(s.sync){c=Ms(a,"$event");if(!l){ks(t,"update:".concat(p(i)),c,null,false,C,e[n]);if(J(i)!==p(i))ks(t,"update:".concat(J(i)),c,null,false,C,e[n])}else ks(t,'"update:"+('.concat(i,")"),c,null,false,C,e[n],true)}}if(s&&s.prop||!t.component&&wu(t.tag,t.attrsMap.type,i))_s(t,i,a,e[n],l);else xs(t,i,a,e[n],l)}else if(tu.test(i)){i=i.replace(tu,"");l=ou.test(i);if(l)i=i.slice(1,-1);ks(t,i,a,s,false,C,e[n],l)}else{i=i.replace(eu,"");var u=i.match(au);var f=u&&u[1];l=false;if(f){i=i.slice(0,-(f.length+1));if(ou.test(f)){f=f.slice(1,-1);l=true}}Es(t,i,o,a,f,l,s,e[n]);if(i==="model")Xu(t,a)}}else{{var d=Sl(a,vu);if(d)C("".concat(i,'="').concat(a,'": ')+"Interpolation inside attributes has been removed. "+"Use v-bind or the colon shorthand instead. For example, "+'instead of <div id="{{ val }}">, use <div :id="val">.',e[n])}xs(t,i,JSON.stringify(a),e[n]);if(!t.component&&i==="muted"&&wu(t.tag,t.attrsMap.type,i))_s(t,i,"true",e[n])}}}function qu(t){var e=t;while(e){if(e.for!==undefined)return true;e=e.parent}return false}function zu(t){var e=t.match(cu);if(e){var n={};e.forEach(function(t){n[t.slice(1)]=true});return n}}function Wu(t){var e={};for(var n=0,r=t.length;n<r;n++){if(e[t[n].name]&&!gt&&!bt)C("duplicate attribute: "+t[n].name,t[n]);e[t[n].name]=t[n].value}return e}function Vu(t){return t.tag==="script"||t.tag==="style"}function Uu(t){return t.tag==="style"||t.tag==="script"&&(!t.attrsMap.type||t.attrsMap.type==="text/javascript")}var Yu=/^xmlns:NS\d+/,Gu=/^NS\d+:/;function Ku(t){var e=[];for(var n=0;n<t.length;n++){var r=t[n];if(!Yu.test(r.name)){r.name=r.name.replace(Gu,"");e.push(r)}}return e}function Xu(t,e){var n=t;while(n){if(n.for&&n.alias===e)C("<".concat(t.tag,' v-model="').concat(e,'">: ')+"You are binding v-model directly to a v-for iteration alias. "+"This will not be able to modify the v-for source array because "+"writing to the alias is like modifying a function local variable. "+"Consider using an array of objects and use v-model on an object property instead.",t.rawAttrsMap["v-model"]);n=n.parent}}function Ju(t,e){if(t.tag==="input"){var n=t.attrsMap;if(!n["v-model"])return;var r=void 0;if(n[":type"]||n["v-bind:type"])r=b(t,"type");if(!n.type&&!r&&n["v-bind"])r="(".concat(n["v-bind"],").type");if(r){var i=w(t,"v-if",true);var o=i?"&&(".concat(i,")"):"";var a=w(t,"v-else",true)!=null;var s=w(t,"v-else-if",true);var c=Qu(t);Lu(c);Ss(c,"type","checkbox");Au(c,e);c.processed=true;c.if="(".concat(r,")==='checkbox'")+o;ju(c,{exp:c.if,block:c});var l=Qu(t);w(l,"v-for",true);Ss(l,"type","radio");Au(l,e);ju(c,{exp:"(".concat(r,")==='radio'")+o,block:l});var u=Qu(t);w(u,"v-for",true);Ss(u,":type",r);Au(u,e);ju(c,{exp:i,block:u});if(a)c.else=true;else if(s)c.elseif=s;return c}}}function Qu(t){return Su(t.tag,t.attrsList.slice(),t.parent)}var Zu,tf=[kl,Dl,{preTransformNode:Ju}];function ef(t,e){if(e.value)_s(t,"textContent","_s(".concat(e.value,")"),e)}function nf(t,e){if(e.value)_s(t,"innerHTML","_s(".concat(e.value,")"),e)}var rf,of={expectHTML:true,modules:tf,directives:{model:Hs,text:ef,html:nf},isPreTag:wa,isUnaryTag:Tl,mustUseProp:ea,canBeLeftOpenTag:Pl,isReservedTag:_a,getTagNamespace:xa,staticKeys:it(tf)},af,sf,cf=t(uf);function lf(t,e){if(!t)return;af=cf(e.staticKeys||"");sf=e.isReservedTag||i;ff(t);df(t,false)}function uf(t){return l("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(t?","+t:""))}function ff(t){t.static=pf(t);if(t.type===1){if(!sf(t.tag)&&t.tag!=="slot"&&t.attrsMap["inline-template"]==null)return;for(var e=0,n=t.children.length;e<n;e++){var r=t.children[e];ff(r);if(!r.static)t.static=false}if(t.ifConditions)for(var e=1,n=t.ifConditions.length;e<n;e++){var i=t.ifConditions[e].block;ff(i);if(!i.static)t.static=false}}}function df(t,e){if(t.type===1){if(t.static||t.once)t.staticInFor=e;if(t.static&&t.children.length&&!(t.children.length===1&&t.children[0].type===3)){t.staticRoot=true;return}else t.staticRoot=false;if(t.children)for(var n=0,r=t.children.length;n<r;n++)df(t.children[n],e||!!t.for);if(t.ifConditions)for(var n=1,r=t.ifConditions.length;n<r;n++)df(t.ifConditions[n].block,e)}}function pf(t){if(t.type===2)return false;if(t.type===3)return true;return!!(t.pre||!t.hasBindings&&!t.if&&!t.for&&!T(t.tag)&&sf(t.tag)&&!hf(t)&&Object.keys(t).every(af))}function hf(t){while(t.parent){t=t.parent;if(t.tag!=="template")return false;if(t.for)return true}return false}var vf=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,mf=/\([^)]*?\);*$/,gf=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,yf={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},bf={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},wf=function(t){return"if(".concat(t,")return null;")},_f={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:wf("$event.target !== $event.currentTarget"),ctrl:wf("!$event.ctrlKey"),shift:wf("!$event.shiftKey"),alt:wf("!$event.altKey"),meta:wf("!$event.metaKey"),left:wf("'button' in $event && $event.button !== 0"),middle:wf("'button' in $event && $event.button !== 1"),right:wf("'button' in $event && $event.button !== 2")};function xf(t,e){var n=e?"nativeOn:":"on:";var r="";var i="";for(var o in t){var a=Sf(t[o]);if(t[o]&&t[o].dynamic)i+="".concat(o,",").concat(a,",");else r+='"'.concat(o,'":').concat(a,",")}r="{".concat(r.slice(0,-1),"}");if(i)return n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])");else return n+r}function Sf(n){if(!n)return"function(){}";if(Array.isArray(n))return"[".concat(n.map(function(t){return Sf(t)}).join(","),"]");var t=gf.test(n.value);var e=vf.test(n.value);var r=gf.test(n.value.replace(mf,""));if(!n.modifiers){if(t||e)return n.value;return"function($event){".concat(r?"return ".concat(n.value):n.value,"}")}else{var i="";var o="";var a=[];var s=function(t){if(_f[t]){o+=_f[t];if(yf[t])a.push(t)}else if(t==="exact"){var e=n.modifiers;o+=wf(["ctrl","shift","alt","meta"].filter(function(t){return!e[t]}).map(function(t){return"$event.".concat(t,"Key")}).join("||"))}else a.push(t)};for(var c in n.modifiers)s(c);if(a.length)i+=Ef(a);if(o)i+=o;var l=t?"return ".concat(n.value,".apply(null, arguments)"):e?"return (".concat(n.value,").apply(null, arguments)"):r?"return ".concat(n.value):n.value;
7369return"function($event){".concat(i).concat(l,"}")}}function Ef(t){return"if(!$event.type.indexOf('key')&&"+"".concat(t.map(Cf).join("&&"),")return null;")}function Cf(t){var e=parseInt(t,10);if(e)return"$event.keyCode!==".concat(e);var n=yf[t];var r=bf[t];return"_k($event.keyCode,"+"".concat(JSON.stringify(t),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}function kf(t,e){if(e.modifiers)W("v-on without argument does not support modifiers.");t.wrapListeners=function(t){return"_g(".concat(t,",").concat(e.value,")")}}function Af(e,n){e.wrapData=function(t){return"_b(".concat(t,",'").concat(e.tag,"',").concat(n.value,",").concat(n.modifiers&&n.modifiers.prop?"true":"false").concat(n.modifiers&&n.modifiers.sync?",true":"",")")}}var Of={on:kf,bind:Af,cloak:x},Df=function(){function t(t){this.options=t;this.warn=t.warn||bs;this.transforms=ws(t.modules,"transformCode");this.dataGenFns=ws(t.modules,"genData");this.directives=h(h({},Of),t.directives);var e=t.isReservedTag||i;this.maybeComponent=function(t){return!!t.component||!e(t.tag)};this.onceId=0;this.staticRenderFns=[];this.pre=false}return t}();function Lf(t,e){var n=new Df(e);var r=t?t.tag==="script"?"null":Mf(t,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Mf(t,e){if(t.parent)t.pre=t.pre||t.parent.pre;if(t.staticRoot&&!t.staticProcessed)return Pf(t,e);else if(t.once&&!t.onceProcessed)return If(t,e);else if(t.for&&!t.forProcessed)return Ff(t,e);else if(t.if&&!t.ifProcessed)return jf(t,e);else if(t.tag==="template"&&!t.slotTarget&&!e.pre)return Vf(t,e)||"void 0";else if(t.tag==="slot")return Jf(t,e);else{var n=void 0;if(t.component)n=Qf(t.component,t,e);else{var r=void 0;if(!t.plain||t.pre&&e.maybeComponent(t))r=$f(t,e);var i=void 0;var o=e.options.bindings;if(o&&o.__isScriptSetup!==false)i=Tf(o,t.tag)||Tf(o,p(t.tag))||Tf(o,K(p(t.tag)));if(!i)i="'".concat(t.tag,"'");var a=t.inlineTemplate?null:Vf(t,e,true);n="_c(".concat(i).concat(r?",".concat(r):"").concat(a?",".concat(a):"",")")}for(var s=0;s<e.transforms.length;s++)n=e.transforms[s](t,n);return n}}function Tf(t,e){var n=t[e];if(n&&n.startsWith("setup"))return e}function Pf(t,e){t.staticProcessed=true;var n=e.pre;if(t.pre)e.pre=t.pre;e.staticRenderFns.push("with(this){return ".concat(Mf(t,e),"}"));e.pre=n;return"_m(".concat(e.staticRenderFns.length-1).concat(t.staticInFor?",true":"",")")}function If(t,e){t.onceProcessed=true;if(t.if&&!t.ifProcessed)return jf(t,e);else if(t.staticInFor){var n="";var r=t.parent;while(r){if(r.for){n=r.key;break}r=r.parent}if(!n){e.warn("v-once can only be used inside v-for that is keyed. ",t.rawAttrsMap["v-once"]);return Mf(t,e)}return"_o(".concat(Mf(t,e),",").concat(e.onceId++,",").concat(n,")")}else return Pf(t,e)}function jf(t,e,n,r){t.ifProcessed=true;return Nf(t.ifConditions.slice(),e,n,r)}function Nf(t,e,n,r){if(!t.length)return r||"_e()";var i=t.shift();if(i.exp)return"(".concat(i.exp,")?").concat(o(i.block),":").concat(Nf(t,e,n,r));else return"".concat(o(i.block));function o(t){return n?n(t,e):t.once?If(t,e):Mf(t,e)}}function Ff(t,e,n,r){var i=t.for;var o=t.alias;var a=t.iterator1?",".concat(t.iterator1):"";var s=t.iterator2?",".concat(t.iterator2):"";if(e.maybeComponent(t)&&t.tag!=="slot"&&t.tag!=="template"&&!t.key)e.warn("<".concat(t.tag,' v-for="').concat(o," in ").concat(i,'">: component lists rendered with ')+"v-for should have explicit keys. "+"See https://vuejs.org/guide/list.html#key for more info.",t.rawAttrsMap["v-for"],true);t.forProcessed=true;return"".concat(r||"_l","((").concat(i,"),")+"function(".concat(o).concat(a).concat(s,"){")+"return ".concat((n||Mf)(t,e))+"})"}function $f(t,e){var n="{";var r=Rf(t,e);if(r)n+=r+",";if(t.key)n+="key:".concat(t.key,",");if(t.ref)n+="ref:".concat(t.ref,",");if(t.refInFor)n+="refInFor:true,";if(t.pre)n+="pre:true,";if(t.component)n+='tag:"'.concat(t.tag,'",');for(var i=0;i<e.dataGenFns.length;i++)n+=e.dataGenFns[i](t);if(t.attrs)n+="attrs:".concat(Zf(t.attrs),",");if(t.props)n+="domProps:".concat(Zf(t.props),",");if(t.events)n+="".concat(xf(t.events,false),",");if(t.nativeEvents)n+="".concat(xf(t.nativeEvents,true),",");if(t.slotTarget&&!t.slotScope)n+="slot:".concat(t.slotTarget,",");if(t.scopedSlots)n+="".concat(Hf(t,t.scopedSlots,e),",");if(t.model)n+="model:{value:".concat(t.model.value,",callback:").concat(t.model.callback,",expression:").concat(t.model.expression,"},");if(t.inlineTemplate){var o=Bf(t,e);if(o)n+="".concat(o,",")}n=n.replace(/,$/,"")+"}";if(t.dynamicAttrs)n="_b(".concat(n,',"').concat(t.tag,'",').concat(Zf(t.dynamicAttrs),")");if(t.wrapData)n=t.wrapData(n);if(t.wrapListeners)n=t.wrapListeners(n);return n}function Rf(t,e){var n=t.directives;if(!n)return;var r="directives:[";var i=false;var o,a,s,c;for(o=0,a=n.length;o<a;o++){s=n[o];c=true;var l=e.directives[s.name];if(l)c=!!l(t,s,e.warn);if(c){i=true;r+='{name:"'.concat(s.name,'",rawName:"').concat(s.rawName,'"').concat(s.value?",value:(".concat(s.value,"),expression:").concat(JSON.stringify(s.value)):"").concat(s.arg?",arg:".concat(s.isDynamicArg?s.arg:'"'.concat(s.arg,'"')):"").
7369concat(s.modifiers?",modifiers:".concat(JSON.stringify(s.modifiers)):"","},")}}if(i)return r.slice(0,-1)+"]"}function Bf(t,e){var n=t.children[0];if(t.children.length!==1||n.type!==1)e.warn("Inline-template components must have exactly one child element.",{start:t.start});if(n&&n.type===1){var r=Lf(n,e.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map(function(t){return"function(){".concat(t,"}")}).join(","),"]}")}}function Hf(t,n,e){var r=t.for||Object.keys(n).some(function(t){var e=n[t];return e.slotTargetDynamic||e.if||e.for||zf(e)});var i=!!t.if;if(!r){var o=t.parent;while(o){if(o.slotScope&&o.slotScope!==hu||o.for){r=true;break}if(o.if)i=true;o=o.parent}}var a=Object.keys(n).map(function(t){return Wf(n[t],e)}).join(",");return"scopedSlots:_u([".concat(a,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(qf(a)):"",")")}function qf(t){var e=5381;var n=t.length;while(n)e=e*33^t.charCodeAt(--n);return e>>>0}function zf(t){if(t.type===1){if(t.tag==="slot")return true;return t.children.some(zf)}return false}function Wf(t,e){var n=t.attrsMap["slot-scope"];if(t.if&&!t.ifProcessed&&!n)return jf(t,e,Wf,"null");if(t.for&&!t.forProcessed)return Ff(t,e,Wf);var r=t.slotScope===hu?"":String(t.slotScope);var i="function(".concat(r,"){")+"return ".concat(t.tag==="template"?t.if&&n?"(".concat(t.if,")?").concat(Vf(t,e)||"undefined",":undefined"):Vf(t,e)||"undefined":Mf(t,e),"}");var o=r?"":",proxy:true";return"{key:".concat(t.slotTarget||'"default"',",fn:").concat(i).concat(o,"}")}function Vf(t,e,n,r,i){var o=t.children;if(o.length){var a=o[0];if(o.length===1&&a.for&&a.tag!=="template"&&a.tag!=="slot"){var s=n?e.maybeComponent(a)?",1":",0":"";return"".concat((r||Mf)(a,e)).concat(s)}var c=n?Uf(o,e.maybeComponent):0;var l=i||Gf;return"[".concat(o.map(function(t){return l(t,e)}).join(","),"]").concat(c?",".concat(c):"")}}function Uf(t,e){var n=0;for(var r=0;r<t.length;r++){var i=t[r];if(i.type!==1)continue;if(Yf(i)||i.ifConditions&&i.ifConditions.some(function(t){return Yf(t.block)})){n=2;break}if(e(i)||i.ifConditions&&i.ifConditions.some(function(t){return e(t.block)}))n=1}return n}function Yf(t){return t.for!==undefined||t.tag==="template"||t.tag==="slot"}function Gf(t,e){if(t.type===1)return Mf(t,e);else if(t.type===3&&t.isComment)return Xf(t);else return Kf(t)}function Kf(t){return"_v(".concat(t.type===2?t.expression:td(JSON.stringify(t.text)),")")}function Xf(t){return"_e(".concat(JSON.stringify(t.text),")")}function Jf(t,e){var n=t.slotName||'"default"';var r=Vf(t,e);var i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):"");var o=t.attrs||t.dynamicAttrs?Zf((t.attrs||[]).concat(t.dynamicAttrs||[]).map(function(t){return{name:p(t.name),value:t.value,dynamic:t.dynamic}})):null;var a=t.attrsMap["v-bind"];if((o||a)&&!r)i+=",null";if(o)i+=",".concat(o);if(a)i+="".concat(o?"":",null",",").concat(a);return i+")"}function Qf(t,e,n){var r=e.inlineTemplate?null:Vf(e,n,true);return"_c(".concat(t,",").concat($f(e,n)).concat(r?",".concat(r):"",")")}function Zf(t){var e="";var n="";for(var r=0;r<t.length;r++){var i=t[r];var o=td(i.value);if(i.dynamic)n+="".concat(i.name,",").concat(o,",");else e+='"'.concat(i.name,'":').concat(o,",")}e="{".concat(e.slice(0,-1),"}");if(n)return"_d(".concat(e,",[").concat(n.slice(0,-1),"])");else return e}function td(t){return t.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}var ed=new RegExp("\\b"+("do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,"+"super,throw,while,yield,delete,export,import,return,switch,default,"+"extends,finally,continue,debugger,function,arguments").split(",").join("\\b|\\b")+"\\b"),nd=new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)"),rd=/'(?:[^'\\]|\\.)*'|"(?:[^"\\]|\\.)*"|`(?:[^`\\]|\\.)*\$\{|\}(?:[^`\\]|\\.)*`|`(?:[^`\\]|\\.)*`/g;function id(t,e){if(t)od(t,e)}function od(t,e){if(t.type===1){for(var n in t.attrsMap)if(eu.test(n)){var r=t.attrsMap[n];if(r){var i=t.rawAttrsMap[n];if(n==="v-for")sd(t,'v-for="'.concat(r,'"'),e,i);else if(n==="v-slot"||n[0]==="#")ud(r,"".concat(n,'="').concat(r,'"'),e,i);else if(tu.test(n))ad(r,"".concat(n,'="').concat(r,'"'),e,i);else ld(r,"".concat(n,'="').concat(r,'"'),e,i)}}if(t.children)for(var o=0;o<t.children.length;o++)od(t.children[o],e)}else if(t.type===2)ld(t.expression,t.text,e,t)}function ad(t,e,n,r){var i=t.replace(rd,"");var o=i.match(nd);if(o&&i.charAt(o.index-1)!=="$")n("avoid using JavaScript unary operator as property name: "+'"'.concat(o[0],'" in expression ').concat(e.trim()),r);ld(t,e,n,r)}function sd(t,e,n,r){ld(t.for||"",e,n,r);cd(t.alias,"v-for alias",e,n,r);cd(t.iterator1,"v-for iterator",e,n,r);cd(t.iterator2,"v-for iterator",e,n,r)}function cd(e,n,r,i,o){if(typeof e==="string")try{new Function("var ".concat(e,"=_"))}catch(t){i("invalid ".concat(n,' "').concat(e,'" in expression: ').concat(r.trim()),o)}}function ld(e,n,r,i){try{new Function("return ".concat(e))}catch(t){var o=e.replace(rd,"").match(ed);if(o)r("avoid using JavaScript keyword as property name: "+'"'.concat(o[0],'"\n Raw expression: ').concat(n.trim()),i);else r("invalid expression: ".concat(t.message," in\n\n")+" ".concat(e,"\n\n")+" Raw expression: ".concat(n.trim(),"\n"),i)}}function ud(e,n,r,i){try{new Function(e,"")}catch(t){r("invalid function parameter expression: ".concat(t.message," in\n\n")+" ".concat(e,"\n\n")+" Raw expression: ".concat(n.trim(),"\n"),i)}}var fd=2;function dd(t,e,n){if(e===void 0)e=0;if(n===void 0)n=t.length;var r=t.split(/\r?\n/);var i=0;var o=[];for(var a=0;a<r.length;a++){i+=r[a].length+1;if(i>=e){for(var s=a-fd;s<=a+fd||n>i;s++){if(s<0||s>=r.length)continue;o.push("".concat(s+1).concat(pd(" ",3-String(s+1).length),"| ").concat(r[s]));var c=r[s].length;if(s===a){var l=e-(i-c)+1;var u=n>i?c-l:n-e;o.push(" | "+pd(" ",l)+pd("^",u))}else if(s>a){if(n>i){var f=Math.min(n-i,c);o.push(" | "+pd("^",f))}i+=c+1}}break}}return o.join("\n")}function pd(t,e){var n="";if(e>0)while(true){if(e&1)n+=t;e>>>=1;if(e<=0)break;t+=t}return n}function hd(e,n){try{return new Function(e)}catch(t){n.push({err:t,code:e});return x}}function vd(l){var u=Object.create(null);return function t(e,n,r){n=h({},n);var i=n.warn||W;delete n.warn;try{new Function("return 1")}catch(t){if(t.toString().match(/unsafe-eval|CSP/))i("It seems you are using the standalone build of Vue.js in an "+"environment with Content Security Policy that prohibits unsafe-eval. "+"The template compiler cannot work in this environment. Consider "+"relaxing the policy to allow unsafe-eval or pre-compiling your "+"templates into render functions.")}var o=n.delimiters?String(n.delimiters)+e:e;if(u[o])return u[o];var a=l(e,n);{if(a.errors&&a.errors.length)if(n.outputSourceRange)a.errors.forEac
7369h(function(t){i("Error compiling template:\n\n".concat(t.msg,"\n\n")+dd(e,t.start,t.end),r)});else i("Error compiling template:\n\n".concat(e,"\n\n")+a.errors.map(function(t){return"- ".concat(t)}).join("\n")+"\n",r);if(a.tips&&a.tips.length)if(n.outputSourceRange)a.tips.forEach(function(t){return ro(t.msg,r)});else a.tips.forEach(function(t){return ro(t,r)})}var s={};var c=[];s.render=hd(a.render,c);s.staticRenderFns=a.staticRenderFns.map(function(t){return hd(t,c)});if((!a.errors||!a.errors.length)&&c.length)i("Failed to generate render function:\n\n"+c.map(function(t){var e=t.err,n=t.code;return"".concat(e.toString()," in\n\n").concat(n,"\n")}).join("\n"),r);return u[o]=s}}function md(u){return function t(l){function e(t,e){var n=Object.create(l);var i=[];var o=[];var r=function(t,e,n){(n?o:i).push(t)};if(e){if(e.outputSourceRange){var a=t.match(/^\s*/)[0].length;r=function(t,e,n){var r=typeof t==="string"?{msg:t}:t;if(e){if(e.start!=null)r.start=e.start+a;if(e.end!=null)r.end=e.end+a}(n?o:i).push(r)}}if(e.modules)n.modules=(l.modules||[]).concat(e.modules);if(e.directives)n.directives=h(Object.create(l.directives||null),e.directives);for(var s in e)if(s!=="modules"&&s!=="directives")n[s]=e[s]}n.warn=r;var c=u(t.trim(),n);id(c.ast,r);c.errors=i;c.tips=o;return c}return{compile:e,compileToFunctions:vd(e)}}}var gd,yd,bd=md(function t(e,n){var r=Eu(e.trim(),n);if(n.optimize!==false)lf(r,n);var i=Lf(r,n);return{ast:r,render:i.render,staticRenderFns:i.staticRenderFns}})(of).compileToFunctions,wd;function _d(t){wd=wd||document.createElement("div");wd.innerHTML=t?'<a href="\n"/>':'<div a="\n"/>';return wd.innerHTML.indexOf(" ")>0}var xd=r?_d(false):false,Sd=r?_d(true):false,Ed=t(function(t){var e=ka(t);return e&&e.innerHTML}),Cd=y.prototype.$mount;function kd(t){if(t.outerHTML)return t.outerHTML;else{var e=document.createElement("div");e.appendChild(t.cloneNode(true));return e.innerHTML}}function Ad(t,e){var n=new xi(S,t,x,{sync:true});if(e)n.update=function(){e(function(){return n.run()})}}return y.prototype.$mount=function(t,e){t=t&&ka(t);if(t===document.body||t===document.documentElement){W("Do not mount Vue to <html> or <body> - mount to normal elements instead.");return this}var n=this.$options;if(!n.render){var r=n.template;if(r)if(typeof r==="string"){if(r.charAt(0)==="#"){r=Ed(r);if(!r)W("Template element not found or is empty: ".concat(n.template),this)}}else if(r.nodeType)r=r.innerHTML;else{W("invalid template option:"+r,this);return this}else if(t)r=kd(t);if(r){if(q.performance&&s)s("compile");var i=bd(r,{outputSourceRange:true,shouldDecodeNewlines:xd,shouldDecodeNewlinesForHref:Sd,delimiters:n.delimiters,comments:n.comments},this),o=i.render,a=i.staticRenderFns;n.render=o;n.staticRenderFns=a;if(q.performance&&s){s("compile end");Me("vue ".concat(this._name," compile"),"compile","compile end")}}}return Cd.call(this,t,e)},y.compile=bd,h(y,gi),y.effect=Ad,y}()}.call(this,n(55),n(336).setImmediate)},function(t,e,n){var r,i;r=window,i=function(n,o){"use strict";var c={extend:function(t,e){for(var n in e)t[n]=e[n];return t},modulo:function(t,e){return(t%e+e)%e}},e=Array.prototype.slice,l=(c.makeArray=function(t){return Array.isArray(t)?t:null==t?[]:"object"==typeof t&&"number"==typeof t.length?e.call(t):[t]},c.removeFrom=function(t,e){e=t.indexOf(e);-1!=e&&t.splice(e,1)},c.getParent=function(t,e){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,o(t,e))return t},c.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.filterFindElements=function(t,r){t=c.makeArray(t);var i=[];return t.forEach(function(t){if(t instanceof HTMLElement)if(r){o(t,r)&&i.push(t);for(var e=t.querySelectorAll(r),n=0;n<e.length;n++)i.push(e[n])}else i.push(t)}),i},c.debounceMethod=function(t,e,r){r=r||100;var i=t.prototype[e],o=e+"Timeout";t.prototype[e]=function(){var t=this[o],e=(clearTimeout(t),arguments),n=this;this[o]=setTimeout(function(){i.apply(n,e),delete n[o]},r)}},c.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},c.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,n){return e+"-"+n}).toLowerCase()},n.console);return c.htmlInit=function(a,s){c.docReady(function(){var t=c.toDashed(s),r="data-"+t,e=document.querySelectorAll("["+r+"]"),t=document.querySelectorAll(".js-"+t),e=c.makeArray(e).concat(c.makeArray(t)),i=r+"-options",o=n.jQuery;e.forEach(function(e){var t,n=e.getAttribute(r)||e.getAttribute(i);try{t=n&&JSON.parse(n)}catch(t){return void(l&&l.error("Error parsing "+r+" on "+e.className+": "+t))}n=new a(e,t);o&&o.data(e,s,n)})})},c},n=[n(137)],void 0!==(e=function(t){return i(r,t)}
7369.apply(e,n))&&(t.exports=e)},function(t,e,n){var i=n(4);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t))||"function"==typeof(n=t.valueOf)&&!i(r=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e,n){function r(t){s(t,i,{value:{i:"O"+ ++c,w:{}}})}var i=n(32)("meta"),o=n(4),a=n(13),s=n(9).f,c=0,l=Object.isExtensible||function(){return!0},u=!n(2)(function(){return l(Object.preventExtensions({}))}),f=t.exports={KEY:i,NEED:!1,fastKey:function(t,e){if(!o(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!a(t,i)){if(!l(t))return"F";if(!e)return"E";r(t)}return t[i].i},getWeak:function(t,e){if(!a(t,i)){if(!l(t))return!0;if(!e)return!1;r(t)}return t[i].w},onFreeze:function(t){return u&&f.NEED&&l(t)&&!a(t,i)&&r(t),t}}},function(t,e,n){var a,s;a=window,s=function(r,t,e,a,n,s,i){"use strict";var o=r.jQuery,c=r.getComputedStyle,l=r.console;function u(t,e){for(t=a.makeArray(t);t.length;)e.appendChild(t.shift())}var f=0,d={};function p(t,e){var n,r=a.getQueryElement(t);if(r){if(this.element=r,this.element.flickityGUID)return(n=d[this.element.flickityGUID])&&n.option(e),n;o&&(this.$element=o(this.element)),this.options=a.extend({},this.constructor.defaults),this.option(e),this._create()}else l&&l.error("Bad element for Flickity: "+(r||t))}p.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},p.createMethods=[];var h=p.prototype,v=(a.extend(h,t.prototype),h._create=function(){var t,e=this.guid=++f;for(t in this.element.flickityGUID=e,(d[e]=this).selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.originSide=this.options.rightToLeft?"right":"left",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),(this.options.resize||this.options.watchCSS)&&r.addEventListener("resize",this),this.options.on){var n=this.options.on[t];this.on(t,n)}p.createMethods.forEach(function(t){this[t]()},this),this.options.watchCSS?this.watchCSS():this.activate()},h.option=function(t){a.extend(this.options,t)},h.activate=function(){this.isActive||(this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize(),u(this._filterFindCellElements(this.element.children),this.slider),this.viewport.appendChild(this.slider),this.element.appendChild(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready"))},h._createSlider=function(){var t=document.createElement("div");t.className="flickity-slider",t.style[this.originSide]=0,this.slider=t},h._filterFindCellElements=function(t){return a.filterFindElements(t,this.options.cellSelector)},h.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize()},h._makeCells=function(t){return this._filterFindCellElements(t).map(function(t){return new n(t,this)},this)},h.getLastCell=function(){return this.cells[this.cells.length-1]},h.getLastSlide=function(){return this.slides[this.slides.length-1]},h.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},h._positionCells=function(t){this.maxCellHeight=(t=t||0)&&this.maxCellHeight||0;for(var e,n=0,r=(0<t&&(n=(e=this.cells[t-1]).x+e.size.outerWidth),this.cells.length),i=t;i<r;i++){var o=this.cells[i];o.setPosition(n),n+=o.size.outerWidth,this.maxCellHeight=Math.max(o.size.outerHeight,this.maxCellHeight)}this.slideableWidth=n,this.updateSlides(),this._containSlides(),this.slidesWidth=r?this.getLastSlide().target-this.slides[0].target:0},h._sizeCells=function(t){t.forEach(function(t){t.getSize()})},h.updateSlides=function(){var r,i,o;this.slides=[],this.cells.length&&(r=new s(this),this.slides.push(r),i="left"==this.originSide?"marginRight":"marginLeft",o=this._getCanCellFit(),this.cells.forEac
7369h(function(t,e){var n;r.cells.length&&(n=r.outerWidth-r.firstMargin+(t.size.outerWidth-t.size[i]),o.call(this,e,n)||(r.updateTarget(),r=new s(this),this.slides.push(r))),r.addCell(t)},this),r.updateTarget(),this.updateSelectedSlide())},h._getCanCellFit=function(){var e,t=this.options.groupCells;if(!t)return function(){return!1};if("number"==typeof t)return e=parseInt(t,10),function(t){return t%e!=0};var t="string"==typeof t&&t.match(/^(\d+)%$/),n=t?parseInt(t[1],10)/100:1;return function(t,e){return e<=(this.size.innerWidth+1)*n}},h._init=h.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},h.getSize=function(){this.size=e(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign},{center:{left:.5,right:.5},left:{left:0,right:1},right:{right:0,left:1}});return h.setCellAlign=function(){var t=v[this.options.cellAlign];this.cellAlign=t?t[this.originSide]:this.options.cellAlign},h.setGallerySize=function(){var t;this.options.setGallerySize&&(t=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight,this.viewport.style.height=t+"px")},h._getWrapShiftCells=function(){var t,e;this.options.wrapAround&&(this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells),t=this.cursorPosition,e=this.cells.length-1,this.beforeShiftCells=this._getGapCells(t,e,-1),t=this.size.innerWidth-this.cursorPosition,this.afterShiftCells=this._getGapCells(t,0,1))},h._getGapCells=function(t,e,n){for(var r=[];0<t;){var i=this.cells[e];if(!i)break;r.push(i),e+=n,t-=i.size.outerWidth}return r},h._containSlides=function(){var t,e,n,r,i,o;this.options.contain&&!this.options.wrapAround&&this.cells.length&&(t=(e=this.options.rightToLeft)?"marginRight":"marginLeft",e=e?"marginLeft":"marginRight",n=this.slideableWidth-this.getLastCell().size[e],r=n<this.size.innerWidth,i=this.cursorPosition+this.cells[0].size[t],o=n-this.size.innerWidth*(1-this.cellAlign),this.slides.forEach(function(t){r?t.target=n*this.cellAlign:(t.target=Math.max(t.target,i),t.target=Math.min(t.target,o))},this))},h.dispatchEvent=function(t,e,n){var r=e?[e].concat(n):n;this.emitEvent(t,r),o&&this.$element&&(r=t+=this.options.namespaceJQueryEvents?".flickity":"",e&&((e=new o.Event(e)).type=t,r=e),this.$element.trigger(r,n))},h.select=function(t,e,n){this.isActive&&(t=parseInt(t,10),this._wrapSelect(t),(this.options.wrapAround||e)&&(t=a.modulo(t,this.slides.length)),this.slides[t]&&(e=this.selectedIndex,this.selectedIndex=t,this.updateSelectedSlide(),n?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[t]),t!=e&&this.dispatchEvent("change",null,[t]),this.dispatchEvent("cellSelect")))},h._wrapSelect=function(t){var e=this.slides.length;if(!(this.options.wrapAround&&1<e))return t;var n=a.modulo(t,e),r=Math.abs(n-this.selectedIndex),i=Math.abs(n+e-this.selectedIndex),n=Math.abs(n-e-this.selectedIndex);!this.isDragSelect&&i<r?t+=e:!this.isDragSelect&&n<r&&(t-=e),t<0?this.x-=this.slideableWidth:e<=t&&(this.x+=this.slideableWidth)},h.previous=function(t,e){this.select(this.selectedIndex-1,t,e)},h.next=function(t,e){this.select(this.selectedIndex+1,t,e)},h.updateSelectedSlide=function(){var t=this.slides[this.selectedIndex];t&&(this.unselectSelectedSlide(),(this.selectedSlide=t).select(),this.selectedCells=t.cells,this.selectedElements=t.getCellElements(),this.selectedCell=t.cells[0],this.selectedElement=this.selectedElements[0])},h.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},h.selectInitialIndex=function(){var t=this.options.initialIndex;if(this.isInitActivated)this.select(this.selectedIndex,!1,!0);else{if(t&&"string"==typeof t)if(this.queryCell(t))return void this.selectCell(t,!1,!0);var e=0;t&&this.slides[t]&&(e=t),this.select(e,!1,!0)}},h.selectCell=function(t,e,n){var t=this.queryCell(t);t&&(t=this.getCellSlideIndex(t),this.select(t,e,n))},h.getCellSlideIndex=function(t){for(var e=0;e<this.slides.length;e++)if(-1!=this.slides[e].cells.indexOf(t))return e},h.getCell=function(t){for(var e=0;e<this.cells.length;e++){var n=this.cells[e];if(n.element==t)return n}},h.getCells=function(t){t=a.makeArray(t);var e=[];return t.forEach(function(t){t=this.getCell(t);t&&e.push(t)},this),e},h.getCellElements=function(){return this.cells.map(function(t){return t.element})},h.getParentCell=function(t){var e=this.getCell(t);return e||(t=a.getParent(t,".flickity-slider > *"),this.getCell(t))},h.getAdjacentCellElements=function(t,e){if(!t)return this.selectedSlide.getCellElements();e=void 0===e?this.selectedIndex:e;var n=this.slides.length;if(n<=1+2*t)return this.getCellElements();for(var r=[],i=e-t;i<=e+t;i++){var o=this.options.wrapAround?a.modulo(i,n):i,o=this.slides[o];o&&(r=r.concat(o.getCellElements()))}return r},h.queryCell=function(t){if("number"==typeof t)return this.cells[t];if("string"==typeof t){if(t.match(/^[#.]?[\d/]/))return;t=this.element.querySelector(t)}return this.getCell(t)},h.uiChange=function(){this.emitEvent("uiChange")},h.childUIPointerDown=function(t){"touchstart"!=t.type&&t.preventDefault(),this.focus()},h.onresize=function(){this.watchCSS(),this.resize()},a.debounceMethod(p,"onresize",150),h.resize=function(){var t;!this.isActive||this.isAnimating||this.isDragging||(this.getSize(),this.options.wrapAround&&(this.x=a.modulo(this.x,this.slideableWidth)),this.positionCells(),this._getWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize"),t=this.selectedElements&&this.selectedElements[0],this.selectCell(t,!1,!0))},h.watchCSS=function(){this.options.watchCSS&&(-1!=c(this.element,":after").content.indexOf("flickity")?this.activate():this.deactivate())},h.onkeydown=function(t){var e=document.activeElement&&document.activeElement!=this.element;this.options.accessibility&&!e&&(e=p.keyboardHandlers[t.keyCode])&&e.call(this)},p.keyboardHandlers={37:function(){var t=this.options.rightToLeft?"next":"previous";this.uiChange(),this[t]()},39:function(){var t=this.options.rightToLeft?"previous":"next";this.uiChange(),this[t]()}},h.focus=function(){var t=r.pageYOffset;this.element.focus({preventScroll:!0}),r.pageYOffset!=t&&r.scrollTo(r.pageXOffset,t)},h.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEac
7369h(function(t){t.destroy()}),this.element.removeChild(this.viewport),u(this.slider.children,this.element),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},h.destroy=function(){this.deactivate(),r.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),o&&this.$element&&o.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete d[this.guid]},a.extend(h,i),p.data=function(t){t=(t=a.getQueryElement(t))&&t.flickityGUID;return t&&d[t]},a.htmlInit(p,"flickity"),o&&o.bridget&&o.bridget("flickity",p),p.setJQuery=function(t){o=t},p.Cell=n,p.Slide=s,p},n=[n(68),n(98),n(27),n(138),n(139),n(140)],void 0!==(e=function(t,e,n,r,i,o){return s(a,t,e,n,r,i,o)}.apply(e,n))&&(t.exports=e)},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++n+r).toString(36))}},function(t,e){t.exports=!1},function(t,e,n){var r=n(101),i=n(73);t.exports=Object.keys||function(t){return r(t,i)}},function(t,e,n){var r=n(19),i=Math.max,o=Math.min;t.exports=function(t,e){return(t=r(t))<0?i(t+e,0):o(t,e)}},function(t,e,n){function r(){}var i=n(3),o=n(102),a=n(73),s=n(72)("IE_PROTO"),c="prototype",l=function(){var t=n(70)("iframe"),e=a.length;for(t.style.display="none",n(74).appendChild(t),t.src="javascript:",(t=t.contentWindow.document).open(),t.write("<script>document.F=Object<\/script>"),t.close(),l=t.F;e--;)delete l[c][a[e]];return l()};t.exports=Object.create||function(t,e){var n;return null!==t?(r[c]=i(t),n=new r,r[c]=null,n[s]=t):n=l(),void 0===e?n:o(n,e)}},function(t,e,n){var r=n(101),i=n(73).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,e,n){var r=n(13),i=n(10),o=n(72)("IE_PROTO"),a=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?a:null}},function(t,e,n){var r=n(5)("unscopables"),i=Array.prototype;null==i[r]&&n(14)(i,r,{}),t.exports=function(t){i[r][t]=!0}},function(t,e,n){var r=n(4);t.exports=function(t,e){if(r(t)&&t._t===e)return t;throw TypeError("Incompatible receiver, "+e+" required!")}},function(t,e,n){var r;window, 7370/*! 7371 * Flickity v2.3.0 7372 * Touch, responsive, flickable carousels 7373 * 7374 * Licensed GPLv3 for open source use 7375 * or Flickity Commercial License for commercial use 7376 * 7377 * https://flickity.metafizzy.co 7378 * Copyright 2015-2021 Metafizzy 7379 */ 7380r=function(t){return t},n=[n(30),n(141),n(143),n(144),n(145),n(146),n(147)],void 0!==(e="function"==typeof(r=r)?r.apply(e,n):r)&&(t.exports=e)},function(t,e,n){var r=n(9).f,i=n(13),o=n(5)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},function(t,e,n){function r(t,e,n){var r={},i=a(function(){return!!s[t]()||"â "!="â "[t]()}),e=r[t]=i?e(u):s[t];n&&(r[n]=e),o(o.P+o.F*i,"String",r)}var o=n(0),i=n(24),a=n(2),s=n(76),n="["+s+"]",c=RegExp("^"+n+n+"*"),l=RegExp(n+n+"*$"),u=r.trim=function(t,e){return t=String(i(t)),1&e&&(t=t.replace(c,"")),t=2&e?t.replace(l,""):t};t.exports=r},function(t,e){t.exports={}},function(t,e,n){"use strict";var r=n(1),i=n(9),o=n(8),a=n(5)("species");t.exports=function(t){t=r[t];o&&t&&!t[a]&&i.f(t,a,{configurable:!0,get:function(){return this}})}},function(t,e){t.exports=function(t,e,n,r){if(!(t instanceof e)||void 0!==r&&r in t)throw TypeError(n+": incorrect invocation!");return t}},function(t,e,n){var i=n(11);t.exports=function(t,e,n){for(var r in e)i(t,r,e[r],n);return t}},function(t,e,n){var r,i; 7381/*! 7382 * JavaScript Cookie v2.2.1 7383 * https://github.com/js-cookie/js-cookie 7384 * 7385 * Copyright 2006, 2015 Klaus Hartl & Fagner Brack 7386 * Released under the MIT license 7387 */void 0!==(n="function"==typeof(r=i=function(){function s(){for(var t=0,e={};t<arguments.length;t++){var n,r=arguments[t];for(n in r)e[n]=r[n]}return e}function l(t){return t.replace(/(%[0-9A-Z]{2}
vendor: 4,732 bytes, lines 7387-7394
7387)+/g,decodeURIComponent)}return function t(c){function a(){}function n(t,e,n){if("undefined"!=typeof document){"number"==typeof(n=s({path:"/"},a.defaults,n)).expires&&(n.expires=new Date(+new Date+864e5*n.expires)),n.expires=n.expires?n.expires.toUTCString():"";try{var r=JSON.stringify(e);/^[\{\[]/.test(r)&&(e=r)}catch(t){}e=c.write?c.write(e,t):encodeURIComponent(String(e)).replace(/%(23|24|26|2B|3A|3C|3E|3D|2F|3F|40|5B|5D|5E|60|7B|7D|7C)/g,decodeURIComponent),t=encodeURIComponent(String(t)).replace(/%(23|24|26|2B|5E|60|7C)/g,decodeURIComponent).replace(/[\(\)]/g,escape);var i,o="";for(i in n)n[i]&&(o+="; "+i,!0!==n[i]&&(o+="="+n[i].split(";")[0]));return document.cookie=t+"="+e+o}}function e(t,e){if("undefined"!=typeof document){for(var n={},r=document.cookie?document.cookie.split("; "):[],i=0;i<r.length;i++){var o=r[i].split("="),a=o.slice(1).join("=");e||'"'!==a.charAt(0)||(a=a.slice(1,-1));try{var s=l(o[0]),a=(c.read||c)(a,s)||l(a);if(e)try{a=JSON.parse(a)}catch(t){}if(n[s]=a,t===s)break}catch(t){}}return t?n[t]:n}}return a.set=n,a.get=function(t){return e(t,!1)},a.getJSON=function(t){return e(t,!0)},a.remove=function(t,e){n(t,"",s(e,{expires:-1}))},a.defaults={},a.withConverter=t,a}(function(){})})?r.call(e,n,e,t):r)&&(t.exports=n),t.exports=i()},function(t,e,n){var r=n(23);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,e){e.f={}.propertyIsEnumerable},function(t,e,n){var r=n(23),i=n(5)("toStringTag"),o="Arguments"==r(function(){return arguments}());t.exports=function(t){var e;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,e){try{return t[e]}catch(t){}}(t=Object(t),i))?e:o?r(t):"Object"==(e=r(t))&&"function"==typeof t.callee?"Arguments":e}},function(t,e,n){var r=n(3),i=n(18),o=n(5)("species");t.exports=function(t,e){var t=r(t).constructor;return void 0===t||null==(t=r(t)[o])?e:i(t)}},function(t){t.exports=JSON.parse('{"assets":["cash","fixed income - internally managed","fixed income - externally managed","listed equity","unlisted equity - internally managed","unlisted equity - externally managed","listed property","unlisted property - internally managed","unlisted property - externally managed","listed infrastructure","unlisted infrastructure - internally managed","unlisted infrastructure - externally managed","listed alternatives","unlisted alternatives - internally managed","unlisted alternatives - externally managed","other - tax provisions","tax and other provisions"],"derivatives":["swaps","forwards","futures","options","other derivatives"],"byAsset":["cash","fixed income","equity","property","infrastructure","alternatives"],"byCurrency":["aud","usd","currencies of other developed markets","currencies of emerging markets","not applicable","not defined"]}')},function(t,e){ 7388/*! 7389Waypoints - 4.0.1 7390Copyright © 2011-2016 Caleb Troughton 7391Licensed under the MIT license. 7392https://github.com/imakewebthings/waypoints/blob/master/licenses.txt 7393*/ 7394!function(){"use strict";function e(t){if(!t)throw new Error("No options passed to Waypoint constructor");if(!t.element)throw new Error("No element option passed to Waypoint constructor");if(!t.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+n,this.options=e.Adapter.extend({},e.defaults,t),this.element=this.options.element,this.adapter=new e.Adapter(this.element),this.callback=t.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=e.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=e.Context.findOrCreateByElement(this.options.context),e.offsetAliases[this.options.offset]&&(this.options.offset=e.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),o[this.key]=this,n+=1}var n=0,o={};e.prototype.queueTrigger=function(t){this.group.queueTrigger(this,t)},e.prototype.trigger=function(t){this.enabled&&this.callback&&this.callback.apply(this,t)},e.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete o[this.key]},e.prototype.disable=function(){return this.enabled=!1,this},e.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},e.prototype.next=function(){return this.group.next(this)},e.prototype.previous=function(){return this.group.previous(this)},e.invokeAll=function(t){var e,n=[];for(e in o)n.push(o[e]);for(var r=0,i=n.length;r<i;r++)n[r][t]()},e.destroyAll=function(){e.invokeAll("destroy")},e.disableAll=function(){e.invokeAll("disable")},e.enableAll=function(){for(var t in e.Context.refreshAll(),o)o[t].enabled=!0;return this},e.refreshAll=function(){e.Context.refreshAll()}
7394,e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},e.viewportWidth=function(){return document.documentElement.clientWidth},e.adapters=[],e.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},e.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=e}(),function(){"use strict";function e(t){window.setTimeout(t,1e3/60)}function n(t){this.element=t,this.Adapter=p.Adapter,this.adapter=new this.Adapter(t),this.key="waypoint-context-"+r,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},t.waypointContextKey=this.key,i[t.waypointContextKey]=this,r+=1,p.windowContext||(p.windowContext=!0,p.windowContext=new n(window)),this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var r=0,i={},p=window.Waypoint,t=window.onload;n.prototype.add=function(t){var e=t.options.horizontal?"horizontal":"vertical";this.waypoints[e][t.key]=t,this.refresh()},n.prototype.checkEmpty=function(){var t=this.Adapter.isEmptyObject(this.waypoints.horizontal),e=this.Adapter.isEmptyObject(this.waypoints.vertical),n=this.element==this.element.window;t&&e&&!n&&(this.adapter.off(".waypoints"),delete i[this.key])},n.prototype.createThrottledResizeHandler=function(){function t(){e.handleResize(),e.didResize=!1}var e=this;this.adapter.on("resize.waypoints",function(){e.didResize||(e.didResize=!0,p.requestAnimationFrame(t))})},n.prototype.createThrottledScrollHandler=function(){function t(){e.handleScroll(),e.didScroll=!1}var e=this;this.adapter.on("scroll.waypoints",function(){e.didScroll&&!p.isTouch||(e.didScroll=!0,p.requestAnimationFrame(t))})},n.prototype.handleResize=function(){p.Context.refreshAll()},n.prototype.handleScroll=function(){var t,e,n={},r={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(t in r){var i,o=r[t],a=o.newScroll>o.oldScroll?o.forward:o.backward;for(i in this.waypoints[t]){var s,c,l=this.waypoints[t][i];null!==l.triggerPoint&&(s=o.oldScroll<l.triggerPoint,c=o.newScroll>=l.triggerPoint,(s&&c||!s&&!c)&&(l.queueTrigger(a),n[l.group.id]=l.group))}}for(e in n)n[e].flushTriggers();this.oldScroll={x:r.horizontal.newScroll,y:r.vertical.newScroll}},n.prototype.innerHeight=function(){return this.element==this.element.window?p.viewportHeight():this.adapter.innerHeight()},n.prototype.remove=function(t){delete this.waypoints[t.axis][t.key],this.checkEmpty()},n.prototype.innerWidth=function(){return this.element==this.element.window?p.viewportWidth():this.adapter.innerWidth()},n.prototype.destroy=function(){var t,e=[];for(t in this.waypoints)for(var n in this.waypoints[t])e.push(this.waypoints[t][n]);for(var r=0,i=e.length;r<i;r++)e[r].destroy()},n.prototype.refresh=function(){var t,e,n=this.element==this.element.window,r=n?void 0:this.adapter.offset(),i={};for(e in this.handleScroll(),t={horizontal:{contextOffset:n?0:r.left,contextScroll:n?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:n?0:r.top,contextScroll:n?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var o,a=t[e];for(o in this.waypoints[e]){var s,c=this.waypoints[e][o],l=c.options.offset,u=c.triggerPoint,f=0,d=null==u;c.element!==c.element.window&&(f=c.adapter.offset()[a.offsetProp]),"function"==typeof l?l=l.apply(c):"string"==typeof l&&(l=parseFloat(l),-1<c.options.offset.indexOf("%")&&(l=Math.ceil(a.contextDimension*l/100))),s=a.contextScroll-a.contextOffset,c.triggerPoint=Math.floor(f+s-l),f=u<a.oldScroll,s=c.triggerPoint>=a.oldScroll,l=!f&&!s,!d&&(f&&s)?(c.queueTrigger(a.backward),i[c.group.id]=c.group):(!d&&l||d&&a.oldScroll>=c.triggerPoint)&&(c.queueTrigger(a.forward),i[c.group.id]=c.group)}}
7394return p.requestAnimationFrame(function(){for(var t in i)i[t].flushTriggers()}),this},n.findOrCreateByElement=function(t){return n.findByElement(t)||new n(t)},n.refreshAll=function(){for(var t in i)i[t].refresh()},n.findByElement=function(t){return i[t.waypointContextKey]},window.onload=function(){t&&t(),n.refreshAll()},p.requestAnimationFrame=function(t){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||e).call(window,t)},p.Context=n}(),function(){"use strict";function o(t,e){return t.triggerPoint-e.triggerPoint}function a(t,e){return e.triggerPoint-t.triggerPoint}function e(t){this.name=t.name,this.axis=t.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),n[this.axis][this.name]=this}var n={vertical:{},horizontal:{}},r=window.Waypoint;e.prototype.add=function(t){this.waypoints.push(t)},e.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},e.prototype.flushTriggers=function(){for(var t in this.triggerQueues){var e=this.triggerQueues[t];e.sort("up"===t||"left"===t?a:o);for(var n=0,r=e.length;n<r;n+=1){var i=e[n];!i.options.continuous&&n!==e.length-1||i.trigger([t])}}this.clearTriggerQueues()},e.prototype.next=function(t){this.waypoints.sort(o);t=r.Adapter.inArray(t,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},e.prototype.previous=function(t){this.waypoints.sort(o);t=r.Adapter.inArray(t,this.waypoints);return t?this.waypoints[t-1]:null},e.prototype.queueTrigger=function(t,e){this.triggerQueues[e].push(t)},e.prototype.remove=function(t){t=r.Adapter.inArray(t,this.waypoints);-1<t&&this.waypoints.splice(t,1)},e.prototype.first=function(){return this.waypoints[0]},e.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},e.findOrCreate=function(t){return n[t.axis][t.name]||new e(t)},r.Group=e}(),function(){"use strict";function n(t){return t===t.window}function r(t){return n(t)?t:t.defaultView}function t(t){this.element=t,this.handlers={}}var e=window.Waypoint;t.prototype.innerHeight=function(){return n(this.element)?this.element.innerHeight:this.element.clientHeight},t.prototype.innerWidth=function(){return n(this.element)?this.element.innerWidth:this.element.clientWidth},t.prototype.off=function(t,e){function n(t,e,n){for(var r=0,i=e.length-1;r<i;r++){var o=e[r];n&&n!==o||t.removeEventListener(o)}}var t=t.split("."),r=t[0],i=t[1],o=this.element;if(i&&this.handlers[i]&&r)n(o,this.handlers[i][r],e),this.handlers[i][r]=[];else if(r)for(var a in this.handlers)n(o,this.handlers[a][r]||[],e),this.handlers[a][r]=[];else if(i&&this.handlers[i]){for(var s in this.handlers[i])n(o,this.handlers[i][s],e);this.handlers[i]={}}},t.prototype.offset=function(){if(!this.element.ownerDocument)return null;var t=this.element.ownerDocument.documentElement,e=r(this.element.ownerDocument),n={top:0,left:0};return{top:(n=this.element.getBoundingClientRect?this.element.getBoundingClientRect():n).top+e.pageYOffset-t.clientTop,left:n.left+e.pageXOffset-t.clientLeft}},t.prototype.on=function(t,e){var t=t.split("."),n=t[0],t=t[1]||"__default",t=this.handlers[t]=this.handlers[t]||{};(t[n]=t[n]||[]).push(e),this.element.addEventListener(n,e)},t.prototype.outerHeight=function(t){var e=this.innerHeight();return t&&!n(this.element)&&(t=window.getComputedStyle(this.element),e=(e+=parseInt(t.marginTop,10))+parseInt(t.marginBottom,10)),e},t.prototype.outerWidth=function(t){var e=this.innerWidth();return t&&!n(this.element)&&(t=window.getComputedStyle(this.element),e=(e+=parseInt(t.marginLeft,10))+parseInt(t.marginRight,10)),e},t.prototype.scrollLeft=function(){var t=r(this.element);return t?t.pageXOffset:this.element.scrollLeft},t.prototype.scrollTop=function(){var t=r(this.element);return t?t.pageYOffset:this.element.scrollTop},t.extend=function(){for(var t=Array.prototype.slice.call(arguments),e=1,n=t.length;e<n;e++){r=void 0;i=void 0;o=void 0;var r=t[0];var i=t[e];if("object"==typeof r&&"object"==typeof i)for(var o in i)i.hasOwnProperty(o)&&(r[o]=i[o])}return t[0]},t.inArray=function(t,e,n){return null==e?-1:e.indexOf(t,n)},t.isEmptyObject=function(t){for(var e in t)return!1;return!0}
7394,e.adapters.push({name:"noframework",Adapter:t}),e.Adapter=t}()},function(t,e){var n=function(){return this}();try{n=n||new Function("return this")()}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){var r=n(7),i=n(1),o="__core-js_shared__",a=i[o]||(i[o]={});(t.exports=function(t,e){return a[t]||(a[t]=void 0!==e?e:{})})("versions",[]).push({version:r.version,mode:n(33)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,e,n){var c=n(15),l=n(6),u=n(35);t.exports=function(s){return function(t,e,n){var r,i=c(t),o=l(i.length),a=u(n,o);if(s&&e!=e){for(;a<o;)if((r=i[a++])!=r)return!0}else for(;a<o;a++)if((s||a in i)&&i[a]===e)return s||a||0;return!s&&-1}}},function(t,e){e.f=Object.getOwnPropertySymbols},function(t,e,n){var r=n(23);t.exports=Array.isArray||function(t){return"Array"==r(t)}},function(t,e,n){var o=n(5)("iterator"),a=!1;try{var r=[7][o]();r.return=function(){a=!0},Array.from(r,function(){throw 2})}catch(t){}t.exports=function(t,e){if(!e&&!a)return!1;var n=!1;try{var r=[7],i=r[o]();i.next=function(){return{done:n=!0}},r[o]=function(){return i},t(r)}catch(t){}return n}},function(t,e,n){"use strict";var r=n(3);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},function(t,e,n){"use strict";var r=n(51),i=RegExp.prototype.exec;t.exports=function(t,e){var n=t.exec;if("function"==typeof n){n=n.call(t,e);if("object"!=typeof n)throw new TypeError("RegExp exec method returned something other than an Object or null");return n}if("RegExp"!==r(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},function(t,e,n){"use strict";n(119);var r,c=n(11),l=n(14),u=n(2),f=n(24),d=n(5),p=n(91),h=d("species"),v=!u(function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}),m=(r=(n=/(?:)/).exec,n.exec=function(){return r.apply(this,arguments)},2===(n="ab".split(n)).length&&"a"===n[0]&&"b"===n[1]);t.exports=function(n,t,e){var o,r,i=d(n),a=!u(function(){var t={};return t[i]=function(){return 7},7!=""[n](t)}),s=a?!u(function(){var t=!1,e=/a/;return e.exec=function(){return t=!0,null},"split"===n&&(e.constructor={},e.constructor[h]=function(){return e}),e[i](""),!t}):void 0;a&&s&&("replace"!==n||v)&&("split"!==n||m)||(o=/./[i],e=(s=e(f,i,""[n],function(t,e,n,r,i){return e.exec===p?a&&!i?{done:!0,value:o.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}))[0],r=s[1],c(String.prototype,n,e),l(RegExp.prototype,i,2==t?function(t,e){return r.call(t,this,e)}:function(t){return r.call(t,this)}))}},function(t,e,n){var f=n(17),d=n(114),p=n(86),h=n(3),v=n(6),m=n(88),g={},y={};(e=t.exports=function(t,e,n,r,i){var o,a,s,c,i=i?function(){return t}:m(t),l=f(n,r,e?2:1),u=0;if("function"!=typeof i)throw TypeError(t+" is not iterable!");if(p(i)){for(o=v(t.length);u<o;u++)if((c=e?l(h(a=t[u])[0],a[1]):l(t[u]))===g||c===y)return c}else for(s=i.call(t);!(a=s.next()).done;)if((c=d(s,l,a.value,e))===g||c===y)return c}).BREAK=g,e.RETURN=y},function(t,e,n){n=n(1).navigator;t.exports=n&&n.userAgent||""},function(t,e,n){"use strict";var g=n(1),y=n(0),b=n(11),w=n(47),_=n(29),x=n(64),S=n(46),E=n(4),C=n(2),k=n(60),A=n(42),O=n(77);t.exports=function(n,t,e,r,i,o){function a(t){var n=v[t];b(v,t,"delete"==t?function(t){return!(o&&!E(t))&&n.call(this,0===t?0:t)}:"has"==t?function(t){return!(o&&!E(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return o&&!E(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,e){return n.call(this,0===t?0:t,e),this})}var s,c,l,u,f,d=g[n],p=d,h=i?"set":"add",v=p&&p.prototype,m={};return"function"==typeof p&&(o||v.forEach&&!C(function(){(new p).entries().next()}))?(c=(s=new p)[h](o?{}:-0,1)!=s,l=C(function(){s.has(1)}),u=k(function(t){new p(t)}),f=!o&&C(function(){for(var t=new p,e=5;e--;)t[h](e,e);return!t.has(-0)}),u||(((p=t(function(t,e){S(t,p,n);t=O(new d,t,p);return null!=e&&x(e,i,t[h],t),t})).prototype=v).constructor=p),(l||f)&&(a("delete"),a("has"),i&&a("get")),(f||c)&&a(h),o&&v.clear&&delete v.clear):(p=r.getConstructor(t,n,i,h),w(p.prototype,e),_.NEED=!0),A(p,n),m[n]=p,y(y.G+y.W+y.F*(p!=d),m),o||r.setStrong(p,n,i),p}},function(t,e,n){for(var r,i=n(1),o=n(14),n=n(32),a=n("typed_array"),s=n("view"),n=!(!i.ArrayBuffer||!i.DataView),c=n,l=0,u="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(r=i[u[l++]])?(o(r.prototype,a,!0),o(r.prototype,s,!0)):c=!1;t.exports={ABV:n,CONSTR:c,TYPED:a,VIEW:s}},function(t,e,n){var r;void 0!==(n="function"==typeof(r=function(){"use strict";function t(){}var e=t.prototype;return e.on=function(t,e){if(!t||!e)return;var n=this._events=this._events||{};var r=n[t]=n[t]||[];if(r.indexOf(e)==-1)r.push(e);return this},e.once=function(t,e){if(!t||!e)return;this.on(t,e);var n=this._onceEvents=this._onceEvents||{};var r=n[t]=n[t]||{};r[e]=true;return this},e.off=function(t,e){var n=this._events&&this._events[t];if(!n||!n.length)return;var r=n.indexOf(e);if(r!=-1)n.splice(r,1);return this},e.emitEvent=function(t,e){var n=this._events&&this._events[t];if(!n||!n.length)return;n=n.slice(0);e=e||[];var r=this._onceEvents&&this._onceEvents[t];for(var i=0;i<n.length;i++){var o=n[i];var a=r&&r[o];if(a){this.off(t,o);delete r[o]}o.apply(this,e)}return this},e.allOff=function(){delete this._events;delete this._onceEvents},t})?r.call(e,n,e,t):r)&&(t.exports=n)},function(t,e,n){var r,i; 7395/*! 7396 * Unipointer v2.4.0 7397 * base class for doing one thing with pointer event 7398 * MIT license 7399 */ 7400r=window,i=function(r,t){"use strict";function e(){}var t=e.prototype=Object.create(t.prototype),n=(t.bindStartEvent=function(t){this._bindStartEvent(t,!0)},t.unbindStartEvent=function(t){this._bindStartEvent(t,!1)},t._bindStartEvent=function(t,e){var e=(e=void 0===e||e)?"addEventListener":"removeEventListener",n="mousedown";"ontouchstart"in r?n="touchstart":r.PointerEvent&&(n="pointerdown"),t[e](n,this)},t.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},t.getTouch=function(t){for(var e=0;e<t.length;e++){var n=t[e];if(n.identifier==this.pointerIdentifier)return n}},t.onmousedown=function(t){var e=t.button;e&&0!==e&&1!==e||this._pointerDown(t,t)},t.ontouchstart=function(t){this._pointerDown(t,t.changedTouches[0])},t.onpointerdown=function(t){this._pointerDown(t,t)},t._pointerDown=function(t,e){t.button||this.isPointerDown||(this.isPointerDown=!0,this.pointerIdentifier=void 0!==e.pointerId?e.pointerId:e.identifier,this.pointerDown(t,e))},t.pointerDown=function(t,e){this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e])},{mousedown:["mousemove","mouseup"],touchstart:["touchmove","touchend","touchcancel"],pointerdown:["pointermove","pointerup","pointercancel"]});return t._bindPostStartEvents=function(t){t&&((t=n[t.type]).forEac
7400h(function(t){r.addEventListener(t,this)},this),this._boundPointerEvents=t)},t._unbindPostStartEvents=function(){this._boundPointerEvents&&(this._boundPointerEvents.forEach(function(t){r.removeEventListener(t,this)},this),delete this._boundPointerEvents)},t.onmousemove=function(t){this._pointerMove(t,t)},t.onpointermove=function(t){t.pointerId==this.pointerIdentifier&&this._pointerMove(t,t)},t.ontouchmove=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerMove(t,e)},t._pointerMove=function(t,e){this.pointerMove(t,e)},t.pointerMove=function(t,e){this.emitEvent("pointerMove",[t,e])},t.onmouseup=function(t){this._pointerUp(t,t)},t.onpointerup=function(t){t.pointerId==this.pointerIdentifier&&this._pointerUp(t,t)},t.ontouchend=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerUp(t,e)},t._pointerUp=function(t,e){this._pointerDone(),this.pointerUp(t,e)},t.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e])},t._pointerDone=function(){this._pointerReset(),this._unbindPostStartEvents(),this.pointerDone()},t._pointerReset=function(){this.isPointerDown=!1,delete this.pointerIdentifier},t.pointerDone=function(){},t.onpointercancel=function(t){t.pointerId==this.pointerIdentifier&&this._pointerCancel(t,t)},t.ontouchcancel=function(t){var e=this.getTouch(t.changedTouches);e&&this._pointerCancel(t,e)},t._pointerCancel=function(t,e){this._pointerDone(),this.pointerCancel(t,e)},t.pointerCancel=function(t,e){this.emitEvent("pointerCancel",[t,e])},e.getPointerPoint=function(t){return{x:t.pageX,y:t.pageY}},e},n=[n(68)],void 0!==(e=function(t){return i(r,t)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r=n(4),i=n(1).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){e.f=n(5)},function(t,e,n){var r=n(56)("keys"),i=n(32);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,n){n=n(1).document;t.exports=n&&n.documentElement},function(t,e,i){function o(t,e){if(r(t),!n(e)&&null!==e)throw TypeError(e+": can't set as prototype!")}var n=i(4),r=i(3);t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,r){try{(r=i(17)(Function.call,i(20).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,e){return o(t,e),n?t.__proto__=e:r(t,e),t}}({},!1):void 0),check:o}},function(t,e){t.exports="\t\n\v\f\r  áá ââââââ
ââââââ¯âã\u2028\u2029\ufeff"},function(t,e,n){var r=n(4),i=n(75).set;t.exports=function(t,e,n){var e=e.constructor;return e!==n&&"function"==typeof e&&(e=e.prototype)!==n.prototype&&r(e)&&i&&i(t,e),t}},function(t,e,n){"use strict";var i=n(19),o=n(24);t.exports=function(t){var e=String(o(this)),n="",r=i(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;0<r;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},function(t,e){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,e){var n=Math.expm1;t.exports=!n||22025.465794806718<n(10)||n(10)<22025.465794806718||-2e-17!=n(-2e-17)?function(t){return 0==(t=+t)?t:-1e-6<t&&t<1e-6?t+t*t/2:Math.exp(t)-1}:n},function(t,e,n){var o=n(19),a=n(24);t.exports=function(i){return function(t,e){var n,t=String(a(t)),e=o(e),r=t.length;return e<0||r<=e?i?"":void 0:(n=t.charCodeAt(e))<55296||56319<n||e+1===r||(r=t.charCodeAt(e+1))<56320||57343<r?i?t.charAt(e):n:i?t.slice(e,e+2):r-56320+(n-55296<<10)+65536}}},function(t,e,n){"use strict";function g(){return this}var y=n(33),b=n(0),w=n(11),_=n(14),x=n(44),S=n(113),E=n(42),C=n(38),k=n(5)("iterator"),A=!([].keys&&"next"in[].keys()),O="values";t.exports=function(t,e,n,r,i,o,a){S(n,e,r);function s(t){if(!A&&t in d)return d[t];switch(t){case"keys":case O:return function(){return new n(this,t)}}return function(){return new n(this,t)}}var c,l,r=e+" Iterator",u=i==O,f=!1,d=t.prototype,p=d[k]||d["@@iterator"]||i&&d[i],h=p||s(i),v=i?u?s("entries"):h:void 0,m="Array"==e&&d.entries||p;if(m&&(m=C(m.call(new t)))!==Object.prototype&&m.next&&(E(m,r,!0),y||"function"==typeof m[k]||_(m,k,g)),u&&p&&p.name!==O&&(f=!0,h=function(){return p.call(this)}),y&&!a||!A&&!f&&d[k]||_(d,k,h),x[e]=h,x[r]=g,i)if(c={values:u?h:s(O),keys:o?h:s("keys"),entries:v},a)for(l in c)l in d||w(d,l,c[l]);else b(b.P+b.F*(A||f),e,c);return c}},function(t,e,n){var r=n(84),i=n(24);t.exports=function(t,e,n){if(r(e))throw TypeError("String#"+n+" doesn't accept regex!");return String(i(t))}},function(t,e,n){var r=n(4),i=n(23),o=n(5)("match");t.exports=function(t){var e;return r(t)&&(void 0!==(e=t[o])?!!e:"RegExp"==i(t))}},function(t,e,n){var r=n(5)("match");t.exports=function(e){var n=/./;try{"/./"[e](n)}catch(t){try{return n[r]=!1,!"/./"[e](n)}catch(t){}}return!0}},function(t,e,n){var r=n(44),i=n(5)("iterator"),o=Array.prototype;
vendor: 4,263 bytes, line 7400
7400t.exports=function(t){return void 0!==t&&(r.Array===t||o[i]===t)}},function(t,e,n){"use strict";var r=n(9),i=n(31);t.exports=function(t,e,n){e in t?r.f(t,e,i(0,n)):t[e]=n}},function(t,e,n){var r=n(51),i=n(5)("iterator"),o=n(44);t.exports=n(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,e,n){"use strict";var a=n(10),s=n(35),c=n(6);t.exports=function(t){for(var e=a(this),n=c(e.length),r=arguments.length,i=s(1<r?arguments[1]:void 0,n),r=2<r?arguments[2]:void 0,o=void 0===r?n:s(r,n);i<o;)e[i++]=t;return e}},function(t,e,n){"use strict";var r=n(39),i=n(118),o=n(44),a=n(15);t.exports=n(82)(Array,"Array",function(t,e){this._t=a(t),this._i=0,this._k=e},function(){var t=this._t,e=this._k,n=this._i++;return!t||n>=t.length?(this._t=void 0,i(1)):i(0,"keys"==e?n:"values"==e?t[n]:[n,t[n]])},"values"),o.Arguments=o.Array,r("keys"),r("values"),r("entries")},function(t,e,n){"use strict";var r,i,o=n(61),a=RegExp.prototype.exec,s=String.prototype.replace,n=a,c="lastIndex",l=(r=/a/,i=/b*/g,a.call(r,"a"),a.call(i,"a"),0!==r[c]||0!==i[c]),u=void 0!==/()??/.exec("")[1];t.exports=n=l||u?function(t){var e,n,r,i;return u&&(n=new RegExp("^"+this.source+"$(?!\\s)",o.call(this))),l&&(e=this[c]),r=a.call(this,t),l&&r&&(this[c]=this.global?r.index+r[0].length:e),u&&r&&1<r.length&&s.call(r[0],n,function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)}),r}:n},function(t,e,n){"use strict";var r=n(81)(!0);t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},function(t,e,n){function r(){var t,e=+this;g.hasOwnProperty(e)&&(t=g[e],delete g[e],t())}function i(t){r.call(t.data)}var o,a=n(17),s=n(107),c=n(74),l=n(70),u=n(1),f=u.process,d=u.setImmediate,p=u.clearImmediate,h=u.MessageChannel,v=u.Dispatch,m=0,g={},y="onreadystatechange";d&&p||(d=function(t){for(var e=[],n=1;n<arguments.length;)e.push(arguments[n++]);return g[++m]=function(){s("function"==typeof t?t:Function(t),e)},o(m),m},p=function(t){delete g[t]},"process"==n(23)(f)?o=function(t){f.nextTick(a(r,t,1))}:v&&v.now?o=function(t){v.now(a(r,t,1))}:h?(h=(n=new h).port2,n.port1.onmessage=i,o=a(h.postMessage,h,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(o=function(t){u.postMessage(t+"","*")},u.addEventListener("message",i,!1)):o=y in l("script")?function(t){c.appendChild(l("script"))[y]=function(){c.removeChild(this),r.call(t)}}:function(t){setTimeout(a(r,t,1),0)}),t.exports={set:d,clear:p}},function(N,t,e){"use strict";var n=e(1),r=e(8),F=e(33),i=e(67),o=e(14),a=e(47),s=e(2),c=e(46),$=e(19),R=e(6),u=e(126),l=e(37).f,B=e(9).f,H=e(89),e=e(42),f="ArrayBuffer",d="DataView",p="prototype",h="Wrong index!",v=n[f],m=n[d],g=n.Math,y=n.RangeError,b=n.Infinity,w=v,q=g.abs,_=g.pow,z=g.floor,W=g.log,V=g.LN2,n="byteLength",g="byteOffset",x=r?"_b":"buffer",S=r?"_l":n,E=r?"_o":g;function C(t,e,n){var r,i,o,a=new Array(n),s=8*n-e-1,n=(1<<s)-1,c=n>>1,l=23===e?_(2,-24)-_(2,-77):0,u=0,f=t<0||0===t&&1/t<0?1:0;for((t=q(t))!=t||t===b?(i=t!=t?1:0,r=n):(r=z(W(t)/V),t*(o=_(2,-r))<1&&(r--,o*=2),2<=(t+=1<=r+c?l/o:l*_(2,1-c))*o&&(r++,o/=2),n<=r+c?(i=0,r=n):1<=r+c?(i=(t*o-1)*_(2,e),r+=c):(i=t*_(2,c-1)*_(2,e),r=0));8<=e;a[u++]=255&i,i/=256,e-=8);for(r=r<<e|i,s+=e;0<s;a[u++]=255&r,r/=256,s-=8);return a[--u]|=128*f,a}function k(t,e,n){var r,i=8*n-e-1,o=(1<<i)-1,a=o>>1,s=i-7,c=n-1,i=t[c--],l=127&i;for(i>>=7;0<s;l=256*l+t[c],c--,s-=8);for(r=l&(1<<-s)-1,l>>=-s,s+=e;0<s;r=256*r+t[c],c--,s-=8);if(0===l)l=1-a;else{if(l===o)return r?NaN:i?-b:b;r+=_(2,e),l-=a}return(i?-1:1)*r*_(2,l-e)}function A(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function O(t){return[255&t]}function D(t){return[255&t,t>>8&255]}function L(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function U(t){return C(t,52,8)}function Y(t){return C(t,23,4)}function M(t,e,n){B(t[p],e,{get:function(){return this[n]}})}function T(t,e,n,r){n=u(+n);if(n+e>t[S])throw y(h);var i=t[x]._b,n=n+t[E],t=i.slice(n,n+e);return r?t:t.reverse()}function P(t,e,n,r,i,o){n=u(+n);if(n+e>t[S])throw y(h);for(var a=t[x]._b,s=n+t[E],c=r(+i),l=0;l<e;l++)a[s+l]=c[o?l:e-l-1]}if(i.ABV){if(!s(function(){v(1)})||!s(function(){new v(-1)})||s(function(){return new v,new v(1.5),new v(NaN),v.name!=f})){for(var I,s=(v=function(t){return c(this,v),new w(u(t))})[p]=w[p],j=l(w),G=0;
7400j.length>G;)(I=j[G++])in v||o(v,I,w[I]);F||(s.constructor=v)}var l=new m(new v(2)),K=m[p].setInt8;l.setInt8(0,2147483648),l.setInt8(1,2147483649),!l.getInt8(0)&&l.getInt8(1)||a(m[p],{setInt8:function(t,e){K.call(this,t,e<<24>>24)},setUint8:function(t,e){K.call(this,t,e<<24>>24)}},!0)}else v=function(t){c(this,v,f);t=u(t);this._b=H.call(new Array(t),0),this[S]=t},m=function(t,e,n){c(this,m,d),c(t,v,d);var r=t[S],e=$(e);if(e<0||r<e)throw y("Wrong offset!");if(r<e+(n=void 0===n?r-e:R(n)))throw y("Wrong length!");this[x]=t,this[E]=e,this[S]=n},r&&(M(v,n,"_l"),M(m,"buffer","_b"),M(m,n,"_l"),M(m,g,"_o")),a(m[p],{getInt8:function(t){return T(this,1,t)[0]<<24>>24},getUint8:function(t){return T(this,1,t)[0]},getInt16:function(t){t=T(this,2,t,arguments[1]);return(t[1]<<8|t[0])<<16>>16},getUint16:function(t){t=T(this,2,t,arguments[1]);return t[1]<<8|t[0]},getInt32:function(t){return A(T(this,4,t,arguments[1]))},getUint32:function(t){return A(T(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return k(T(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return k(T(this,8,t,arguments[1]),52,8)},setInt8:function(t,e){P(this,1,t,O,e)},setUint8:function(t,e){P(this,1,t,O,e)},setInt16:function(t,e){P(this,2,t,D,e,arguments[2])},setUint16:function(t,e){P(this,2,t,D,e,arguments[2])},setInt32:function(t,e){P(this,4,t,L,e,arguments[2])},setUint32:function(t,e){P(this,4,t,L,e,arguments[2])},setFloat32:function(t,e){P(this,4,t,Y,e,arguments[2])},setFloat64:function(t,e){P(this,8,t,U,e,arguments[2])}});e(v,f),e(m,d),o(m[p],i.VIEW,!0),t[f]=v,t[d]=m},function(t,e){t=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=t)},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e,n){t.exports=!n(131)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,n){var r;window,void 0!==(n="function"==typeof(r=function(){"use strict";function g(t){var e=parseFloat(t);var n=t.indexOf("%")==-1&&!isNaN(e);return n&&e}function t(){}var n=typeof console=="undefined"?t:function(t){console.error(t)};var y=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];var b=y.length;function w(){var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};for(var e=0;e<b;e++){var n=y[e];t[n]=0}return t}function _(t){var e=getComputedStyle(t);if(!e)n("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? "+"See https://bit.ly/getsizebug1");return e}var r=false;var x;function S(){if(r)return;r=true;var t=document.createElement("div");t.style.width="200px";t.style.padding="1px 2px 3px 4px";t.style.borderStyle="solid";t.style.borderWidth="1px 2px 3px 4px";t.style.boxSizing="border-box";var e=document.body||document.documentElement;e.appendChild(t);var n=_(t);x=Math.round(g(n.width))==200;i.isBoxSizeOuter=x;e.removeChild(t)}function i(t){S();if(typeof t=="string")t=document.querySelector(t);if(!t||typeof t!="object"||!t.nodeType)return;var e=_(t);if(e.display=="none")return w();var n={};n.width=t.offsetWidth;n.height=t.offsetHeight;var r=n.isBorderBox=e.boxSizing=="border-box";for(var i=0;i<b;i++){var o=y[i];var a=e[o];var s=parseFloat(a);n[o]=!isNaN(s)?s:0}var c=n.paddingLeft+n.paddingRight;var l=n.paddingTop+n.paddingBottom;var u=n.marginLeft+n.marginRight;var f=n.marginTop+n.marginBottom;var d=n.borderLeftWidth+n.borderRightWidth;var p=n.borderTopWidth+n.borderBottomWidth;var h=r&&x;var v=g(e.width);if(v!==false)n.width=v+(h?0:c+d);var m=g(e.height);if(m!==false)n.height=m+(h?0:l+p);n.innerWidth=n.width-(c+d);n.innerHeight=n.height-(l+p);n.outerWidth=n.width+u;n.outerHeight=n.height+f;return n}return i})?r.call(e,n,e,t):r)&&(t.exports=n)},function(t,e,n){t.exports=!n(8)&&!n(2)(function(){return 7!=Object.defineProperty(n(70)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(1),i=n(7),o=n(33),a=n(71),s=n(9).f;
vendor: 3,470 bytes, line 7400
7400t.exports=function(t){var e=i.Symbol||(i.Symbol=!o&&r.Symbol||{});"_"==t.charAt(0)||t in e||s(e,t,{value:a.f(t)})}},function(t,e,n){var a=n(13),s=n(15),c=n(57)(!1),l=n(72)("IE_PROTO");t.exports=function(t,e){var n,r=s(t),i=0,o=[];for(n in r)n!=l&&a(r,n)&&o.push(n);for(;e.length>i;)!a(r,n=e[i++])||~c(o,n)||o.push(n);return o}},function(t,e,n){var a=n(9),s=n(3),c=n(34);t.exports=n(8)?Object.defineProperties:function(t,e){s(t);for(var n,r=c(e),i=r.length,o=0;o<i;)a.f(t,n=r[o++],e[n]);return t}},function(t,e,n){var r=n(15),i=n(37).f,o={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){if(!a||"[object Window]"!=o.call(t))return i(r(t));try{return i(t)}catch(t){return a.slice()}}},function(t,e,n){"use strict";var d=n(8),p=n(34),h=n(58),v=n(50),m=n(10),g=n(49),i=Object.assign;t.exports=!i||n(2)(function(){var t={},e={},n=Symbol(),r="abcdefghijklmnopqrst";return t[n]=7,r.split("").forEach(function(t){e[t]=t}),7!=i({},t)[n]||Object.keys(i({},e)).join("")!=r})?function(t,e){for(var n=m(t),r=arguments.length,i=1,o=h.f,a=v.f;i<r;)for(var s,c=g(arguments[i++]),l=o?p(c).concat(o(c)):p(c),u=l.length,f=0;f<u;)s=l[f++],d&&!a.call(c,s)||(n[s]=c[s]);return n}:i},function(t,e){t.exports=Object.is||function(t,e){return t===e?0!==t||1/t==1/e:t!=t&&e!=e}},function(t,e,n){"use strict";var r=n(18),i=n(4),u=n(107),f=[].slice,d={};t.exports=Function.bind||function(a){var s=r(this),c=f.call(arguments,1),l=function(){var t=c.concat(f.call(arguments));if(this instanceof l){var e=s,n=t.length,r=t;if(!(n in d)){for(var i=[],o=0;o<n;o++)i[o]="a["+o+"]";d[n]=Function("F,a","return new F("+i.join(",")+")")}return d[n](e,r)}return u(s,t,a)};return i(s.prototype)&&(l.prototype=s.prototype),l}},function(t,e){t.exports=function(t,e,n){var r=void 0===n;switch(e.length){case 0:return r?t():t.call(n);case 1:return r?t(e[0]):t.call(n,e[0]);case 2:return r?t(e[0],e[1]):t.call(n,e[0],e[1]);case 3:return r?t(e[0],e[1],e[2]):t.call(n,e[0],e[1],e[2]);case 4:return r?t(e[0],e[1],e[2],e[3]):t.call(n,e[0],e[1],e[2],e[3])}return t.apply(n,e)}},function(t,e,n){var r=n(1).parseInt,i=n(43).trim,n=n(76),o=/^[-+]?0[xX]/;t.exports=8!==r(n+"08")||22!==r(n+"0x16")?function(t,e){t=i(String(t),3);return r(t,e>>>0||(o.test(t)?16:10))}:r},function(t,e,n){var r=n(1).parseFloat,i=n(43).trim;t.exports=1/r(n(76)+"-0")!=-1/0?function(t){var t=i(String(t),3),e=r(t);return 0===e&&"-"==t.charAt(0)?-0:e}:r},function(t,e,n){var r=n(23);t.exports=function(t,e){if("number"!=typeof t&&"Number"!=r(t))throw TypeError(e);return+t}},function(t,e,n){var r=n(4),i=Math.floor;t.exports=function(t){return!r(t)&&isFinite(t)&&i(t)===t}},function(t,e){t.exports=Math.log1p||function(t){return-1e-8<(t=+t)&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,e,n){"use strict";var r=n(36),i=n(31),o=n(42),a={};n(14)(a,n(5)("iterator"),function(){return this}),t.exports=function(t,e,n){t.prototype=r(a,{next:i(1,n)}),o(t,e+" Iterator")}},function(t,e,n){var i=n(3);t.exports=function(e,t,n,r){try{return r?t(i(n)[0],n[1]):t(n)}catch(t){r=e.return;throw void 0!==r&&i(r.call(e)),t}}},function(t,e,n){var r=n(244);t.exports=function(t,e){return new(r(t))(e)}},function(t,e,n){var u=n(18),f=n(10),d=n(49),p=n(6);t.exports=function(t,e,n,r,i){u(e);var o=f(t),a=d(o),s=p(o.length),c=i?s-1:0,l=i?-1:1;if(n<2)for(;;){if(c in a){r=a[c],c+=l;break}if(c+=l,i?c<0:s<=c)throw TypeError("Reduce of empty array with no initial value")}for(;i?0<=c:c<s;
vendor: 2,331 bytes, line 7400
7400c+=l)c in a&&(r=e(r,a[c],c,o));return r}},function(t,e,n){"use strict";var c=n(10),l=n(35),u=n(6);t.exports=[].copyWithin||function(t,e){var n=c(this),r=u(n.length),i=l(t,r),o=l(e,r),t=2<arguments.length?arguments[2]:void 0,a=Math.min((void 0===t?r:l(t,r))-o,r-i),s=1;for(o<i&&i<o+a&&(s=-1,o+=a-1,i+=a-1);0<a--;)o in n?n[i]=n[o]:delete n[i],i+=s,o+=s;return n}},function(t,e){t.exports=function(t,e){return{value:e,done:!!t}}},function(t,e,n){"use strict";var r=n(91);n(0)({target:"RegExp",proto:!0,forced:r!==/./.exec},{exec:r})},function(t,e,n){n(8)&&"g"!=/./g.flags&&n(9).f(RegExp.prototype,"flags",{configurable:!0,get:n(61)})},function(j,N,n){"use strict";function r(){}var e,i,o,a,s=n(33),d=n(1),c=n(17),t=n(51),l=n(0),u=n(4),f=n(18),p=n(46),h=n(64),v=n(52),m=n(93).set,g=n(264)(),y=n(122),b=n(265),w=n(65),_=n(123),x="Promise",S=d.TypeError,E=d.process,C=E&&E.versions,k=C&&C.v8||"",A=d[x],O="process"==t(E),D=i=y.f,C=!!function(){try{var t=A.resolve(1),e=(t.constructor={})[n(5)("species")]=function(t){t(r,r)};return(O||"function"==typeof PromiseRejectionEvent)&&t.then(r)instanceof e&&0!==k.indexOf("6.6")&&-1===w.indexOf("Chrome/66")}catch(t){}}(),L=function(t){var e;return!(!u(t)||"function"!=typeof(e=t.then))&&e},M=function(f,n){var r;f._n||(f._n=!0,r=f._c,g(function(){for(var i,l=f._v,u=1==f._s,t=0,e=function(t){var e,n,r,i,o=u?t.ok:t.fail,a=t.resolve,s=t.reject,c=t.domain;try{o?(u||(2==f._h&&(i=f,m.call(d,function(){var t;O?E.emit("rejectionHandled",i):(t=d.onrejectionhandled)&&t({promise:i,reason:i._v})})),f._h=1),!0===o?e=l:(c&&c.enter(),e=o(l),c&&(c.exit(),r=!0)),e===t.promise?s(S("Promise-chain cycle")):(n=L(e))?n.call(e,a,s):a(e)):s(l)}catch(t){c&&!r&&c.exit(),s(t)}};r.length>t;)e(r[t++]);f._c=[],f._n=!1,n&&!f._h&&(i=f,m.call(d,function(){var t,e,n=i._v,r=T(i);if(r&&(t=b(function(){O?E.emit("unhandledRejection",n,i):(e=d.onunhandledrejection)?e({promise:i,reason:n}):(e=d.console)&&e.error&&e.error("Unhandled promise rejection",n)}),i._h=O||T(i)?2:1),i._a=void 0,r&&t.e)throw t.v}))}))},T=function(t){return 1!==t._h&&0===(t._a||t._c).length},P=function(t){var e=this;e._d||(e._d=!0,(e=e._w||e)._v=t,e._s=2,e._a||(e._a=e._c.slice()),M(e,!0))},I=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw S("Promise can't be resolved itself");(n=L(t))?g(function(){var e={_w:r,_d:!1};
vendor: 4,812 bytes, line 7400
7400try{n.call(t,c(I,e,1),c(P,e,1))}catch(t){P.call(e,t)}}):(r._v=t,r._s=1,M(r,!1))}catch(t){P.call({_w:r,_d:!1},t)}}};C||(A=function(t){p(this,A,x,"_h"),f(t),e.call(this);try{t(c(I,this,1),c(P,this,1))}catch(t){P.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=n(47)(A.prototype,{then:function(t,e){var n=D(v(this,A));return n.ok="function"!=typeof t||t,n.fail="function"==typeof e&&e,n.domain=O?E.domain:void 0,this._c.push(n),this._a&&this._a.push(n),this._s&&M(this,!1),n.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e;this.promise=t,this.resolve=c(I,t,1),this.reject=c(P,t,1)},y.f=D=function(t){return t===A||t===a?new o:i(t)}),l(l.G+l.W+l.F*!C,{Promise:A}),n(42)(A,x),n(45)(x),a=n(7)[x],l(l.S+l.F*!C,x,{reject:function(t){var e=D(this);return(0,e.reject)(t),e.promise}}),l(l.S+l.F*(s||!C),x,{resolve:function(t){return _(s&&this===a?A:this,t)}}),l(l.S+l.F*!(C&&n(60)(function(t){A.all(t).catch(r)})),x,{all:function(t){var a=this,e=D(a),s=e.resolve,c=e.reject,n=b(function(){var r=[],i=0,o=1;h(t,!1,function(t){var e=i++,n=!1;r.push(void 0),o++,a.resolve(t).then(function(t){n||(n=!0,r[e]=t,--o||s(r))},c)}),--o||s(r)});return n.e&&c(n.v),e.promise},race:function(t){var e=this,n=D(e),r=n.reject,i=b(function(){h(t,!1,function(t){e.resolve(t).then(n.resolve,r)})});return i.e&&r(i.v),n.promise}})},function(t,e,n){"use strict";var i=n(18);function r(t){var n,r;this.promise=new t(function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e}),this.resolve=i(n),this.reject=i(r)}t.exports.f=function(t){return new r(t)}},function(t,e,n){var r=n(3),i=n(4),o=n(122);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;t=o.f(t);return(0,t.resolve)(e),t.promise}},function(t,e,n){"use strict";function a(t,e){var n,r=h(e);if("F"!==r)return t._i[r];for(n=t._f;n;n=n.n)if(n.k==e)return n}var s=n(9).f,c=n(36),l=n(47),u=n(17),f=n(46),d=n(64),r=n(82),i=n(118),o=n(45),p=n(8),h=n(29).fastKey,v=n(40),m=p?"_s":"size";t.exports={getConstructor:function(t,i,n,r){var o=t(function(t,e){f(t,o,i,"_i"),t._t=i,t._i=c(null),t._f=void 0,t._l=void 0,t[m]=0,null!=e&&d(e,n,t[r],t)});return l(o.prototype,{clear:function(){for(var t=v(this,i),e=t._i,n=t._f;n;n=n.n)n.r=!0,n.p&&(n.p=n.p.n=void 0),delete e[n.i];t._f=t._l=void 0,t[m]=0},delete:function(t){var e,n,r=v(this,i),t=a(r,t);return t&&(e=t.n,n=t.p,delete r._i[t.i],t.r=!0,n&&(n.n=e),e&&(e.p=n),r._f==t&&(r._f=e),r._l==t&&(r._l=n),r[m]--),!!t},forEach:function(t){v(this,i);for(var e,n=u(t,1<arguments.length?arguments[1]:void 0,3);e=e?e.n:this._f;)for(n(e.v,e.k,this);e&&e.r;)e=e.p},has:function(t){return!!a(v(this,i),t)}}),p&&s(o.prototype,"size",{get:function(){return v(this,i)[m]}}),o},def:function(t,e,n){var r,i=a(t,e);return i?i.v=n:(t._l=i={i:r=h(e,!0),k:e,v:n,p:e=t._l,n:void 0,r:!1},t._f||(t._f=i),e&&(e.n=i),t[m]++,"F"!==r&&(t._i[r]=i)),t},getEntry:a,setStrong:function(t,n,e){r(t,n,function(t,e){this._t=v(t,n),this._k=e,this._l=void 0},function(){for(var t=this._k,e=this._l;e&&e.r;)e=e.p;return this._t&&(this._l=e=e?e.n:this._t._f)?i(0,"keys"==t?e.k:"values"==t?e.v:[e.k,e.v]):(this._t=void 0,i(1))},e?"entries":"values",!e,!0),o(n)}}},function(t,e,n){"use strict";function a(t){return t._l||(t._l=new r)}function r(){this.a=[]}function i(t,e){return v(t.a,function(t){return t[0]===e})}var s=n(47),c=n(29).getWeak,o=n(3),l=n(4),u=n(46),f=n(64),d=n(22),p=n(13),h=n(40),v=d(5),m=d(6),g=0;r.prototype={get:function(t){t=i(this,t);if(t)return t[1]},has:function(t){return!!i(this,t)},set:function(t,e){var n=i(this,t);n?n[1]=e:this.a.push([t,e])},delete:function(e){var t=m(this.a,function(t){return t[0]===e});return~t&&this.a.splice(t,1),!!~t}},t.exports={getConstructor:function(t,n,r,i){var o=t(function(t,e){u(t,o,n,"_i"),t._t=n,t._i=g++,t._l=void 0,null!=e&&f(e,r,t[i],t)});return s(o.prototype,{delete:function(t){if(!l(t))return!1;var e=c(t);return!0===e?a(h(this,n)).delete(t):e&&p(e,this._i)&&delete e[this._i]},has:function(t){if(!l(t))return!1;var e=c(t);return!0===e?a(h(this,n)).has(t):e&&p(e,this._i)}}),o},def:function(t,e,n){var r=c(o(e),!0);return!0===r?a(t).set(e,n):r[t._i]=n,t},ufstore:a}},function(t,e,n){var r=n(19),i=n(6);t.exports=function(t){if(void 0===t)return 0;var t=r(t),e=i(t);if(t!==e)throw RangeError("Wrong length!");return e}},function(t,e,n){var r=n(37),i=n(58),o=n(3),n=n(1).Reflect;t.exports=n&&n.ownKeys||function(t){var e=r.f(o(t)),n=i.f;return n?e.concat(n(t)):e}},function(t,e,n){var o=n(6),a=n(78),s=n(24);t.exports=function(t,e,n,r){var t=String(s(t)),i=t.length,n=void 0===n?" ":String(n),e=o(e);if(e<=i||""==n)return t;e-=i,i=a.call(n,Math.ceil(e/n.length));return i.length>e&&(i=i.slice(0,e)),r?i+t:t+i}},function(t,e,n){var c=n(8),l=n(34),u=n(15),f=n(50).f;
7400t.exports=function(s){return function(t){for(var e,n=u(t),r=l(n),i=r.length,o=0,a=[];o<i;)e=r[o++],c&&!f.call(n,e)||a.push(s?[e,n[e]]:n[e]);return a}}},function(t,e){t=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=t)},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(e,t,n){!function(){"use strict";function t(){var t,r,s,c,n,e,l=window,u=document;function f(t,e){this.scrollLeft=t,this.scrollTop=e}function i(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function o(t,e){return"Y"===e?t.clientHeight+n<t.scrollHeight:"X"===e?t.clientWidth+n<t.scrollWidth:void 0}function a(t,e){t=l.getComputedStyle(t,null)["overflow"+e];return"auto"===t||"scroll"===t}function d(t){for(;t!==u.body&&!1===(n=void 0,n=o(e=t,"Y")&&a(e,"Y"),e=o(e,"X")&&a(e,"X"),n||e);)t=t.parentNode||t.host;var e,n;return t}function p(t){var e,n=(c()-t.startTime)/r;n=n=1<n?1:n,n=.5*(1-Math.cos(Math.PI*n)),e=t.startX+(t.x-t.startX)*n,n=t.startY+(t.y-t.startY)*n,t.method.call(t.scrollable,e,n),e===t.x&&n===t.y||l.requestAnimationFrame(p.bind(l,t))}function h(t,e,n){var r,i,o,a=c(),t=t===u.body?(i=(r=l).scrollX||l.pageXOffset,o=l.scrollY||l.pageYOffset,s.scroll):(i=(r=t).scrollLeft,o=t.scrollTop,f);p({scrollable:r,method:t,startTime:a,startX:i,startY:o,x:e,y:n})}"scrollBehavior"in u.documentElement.style&&!0!==l.__forceSmoothScrollPolyfill__||(t=l.HTMLElement||l.Element,r=468,s={scroll:l.scroll||l.scrollTo,scrollBy:l.scrollBy,elementScroll:t.prototype.scroll||f,scrollIntoView:t.prototype.scrollIntoView},c=l.performance&&l.performance.now?l.performance.now.bind(l.performance):Date.now,e=l.navigator.userAgent,n=new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(e)?1:0,l.scroll=l.scrollTo=function(){void 0!==arguments[0]&&(!0===i(arguments[0])?s.scroll.call(l,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:l.scrollX||l.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:l.scrollY||l.pageYOffset):h.call(l,u.body,void 0!==arguments[0].left?~~arguments[0].left:l.scrollX||l.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:l.scrollY||l.pageYOffset))},l.scrollBy=function(){void 0!==arguments[0]&&(i(arguments[0])?s.scrollBy.call(l,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(l,u.body,~~arguments[0].left+(l.scrollX||l.pageXOffset),~~arguments[0].top+(l.scrollY||l.pageYOffset)))},t.prototype.scroll=t.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0===i(arguments[0])){if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");s.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}else{var t=arguments[0].left,e=arguments[0].top;h.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}},t.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0===i(arguments[0])?s.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop):this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}))},t.prototype.scrollIntoView=function(){var t,e,n;!0===i(arguments[0])?s.scrollIntoView.call(this,void 0===arguments[0]||arguments[0]):(e=(t=d(this)).getBoundingClientRect(),n=this.getBoundingClientRect(),t!==u.body?(h.call(this,t,t.scrollLeft+n.left-e.left,t.scrollTop+n.top-e.top),"fixed"!==l.getComputedStyle(t).position&&l.scrollBy({left:e.left,top:e.top,behavior:"smooth"})):l.scrollBy({left:n.left,top:n.top,behavior:"smooth"}))})}
7400e.exports={polyfill:t}}()},function(t,e,n){var r;function F(){return(F=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,r=arguments[e];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t}).apply(this,arguments)}function i(t){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}r=function(){"use strict";function t(t,e){var n,e=new t(e);try{n=new CustomEvent("LazyLoad::Initialized",{detail:{instance:e}})}catch(t){(n=document.createEvent("CustomEvent")).initCustomEvent("LazyLoad::Initialized",!1,!1,{instance:e})}window.dispatchEvent(n)}function i(t){return"true"===b(t,"was-processed")}function r(t,e){w(t,"ll-timeout",e)}function o(t){return b(t,"ll-timeout")}function a(t){for(var e,n=[],r=0;e=t.children[r];r+=1)"SOURCE"===e.tagName&&n.push(e);return n}function n(t,e,n){n&&t.setAttribute(e,n)}function s(t,e){n(t,"sizes",b(t,e.data_sizes)),n(t,"srcset",b(t,e.data_srcset)),n(t,"src",b(t,e.data_src))}function c(t,e){g?t.classList.add(e):t.className+=(t.className?" ":"")+e}function l(t,e,n){t.removeEventListener(e,n)}function u(n,r){function i(t){A(t,!1,r),k(n,a,i)}var t,e,o,a=function t(e){A(e,!0,r),k(n,t,i)};o=i,C(t=n,"load",e=a),C(t,"loadeddata",e),C(t,"error",o)}function f(t,e,n){var r=e._settings;!n&&i(t)||(-1<O.indexOf(t.tagName)&&(u(t,e),c(t,r.class_loading)),function(t,e){var n,r=e._settings,i=t.tagName,i=S[i];if(i)return i(t,r),x(e,1),e._elements=(i=e._elements,n=t,i.filter(function(t){return t!==n}));t=b(e=t,(i=r).data_src),i=b(e,i.data_bg),t&&(e.style.backgroundImage='url("'.concat(t,'")')),i&&(e.style.backgroundImage=i)}(t,e),w(t,"was-processed","true"),_(r.callback_reveal,t,e),_(r.callback_set,t,e))}function d(i){var t;m&&(i._observer=new IntersectionObserver(function(t){t.forEach(function(t){return t.isIntersecting||0<t.intersectionRatio?(e=t.target,r=(n=i)._settings,_(r.callback_enter,e,t,n),void(r.load_delay?M:D)(e,n)):(r=t.target,e=i._settings,_(e.callback_exit,r,t,i),void(e.load_delay&&L(r)));var e,n,r})},{root:(t=i._settings).container===document?null:t.container,rootMargin:t.thresholds||t.threshold+"px"}))}function p(t,e){return t=t||e.container.querySelectorAll(e.elements_selector),Array.prototype.slice.call(t).filter(function(t){return!i(t)})}function e(t,e){var r;this._settings=F({},y,t),this.loadingCount=0,d(this),this.update(e),r=this,h&&window.addEventListener("online",function(t){var e,n;(n=(e=r)._settings).container.querySelectorAll("."+n.class_error).forEach(function(t){E(t,n.class_error),w(t,"was-processed",null)}),e.update()})}var h="undefined"!=typeof window,v=h&&!("onscroll"in window)||"undefined"!=typeof navigator&&/(gle|ing|ro)bot|crawl|spider/i.test(navigator.userAgent),m=h&&"IntersectionObserver"in window,g=h&&"classList"in document.createElement("p"),y={elements_selector:"img",container:v||h?document:null,threshold:300,thresholds:null,data_src:"src",data_srcset:"srcset",data_sizes:"sizes",data_bg:"bg",data_poster:"poster",class_loading:"loading",class_loaded:"loaded",class_error:"error",load_delay:0,auto_unobserve:!0,callback_enter:null,callback_exit:null,callback_reveal:null,callback_loaded:null,callback_error:null,callback_finish:null,use_native:!1},b=function(t,e){return t.getAttribute("data-"+e)},w=function(t,e,n){e="data-"+e;null!==n?t.setAttribute(e,n):t.removeAttribute(e)},_=function(t,e,n,r){t&&(void 0===r?void 0===n?t(e):t(e,n):t(e,n,r))},x=function(t,e){t.loadingCount+=e,0===t._elements.length&&0===t.loadingCount&&_(t._settings.callback_finish,t)},S={IMG:function(t,e){var n=t.parentNode;n&&"PICTURE"===n.tagName&&a(n).forEach(function(t){s(t,e)}),s(t,e)},IFRAME:function(t,e){n(t,"src",b(t,e.data_src))},VIDEO:function(t,e){a(t).forEach(function(t){n(t,"src",b(t,e.data_src))}),n(t,"poster",b(t,e.data_poster)),n(t,"src",b(t,e.data_src)),t.load()}},E=function(t,e){g?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\s+)"+e+"(\\s+|$)")," ").replace(/^\s+/,"").replace(/\s+$/,"")},C=function(t,e,n){t.addEventListener(e,n)},k=function(t,e,n){l(t,"load",e),l(t,"loadeddata",e),l(t,"error",n)},A=function(t,e,n){var r=n._settings,i=e?r.class_loaded:r.class_error,e=e?r.callback_loaded:r.callback_error,t=t.target;E(t,r.class_loading),c(t,i),_(e,t,n),x(n,-1)},O=["IMG","IFRAME","VIDEO"],D=function(t,e){var n=e._observer;f(t,e),n&&e._settings.auto_unobserve&&n.unobserve(t)},L=function(t){var e=o(t);e&&(clearTimeout(e),r(t,null))},M=function(t,e){var n=e._settings.load_delay;o(t)||(n=setTimeout(function(){D(t,e),L(t)},n),r(t,n))},N=["IMG","IFRAME"];if(e.prototype={update:function(t){var e,n=this,r=this._settings;this._elements=p(t,r),!v&&this._observer?(r.use_native&&"loading"in HTMLImageElement.prototype&&((e=this)._elements.forEac
7400h(function(t){-1!==N.indexOf(t.tagName)&&(t.setAttribute("loading","lazy"),f(t,e))}),this._elements=p(t,r)),this._elements.forEach(function(t){n._observer.observe(t)})):this.loadAll()},destroy:function(){var e=this;this._observer&&(this._elements.forEach(function(t){e._observer.unobserve(t)}),this._observer=null),this._elements=null,this._settings=null},load:function(t,e){f(t,this,e)},loadAll:function(){var e=this;this._elements.forEach(function(t){D(t,e)})}},h){var T=e,P=window.lazyLoadOptions;if(P)if(P.length)for(var I,j=0;I=P[j];j+=1)t(T,I);else t(T,P)}return e},"object"===i(e)&&void 0!==t?t.exports=r():void 0!==(n="function"==typeof(r=r)?r.call(e,n,e,t):r)&&(t.exports=n)},function(t,O,e){"use strict";!function(t){var r="undefined"!=typeof Map?Map:(Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(t){t=i(this.__entries__,t),t=this.__entries__[t];return t&&t[1]},e.prototype.set=function(t,e){var n=i(this.__entries__,t);~n?this.__entries__[n][1]=e:this.__entries__.push([t,e])},e.prototype.delete=function(t){var e=this.__entries__,t=i(e,t);~t&&e.splice(t,1)},e.prototype.has=function(t){return!!~i(this.__entries__,t)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e);function i(t,n){var r=-1;return t.some(function(t,e){return t[0]===n&&(r=e,!0)}),r}function e(){this.__entries__=[]}var n="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==t&&t.Math===Math?t:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),c="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout(function(){return t(Date.now())},1e3/60)},l=2;var a=["top","right","bottom","left","width","height","size","weight"],s="undefined"!=typeof MutationObserver,u=(f.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},f.prototype.removeObserver=function(t){var e=this.observers_,t=e.indexOf(t);~t&&e.splice(t,1),!e.length&&this.connected_&&this.disconnect_()},f.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},f.prototype.updateObservers_=function(){var t=this.observers_.filter(function(t){return t.gatherActive(),t.hasActive()});return t.forEach(function(t){return t.broadcastActive()}),0<t.length},f.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},f.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},f.prototype.onTransitionEnd_=function(t){var t=t.propertyName,e=void 0===t?"":t;a.some(function(t){return!!~e.indexOf(t)})&&this.refresh()},f.getInstance=function(){return this.instance_||(this.instance_=new f),this.instance_},f.instance_=null,f);function f(){function t(){o&&(o=!1,r()),a&&n()}function e(){c(t)}function n(){var t=Date.now();if(o){if(t-s<l)return;a=!0}else a=!(o=!0),setTimeout(e,i);s=t}var r,i,o,a,s;this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=(r=this.refresh.bind(this),a=o=!(i=20),s=0,n)}var d=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,
7400configurable:!0})}return t},p=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},h=w(0,0,0,0);function v(t){return parseFloat(t)||0}function m(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];return t.reduce(function(t,e){return t+v(n["border-"+e+"-width"])},0)}function g(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return h;var r=p(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=v(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,s=v(r.width),c=v(r.height);return"border-box"===r.boxSizing&&(Math.round(s+o)!==e&&(s-=m(r,"left","right")+o),Math.round(c+a)!==n&&(c-=m(r,"top","bottom")+a)),t!==p(t).document.documentElement&&(r=Math.round(s+o)-e,t=Math.round(c+a)-n,1!==Math.abs(r)&&(s-=r),1!==Math.abs(t)&&(c-=t)),w(i.left,i.top,s,c)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof p(t).SVGGraphicsElement}:function(t){return t instanceof p(t).SVGElement&&"function"==typeof t.getBBox};function b(t){return n?y(t)?w(0,0,(e=(e=t).getBBox()).width,e.height):g(t):h;var e}function w(t,e,n,r){return{x:t,y:e,width:n,height:r}}x.prototype.isActive=function(){var t=b(this.target);return(this.contentRect_=t).width!==this.broadcastWidth||t.height!==this.broadcastHeight},x.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t};var _=x;function x(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=w(0,0,0,0),this.target=t}var S=function(t,e){n=(e=e).x,r=e.y,o=e.width,e=e.height,i="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,i=Object.create(i.prototype),d(i,{x:n,y:r,width:o,height:e,top:r,right:n+o,bottom:e+r,left:n});var n,r,i,o=i;d(this,{target:t,contentRect:o})},E=(C.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new _(t)),this.controller_.addObserver(this),this.controller_.refresh())}},C.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof p(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},C.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},C.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},C.prototype.broadcastActive=function(){var t,e;this.hasActive()&&(t=this.callbackCtx_,e=this.activeObservations_.map(function(t){return new S(t.target,t.broadcastRect())}),this.callback_.call(t,e,t),this.clearActive())},C.prototype.clearActive=function(){this.activeObservations_.splice(0)},C.prototype.hasActive=function(){return 0<this.activeObservations_.length},C);function C(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}var k=new("undefined"!=typeof WeakMap?WeakMap:r),A=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=u.getInstance(),e=new E(e,n,this);k.set(this,e)},t=(["observe","unobserve","disconnect"].forEach(function(e){A.prototype[e]=function(){var t;return(t=k.get(this))[e].apply(t,arguments)}}),void 0!==o.ResizeObserver?o.ResizeObserver:A);O.a=t}.call(this,e(55))},function(t,e,n){function v(t){var e=i[t];if(void 0!==e)return e.exports;e=i[t]={exports:{}};return r[t](e,e.exports,v),e.exports}var r,i,m;t.exports=(r={646:t=>{t.exports=function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}},713:t=>{t.exports=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}},860:t=>{t.exports=function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}},206:t=>{t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}},319:(t,e,n)=>{var r=n(646),i=n(860),o=n(206);t.exports=function(t){return r(t)||i(t)||o()}},8:e=>{function n(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=n=function(t){return typeof t}:e.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},n(t)}e.exports=n}},i={},v.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return v.d(e,{a:e}),e},v.d=(t,e)=>{for(var n in e)v.o(e,n)&&!v.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},v.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),v.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}
7400),Object.defineProperty(t,"__esModule",{value:!0})},m={},(()=>{"use strict";v.r(m),v.d(m,{VueSelect:()=>d,default:()=>h,mixins:()=>p});var t=v(319),r=v.n(t),t=v(8),i=v.n(t),t=v(713),o=v.n(t),t={props:{autoscroll:{type:Boolean,default:!0}},watch:{typeAheadPointer:function(){this.autoscroll&&this.maybeAdjustScroll()},open:function(t){var e=this;this.autoscroll&&t&&this.$nextTick(function(){return e.maybeAdjustScroll()})}},methods:{maybeAdjustScroll:function(){var t,e,n,r,i=(null==(i=this.$refs.dropdownMenu)?void 0:i.children[this.typeAheadPointer])||!1;if(i)return t=this.getDropdownViewport(),e=(r=i.getBoundingClientRect()).top,n=r.bottom,r=r.height,e<t.top?this.$refs.dropdownMenu.scrollTop=i.offsetTop:n>t.bottom?this.$refs.dropdownMenu.scrollTop=i.offsetTop-(t.height-r):void 0},getDropdownViewport:function(){return this.$refs.dropdownMenu?this.$refs.dropdownMenu.getBoundingClientRect():{height:0,top:0,bottom:0}}}},e={data:function(){return{typeAheadPointer:-1}},watch:{filteredOptions:function(){for(var t=0;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},open:function(t){t&&this.typeAheadToLastSelected()},selectedValue:function(){this.open&&this.typeAheadToLastSelected()}},methods:{typeAheadUp:function(){for(var t=this.typeAheadPointer-1;0<=t;t--)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadDown:function(){for(var t=this.typeAheadPointer+1;t<this.filteredOptions.length;t++)if(this.selectable(this.filteredOptions[t])){this.typeAheadPointer=t;break}},typeAheadSelect:function(){var t=this.filteredOptions[this.typeAheadPointer];t&&this.selectable(t)&&this.select(t)},typeAheadToLastSelected:function(){this.typeAheadPointer=0!==this.selectedValue.length?this.filteredOptions.indexOf(this.selectedValue[this.selectedValue.length-1]):-1}}},n={props:{loading:{type:Boolean,default:!1}},data:function(){return{mutableLoading:!1}},watch:{search:function(){this.$emit("search",this.search,this.toggleLoading)},loading:function(t){this.mutableLoading=t}},methods:{toggleLoading:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:null;return this.mutableLoading=null==t?!this.mutableLoading:t}}};function a(t,e,n,r,i,o,a,s){var c,l,u="function"==typeof t?t.options:t;return e&&(u.render=e,u.staticRenderFns=n,u._compiled=!0),r&&(u.functional=!0),o&&(u._scopeId="data-v-"+o),a?(c=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),i&&i.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},u._ssrRegister=c):i&&(c=s?function(){i.call(this,(u.functional?this.parent:this).$root.$options.shadowRoot)}:i),c&&(u.functional?(u._injectStyles=c,l=u.render,u.render=function(t,e){return c.call(e),l(t,e)}):(e=u.beforeCreate,u.beforeCreate=e?[].concat(e,c):[c])),{exports:t,options:u}}const s={Deselect:a({},function(){var t=this.$createElement,t=this._self._c||t;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"10"}},[t("path",{attrs:{d:"M6.895455 5l2.842897-2.842898c.348864-.348863.348864-.914488 0-1.263636L9.106534.261648c-.348864-.348864-.914489-.348864-1.263636 0L5 3.104545 2.157102.261648c-.348863-.348864-.914488-.348864-1.263636 0L.261648.893466c-.348864.348864-.348864.914489 0 1.263636L3.104545 5 .261648 7.842898c-.348864.348863-.348864.914488 0 1.263636l.631818.631818c.348864.348864.914773.348864 1.263636 0L5 6.895455l2.842898 2.842897c.348863.348864.914772.348864 1.263636 0l.631818-.631818c.348864-.348864.348864-.914489 0-1.263636L6.895455 5z"}})])},[],!1,null,null,null).exports,OpenIndicator:a({},function(){var t=this.$createElement,t=this._self._c||t;return t("svg",{attrs:{xmlns:"http://www.w3.org/2000/svg",width:"14",height:"10"}},[t("path",{attrs:{d:"M9.211364 7.59931l4.48338-4.867229c.407008-.441854.407008-1.158247 0-1.60046l-.73712-.80023c-.407008-.441854-1.066904-.441854-1.474243 0L7 5.198617 2.51662.33139c-.407008-.441853-1.066904-.441853-1.474243 0l-.737121.80023c-.407008.441854-.407008 1.158248 0 1.600461l4.48338 4.867228L7 10l2.211364-2.40069z"}})])},[],!1,null,null,null).exports},c={inserted:function(t,e,n){var r,i,o,a,s,c,n=n.context;n.appendToBody&&(r=(a=n.$refs.toggle.getBoundingClientRect()).height,i=a.top,o=a.left,a=a.width,s=window.scrollX||window.pageXOffset,c=window.scrollY||window.pageYOffset,t.unbindPosition=n.calculatePosition(t,n,{width:a+"px",left:s+o+"px",top:c+i+r+"px"}),document.body.appendChild(t))},unbind:function(t,e,n){n.context.appendToBody&&(t.unbindPosition&&"function"==typeof t.unbindPosition&&t.unbindPosition(),t.parentNode&&t.parentNode.removeChild(t))}};var l=0;function u(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function f(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
7400t%2?u(Object(n),!0).forEach(function(t){o()(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}const d=a({components:f({},s),directives:{appendToBody:c},mixins:[t,e,n],props:{value:{},components:{type:Object,default:function(){return{}}},options:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},deselectFromDropdown:{type:Boolean,default:!1},searchable:{type:Boolean,default:!0},multiple:{type:Boolean,default:!1},placeholder:{type:String,default:""},transition:{type:String,default:"vs__fade"},clearSearchOnSelect:{type:Boolean,default:!0},closeOnSelect:{type:Boolean,default:!0},label:{type:String,default:"label"},autocomplete:{type:String,default:"off"},reduce:{type:Function,default:function(t){return t}},selectable:{type:Function,default:function(t){return!0}},getOptionLabel:{type:Function,default:function(t){return"object"===i()(t)?t.hasOwnProperty(this.label)?t[this.label]:console.warn('[vue-select warn]: Label key "option.'.concat(this.label,'" does not')+" exist in options object ".concat(JSON.stringify(t),".\n")+"https://vue-select.org/api/props.html#getoptionlabel"):t}},getOptionKey:{type:Function,default:function(e){if("object"!==i()(e))return e;try{return e.hasOwnProperty("id")?e.id:(n=e,r={},Object.keys(n).sort().forEach(function(t){r[t]=n[t]}),JSON.stringify(r))}catch(t){return console.warn("[vue-select warn]: Could not stringify this option to generate unique key. Please provide'getOptionKey' prop to return a unique key for each option.\nhttps://vue-select.org/api/props.html#getoptionkey",e,t)}var n,r}},onTab:{type:Function,default:function(){this.selectOnTab&&!this.isComposing&&this.typeAheadSelect()}},taggable:{type:Boolean,default:!1},tabindex:{type:Number,default:null},pushTags:{type:Boolean,default:!1},filterable:{type:Boolean,default:!0},filterBy:{type:Function,default:function(t,e,n){return-1<(e||"").toLocaleLowerCase().indexOf(n.toLocaleLowerCase())}},filter:{type:Function,default:function(t,n){var r=this;return t.filter(function(t){var e=r.getOptionLabel(t);return"number"==typeof e&&(e=e.toString()),r.filterBy(t,e,n)})}},createOption:{type:Function,default:function(t){return"object"===i()(this.optionList[0])?o()({},this.label,t):t}},resetOnOptionsChange:{default:!1,validator:function(t){return["function","boolean"].includes(i()(t))}},clearSearchOnBlur:{type:Function,default:function(t){var e=t.clearSearchOnSelect,t=t.multiple;return e&&!t}},noDrop:{type:Boolean,default:!1},inputId:{type:String},dir:{type:String,default:"auto"},selectOnTab:{type:Boolean,default:!1},selectOnKeyCodes:{type:Array,default:function(){return[13]}},searchInputQuerySelector:{type:String,default:"[type=search]"},mapKeydown:{type:Function,default:function(t,e){return t}},appendToBody:{type:Boolean,default:!1},calculatePosition:{type:Function,default:function(t,e,n){var r=n.width,i=n.top,n=n.left;t.style.top=i,t.style.left=n,t.style.width=r}},dropdownShouldOpen:{type:Function,default:function(t){var e=t.noDrop,n=t.open,t=t.mutableLoading;return!e&&n&&!t}},uid:{type:[String,Number],default:function(){return++l}}},data:function(){return{search:"",open:!1,isComposing:!1,pushedTags:[],_value:[]}},computed:{isTrackingValues:function(){return void 0===this.value||this.$options.propsData.hasOwnProperty("reduce")},selectedValue:function(){var t=this.value;return null!=(t=this.isTrackingValues?this.$data._value:t)&&""!==t?[].concat(t):[]},optionList:function(){return this.options.concat(this.pushTags?this.pushedTags:[])},searchEl:function(){return this.$scopedSlots.search?this.$refs.selectedOptions.querySelector(this.searchInputQuerySelector):this.$refs.search},scope:function(){var e=this,t={search:this.search,loading:this.loading,searching:this.searching,filteredOptions:this.filteredOptions};return{search:{attributes:f({disabled:this.disabled,placeholder:this.searchPlaceholder,tabindex:this.tabindex,readonly:!this.searchable,id:this.inputId,"aria-autocomplete":"list","aria-labelledby":"vs".concat(this.uid,"__combobox"),"aria-controls":"vs".concat(this.uid,"__listbox"),ref:"search",type:"search",autocomplete:this.autocomplete,value:this.search},this.dropdownOpen&&this.filteredOptions[this.typeAheadPointer]?{"aria-activedescendant":"vs".concat(this.uid,"__option-").concat(this.t
7400ypeAheadPointer)}:{}),events:{compositionstart:function(){return e.isComposing=!0},compositionend:function(){return e.isComposing=!1},keydown:this.onSearchKeyDown,blur:this.onSearchBlur,focus:this.onSearchFocus,input:function(t){return e.search=t.target.value}}},spinner:{loading:this.mutableLoading},noOptions:{search:this.search,loading:this.mutableLoading,searching:this.searching},openIndicator:{attributes:{ref:"openIndicator",role:"presentation",class:"vs__open-indicator"}},listHeader:t,listFooter:t,header:f({},t,{deselect:this.deselect}),footer:f({},t,{deselect:this.deselect})}},childComponents:function(){return f({},s,{},this.components)},stateClasses:function(){return{"vs--open":this.dropdownOpen,"vs--single":!this.multiple,"vs--multiple":this.multiple,"vs--searching":this.searching&&!this.noDrop,"vs--searchable":this.searchable&&!this.noDrop,"vs--unsearchable":!this.searchable,"vs--loading":this.mutableLoading,"vs--disabled":this.disabled}},searching:function(){return!!this.search},dropdownOpen:function(){return this.dropdownShouldOpen(this)},searchPlaceholder:function(){return this.isValueEmpty&&this.placeholder?this.placeholder:void 0},filteredOptions:function(){var t=[].concat(this.optionList);if(!this.filterable&&!this.taggable)return t;var e,t=this.search.length?this.filter(t,this.search,this):t;return this.taggable&&this.search.length&&(e=this.createOption(this.search),this.optionExists(e)||t.unshift(e)),t},isValueEmpty:function(){return 0===this.selectedValue.length},showClearButton:function(){return!this.multiple&&this.clearable&&!this.open&&!this.isValueEmpty}},watch:{options:function(t,e){!this.taggable&&("function"==typeof this.resetOnOptionsChange?this.resetOnOptionsChange(t,e,this.selectedValue):this.resetOnOptionsChange)&&this.clearSelection(),this.value&&this.isTrackingValues&&this.setInternalValueFromOptions(this.value)},value:{immediate:!0,handler:function(t){this.isTrackingValues&&this.setInternalValueFromOptions(t)}},multiple:function(){this.clearSelection()},open:function(t){this.$emit(t?"open":"close")}},created:function(){this.mutableLoading=this.loading,this.$on("option:created",this.pushTag)},methods:{setInternalValueFromOptions:function(t){var e=this;Array.isArray(t)?this.$data._value=t.map(function(t){return e.findOptionFromReducedValue(t)}):this.$data._value=this.findOptionFromReducedValue(t)},select:function(t){this.$emit("option:selecting",t),this.isOptionSelected(t)?this.deselectFromDropdown&&(this.clearable||this.multiple&&1<this.selectedValue.length)&&this.deselect(t):(this.taggable&&!this.optionExists(t)&&this.$emit("option:created",t),this.multiple&&(t=this.selectedValue.concat(t)),this.updateValue(t),this.$emit("option:selected",t)),this.onAfterSelect(t)},deselect:function(e){var n=this;this.$emit("option:deselecting",e),this.updateValue(this.selectedValue.filter(function(t){return!n.optionComparator(t,e)})),this.$emit("option:deselected",e)},clearSelection:function(){this.updateValue(this.multiple?[]:null)},onAfterSelect:function(t){this.closeOnSelect&&(this.open=!this.open,this.searchEl.blur()),this.clearSearchOnSelect&&(this.search="")},updateValue:function(t){var e=this;void 0===this.value&&(this.$data._value=t),null!==t&&(t=Array.isArray(t)?t.map(function(t){return e.reduce(t)}):this.reduce(t)),this.$emit("input",t)},toggleDropdown:function(e){var t=e.target!==this.searchEl,n=(t&&e.preventDefault(),[].concat(r()(this.$refs.deselectButtons||[]),r()([this.$refs.clearButton])));void 0===this.searchEl||n.filter(Boolean).some(function(t){return t.contains(e.target)||t===e.target})?e.preventDefault():this.open&&t?this.searchEl.blur():this.disabled||(this.open=!0,this.searchEl.focus())},isOptionSelected:function(e){var n=this;return this.selectedValue.some(function(t){return n.optionComparator(t,e)})},isOptionDeselectable:function(t){return this.isOptionSelected(t)&&this.deselectFromDropdown},optionComparator:function(t,e){return this.getOptionKey(t)===this.getOptionKey(e)},findOptionFromReducedValue:function(e){var n=this,t=[].concat(r()(this.options),r()(this.pushedTags)).filter(function(t){return JSON.stringify(n.reduce(t))===JSON.stringify(e)});return 1===t.length?t[0]:t.find(function(t){return n.optionComparator(t,n.$data._value)})||e},closeSearchOptions:function(){this.open=!1,this.$emit("search:blur")},maybeDeleteValue:function(){var t;!this.searchEl.value.length&&this.selectedValue&&this.selectedValue.length&&this.clearable&&(t=null,this.multiple&&(t=r()(this.selectedValue.slice(0,this.selectedValue.length-1))),this.updateV
7400alue(t))},optionExists:function(e){var n=this;return this.optionList.some(function(t){return n.optionComparator(t,e)})},normalizeOptionForSlot:function(t){return"object"===i()(t)?t:o()({},this.label,t)},pushTag:function(t){this.pushedTags.push(t)},onEscape:function(){this.search.length?this.search="":this.searchEl.blur()},onSearchBlur:function(){var t,e;if(!this.mousedown||this.searching)return t=this.clearSearchOnSelect,e=this.multiple,this.clearSearchOnBlur({clearSearchOnSelect:t,multiple:e})&&(this.search=""),void this.closeSearchOptions();this.mousedown=!1,0===this.search.length&&0===this.options.length&&this.closeSearchOptions()},onSearchFocus:function(){this.open=!0,this.$emit("search:focus")},onMousedown:function(){this.mousedown=!0},onMouseUp:function(){this.mousedown=!1},onSearchKeyDown:function(t){function e(t){return t.preventDefault(),!n.isComposing&&n.typeAheadSelect()}var n=this,r={8:function(t){return n.maybeDeleteValue()},9:function(t){return n.onTab()},27:function(t){return n.onEscape()},38:function(t){return t.preventDefault(),n.typeAheadUp()},40:function(t){return t.preventDefault(),n.typeAheadDown()}},i=(this.selectOnKeyCodes.forEach(function(t){return r[t]=e}),this.mapKeydown(r,this));if("function"==typeof i[t.keyCode])return i[t.keyCode](t)}}},function(){var r=this,t=r.$createElement,i=r._self._c||t;return i("div",{staticClass:"v-select",class:r.stateClasses,attrs:{dir:r.dir}},[r._t("header",null,null,r.scope.header),r._v(" "),i("div",{ref:"toggle",staticClass:"vs__dropdown-toggle",attrs:{id:"vs"+r.uid+"__combobox",role:"combobox","aria-expanded":r.dropdownOpen.toString(),"aria-owns":"vs"+r.uid+"__listbox","aria-label":"Search for option"},on:{mousedown:function(t){return r.toggleDropdown(t)}}},[i("div",{ref:"selectedOptions",staticClass:"vs__selected-options"},[r._l(r.selectedValue,function(e){return r._t("selected-option-container",[i("span",{key:r.getOptionKey(e),staticClass:"vs__selected"},[r._t("selected-option",[r._v("\n "+r._s(r.getOptionLabel(e))+"\n ")],null,r.normalizeOptionForSlot(e)),r._v(" "),r.multiple?i("button",{ref:"deselectButtons",refInFor:!0,staticClass:"vs__deselect",attrs:{disabled:r.disabled,type:"button",title:"Deselect "+r.getOptionLabel(e),"aria-label":"Deselect "+r.getOptionLabel(e)},on:{click:function(t){return r.deselect(e)}}},[i(r.childComponents.Deselect,{tag:"component"})],1):r._e()],2)],{option:r.normalizeOptionForSlot(e),deselect:r.deselect,multiple:r.multiple,disabled:r.disabled})}),r._v(" "),r._t("search",[i("input",r._g(r._b({staticClass:"vs__search"},"input",r.scope.search.attributes,!1),r.scope.search.events))],null,r.scope.search)],2),r._v(" "),i("div",{ref:"actions",staticClass:"vs__actions"},[i("button",{directives:[{name:"show",rawName:"v-show",value:r.showClearButton,expression:"showClearButton"}
7400],ref:"clearButton",staticClass:"vs__clear",attrs:{disabled:r.disabled,type:"button",title:"Clear Selected","aria-label":"Clear Selected"},on:{click:r.clearSelection}},[i(r.childComponents.Deselect,{tag:"component"})],1),r._v(" "),r._t("open-indicator",[r.noDrop?r._e():i(r.childComponents.OpenIndicator,r._b({tag:"component"},"component",r.scope.openIndicator.attributes,!1))],null,r.scope.openIndicator),r._v(" "),r._t("spinner",[i("div",{directives:[{name:"show",rawName:"v-show",value:r.mutableLoading,expression:"mutableLoading"}],staticClass:"vs__spinner"},[r._v("Loading...")])],null,r.scope.spinner)],2)]),r._v(" "),i("transition",{attrs:{name:r.transition}},[r.dropdownOpen?i("ul",{directives:[{name:"append-to-body",rawName:"v-append-to-body"}],key:"vs"+r.uid+"__listbox",ref:"dropdownMenu",staticClass:"vs__dropdown-menu",attrs:{id:"vs"+r.uid+"__listbox",role:"listbox",tabindex:"-1"},on:{mousedown:function(t){return t.preventDefault(),r.onMousedown(t)},mouseup:r.onMouseUp}},[r._t("list-header",null,null,r.scope.listHeader),r._v(" "),r._l(r.filteredOptions,function(e,n){return i("li",{key:r.getOptionKey(e),staticClass:"vs__dropdown-option",class:{"vs__dropdown-option--deselect":r.isOptionDeselectable(e)&&n===r.typeAheadPointer,"vs__dropdown-option--selected":r.isOptionSelected(e),"vs__dropdown-option--highlight":n===r.typeAheadPointer,"vs__dropdown-option--disabled":!r.selectable(e)},attrs:{id:"vs"+r.uid+"__option-"+n,role:"option","aria-selected":n===r.typeAheadPointer||null},on:{mouseover:function(t){r.selectable(e)&&(r.typeAheadPointer=n)},click:function(t){t.preventDefault(),t.stopPropagation(),r.selectable(e)&&r.select(e)}}},[r._t("option",[r._v("\n "+r._s(r.getOptionLabel(e))+"\n ")],null,r.normalizeOptionForSlot(e))],2)}),r._v(" "),0===r.filteredOptions.length?i("li",{staticClass:"vs__no-options"},[r._t("no-options",[r._v("\n Sorry, no matching options.\n ")],null,r.scope.noOptions)],2):r._e(),r._v(" "),r._t("list-footer",null,null,r.scope.listFooter)],2):i("ul",{staticStyle:{display:"none",visibility:"hidden"},attrs:{id:"vs"+r.uid+"__listbox",role:"listbox"}})]),r._v(" "),r._t("footer",null,null,r.scope.footer)],2)},[],!1,null,null,null).exports,p={ajax:n,pointer:e,pointerScroll:t},h=d})(),m)},function(t,e,n){},function(t,e,n){var r;!function(){"use strict";void 0!==(r="function"==typeof(r=function(){"use strict";var r=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";var e=["webkit","moz","ms","o"];for(var n=0;n<e.length;n++){var r=e[n];var i=r+"MatchesSelector";if(t[i])return i}}();return function t(e,n){return e[r](n)}})?r.call(e,n,e,t):r)&&(t.exports=r)}(window)},function(t,e,n){var r;window,r=function(t,e){"use strict";function n(t,e){this.element=t,this.parent=e,this.create()}var r=n.prototype;return r.create=function(){this.element.style.position="absolute",this.element.setAttribute("aria-hidden","true"),this.x=0,this.shift=0,this.element.style[this.parent.originSide]=0},r.destroy=function(){this.unselect(),this.element.style.position="";var t=this.parent.originSide;this.element.style[t]="",this.element.style.transform="",this.element.removeAttribute("aria-hidden")},r.getSize=function(){this.size=e(this.element)},r.setPosition=function(t){this.x=t,this.updateTarget(),this.renderPosition(t)},r.updateTarget=r.setDefaultTarget=function(){var t="left"==this.parent.originSide?"marginLeft":"marginRight";this.target=this.x+this.size[t]+this.size.width*this.parent.cellAlign},r.renderPosition=function(t){var e="left"===this.parent.originSide?1:-1,t=this.parent.options.percentPosition?t*e*(this.parent.size.innerWidth/this.size.width):t*e;this.element.style.transform="translateX("+this.parent.getPositionValue(t)+")"},r.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},r.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},r.wrapShift=function(t){this.shift=t,this.renderPosition(this.x+this.parent.slideableWidth*t)},r.remove=function(){this.element.parentNode.removeChild(this.element)},n},n=[n(98)],void 0!==(e=function(t){return r(0,t)}
7400.apply(e,n))&&(t.exports=e)},function(t,e,n){var r;window,void 0!==(n="function"==typeof(r=function(){"use strict";function t(t){this.parent=t;this.isOriginLeft=t.originSide=="left";this.cells=[];this.outerWidth=0;this.height=0}var e=t.prototype;e.addCell=function(t){this.cells.push(t);this.outerWidth+=t.size.outerWidth;this.height=Math.max(t.size.outerHeight,this.height);if(this.cells.length==1){this.x=t.x;var e=this.isOriginLeft?"marginLeft":"marginRight";this.firstMargin=t.size[e]}};e.updateTarget=function(){var t=this.isOriginLeft?"marginRight":"marginLeft";var e=this.getLastCell();var n=e?e.size[t]:0;var r=this.outerWidth-(this.firstMargin+n);this.target=this.x+this.firstMargin+r*this.parent.cellAlign};e.getLastCell=function(){return this.cells[this.cells.length-1]};e.select=function(){this.cells.forEach(function(t){t.select()})};e.unselect=function(){this.cells.forEach(function(t){t.unselect()})};e.getCellElements=function(){return this.cells.map(function(t){return t.element})};return t})?r.call(e,n,e,t):r)&&(t.exports=n)},function(t,e,n){var r;window,r=function(t,e){"use strict";var n={startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();var t,e=this.x;this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating&&(t=this,requestAnimationFrame(function(){t.animate()}))},positionSlider:function(){var t=this.x;this.options.wrapAround&&1<this.cells.length&&(t=e.modulo(t,this.slideableWidth),t-=this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(t,e){t+=this.cursorPosition,t=this.options.rightToLeft?-t:t;t=this.getPositionValue(t);this.slider.style.transform=e?"translate3d("+t+",0,0)":"translateX("+t+")"},dispatchScrollEvent:function(){var t,e=this.slides[0];e&&(t=(e=-this.x-e.target)/this.slidesWidth,this.dispatchEvent("scroll",null,[t,e]))},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(t){return this.options.percentPosition?.01*Math.round(t/this.size.innerWidth*1e4)+"%":Math.round(t)+"px"},settle:function(t){this.isPointerDown||Math.round(100*this.x)!=Math.round(100*t)||this.restingFrames++,2<this.restingFrames&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(t){var e=this.cursorPosition+t,e=(this._shiftCells(this.beforeShiftCells,e,-1),this.size.innerWidth-(t+this.slideableWidth+this.cursorPosition));this._shiftCells(this.afterShiftCells,e,1)},_shiftCells:function(t,e,n){for(var r=0;r<t.length;r++){var i=t[r];i.wrapShift(0<e?n:0),e-=i.size.outerWidth}},_unshiftCells:function(t){if(t&&t.length)for(var e=0;e<t.length;e++)t[e].wrapShift(0)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(t){this.velocity+=t},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){var t;this.isDraggable&&this.isPointerDown&&(t=this.dragX-this.x-this.velocity,this.applyForce(t))},applySelectedAttraction:function(){var t;this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length||(t=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction,this.applyForce(t))}};return n},n=[n(27)],void 0!==(e=function(t){return r(0,t)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r,i;r=window,i=function(n,t,e,o){"use strict";o.extend(t.defaults,{draggable:">1",dragThreshold:3}),t.createMethods.push("_createDrag");var r=t.prototype,i=(o.extend(r,e.prototype),r._touchActionValue="pan-y",r._createDrag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable)},r.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},r.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},r.updateDraggable=function(){">1"==this.options.draggable?this.isDraggable=1<this.slides.length:this.isDraggable=this.options.draggable,this.isDraggable?this.element.classList.add("is-draggable"):this.element.classList.remove("is-draggable")},r.bindDrag=function(){this.options.draggable=!0,this.updateDraggable()},r.unbindDrag=function(){this.options.draggable=!1,this.updateDraggable()},r._uiChangeDrag=function(){delete this.isFreeScrolling},r.pointerDown=function(t,e){this.isDraggable?this.okayPointerDown(t)&&(this._pointerDownPreventDefault(t),this.pointerDownFocus(t),document.activeElement!=this.element&&this.pointerDownBlur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=a(),n.addEventListener("scroll",this),this._pointerDownDefault(t,e)):this._pointerDownDefault(t,e)},r._pointerDownDefault=function(t,e){this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},this._bindPostStartEvents(t),this.dispatchEvent("pointerDown",t,[e])},{INPUT:!0,TEXTAREA:!0,SELECT:!0});function a(){return{x:n.pageXOffset,y:n.pageYOffset}}return r.pointerDownFocus=function(t){i[t.target.nodeName]||this.focus()},r._pointerDownPreventDefault=function(t){var e="touchstart"==t.type,n="touch"==t.pointerType,r=i[t.target.nodeName];e||n||r||t.preventDefault()},r.hasDragStarted=function(t){return Math.abs(t.x)>this.options.dragThreshold},r.pointerUp=function(t,e){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down"),this.dispatchEvent("pointerUp",t,[e]),this._dragPointerUp(t,e)},r.pointerDone=function(){n.removeEventListener("scroll",this),delete this.pointerDownScroll},r.dragStart=function(t,e){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),n.removeEventListener("scroll",this),this.dispatchEvent("dragStart",t,[e]))},r.pointerMove=function(t,e){var n=this._dragPointerMove(t,e);this.dispatchEvent("pointerMove",t,[e,n]),this._dragMove(t,e,n)},r.dragMove=function(t,e,n){var r,i;this.isDraggable&&(t.preventDefault(),this.previousDragX=this.dragX,r
7400=this.options.rightToLeft?-1:1,this.options.wrapAround&&(n.x%=this.slideableWidth),r=this.dragStartPosition+n.x*r,!this.options.wrapAround&&this.slides.length&&(r=(r=(i=Math.max(-this.slides[0].target,this.dragStartPosition))<r?.5*(r+i):r)<(i=Math.min(-this.getLastSlide().target,this.dragStartPosition))?.5*(r+i):r),this.dragX=r,this.dragMoveTime=new Date,this.dispatchEvent("dragMove",t,[e,n]))},r.dragEnd=function(t,e){var n,r;this.isDraggable&&(this.options.freeScroll&&(this.isFreeScrolling=!0),n=this.dragEndRestingSelect(),this.options.freeScroll&&!this.options.wrapAround?(r=this.getRestingPosition(),this.isFreeScrolling=-r>this.slides[0].target&&-r<this.getLastSlide().target):this.options.freeScroll||n!=this.selectedIndex||(n+=this.dragEndBoostSelect()),delete this.previousDragX,this.isDragSelect=this.options.wrapAround,this.select(n),delete this.isDragSelect,this.dispatchEvent("dragEnd",t,[e]))},r.dragEndRestingSelect=function(){var t=this.getRestingPosition(),e=Math.abs(this.getSlideDistance(-t,this.selectedIndex)),n=this._getClosestResting(t,e,1),t=this._getClosestResting(t,e,-1);return(n.distance<t.distance?n:t).index},r._getClosestResting=function(t,e,n){for(var r=this.selectedIndex,i=1/0,o=this.options.contain&&!this.options.wrapAround?function(t,e){return t<=e}:function(t,e){return t<e};o(e,i)&&(i=e,null!==(e=this.getSlideDistance(-t,r+=n)));)e=Math.abs(e);return{distance:i,index:r-n}},r.getSlideDistance=function(t,e){var n=this.slides.length,r=this.options.wrapAround&&1<n,i=r?o.modulo(e,n):e,i=this.slides[i];if(!i)return null;r=r?this.slideableWidth*Math.floor(e/n):0;return t-(i.target+r)},r.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||100<new Date-this.dragMoveTime)return 0;var t=this.getSlideDistance(-this.dragX,this.selectedIndex),e=this.previousDragX-this.dragX;return 0<t&&0<e?1:t<0&&e<0?-1:0},r.staticClick=function(t,e){var n=this.getParentCell(t.target),r=n&&n.element,n=n&&this.cells.indexOf(n);this.dispatchEvent("staticClick",t,[e,r,n])},r.onscroll=function(){var t=a(),e=this.pointerDownScroll.x-t.x,t=this.pointerDownScroll.y-t.y;(3<Math.abs(e)||3<Math.abs(t))&&this._pointerDone()},t},n=[n(30),n(142),n(27)],void 0!==(e=function(t,e,n){return i(r,t,e,n)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r,i; 7401/*! 7402 * Unidragger v2.4.0 7403 * Draggable base class 7404 * MIT license 7405 */ 7406r=window,i=function(o,t){"use strict";function e(){}var n=e.prototype=Object.create(t.prototype),r=(n.bindHandles=function(){this._bindHandles(!0)},n.unbindHandles=function(){this._bindHandles(!1)},n._bindHandles=function(t){for(var e=(t=void 0===t||t)?"addEventListener":"removeEventListener",n=t?this._touchActionValue:"",r=0;r<this.handles.length;r++){var i=this.handles[r];this._bindStartEvent(i,t),i[e]("click",this),o.PointerEvent&&(i.style.touchAction=n)}},n._touchActionValue="none",n.pointerDown=function(t,e){this.okayPointerDown(t)&&(this.pointerDownPointer={pageX:e.pageX,pageY:e.pageY},t.preventDefault(),this.pointerDownBlur(),this._bindPostStartEvents(t),this.emitEvent("pointerDown",[t,e]))},{TEXTAREA:!0,INPUT:!0,SELECT:!0,OPTION:!0}),i={radio:!0,checkbox:!0,button:!0,submit:!0,image:!0,file:!0};return n.okayPointerDown=function(t){var e=r[t.target.nodeName],t=i[t.target.type],e=!e||t;return e||this._pointerReset(),e},n.pointerDownBlur=function(){var t=document.activeElement;t&&t.blur&&t!=document.body&&t.blur()},n.pointerMove=function(t,e){var n=this._dragPointerMove(t,e);this.emitEvent("pointerMove",[t,e,n]),this._dragMove(t,e,n)},n._dragPointerMove=function(t,e){var n={x:e.pageX-this.pointerDownPointer.pageX,y:e.pageY-this.pointerDownPointer.pageY};return!this.isDragging&&this.hasDragStarted(n)&&this._dragStart(t,e),n},n.hasDragStarted=function(t){return 3<Math.abs(t.x)||3<Math.abs(t.y)},n.pointerUp=function(t,e){this.emitEvent("pointerUp",[t,e]),this._dragPointerUp(t,e)},n._dragPointerUp=function(t,e){this.isDragging?this._dragEnd(t,e):this._staticClick(t,e)},n._dragStart=function(t,e){this.isDragging=!0,this.isPreventing
7406Clicks=!0,this.dragStart(t,e)},n.dragStart=function(t,e){this.emitEvent("dragStart",[t,e])},n._dragMove=function(t,e,n){this.isDragging&&this.dragMove(t,e,n)},n.dragMove=function(t,e,n){t.preventDefault(),this.emitEvent("dragMove",[t,e,n])},n._dragEnd=function(t,e){this.isDragging=!1,setTimeout(function(){delete this.isPreventingClicks}.bind(this)),this.dragEnd(t,e)},n.dragEnd=function(t,e){this.emitEvent("dragEnd",[t,e])},n.onclick=function(t){this.isPreventingClicks&&t.preventDefault()},n._staticClick=function(t,e){this.isIgnoringMouseUp&&"mouseup"==t.type||(this.staticClick(t,e),"mouseup"!=t.type&&(this.isIgnoringMouseUp=!0,setTimeout(function(){delete this.isIgnoringMouseUp}.bind(this),400)))},n.staticClick=function(t,e){this.emitEvent("staticClick",[t,e])},e.getPointerPoint=t.getPointerPoint,e},n=[n(69)],void 0!==(e=function(t){return i(r,t)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r;window,r=function(t,e,n,r){"use strict";var i="http://www.w3.org/2000/svg";function o(t,e){this.direction=t,this.parent=e,this._create()}(o.prototype=Object.create(n.prototype))._create=function(){this.isEnabled=!0,this.isPrevious=-1==this.direction;var t=this.parent.options.rightToLeft?1:-1,t=(this.isLeft=this.direction==t,this.element=document.createElement("button")),e=(t.className="flickity-button flickity-prev-next-button",t.className+=this.isPrevious?" previous":" next",t.setAttribute("type","button"),this.disable(),t.setAttribute("aria-label",this.isPrevious?"Previous":"Next"),this.createSVG());t.appendChild(e),this.parent.on("select",this.update.bind(this)),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},o.prototype.activate=function(){this.bindStartEvent(this.element),this.element.addEventListener("click",this),this.parent.element.appendChild(this.element)},o.prototype.deactivate=function(){this.parent.element.removeChild(this.element),this.unbindStartEvent(this.element),this.element.removeEventListener("click",this)},o.prototype.createSVG=function(){var t=document.createElementNS(i,"svg"),e=(t.setAttribute("class","flickity-button-icon"),t.setAttribute("viewBox","0 0 100 100"),document.createElementNS(i,"path")),n="string"!=typeof(n=this.parent.options.arrowShape)?"M "+n.x0+",50 L "+n.x1+","+(n.y1+50)+" L "+n.x2+","+(n.y2+50)+" L "+n.x3+",50 L "+n.x2+","+(50-n.y2)+" L "+n.x1+","+(50-n.y1)+" Z":n;return e.setAttribute("d",n),e.setAttribute("class","arrow"),this.isLeft||e.setAttribute("transform","translate(100, 100) rotate(180) "),t.appendChild(e),t},o.prototype.handleEvent=r.handleEvent,o.prototype.onclick=function(){var t;this.isEnabled&&(this.parent.uiChange(),t=this.isPrevious?"previous":"next",this.parent[t]())},o.prototype.enable=function(){this.isEnabled||(this.element.disabled=!1,this.isEnabled=!0)},o.prototype.disable=function(){this.isEnabled&&(this.element.disabled=!0,this.isEnabled=!1)},o.prototype.update=function(){var t=this.parent.slides;this.parent.options.wrapAround&&1<t.length?this.enable():(t=t.length?t.length-1:0,t=this.isPrevious?0:t,this[this.parent.selectedIndex==t?"disable":"enable"]())},o.prototype.destroy=function(){this.deactivate(),this.allOff()},r.extend(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.createMethods.push("_createPrevNextButtons");n=e.prototype;return n._createPrevNextButtons=function(){this.options.prevNextButtons&&(this.prevButton=new o(-1,this),this.nextButton=new o(1,this),this.on("activate",this.activatePrevNextButtons))},n.activatePrevNextButtons=function(){this.prevButton.activate(),this.nextButton.activate(),this.on("deactivate",this.deactivatePrevNextButtons)},n.deactivatePrevNextButtons=function(){this.prevButton.deactivate(),this.nextButton.deactivate(),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=o,e},n=[n(30),n(69),n(27)],void 0!==(e=function(t,e,n){return r(0,t,e,n)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r;window,r=function(t,e,n,r){"use strict";function i(t){this.parent=t,this._create()}(i.prototype=Object.create(n.prototype))._create=function(){this.holder=document.createElement("ol"),this.holder.className="flickity-page-dots",this.dots=[],this.handleClick=this.onClick.bind(this),this.on("pointerDown",this.parent.childUIPointerDown.bind(this.parent))},i.prototype.activate=function(){this.setDots(),this.holder.addEventListener("click",this.handleClick),this.bindStartEvent(this.holder),this.parent.element.appendChild(this.holder)},i.prototype.deactivate=function(){this.holder.removeEventListener("click",this.handleClick),this.unbindStartEvent(this.holder),this.parent.element.removeChild(this.holder)},i.prototype.setDots=function(){var t=this.parent.slides.length-this.dots.length;0<t?this.addDots(t):t<0&&this.removeDots(-t)},i.prototype.addDots=function(t){for(var e=document.createDocumentFragment(),n=[],r=this.dots.length,i=r+t,o=r;o<i;o++){var a=document.createElement("li");a.className="dot",a.setAttribute("aria-label","Page dot "+(o+1)),e.appendChild(a),n.push(a)}this.holder.appendChild(e),this.dots=this.dots.concat(n)},i.prototype.removeDots=function(t){this.dots.splice(this.dots.length-t,t).forEach(function(t){this.holder.removeChild(t)},this)},i.prototype.updateSelected=function(){this.selectedDot&&(this.selectedDot.className="dot",this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[this.parent.selectedIndex],this.selectedDot.className="dot is-selected",this.selectedDot.setAttribute("aria-current","step"))},i.prototype.onTap=i.prototype.onClick=function(t){var t=t.target;"LI"==t.nodeName&&(this.parent.uiChange(),t=this.dots.indexOf(t),this.parent.select(t))},i.prototype.destroy=function(){this.deactivate(),this.allOff()},e.PageDots=i,r.extend(e.defaults,{pageDots:!0}),e.createMethods.push("_createPageDots");n=e.prototype;return n._createPageDots=function(){this.options.pageDots&&(this.pageDots=new i(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))},n.activatePageDots=function(){this.pageDots.activate()},n.updateSelectedPageDots=function(){this.pageDots.updateSelected()},n.updatePageDots=function(){this.pageDots.setDots()},n.deactivatePageDots=function(){this.pageDots.deactivate()},e.PageDots=i,e},n=[n(30),n(69),n(27)],void 0!==(e=function(t,e,n){return r(0,t,e,n)}
7406.apply(e,n))&&(t.exports=e)},function(t,e,n){var r;window,r=function(t,e,n){"use strict";function r(t){this.parent=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}(r.prototype=Object.create(t.prototype)).play=function(){"playing"!=this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},r.prototype.tick=function(){var t,e;"playing"==this.state&&(t="number"==typeof(t=this.parent.options.autoPlay)?t:3e3,(e=this).clear(),this.timeout=setTimeout(function(){e.parent.next(!0),e.tick()},t))},r.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},r.prototype.clear=function(){clearTimeout(this.timeout)},r.prototype.pause=function(){"playing"==this.state&&(this.state="paused",this.clear())},r.prototype.unpause=function(){"paused"==this.state&&this.play()},r.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},r.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},e.extend(n.defaults,{pauseAutoPlayOnHover:!0}),n.createMethods.push("_createPlayer");t=n.prototype;return t._createPlayer=function(){this.player=new r(this),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)},t.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},t.playPlayer=function(){this.player.play()},t.stopPlayer=function(){this.player.stop()},t.pausePlayer=function(){this.player.pause()},t.unpausePlayer=function(){this.player.unpause()},t.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},t.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},t.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},n.Player=r,n},n=[n(68),n(27),n(30)],void 0!==(r=r.apply(e,n))&&(t.exports=r)},function(t,e,n){var r;window,r=function(t,e,r){"use strict";var n=e.prototype;return n.insert=function(t,e){var n,r,i,o,a,t=this._makeCells(t);t&&t.length&&(n=this.cells.length,e=void 0===e?n:e,a=t,r=document.createDocumentFragment(),a.forEach(function(t){r.appendChild(t.element)}),a=r,(i=e==n)?this.slider.appendChild(a):(o=this.cells[e].element,this.slider.insertBefore(a,o)),0===e?this.cells=t.concat(this.cells):i?this.cells=this.cells.concat(t):(a=this.cells.splice(e,n-e),this.cells=this.cells.concat(t).concat(a)),this._sizeCells(t),this.cellChange(e,!0))},n.append=function(t){this.insert(t,this.cells.length)},n.prepend=function(t){this.insert(t,0)},n.remove=function(t){var n,t=this.getCells(t);t&&t.length&&(n=this.cells.length-1,t.forEach(function(t){t.remove();var e=this.cells.indexOf(t);n=Math.min(e,n),r.removeFrom(this.cells,t)},this),this.cellChange(n,!0))},n.cellSizeChange=function(t){var t=this.getCell(t);t&&(t.getSize(),t=this.cells.indexOf(t),this.cellChange(t))},n.cellChange=function(t,e){var n=this.selectedElement,n=(this._positionCells(t),this._getWrapShiftCells(),this.setGallerySize(),this.getCell(n));n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[t]),this.select(this.selectedIndex),e&&this.positionSliderAtSelected()},e},n=[n(30),n(27)],void 0!==(e=function(t,e){return r(0,t,e)}.apply(e,n))&&(t.exports=e)},function(t,e,n){var r;window,r=function(t,e,i){"use strict";e.createMethods.push("_createLazyload");var n=e.prototype;function r(t,e){this.img=t,this.flickity=e,this.load()}return n._createLazyload=function(){this.on("select",this.lazyLoad)},n.lazyLoad=function(){var e,t=this.options.lazyLoad;t&&(t=this.getAdjacentCellElements("number"==typeof t?t:0),e=[],t.forEach(function(t){t=function(t){if("IMG"==t.nodeName){var e=t.getAttribute("data-flickity-lazyload"),n=t.getAttribute("data-flickity-lazyload-src"),r=t.getAttribute("data-flickity-lazyload-srcset");if(e||n||r)return[t]}e=t.querySelectorAll("img[data-flickity-lazyload], img[data-flickity-lazyload-src], img[data-flickity-lazyload-srcset]");return i.makeArray(e)}(t);e=e.concat(t)}),e.forEach(function(t){new r(t,this)},this))},r.prototype.handleEvent=i.handleEvent,r.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);var t=this.img.getAttribute("data-flickity-lazyload")||this.img.getAttribute("data-flickity-lazyload-src"),e=this.img.getAttribute("data-flickity-lazyload-srcset");this.img.src=t,e&&this.img.setAttribute("srcset",e),this.img.removeAttribute("data-flickity-lazyload"),this.img.removeAttribute("data-flickity-lazyload-src"),this.img.removeAttribute("data-flickity-lazyload-srcset")},r.prototype.onload=function(t){this.complete(t,"flickity-lazyloaded")},r.prototype.onerror=function(t){this.complete(t,"flickity-lazyerror")},r.prototype.complete=function(t,e){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this);var n=this.flickity.getParentCell(this.img),n=n&&n.element;this.flickity.cellSizeChange(n),this.img.classList.add(e),this.flickity.dispatchEvent("lazyLoad",t,n)},e.LazyLoader=r,e},n=[n(30),n(27)],void 0!==(e=function(t,e){return r(0,t,e)}
7406.apply(e,n))&&(t.exports=e)},function(t,e){function i(t){return window.getComputedStyle?getComputedStyle(t,null):t.currentStyle}function o(t){for(var e,n=t;n=n.nextSibling;)if(1==n.nodeType&&(e=n,window.HTMLBodyElement?e instanceof HTMLBodyElement:/body/i.test(e.tagName)))return n;return null}function a(t){return"none"!=t.display&&!("collapse"==t.visibility&&/^table-(.+-group|row|column)$/.test(t.display))}function n(){if(!!/^CSS1/.test(document.compatMode)&&(void 0===s&&((r=document.createElement("iframe")).style.height="1px",(document.body||document.documentElement||document).appendChild(r),(n=r.contentWindow.document).write('<!DOCTYPE html><div style="height:9999em">x</div>'),n.close(),s=n.documentElement.scrollHeight>n.body.scrollHeight,r.parentNode.removeChild(r)),s))return document.documentElement;var t,e,n=document.body,r=n&&!/body/i.test(n.tagName);return(n=r?o(n):n)&&(t=i(t=n),e=i(document.documentElement),"visible"!=t.overflow&&"visible"!=e.overflow&&a(t)&&a(e))?null:n}var s; 7407/*! https://mths.be/scrollingelement v1.5.2 by @diegoperini & @mathias | MIT license */ 7408"scrollingElement"in document||(Object.defineProperty?Object.defineProperty(document,"scrollingElement",{get:n}):document.__defineGetter__?document.__defineGetter__("scrollingElement",n):(document.scrollingElement=n(),document.attachEvent&&document.attachEvent("onpropertychange",function(){"activeElement"==window.event.propertyName&&(document.scrollingElement=n())})))},function(t,e,n){"use strict";"function"!=typeof Object.assign&&(Object.assign=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var r=0,i=t;r<i.length;r++)!function(e){e&&Object.keys(e).forEach(function(t){return n[t]=e[t]})}(i[r]);return n})},function(t,e,n){"use strict";n(151);n=(n=n(323))&&n.__esModule?n:{default:n};n.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),n.default._babelPolyfill=!0},function(t,e,n){"use strict";n(152),n(295),n(297),n(300),n(302),n(304),n(306),n(308),n(310),n(312),n(314),n(316),n(318),n(322)},function(t,e,n){n(153),n(156),n(157),n(158),n(159),n(160),n(161),n(162),n(163),n(164),n(165),n(166),n(167),n(168),n(169),n(170),n(171),n(172),n(173),n(174),n(175),n(176),n(177),n(178),n(179),n(180),n(181),n(182),n(183),n(184),n(185),n(186),n(187),n(188),n(189),n(190),n(191),n(192),n(193),n(194),n(195),n(196),n(197),n(199),n(200),n(201),n(202),n(203),n(204),n(205),n(206),n(207),n(208),n(209),n(210),n(211),n(212),n(213),n(214),n(215),n(216),n(217),n(218),n(219),n(220),n(221),n(222),n(223),n(224),n(225),n(226),n(227),n(228),n(229),n(230),n(231),n(232),n(234),n(235),n(237),n(238),n(239),n(240),n(241),n(242),n(243),n(245),n(246),n(247),n(248),n(249),n(250),n(251),n(252),n(253),n(254),n(255),n(256),n(257),n(90),n(258),n(119),n(259),n(120),n(260),n(261),n(262),n(263),n(121),n(266),n(267),n(268),n(269),n(270),n(271),n(272),n(273),n(274),n(275),n(276),n(277),n(278),n(279),n(280),n(281),n(282),n(283),n(284),n(285),n(286),n(287),n(288),n(289),n(290),n(291),n(292),n(293),n(294),t.exports=n(7)},function(N,F,t){"use strict";function r(t){var e=O[t]=b(x[C]);return e._k=t,e}function n(t,e){v(t);for(var n,r=z(e=m(e)),i=0,o=r.length;i<o;)j(t,n=r[i++],e[n]);return t}function e(t){var e=tt.call(this,t=g(t,!0));return!(this===L&&c(O,t)&&!c(D,t))&&(!(e||!c(this,t)||!c(O,t)||c(this,k)&&this[k][t])||e)}function i(t,e){var n;if(t=m(t),e=g(e,!0),t!==L||!c(O,e)||c(D,e))return!(n=J(t,e))||!c(O,e)||c(t,k)&&t[k][e]||(n.enumerable=!0),n}function o(t){for(var e,n=Q(m(t)),r=[],i=0;n.length>i;)c(O,e=n[i++])||e==k||e==R||r.push(e);return r}function a(t){for(var e,n=t===L,r=Q(n?D:m(t)),i=[],o=0;r.length>o;)!c(O,e=r[o++])||n&&!c(L,e)||i.push(O[e]);return i}var s=t(1),c=t(13),l=t(8),u=t(0),$=t(11),R=t(29).KEY,f=t(2),d=t(56),p=t(42),B=t(32),h=t(5),H=t(71),q=t(100),z=t(155),W=t(59),v=t(3),V=t(4),U=t(10),m=t(15),g=t(28),y=t(31),b=t(36),Y=t(103),G=t(20),w=t(58),K=t(9),X=t(34),J=G.f,_=K.f,Q=Y.f,x=s.Symbol,S=s.JSON,E=S&&S.stringify,C="prototype",k=h("_hidden"),Z=h("toPrimitive"),tt={}.propertyIsEnumerable,A=d("symbol-registry"),O=d("symbols"),D=d("op-symbol
7408s"),L=Object[C],d="function"==typeof x&&!!w.f,M=s.QObject,T=!M||!M[C]||!M[C].findChild,P=l&&f(function(){return 7!=b(_({},"a",{get:function(){return _(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=J(L,e);r&&delete L[e],_(t,e,n),r&&t!==L&&_(L,e,r)}:_,I=d&&"symbol"==typeof x.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof x},j=function(t,e,n){return t===L&&j(D,e,n),v(t),e=g(e,!0),v(n),c(O,e)?(n.enumerable?(c(t,k)&&t[k][e]&&(t[k][e]=!1),n=b(n,{enumerable:y(0,!1)})):(c(t,k)||_(t,k,y(1,{})),t[k][e]=!0),P(t,e,n)):_(t,e,n)};d||($((x=function(){if(this instanceof x)throw TypeError("Symbol is not a constructor!");var e=B(0<arguments.length?arguments[0]:void 0),n=function(t){this===L&&n.call(D,t),c(this,k)&&c(this[k],e)&&(this[k][e]=!1),P(this,e,y(1,t))};return l&&T&&P(L,e,{configurable:!0,set:n}),r(e)})[C],"toString",function(){return this._k}),G.f=i,K.f=j,t(37).f=Y.f=o,t(50).f=e,w.f=a,l&&!t(33)&&$(L,"propertyIsEnumerable",e,!0),H.f=function(t){return r(h(t))}),u(u.G+u.W+u.F*!d,{Symbol:x});for(var et="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),nt=0;et.length>nt;)h(et[nt++]);for(var rt=X(h.store),it=0;rt.length>it;)q(rt[it++]);u(u.S+u.F*!d,"Symbol",{for:function(t){return c(A,t+="")?A[t]:A[t]=x(t)},keyFor:function(t){if(!I(t))throw TypeError(t+" is not a symbol!");for(var e in A)if(A[e]===t)return e},useSetter:function(){T=!0},useSimple:function(){T=!1}}),u(u.S+u.F*!d,"Object",{create:function(t,e){return void 0===e?b(t):n(b(t),e)},defineProperty:j,defineProperties:n,getOwnPropertyDescriptor:i,getOwnPropertyNames:o,getOwnPropertySymbols:a});M=f(function(){w.f(1)});u(u.S+u.F*M,"Object",{getOwnPropertySymbols:function(t){return w.f(U(t))}}),S&&u(u.S+u.F*(!d||f(function(){var t=x();return"[null]"!=E([t])||"{}"!=E({a:t})||"{}"!=E(Object(t))})),"JSON",{stringify:function(t){for(var e,n,r=[t],i=1;i<arguments.length;)r.push(arguments[i++]);if(n=e=r[1],(V(e)||void 0!==t)&&!I(t))return W(e)||(e=function(t,e){if("function"==typeof n&&(e=n.call(this,t,e)),!I(e))return e}),r[1]=e,E.apply(S,r)}}),x[C][Z]||t(14)(x[C],Z,x[C].valueOf),p(x,"Symbol"),p(Math,"Math",!0),p(s.JSON,"JSON",!0)},function(t,e,n){t.exports=n(56)("native-function-to-string",Function.toString)},function(t,e,n){var s=n(34),c=n(58),l=n(50);t.exports=function(t){var e=s(t),n=c.f;if(n)for(var r,i=n(t),o=l.f,a=0;i.length>a;)o.call(t,r=i[a++])&&e.push(r);return e}},function(t,e,n){var r=n(0);r(r.S,"Object",{create:n(36)})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperty:n(9).f})},function(t,e,n){var r=n(0);r(r.S+r.F*!n(8),"Object",{defineProperties:n(102)})},function(t,e,n){var r=n(15),i=n(20).f;n(21)("getOwnPropertyDescriptor",function(){return function(t,e){return i(r(t),e)}})},function(t,e,n){var r=n(10),i=n(38);n(21)("getPrototypeOf",function(){return function(t){return i(r(t))}})},function(t,e,n){var r=n(10),i=n(34);n(21)("keys",function(){return function(t){return i(r(t))}})},function(t,e,n){n(21)("getOwnPropertyNames",function(){return n(103).f})},function(t,e,n){var r=n(4),i=n(29).onFreeze;n(21)("freeze",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(t,e,n){var r=n(4),i=n(29).onFreeze;n(21)("seal",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(t,e,n){var r=n(4),i=n(29).onFreeze;n(21)("preventExtensions",function(e){return function(t){return e&&r(t)?e(i(t)):t}})},function(t,e,n){var r=n(4);n(21)("isFrozen",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(t,e,n){var r=n(4);n(21)("isSealed",function(e){return function(t){return!r(t)||!!e&&e(t)}})},function(t,e,n){var r=n(4);n(21)("isExtensible",function(e){return function(t){return!!r(t)&&(!e||e(t))}})},function(t,e,n){var r=n(0);r(r.S+r.F,"Object",{assign:n(104)})},function(t,e,n){var r=n(0);r(r.S,"Object",{is:n(105)})},function(t,e,n){var r=n(0);r(r.S,"Object",{setPrototypeOf:n(75).set})},function(t,e,n){"use strict";var r=n(51),i={};i[n(5)("toStringTag")]="z",i+""!="[object z]"&&n(11)(Object.prototype,"toString",function(){return"[object "+r(this)+"]"},!0)},function(t,e,n){var r=n(0);r(r.P,"Function",{bind:n(106)})},function(t,e,n){var r=n(9).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||n(8)&&r(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[
vendor: 15,697 bytes, line 7408
74081]}catch(t){return""}}})},function(t,e,n){"use strict";var r=n(4),i=n(38),o=n(5)("hasInstance"),a=Function.prototype;o in a||n(9).f(a,o,{value:function(t){if("function"==typeof this&&r(t)){if(!r(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0}return!1}})},function(t,e,n){var r=n(0),n=n(108);r(r.G+r.F*(parseInt!=n),{parseInt:n})},function(t,e,n){var r=n(0),n=n(109);r(r.G+r.F*(parseFloat!=n),{parseFloat:n})},function(t,e,n){"use strict";function r(t){if("string"==typeof(e=l(t,!1))&&2<e.length){var e,n,r,i,t=(e=y?e.trim():p(e,3)).charCodeAt(0);if(43===t||45===t){if(88===(n=e.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(e.charCodeAt(1)){case 66:case 98:r=2,i=49;break;case 79:case 111:r=8,i=55;break;default:return+e}for(var o,a=e.slice(2),s=0,c=a.length;s<c;s++)if((o=a.charCodeAt(s))<48||i<o)return NaN;return parseInt(a,r)}}return+e}var i=n(1),o=n(13),a=n(23),s=n(77),l=n(28),c=n(2),u=n(37).f,f=n(20).f,d=n(9).f,p=n(43).trim,h="Number",v=w=i[h],m=w.prototype,g=a(n(36)(m))==h,y="trim"in String.prototype;if(!w(" 0o1")||!w("0b1")||w("+0x1")){for(var b,w=function(t){var t=arguments.length<1?0:t,e=this;return e instanceof w&&(g?c(function(){m.valueOf.call(e)}):a(e)!=h)?s(new v(r(t)),e,w):r(t)},_=n(8)?u(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),x=0;_.length>x;x++)o(v,b=_[x])&&!o(w,b)&&d(w,b,f(v,b));(w.prototype=m).constructor=w,n(11)(i,h,w)}},function(t,e,n){"use strict";function a(t,e){for(var n=-1,r=e;++n<6;)r+=t*p[n],p[n]=r%1e7,r=o(r/1e7)}function s(t){for(var e=6,n=0;0<=--e;)n+=p[e],p[e]=o(n/t),n=n%t*1e7}function c(){for(var t,e=6,n="";0<=--e;)""===n&&0!==e&&0===p[e]||(t=String(p[e]),n=""===n?t:n+d.call("0",7-t.length)+t);return n}function l(t,e,n){return 0===e?n:e%2==1?l(t,e-1,n*t):l(t*t,e/2,n)}var r=n(0),u=n(19),f=n(110),d=n(78),i=1..toFixed,o=Math.floor,p=[0,0,0,0,0,0],h="Number.toFixed: incorrect invocation!";r(r.P+r.F*(!!i&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==0xde0b6b3a7640080.toFixed(0))||!n(2)(function(){i.call({})})),"Number",{toFixed:function(t){var e,n,r=f(this,h),t=u(t),i="",o="0";if(t<0||20<t)throw RangeError(h);if(r!=r)return"NaN";if(r<=-1e21||1e21<=r)return String(r);if(r<0&&(i="-",r=-r),1e-21<r)if(r=(e=function(t){for(var e=0,n=t;4096<=n;)e+=12,n/=4096;for(;2<=n;)e+=1,n/=2;return e}(r*l(2,69,1))-69)<0?r*l(2,-e,1):r/l(2,e,1),r*=4503599627370496,0<(e=52-e)){for(a(0,r),n=t;7<=n;)a(1e7,0),n-=7;for(a(l(10,n,1),0),n=e-1;23<=n;)s(1<<23),n-=23;s(1<<n),a(1,1),s(2),o=c()}else a(0,r),a(1<<-e,0),o=c()+d.call("0",t);return o=0<t?i+((r=o.length)<=t?"0."+d.call("0",t-r)+o:o.slice(0,r-t)+"."+o.slice(r-t)):i+o}})},function(t,e,n){"use strict";var r=n(0),i=n(2),o=n(110),a=1..toPrecision;r(r.P+r.F*(i(function(){return"1"!==a.call(1,void 0)})||!i(function(){a.call({})})),"Number",{toPrecision:function(t){var e=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?a.call(e):a.call(e,t)}})},function(t,e,n){n=n(0);n(n.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,e,n){var r=n(0),i=n(1).isFinite;r(r.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,e,n){var r=n(0);r(r.S,"Number",{isInteger:n(111)})},function(t,e,n){n=n(0);n(n.S,"Number",{isNaN:function(t){return t!=t}})},function(t,e,n){var r=n(0),i=n(111),o=Math.abs;r(r.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,e,n){n=n(0);n(n.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,e,n){n=n(0);n(n.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,e,n){var r=n(0),n=n(109);r(r.S+r.F*(Number.parseFloat!=n),"Number",{parseFloat:n})},function(t,e,n){var r=n(0),n=n(108);r(r.S+r.F*(Number.parseInt!=n),"Number",{parseInt:n})},function(t,e,n){var r=n(0),i=n(112),o=Math.sqrt,n=Math.acosh;r(r.S+r.F*!(n&&710==Math.floor(n(Number.MAX_VALUE))&&n(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:94906265.62425156<t?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,e,n){var n=n(0),r=Math.asinh;n(n.S+n.F*!(r&&0<1/r(0)),"Math",{asinh:function t(e){return isFinite(e=+e)&&0!=e?e<0?-t(-e):Math.log(e+Math.sqrt(e*e+1)):e}})},function(t,e,n){var n=n(0),r=Math.atanh;n(n.S+n.F*!(r&&1/r(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,e,n){var r=n(0),i=n(79);r(r.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,e,n){n=n(0);n(n.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,e,n){var n=n(0),r=Math.exp;n(n.S,"Math",{cosh:function(t){return(r(t=+t)+r(-t))/2}})},function(t,e,n){var r=n(0),n=n(80);r(r.S+r.F*(n!=Math.expm1),"Math",{expm1:n})},function(t,e,n){var r=n(0);r(r.S,"Math",{fround:n(198)})},function(t,e,n){var r=n(79),n=Math.pow,i=n(2,-52),o=n(2,-23),a=n(2,127)*(2-o),s=n(2,-126);t.exports=Math.fround||function(t){var e,n=Math.abs(t),t=r(t);return n<s?t*(n/s/o+1/i-1/i)*s*o:a<(e=(e=(1+o/i)*n)-(e-n))||e!=e?t*(1/0):t*e}},function(t,e,n){var n=n(0),c=Math.abs;n(n.S,"Math",{hypot:function(t,e){for(var n,r,i=0,o=0,a=arguments.length,s=0;o<a;)s<(n=c(arguments[o++]))?(i=i*(r=s/n)*r+1,s=n):i+=0<n?(r=n/s)*r:n;return s===1/0?1/0:s*Math.sqrt(i)}})},function(t,e,n){var r=n(0),i=Math.imul;r(r.S+r.F*n(2)(function(){return-5!=i(4294967295,5)||2!=i.length}),"Math",{imul:function(t,e){var t=+t,e=+e,n=65535&t,r=65535&e;return 0|n*r+((65535&t>>>16)*r+n*(65535&e>>>16)<<16>>>0)}})},function(t,e,n){n=n(0);n(n.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,e,n){var r=n(0);r(r.S,"Math",{log1p:n(112)})},function(t,e,n){n=n(0);n(n.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,e,n){var r=n(0);r(r.S,"Math",{sign:n(79)})},function(t,e,n){var r=n(0),i=n(80),o=Math.exp;r(r.S+r.F*n(2)(function(){return-2e-17!=!Math.sinh(-2e-17)}),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,e,n){var r=n(0),i=n(80),o=Math.exp;r(r.S,"Math",{tanh:function(t){var e=i(t=+t),n=i(-t);return e==1/0?1:n==1/0?-1:(e-n)/(o(t)+o(-t))}})},function(t,e,n){n=n(0);n(n.S,"Math",{trunc:function(t){return(0<t?Math.floor:Math.ceil)(t)}})},function(t,e,n){var r=n(0),o=n(35),a=String.fromCharCode,n=String.fromCodePoint;r(r.S+r.F*(!!n&&1!=n.length),"String",{fromCodePoint:function(t){for(var e,n=[],r=arguments.length,i=0;i<r;){if(e=+arguments[i++],o(e,1114111)!==e)throw RangeError(e+" is not a valid code point");n.push(e<65536?a(e):a(55296+((e-=65536)>>10),e%1024+56320))}return n.join("")}})},function(t,e,n){var r=n(0),a=n(15),s=n(6);r(r.S,"String",{raw:function(t){for(var e=a(t.raw),n=s(e.length),r=arguments.length,i=[],o=0;o<n;)i.push(String(e[o++])),o<r&&i.push(String(arguments[o]));return i.join("")}})},function(t,e,n){"use strict";n(43)("trim",function(t){return function(){return t(this,3)}})},function(t,e,n){"use strict";var r=n(81)(!0);n(82)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t=this._t,e=this._i;return e>=t.length?{value:void 0,done:!0}:(t=r(t,e),this._i+=t.length,{value:t,done:!1})})},function(t,e,n){"use strict";var r=n(0),i=n(81)(!1);r(r.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(83),a="endsWith",s=""[a];r(r.P+r.F*n(85)(a),"String",{endsWith:function(t){var e=o(this,t,a),n=1<arguments.length?arguments[1]:void 0,r=i(e.length),n=void 0===n?r:Math.min(i(n),r),r=String(t);return s?s.call(e,r,n):e.slice(n-r.length,n)===r}})},function(t,e,n){"use strict";var r=n(0),i=n(83);r(r.P+r.F*n(85)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,1<arguments.length?arguments[1]:void 0)}})},function(t,e,n){var r=n(0);r(r.P,"String",{repeat:n(78)})},function(t,e,n){"use strict";var r=n(0),i=n(6),o=n(83),a="startsWith",s=""[a];r(r.P+r.F*n(85)(a),"String",{startsWith:function(t){var e=o(this,t,a),n=i(Math.min(1<arguments.length?arguments[1]:void 0,e.length)),t=String(t);return s?s.call(e,t,n):e.slice(n,n+t.length)===t}})},function(t,e,n){"use strict";n(12)("anchor",function(e){return function(t){return e(this,"a","name",t)}})},function(t,e,n){"use strict";n(12)("big",function(t){return function(){return t(this,"big","","")}})},function(t,e,n){"use strict";n(12)("blink",function(t){return function(){return t(this,"blink","","")}})},function(t,e,n){"use strict";n(12)("bold",function(t){return function(){return t(this,"b","","")}})},function(t,e,n){"use strict";n(12)("fixed",function(t){return function(){return t(this,"tt","","")}})},function(t,e,n){"use strict";n(12)("fontcolor",function(e){return function(t){return e(this,"font","color",t)}})},function(t,e,n){"use strict";n(12)("fontsize",function(e){return function(t){return e(this,"font","size",t)}})},function(t,e,n){"use strict";n(12)("italics",function(t){return function(){return t(this,"i","","")}})},function(t,e,n){"use strict";n(12)("link",function(e){return function(t){return e(this,"a","href",t)}})},function(t,e,n){"use strict";n(12)("small",function(t){return function(){return t(this,"small","","")}})},function(t,e,n){"use strict";n(12)("strike",function(t){return function(){return t(this,"strike","","")}})},function(t,e,n){"use strict";n(12)("sub",function(t){return function(){return t(this,"sub","","")}})},function(t,e,n){"use strict";n(12)("sup",function(t){return function(){return t(this,"sup","","")}})},function(t,e,n){n=n(0);n(n.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,e,n){"use strict";var r=n(0),i=n(10),o=n(28);r(r.P+r.F*n(2)(function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})}),"Date",{toJSON:function(t){var e=i(this),n=o(e);return"number"!=typeof n||isFinite(n)?e.toISOString():null}})},function(t,e,n){var r=n(0),n=n(233);r(r.P+r.F*(Date.prototype.toISOString!==n),"Date",{toISOString:n})},function(t,e,n){"use strict";function r(t){return 9<t?t:"0"+t}var n=n(2),i=Date.prototype.getTime,o=Date.prototype.toISOString;t.exports=n(function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-5e13-1))})||!n(function(){o.call(new Date(NaN))})?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this.getUTCFullYear(),e=this.getUTCMilliseconds(),n=t<0?"-":9999<t?"+":"";return n+("00000"+Math.abs(t)).slice(n?-6:-4)+"-"+r(this.getUTCMonth()+1)+"-"+r(this.getUTCDate())+"T"+r(this.getUTCHours())+":"+r(this.getUTCMinutes())+":"+r(this.getUTCSeconds())+"."+(99<e?e:"0"+r(e))+"Z"}:o},function(t,e,n){var r=Date.prototype,i="Invalid Date",o=r.toString,a=r.getTime;new Date(NaN)+""!=i&&n(11)(r,"toString",function(){var t=a.call(this);return t==t?o.call(this):i})},function(t,e,n){var r=n(5)("toPrimitive"),i=Date.prototype;r in i||n(14)(i,r,n(236))},function(t,e,n){"use strict";var r=n(3),i=n(28);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(r(this),"number"!=t)}},function(t,e,n){var r=n(0);r(r.S,"Array",{isArray:n(59)})},function(t,e,n){"use strict";var f=n(17),r=n(0),d=n(10),p=n(114),h=n(86),v=n(6),m=n(87),g=n(88);r(r.S+r.F*!n(60)(function(t){Array.from(t)}),"Array",{from:function(t){var e,n,r,i,o=d(t),t="function"==typeof this?this:Array,a=arguments.length,s=1<a?arguments[1]:void 0,c=void 0!==s,l=0,u=g(o);if(c&&(s=f(s,2<a?arguments[2]:void 0,2)),null==u||t==Array&&h(u))for(n=new t(e=v(o.length));l<e;l++)m(n,l,c?s(o[l],l):o[l]);else for(i=u.call(o),n=new t;!(r=i.next()).done;l++)m(n,l,c?p(i,s,[r.value,l],!0):r.value);return n.length=l,n}})},function(t,e,n){"use strict";var r=n(0),i=n(87);r(r.S+r.F*n(2)(function(){function t(){}return!(Array.of.call(t)instanceof t)}),"Array",{of:function(){for(var t=0,e=arguments.length,n=new("function"==typeof this?this:Array)(e);t<e;)i(n,t,arguments[t++]);return n.length=e,n}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=[].join;r(r.P+r.F*(n(49)!=Object||!n(16)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,e,n){"use strict";var r=n(0),i=n(74),c=n(23),l=n(35),u=n(6),f=[].slice;r(r.P+r.F*n(2)(function(){i&&f.call(i)}),"Array",{slice:function(t,e){var n=u(this.length),r=c(this);if(e=void 0===e?n:e,"Array"==r)return f.call(this,t,e);for(var i=l(t,n),t=l(e,n),o=u(t-i),a=new Array(o),s=0;s<o;s++)a[s]="String"==r?this.charAt(i+s):this[i+s];return a}})},function(t,e,n){"use strict";var r=n(0),i=n(18),o=n(10),a=n(2),s=[].sort,c=[1,2,3];r(r.P+r.F*(a(function(){c.sort(void 0)})||!a(function(){c.sort(null)})||!n(16)(s)),"Array",{sort:function(t){return void 0===t?s.call(o(this)):s.call(o(this),i(t))}})},function(t,e,n){"use strict";var r=n(0),i=n(22)(0),n=n(16)([].forEach,!0);r(r.P+r.F*!n,"Array",{forEach:function(t){return i(this,t,arguments[1])}})},function(t,e,n){var r=n(4),i=n(59),o=n(5)("species");t.exports=function(t){var e;return i(t)&&("function"!=typeof(e=t.constructor)||e!==Array&&!i(e.prototype)||(e=void 0),r(e)&&null===(e=e[o])&&(e=void 0)),void 0===e?Array:e}},function(t,e,n){"use strict";var r=n(0),i=n(22)(1);r(r.P+r.F*!n(16)([].map,!0),"Array",{map:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(22)(2);r(r.P+r.F*!n(16)([].filter,!0),"Array",{filter:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(22)(3);r(r.P+r.F*!n(16)([].some,!0),"Array",{some:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(22)(4);r(r.P+r.F*!n(16)([].every,!0),"Array",{every:function(t){return i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(116);r(r.P+r.F*!n(16)([].reduce,!0),"Array",{reduce:function(t){return i(this,t,arguments.length,arguments[1],!1)}})},function(t,e,n){"use strict";var r=n(0),i=n(116);r(r.P+r.F*!n(16)([].reduceRight,!0),"Array",{reduceRight:function(t){return i(this,t,arguments.length,arguments[1],!0)}})},function(t,e,n){"use strict";var r=n(0),i=n(57)(!1),o=[].indexOf,a=!!o&&1/[1].indexOf(1,-0)<0;r(r.P+r.F*(a||!n(16)(o)),"Array",{indexOf:function(t){return a?o.apply(this,arguments)||0:i(this,t,arguments[1])}})},function(t,e,n){"use strict";var r=n(0),i=n(15),o=n(19),a=n(6),s=[].lastIndexOf,c=!!s&&1/[1].lastIndexOf(1,-0)<0;r(r.P+r.F*(c||!n(16)(s)),"Array",{lastIndexOf:function(t){if(c)return s.apply(this,arguments)||0;var e=i(this),n=a(e.length),r=n-1;for((r=1<arguments.length?Math.min(r,o(arguments[1])):r)<0&&(r=n+r);0<=r;r--)if(r in e&&e[r]===t)return r||0;return-1}})},function(t,e,n){var r=n(0);r(r.P,"Array",{copyWithin:n(117)}),n(39)("copyWithin")},function(t,e,n){var r=n(0);r(r.P,"Array",{fill:n(89)}),n(39)("fill")},function(t,e,n){"use strict";var r=n(0),i=n(22)(5),o=!0;"find"in[]&&Array(1).find(function(){o=!1}),r(r.P+r.F*o,"Array",{find:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0)}}),n(39)("find")},function(t,e,n){"use strict";var r=n(0),i=n(22)(6),o="findIndex",a=!0;o in[]&&Array(1)[o](function(){a=!1}),r(r.P+r.F*a,"Array",{findIndex:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0)}}),n(39)(o)},function(t,e,n){n(45)("Array")},function(t,e,n){var r=n(1),o=n(77),i=n(9).f,a=n(37).f,s=n(84),c=n(61),l=h=r.RegExp,u=h.prototype,f=/a/g,d=/a/g,p=new h(f)!==f;if(n(8)&&(!p||n(2)(function(){return d[n(5)("match")]=!1,h(f)!=f||h(d)==d||"/a/i"!=h(f,"i")}))){for(var h=function(t,e){var n=this instanceof h,r=s(t),i=void 0===e;return!n&&r&&t.constructor===h&&i?t:o(p?new l(r&&!i?t.source:t,e):l((r=t instanceof h)?t.source:t,r&&i?c.call(t):e),n?this:u,h)},v=a(l),m=0;v.length>m;)!function(e){e in h||i(h,e,{configurable:!0,get:function(){return l[e]}
7408,set:function(t){l[e]=t}})}(v[m++]);(u.constructor=h).prototype=u,n(11)(r,"RegExp",h)}n(45)("RegExp")},function(t,e,n){"use strict";n(120);function r(t){n(11)(RegExp.prototype,s,t,!0)}var i=n(3),o=n(61),a=n(8),s="toString",c=/./[s];n(2)(function(){return"/a/b"!=c.call({source:"a",flags:"b"})})?r(function(){var t=i(this);return"/".concat(t.source,"/","flags"in t?t.flags:!a&&t instanceof RegExp?o.call(t):void 0)}):c.name!=s&&r(function(){return c.call(this)})},function(t,e,n){"use strict";var u=n(3),f=n(6),d=n(92),p=n(62);n(63)("match",1,function(r,i,c,l){return[function(t){var e=r(this),n=null==t?void 0:t[i];return void 0!==n?n.call(t,e):new RegExp(t)[i](String(e))},function(t){var e=l(c,t,this);if(e.done)return e.value;var n=u(t),r=String(this);if(!n.global)return p(n,r);for(var i=n.unicode,o=[],a=n.lastIndex=0;null!==(s=p(n,r));){var s=String(s[0]);""===(o[a]=s)&&(n.lastIndex=d(r,f(n.lastIndex),i)),a++}return 0===a?null:o}]})},function(t,e,n){"use strict";var x=n(3),S=n(10),E=n(6),C=n(19),k=n(92),A=n(62),O=Math.max,D=Math.min,L=Math.floor,M=/\$([$&`']|\d\d?|<[^>]*>)/g,T=/\$([$&`']|\d\d?)/g;n(63)("replace",2,function(i,o,w,_){return[function(t,e){var n=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):w.call(String(n),t,e)},function(t,e){var n=_(w,t,this,e);if(n.done)return n.value;for(var r,i=x(t),o=String(this),a="function"==typeof e,s=(a||(e=String(e)),i.global),c=(s&&(r=i.unicode,i.lastIndex=0),[]);null!==(p=A(i,o))&&(c.push(p),s);)""===String(p[0])&&(i.lastIndex=k(o,E(i.lastIndex),r));for(var l,u="",f=0,d=0;d<c.length;d++){for(var p=c[d],h=String(p[0]),v=O(D(C(p.index),o.length),0),m=[],g=1;g<p.length;g++)m.push(void 0===(l=p[g])?l:String(l));var y=p.groups,b=a?(b=[h].concat(m,v,o),void 0!==y&&b.push(y),String(e.apply(void 0,b))):function(o,a,s,c,l,t){var u=s+o.length,f=c.length,e=T;void 0!==l&&(l=S(l),e=M);return w.call(t,e,function(t,e){var n;switch(e.charAt(0)){case"$":return"$";case"&":return o;case"`":return a.slice(0,s);case"'":return a.slice(u);case"<":n=l[e.slice(1,-1)];break;default:var r,i=+e;if(0==i)return t;if(f<i)return 0!==(r=L(i/10))&&r<=f?void 0===c[r-1]?e.charAt(1):c[r-1]+e.charAt(1):t;n=c[i-1]}return void 0===n?"":n})}(h,o,v,m,y,e);f<=v&&(u+=o.slice(f,v)+b,f=v+h.length)}return u+o.slice(f)}]})},function(t,e,n){"use strict";var s=n(3),c=n(105),l=n(62);n(63)("search",1,function(r,i,o,a){return[function(t){var e=r(this),n=null==t?void 0:t[i];return void 0!==n?n.call(t,e):new RegExp(t)[i](String(e))},function(t){var e=a(o,t,this);if(e.done)return e.value;var e=s(t),t=String(this),n=e.lastIndex,t=(c(n,0)||(e.lastIndex=0),l(e,t));return c(e.lastIndex,n)||(e.lastIndex=n),null===t?-1:t.index}]})},function(t,e,n){"use strict";var f=n(84),g=n(3),y=n(52),b=n(92),w=n(6),_=n(62),d=n(91),r=n(2),x=Math.min,p=[].push,a="split",S="length",E="lastIndex",C=4294967295,k=!r(function(){RegExp(C,"y")});n(63)("split",2,function(i,o,h,v){var m="c"=="abbc"[a](/(b)*/)[1]||4!="test"[a](/(?:)/,-1)[S]||2!="ab"[a](/(?:ab)*/)[S]||4!="."[a](/(.?)(.?)/)[S]||1<"."[a](/()()/)[S]||""[a](/.?/)[S]?function(t,e){var n=String(this);if(void 0===t&&0===e)return[];if(!f(t))return h.call(n,t,e);for(var r,i,o,a=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),c=0,l=void 0===e?C:e>>>0,u=new RegExp(t.source,s+"g");(r=d.call(u,n))&&!(c<(i=u[E])&&(a.push(n.slice(c,r.index)),1<r[S]&&r.index<n[S]&&p.apply(a,r.slice(1)),o=r[0][S],c=i,a[S]>=l));)u[E]===r.index&&u[E]++;return c===n[S]?!o&&u.test("")||a.push(""):a.push(n.slice(c)),a[S]>l?a.slice(0,l):a}:"0"[a](void 0,0)[S]?function(t,e){return void 0===t&&0===e?[]:h.call(this,t,e)}:h;return[function(t,e){var n=i(this),r=null==t?void 0:t[o];return void 0!==r?r.call(t,n,e):m.call(String(n),t,e)},function(t,e){var n=v(m,t,this,e,m!==h);if(n.done)return n.value;var n=g(t),r=String(this),t=y(n,RegExp),i=n.unicode,o=(n.ignoreCase?"i":"")+(n.multiline?"m":"")+(n.unicode?"u":"")+(k?"y":"g"),a=new t(k?n:"^(?:"+n.source+")",o),s=void 0===e?C:e>>>0;if(0==s)return[];if(0===r.length)return null===_(a,r)?[r]:[];for(var c=0,l=0,u=[];l<r.length;){a.lastIndex=k?l:0;var f,d=_(a,k?r:r.slice(l));if(null===d||(f=x(w(a.lastIndex+(k?0:l)),r.length))===c)l=b(r,l,i);
vendor: 4,618 bytes, line 7408
7408else{if(u.push(r.slice(c,l)),u.length===s)return u;for(var p=1;p<=d.length-1;p++)if(u.push(d[p]),u.length===s)return u;l=c=f}}return u.push(r.slice(c)),u}]})},function(t,e,n){var s=n(1),c=n(93).set,l=s.MutationObserver||s.WebKitMutationObserver,u=s.process,f=s.Promise,d="process"==n(23)(u);t.exports=function(){function t(){var t,e;for(d&&(t=u.domain)&&t.exit();n;){e=n.fn,n=n.next;try{e()}catch(t){throw n?i():r=void 0,t}}r=void 0,t&&t.enter()}var n,r,e,i,o,a;return i=d?function(){u.nextTick(t)}:!l||s.navigator&&s.navigator.standalone?f&&f.resolve?(e=f.resolve(void 0),function(){e.then(t)}):function(){c.call(s,t)}:(o=!0,a=document.createTextNode(""),new l(t).observe(a,{characterData:!0}),function(){a.data=o=!o}),function(t){t={fn:t,next:void 0};r&&(r.next=t),n||(n=t,i()),r=t}}},function(t,e){t.exports=function(t){try{return{e:!1,v:t()}}catch(t){return{e:!0,v:t}}}},function(t,e,n){"use strict";var r=n(124),i=n(40);t.exports=n(66)("Map",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{get:function(t){t=r.getEntry(i(this,"Map"),t);return t&&t.v},set:function(t,e){return r.def(i(this,"Map"),0===t?0:t,e)}},r,!0)},function(t,e,n){"use strict";var r=n(124),i=n(40);t.exports=n(66)("Set",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"Set"),t=0===t?0:t,t)}},r)},function(t,e,n){"use strict";function r(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}}var o,i=n(1),a=n(22)(0),s=n(11),c=n(29),l=n(104),u=n(125),f=n(4),d=n(40),p=n(40),i=!i.ActiveXObject&&"ActiveXObject"in i,h="WeakMap",v=c.getWeak,m=Object.isExtensible,g=u.ufstore,y={get:function(t){var e;if(f(t))return!0===(e=v(t))?g(d(this,h)).get(t):e?e[this._i]:void 0},set:function(t,e){return u.def(d(this,h),t,e)}},b=t.exports=n(66)(h,r,y,u,!0,!0);p&&i&&(l((o=u.getConstructor(r,h)).prototype,y),c.NEED=!0,a(["delete","has","get","set"],function(r){var t=b.prototype,i=t[r];s(t,r,function(t,e){var n;return f(t)&&!m(t)?(this._f||(this._f=new o),n=this._f[r](t,e),"set"==r?this:n):i.call(this,t,e)})}))},function(t,e,n){"use strict";var r=n(125),i=n(40);n(66)("WeakSet",function(t){return function(){return t(this,0<arguments.length?arguments[0]:void 0)}},{add:function(t){return r.def(i(this,"WeakSet"),t,!0)}},r,!1,!0)},function(t,e,n){"use strict";var r=n(0),i=n(67),o=n(94),c=n(3),l=n(35),u=n(6),a=n(4),s=n(1).ArrayBuffer,f=n(52),d=o.ArrayBuffer,p=o.DataView,h=i.ABV&&s.isView,v=d.prototype.slice,m=i.VIEW,o="ArrayBuffer";r(r.G+r.W+r.F*(s!==d),{ArrayBuffer:d}),r(r.S+r.F*!i.CONSTR,o,{isView:function(t){return h&&h(t)||a(t)&&m in t}}),r(r.P+r.U+r.F*n(2)(function(){return!new d(2).slice(1,void 0).byteLength}),o,{slice:function(t,e){if(void 0!==v&&void 0===e)return v.call(c(this),t);for(var n=c(this).byteLength,r=l(t,n),i=l(void 0===e?n:e,n),t=new(f(this,d))(u(i-r)),o=new p(this),a=new p(t),s=0;r<i;)a.setUint8(s++,o.getUint8(r++));return t}}),n(45)(o)},function(t,e,n){var r=n(0);r(r.G+r.W+r.F*!n(67).ABV,{DataView:n(94).DataView})},function(t,e,n){n(25)("Int8",1,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Uint8",1,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Uint8",1,function(r){return function(t,e,n){return r(this,t,e,n)}},!0)},function(t,e,n){n(25)("Int16",2,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Uint16",2,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Int32",4,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Uint32",4,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Float32",4,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){n(25)("Float64",8,function(r){return function(t,e,n){return r(this,t,e,n)}})},function(t,e,n){var r=n(0),i=n(18),o=n(3),a=(n(1).Reflect||{}).apply,s=Function.apply;r(r.S+r.F*!n(2)(function(){a(function(){})}),"Reflect",{apply:function(t,e,n){t=i(t),n=o(n);return a?a(t,e,n):s.call(t,e,n)}})},function(t,e,n){var r=n(0),i=n(36),o=n(18),a=n(3),s=n(4),c=n(2),l=n(106),u=(n(1).Reflect||{}).construct,f=c(function(){function t(){}return!(u(function(){},[],t)instanceof t)}),d=!c(function(){u(function(){})});r(r.S+r.F*(f||d),"Reflect",{construct:function(t,e){o(t),a(e);var n=arguments.length<3?t:o(arguments[2]);if(d&&!f)return u(t,e,n);if(t==n){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}
vendor: 2,016 bytes, line 7408
7408var r=[null];return r.push.apply(r,e),new(l.apply(t,r))}r=n.prototype,n=i(s(r)?r:Object.prototype),r=Function.apply.call(t,n,e);return s(r)?r:n}})},function(t,e,n){var r=n(9),i=n(0),o=n(3),a=n(28);i(i.S+i.F*n(2)(function(){Reflect.defineProperty(r.f({},1,{value:1}),1,{value:2})}),"Reflect",{defineProperty:function(t,e,n){o(t),e=a(e,!0),o(n);try{return r.f(t,e,n),!0}catch(t){return!1}}})},function(t,e,n){var r=n(0),i=n(20).f,o=n(3);r(r.S,"Reflect",{deleteProperty:function(t,e){var n=i(o(t),e);return!(n&&!n.configurable)&&delete t[e]}})},function(t,e,n){"use strict";function r(t){this._t=o(t),this._i=0;var e,n=this._k=[];for(e in t)n.push(e)}var i=n(0),o=n(3);n(113)(r,"Object",function(){var t,e=this._k;do{if(this._i>=e.length)return{value:void 0,done:!0}}while(!((t=e[this._i++])in this._t));return{value:t,done:!1}}),i(i.S,"Reflect",{enumerate:function(t){return new r(t)}})},function(t,e,n){var o=n(20),a=n(38),s=n(13),r=n(0),c=n(4),l=n(3);r(r.S,"Reflect",{get:function t(e,n){var r,i=arguments.length<3?e:arguments[2];return l(e)===i?e[n]:(r=o.f(e,n))?s(r,"value")?r.value:void 0!==r.get?r.get.call(i):void 0:c(r=a(e))?t(r,n,i):void 0}})},function(t,e,n){var r=n(20),i=n(0),o=n(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,e){return r.f(o(t),e)}})},function(t,e,n){var r=n(0),i=n(38),o=n(3);r(r.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,e,n){n=n(0);n(n.S,"Reflect",{has:function(t,e){return e in t}})},function(t,e,n){var r=n(0),i=n(3),o=Object.isExtensible;r(r.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,e,n){var r=n(0);r(r.S,"Reflect",{ownKeys:n(127)})},function(t,e,n){var r=n(0),i=n(3),o=Object.preventExtensions;r(r.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,e,n){var s=n(9),c=n(20),l=n(38),u=n(13),r=n(0),f=n(31),d=n(3),p=n(4);r(r.S,"Reflect",{set:function t(e,n,r){var i,o=arguments.length<4?e:arguments[3],a=c.f(d(e),n);if(!a){if(p(i=l(e)))return t(i,n,r,o);a=f(0)}
7408if(u(a,"value")){if(!1===a.writable||!p(o))return!1;if(i=c.f(o,n)){if(i.get||i.set||!1===i.writable)return!1;i.value=r,s.f(o,n,i)}else s.f(o,n,f(0,r));return!0}return void 0!==a.set&&(a.set.call(o,r),!0)}})},function(t,e,n){var r=n(0),i=n(75);i&&r(r.S,"Reflect",{setPrototypeOf:function(t,e){i.check(t,e);try{return i.set(t,e),!0}catch(t){return!1}}})},function(t,e,n){n(296),t.exports=n(7).Array.includes},function(t,e,n){"use strict";var r=n(0),i=n(57)(!0);r(r.P,"Array",{includes:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0)}}),n(39)("includes")},function(t,e,n){n(298),t.exports=n(7).Array.flatMap},function(t,e,n){"use strict";var r=n(0),i=n(299),o=n(10),a=n(6),s=n(18),c=n(115);r(r.P,"Array",{flatMap:function(t){var e,n,r=o(this);return s(t),e=a(r.length),n=c(r,0),i(n,r,r,e,0,1,t,arguments[1]),n}}),n(39)("flatMap")},function(t,e,n){"use strict";var h=n(59),v=n(4),m=n(6),g=n(17),y=n(5)("isConcatSpreadable");t.exports=function t(e,n,r,i,o,a,s,c){for(var l,u,f=o,d=0,p=!!s&&g(s,c,3);d<i;){if(d in r){if(l=p?p(r[d],d,n):r[d],u=!1,(u=v(l)?void 0!==(u=l[y])?!!u:h(l):u)&&0<a)f=t(e,n,l,m(l.length),f,a-1)-1;else{if(9007199254740991<=f)throw TypeError();e[f]=l}f++}d++}return f}},function(t,e,n){n(301),t.exports=n(7).String.padStart},function(t,e,n){"use strict";var r=n(0),i=n(128),n=n(65),n=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);r(r.P+r.F*n,"String",{padStart:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0,!0)}})},function(t,e,n){n(303),t.exports=n(7).String.padEnd},function(t,e,n){"use strict";var r=n(0),i=n(128),n=n(65),n=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n);r(r.P+r.F*n,"String",{padEnd:function(t){return i(this,t,1<arguments.length?arguments[1]:void 0,!1)}})},function(t,e,n){n(305),t.exports=n(7).String.trimLeft},function(t,e,n){"use strict";n(43)("trimLeft",function(t){return function(){return t(this,1)}},"trimStart")},function(t,e,n){n(307),t.exports=n(7).String.trimRight},function(t,e,n){"use strict";n(43)("trimRight",function(t){return function(){return t(this,2)}},"trimEnd")},function(t,e,n){n(309),t.exports=n(71).f("asyncIterator")},function(t,e,n){n(100)("asyncIterator")},function(t,e,n){n(311),t.exports=n(7).Object.getOwnPropertyDescriptors},function(t,e,n){var r=n(0),c=n(127),l=n(15),u=n(20),f=n(87);r(r.S,"Object",{getOwnPropertyDescriptors:function(t){for(var e,n,r=l(t),i=u.f,o=c(r),a={},s=0;o.length>s;)void 0!==(n=i(r,e=o[s++]))&&f(a,e,n);return a}})},function(t,e,n){n(313),t.exports=n(7).Object.values},function(t,e,n){var r=n(0),i=n(129)(!1);r(r.S,"Object",{values:function(t){return i(t)}})},function(t,e,n){n(315),t.exports=n(7).Object.entries},function(t,e,n){var r=n(0),i=n(129)(!0);r(r.S,"Object",{entries:function(t){return i(t)}})},function(t,e,n){"use strict";n(121),n(317),t.exports=n(7).Promise.finally},function(t,e,n){"use strict";var r=n(0),i=n(7),o=n(1),a=n(52),s=n(123);r(r.P+r.R,"Promise",{finally:function(e){var n=a(this,i.Promise||o.Promise),t="function"==typeof e;return this.then(t?function(t){return s(n,e()).then(function(){return t})}:e,t?function(t){return s(n,e()).then(function(){throw t})}:e)}})},function(t,e,n){n(319),n(320),n(321),t.exports=n(7)},function(t,e,n){function r(i){return function(t,e){var n=2<arguments.length,r=n&&a.call(arguments,2);return i(n?function(){("function"==typeof t?t:Function(t)).apply(this,r)}:t,e)}}var i=n(1),o=n(0),n=n(65),a=[].slice,n=/MSIE .\./.test(n);o(o.G+o.B+o.F*n,{setTimeout:r(i.setTimeout),setInterval:r(i.setInterval)})},function(t,e,n){var r=n(0),n=n(93);r(r.G+r.B,{setImmediate:n.set,clearImmediate:n.clear})},function(t,e,n){for(var r=n(90),i=n(34),o=n(11),a=n(1),s=n(14),c=n(44),n=n(5),l=n("iterator"),u=n("toStringTag"),f=c.Array,d={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},p=i(d),h=0;h<p.length;h++){var v,m=p[h],g=d[m],y=a[m],b=y&&y.prototype;if(b&&(b[l]||s(b,l,f),b[u]||s(b,u,m),c[m]=f,g))for(v in r)b[v]||o(b,v,r[v],!0)}},function(e,t,n){e=function(a){"use strict";var c,t=Object.prototype,l=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",i=e.toStringTag||"@@toStringTag";function o(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{o({},"")}catch(t){o=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var i,o,a,s,e=e&&e.prototype instanceof m?e:m,e=Object.create(e.prototype),r=new C(r||[]);return e._invoke=(i=t,o=n,a=r,s=f,function(t,e){if(s===p)throw new Error("Generator is already running");if(s===h){if("throw"===t)throw e;return A()}for(a.method=t,a.arg=e;;){var n=a.delegate;if(n){n=function t(e,n){var r=e.iterator[n.method];if(r===c){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&
7408(n.method="return",n.arg=c,t(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}r=u(r,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,v;r=r.arg;if(!r)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v;{if(!r.done)return r;n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=c)}n.delegate=null;return v}(n,a);if(n){if(n===v)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(s===f)throw s=h,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s=p;n=u(i,o,a);if("normal"===n.type){if(s=a.done?h:d,n.arg!==v)return{value:n.arg,done:a.done}}else"throw"===n.type&&(s=h,a.method="throw",a.arg=n.arg)}}),e}function u(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function m(){}function g(){}function y(){}var e={},b=(o(e,r,function(){return this}),Object.getPrototypeOf),b=b&&b(b(k([]))),w=(b&&b!==t&&l.call(b,r)&&(e=b),y.prototype=m.prototype=Object.create(e));function _(t){["next","throw","return"].forEach(function(e){o(t,e,function(t){return this._invoke(e,t)})})}function x(a,s){var e;this._invoke=function(n,r){function t(){return new s(function(t,e){!function e(t,n,r,i){var o,t=u(a[t],a,n);if("throw"!==t.type)return(n=(o=t.arg).value)&&"object"==typeof n&&l.call(n,"__await")?s.resolve(n.__await).then(function(t){e("next",t,r,i)},function(t){e("throw",t,r,i)}):s.resolve(n).then(function(t){o.value=t,r(o)},function(t){return e("throw",t,r,i)});i(t.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function S(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function E(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function k(e){if(e){var n,t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(t=function t(){for(;++n<e.length;)if(l.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=c,t.done=!0,t}).next=t}return{next:A}}function A(){return{value:c,done:!0}}return o(w,"constructor",g.prototype=y),o(y,"constructor",g),g.displayName=o(y,i,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===g||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,y):(t.__proto__=y,o(t,i,"GeneratorFunction")),t.prototype=Object.create(w),t},a.awrap=function(t){return{__await:t}},_(x.prototype),o(x.prototype,n,function(){return this}),a.AsyncIterator=x,a.async=function(t,e,n,r,i){void 0===i&&(i=Promise);var o=new x(s(t,e,n,r),i);return a.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},_(w),o(w,i,"Generator"),o(w,r,function(){return this}),o(w,"toString",function(){return"[object Generator]"}),a.keys=function(n){var t,r=[];for(t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=k,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=c,this.done=!1,this.delegate=null,this.method="next",this.arg=c,this.tryEntries.forEach(E),!t)for(var e in this)"t"===e.charAt(0)&&l.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=c)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return o.type="throw",o.arg=n,r.next=t,e&&(r.method="next",r.arg=c),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=l.call(i,"catchLoc"),s=l.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&l.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),E(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n,r,i=this.tryEntries[e];if(i.tryLoc===t)return"throw"===(n=i.completion).type&&(r=n.arg,E(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:k(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=c),v}},a}(e.exports);try{regeneratorRuntime=e}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}},function(t,e,n){n(324),t.exports=n(130).global},function(t,e,n){var r=n(325);r(r.G,{global:n(95)})},function(t,e,n){function v(t,e,n){var r,i,o,a=t&v.F,s=t&v.G,c=t&v.S,l=t&v.P,u=t&v.B,f=t&v.W,d=s?g:g[e]||(g[e]={}),p=d[_],h=s?m:c?m[e]:(m[e]||{})[_];for(r in n=s?e:n)(i=!a&&h&&void 0!==h[r])&&w(d,r)||(o=(i?h:n)[r],d[r]=s&&"function"!=typeof h[r]?n[r]:u&&i?y(o,m):f&&h[r]==o?function(r){function t(t,e,n){if(this instanceof r){switch(arguments.length){case 0:return new r;case 1:return new r(t);case 2:return new r(t,e)}return new r(t,e,n)}return r.apply(this,arguments)}return t[_]=r[_],t}(o):l&&"function"==typeof o?y(Function.call,o):o,l&&((d.virtual||(d.virtual={}))[r]=o,t&v.R&&p&&!p[r]&&b(p,r,o)))}var m=n(95),g=n(130),y=n(326),b=n(328),w=n(335),_="prototype";v.F=1,v.G=2,v.S=4,v.P=8,v.B=16,v.W=32,v.U=64,v.R=128,t.exports=v},function(t,e,n){var o=n(327);t.exports=function(r,i,t){if(o(r),void 0===i)return r;switch(t){case 1:return function(t){return r.call(i,t)};case 2:return function(t,e){return r.call(i,t,e)};case 3:return function(t,e,n){return r.call(i,t,e,n)}}return function(){return r.apply(i,arguments)}}},function(t,e){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,e,n){var r=n(329),i=n(334);t.exports=n(97)?function(t,e,n){return r.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(330),i=n(331),o=n(333),a=Object.defineProperty;e.f=n(97)?Object.defineProperty:function(t,e,n){if(r(t),e=o(e,!0),r(n),i)try{return a(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported!");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){var r=n(96);t.exports=function(t){if(r(t))return t;throw TypeError(t+" is not an object!")}},function(t,e,n){t.exports=!n(97)&&!n(131)(function(){return 7!=Object.defineProperty(n(332)("div"),"a",{get:function(){return 7}}).a})},function(t,e,n){var r=n(96),i=n(95).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,e,n){var i=n(96);t.exports=function(t,e){if(!i(t))return t;var n,r;if(e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t))||"function"==typeof(n=t.valueOf)&&!i(r=n.call(t))||!e&&"function"==typeof(n=t.toString)&&!i(r=n.call(t)))return r;throw TypeError("Can't convert object to primitive value")}},function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,i,o){!function(t){var e=void 0!==t&&t||"undefined"!=typeof self&&self||window,n=Function.prototype.apply;function r(t,e){this._id=t,this._clearFn=e}i.setTimeout=function(){return new r(n.call(setTimeout,e,arguments),clearTimeout)},i.setInterval=function(){return new r(n.call(setInterval,e,arguments),clearInterval)},i.clearTimeout=i.clearInterval=function(t){t&&t.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(e,this._id)},i.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},i.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},i._unrefActive=i.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;0<=e&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},o(337),i.setImmediate="undefined"!=typeof self&&self.setImmediate||void 0!==t&&t.setImmediate||this&&this.setImmediate,i.clearImmediate="undefined"!=typeof self&&self.clearImmediate||void 0!==t&&t.clearImmediate||this&&this.clearImmediate}.call(this,o(55))},function(t,e,n){!function(t,p){!function(n,o){"use strict";var r,a,s,i,c,l,e,t;function u(t){delete a[t]}function f(t){if(s)setTimeout(f,0,t);else{var e=a[t];
7408if(e){s=!0;try{var n=e,r=n.callback,i=n.args;switch(i.length){case 0:r();break;case 1:r(i[0]);break;case 2:r(i[0],i[1]);break;case 3:r(i[0],i[1],i[2]);break;default:r.apply(o,i)}}finally{u(t),s=!1}}}}function d(){function t(t){t.source===n&&"string"==typeof t.data&&0===t.data.indexOf(e)&&f(+t.data.slice(e.length))}var e="setImmediate$"+Math.random()+"$";n.addEventListener?n.addEventListener("message",t,!1):n.attachEvent("onmessage",t),c=function(t){n.postMessage(e+t,"*")}}n.setImmediate||(r=1,s=!(a={}),i=n.document,t=(t=Object.getPrototypeOf&&Object.getPrototypeOf(n))&&t.setTimeout?t:n,"[object process]"==={}.toString.call(n.process)?c=function(t){p.nextTick(function(){f(t)})}:!function(){var t,e;if(n.postMessage&&!n.importScripts)return t=!0,e=n.onmessage,n.onmessage=function(){t=!1},n.postMessage("","*"),n.onmessage=e,t}()?c=n.MessageChannel?((e=new MessageChannel).port1.onmessage=function(t){f(t.data)},function(t){e.port2.postMessage(t)}):i&&"onreadystatechange"in i.createElement("script")?(l=i.documentElement,function(t){var e=i.createElement("script");e.onreadystatechange=function(){f(t),e.onreadystatechange=null,l.removeChild(e),e=null},l.appendChild(e)}):function(t){setTimeout(f,0,t)}:d(),t.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];return a[r]={callback:t,args:e},c(r),r++},t.clearImmediate=u)}("undefined"==typeof self?void 0===t?this:t:self)}.call(this,n(55),n(338))},function(t,e){var n,r,t=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}try{n="function"==typeof setTimeout?setTimeout:i}catch(t){n=i}try{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}function a(e){if(n===setTimeout)return setTimeout(e,0);if((n===i||!n)&&setTimeout)return(n=setTimeout)(e,0);try{return n(e,0)}catch(t){try{return n.call(null,e,0)}catch(t){return n.call(this,e,0)}}}var s,c=[],l=!1,u=-1;function f(){l&&s&&(l=!1,s.length?c=s.concat(c):u=-1,c.length&&d())}function d(){if(!l){for(var t=a(f),e=(l=!0,c.length);e;){for(s=c,c=[];++u<e;)s&&s[u].run();u=-1,e=c.length}s=null,l=!1,!function(e){if(r===clearTimeout)return clearTimeout(e);if((r===o||!r)&&clearTimeout)return(r=clearTimeout)(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(t)}}function p(t,e){this.fun=t,this.array=e}function h(){}t.nextTick=function(t){var e=new Array(arguments.length-1);if(1<arguments.length)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new p(t,e)),1!==c.length||l||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},t.title="browser",t.browser=!0,t.env={},t.argv=[],t.version="",t.versions={},t.on=h,t.addListener=h,t.once=h,t.off=h,t.removeListener=h,t.removeAllListeners=h,t.emit=h,t.prependListener=h,t.prependOnceListener=h,t.listeners=function(t){return[]},t.binding=function(t){throw new Error("process.binding is not supported")},t.cwd=function(){return"/"},t.chdir=function(t){throw new Error("process.chdir is not supported")},t.umask=function(){return 0}}
7408,function(k,t,i){"use strict";i.r(t);i(136);function A(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function O(t,e,n){return e&&A(t.prototype,e),n&&A(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}var c=new(O(function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.carousel={goal:{"desktop-xxl":4,"desktop-xl":3,desktop:2,tablet:2,mobile:1},learn:{"desktop-xxl":5,"desktop-xl":4,desktop:2,tablet:2,mobile:1},news:{"desktop-xxl":999,"desktop-xl":999,desktop:999,tablet:999,mobile:999},pl:{"desktop-xxl":999,"desktop-xl":999,desktop:999,tablet:3,mobile:1},pc:{"desktop-xxl":999,"desktop-xl":999,desktop:999,tablet:2,mobile:1},pcc:{"desktop-xxl":5,"desktop-xl":4,desktop:2,tablet:2,mobile:1},pcs:{"desktop-xxl":1,"desktop-xl":1,desktop:1,tablet:1,mobile:1}},this.responsiveSizes={"desktop-xxl":1920,"desktop-xl":1440,desktop:1025,tablet:768,mobile:1},this.breakpoints={"desktop-xxl":"desktop-xxl","desktop-xl":"desktop-xl",desktop:"desktop",tablet:"tablet",mobile:"mobile"},this.isYoutubeLoaded=!1,this.isVimeoLoaded=!1,this.isBrighcoveLoaded=!1}));function D(t,e){var n=new XMLHttpRequest;n.onreadystatechange=function(){4===n.readyState&&200===n.status&&e(n.responseText)},n.open("GET",t,!0),n.send(null)}function b(){for(var t,e=Object.keys(c.responsiveSizes),n=e.length,r=0;r<n;r+=1)if(window.innerWidth>=c.responsiveSizes[e[r]]){t=e[r];break}return t}function L(t){return function(t){if(Array.isArray(t))return M(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return M(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?M(t,e):void 0}}(t)||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 M(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function T(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var n=0;n<this.length;n++)t.call(e,this[n],n,this)}),[Element.prototype,Document.prototype,DocumentFragment.prototype].forEach(function(t){t.hasOwnProperty("append")||Object.defineProperty(t,"append",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();t.forEach(function(t){var e=t instanceof Node;n.appendChild(e?t:document.createTextNode(String(t)))}),this.appendChild(n)}})}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector),[Element.prototype,CharacterData.prototype,DocumentType.prototype].forEach(function(t){t.hasOwnProperty("after")||Object.defineProperty(t,"after",{configurable:!0,enumerable:!0,writable:!0,value:function(){var t=Array.prototype.slice.call(arguments),n=document.createDocumentFragment();t.forEach(function(t){var e=t instanceof Node;n.appendChild(e?t:document.createTextNode(String(t)))}),this.parentNode.insertBefore(n,this.nextSibling)}})}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(t){var e=this;do{if(e.matches(t))return e}while(null!==(e=e.parentElement||e.parentNode)&&1===e.nodeType);return null});var P=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="nav-main",e="mega-nav-open",n="first-level",r="nav-main__container",i="mask-body",o="mask-on",a="hovering",s="clickable",c="mn--open",l="open-link-directly",u=document.getElementById(i),f=document.getElementsByClassName(t)[0],d=L(document.querySelectorAll(".".concat(t," > ul > li > a"))),i=L(document.querySelectorAll(".".concat(r," a"))),p=L(document.querySelectorAll(".".concat(r))),h=document.body;i.map(function(t){return t.classList.add("clickable")}),p.map(function(t){return t.classList.add("clickable")}),document.querySelectorAll(".nav-main > ul > li > .nav-main__container.clickable > ul > li").forEach(function(t){""===t.innerHTML.trim()&&t.parentNode.parentNode.parentNode.children[0].classList.add(l)}),document.addEventListener("click",function(t){t.target.parentNode.classList.contains(n)&&(t.preventDefault(),t.target.parentNode.click()),t.target.classList.contains(l)||(t.target.classList.contains(n)?(t.preventDefault(),t.target.parentNode.classList.contains(a)||(d.map(function(t){return t.parentNode.classList.remove(a)}),f.classList.remove(e),u.classList.remove(o),h.classList.remove(c)),t.target.parentNode.classList.toggle(a),f.classList.toggle(e),u.classList.toggle(o),h.classList.toggle(c)):f.classList.contains(e)&&!p[0].classList.contains(s)?(t.preventDefault(),d.map(function(t){return t.parentNode.classList.remove(a)}),f.classList.remove(e),u.classList.remove(o),h.classList.remove(c)):t.target.parentNode.parentNode.classList.contains(a)||(d.map(function(t){return t.parentNode.classList.remove(a)}),f.classList.remove(e),u.classList.remove(o),h.classList.remove(c)))},!1)}}])&&T(e.prototype,n),r&&T(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function h(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return I(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(t,e):void 0}}(t)||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 I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function j(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var N=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="header",r="mask-header",e="mobile-nav__parent",i="open",o=document.getElementById(t),t=document.createElement("div"),a=(t.id=r,o.appendChild(t),document.getElementById(r)),s=document.getElementsByClassName(e)[0];h(document.querySelectorAll(".mobile-nav__level-1 .nav-main-mobile > ul > li >
7408 a")).map(function(t){return t.setAttribute("nav-level","1")}),h(document.querySelectorAll(".mobile-nav__level-2 ul ul > li > a")).map(function(t){return t.setAttribute("nav-level","2")});h(document.querySelectorAll(".nav-secondary-mobile ul > li")).map(function(t){return t.setAttribute("nav-secondary","1")});var c=document.querySelector(".nav-primary__toggle"),l=document.querySelector(".nav-primary-mobile ul"),u=h(document.querySelectorAll(".nav-primary-mobile li")),f=(u.map(function(t){return t.setAttribute("nav-primary","1")}),h(document.querySelectorAll(".mobile-nav__level-2"))),d=h(document.querySelectorAll(".nav-main-mobile ul"));function p(t){var e=t.scrollHeight,n=t.style.transition;t.style.transition="",requestAnimationFrame(function(){t.style.height=e+"px",t.style.transition=n,requestAnimationFrame(function(){t.style.height="0px"})}),t.setAttribute("data-collapsed","true")}document.addEventListener("click",function(t){var e,n;t.target.classList.contains("open-mobile-nav")||t.target.parentNode.classList.contains("open-mobile-nav")||t.target.classList.contains("mobile-nav__btn-close")||t.target.parentNode.classList.contains("mobile-nav__btn-close")?(t.preventDefault(),s.classList.toggle(i),a.classList.toggle("mask-on--sn"),o.classList.toggle("open-level-1")):t.target.classList.contains("nav-primary__toggle")?(t.preventDefault(),"true"===l.getAttribute("data-collapsed")?(t.target.classList.add("nav-primary__toggle--open"),n=(e=l).scrollHeight,e.style.height=n+"px",e.setAttribute("data-collapsed","false"),l.setAttribute("data-collapsed","false")):(t.target.classList.remove("nav-primary__toggle--open"),p(l))):t.target.parentNode.matches('[nav-primary="1"]')?(t.preventDefault(),u.map(function(t){return t.classList.remove("active")}),t.target.parentNode.classList.add("active"),n=t.target.getAttribute("data-nav").replace(/\s+/g,"-").replace(/[']/g,"-").replace(/[!@#$%^&*"/]/g,"").toLowerCase(),d.map(function(t){return t.classList.remove("active")}),null!==(e=document.querySelector(".nav-main-mobile .".concat(n)))&&e.classList.add("active"),c.classList.remove("nav-primary__toggle--open"),p(l),c.textContent=t.target.textContent):t.target.classList.contains("mobile-nav__btn-back")||t.target.parentNode.classList.contains("mobile-nav__btn-back")?(t.preventDefault(),o.classList.remove("open-level-2"),f.map(function(t){return t.classList.remove("open")})):t.target.id===r&&(t.preventDefault(),f.map(function(t){return t.classList.remove("open")}),o.classList.remove("open-level-1"),s.classList.remove("open"),a.classList.remove("mask-on--sn"))},!1)}}])&&j(e.prototype,n),r&&j(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),t=i(41),w=i.n(t),t=(i(54),i(132)),F=i.n(t);function R(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function B(t){return function(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}(t)||function(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}function H(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function o(t,e,n){e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n}var q=!("undefined"==typeof window||!window.document||!window.document.createElement),_=new(function(){function t(){var n=this;if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");o(this,"handleWheel",function(t){t.preventDefault()}),o(this,"handleScroll",function(){var t;(t=window).scrollTo.apply(t,B(n.lockToScrollPos))}),o(this,"handleKeydown",function(t){var e=n.options.keyboardKeys;-1!==(e=-1!==["INPUT","TEXTAREA"].indexOf(t.target.tagName)?n.options.authorizedInInputs:e).indexOf(t.keyCode)&&t.preventDefault()}),this.element=null,this.lockToScrollPos=[0,0],this.options={disableWheel:!0,disableScroll:!0,disableKeys:!0,keyboardKeys:[32,33,34,35,36,37,38,39,40],authorizedInInputs:[32,37,38,39,40]},q&&(i(148),this.element=document.scrollingElement)}var e,n,r;return e=t,(n=[{key:"on",value:function(t,e){var n;q&&(this.element=t||this.element,this.options=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
7408t%2?R(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},this.options,{},e),e=(t=this.options).disableKeys,n=t.disableScroll,t.disableWheel&&(document.addEventListener("wheel",this.handleWheel,{passive:!1}),document.addEventListener("touchmove",this.handleWheel,{passive:!1})),n&&(this.lockToScrollPos=[this.element.scrollLeft||this.element.scrollX,this.element.scrollTop||this.element.scrollY],document.addEventListener("scroll",this.handleScroll,{passive:!1})),e&&document.addEventListener("keydown",this.handleKeydown,{passive:!1}))}},{key:"off",value:function(){q&&(document.removeEventListener("wheel",this.handleWheel,{passive:!1}),document.removeEventListener("touchmove",this.handleWheel,{passive:!1}),document.removeEventListener("scroll",this.handleScroll,{passive:!1}),document.removeEventListener("keydown",this.handleKeydown,{passive:!1}))}}])&&H(e.prototype,n),r&&H(e,r),t}());function z(t){return function(t){if(Array.isArray(t))return W(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return W(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(t,e):void 0}}(t)||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 W(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function V(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var U=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.element=t,this.defaults={flicktyOptitions:{cellAlign:"left",contain:!0,pageDots:!1,prevNextButtons:!1,on:{ready:function(t){this.element.classList.add("first-item"),this.element.classList.add("js-enabled")},change:function(t){var e=this.cells.length-1;0==t?this.element.classList.add("first-item"):this.element.classList.remove("first-item"),t==e?this.element.classList.add("last-item"):this.element.classList.remove("last-item")},scroll:function(t){1===(t=Math.max(0,Math.min(1,t)))?this.element.classList.add("end-of-scroll"):this.element.classList.remove("end-of-scroll")}}}}}var t,n,r;return t=e,(n=[{key:"init",value:function(){var i,t=this,e=".ipn",n=".ipn nav",r=".ipn .ipn__w",o=".ipn .ipn__w .btn",a=document.querySelectorAll(e)[0],s=document.querySelectorAll(r)[0],c=document.querySelectorAll(n)[0],l=document.querySelectorAll(o)[0],u=document.getElementById("jump-to"),e=document.getElementById("inp__m"),f=this.element.getElementsByTagName("ul")[0];function d(){var t;t=s,Math.floor(t.getBoundingClientRect().top)<=0&&_.on()}u.addEventListener("click",function(t){t.preventDefault();var t=t.target,e=(e=s,Math.floor(e.getBoundingClientRect().top));t.classList.contains("open")?(t.classList.toggle("open"),t.parentElement.classList.toggle("open"),document.body.classList.toggle("jump-to-open"),window.scrollBy({top:e,left:0,behavior:"smooth"}),window.removeEventListener("scroll",d),_.off(),a.parentElement.classList.remove("my-stick")):(0!==e?(window.scrollBy({top:e,left:0,behavior:"smooth"}),window.addEventListener("scroll",d)):(window.scrollBy({top:e,left:0,behavior:"smooth"}),_.on()),t.classList.toggle("open"),t.parentElement.classList.toggle("open"),document.body.classList.toggle("jump-to-open"),a.parentElement.classList.add("my-stick"))}),e.addEventListener("click",function(t){u.click()});function p(){"mobile"===b()&&i||"tablet"===b()&&i?i.destroy():"desktop"===b()&&(i&&i.destroy(),setTimeout(function(){i=new w.a(f,t.defaults.flicktyOptitions)},500)),v()}function h(){t.element.parentNode.style.height="".concat(t.element.clientHeight,"px")}var v=function(){c.style.width=l?"".concat(s.clientWidth-l.clientWidth,"px"):"100%";var e=0;z(c.querySelectorAll("li")).map(function(t){return e+=t.clientWidth}
7408),e>c.clientWidth?c.classList.add("scrolling-required"):c.classList.remove("scrolling-required")},r=(v(),window.addEventListener("orientationchange",function(t){_.off();var e=document.getElementById("jump-to");e.classList.remove("open"),e.parentElement.classList.remove("open"),document.body.classList.remove("jump-to-open"),a.parentElement.classList.remove("my-stick"),h(),p()},!1),window.addEventListener("resize",function(){h(),p()},!1),h(),new Waypoint({element:this.element.parentNode,handler:function(t){"down"===t?(this.element.classList.add("stick"),this.element.classList.remove("non-stick")):(this.element.classList.remove("stick"),this.element.classList.add("non-stick"))}}),"mobile"!==b()&&"tablet"!==b()&&(i=new w.a(f,this.defaults.flicktyOptitions)),z(document.querySelectorAll(".ipn__n li a"))),m="";function g(t,e){var n,t=document.querySelectorAll("a[href='#".concat(t,"']"))[0],r=z(document.querySelectorAll(".ipn__n .active"));t&&(n=[].slice.call(t.parentNode.parentNode.children).indexOf(t.parentNode),n=e||0===n?n:n-1,i&&i.select(n)),e?(r.map(function(t){return t.classList.remove("active")}),t&&t.parentNode&&t.parentNode.classList.add("active")):(r.map(function(t){return t.classList.remove("active")}),t&&t.parentNode&&t.parentNode.previousElementSibling&&t.parentNode.previousElementSibling.classList.add("active"))}function y(t){function e(t){return Math.floor(t.getBoundingClientRect().top)}var n,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:null,i=document.querySelectorAll(".ipn__w .btn--primary")[0],o=0,a=(t.preventDefault(),"mobile"!==b()&&"tablet"!==b()||(u.click(),o=void 0===i?-56:0),(r||this).getAttribute("href")),s=document.querySelector(a);s&&(t="mobile"===b()?112:64,i=e(s)-t-o,window.scrollBy({top:i,left:0,behavior:"smooth"}),n=setInterval(function(){window.innerHeight,window.pageYOffset,document.body.offsetHeight;0===e(s)&&(s.tabIndex="-1",s.focus(),window.history.pushState("","",a),clearInterval(n))},100))}r.map(function(t){return m+="".concat(t.getAttribute("href"),",")}),(m=z(document.querySelectorAll(m.slice(0,-1)))).map(function(e){return new Waypoint({element:document.getElementById(e.id),handler:function(t){g(e.id,"down"===t)},offset:function(){return"mobile"===b()?112:64}})}),F.a.polyfill(),document.querySelectorAll(".scroll").forEach(function(t){return t.onclick=y})}}])&&V(t.prototype,n),r&&V(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function Y(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var G=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.element=t,this.defaults={flicktyOptitions:{cellAlign:"left",contain:!0,pageDots:!1,prevNextButtons:!1}}}var t,n,r;return t=e,(n=[{key:"init",value:function(){var t=this.element.getElementsByTagName("ul")[0];new w.a(t,this.defaults.flicktyOptitions)}}])&&Y(t.prototype,n),r&&Y(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function K(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var X=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="header",i="nav-login",o="login--open",a="mask-on",s="mask-header",e=".login__area",n="login__form",c="login__btn-close",l="login__btn-submit",r='[name="userid"]',u='[name="password"]',f="js-has-value",d="input-error",p=(document.querySelectorAll(e)[0],document.getElementById(n)),h=document.getElementsByTagName(t)[0],v=h.querySelectorAll(r)[0],m=h.querySelectorAll(u)[0],g=document.getElementById(s);document.addEventListener("click",function(t){var e,n,r;return t.target.parentNode.classList.contains(i)?(n=document.getElementsByClassName("sb--open").length,e=document.getElementsByClassName("search-bar__btn-close")[0],n&&e.click(),t.preventDefault(),h.classList.toggle(o),g.classList.toggle(a),v.focus()):t.target.classList.contains(c)||t.target.parentNode.classList.contains(c)||t.target.id===s?(t.preventDefault(),h.classList.remove(o),g.classList.remove(a)):t.target.classList.contains(l)&&(v.setAttribute(f,(n=function(t){return t.value.length?"true":"false"})(v)),m.setAttribute(f,n(m)),t.preventDefault(),"false"===v.getAttribute(f)?1<=!v.parentNode.querySelectorAll(".".concat(d)).length&&(v.parentNode.classList.add("amp-input--error"),v.insertAdjacentHTML("afterend",'<div class="input-error"><span class="amp-icon-cancel-circle"></span><span>Username is a required field</span></div>
7408')):(v.parentNode.querySelectorAll(".".concat(d)).forEach(function(t){return t.remove()}),v.parentNode.classList.remove("amp-input--error")),"false"!==m.getAttribute(f)&&m.hasAttribute(f)?(m.parentNode.querySelectorAll(".".concat(d)).forEach(function(t){return t.remove()}),m.parentNode.classList.remove("amp-input--error")):1<=!m.parentNode.querySelectorAll(".".concat(d)).length&&(m.parentNode.classList.add("amp-input--error"),m.insertAdjacentHTML("afterend",'<div class="input-error"><span class="amp-icon-cancel-circle"></span><span>Password is a required field</span></div>')),1<=!v.parentNode.querySelectorAll(".".concat(d)).length&&1<=!m.parentNode.querySelectorAll(".".concat(d)).length&&(r=document.querySelector("#gCaptcha-sitekey").value,grecaptcha.ready(function(){grecaptcha.execute(r,{action:"login"}).then(function(t){document.getElementById("gCaptcha").value=t,p.submit()})}))),!0},!1)}}])&&K(e.prototype,n),r&&K(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function J(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Q=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var n,r,i,o,a,s,e,t="login-form-personal",c="#loginPersonalSubmit",l="#portal-username",u="#portal-password",f="js-has-value",d="input-error",p="#gCaptcha-sitekey",h="gCaptchaPortal",v=document.getElementById(t);function m(t){t.isAutofilled=!1,t.removeAttribute("autofilled"),t.classList.remove(o),t.classList.remove(a),t.parentNode.classList.remove(s)}function g(t){var e=t.target;return"onAutoFillStart"!==t.animationName?m(e):((t=e).isAutofilled=!1,t.setAttribute("autofilled",""),t.classList.add(o),t.classList.add(a),void t.parentNode.classList.add(s))}function y(t){var e="filter"===t.propertyName&&getComputedStyle(t.target).filter.match(i);e&&(e[1]?(e=t.target).isAutofilled||(e.isAutofilled=!0,e.setAttribute("autofilled",""),e.classList.add(o),e.classList.add(a),e.parentNode.classList.add(s),e.dispatchEvent(new CustomEvent("autofill",{bubbles:!0}))):(e=t.target).isAutofilled&&(e.isAutofilled=!1,e.removeAttribute("autofilled"),e.classList.add(o),e.classList.add(a),e.parentNode.classList.add(s),e.dispatchEvent(new CustomEvent("autofillcancel",{bubbles:!0}))))}v&&(n=v.querySelector(l),r=v.querySelector(u),i=/^grayscale\(.+\) brightness\((1)?.*\) contrast\(.+\) invert\(.+\) sepia\(.+\) saturate\(.+\)$/,o="is-autofilled",a="focus",n.addEventListener("animationstart",g,!(s="focus__p")),n.addEventListener("ontransitionstart",y,!1),r.addEventListener("animationstart",g,!1),r.addEventListener("ontransitionstart",y,!1),e=function(t){t.isAutofilled=!0,t.setAttribute("autofilled",""),t.classList.add(o),t.classList.add(a),t.parentNode.classList.add(s),t.dispatchEvent(new CustomEvent("autofill",{bubbles:!0}))},(t=function(i){return new Promise(function(e,t){var n=document.querySelector(i),r=!1;n.addEventListener("input",function(t){t.target.isAutoFilledByBrowser=!1===r,e(t.target)}),n.addEventListener("keydown",function(t){r=!0})})})(l).then(function(t){!0===t.isAutoFilledByBrowser&&e(t)}),t(u).then(function(t){!0===t.isAutoFilledByBrowser&&e(t)}),document.addEventListener("click",function(t){var e;return-1<t.target.id.indexOf(c)&&(t.preventDefault(),"false"===n.getAttribute(f)?1<=!n.parentNode.querySelectorAll(".".concat(d)).length&&(n.parentNode.classList.add("amp-input--error"),n.insertAdjacentHTML("afterend",'<div class="input-error"><span class="amp-icon-cancel-circle"></span><span>Username is a required field</span></div>')):(n.parentNode.querySelectorAll(".".concat(d)).forEach(function(t){return t.remove()}),n.parentNode.classList.remove("amp-input--error")),"false"!==r.getAttribute(f)&&r.hasAttribute(f)?(r.parentNode.querySelectorAll(".".concat(d)).forEach(function(t){return t.remove()}),r.parentNode.classList.remove("amp-input--error")):1<=!r.parentNode.querySelectorAll(".".concat(d)).length&&(r.parentNode.classList.add("amp-input--error"),r.insertAdjacentHTML("afterend",'<div class="input-error"><span class="amp-icon-cancel-circle"></span><span>Password is a required field</span></div>')),1<=!n.parentNode.querySelectorAll(".".concat(d)).length&&1<=!r.parentNode.querySelectorAll(".".concat(d)).length&&(e=document.querySelector(p).value,grecaptcha.ready(function(){gre
7408captcha.execute(e,{action:"login"}).then(function(t){document.getElementById(h).value=t,v.submit()})}))),!0},!1))}}])&&J(e.prototype,n),r&&J(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Z(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var tt=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){function e(t){t.preventDefault(),o.classList.toggle(i.searchBarOpen),o.classList.toggle(i.showSearchSuggestions),s.classList.toggle(i.maskOn),a.focus(),c.classList.toggle(i.open),f.value="",r.handleSearchSuggestion(f,d,l,u,i)}function n(){var t,e;""!==f.value&&(e=void 0!==window.aemHostURL?"".concat(window.aemHostURL,"/search"):f.getAttribute("data-surl"),t=$("<div>").html(f.value).text(),e="".concat(e,"#stq=").concat(t),window.location=e,p())}var r=this,i={header:"header",searchForm:"search-bar",searchBar:'[title="search"]',searchBarBtn:"search-bar__btn",searchBarBtnClose:"search-bar__btn-close",searchBarOpen:"search-bar--open",searchBarInput:"search-bar__input",searchSuggestionsInput:"search-suggestions__input",showSearchSuggestions:"show-search-suggestions",searchSuggestions:"search-suggestions",searchSuggestionsActive:"search-suggestions--active",mask:"mask-body",maskOn:"mask-on",open:"sb--open"},t=document.createElement("div"),o=(t.id=i.mask,document.body.appendChild(t),document.getElementsByTagName(i.header)[0]),a=document.querySelectorAll(i.searchBar)[0],s=document.getElementById(i.mask),c=document.body,l=2,u=5,f=document.getElementsByClassName(i.searchSuggestionsInput)[0],t=f?$("<div>").html(f.getAttribute("data-skey")).text():"",d="https://api.swiftype.com/api/v1/public/engines/suggest.json?engine_key=".concat(t),p=function(){console.log("search bar closed"),o.classList.remove(i.searchBarOpen),o.classList.remove(i.showSearchSuggestions),s.classList.remove(i.maskOn),c.classList.remove(i.open),f.value="",r.handleSearchSuggestion(f,d,l,u,i)};document.addEventListener("click",function(t){o.classList.contains(i.searchBarOpen)||!t.target.classList.contains(i.searchBarBtn)&&!t.target.parentNode.classList.contains(i.searchBarBtn)?o.classList.contains(i.searchBarOpen)&&(t.target.classList.contains(i.searchBarBtn)||t.target.parentNode.classList.contains(i.searchBarBtn))?(t.preventDefault(),n()):t.target.classList.contains(i.searchBarBtnClose)||t.target.parentNode.classList.contains(i.searchBarBtnClose)?e(t):t.target.id===i.mask&&p():e(t)},!1),f&&(f.addEventListener("keyup",this.delay(function(){r.handleSearchSuggestion(f,d,l,u,i)},300)),f.addEventListener("keydown",function(t){"Enter"===t.key&&(t.preventDefault(),n())}))}},{key:"handleSearchSuggestion",value:function(t,e,n,r,o){var a=this,s=$("<div>").html(t.value.trim()).text();s.length>=n?(t="".concat(e,"&q=").concat(s),D(t+="&per_page=".concat(r),function(t){try{var e,n,r,i=JSON.parse(t).records.page;i?(n=(e=document.getElementsByClassName(o.searchSuggestions)[0]).getElementsByTagName("ul")[0],r="",1<=i.length?(i.forEach(function(t){r+="<li><a href=".concat(t.url,">").concat(t.title,"</a></li>")}),n.innerHTML=r):n.innerHTML='<div class="search-suggestions__nr">\n <p class="h3">No results found for \''.concat(s,"'.</p>\n <p><strong>Some things you could try</strong></p>\n <ul><li>Check your spelling</li><li>Try a different search term</li></ul>\n </div>"),e.classList.add(o.searchSuggestionsActive)):a.disableSearchSuggestion(o)}catch(t){a.disableSearchSuggestion(o)}})):this.disableSearchSuggestion(o)}},{key:"disableSearchSuggestion",value:function(t){document.getElementsByClassName(t.searchSuggestions)[0].classList.remove(t.searchSuggestionsActive)}},{key:"delay",value:function(r,i){var o=this,a=0;return function(){clearTimeout(a);for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];a=setTimeout(r.bind.apply(r,[o].concat(e)),i||0)}}}])&&Z(e.prototype,n),r&&Z(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),_t=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],ft={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(t){return"undefined"!=typeof console&&console.warn(t)},getWeek:function(t){var t=new Date(t.getTime()),e=(t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7),new Date(t.getFullYear(),0,4));return 1+Math.round(((t.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewB
7408ox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},et={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(t){t%=100;if(3<t&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},xt=et,dt=function(t,e){return("000"+t).slice(-1*(e=void 0===e?2:e))},pt=function(t){return!0===t?1:0};function St(n,r){var i;return function(){var t=this,e=arguments;clearTimeout(i),i=setTimeout(function(){return n.apply(t,e)},r)}}var Et=function(t){return t instanceof Array?t:[t]};function ht(t,e,n){if(!0===n)return t.classList.add(e);t.classList.remove(e)}function vt(t,e,n){t=window.document.createElement(t);return n=n||"",t.className=e=e||"",void 0!==n&&(t.textContent=n),t}function Ct(t){for(;t.firstChild;)t.removeChild(t.firstChild)}function kt(t,e){var n=vt("div","numInputWrapper"),r=vt("input","numInput "+t),t=vt("span","arrowUp"),i=vt("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?r.type="number":(r.type="text",r.pattern="\\d*"),void 0!==e)for(var o in e)r.setAttribute(o,e[o]);return n.appendChild(r),n.appendChild(t),n.appendChild(i),n}function mt(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}function nt(){}var At=function(t,e,n){return n.months[e?"shorthand":"longhand"][t]},rt={D:nt,F:function(t,e,n){t.setMonth(n.months.longhand.indexOf(e))},G:function(t,e){t.setHours((12<=t.getHours()?12:0)+parseFloat(e))},H:function(t,e){t.setHours(parseFloat(e))},J:function(t,e){t.setDate(parseFloat(e))},K:function(t,e,n){t.setHours(t.getHours()%12+12*pt(new RegExp(n.amPM[1],"i").test(e)))},M:function(t,e,n){t.setMonth(n.months.shorthand.indexOf(e))},S:function(t,e){t.setSeconds(parseFloat(e))},U:function(t,e){return new Date(1e3*parseFloat(e))},W:function(t,e,n){e=parseInt(e),t=new Date(t.getFullYear(),0,2+7*(e-1),0,0,0,0);return t.setDate(t.getDate()-t.getDay()+n.firstDayOfWeek),t},Y:function(t,e){t.setFullYear(parseFloat(e))},Z:function(t,e){return new Date(e)},d:function(t,e){t.setDate(parseFloat(e))},h:function(t,e){t.setHours((12<=t.getHours()?12:0)+parseFloat(e))},i:function(t,e){t.setMinutes(parseFloat(e))},j:function(t,e){t.setDate(parseFloat(e))},l:nt,m:function(t,e){t.setMonth(parseFloat(e)-1)},n:function(t,e){t.setMonth(parseFloat(e)-1)},s:function(t,e){t.setSeconds(parseFloat(e))},u:function(t,e){return new Date(parseFloat(e))},w:nt,y:function(t,e){t.setFullYear(2e3+parseFloat(e))}},gt={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},s={Z:function(t){return t.toISOString()},D:function(t,e,n){return e.weekdays.shorthand[s.w(t,e,n)]},F:function(t,e,n){return At(s.n(t,e,n)-1,!1,e)},G:function(t,e,n){return dt(s.h(t,e,n))},H:function(t){return dt(t.getHours())},J:function(t,e){return void 0!==e.ordinal?t.getDate()+e.ordinal(t.getDate()):t.getDate()},K:function(t,e){return e.amPM[pt(11<t.getHours())]},M:function(t,e){return At(t.getMonth(),!0,e)},S:function(t){return dt(t.getSeconds())},U:function(t){return t.getTime()/1e3},W:function(t,e,n){return n.getWeek(t)},Y:function(t){return dt(t.getFullYear(),4)},d:function(t){return dt(t.getDate())},h:function(t){return t.getHours()%12?t.getHours()%12:12},i:function(t){return dt(t.getMinutes())},j:function(t){return t.getDate()},l:function(t,e){return e.weekdays.longhand[t.getDay()]},m:function(t){return dt(t.getMonth()+1)},n:function(t){return t.getMonth()+1},s:function(t){return t.getSeconds()},u:function(t){return t.getTime()},w:function(t){return t.getDay()},y:function(t){return String(t.getFullYear()).substring(2)}},Ot=function(t){var e=t.config,o=void 0===e?ft:e,e=t.l10n,n=void 0===e?et:e,e=t.isMobile,a=void 0!==e&&e;return function(r,t,e){var i=e||n;return void 0===o.formatDate||a?t.split("").map(function(t,e,n){return s[t]&&"\\"!==n[e-1]?s[t](r,i,o):"\\"!==t?t:""}).join(""):o.formatDate(r,t,i)}},Dt=function(t){var e=t.config,v=void 0===e?ft:e,e=t.l10n,m=void 0===e?et:e;return function(t,e,n,r){if(0===t||t){var i,o=r||m,r=t;if(t instanceof Date)i=new Date(t.getTime());else if("string"!=typeof t&&void 0!==t.toFixed)i=new Date(t);else if("string"==typeof t){var a=e||(v||ft).dateFormat,e=String(t).trim();if("today"===e)i=new Date,n=!0;else if(v&&v.parseDate)i=v.parseDate(t,a);else if(/Z$/.test(e)||/GMT$/.test(e))i=new Date(t);else{for(var s=void 0,c=[],l=0,u=0,f="";l<a.length;l++){var d=a[l],p="\\"===d,h="\\"===a[l-1]||p;gt[d]&&!h?(f+=gt[d],(h=new RegExp(f).exec(t))&&(s=!0)&&c["Y"!==d?"push":"unshift"]({fn:rt[d],val:h[++u]})):p||(f+=".")}i=v&&v.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),c.forEac
7408h(function(t){var e=t.fn,t=t.val;return i=e(i,t,o)||i}),i=s?i:void 0}}if(i instanceof Date&&!isNaN(i.getTime()))return!0===n&&i.setHours(0,0,0,0),i;v.errorHandler(new Error("Invalid date provided: "+r))}}};function yt(t,e,n){return!1!==(n=void 0===n?!0:n)?new Date(t.getTime()).setHours(0,0,0,0)-new Date(e.getTime()).setHours(0,0,0,0):t.getTime()-e.getTime()}var Lt=function(t,e,n){return t>Math.min(e,n)&&t<Math.max(e,n)},Mt=function(t,e,n){return 3600*t+60*e+n},Tt=function(t){var e=Math.floor(t/3600),n=(t-3600*e)/60;return[e,n,t-3600*e-60*n]},Pt={DAY:864e5};function It(t){var e,n,r,i=t.defaultHour,o=t.defaultMinute,a=t.defaultSeconds;return void 0!==t.minDate&&(n=t.minDate.getHours(),r=t.minDate.getMinutes(),e=t.minDate.getSeconds(),(i=i<n?n:i)===n&&o<r&&(o=r),i===n&&o===r&&a<e&&(a=t.minDate.getSeconds())),void 0!==t.maxDate&&(n=t.maxDate.getHours(),r=t.maxDate.getMinutes(),(i=Math.min(i,n))===n&&(o=Math.min(r,o)),i===n&&o===r&&(a=t.maxDate.getSeconds())),{hours:i,minutes:o,seconds:a}}i(149);var bt=function(){return(bt=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++)for(var i in e=arguments[n])Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t}).apply(this,arguments)},jt=function(){for(var t=0,e=0,n=arguments.length;e<n;e++)t+=arguments[e].length;for(var r=Array(t),i=0,e=0;e<n;e++)for(var o=arguments[e],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r},Nt=300;function it(l,N){var v={config:bt(bt({},ft),wt.defaultConfig),l10n:xt};function F(){var t;return(null==(t=v.calendarContainer)?void 0:t.getRootNode()).activeElement||document.activeElement}function $(t){return t.bind(v)}function R(){var e=v.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame(function(){var t;void 0!==v.calendarContainer&&(v.calendarContainer.style.visibility="hidden",v.calendarContainer.style.display="block"),void 0!==v.daysContainer&&(t=(v.days.offsetWidth+1)*e.showMonths,v.daysContainer.style.width=t+"px",v.calendarContainer.style.width=t+(void 0!==v.weekWrapper?v.weekWrapper.offsetWidth:0)+"px",v.calendarContainer.style.removeProperty("visibility"),v.calendarContainer.style.removeProperty("display"))})}function u(t){0===v.selectedDates.length&&(i=void 0===v.config.minDate||0<=yt(new Date,v.config.minDate)?new Date:new Date(v.config.minDate.getTime()),o=It(v.config),i.setHours(o.hours,o.minutes,o.seconds,i.getMilliseconds()),v.selectedDates=[i],v.latestSelectedDateObj=i),void 0!==t&&"blur"!==t.type&&((o=t).preventDefault(),i="keydown"===o.type,e=t=mt(o),void 0!==v.amPM&&t===v.amPM&&(v.amPM.textContent=v.l10n.amPM[pt(v.amPM.textContent===v.l10n.amPM[0])]),t=parseFloat(e.getAttribute("min")),s=parseFloat(e.getAttribute("max")),n=parseFloat(e.getAttribute("step")),r=parseInt(e.value,10),i=o.delta||(i?38===o.which?1:-1:0),o=r+n*i,void 0!==e.value&&2===e.value.length&&(i=e===v.hourElement,a=e===v.minuteElement,o<t?(o=s+o+pt(!i)+(pt(i)&&pt(!v.amPM)),a&&d(void 0,-1,v.hourElement)):s<o&&(o=e===v.hourElement?o-s-pt(!v.amPM):t,a&&d(void 0,1,v.hourElement)),v.amPM&&i&&(1===n?o+r===23:Math.abs(o-r)>n)&&(v.amPM.textContent=v.l10n.amPM[pt(v.amPM.textContent===v.l10n.amPM[0])]),e.value=dt(o)));var e,n,r,i,o,a,s=v._input.value;f(),O(),v._input.value!==s&&v._debouncedChange()}function f(){var t,e,n,r,i,o,a;void 0!==v.hourElement&&void 0!==v.minuteElement&&(n=(parseInt(v.hourElement.value.slice(-2),10)||0)%24,r=(parseInt(v.minuteElement.value,10)||0)%60,i=void 0!==v.secondElement?(parseInt(v.secondElement.value,10)||0)%60:0,void 0!==v.amPM&&(t=n,e=v.amPM.textContent,n=t%12+12*pt(e===v.l10n.amPM[1])),t=void 0!==v.config.minTime||v.config.minDate&&v.minDateHasTime&&v.latestSelectedDateObj&&0===yt(v.latestSelectedDateObj,v.config.minDate,!0),e=void 0!==v.config.maxTime||v.config.maxDate&&v.maxDateHasTime&&v.latestSelectedDateObj&&0===yt(v.latestSelectedDateObj,v.config.maxDate,!0),void 0!==v.config.maxTime&&void 0!==v.config.minTime&&v.config.minTime>v.config.maxTime?(o=Mt(v.config.minTime.getHours(),v.config.minTime.getMinutes(),v.config.minTime.getSeconds()),Mt(v.config.maxTime.getHours(),v.config.maxTime.getMinutes(),v.config.maxTime.getSeconds())<(a=Mt(n,r,i))&&a<o&&(n=(a=Tt(o))[0],r=a[1],i=a[2])):(e&&(o=void 0!==v.config.maxTime?v.config.maxTime:v.config.maxDate,(r=(n=Math.min(n,o.getHours()))===o.getHours()?Math.min(r,o.getMinutes()):r)===o.getMinutes()&&(i=Math.min(i,o.getSeconds()))),t&&(a=void 0!==v.config.minTime?v.config.minTime:v.config.minDate,(r=(n=Math.max(n,a.getHours()))===a.getHours()&&r<a.getMinutes()?a.getMinutes():r)===a.getMinutes()&&(i=Math.max(i,a.getSeconds())))),s(n,r,i))}function r(t){t=t||v.latestSelectedDateObj;t&&t instanceof Date&&s(t.getHours(),t.getMinutes(),t.getSeconds())}function s(t,e,n){void 0!==v.latestSelectedDateObj&&v.latestSelectedDateObj.setHours(t%24,e,n||0,0),v.hourElement&&v.minuteElement&&!v.isMobile&&(v.hourElement.value=dt(v.config.time_24hr?t:(12+t)%12+12*pt(t%12==0)),v.minuteElement.value=dt(e),void 0!==v.amPM&&(v.amPM.textContent=v.l10n.amPM[pt(12<=t)]),void 0!==v.secondElement&&(v.secondElement.value=dt(n)))}function B(t){var e=mt(t),e=parseInt(e.value)+(t.delta||0);(1<e/1e3||"Enter"===t.key&&!/[^\d]/.test(e.toString()))&&_(e)}
7408function c(e,n,r,i){return n instanceof Array?n.forEach(function(t){return c(e,t,r,i)}):e instanceof Array?e.forEach(function(t){return c(t,n,r,i)}):(e.addEventListener(n,r,i),void v._handlers.push({remove:function(){return e.removeEventListener(n,r,i)}}))}function H(){k("onChange")}function i(e,t){var e=void 0!==e?v.parseDate(e):v.latestSelectedDateObj||(v.config.minDate&&v.config.minDate>v.now?v.config.minDate:v.config.maxDate&&v.config.maxDate<v.now?v.config.maxDate:v.now),n=v.currentYear,r=v.currentMonth;try{void 0!==e&&(v.currentYear=e.getFullYear(),v.currentMonth=e.getMonth())}catch(t){t.message="Invalid date supplied: "+e,v.config.errorHandler(t)}t&&v.currentYear!==n&&(k("onYearChange"),h()),!t||v.currentYear===n&&v.currentMonth===r||k("onMonthChange"),v.redraw()}function q(t){var e=mt(t);~e.className.indexOf("arrow")&&d(t,e.classList.contains("arrowUp")?1:-1)}function d(t,e,n){t=t&&mt(t),n=n||t&&t.parentNode&&t.parentNode.firstChild,t=ot("increment");t.delta=e,n&&n.dispatchEvent(t)}function p(t,e,n,r){var i=x(e,!0),o=vt("span",t,e.getDate().toString());return o.dateObj=e,o.$i=r,o.setAttribute("aria-label",v.formatDate(e,v.config.ariaDateFormat)),-1===t.indexOf("hidden")&&0===yt(e,v.now)&&((v.todayDateElem=o).classList.add("today"),o.setAttribute("aria-current","date")),i?(o.tabIndex=-1,at(e)&&(o.classList.add("selected"),v.selectedDateElem=o,"range"===v.config.mode&&(ht(o,"startRange",v.selectedDates[0]&&0===yt(e,v.selectedDates[0],!0)),ht(o,"endRange",v.selectedDates[1]&&0===yt(e,v.selectedDates[1],!0)),"nextMonthDay"===t&&o.classList.add("inRange")))):o.classList.add("flatpickr-disabled"),"range"===v.config.mode&&(i=e,"range"!==v.config.mode||v.selectedDates.length<2||!(0<=yt(i,v.selectedDates[0])&&yt(i,v.selectedDates[1])<=0)||at(e)||o.classList.add("inRange")),v.weekNumbers&&1===v.config.showMonths&&"prevMonthDay"!==t&&r%7==6&&v.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+v.config.getWeek(e)+"</span>"),k("onDayCreate",o),o}function m(t){t.focus(),"range"===v.config.mode&&a(t)}function g(t){for(var e=0<t?0:v.config.showMonths-1,n=0<t?v.config.showMonths:-1,r=e;r!=n;r+=t)for(var i=v.daysContainer.children[r],o=0<t?0:i.children.length-1,a=0<t?i.children.length:-1,s=o;s!=a;s+=t){var c=i.children[s];if(-1===c.className.indexOf("hidden")&&x(c.dateObj))return c}}function y(t,e){var n=F(),r=S(n||document.body),t=void 0!==t?t:r?n:void 0!==v.selectedDateElem&&S(v.selectedDateElem)?v.selectedDateElem:void 0!==v.todayDateElem&&S(v.todayDateElem)?v.todayDateElem:g(0<e?1:-1);if(void 0===t)v._input.focus();else if(r){for(var i=t,o=e,a=-1===i.className.indexOf("Month")?i.dateObj.getMonth():v.currentMonth,s=0<o?v.config.showMonths:-1,c=0<o?1:-1,l=a-v.currentMonth;l!=s;l+=c)for(var u=v.daysContainer.children[l],f=a-v.currentMonth===l?i.$i+o:o<0?u.children.length-1:0,d=u.children.length,p=f;0<=p&&p<d&&p!=(0<o?d:-1);p+=c){var h=u.children[p];if(-1===h.className.indexOf("hidden")&&x(h.dateObj)&&Math.abs(i.$i-p)>=Math.abs(o))return void m(h)}v.changeMonth(c),y(g(c),0)}else m(t)}function o(){if(void 0!==v.daysContainer){Ct(v.daysContainer),v.weekNumbers&&Ct(v.weekNumbers);for(var t=document.createDocumentFragment(),e=0;e<v.config.showMonths;e++){var n=new Date(v.currentYear,v.currentMonth,1);n.setMonth(v.currentMonth+e),t.appendChild(function(t,e){for(var n=(new Date(t,e,1).getDay()-v.l10n.firstDayOfWeek+7)%7,r=v.utils.getDaysInMonth((e-1+12)%12,t),i=v.utils.getDaysInMonth(e,t),o=window.document.createDocumentFragment(),a=1<v.config.showMonths,s=a?"prevMonthDay hidden":"prevMonthDay",c=a?"nextMonthDay hidden":"nextMonthDay",l=r+1-n,u=0;l<=r;l++,u++)o.appendChild(p("flatpickr-day "+s,new Date(t,e-1,l),0,u));for(l=1;l<=i;l++,u++)o.appendChild(p("flatpickr-day",new Date(t,e,l),0,u));for(var f=i+1;f<=42-n&&(1===v.config.showMonths||u%7!=0);f++,u++)o.appendChild(p("flatpickr-day "+c,new Date(t,e+1,f%i),0,u));return(a=vt("div","dayContainer")).appendChild(o),a}(n.getFullYear(),n.getMonth()))}v.daysContainer.appendChild(t),v.days=v.daysContainer.firstChild,"range"===v.config.mode&&1===v.selectedDates.length&&a()}}function h(){if(!(1<v.config.showMonths||"dropdown"!==v.config.monthSelectorType)){v.monthsDropdownContainer.tabIndex=-1,v.monthsDropdownContainer.innerHTML="";for(var t,e=0;e<12;e++)t=e,void 0!==v.config.minDate&&v.currentYear===v.config.minDate.getFullYear()&&t<v.config.minDate.getMonth()||void 0!==v.config.maxDate&&v.currentYear===v.config.maxDate.getFullYear()&&t>v.config.maxDate.getMonth()||((t=vt("option","flatpickr-monthDropdown-month")).value=new Date(v.currentYear,e).getMonth().toString(),t.textContent=At(e,v.config.shorthandCurrentMonth,v.l10n),t.tabIndex=-1,v.currentMonth===e&&(t.selected=!0),v.monthsDropdownContainer.appendChild(t))}}function z(){Ct(v.monthNav),v.monthNav.appendChild(v.prevMonthNav),v.config.showMonths&&(v.yearElements=[],v.monthElements=[]);for(var t,e,n,r,i,o=v.config.showMonths;o--;){i=r=a=n=e=t=void 0,t=vt("div","flatpickr-month"),e=window.document.createDocumentFragment(),n=1<v.config.showMonths||"static"===v.config.monthSelectorType?vt("span","cur-month"):(v.monthsDropdownContainer=vt("select","flatpickr-monthDropdown-months"),v.monthsDropdownContainer.setAttribute("aria-label",v.l10n.monthAriaLabel),c(v.monthsDropdownContainer,"change",function(t){t=mt(t),t=parseInt(t.value,10);v.changeMonth(t-v.currentMonth),k("onMonthChange")}),h(),v.monthsDropdownContainer),a=kt("cur-year",{tabindex:"-1"}),(r=a.getElementsByTagName("input")[0]).setAttribute("aria-label",v.l10n.yearAriaLabel),v.config.minDate&&r.setAttribute("min",v.config.minDate.getFullYear().toString()),v.config.maxDate&&(r.setAttribute("max",v.config.maxDate.getFullYear().toString()),r.disabled=!!v.config.minDate&&v.config.minDate.getFullYear()===v.config.maxDate.getFullYear()),(i=vt("div","flatpickr-current-month")).appendChild(n),i.appendChild(a),e.appendChild(i),t.appendChild(e);var a={container:t,yearElement:r,monthElement:n};v.yearElements.push(a.yearElement),v.monthElements.push(a.monthElement),v.monthNav.appendChild(a.container)}v.monthNav.appendChild(v.nextMonthNav)}function W(){v.weekdayContainer?Ct(v.weekdayContainer):v.weekdayContainer=vt("div","flatpickr-weekdays");for(var t=v.config.showMonths;t--;){var e=vt("div","flatpickr-weekdaycontainer");v.weekdayContainer.appendChild(e)}return V(),v.weekdayContainer}function V(){if(v.weekdayContainer){var t=v.l10n.firstDayOfWeek,e=jt(v.l10n.weekdays.shorthand);0<t&&t<e.length&&(e=jt(e.splice(t,e.length),e.splice(0,t)));for(var n=v.config.showMonths;n--;
7408)v.weekdayContainer.children[n].innerHTML="\n <span class='flatpickr-weekday'>\n "+e.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function b(t,e){e=(e=void 0===e?!0:e)?t:t-v.currentMonth;e<0&&!0===v._hidePrevMonthArrow||0<e&&!0===v._hideNextMonthArrow||(v.currentMonth+=e,(v.currentMonth<0||11<v.currentMonth)&&(v.currentYear+=11<v.currentMonth?1:-1,v.currentMonth=(v.currentMonth+12)%12,k("onYearChange"),h()),o(),k("onMonthChange"),A())}function w(t){return v.calendarContainer.contains(t)}function U(t){var e,n;v.isOpen&&!v.config.inline&&(n=w(e=mt(t)),n=!(e===v.input||e===v.altInput||v.element.contains(e)||t.path&&t.path.indexOf&&(~t.path.indexOf(v.input)||~t.path.indexOf(v.altInput)))&&!n&&!w(t.relatedTarget),t=!v.config.ignoredFocusElements.some(function(t){return t.contains(e)}),n&&t&&(v.config.allowInput&&v.setDate(v._input.value,!1,v.config.altInput?v.config.altFormat:v.config.dateFormat),void 0!==v.timeContainer&&void 0!==v.minuteElement&&void 0!==v.hourElement&&""!==v.input.value&&void 0!==v.input.value&&u(),v.close(),v.config&&"range"===v.config.mode&&1===v.selectedDates.length&&v.clear(!1)))}function _(t){var e;!t||v.config.minDate&&t<v.config.minDate.getFullYear()||v.config.maxDate&&t>v.config.maxDate.getFullYear()||(e=v.currentYear!==t,v.currentYear=t||v.currentYear,v.config.maxDate&&v.currentYear===v.config.maxDate.getFullYear()?v.currentMonth=Math.min(v.config.maxDate.getMonth(),v.currentMonth):v.config.minDate&&v.currentYear===v.config.minDate.getFullYear()&&(v.currentMonth=Math.max(v.config.minDate.getMonth(),v.currentMonth)),e&&(v.redraw(),k("onYearChange"),h()))}function x(t,e){var n=v.parseDate(t,void 0,e=void 0===e?!0:e);if(v.config.minDate&&n&&yt(n,v.config.minDate,void 0!==e?e:!v.minDateHasTime)<0||v.config.maxDate&&n&&0<yt(n,v.config.maxDate,void 0!==e?e:!v.maxDateHasTime))return!1;if(!v.config.enable&&0===v.config.disable.length)return!0;if(void 0===n)return!1;for(var r,i=!!v.config.enable,o=null!=(t=v.config.enable)?t:v.config.disable,a=0,s=void 0;a<o.length;a++){if("function"==typeof(s=o[a])&&s(n))return i;if(s instanceof Date&&void 0!==n&&s.getTime()===n.getTime())return i;if("string"==typeof s)return(r=v.parseDate(s,void 0,!0))&&r.getTime()===n.getTime()?i:!i;if("object"==typeof s&&void 0!==n&&s.from&&s.to&&n.getTime()>=s.from.getTime()&&n.getTime()<=s.to.getTime())return i}return!i}function S(t){return void 0!==v.daysContainer&&(-1===t.className.indexOf("hidden")&&-1===t.className.indexOf("flatpickr-disabled")&&v.daysContainer.contains(t))}function Y(t){var e=t.target===v._input,n=v._input.value.trimEnd()!==st();!e||!n||t.relatedTarget&&w(t.relatedTarget)||v.setDate(v._input.value,!0,t.target===v.altInput?v.config.altFormat:v.config.dateFormat)}function G(t){var e=mt(t),n=v.config.wrap?l.contains(e):e===v._input,r=v.config.allowInput,i=v.isOpen&&(!r||!n),o=v.config.inline&&n&&!r;if(13===t.keyCode&&n){if(r)return v.setDate(v._input.value,!0,e===v.altInput?v.config.altFormat:v.config.dateFormat),v.close(),e.blur();v.open()}else if(w(e)||i||o){var a,s=!!v.timeContainer&&v.timeContainer.contains(e);switch(t.keyCode){case 13:s?(t.preventDefault(),u(),tt()):et(t);break;case 27:t.preventDefault(),tt();break;case 8:case 46:n&&!v.config.allowInput&&(t.preventDefault(),v.clear());break;case 37:case 39:s||n?v.hourElement&&v.hourElement.focus():(t.preventDefault(),c=F(),void 0!==v.daysContainer&&(!1===r||c&&S(c))&&(c=39===t.keyCode?1:-1,t.ctrlKey?(t.stopPropagation(),b(c),y(g(1),0)):y(void 0,c)));break;case 38:case 40:t.preventDefault();var c=40===t.keyCode?1:-1;v.daysContainer&&void 0!==e.$i||e===v.input||e===v.altInput?t.ctrlKey?(t.stopPropagation(),_(v.currentYear-c),y(g(1),0)):s||y(void 0,7*c):e===v.currentYearElement?_(v.currentYear-c):v.config.enableTime&&(!s&&v.hourElement&&v.hourElement.focus(),u(t),v._debouncedChange());break;case 9:s?-1!==(a=(c=[v.hourElement,v.minuteElement,v.secondElement,v.amPM].concat(v.pluginElements).filter(function(t){return t})).indexOf(e))&&(c=c[a+(t.shiftKey?-1:1)],t.preventDefault(),(c||v._input).focus()):!v.config.noCalendar&&v.daysContainer&&v.daysContainer.contains(e)&&t.shiftKey&&(t.preventDefault(),v._input.focus())}}if(void 0!==v.amPM&&e===v.amPM)switch(t.key){case v.l10n.amPM[0].charAt(0):case v.l10n.amPM[0].charAt(0).toLowerCase():v.amPM.textContent=v.l10n.amPM[0],f(),O();break;case v.l10n.amPM[1].charAt(0):case v.l10n.amPM[1].charAt(0).toLowerCase():v.amPM.textContent=v.l10n.amPM[1],f(),O()}(n||w(e))&&k("onKeyDown",t)}function a(r,t){if(void 0===t&&(t="flatpickr-day"),1===v.selectedDates.length&&(!r||r.classList.contains(t)&&!r.classList.contains("flatpickr-disabled"))){for(var i=(r||v.days.firstElementChild).dateObj.getTime(),o=v.parseDate(v.selectedDates[0],void 0,!0).getTime(),e=Math.min(i,v.selectedDates[0].getTime()),n=Math.max(i,v.selectedDates[0].getTime()),a=!1,s=0,c=0,l=e;l<n;l+=Pt.DAY)x(new Date(l),!0)||(a=a||e<l&&l<n,l<o&&(!s||s<l)?s=l:o<l&&(!c||l<c)&&(c=l));Array.from(v.rContainer.querySelectorAll("*:nth-child(-n+"+v.config.showMonths+") >
7408 ."+t)).forEach(function(e){var t=e.dateObj.getTime(),n=0<s&&t<s||0<c&&c<t;if(n)return e.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach(function(t){e.classList.remove(t)});a&&!n||(["startRange","inRange","endRange","notAllowed"].forEach(function(t){e.classList.remove(t)}),void 0!==r&&(r.classList.add(i<=v.selectedDates[0].getTime()?"startRange":"endRange"),o<i&&t===o?e.classList.add("startRange"):i<o&&t===o&&e.classList.add("endRange"),s<=t&&(0===c||t<=c)&&Lt(t,o,i)&&e.classList.add("inRange")))})}}function K(){!v.isOpen||v.config.static||v.config.inline||E()}function X(n){return function(t){var t=v.config["_"+n+"Date"]=v.parseDate(t,v.config.dateFormat),e=v.config["_"+("min"===n?"max":"min")+"Date"];void 0!==t&&(v["min"===n?"minDateHasTime":"maxDateHasTime"]=0<t.getHours()||0<t.getMinutes()||0<t.getSeconds()),v.selectedDates&&(v.selectedDates=v.selectedDates.filter(function(t){return x(t)}),v.selectedDates.length||"min"!==n||r(t),O()),v.daysContainer&&(Z(),void 0!==t?v.currentYearElement[n]=t.getFullYear().toString():v.currentYearElement.removeAttribute(n),v.currentYearElement.disabled=!!e&&void 0!==t&&e.getFullYear()===t.getFullYear())}}function J(){return v.config.wrap?l.querySelector("[data-input]"):l}function Q(){"object"!=typeof v.config.locale&&void 0===wt.l10ns[v.config.locale]&&v.config.errorHandler(new Error("flatpickr: invalid locale "+v.config.locale)),v.l10n=bt(bt({},wt.l10ns.default),"object"==typeof v.config.locale?v.config.locale:"default"!==v.config.locale?wt.l10ns[v.config.locale]:void 0),gt.D="("+v.l10n.weekdays.shorthand.join("|")+")",gt.l="("+v.l10n.weekdays.longhand.join("|")+")",gt.M="("+v.l10n.months.shorthand.join("|")+")",gt.F="("+v.l10n.months.longhand.join("|")+")",gt.K="("+v.l10n.amPM[0]+"|"+v.l10n.amPM[1]+"|"+v.l10n.amPM[0].toLowerCase()+"|"+v.l10n.amPM[1].toLowerCase()+")",void 0===bt(bt({},N),JSON.parse(JSON.stringify(l.dataset||{}))).time_24hr&&void 0===wt.defaultConfig.time_24hr&&(v.config.time_24hr=v.l10n.time_24hr),v.formatDate=Ot(v),v.parseDate=Dt({config:v.config,l10n:v.l10n})}function E(t){var e,n,r,i,o,a;"function"==typeof v.config.position?v.config.position(v,t):void 0!==v.calendarContainer&&(k("onPreCalendarPosition"),t=t||v._positionElement,n=Array.prototype.reduce.call(v.calendarContainer.children,function(t,e){return t+e.offsetHeight},0),a=v.calendarContainer.offsetWidth,o=(r=v.config.position.split(" "))[0],r=1<r.length?r[1]:null,e=t.getBoundingClientRect(),i=window.innerHeight-e.bottom,o="above"===o||"below"!==o&&i<n&&e.top>n,i=window.pageYOffset+e.top+(o?-n-2:t.offsetHeight+2),ht(v.calendarContainer,"arrowTop",!o),ht(v.calendarContainer,"arrowBottom",o),v.config.inline||(n=window.pageXOffset+e.left,o=t=!1,"center"===r?(n-=(a-e.width)/2,t=!0):"right"===r&&(n-=a-e.width,o=!0),ht(v.calendarContainer,"arrowLeft",!t&&!o),ht(v.calendarContainer,"arrowCenter",t),ht(v.calendarContainer,"arrowRight",o),r=window.document.body.offsetWidth-(window.pageXOffset+e.right),t=n+a>window.document.body.offsetWidth,o=r+a>window.document.body.offsetWidth,ht(v.calendarContainer,"rightMost",t),v.config.static||(v.calendarContainer.style.top=i+"px",t?o?void 0!==(i=function(){for(var t=null,e=0;e<document.styleSheets.length;e++){var n=document.styleSheets[e];if(n.cssRules){try{n.cssRules}catch(t){continue}t=n;break}}return null!=t?t:function(){var t=document.createElement("style");return document.head.appendChild(t),t.sheet}()}())&&(t=window.document.body.offsetWidth,o=Math.max(0,t/2-a/2),t=i.cssRules.length,a="{left:"+e.left+"px;right:auto;}",ht(v.calendarContainer,"rightMost",!1),ht(v.calendarContainer,"centerMost",!0),i.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+a,t),v.calendarContainer.style.left=o+"px",v.calendarContainer.style.right="auto"):(v.calendarContainer.style.left="auto",v.calendarContainer.style.right=r+"px"):(v.calendarContainer.style.left=n+"px",v.calendarContainer.style.right="auto"))))}function Z(){v.config.noCalendar||v.isMobile||(h(),A(),o())}function tt(){v._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(v.close,0):v.close()}function et(t){t.preventDefault(),t.stopPropagation();var e,n,r,t=function t(e,n){return n(e)?e:e.parentNode?t(e.parentNode,n):void 0}(mt(t),function(t){return t.classList&&t.classList.contains("flatpickr-day")&&!t.classList.contains("flatpickr-disabled")&&!t.classList.contains("notAllowed")});void 0!==t&&(t=t,e=((n=v.latestSelectedDateObj=new Date(t.dateObj.getTime())).getMonth()<v.currentMonth||n.getMonth()>v.currentMonth+v.config.showMonths-1)&&"range"!==v.config.mode,v.selectedDateElem=t,"single"===v.config.mode?v.selectedDates=[n]:"multiple"===v.config.mode?(r=at(n))?v.selectedDates.splice(parseInt(r),1):v.selectedDates.push(n):"range"===v.config.mode&&(2===v.selectedDates.length&&v.clear(!1,!1),v.latestSelectedDateObj=n,v.selectedDates.push(n),0!==yt(n,v.selectedDates[0],!0)&&v.selectedDates.sort(function(t,e){return t.getTime()-e.getTime()})),f(),e&&(r=v.currentYear!==n.getFullYear(),v.currentYear=n.getFullYear(),v.currentMonth=n.getMonth(),r&&(k("onYearChange"),h()),k("onMonthChange")),A(),o(),O(),e||"range"===v.config.mode||1!==v.config.showMonths?void 0!==v.selectedDateElem&&void 0===v.hourElement&&v.selectedDateElem&&v.selectedDateElem.focus():m(t),void 0!==v.hourElement&&void 0!==v.hourElement&&v.hourElement.focus(),v.config.closeOnSelect&&(n="single"===v.config.mode&&!v.config.enableTime,r="range"===v.config.mode&&2===v.selectedDates.length&&!v.config.enableTime,(n||r)&&tt()),H())}v.parseDate=Dt({config:v.config,l10n:v.l10n}),v._handlers=[],v.pluginElements=[],v.loadedPlugins=[],v._bind=c,v._setHoursFromDate=r,v._positionCalendar=E,v.changeMonth=b,v.changeYear=_,v.clear=function(t,e){void 0===t&&(t=!0);void 0===e&&(e=!0);v.input.value="",void 0!==v.altInput&&(v.altInput.value="");void 0!==v.mobileInput&&(v.mobileInput.value="");
7408v.selectedDates=[],!(v.latestSelectedDateObj=void 0)===e&&(v.currentYear=v._initialDate.getFullYear(),v.currentMonth=v._initialDate.getMonth());{var n,r;!0===v.config.enableTime&&(e=It(v.config),n=e.hours,r=e.minutes,e=e.seconds,s(n,r,e))}v.redraw(),t&&k("onChange")},v.close=function(){v.isOpen=!1,v.isMobile||(void 0!==v.calendarContainer&&v.calendarContainer.classList.remove("open"),void 0!==v._input&&v._input.classList.remove("active"));k("onClose")},v.onMouseOver=a,v._createElement=vt,v.createDay=p,v.destroy=function(){void 0!==v.config&&k("onDestroy");for(var t=v._handlers.length;t--;)v._handlers[t].remove();if(v._handlers=[],v.mobileInput)v.mobileInput.parentNode&&v.mobileInput.parentNode.removeChild(v.mobileInput),v.mobileInput=void 0;else if(v.calendarContainer&&v.calendarContainer.parentNode)if(v.config.static&&v.calendarContainer.parentNode){var e=v.calendarContainer.parentNode;if(e.lastChild&&e.removeChild(e.lastChild),e.parentNode){for(;e.firstChild;)e.parentNode.insertBefore(e.firstChild,e);e.parentNode.removeChild(e)}}else v.calendarContainer.parentNode.removeChild(v.calendarContainer);v.altInput&&(v.input.type="text",v.altInput.parentNode&&v.altInput.parentNode.removeChild(v.altInput),delete v.altInput);v.input&&(v.input.type=v.input._type,v.input.classList.remove("flatpickr-input"),v.input.removeAttribute("readonly"));["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(t){try{delete v[t]}catch(t){}})},v.isEnabled=x,v.jumpToDate=i,v.updateValue=O,v.open=function(t,e){void 0===e&&(e=v._positionElement);var n;!0===v.isMobile?(t&&(t.preventDefault(),(n=mt(t))&&n.blur()),void 0!==v.mobileInput&&(v.mobileInput.focus(),v.mobileInput.click()),k("onOpen")):v._input.disabled||v.config.inline||(n=v.isOpen,v.isOpen=!0,n||(v.calendarContainer.classList.add("open"),v._input.classList.add("active"),k("onOpen"),E(e)),!0!==v.config.enableTime||!0!==v.config.noCalendar||!1!==v.config.allowInput||void 0!==t&&v.timeContainer.contains(t.relatedTarget)||setTimeout(function(){return v.hourElement.select()},50))},v.redraw=Z,v.set=function(t,e){if(null!==t&&"object"==typeof t)for(var n in Object.assign(v.config,t),t)void 0!==C[n]&&C[n].forEach(function(t){return t()});else v.config[t]=e,void 0!==C[t]?C[t].forEach(function(t){return t()}):-1<_t.indexOf(t)&&(v.config[t]=Et(e));v.redraw(),O(!0)},v.setDate=function(t,e,n){void 0===e&&(e=!1);void 0===n&&(n=v.config.dateFormat);if(0!==t&&!t||t instanceof Array&&0===t.length)return v.clear(e);nt(t,n),v.latestSelectedDateObj=v.selectedDates[v.selectedDates.length-1],v.redraw(),i(void 0,e),r(),0===v.selectedDates.length&&v.clear(!1);O(e),e&&k("onChange")},v.toggle=function(t){if(!0===v.isOpen)return v.close();v.open(t)};var C={locale:[Q,V],showMonths:[z,R,W],minDate:[i],maxDate:[i],positionElement:[it],clickOpens:[function(){!0===v.config.clickOpens?(c(v._input,"focus",v.open),c(v._input,"click",v.open)):(v._input.removeEventListener("focus",v.open),v._input.removeEventListener("click",v.open))}]};function nt(t,e){var n=[];if(t instanceof Array)n=t.map(function(t){return v.parseDate(t,e)});else if(t instanceof Date||"number"==typeof t)n=[v.parseDate(t,e)];else if("string"==typeof t)switch(v.config.mode){case"single":case"time":n=[v.parseDate(t,e)];break;case"multiple":n=t.split(v.config.conjunction).map(function(t){return v.parseDate(t,e)});break;case"range":n=t.split(v.l10n.rangeSeparator).map(function(t){return v.parseDate(t,e)})}else v.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(t)));v.selectedDates=v.config.allowInvalidPreload?n:n.filter(function(t){return t instanceof Date&&x(t,!1)}),"range"===v.config.mode&&v.selectedDates.sort(function(t,e){return t.getTime()-e.getTime()})}function rt(t){return t.slice().map(function(t){return"string"==typeof t||"number"==typeof t||t instanceof Date?v.parseDate(t,void 0,!0):t&&"object"==typeof t&&t.from&&t.to?{from:v.parseDate(t.from,void 0),to:v.parseDate(t.to,void 0)}:t}).filter(function(t){return t})}function it(){v._positionElement=v.config.positionElement||v._input}function k(t,e){if(void 0!==v.config){var n=v.config[t];if(void 0!==n&&0<n.length)for(var r=0;n[r]&&r<n.length;r++)n[r](v.selectedDates,v.input.value,v,e);"onChange"===t&&(v.input.dispatchEvent(ot("change")),v.input.dispatchEvent(ot("input")))}}function ot(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e}function at(t){for(var e=0;e<v.selectedDates.length;e++){var n=v.selectedDates[e];if(n instanceof Date&&0===yt(n,t))return""+e}return!1}function A(){v.config.noCalendar||v.isMobile||!v.monthNav||(v.yearElements.forEac
7408h(function(t,e){var n=new Date(v.currentYear,v.currentMonth,1);n.setMonth(v.currentMonth+e),1<v.config.showMonths||"static"===v.config.monthSelectorType?v.monthElements[e].textContent=At(n.getMonth(),v.config.shorthandCurrentMonth,v.l10n)+" ":v.monthsDropdownContainer.value=n.getMonth().toString(),t.value=n.getFullYear().toString()}),v._hidePrevMonthArrow=void 0!==v.config.minDate&&(v.currentYear===v.config.minDate.getFullYear()?v.currentMonth<=v.config.minDate.getMonth():v.currentYear<v.config.minDate.getFullYear()),v._hideNextMonthArrow=void 0!==v.config.maxDate&&(v.currentYear===v.config.maxDate.getFullYear()?v.currentMonth+1>v.config.maxDate.getMonth():v.currentYear>v.config.maxDate.getFullYear()))}function st(t){var e=t||(v.config.altInput?v.config.altFormat:v.config.dateFormat);return v.selectedDates.map(function(t){return v.formatDate(t,e)}).filter(function(t,e,n){return"range"!==v.config.mode||v.config.enableTime||n.indexOf(t)===e}).join("range"!==v.config.mode?v.config.conjunction:v.l10n.rangeSeparator)}function O(t){void 0===t&&(t=!0),void 0!==v.mobileInput&&v.mobileFormatStr&&(v.mobileInput.value=void 0!==v.latestSelectedDateObj?v.formatDate(v.latestSelectedDateObj,v.mobileFormatStr):""),v.input.value=st(v.config.dateFormat),void 0!==v.altInput&&(v.altInput.value=st(v.config.altFormat)),!1!==t&&k("onValueUpdate")}function ct(t){var t=mt(t),e=v.prevMonthNav.contains(t),n=v.nextMonthNav.contains(t);e||n?b(e?-1:1):0<=v.yearElements.indexOf(t)?t.select():t.classList.contains("arrowUp")?v.changeYear(v.currentYear+1):t.classList.contains("arrowDown")&&v.changeYear(v.currentYear-1)}v.element=v.input=l,v.isOpen=!1;var t=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],e=bt(bt({},JSON.parse(JSON.stringify(l.dataset||{}))),N),n={},D=(v.config.parseDate=e.parseDate,v.config.formatDate=e.formatDate,Object.defineProperty(v.config,"enable",{get:function(){return v.config._enable},set:function(t){v.config._enable=rt(t)}}),Object.defineProperty(v.config,"disable",{get:function(){return v.config._disable},set:function(t){v.config._disable=rt(t)}}),"time"===e.mode);function lt(e){return function(t){v.config["min"===e?"_minTime":"_maxTime"]=v.parseDate(t,"H:i:S")}}e.dateFormat||!e.enableTime&&!D||(P=wt.defaultConfig.dateFormat||ft.dateFormat,n.dateFormat=e.noCalendar||D?"H:i"+(e.enableSeconds?":S":""):P+" H:i"+(e.enableSeconds?":S":"")),e.altInput&&(e.enableTime||D)&&!e.altFormat&&(P=wt.defaultConfig.altFormat||ft.altFormat,n.altFormat=e.noCalendar||D?"h:i"+(e.enableSeconds?":S K":" K"):P+(" h:i"+(e.enableSeconds?":S":""))+" K"),Object.defineProperty(v.config,"minDate",{get:function(){return v.config._minDate},set:X("min")}),Object.defineProperty(v.config,"maxDate",{get:function(){return v.config._maxDate},set:X("max")}),Object.defineProperty(v.config,"minTime",{get:function(){return v.config._minTime},set:lt("min")}),Object.defineProperty(v.config,"maxTime",{get:function(){return v.config._maxTime},set:lt("max")}),"time"===e.mode&&(v.config.noCalendar=!0,v.config.enableTime=!0),Object.assign(v.config,n,e);for(var L=0;L<t.length;L++)v.config[t[L]]=!0===v.config[t[L]]||"true"===v.config[t[L]];for(_t.filter(function(t){return void 0!==v.config[t]}).forEach(function(t){v.config[t]=Et(v.config[t]||[]).map($)}),v.isMobile=!v.config.disableMobile&&!v.config.inline&&"single"===v.config.mode&&!v.config.disable.length&&!v.config.enable&&!v.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),L=0;L<v.config.plugins.length;L++){var M,ut=v.config.plugins[L](v)||{};for(M in ut)-1<_t.indexOf(M)?v.config[M]=Et(ut[M]).map($).concat(v.config[M]):void 0===e[M]&&(v.config[M]=ut[M])}if(e.altInputClass||(v.config.altInputClass=J().className+" "+v.config.altInputClass),k("onParseConfig"),Q(),v.input=J(),v.input?(v.input._type=v.input.type,v.input.type="text",v.input.classList.add("flatpickr-input"),v._input=v.input,v.config.altInput&&(v.altInput=vt(v.input.nodeName,v.config.altInputClass),v._input=v.altInput,v.altInput.placeholder=v.input.placeholder,v.altInput.disabled=v.input.disabled,v.altInput.required=v.input.required,v.altInput.tabIndex=v.input.tabIndex,v.altInput.type="text",v.input.setAttribute("type","hidden"),!v.config.static&&v.input.parentNode&&v.input.parentNode.insertBefore(v.altInput,v.input.nextSibling)),v.config.allowInput||v._input.setAttribute("readonly","readonly"),it()):v.config.errorHandler(new Error("Invalid input element specified")),v.selectedDates=[],v.now=v.parseDate(v.config.now)||new Date,(D=v.config.defaultDate||("INPUT"!==v.input.nodeName&&"TEXTAREA"!==v.input.nodeName||!v.input.placeholder||v.input.value!==v.input.placeholder?v.input.value:null))&&nt(D,v.config.dateFormat),v._initialDate=0<v.selectedDates.length?v.selectedDates[0]:v.config.minDate&&v.config.minDate.getTime()>v.now.getTime()?v.config.minDate:v.config.maxDate&&v.config.maxDate.getTime()<v.now.getTime()?v.config.maxDate:v.now,v.currentYear=v._initialDate.getFullYear(),v.currentMonth=v._initialDate.getMonth(),0<v.selectedDates.length&&(v.latestSelectedDateObj=v.selectedDates[0]),void 0!==v.config.minTime&&(v.config.minTime=v.parseDate(v.config.minTime,"H:i")),void 0!==v.config.maxTime&&(v.config.maxTime=v.parseDate(v.config.maxTime,"H:i")),v.minDateHasTime=!!v.config.minDate&&(0<v.config.minDate.getHours()||0<v.config.minDate.getMinutes()||0<v.config.minDate.getSeconds()),v.maxDateHasTime=!!v.config.maxDate&&(0<v.config.maxDate.getHours()||0<v.config.maxDate.getMinutes()||0<v.config.maxDate.getSeconds()),v.utils={getDaysInMonth:function(t,e){return void 0===t&&(t=v.currentMonth),void 0===e&&(e=v.currentYear),1===t&&(e%4==0&&e%100!=0||e%400==0)?29:v.l10n.daysInMonth[t]}},!v.isMobile){var T,P=window.document.createDocumentFragment(),I=(v.calendarContainer=vt("div","flatpickr-calendar"),v.calendarContainer.tabIndex=-1,v.config.noCalendar||(P.appendChild((v.monthNav=vt("div","flatpickr-months"),v.yearElements=[],v.monthElements=[],v.prevMonthNav=vt("span","flatpickr-prev-month"),v.prevMonthNav.innerHTML=v.config.prevArrow,v.nextMonthNav=vt("span","flatpickr-next-month"),v.nextMonthNav.innerHTML=v.config.nextArrow,z(),Object.defineProperty(v,"_hidePrevMonthArrow",{get:function(){return v.__hidePrevMonthArrow},set:function(t){v.__hidePrevMonthArrow!==t&&(ht(v.prevMonthNav,"flatpickr-disabled",t),v.__hidePrevMonthArrow=t)}}),Object.defineProperty(v,"_hideNextMonthArrow",{get:function(){return v.__hideNextMonthArrow},set:function(t){v.__hideNextMonthArrow!==t&&(ht(v.nextMonthNav,"flatpickr-disabled",t),v.__hideNextMonthArrow=t)}}),v.currentYearElement=v.yearElements[0],A(),v.monthNav)),v.innerContainer=vt("div","flatpickr-innerContainer"),v.config.weekNumbers&&(I=function(){v.calendarContainer.classList.add("hasWeeks");var t=vt("div","flatpickr-weekwrapper"),e=(t.appendChild(vt("span","flatpickr-weekday",v.l10n.weekAbbreviation)),vt("div","flatpickr-weeks"));return t.appendChild(e),{weekWrapper:t,weekNumbers:e}}(),T=I.weekWrapper,I=I.weekNumbers,v.innerContainer.appendChild(T),v.weekNumbers=I,v.weekWrapper=T),v.rContainer=vt("div","flatpickr-rContainer"),v.rContainer.appendChild(W()),v.daysContainer||(v.daysContainer=vt("div","flatpickr-days"),v.daysContainer.tabIndex=-1),o(),v.rContainer.appendChild(v.daysContainer),v.innerContainer.appendChild(v.rContainer),P.appendChild(v.innerContainer)),v.config.enableTime&&P.appendChild(function(){v.calendarContainer.classList.add("hasTime"),v.config.noCalendar&&v.calendarContainer.classList.add("noCalendar");var t=It(v.config),e=(v.timeContainer=vt("div","flatpickr-time"),v.timeContainer.tabIndex=-1,vt("span","flatpickr-time-separator",":")),n=kt("flatpickr-hour",{"aria-label":v.l10n.hourAriaLabel}),r=(v.hourElement=n.getElementsByTagName("input")[0],kt("flatpickr-minute",{"aria-label":v.l10n.minuteAriaLabel}));v.minuteElement=r.getElementsByTagName("input")[0],v.hourElement.tabIndex=v.minuteElement.tabIndex=-1,v.hourElement.value=dt(v.latestSelectedDateObj?v.latestSelectedDateObj.getHours():v.config.time_24hr?t.hours:function(t){switch(t%24){case 0:case 12:return 12;default:return t%12}}(t.hours)),v.minuteElement.value=dt(v.latestSelectedDateObj?v.latestSelectedDateObj.getMinutes():t.minutes),v.hourElement.setAttribute("step",v.config.hourIncrement.toString()),v.minuteElement.setAttribute("step",v.config.minuteIncrement.toString()),v.hourElement.setAttribute("min",v.config.time_24hr?"0":"1"),v.hourElement.setAttribute("max",v.config.time_24hr?"23":"12"),v.hourElement.setAttribute("maxlength","2"),v.minuteElement.setAttribute("min","0"),v.minuteElement.setAttribute("max","59"),v.minuteElement.setAttribute("maxlength","2"),v.timeContainer.appendChild(n),v.timeContainer.appendChild(e),v.timeContainer.appendChild(r),v.config.time_24hr&&v.timeContainer.classList.add("time24hr");v.config.enableSeconds&&(v.timeContainer.classList.add("hasSeconds"),n=kt("flatpickr-second"),v.secondElement=n.getElementsByTagName("input")[0],v.secondElement.value=dt(v.latestSelectedDateObj?v.latestSelectedDateObj.getSeconds():t.seconds),v.secondElement.setAttribute("step",v.minuteElement.getAttribute("step")),v.secondElement.setAttribute("min","0"),v.secondElement.setAttribute("max","59"),v.secondElement.setAttribute("maxlength","2"),v.timeContainer.appendChild(vt("span","flatpickr-time-separator",":")),v.timeContainer.appendChild(n));v.config.time_24hr||(v.amPM=vt("span","flatpickr-am-pm",v.l10n.amPM[pt(11<(v.latestSelectedDateObj?v.hourElement.value:v.config.defaultHour))]),v.amPM.title=v.l10n.toggleTitle,v.amPM.tabIndex=-1,v.timeContainer.appendChild(v.amPM));return v.timeContainer}()),ht(v.calendarContainer,"rangeMode","range"===v.config.mode),ht(v.calendarContainer,"animate",!0===v.config.animate),ht(v.calendarContainer,"multiMonth",1<v.config.showMonths),v.calendarContainer.appendChild(P),void 0!==v.config.appendTo&&void 0!==v.config.appendTo.nodeType);(v.config.inline||v.config.static)&&(v.calendarContainer.classList.add(v.config.inline?"inline":"static"),v.config.inline&&(!I&&v.element.parentNode?v.element.parentNode.insertBefore(v.calendarContainer,v._input.nextSibling):void 0!==v.config.appendTo&&v.config.appendTo.appendChild(v.calendarContainer)),v.config.static&&(T=vt("div","flatpickr-wrapper"),v.element.parentNode&&v.element.parentNode.insertBefore(T,v.element),T.appendChild(v.element),v.altInput&&T.appendChild(v.altInput),T.appendChild(v.calendarContainer))),v.config.static||v.config.inline||(void 0!==v.config.appendTo?v.config.appendTo:window.document.body).appendChild(v.calendarContainer)}if(v.config.wrap&&["open","close","toggle","clear"].forEach(function(e){Array.prototype.forEach.call(v.element.querySelectorAll("[data-"+e+"]"),function(t){return c(t,"click",v[e])})}),v.isMobile){var j=v.config.enableTime?v.config.noCalendar?"time":"datetime-local":"date";v.mobileInput=vt("input",v.input.className+" flatpickr-mobile"),v.mobileInput.tabIndex=1,v.mobileInput.type=j,v.mobileInput.disabled=v.input.disabled,v.mobileInput.required=v.input.required,v.mobileInput.placeholder=v.input.placeholder,v.mobileFormatStr="datetime-local"==j?"Y-m-d\\TH:i:S":"date"==j?"Y-m-d":"H:i:S",0<v.selectedDates.length&&(v.mobileInput.defaultValue=v.mobileInput.value=v.formatDate(v.selectedDates[0],v.mobileFormatStr)),v.config.minDate&&(v.mobileInput.min=v.formatDate(v.config.minDate,"Y-m-d")),v.config.maxDate&&(v.mobileInput.max=v.formatDate(v.config.maxDate,"Y-m-d")),v.input.getAttribute("step")&&(v.mobileInput.step=String(v.input.getAttribute("step"))),v.input.type="hidden",void 0!==v.altInput&&(v.altInput.type="hidden");try{v.input.parentNode&&v.input.parentNode.insertBefore(v.mobileInput,v.input.nextSibling)}catch(t){}c(v.mobileInput,"change",function(t){v.setDate(mt(t).value,!1,v.mobileFormatStr),k("onChange"),k("onClose")})}else j=St(K,50),v._debouncedChange=St(H,Nt),v.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&c(v.daysContainer,"mouseover",function(t){"range"===v.config.mode&&a(mt(t))}),c(v._input,"keydown",G),void 0!==v.calendarContainer&&c(v.calendarContainer,"keydown",G),v.config.inline||v.config.static||c(window,"resize",j),void 0!==window.ontouchstart?c(window.document,"touchstart",U):c(window.document,"mousedown",U),c(window.document,"focus",U,{capture:!0}),!0===v.config.clickOpens&&(c(v._input,"focus",v.open),c(v._input,"click",v.open)),void 0!==v.daysContainer&&(c(v.monthNav,"click",ct),c(v.monthNav,["keyup","increment"],B),c(v.daysContainer,"click",et)),void 0!==v.timeContainer&&void 0!==v.minuteElement&&void 0!==v.hourElement&&(c(v.timeContainer,["increment"],u),c(v.timeContainer,"blur",u,{capture:!0}),c(v.timeContainer,"click",q),c([v.hourElement,v.minuteElement],["focus","click"],function(t){return mt(t).select()}),void 0!==v.secondElement&&c(v.secondElement,"focus",function(){return v.secondElement&&v.secondElement.select()}),void 0!==v.amPM&&c(v.amPM,"click",function(t){u(t)})),void(v.config.allowInput&&c(v._input,"blur",Y));return(v.selectedDates.length||v.config.noCalendar)&&(v.config.enableTime&&r(v.config.noCalendar?v.latestSelectedDateObj:void 0),O(!1)),R(),n=/^((?!chrome|android).)*safari/i.test(navigator.userAgent),!v.isMobile&&n&&E(),k("onReady"),v}function n(t,e){for(var n=Array.prototype.slice.call(t).filter(function(t){return t instanceof HTMLElement}),r=[],i=0;i<n.length;i++){var o=n[i];try{if(null!==o.getAttribute("data-fp-omit"))continue;void 0!==o._flatpickr&&(o._flatpickr.destroy(),o._flatpickr=void 0),o._flatpickr=it(o,e||{}),r.push(o._flatpickr)}catch(t){console.error(t)}}return 1===r.length?r[0]:r}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(t){return n(this,t)},HTMLElement.prototype.flatpickr=function(t){return n([this],t)}
7408);var wt=function(t,e){return"string"==typeof t?n(window.document.querySelectorAll(t),e):t instanceof Node?n([t],e):n(t,e)},ot=(wt.defaultConfig={},wt.l10ns={en:bt({},xt),default:bt({},xt)},wt.localize=function(t){wt.l10ns.default=bt(bt({},wt.l10ns.default),t)},wt.setDefaults=function(t){wt.defaultConfig=bt(bt({},wt.defaultConfig),t)},wt.parseDate=Dt({}),wt.formatDate=Ot({}),wt.compareDates=yt,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(t){return n(this,t)}),Date.prototype.fp_incr=function(t){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof t?parseInt(t,10):t))},"undefined"!=typeof window&&(window.flatpickr=wt),wt);function l(t){return function(t){if(Array.isArray(t))return at(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return at(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?at(t,e):void 0}}(t)||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 at(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function st(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ct=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="input-password",r="password-toggle",i="amp-icon-eye-hidden",o="amp-icon-eye-open",a="js-has-value",e="input-wrapper__clear";l(document.querySelectorAll("[data-select-id]")).map(function(t){function e(t,e){t.map(function(t){e===r?t.classList.remove("hide-element"):t.classList.add("hide-element")})}var n=t.getAttribute("data-select-id"),r=t.getAttribute("data-on"),i=document.querySelector("#".concat(n)),o=l(document.querySelectorAll('[data-on="'.concat(r,'"][data-select-id="').concat(n,'"]'))),n=i.options[i.selectedIndex].value;return e(o,n),i.addEventListener("change",function(){var t=this.options[this.selectedIndex].value;e(o,t)}),t}),l(document.querySelectorAll('[type="date"]')).map(function(t){t.parentNode&&t.parentNode.classList.add("date__p");return ot(t,{dateFormat:"d/m/Y"})}),l(document.getElementsByClassName("flatpickr-input")).map(function(t){return t.hasAttribute("value")&&t.setAttribute("value",t.getAttribute("value")),!0}),document.addEventListener("click",function(t){t.target.classList.contains(e)&&(t.preventDefault(),t.target.previousElementSibling.value="",t.target.previousElementSibling.setAttribute(a,"false"),t.target.parentNode&&t.target.parentNode.classList.remove("js-has-value__p"))},!1);l(document.getElementsByClassName(t)).map(function(t){var e=document.createElement("a");return e.classList.add(o),e.classList.add(r),e.setAttribute("href","#"),t.parentNode.insertBefore(e,t.nextSibling)}),document.addEventListener("click",function(t){var e,n;t.target.classList.contains(r)&&(t.preventDefault(),e=t.target.classList.contains(i)?o:i,n=t.target.classList.contains(i)?"password":"text",t.target.setAttribute("class","".concat(e," ").concat(r)),t.target.previousElementSibling.setAttribute("type",n))},!1);var t=l(document.getElementsByTagName("input")),n=l(document.getElementsByTagName("textarea"));[].concat(l(t),l(n)).map(function(t){var e=0<t.value.length?"true":"false";return t.parentNode&&"true"==e&&t.parentNode.classList.add("js-has-value__p"),t.setAttribute(a,e)}),n.map(function(n){return n.hasAttribute("disabled")&&n.parentNode&&n.parentNode.classList.add("disabled__p"),n.hasAttribute("readonly")&&n.parentNode&&n.parentNode.classList.add("readonly__p"),n.parentNode&&n.parentNode.classList.add("textarea__p"),n.addEventListener("focus",function(t){t.target.classList.add("focus"),t.target.parentNode.classList.add("focus__p-ta")}),n.addEventListener("blur",function(t){var e=0<t.target.value.length?"true":"false";t.target.setAttribute(a,e),t.target.parentNode&&"true"==e?n.parentNode.classList.add("js-has-value__p"):n.parentNode.classList.remove("js-has-value__p"),t.target.classList.remove("focus"),t.target.parentNode.classList.remove("focus__p-ta")}),!0}),t.map(function(n){return n.hasAttribute("disabled")&&n.parentNode&&n.parentNode.classList.add("disabled__p"),n.hasAttribute("readonly")&&n.parentNode&&n.parentNode.classList.add("readonly__p"),"date"===n.getAttribute("type")&&n.parentNode&&n.parentNode.classList.add("date-input__p"),n.addEventListener("focus",function(t){t.target.classList.add("focus"),t.target.parentNode.classList.add("focus__p")}),n.addEventListener("blur",function(t){var e=0<t.target.value.length?"true":"false";t.target.setAttribute(a,e),t.target.parentNode&&"true"==e?n.parentNode.classList.add("js-has-value__p"):n.parentNode.classList.remove("js-has-value__p"),t.target.classList.remove("focus"),t.target.parentNode.classList.remove("focus__p")}),!0})}}])&&st(e.prototype,n),r&&st(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),t=i(133),lt=i.n(t);function ut(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ft=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){new lt.a({elements_selector:".lazy"})}}])&&ut(e.prototype,n),r&&ut(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function $t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Rt=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function");this.css={videoContainer:"amp-video",player:"amp-video__video__player",thumbnail:"amp-video__thumbnail",thumbnail_image:"amp-video__thumbnail__image",playButton:"amp-play-icon",activeState:"amp-video--active"},this.constant={playerId:"js-video",youtube:"youtube",vimeo:"vimeo"},this.videoCollection=[]}var e,n,r;return e=t,(n=[{key:"init",value:function(){this.initialVideoSetup(),!0===c.isYoutubeLoaded&&this.setupYoutubeOnAPIReady(),this.setupVideoPlayEvent()}},{key:"initialVideoSetup",value:function(){var a=this,t=document.getElementsByClassName(this.css.videoContainer);Array.from(t).forEach(function(t,e){var n=t.getAttribute("data-videoSource"),r=t.getAttribute("data-videoId"),i=t.getElementsByClassName(a.css.player)[0],o="".concat(a.constant.playerId,"_").concat(e,"_").concat(r),i=(i.setAttribute("id",o),a.setupVideoProvider(n),{index:e,containerId:o,source:n,id:r,player:null});
7408a.videoCollection.push(i),a.setupVideoThumbnail(t,i)})}},{key:"setupVideoPlayEvent",value:function(){var i=this,t=document.getElementsByClassName(this.css.videoContainer);Array.from(t).forEach(function(t,e){var n=t.getElementsByClassName(i.css.thumbnail)[0],t=t.getElementsByClassName(i.css.playButton)[0],r=i.videoCollection[e];t.addEventListener("click",function(t){t.stopPropagation(),t.preventDefault(),n.classList.toggle(i.css.activeState),r.source===i.constant.youtube&&null!==r.player&&r.player.playVideo(),r.source===i.constant.vimeo&&(r.player=new Vimeo.Player(r.containerId,{id:r.id}),r.player.play())})})}},{key:"setupVideoThumbnail",value:function(t,e){var n=t.getElementsByClassName(this.css.thumbnail_image)[0];n.getAttribute("src")||(e.source===this.constant.youtube?n.setAttribute("src","//img.youtube.com/vi/".concat(e.id,"/maxresdefault.jpg")):e.source===this.constant.vimeo&&D("https://vimeo.com/api/v2/video/".concat(e.id,".json"),function(t){try{var e=JSON.parse(t)[0];e&&(n.setAttribute("width",e.width),n.setAttribute("height",e.height),e.thumbnail_large?n.setAttribute("src",e.thumbnail_large):e.thumbnail_large?n.setAttribute("src",e.thumbnail_medium):e.thumbnail_large&&n.setAttribute("src",e.thumbnail_small))}catch(t){console.log("Unable to get data from vimeo")}}))}},{key:"setupYoutubeOnAPIReady",value:function(){var e=this;window.onYouTubeIframeAPIReady=function(){e.videoCollection.filter(function(t){return t.source===e.constant.youtube}).forEach(function(t){e.videoCollection[t.index].player=new YT.Player(t.containerId,{videoId:t.id})})}}},{key:"setupVideoProvider",value:function(t){t&&(t!==this.constant.youtube||c.isYoutubeLoaded?t!==this.constant.vimeo||c.isVimeoLoaded||(c.isVimeoLoaded=!0,this.setupVimeoVideoProvider()):(c.isYoutubeLoaded=!0,this.setupYoutubeVideoProvider()))}},{key:"setupYoutubeVideoProvider",value:function(){var t=document.createElement("script"),e=(t.id="youtube-iframe",t.src="//www.youtube.com/iframe_api",document.getElementsByTagName("script")[0]);e.parentNode.insertBefore(t,e)}},{key:"setupVimeoVideoProvider",value:function(){var t=document.createElement("script"),e=(t.id="video-cdn",t.src="//player.vimeo.com/api/player.js",document.getElementsByTagName("script")[0]);e.parentNode.insertBefore(t,e)}}])&&$t(e.prototype,n),r&&$t(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),Bt=i(134);function Ht(t){return function(t){if(Array.isArray(t))return qt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return qt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qt(t,e):void 0}}(t)||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 qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function zt(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function Wt(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):zt(Object(i)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ut=function(){function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");this.defaults=Wt({flicktyOptitions:{cellAlign:"left",contain:!0,pageDots:!1,groupCells:!0,setGallerySize:!0,on:{ready:function(t){var e;this.element.classList.contains("pc")&&(e=this.element.querySelector(".flickity-viewport").clientHeight,Ht(this.element.querySelectorAll(".flickity-slider > li")).map(function(t){t.style.height="".concat(e,"px")}))}}}},e),this.css={disableFix:"disable-fix"},this.item=t}var t,e,r;return t=n,(e=[{key:"init",value:function(){var n,r,o=this;r=!1,document.body.addEventListener("touchstart",function(t){t.target.closest(".flickity-slider")?(r=!0,n={x:t.touches[0].pageX,y:t.touches[0].pageY}):r=!1}),document.body.addEventListener("touchmove",function(t){var e;r&&t.cancelable&&(e={x:t.touches[0].pageX-n.x,y:t.touches[0].pageY-n.y},7<Math.abs(e.x)&&t.preventDefault())},{passive:!1}),new Bt.a(function(t){var e,n=b(),t=t[0].target,r=t.hasAttribute("carouselInit"),i=o.defaults.count>o.defaults[n];!r&&i?(o.myCarousel=new w.a(t,o.defaults.flicktyOptitions),(e=o).myCarousel.on("cellSelect",function(){o.selectedIndex>=e.defaults.count-e.defaults[n]?e.item.classList.add(e.css.disableFix):e.item.classList.contains(e.css.disableFix)&&e.item.classList.remove(e.css.disableFix)}),t.setAttribute("carouselInit","true")):r&&!i&&(t.removeAttribute("carouselInit"),o.myCarousel.destroy())}).observe(this.item)}}])&&Vt(t.prototype,e),r&&Vt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),n}();function Yt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Gt=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var e,t,n,r,i,o=document.getElementsByClassName("pagebanner__btn")[0];null!=o&&(e=document.createElement("div"),t=document.querySelectorAll("body footer")[0],e.classList.add("sticky-start"),(n=document.createElement("a")).classList.add("sticky-start__btn","btn","btn-primary"),r=o.textContent,i=o.getAttribute("href"),n.innerHTML=r,n.setAttribute("href",i),e.appendChild(n),t.appendChild(e),new Waypoint({element:o,offset:-52,handler:function(t){"down"===t?(e.classList.add("stick"),e.classList.remove("non-stick")):(e.classList.remove("stick"),e.classList.add("non-stick"))}}))}}])&&Yt(e.prototype,n),r&&Yt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Kt(t){return function(t){if(Array.isArray(t))return Xt(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Xt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Xt(t,e):void 0}}(t)||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 Xt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Jt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Qt=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.element=t}var t,n,r;return t=e,(n=[{key:"init",value:function(){new Waypoint({element:this.element,handler:function(){this.element.classList.contains("sbs--init")||(this.element.classList.add("sbs--init"),Kt(this.element.getElementsByClassName("sbs__item")).forEac
7408h(function(t,e){setTimeout(function(){t.classList.add("fire")},1e3*e)}))},offset:200})}}])&&Jt(t.prototype,n),r&&Jt(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}(),t=(i(150),i(48)),Zt=i.n(t);function te(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ee=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="cookie-notification",e="cookie-notification__btn-close",n="not-accepted",r="cookie-na",i="livechat_agent__wrapper",o=document.getElementsByTagName("body")[0],a=document.getElementsByClassName(t)[0],s=document.getElementsByClassName(i)[0],t=document.getElementsByClassName(e)[0];navigator.cookieEnabled&&a&&void 0===Zt.a.get("cookie-acknowledment")?(o.classList.add(r),a.classList.add(n),void 0!==s&&setTimeout(function(){var t=a.clientHeight+8;s.style.bottom="".concat(t,"px"),s.style.display="block"},2e3),t.onclick=function(t){return t.preventDefault(),o.classList.remove(r),a.classList.remove(n),void 0!==s&&(s.style.bottom="8px",s.style.display="block"),Zt.a.set("cookie-acknowledment","accepted",{expires:365}),!1}):void 0!==s&&(s.style.display="block")}}])&&te(e.prototype,n),r&&te(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function ne(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var re=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t="gn",e="gn__btn-close",n="gn--not-accepted",r="gn--open",i=document.getElementsByClassName(t)[0],o=!!i&&i.getAttribute("data-uid"),t=document.getElementsByClassName(e)[0],a=document.body;i&&o&&navigator.cookieEnabled&&void 0===Zt.a.get(o)&&(i.classList.add(n),a.classList.add(r),t.onclick=function(t){return t.preventDefault(),i.classList.remove(n),a.classList.remove(r),Zt.a.set(o,"accepted",{expires:365}),!1})}}])&&ne(e.prototype,n),r&&ne(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function ie(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||ae(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function oe(t){return function(t){if(Array.isArray(t))return se(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||ae(t)||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 ae(t,e){if(t){if("string"==typeof t)return se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(t,e):void 0}}function se(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ce(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var le=function(){function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function");this.attr={panel:"[data-animation-panel]",defaultAnimation:"data-animation-default",targetAnimation:"data-animation-target"},this.waypointSetting={offset:"90%"},this.element=t,this.breakpoints=c.breakpoints,this.animations={top:"content-animation--top",bottom:"content-animation--bottom",left:"content-animation--left",right:"content-animation--right"},this.defaultAnimation="bottom"}var t,n,r;return t=e,(n=[{key:"init",value:function(){var t=this,e=new Waypoint({element:this.element,offset:this.waypointSetting.offset,handler:function(){t.hanleContentAnimation(),e.destroy()}})}},{key:"hanleContentAnimation",value:function(){var r=this;
7408oe(this.element.querySelectorAll(this.attr.panel)).forEach(function(t){var e=t.getAttribute(r.attr.defaultAnimation)?t.getAttribute(r.attr.defaultAnimation):r.defaultAnimation,n=t.getAttribute(r.attr.targetAnimation);n?r.handleTargetAnimation(n,t,e):r.applyAnimation(t,e)})}},{key:"handleTargetAnimation",value:function(t,n,e){var r=this,i=b(),t=t.split(","),o=!1;t.forEach(function(t){var t=ie(t.split(":"),2),e=t[0],t=t[1];r.breakpoints[e]&&r.breakpoints[e]===i&&(r.applyAnimation(n,t),o=!0)}),o||this.applyAnimation(n,e)}},{key:"applyAnimation",value:function(t,e){this.animations[e]?t.classList.toggle(this.animations[e]):t.classList.toggle(this.animations[this.defaultAnimation])}}])&&ce(t.prototype,n),r&&ce(t,r),Object.defineProperty(t,"prototype",{writable:!1}),e}();function ue(t){return function(t){if(Array.isArray(t))return fe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return fe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?fe(t,e):void 0}}(t)||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 fe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function de(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var pe=function(){function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");this.group=e,this.attr={defaultState:"data-accordion-default-open",defaultBreakpoints:"data-accordion-default-breakpoints",header:"[data-accordion-header]",content:"[data-accordion-content]"},this.css={accordion:"amp-accordion",header:"amp-accordion__heading",content:"amp-accordion__content",active:"amp-accordion--active"},this.breakpoints=c.breakpoints,this.element=t,this.isAccordion=!1}var t,e,r;return t=n,(e=[{key:"init",value:function(){var t;this.element.hasAttribute(this.attr.defaultBreakpoints)?(t=b(),this.element.getAttribute(this.attr.defaultBreakpoints).split(",").includes(t)&&this.transformAccordion(this.element)):this.transformAccordion(this.element)}},{key:"close",value:function(){this.isAccordion&&this.element.classList.contains(this.css.active)&&this.element.classList.remove(this.css.active)}},{key:"open",value:function(){this.isAccordion&&!this.element.classList.contains(this.css.active)&&this.element.classList.add(this.css.active)}},{key:"ariaUpdate",value:function(t){}},{key:"transformAccordion",value:function(e){var n=this,t=(this.isAccordion=!0,e.classList.add(this.css.accordion),e.hasAttribute(this.attr.defaultState)&&e.classList.add(this.css.active),ue(e.querySelectorAll(this.attr.header))[0]),r=ue(e.querySelectorAll(this.attr.content))[0];r&&r.classList.add(this.css.content),t&&(t.classList.add(this.css.header),t.addEventListener("click",function(t){t.stopPropagation(),t.preventDefault(),n.group&&n.group.forEach(function(t){t!==n.element&&ue(t.querySelectorAll(n.attr.header))[0].parentElement.classList.remove(n.css.active)}),e.classList.toggle(n.css.active)}))}}])&&de(t.prototype,e),r&&de(t,r),Object.defineProperty(t,"prototype",{writable:!1}),n}();function he(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var ve=function(){function n(t,e){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");this.sectionAccordions=[],this.isSection=e,this.accordions=t,e&&(this.sectionAccordions=this.accordions),this.sectionAccordionGroup=this.splitAccordionIntoGroup(this.sectionAccordions)}var t,e,r;return t=n,(e=[{key:"init",value:function(){this.isSection&&this.sectionAccordionGroup.length?this.sectionAccordionGroup.forEach(function(e){e.forEach(function(t){new pe(t,e).init()})}):this.accordions.forEach(function(t){new pe(t).init()})}},{key:"splitAccordionIntoGroup",value:function(i){if(!i.length)return[];var o,a=[],s=[];
7408return i.forEach(function(t,e){var n,r;0!==e&&(o=i[e-1]),0===s.length?s.push(t):(n=o.parentElement.parentElement,r=t.parentElement.parentElement,n.nextElementSibling===r?s.push(t):(o.classList.add("amp-accordion--last"),a.push(s),(s=[]).push(t))),e===i.length-1&&s.length&&(i[e].classList.add("amp-accordion--last"),a.push(s))}),a}}])&&he(t.prototype,e),r&&he(t,r),Object.defineProperty(t,"prototype",{writable:!1}),n}();function me(t){return function(t){if(Array.isArray(t))return ge(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return ge(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ge(t,e):void 0}}(t)||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 ge(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ye(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var be=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t=document.querySelectorAll(".product-selection-tool"),o=document.querySelectorAll(".product-select-drop-down > #choose-product"),a=/firefox/i.test(navigator.userAgent),s=window.navigator.userAgent.indexOf("Trident/")||window.navigator.userAgent.indexOf("Edge/")||window.navigator.userAgent.indexOf("MSIE ");0<t.length&&(t[t.length-1].style.paddingBottom="40px",t.forEach(function(r){function e(t){var e=i.options[i.selectedIndex].value,n=(i.options[i.selectedIndex].text,r.querySelector(".prodselect-button input"));""===e?(n.classList.add("disabled"),n.disabled=!0):(n.classList.remove("disabled"),n.disabled=!1)}function n(t){var e=i.options[i.selectedIndex].text;/Android|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?30<e.length&&(i.options[i.selectedIndex].text="".concat(e.substr(0,Math.floor(o[0].clientWidth/11)),"... ")):50<e.length&&(i.options[i.selectedIndex].text="".concat(e.substr(0,Math.floor(o[0].clientWidth/11)),"... "))}var i=r.querySelector("#choose-product");a||me(i).map(function(t){t.setAttribute("data-options",t.text)});e(),i.addEventListener("change",function(t){e(),a||s||n()}),a||s||i.addEventListener("click",function(t){if(t.target.classList.contains("opened")?(t.target.classList.add("closed"),t.target.classList.remove("opened")):(t.target.classList.add("opened"),t.target.classList.remove("closed")),t.target.classList.contains("opened"))for(var e=0;e<me(i).length;e+=1)i.options[e].text=i.options[e].getAttribute("data-options"),i.options[e].value=i.options[e].getAttribute("data-options");t.target.classList.contains("closed")&&n()})}))}}])&&ye(e.prototype,n),r&&ye(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),t=i(26),u=i.n(t);function we(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function _e(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?we(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):we(Object(i)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function f(t){return function(t){if(Array.isArray(t))return xe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return xe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(t,e):void 0}}(t)||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 xe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Se(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}var Ee=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var o,a=window.compare;function s(t,n){o=0;var r=[],e=(t.map(function(t,e){return o+=t[0],t&&t[0]&&(a[e].position=e,r.splice(e,0,a[e])),!0}),u.a.compile('\n <div id="cm-ba" v-bind:class="[ items.length <= 0 ? \'hide\' : \'show\']">\n <div id="cm-ba__tit" v-if="items.length <= 0">Please select <strong>2</strong> or more items</div>\n <div id="cm-ba__tit" v-else>You\'ve Selected <strong>{{items.length}}</strong> of <strong>3</strong></div>\n <div id="cm-ba__sli">\n <ul data-carousel="pcs" class="pcs">\n <li v-for="(item, index) in items" class="cell enabled">\n {{ item.productDetails.productName }}\n <button v-on:click="removeItem(item.position)" class="remove amp-icon-cancel"></button>\n </li>\n <li v-for="index in (3 - items.length)" :key="index" class="cell">\n \n </li>\n </ul>\n <button id="cm-ba__btn" class="disabled" disabled v-if="items.length <= 1">Compare home loans</button>\n <button id="cm-ba__btn" v-else>Compare home loans</button>\n </div>\n </div>')),i=(new u.a({el:"#cm-ba",data:function(){return{items:r,isActive:!1}},methods:{removeItem:function(t){var e=f(n.set.querySelectorAll(".pc li > .pc_compare > a"))[t];n.selectedItems[t]=0,e.toggleAttribute("selected"),s(n.selectedItems,n)}},render:function(t){return e.render.call(this,t)}}),u.a.compile('\n <div id="cm-ov">\n <a class="icon-arrow-left" v-on:click="toggleOverlay">Back</a>\n <h2>Compare bank accounts</h2>\n <ul data-carousel="pcc" class="pcc" data-compare="abc123">\n <li v-for="item in items" class="cell">\n <div class="pc_h">
7408\n <span class="pc_so">{{ item.variation }}</span>\n <h3>{{ item.productDetails.productName }}</h3>\n <a class="apply btn btn--primary" href="{{ item.productDetails.buttonLink }}">{{ item.productDetails.buttonLabel }}</a>\n </div>\n <div class="pc_c">\n <p>{{item.productDetails.featureText}}</p>\n <div class="pc_f">\n <span class="label">Fixed</span>\n <span class="figure">{{ item.productDetails.monthlyfee }}</span>\n </div>\n <div class="pc_f--small">\n <span class="label">Monthly Fee</span>\n <span class="figure">{{ item.productDetails.monthlyfee }}</span>\n </div>\n <div class="pc_f--small">\n <span class="label">Minumum opening balance</span>\n <span class="figure">{{ item.productDetails.openingbalance }}</span>\n </div>\n <ul>\n <li v-bind:class="[ item.productDetails.cheque === \'Yes\' ? \'tick\' : \'cross\']">Cheque</li>\n <li v-bind:class="[ item.productDetails.deposit === \'Yes\' ? \'tick\' : \'cross\']">Deposit</li>\n <li v-bind:class="[ item.productDetails.withdrawals === \'Yes\' ? \'tick\' : \'cross\']">Withdrawals</li>\n <li v-bind:class="[ item.productDetails.access === \'Yes\' ? \'tick\' : \'cross\']">Access</li>\n <li v-bind:class="[ item.productDetails.bpay === \'Yes\' ? \'tick\' : \'cross\']">Bpay</li>\n </ul>\n <a class="pds icon-arrow-right" href="#">{{ item.productDetails.buttonLabel }}</a>\n </div>\n </li>\n </ul>\n </div>'));new u.a({el:"#cm-ov",data:function(){return{items:r}},methods:{toggleOverlay:function(){document.getElementById("cm-ov").classList.toggle("on"),document.body.classList.toggle("no-scroll")}},render:function(t){return i.render.call(this,t)},mounted:function(){var e=this;document.getElementById("cm-ba__btn").addEventListener("click",function(t){return e.toggleOverlay(),!0})}});f(document.querySelectorAll("[data-carousel]")).map(function(t){var e=t.getAttribute("data-carousel"),n={count:t.getElementsByClassName("cell").length};return new Ut(t,_e(_e({},n),c.carousel[e])).init()}),console.log("Count is ",o,"and we should be mapping over setting disabled comp"),f(n.set.querySelectorAll(".pc li > .pc_compare > a")).map(function(t){return 3<=o?t.setAttribute("disabled-comp",""):t.removeAttribute("disabled-comp",""),!0})}f(document.querySelectorAll("[data-compare]")).map(function(t){var i,o;return(i={}).set=t=t,i.selectedItems=[],o=i.set.getAttribute("data-compare"),f(i.set.querySelectorAll(".pc > li")).map(function(t,e){var n=document.createElement("a"),r=document.createTextNode("Compare this fund"),r=(n.appendChild(r),n.href="#",n.setAttribute("data-compare-set",o),n.setAttribute("index",e),n.addEventListener("click",function(t){return t.preventDefault(),!t.target.hasAttribute("disabled-comp")||t.target.hasAttribute("disabled-comp")&&t.target.hasAttribute("selected")?(t.target.toggleAttribute("selected"),i.selectedItems[t.target.getAttribute("index")]=[null==t.target.getAttribute("selected")?0:1],s(i.selectedItems,i)):console.log("you can only remove items once max of 3 is selected"),!0}),document.createElement("div"));return r.classList.add("pc_compare"),r.appendChild(n),t.appendChild(r),null==document.getElementById("cm-ba")&&((e=document.createElement("div")).id="cm-ba",document.body.appendChild(e),s(i.selectedItems,i)),!0}),null==document.getElementById("cm-ov")&&((t=document.createElement("div")).id="cm-ov",document.body.appendChild(t)),!0})}}])&&Se(e.prototype,n),r&&Se(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),t=i(135);function Ce(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function ke(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Ce(Object(i)).forEac
7408h(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function Ae(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}u.a.component("v-select",i.n(t).a);function a(t){return fetch(t).then(function(t){return t.json()})}function Oe(t){return t?"&page=".concat(t.page,"&pagesize=").concat(t.pageSize||10):""}function De(t){var e=t.id,t=t.name;return Te(e)?"":'<option value="'.concat(e,'">').concat(t,"</option>")}function Le(t){var e=t.element,t=t.data.map(De);e.innerHTML=t.join("")}var Me=function(){function t(){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function")}var e,n,r;return e=t,(n=[{key:"init",value:function(){var t=JSON.parse(document.getElementById("inv-calc-data").innerHTML),o=[],e=(Object.values(t.data.questionItems).map(function(t,n){var r=[],i=!!t.subcategory&&n-1;Object.values(t.weightItems).map(function(t,e){r.push({bindex:e,score:parseInt(t.weightScore),status:null,linked:i}),!1!==i&&(o[n-1][e].linked=n)}),o.push(r)}),u.a.compile('\n <div id="inv-calc">\n <div class="grid-x grid-margin-x">\n <div class="cell small-12 large-7">\n <div v-for="(item, qindex) in ic.data.questionItems">\n <p class="inv-calc__question">{{ qindex + 1 }}. {{ item.question }}</p>\n <p class="inv-calc__description">{{ item.description }}</p>\n <div class="btn-group"> \n <button \n class="btn btn--primary" \n v-for="(buttons, bindex) in item.weightItems"\n v-on:click="questionBtnClickHandler(qindex, bindex)"\n :class="{ active: icquestionsMatrix[qindex][bindex].status === \'active\', \'linked-active\': icquestionsMatrix[qindex][bindex].status === \'linked-active\'}">\n {{ buttons.weightLabel }}\n </button>\n </div>\n </div>\n <div class="btn-controls">\n <button \n class="btn btn--primary btn--view"\n :disabled="!questionsComplete || !changeMade"\n v-on:click="viewResultsBtnClickHandler()">\n <span v-show="viewResults == false">\n View results\n </span>\n <span v-show="viewResults == true">\n Update results\n </span>\n </button><button \n class="btn btn--primary btn--reset" \n :disabled="!questionsInProgress"\n v-on:click="resetResponsesBtnClickHandler()">\n Reset responses\n </button>\n </div>\n </div>\n <div class="cell small-12 large-5">\n <div id="inv-calc-results" class="no-result" v-if="viewResults == false">\n <p class="inv-calc-results__title">Results</p>\n <p class="inv-calc-results__sub-title" v-html="this.ic.data.defaultResultLabel"></p>\n <img class="inv-cal-results__meter" v-bind:src="this.ic.data.resultItems[0].resultImage" />\n <div class="btn-controlls__download">\n <button v-if="this.ic.data.resultItems[0].resultLink !== null" class="btn btn-primary download-results" :disabled="true" target="_blank">Download results</button>\n <button class="btn btn-primary other-approaches" :disabled="true" target="_blank">Other profiles</button>\n </div>\n </div>\n <div id="inv-calc-results" class="result" v-else>\n <p class="inv-calc-results__title">{{this.ic.data.defaultResultHeading}}</p>\n <p class="inv-calc-results__sub-title">{{results.resultHeading}}</p>\n <p class="inv-calc-results__style">{{results.resultLabel}}</p>\n <img class="inv-cal-results__meter" v-bind:src="results.resultImage" />\n <div v-html="results.resultDescription"></div>\n <div class="btn-controlls__download">\n <a v-if="results.resultLink !== null && results.hideDownloadResultsCta == false" class="btn btn-primary download-results" target="_blank" v-bind:href="results.resultLink">{{results.downloadResultsCtaLabel}}</a>\n <button v-if="results.hideOtherProfilesCta == false" class="btn btn-primary other-approaches" :disabled="false" target="_blank" v-on:click="viewOtherApproachesBtnClickHandler()">{{results.otherProfilesCtaLabel}}</button>\n </div>\n </div>\n </div>\n </div>\n <div class="inv-calc-other" id="inv-calc-other" v-if="viewResults == true && this.ic.data.hideOtherInvestments == false">\n <div class="grid-x grid-margin-x">\n <h2 v-html="this.ic.data.otherInvestmentsLabel"></h2>\n <v-select \n :options="resultsTrimmed"\n :value="resultsTrimmed[otherResultsCurrentIndex - 1]"\n @input
7408="setSelected"\n :clearable="false"\n />\n <ul class="inv-calc-nav">\n <li v-for="(result, rindex) in resultsTrimmed">\n <button\n v-on:click="resultNavigationBtnClickHandler(rindex)"\n :class="{ active: rindex === otherResultsCurrentIndex - 1}"\n >{{result}}</button>\n </li>\n </ul>\n <div class="inv-calc-results__meter-wrapper cell small-12 large-5">\n <img class="inv-calc-results__meter" v-bind:src="ic.data.resultItems[otherResultsCurrentIndex].resultImage" />\n </div>\n <div class="inv-calc-results__info cell small-12 large-7">\n <p class="inv-calc-results__style">{{ic.data.resultItems[otherResultsCurrentIndex].resultLabel}}</p>\n <div v-html="ic.data.resultItems[otherResultsCurrentIndex].resultDescription"></div>\n </div>\n </div> \n </div>\n </div>\n '));new u.a({el:"#inv-calc",data:function(){return{ic:t,icquestionsMatrix:o,score:{score:0},questionsAnswered:{count:0},totalQuestions:{count:0},questionsComplete:!1,questionsInProgress:!1,viewResults:!1,changeMade:!1,results:{resultLabel:"",resultImage:"",resultDescription:"",resultDownloadLink:"",resultHeading:"",downloadResultsCtaLabel:"",otherProfilesCtaLabel:"",hideOtherProfilesCta:"",hideDownloadResultsCta:""},otherResultsCurrentIndex:1,resultsTrimmed:t.data.resultItems.filter(function(t){return-1!=t.score}).map(function(t){return t.resultLabel})}},methods:{updateCell:function(t,e,n,r){e=o[t][e],t=o[t],r=null==e.status||e.status==r;t.map(function(t){return t.status=null}),r&&(e.status=n)},calculateScore:function(){var e=this;this.score.score=0,this.questionsAnswered.count=0,this.totalQuestions.count=0,o.map(function(t){t.map(function(t){"active"!==t.status&&"linked-active"!==t.status||(e.score.score+=t.score,e.questionsAnswered.count++)}),e.totalQuestions.count++}),this.questionsComplete=this.questionsAnswered.count===this.totalQuestions.count,this.questionsInProgress=1<=this.questionsAnswered.count},questionBtnClickHandler:function(t,e){this.changeMade=!0,this.updateCell(t,e,"active","linked-active");t=o[t][e].linked;!1!==t&&this.updateCell(t,e,"linked-active","active"),this.calculateScore()},viewResultsBtnClickHandler:function(){var e=this,n=(this.viewResults=!0,this.changeMade=!1,{});this.ic.data.resultItems.map(function(t){e.score.score>=t.score&&(n.resultLabel=t.resultLabel,n.resultHeading=t.resultHeading,n.downloadResultsCtaLabel=t.downloadResultsCtaLabel,n.otherProfilesCtaLabel=t.otherProfilesCtaLabel,n.hideOtherProfilesCta=t.hideOtherProfilesCta,n.hideDownloadResultsCta=t.hideDownloadResultsCta,n.resultImage=t.resultImage,n.resultDescription=t.resultDescription,n.resultLink=t.resultLink,e.results=ke({},n),t=document.getElementById("inv-calc-results"),t=Math.floor(t.getBoundingClientRect().top),window.scrollBy({top:t,left:0,behavior:"smooth"}))})},resetResponsesBtnClickHandler:function(){var n=this;o.map(function(t,e){n.updateCell(e,0,null,null)}),this.calculateScore(),this.viewResults=!1},viewOtherApproachesBtnClickHandler:function(t){var e=document.getElementById("inv-calc-other"),e=Math.floor(e.getBoundingClientRect().top);window.scrollBy({top:e,left:0,behavior:"smooth"})},resultNavigationBtnClickHandler:function(t){this.otherResultsCurrentIndex=t+1},setSelected:function(n){var r=this;this.ic.data.resultItems.map(function(t,e){if(t.resultLabel===n)return r.otherResultsCurrentIndex=e})}},render:function(t){return e.render.call(this,t)},mounted:function(){}})}}])&&Ae(e.prototype,n),r&&Ae(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}(),t=document.phdConf?document.phdConf.rse:"",d="/bin/cds-au/v1/phd/entity?type=data&r=".concat(t),p={getProducts:function(){return a(d)},getInvestments:function(t){return a("".concat(d,"&p=").concat(t))},getInvestmentsDetails:function(t){var e=t.productId,n=t.investmentId,t=t.pagination;return a("".concat(d,"&p=").concat(e,"&i=").concat(n).concat(Oe(t)))},getAssetDetails:function(t){var e=t.productId,n=t.investmentId,r=t.assestId,t=t.pagination;return a("".concat(d,"&p=").concat(e,"&i=").concat(n,"&c=assets&id=").concat(r).concat(Oe(t)))},getDerivativesDetails:function(t){var e=t.productId,n=t.investmentId,r=t.derivativeBy,t=t.pagination;return a("".concat(d,"&p=").concat(e,"&i=").concat(n,"&c=").concat(r).concat(Oe(t)))}},Te=function(t){return void 0===t};function Pe(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Ie(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ie(t,e):void 0}}
7408(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ie(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function je(t){return(t=String(t).split("."))[1]=t[1]||"",t[1]=t[1].slice(0,2).padEnd(2,0),t.join(".")}var Ne=["January","February","March","April","May","June","July","August","September","October","November","December"],v={currency:function(t){var e=t;return"string"==typeof t&&(e=t.replace(/,/g,"")),e=je(e),new Intl.NumberFormat("AUS",{style:"currency",currency:"AUD",currencyDisplay:"narrowSymbol"}).format(e,10)},percent:function(t){var e=t;return"string"!=typeof t&&(e=t.toString()),"".concat(je(e),"%")},date:function(t){var t=Pe(t.split("-"),3),e=t[0],n=t[1],t=t[2],n=Ne[n-1];return"".concat(e," ").concat(n," ").concat(t)},numeric:function(t){t=(new Intl.NumberFormat).format(t);return je(t)}};function Fe(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function $e(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?Fe(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):Fe(Object(i)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function Re(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return Be(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Be(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Be(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function He(t){var e=t.total,n=t.weighting,t=3<(t=t.columns)?tn():"";return'<tr class="phd-header">\n <td class="phd-col">Total</td>\n <td class="phd-col">'.concat(e,'</td>\n <td class="').concat("phd-col",'">').concat(n,"</td>\n ").concat(t,"\n</tr>")}var t=document.querySelector("#assets-table tbody"),qe=document.querySelector("#derivatives-table tbody"),ze=document.querySelector("#details-section"),We=["weighting","derivCurrencyExpoEffectPcnt","actualCurrencyExposure","exposure","allocation","ownership","pcntOfPropertyHeld","actualAssetAlocPcnt","derivAssetAlocEffectPcnt"],Ve=["value"],Ue=["other-tax-provisions-internally-managed","other-tax-provisions","tax-and-other-provisions"],Ye=["unitsHeld"],Ge={assets:t,derivatives:qe},Ke=function(t,e){return parseInt(t/2,10),"phd-col"};function Xe(t,e){function n(t,e){return'<span class="pagination-page phd-page-num">\n <a class="iaf-ajax iaf-browserhistory page-link phd-view-pagination '.concat(e?"selected":"",'" data-product="').concat(i,'" data-page="').concat(t,'">').concat(t,"</a></span>")}var r=e,i=t,t=(e=(r.page-1)*r.pageSize+1)+r.pageSize<r.totalRecords?e+r.pageSize-1:r.totalRecords,o='\n <div class="pb">\n <div class="grid-margin-x grid-x phd-pagination">\n <div class="phd-block-result cell small-12 medium-6 ">\n <span class="pagination-label">\n Showing '.concat(e," - ").concat(t," \n of ").concat(r.totalRecords,' results\n </span>\n </div>\n <div class="phd-block-pagenum cell small-12 medium-6 text-right">'),e=(1<r.page&&(o+='<span class="pagination-page phd-page-num">\n <a class="iaf-ajax iaf-browserhistory page-link phd-view-pagination" data-product="'.concat(i,'" data-page="').concat(r.page-1,'"><</a></span>')),r.totalPages<=4||r.page<=2?1:r.totalPages-r.page==2?r.page:r.totalPages-r.page!=1&&r.totalPages==r.page?r.page-2:r.page-1),a=r.totalPages<=4||r.page>=r.totalPages?r.totalPages:1==r.page||!(r.page<=2)&&r.totalPages-r.page==2?r.page+2:r.page+1,t='<span class="pagination-page phd-page-num"><span>...</span></span>';if(4<r.totalPages&&2<r.page&&(o+=n(1,!1)+t),r&&1<r.totalPages)for(var s=e;s<=a;s++)o+=n(s,r.page==s);return 4<r.totalPages&&r.page<r.totalPages-2&&(o+=t+n(r.totalPages,!1)),r.page<r.totalPages&&(o+='<span class="pagination-page phd-page-num">\n <a class="iaf-ajax iaf-browserhistory page-link phd-view-pagination" data-product="'.concat(i,'" data-page="').concat(r.page+1,'">></a></span>')),o+"\t</div>\n </div> \n </div>"}function Je(t){return t=t.link,'\n <td class="phd-col phd-action-col">\n <button href="'.concat(t,'" style="text-decoration: underline;
7408 color: #6271ad; cursor: pointer;" class="phd-view">View</button>\n </td>')}function Qe(t,e){var n=t.pop(),r="assets"===e?4:3,i=[];0===t.length?i.push('<tr><td colspan="'.concat(r,'" class="phd-col phd-text-align-c">No ').concat(e," to display</td></tr>")):i=t.map(function(t){return"<tr>".concat(Ze({name:t.name,value:v.currency(t.value),weighting:v.percent(t.weighting),id:t.id},en).join(""),"</tr>")}),i.push(He($e($e({},n),{},{columns:r}))),Ge[e].innerHTML=i.join("")}var Ze=function(t,r){var t=Object.entries(t),i=t.length;return t.map(function(t,e){var t=Re(t,2),n=t[0],t=t[1];return"id"!==n||void 0===t||Ue.includes(t)?Ue.includes(t)?tn():"id"!==n?'<td class="'.concat(r(i,e),'">').concat(t,"</td>"):void 0:Je({link:t})})},tn=function(){return'<td class="phd-col"> </td>'},en=function(t,e){return"phd-col"};function nn(t){var e=t.id,n=t.name,r=t.text,r=void 0===r?"":r,i=t.headings,o=t.details,a=t.tfooter,a=void 0!==a&&a,s=t.totalAllocation,c=t.totalExposure,t=t.paginationInfo,l=i.length,u='<tr><td colspan="3" class="phd-col phd-text-align-c">No data to display</td></tr>',o=(0<o.length&&(u=o.map(function(t){return"<tr>".concat((t=t,t=Object.entries(t),r=t.length,t.map(function(t,e){var t=Re(t,2),n=t[0],t=t[1];return void 0===t?'<td class="'.concat(Ke(r,e),'">N/A</td>'):(We.includes(n)&&(t=v.percent(t)),Ve.includes(n)&&(t=v.currency(t)),Ye.includes(n)&&(t=v.numeric(t)),'<td class="'.concat(Ke(r,e),'">').concat(t,"</td>"))}).join("")),"</tr>");var r}).join("")),'\n <div class="grid-x grid-margin-x">\n <div class="cell">\n <h4 class="h4">'.concat(n,'</h4>\n </div>\n <div class="cell small-12 medium-12">\n ').concat(0<r.length?"<p>".concat(r,"</p>"):"",'\n <div class="phd-table-div parbase">\n <div class="phd-table-wrapper">\n <table id="asset-investDetails" class=').concat(e,' cellpadding="0" cellspacing="0">\n <thead>\n <tr class="phd-header phd-col">\n ').concat(i.map(function(t,e){return'<td class="'.concat(Ke(l,e),'">').concat(t.text).concat((e=t.tooltip)?'<div class="tooltip-component">\n <a class="has-tooltip">\n <span class="tooltip-icon"> </span>\n </a>\n <span class="tooltip-wrapper" role="tooltip">\n <p class="tooltip-text">'.concat(e,"</p>\n </span>\n </div>"):"","</td>")}).join(""),"\n </tr>\n </thead>\n <tbody>\n ").concat(u,"\n </tbody>\n ").concat(a?He({total:s,weighting:c,columns:3}):""," \n </table>\n \n </div>\n </div>\n </div>\n</div>\n").concat(Xe(e,t),"\n"));ze.innerHTML=o}var m=document.querySelector("#tables-section-header");var rn=296,on=rn/2,an=80,sn=14;function cn(t){var e=t.parentElement.nextElementSibling,n=(e.style.inset="auto",t),r=e,r=(n=function(t){var e=0;if(t.offsetParent)for(;e+=t.offsetTop,t=t.offsetParent;);return 0<=e?e:0}(n),r.style.top="".concat(n-an,"px"),t),n=e,t=(r=r.getBoundingClientRect()).left;!function(t,e){return t>document.body.clientWidth||e<=0}(r=r.right,t)?rn+sn>=document.body.clientWidth?(r=(document.body.clientWidth-rn)/2,n.style.left="".concat(r,"px"),n.style.right="".concat(r,"px")):function(t){return t+on>=document.body.clientWidth}(r)?n.style.right="".concat(sn,"px"):n.style.left="".concat(t<on?sn:t-on,"px"):n.style.display="none"}function ln(t){t.target.classList.add("hover"),cn(t.target),t.target.parentElement.nextElementSibling.style.display="inline-block"}function r(){document.querySelectorAll(".tooltip-component .tooltip-wrapper").forEach(function(t){return t.style.display="none"}),document.querySelectorAll(".tooltip-icon.hover").forEach(function(t){return t.classList.remove("hover")})}function un(){var t=document.querySelector("#asset-investDetails"),e=t.parentElement;t.querySelectorAll(".tooltip-icon").forEach(function(t){t.addEventListener("mouseover",ln),t.addEventListener("click",ln),t.addEventListener("mouseout",r)}),e.addEventListener("scroll",r)}window.addEventListener("resize",r),document.querySelectorAll(".tooltip-component .tooltip-icon").forEach(function(t){t.addEventListener("mouseover",ln),t.addEventListener("click",ln),t.addEventListener("mouseout",r)});var g=document.querySelector("#csv-download-section"),fn=document.phdConf?document.phdConf.rse:"";var dn=function(t){var n=t.order,e=t.data,r=t.key,i=[],o=[];return e.forEach(function(t){var e=n.indexOf(t[r].toLowerCase());0<=e?o[e]=t:i.push(t)}
7408),o.filter(Boolean).concat(i)},pn=i(53);function hn(t){return(hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vn(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function mn(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?vn(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):vn(Object(i)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function S(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */S=function(){return a};var a={},t=Object.prototype,c=t.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},r=e.iterator||"@@iterator",n=e.asyncIterator||"@@asyncIterator",i=e.toStringTag||"@@toStringTag";function o(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{o({},"")}catch(t){o=function(t,e,n){return t[e]=n}}function s(t,e,n,r){var i,o,a,s,e=e&&e.prototype instanceof f?e:f,e=Object.create(e.prototype),r=new w(r||[]);return e._invoke=(i=t,o=n,a=r,s="suspendedStart",function(t,e){if("executing"===s)throw new Error("Generator is already running");if("completed"===s){if("throw"===t)throw e;return x()}for(a.method=t,a.arg=e;;){var n=a.delegate;if(n){n=function t(e,n){var r=e.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=void 0,t(e,n),"throw"===n.method))return u;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return u}r=l(r,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,u;r=r.arg;return r?r.done?(n[e.resultName]=r.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,u):r:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,u)}(n,a);if(n){if(n===u)continue;return n}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===s)throw s="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);s="executing";n=l(i,o,a);if("normal"===n.type){if(s=a.done?"completed":"suspendedYield",n.arg===u)continue;return{value:n.arg,done:a.done}}"throw"===n.type&&(s="completed",a.method="throw",a.arg=n.arg)}}),e}function l(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}a.wrap=s;var u={};function f(){}function d(){}function p(){}var e={},h=(o(e,r,function(){return this}),Object.getPrototypeOf),h=h&&h(h(_([]))),v=(h&&h!==t&&c.call(h,r)&&(e=h),p.prototype=f.prototype=Object.create(e));function m(t){["next","throw","return"].forEach(function(e){o(t,e,function(t){return this._invoke(e,t)})})}function g(a,s){var e;this._invoke=function(n,r){function t(){return new s(function(t,e){!function e(t,n,r,i){var o,t=l(a[t],a,n);if("throw"!==t.type)return(n=(o=t.arg).value)&&"object"==hn(n)&&c.call(n,"__await")?s.resolve(n.__await).then(function(t){e("next",t,r,i)},function(t){e("throw",t,r,i)}):s.resolve(n).then(function(t){o.value=t,r(o)},function(t){return e("throw",t,r,i)});i(t.arg)}(n,r,t,e)})}return e=e?e.then(t,t):t()}}function y(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function b(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function w(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(y,this),this.reset(!0)}function _(e){if(e){var n,t=e[r];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length))return n=-1,(t=function t(){for(;++n<e.length;)if(c.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t}).next=t}return{next:x}}function x(){return{value:void 0,done:!0}}return o(v,"constructor",d.prototype=p),o(p,"constructor",d),d.displayName=o(p,i,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===d||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,o(t,i,"GeneratorFunction")),t.prototype=Object.create(v),t},a.awrap=function(t){return{__await:t}},m(g.prototype),o(g.prototype,n,function(){return this}),a.AsyncIterator=g,a.async=function(t,e,n,r,i){void 0===i&&(i=Prom
7408ise);var o=new g(s(t,e,n,r),i);return a.isGeneratorFunction(e)?o:o.next().then(function(t){return t.done?t.value:o.next()})},m(v),o(v,i,"Generator"),o(v,r,function(){return this}),o(v,"toString",function(){return"[object Generator]"}),a.keys=function(n){var t,r=[];for(t in n)r.push(t);return r.reverse(),function t(){for(;r.length;){var e=r.pop();if(e in n)return t.value=e,t.done=!1,t}return t.done=!0,t}},a.values=_,w.prototype={constructor:w,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(b),!t)for(var e in this)"t"===e.charAt(0)&&c.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(n){if(this.done)throw n;var r=this;function t(t,e){return o.type="throw",o.arg=n,r.next=t,e&&(r.method="next",r.arg=void 0),!!e}for(var e=this.tryEntries.length-1;0<=e;--e){var i=this.tryEntries[e],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=c.call(i,"catchLoc"),s=c.call(i,"finallyLoc");if(a&&s){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;0<=n;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&c.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}var o=(i=i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc?null:i)?i.completion:{};return o.type=t,o.arg=e,i?(this.method="next",this.next=i.finallyLoc,u):this.complete(o)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),u},finish:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),b(n),u}},catch:function(t){for(var e=this.tryEntries.length-1;0<=e;--e){var n,r,i=this.tryEntries[e];if(i.tryLoc===t)return"throw"===(n=i.completion).type&&(r=n.arg,b(i)),r}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:_(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),u}},a}function gn(t,e,n,r,i,o,a){try{var s=t[o](a),c=s.value}catch(t){return void n(t)}s.done?e(c):Promise.resolve(c).then(r,i)}function y(s){return function(){var t=this,a=arguments;return new Promise(function(e,n){var r=s.apply(t,a);function i(t){gn(r,e,n,i,o,"next",t)}function o(t){gn(r,e,n,i,o,"throw",t)}i(void 0)})}}function yn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var r,i,o=[],a=!0,s=!1;try{for(n=n.call(t);!(a=(r=n.next()).done)&&(o.push(r.value),!e||o.length!==e);a=!0);}catch(t){s=!0,i=t}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}}(t,e)||function(t,e){if(t){if("string"==typeof t)return bn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bn(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function wn(t){var e,n,r,i,t=t.csvLink,o=document.querySelector("#tables-section-header #investment-title").textContent;o={investmentName:o,productId:x.value,csvLink:t},t=o.investmentName,e=o.productId,o=o.csvLink,n=g.querySelector("h4"),r=g.querySelector(".phd-download-text"),i=g.querySelector("a"),n.textContent="Download information for ".concat(t),r.textContent="".concat(t," (csv)"),i.setAttribute("href","/bin/cds-au/v1/phd/csv?r=".concat(fn,"&p=").concat(e,"&i=").concat(o)),i.setAttribute("download","".concat(t,".csv")),g.style.display="block"}function _n(t){var e,n,r=t.phdOptionDesc,i=t.productType,o=t.investOptionAmt,a=t.totalAssetPcnt,s=t.weigthingTotal,t=t.eftvDate;r=(i={title:r=i&&0<i.length?"".concat(r," - ").concat(i.toLowerCase().split(" ").map(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}).join(" ")):r,amount:v.currency(o),percentage:v.percent(Number(a)+Number(s)),effectDate:v.date(t)}).title,o=i.amount,a=i.percentage,i=i.effectDate,s=m.querySelector("#investment-title"),t=m.querySelector("h2 > span"),e=m.querySelector(".total-percentage"),n=m.querySelector(".effective-date > span"),s.textContent=r,t.textContent=o,e.textContent="Total value represents ".concat(a," of the investment option value within the super fund."),n.textContent=i,m.style.display="block"}var xn=["fixed-income-internally-managed","unlisted-equity-internally-managed","unlisted-property-internally-managed","unlisted-infrastru
7408cture-internally-managed","unlisted-alternatives-internally-managed"],Sn=["fixed-income-externally-managed","unlisted-equity-externally-managed","unlisted-property-externally-managed","unlisted-infrastructure-externally-managed","unlisted-alternatives-externally-managed"],t=yn(document.querySelectorAll("select.form-control"),2),x=t[0],E=t[1],En=document.querySelector("#assets-derivatives-container"),qe=document.querySelectorAll("#derivatives-on-invest .phd-view"),C=document.querySelector("#details-section"),Cn=document.querySelector("#select-investment-option-box"),kn=document.querySelector("#select-investment-text"),An=document.querySelector("#select-investment-option-text"),On=function(){var t=y(S().mark(function t(){var i;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return m.style.display="none",En.style.display="none",g.style.display="none",document.querySelector("#details-section").style.display="none",Cn.style.display="block",An.style.display="none",kn.style.display="block",t.next=9,p.getInvestments(x.value);case 9:i=t.sent,i=i.ret.sort(Dn),r=n=void 0,n=(e={arr:i}).arr,r=e.value,e=e.text,n.unshift({id:void 0===r?"#":r,name:void 0===e?"Select investment option":e}),Le({element:E,data:i});case 13:case"end":return t.stop()}var e,n,r},t)}));return function(){return t.apply(this,arguments)}}(),Dn=function(t,e){t=t.name.toUpperCase(),e=e.name.toUpperCase();return t<e?-1:e<t?1:0},t=function(){var t=y(S().mark(function t(){var e,n;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:if("#"===E.value)return Pn(),t.abrupt("return");t.next=3;break;case 3:return C.style.display="none",Cn.style.display="none",t.next=7,p.getInvestmentsDetails({productId:x.value,investmentId:E.value,pagination:{page:1}});case 7:e=t.sent,e=e.ret,n=0,e.derivatives.weigthingTotal&&(n=e.derivatives.weigthingTotal),_n(mn({weigthingTotal:n},e)),kn.style.display="none",An.style.display="block",e.assets=dn({order:pn.assets,data:e.assets,key:"name"}),e.assets.push({total:v.currency(e.totalAssetAmt||0),weighting:v.percent(e.totalAssetPcnt||0)}),Qe(e.assets,"assets"),e.derivatives.data=dn({order:pn.derivatives,data:e.derivatives.data,key:"name"}),e.hasDerivativesBy||0<e.derivatives.data.length?document.getElementById("derivatives-on-invest").style.display="table":document.getElementById("derivatives-on-invest").style.display="none",e.derivatives.data.push({total:v.currency(e.derivatives.valueTotal||0),weighting:v.percent(e.derivatives.weigthingTotal||0)}),Qe(e.derivatives.data,"derivatives"),Mn(),En.style.display="flex",document.querySelector("div.phd-table-wrapper").addEventListener("scroll",r),document.querySelector("#derivatives-table").parentElement.addEventListener("scroll",r),e.id,e.csvLink&&e.csvLink,wn({csvLink:e.csvLink});case 28:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}(),Ln=function(){var n=y(S().mark(function t(n,r){var i,o;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.getAssetDetails({productId:x.value,investmentId:E.value,assestId:n,pagination:{page:r||1}});case 2:i=t.sent,(o=i.ret).text=(e=o.id,xn.includes(e)?"Held directly or by associated entities or by PSTs":Sn.includes(e)?"Investment in non-associated entities - held directly or by associated entities or by PSTs":""),o.details=In(o),o.name="Assets - ".concat(o.name),o.paginationInfo=i.meta,nn(o),Tn(),C.style.display="block",Cn.style.display="none",C.scrollIntoView(),un();case 14:case"end":return t.stop()}var e},t)}));return function(t,e){return n.apply(this,arguments)}}(),Mn=(x&&x.addEventListener("change",On),E&&E.addEventListener("change",t),function(){document.querySelectorAll("#assets-table .phd-view").forEach(function(t){return t.addEventListener("click",function(t){t.preventDefault();var e=t.target.dataset?t.target.dataset.page:null;Ln(t.target.getAttribute("href"),e)})})}),Tn=function(){document.querySelectorAll(".phd-view-pagination").forEach(function(t){return t.addEventListener("click",function(t){t.preventDefault();var e=t.target.dataset&&t.target.dataset.page?t.target.dataset.page:null,t=t.target.dataset&&t.target.dataset.product?t.target.dataset.product:null;Ln(t,e)})})},Pn=(qe.forEach(function(t){return t.addEventListener("click",function(){var e=y(S().mark(function t(e){var n,r;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return e.preventDefault(),t.next=3,p.getDerivativesDetails({productId:x.value,investmentId:E.value,derivativeBy:e.target.getAttribute("href"),pagination:{page:1}});case 3:n=t.sent,r={details:[],name:"Derivatives by currency"},"byasset"===e.target.getAttribute("href")&&(r.name="Derivatives by asset class"),n&&(r.headings=n.headings,r.totalAllocation=0,r.totalExposure=0,r.paginationInfo=n.meta,r.details=n.ret,r.details=In(r),"byasset"===e.target.getAttribute("href")&&0<n.ret.length?(r.details=dn({order:pn.byAsset,data:r.details,key:"assetName"}),r.totalAllocation=n.ret[0].totalAssetAlocPcnt,r.totalExposure=n.ret[0].totalAssetClassEffectPcnt):0<n.ret.length&&(r.details=dn({order:pn.byCurrency,data:r.details,key:"currencyExpo"}),r.totalAllocation=n.ret[0].totalCurrencyExpoPcnt,r.totalExposure=n.ret[0].totalCurrencyEffectPcnt)),nn(mn(mn({},r),{},{tfooter:!0,totalAllocation:v.percent(r.totalAllocation),totalExposure:"",paginationInfo:r.paginationInfo})),C.style.display="block",Cn.style.display="none",C.scrollIntoView(),un();case 15:case"end":return t.stop()}},t)}));return function(t){return e.apply(this,arguments)}}())}),function(){var t=y(S().mark(function t(){var e;return S().wrap(function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,p.getProducts();case 2:return e=t.sent,e=e.ret.sort(Dn),Le({element:x,data:e}),t.next=7,On();case 7:case"end":return t.stop()}},t)}));return function(){return t.apply(this,arguments)}}());function In(t){var e,a,r=t.headings,t=t.details;return e=(t={headings:r,details:t}).headings,t=t.details,a=e.map(function(t){return t.name}),t.map(function(t){for(var e={},n=0,r=Object.entries(t);n<r.length;n++){var i=yn(r[n],2),o=i[0],i=i[1];0<i.length&&a.includes(o)&&(e[o]=i)}return e}).map(function(e){var n={};return r.map(function(t){t=t.name;return n[t]=e[t]}),n})}function jn(e,t){var n,r=Object.keys(e);return Object.getOwnPropertySymbols&&(n=Object.getOwnPropertySymbols(e),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)),r}function Nn(r){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};
7408t%2?jn(Object(i),!0).forEach(function(t){var e,n;e=r,n=i[t=t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(i)):jn(Object(i)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(i,t))})}return r}function e(t){return function(t){if(Array.isArray(t))return Fn(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return Fn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Map"===(n="Object"===n&&t.constructor?t.constructor.name:n)||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Fn(t,e):void 0}}(t)||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 Fn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}document.phdConf&&Pn(),t=function(){(new Ft).init(),(new ee).init(),(new re).init(),e(document.querySelectorAll("[data-carousel]")).map(function(t){var e=t.getAttribute("data-carousel"),n={count:t.getElementsByClassName("cell").length};return new Ut(t,Nn(Nn({},n),c.carousel[e])).init()}),document.getElementsByClassName("mobile-nav").length&&(new N).init();var t=document.getElementsByClassName("ipn"),t=(t.length&&new U(t[0]).init(),e(document.querySelectorAll("[step-by-step]")).map(function(t){return new Qt(t).init()}),document.getElementsByClassName("spt")),t=(t.length&&new G(t[0]).init(),(new X).init(),(new Q).init(),(new tt).init(),(new ct).init(),document.getElementsByClassName("nav-main").length&&new P,document.getElementsByClassName("amp-video").length&&(new Rt).init(),e(document.querySelectorAll("[data-content-animation]")).forEach(function(t){new le(t).init()}),e(document.querySelectorAll("section > * .grid-x [data-accordion]"))),t=(t.length&&new ve(t,!1).init(),e(document.querySelectorAll("section > * > [data-accordion]"))),t=(t.length&&new ve(t,!0).init(),e(document.querySelectorAll(".page-breadcrumbs__back a"))),t=(t.length&&t.map(function(t){return t.addEventListener("click",function(t){t.preventDefault(),function(t){t=0<arguments.length&&void 0!==t?t:"/",window.history.length?window.history.back():window.location.href=t}()})}),(new be).init(),(new Ee).init(),document.getElementById("inv-calc-data"));null!=t&&(new Me).init(),(new Gt).init()},"loading"!==document.readyState?t():document.addEventListener("DOMContentLoaded",t)}]); 7409function o(){const c=".aem-product-card-widget";document.querySelectorAll(c).forEach(t=>{const e=t.querySelector(".aem-widget__accordion");e.querySelector(".aem-widget__accordion-trigger").addEventListener("click",()=>{e.classList.toggle("aem-widget__accordion_closed")})})}document.addEventListener("DOMContentLoaded",()=>{o()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.