{"version":3,"sources":["jquery3.3.1.min.js","bootstrap.min.js","jquery-ui.min.js","toastr.min.js","jquery.validate.js","jquery.mask.min.js","photoswipe.min.js","photoswipe-ui-default.min.js","artplayer.js","slick.js","navigo.min.js","jquery-migrate-1.2.1.min.js","vimeo-player.min.js"],"names":[],"mappings":"AAAA;AACA;AACA;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;ACNA;AACA;AACA;ACFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChkDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACnBA;AACA;AACA;AACA;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AC52BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACn8FA;AACA;AACA;ACFA;AACA;AACA;ACFA;AACA;AACA","file":"vendor.js","sourcesContent":["/*! jQuery v3.4.1 | (c) JS Foundation and other contributors | jquery.org/license */\r\n!function(e,t){\"use strict\";\"object\"==typeof module&&\"object\"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error(\"jQuery requires a window with a document\");return t(e)}:t(e)}(\"undefined\"!=typeof window?window:this,function(C,e){\"use strict\";var t=[],E=C.document,r=Object.getPrototypeOf,s=t.slice,g=t.concat,u=t.push,i=t.indexOf,n={},o=n.toString,v=n.hasOwnProperty,a=v.toString,l=a.call(Object),y={},m=function(e){return\"function\"==typeof e&&\"number\"!=typeof e.nodeType},x=function(e){return null!=e&&e===e.window},c={type:!0,src:!0,nonce:!0,noModule:!0};function b(e,t,n){var r,i,o=(n=n||E).createElement(\"script\");if(o.text=e,t)for(r in c)(i=t[r]||t.getAttribute&&t.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function w(e){return null==e?e+\"\":\"object\"==typeof e||\"function\"==typeof e?n[o.call(e)]||\"object\":typeof e}var f=\"3.4.1\",k=function(e,t){return new k.fn.init(e,t)},p=/^[\\s\\uFEFF\\xA0]+|[\\s\\uFEFF\\xA0]+$/g;function d(e){var t=!!e&&\"length\"in e&&e.length,n=w(e);return!m(e)&&!x(e)&&(\"array\"===n||0===t||\"number\"==typeof t&&0+~]|\"+M+\")\"+M+\"*\"),U=new RegExp(M+\"|>\"),X=new RegExp($),V=new RegExp(\"^\"+I+\"$\"),G={ID:new RegExp(\"^#(\"+I+\")\"),CLASS:new RegExp(\"^\\\\.(\"+I+\")\"),TAG:new RegExp(\"^(\"+I+\"|[*])\"),ATTR:new RegExp(\"^\"+W),PSEUDO:new RegExp(\"^\"+$),CHILD:new RegExp(\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\"+M+\"*(even|odd|(([+-]|)(\\\\d*)n|)\"+M+\"*(?:([+-]|)\"+M+\"*(\\\\d+)|))\"+M+\"*\\\\)|)\",\"i\"),bool:new RegExp(\"^(?:\"+R+\")$\",\"i\"),needsContext:new RegExp(\"^\"+M+\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\"+M+\"*((?:-\\\\d)?\\\\d*)\"+M+\"*\\\\)|)(?=[^-]|$)\",\"i\")},Y=/HTML$/i,Q=/^(?:input|select|textarea|button)$/i,J=/^h\\d$/i,K=/^[^{]+\\{\\s*\\[native \\w/,Z=/^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,ee=/[+~]/,te=new RegExp(\"\\\\\\\\([\\\\da-f]{1,6}\"+M+\"?|(\"+M+\")|.)\",\"ig\"),ne=function(e,t,n){var r=\"0x\"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},re=/([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\0-\\x1f\\x7f-\\uFFFF\\w-]/g,ie=function(e,t){return t?\"\\0\"===e?\"\\ufffd\":e.slice(0,-1)+\"\\\\\"+e.charCodeAt(e.length-1).toString(16)+\" \":\"\\\\\"+e},oe=function(){T()},ae=be(function(e){return!0===e.disabled&&\"fieldset\"===e.nodeName.toLowerCase()},{dir:\"parentNode\",next:\"legend\"});try{H.apply(t=O.call(m.childNodes),m.childNodes),t[m.childNodes.length].nodeType}catch(e){H={apply:t.length?function(e,t){L.apply(e,O.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}function se(t,e,n,r){var i,o,a,s,u,l,c,f=e&&e.ownerDocument,p=e?e.nodeType:9;if(n=n||[],\"string\"!=typeof t||!t||1!==p&&9!==p&&11!==p)return n;if(!r&&((e?e.ownerDocument||e:m)!==C&&T(e),e=e||C,E)){if(11!==p&&(u=Z.exec(t)))if(i=u[1]){if(9===p){if(!(a=e.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(f&&(a=f.getElementById(i))&&y(e,a)&&a.id===i)return n.push(a),n}else{if(u[2])return H.apply(n,e.getElementsByTagName(t)),n;if((i=u[3])&&d.getElementsByClassName&&e.getElementsByClassName)return H.apply(n,e.getElementsByClassName(i)),n}if(d.qsa&&!A[t+\" \"]&&(!v||!v.test(t))&&(1!==p||\"object\"!==e.nodeName.toLowerCase())){if(c=t,f=e,1===p&&U.test(t)){(s=e.getAttribute(\"id\"))?s=s.replace(re,ie):e.setAttribute(\"id\",s=k),o=(l=h(t)).length;while(o--)l[o]=\"#\"+s+\" \"+xe(l[o]);c=l.join(\",\"),f=ee.test(t)&&ye(e.parentNode)||e}try{return H.apply(n,f.querySelectorAll(c)),n}catch(e){A(t,!0)}finally{s===k&&e.removeAttribute(\"id\")}}}return g(t.replace(B,\"$1\"),e,n,r)}function ue(){var r=[];return function e(t,n){return r.push(t+\" \")>b.cacheLength&&delete e[r.shift()],e[t+\" \"]=n}}function le(e){return e[k]=!0,e}function ce(e){var t=C.createElement(\"fieldset\");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function fe(e,t){var n=e.split(\"|\"),r=n.length;while(r--)b.attrHandle[n[r]]=t}function pe(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&e.sourceIndex-t.sourceIndex;if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function de(t){return function(e){return\"input\"===e.nodeName.toLowerCase()&&e.type===t}}function he(n){return function(e){var t=e.nodeName.toLowerCase();return(\"input\"===t||\"button\"===t)&&e.type===n}}function ge(t){return function(e){return\"form\"in e?e.parentNode&&!1===e.disabled?\"label\"in e?\"label\"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&ae(e)===t:e.disabled===t:\"label\"in e&&e.disabled===t}}function ve(a){return le(function(o){return o=+o,le(function(e,t){var n,r=a([],e.length,o),i=r.length;while(i--)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function ye(e){return e&&\"undefined\"!=typeof e.getElementsByTagName&&e}for(e in d=se.support={},i=se.isXML=function(e){var t=e.namespaceURI,n=(e.ownerDocument||e).documentElement;return!Y.test(t||n&&n.nodeName||\"HTML\")},T=se.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:m;return r!==C&&9===r.nodeType&&r.documentElement&&(a=(C=r).documentElement,E=!i(C),m!==C&&(n=C.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener(\"unload\",oe,!1):n.attachEvent&&n.attachEvent(\"onunload\",oe)),d.attributes=ce(function(e){return e.className=\"i\",!e.getAttribute(\"className\")}),d.getElementsByTagName=ce(function(e){return e.appendChild(C.createComment(\"\")),!e.getElementsByTagName(\"*\").length}),d.getElementsByClassName=K.test(C.getElementsByClassName),d.getById=ce(function(e){return a.appendChild(e).id=k,!C.getElementsByName||!C.getElementsByName(k).length}),d.getById?(b.filter.ID=function(e){var t=e.replace(te,ne);return function(e){return e.getAttribute(\"id\")===t}},b.find.ID=function(e,t){if(\"undefined\"!=typeof t.getElementById&&E){var n=t.getElementById(e);return n?[n]:[]}}):(b.filter.ID=function(e){var n=e.replace(te,ne);return function(e){var t=\"undefined\"!=typeof e.getAttributeNode&&e.getAttributeNode(\"id\");return t&&t.value===n}},b.find.ID=function(e,t){if(\"undefined\"!=typeof t.getElementById&&E){var n,r,i,o=t.getElementById(e);if(o){if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o];i=t.getElementsByName(e),r=0;while(o=i[r++])if((n=o.getAttributeNode(\"id\"))&&n.value===e)return[o]}return[]}}),b.find.TAG=d.getElementsByTagName?function(e,t){return\"undefined\"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):d.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if(\"*\"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},b.find.CLASS=d.getElementsByClassName&&function(e,t){if(\"undefined\"!=typeof t.getElementsByClassName&&E)return t.getElementsByClassName(e)},s=[],v=[],(d.qsa=K.test(C.querySelectorAll))&&(ce(function(e){a.appendChild(e).innerHTML=\"\",e.querySelectorAll(\"[msallowcapture^='']\").length&&v.push(\"[*^$]=\"+M+\"*(?:''|\\\"\\\")\"),e.querySelectorAll(\"[selected]\").length||v.push(\"\\\\[\"+M+\"*(?:value|\"+R+\")\"),e.querySelectorAll(\"[id~=\"+k+\"-]\").length||v.push(\"~=\"),e.querySelectorAll(\":checked\").length||v.push(\":checked\"),e.querySelectorAll(\"a#\"+k+\"+*\").length||v.push(\".#.+[+~]\")}),ce(function(e){e.innerHTML=\"\";var t=C.createElement(\"input\");t.setAttribute(\"type\",\"hidden\"),e.appendChild(t).setAttribute(\"name\",\"D\"),e.querySelectorAll(\"[name=d]\").length&&v.push(\"name\"+M+\"*[*^$|!~]?=\"),2!==e.querySelectorAll(\":enabled\").length&&v.push(\":enabled\",\":disabled\"),a.appendChild(e).disabled=!0,2!==e.querySelectorAll(\":disabled\").length&&v.push(\":enabled\",\":disabled\"),e.querySelectorAll(\"*,:x\"),v.push(\",.*:\")})),(d.matchesSelector=K.test(c=a.matches||a.webkitMatchesSelector||a.mozMatchesSelector||a.oMatchesSelector||a.msMatchesSelector))&&ce(function(e){d.disconnectedMatch=c.call(e,\"*\"),c.call(e,\"[s!='']:x\"),s.push(\"!=\",$)}),v=v.length&&new RegExp(v.join(\"|\")),s=s.length&&new RegExp(s.join(\"|\")),t=K.test(a.compareDocumentPosition),y=t||K.test(a.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},D=t?function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!d.sortDetached&&t.compareDocumentPosition(e)===n?e===C||e.ownerDocument===m&&y(m,e)?-1:t===C||t.ownerDocument===m&&y(m,t)?1:u?P(u,e)-P(u,t):0:4&n?-1:1)}:function(e,t){if(e===t)return l=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(!i||!o)return e===C?-1:t===C?1:i?-1:o?1:u?P(u,e)-P(u,t):0;if(i===o)return pe(e,t);n=e;while(n=n.parentNode)a.unshift(n);n=t;while(n=n.parentNode)s.unshift(n);while(a[r]===s[r])r++;return r?pe(a[r],s[r]):a[r]===m?-1:s[r]===m?1:0}),C},se.matches=function(e,t){return se(e,null,null,t)},se.matchesSelector=function(e,t){if((e.ownerDocument||e)!==C&&T(e),d.matchesSelector&&E&&!A[t+\" \"]&&(!s||!s.test(t))&&(!v||!v.test(t)))try{var n=c.call(e,t);if(n||d.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){A(t,!0)}return 0\":{dir:\"parentNode\",first:!0},\" \":{dir:\"parentNode\"},\"+\":{dir:\"previousSibling\",first:!0},\"~\":{dir:\"previousSibling\"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(te,ne),e[3]=(e[3]||e[4]||e[5]||\"\").replace(te,ne),\"~=\"===e[2]&&(e[3]=\" \"+e[3]+\" \"),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),\"nth\"===e[1].slice(0,3)?(e[3]||se.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(\"even\"===e[3]||\"odd\"===e[3])),e[5]=+(e[7]+e[8]||\"odd\"===e[3])):e[3]&&se.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return G.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||\"\":n&&X.test(n)&&(t=h(n,!0))&&(t=n.indexOf(\")\",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(te,ne).toLowerCase();return\"*\"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=p[e+\" \"];return t||(t=new RegExp(\"(^|\"+M+\")\"+e+\"(\"+M+\"|$)\"))&&p(e,function(e){return t.test(\"string\"==typeof e.className&&e.className||\"undefined\"!=typeof e.getAttribute&&e.getAttribute(\"class\")||\"\")})},ATTR:function(n,r,i){return function(e){var t=se.attr(e,n);return null==t?\"!=\"===r:!r||(t+=\"\",\"=\"===r?t===i:\"!=\"===r?t!==i:\"^=\"===r?i&&0===t.indexOf(i):\"*=\"===r?i&&-1\",\"#\"===e.firstChild.getAttribute(\"href\")})||fe(\"type|href|height|width\",function(e,t,n){if(!n)return e.getAttribute(t,\"type\"===t.toLowerCase()?1:2)}),d.attributes&&ce(function(e){return e.innerHTML=\"\",e.firstChild.setAttribute(\"value\",\"\"),\"\"===e.firstChild.getAttribute(\"value\")})||fe(\"value\",function(e,t,n){if(!n&&\"input\"===e.nodeName.toLowerCase())return e.defaultValue}),ce(function(e){return null==e.getAttribute(\"disabled\")})||fe(R,function(e,t,n){var r;if(!n)return!0===e[t]?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),se}(C);k.find=h,k.expr=h.selectors,k.expr[\":\"]=k.expr.pseudos,k.uniqueSort=k.unique=h.uniqueSort,k.text=h.getText,k.isXMLDoc=h.isXML,k.contains=h.contains,k.escapeSelector=h.escape;var T=function(e,t,n){var r=[],i=void 0!==n;while((e=e[t])&&9!==e.nodeType)if(1===e.nodeType){if(i&&k(e).is(n))break;r.push(e)}return r},S=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=k.expr.match.needsContext;function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}var D=/^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i;function j(e,n,r){return m(n)?k.grep(e,function(e,t){return!!n.call(e,t,e)!==r}):n.nodeType?k.grep(e,function(e){return e===n!==r}):\"string\"!=typeof n?k.grep(e,function(e){return-1)[^>]*|#([\\w-]+))$/;(k.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||q,\"string\"==typeof e){if(!(r=\"<\"===e[0]&&\">\"===e[e.length-1]&&3<=e.length?[null,e,null]:L.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:E,!0)),D.test(r[1])&&k.isPlainObject(t))for(r in t)m(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}return(i=E.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):m(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,q=k(E);var H=/^(?:parents|prev(?:Until|All))/,O={children:!0,contents:!0,next:!0,prev:!0};function P(e,t){while((e=e[t])&&1!==e.nodeType);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter(function(){for(var e=0;e\\x20\\t\\r\\n\\f]*)/i,he=/^$|^module$|\\/(?:java|ecma)script/i,ge={option:[1,\"\"],thead:[1,\"\",\"
\"],col:[2,\"\",\"
\"],tr:[2,\"\",\"
\"],td:[3,\"\",\"
\"],_default:[0,\"\",\"\"]};function ve(e,t){var n;return n=\"undefined\"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||\"*\"):\"undefined\"!=typeof e.querySelectorAll?e.querySelectorAll(t||\"*\"):[],void 0===t||t&&A(e,t)?k.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;nx\",y.noCloneChecked=!!me.cloneNode(!0).lastChild.defaultValue;var Te=/^key/,Ce=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ee=/^([^.]*)(?:\\.(.+)|)/;function ke(){return!0}function Se(){return!1}function Ne(e,t){return e===function(){try{return E.activeElement}catch(e){}}()==(\"focus\"===t)}function Ae(e,t,n,r,i,o){var a,s;if(\"object\"==typeof t){for(s in\"string\"!=typeof n&&(r=r||n,n=void 0),t)Ae(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&(\"string\"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=Se;else if(!i)return e;return 1===o&&(a=i,(i=function(e){return k().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=k.guid++)),e.each(function(){k.event.add(this,t,i,r,n)})}function De(e,i,o){o?(Q.set(e,i,!1),k.event.add(e,i,{namespace:!1,handler:function(e){var t,n,r=Q.get(this,i);if(1&e.isTrigger&&this[i]){if(r.length)(k.event.special[i]||{}).delegateType&&e.stopPropagation();else if(r=s.call(arguments),Q.set(this,i,r),t=o(this,i),this[i](),r!==(n=Q.get(this,i))||t?Q.set(this,i,!1):n={},r!==n)return e.stopImmediatePropagation(),e.preventDefault(),n.value}else r.length&&(Q.set(this,i,{value:k.event.trigger(k.extend(r[0],k.Event.prototype),r.slice(1),this)}),e.stopImmediatePropagation())}})):void 0===Q.get(e,i)&&k.event.add(e,i,ke)}k.event={global:{},add:function(t,e,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.get(t);if(v){n.handler&&(n=(o=n).handler,i=o.selector),i&&k.find.matchesSelector(ie,i),n.guid||(n.guid=k.guid++),(u=v.events)||(u=v.events={}),(a=v.handle)||(a=v.handle=function(e){return\"undefined\"!=typeof k&&k.event.triggered!==e.type?k.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||\"\").match(R)||[\"\"]).length;while(l--)d=g=(s=Ee.exec(e[l])||[])[1],h=(s[2]||\"\").split(\".\").sort(),d&&(f=k.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=k.event.special[d]||{},c=k.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&k.expr.match.needsContext.test(i),namespace:h.join(\".\")},o),(p=u[d])||((p=u[d]=[]).delegateCount=0,f.setup&&!1!==f.setup.call(t,r,h,a)||t.addEventListener&&t.addEventListener(d,a)),f.add&&(f.add.call(t,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),k.event.global[d]=!0)}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,p,d,h,g,v=Q.hasData(e)&&Q.get(e);if(v&&(u=v.events)){l=(t=(t||\"\").match(R)||[\"\"]).length;while(l--)if(d=g=(s=Ee.exec(t[l])||[])[1],h=(s[2]||\"\").split(\".\").sort(),d){f=k.event.special[d]||{},p=u[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp(\"(^|\\\\.)\"+h.join(\"\\\\.(?:.*\\\\.|)\")+\"(\\\\.|$)\"),a=o=p.length;while(o--)c=p[o],!i&&g!==c.origType||n&&n.guid!==c.guid||s&&!s.test(c.namespace)||r&&r!==c.selector&&(\"**\"!==r||!c.selector)||(p.splice(o,1),c.selector&&p.delegateCount--,f.remove&&f.remove.call(e,c));a&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,v.handle)||k.removeEvent(e,d,v.handle),delete u[d])}else for(d in u)k.event.remove(e,d+t[l],n,r,!0);k.isEmptyObject(u)&&Q.remove(e,\"handle events\")}},dispatch:function(e){var t,n,r,i,o,a,s=k.event.fix(e),u=new Array(arguments.length),l=(Q.get(this,\"events\")||{})[s.type]||[],c=k.event.special[s.type]||{};for(u[0]=s,t=1;t\\x20\\t\\r\\n\\f]*)[^>]*)\\/>/gi,qe=/\\s*$/g;function Oe(e,t){return A(e,\"table\")&&A(11!==t.nodeType?t:t.firstChild,\"tr\")&&k(e).children(\"tbody\")[0]||e}function Pe(e){return e.type=(null!==e.getAttribute(\"type\"))+\"/\"+e.type,e}function Re(e){return\"true/\"===(e.type||\"\").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute(\"type\"),e}function Me(e,t){var n,r,i,o,a,s,u,l;if(1===t.nodeType){if(Q.hasData(e)&&(o=Q.access(e),a=Q.set(t,o),l=o.events))for(i in delete a.handle,a.events={},l)for(n=0,r=l[i].length;n\")},clone:function(e,t,n){var r,i,o,a,s,u,l,c=e.cloneNode(!0),f=oe(e);if(!(y.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(a=ve(c),r=0,i=(o=ve(e)).length;r\").attr(n.scriptAttrs||{}).prop({charset:n.scriptCharset,src:n.url}).on(\"load error\",i=function(e){r.remove(),i=null,e&&t(\"error\"===e.type?404:200,e.type)}),E.head.appendChild(r[0])},abort:function(){i&&i()}}});var Vt,Gt=[],Yt=/(=)\\?(?=&|$)|\\?\\?/;k.ajaxSetup({jsonp:\"callback\",jsonpCallback:function(){var e=Gt.pop()||k.expando+\"_\"+kt++;return this[e]=!0,e}}),k.ajaxPrefilter(\"json jsonp\",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Yt.test(e.url)?\"url\":\"string\"==typeof e.data&&0===(e.contentType||\"\").indexOf(\"application/x-www-form-urlencoded\")&&Yt.test(e.data)&&\"data\");if(a||\"jsonp\"===e.dataTypes[0])return r=e.jsonpCallback=m(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Yt,\"$1\"+r):!1!==e.jsonp&&(e.url+=(St.test(e.url)?\"&\":\"?\")+e.jsonp+\"=\"+r),e.converters[\"script json\"]=function(){return o||k.error(r+\" was not called\"),o[0]},e.dataTypes[0]=\"json\",i=C[r],C[r]=function(){o=arguments},n.always(function(){void 0===i?k(C).removeProp(r):C[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,Gt.push(r)),o&&m(i)&&i(o[0]),o=i=void 0}),\"script\"}),y.createHTMLDocument=((Vt=E.implementation.createHTMLDocument(\"\").body).innerHTML=\"
\",2===Vt.childNodes.length),k.parseHTML=function(e,t,n){return\"string\"!=typeof e?[]:(\"boolean\"==typeof t&&(n=t,t=!1),t||(y.createHTMLDocument?((r=(t=E.implementation.createHTMLDocument(\"\")).createElement(\"base\")).href=E.location.href,t.head.appendChild(r)):t=E),o=!n&&[],(i=D.exec(e))?[t.createElement(i[1])]:(i=we([e],t,o),o&&o.length&&k(o).remove(),k.merge([],i.childNodes)));var r,i,o},k.fn.load=function(e,t,n){var r,i,o,a=this,s=e.indexOf(\" \");return-1\").append(k.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},k.each([\"ajaxStart\",\"ajaxStop\",\"ajaxComplete\",\"ajaxError\",\"ajaxSuccess\",\"ajaxSend\"],function(e,t){k.fn[t]=function(e){return this.on(t,e)}}),k.expr.pseudos.animated=function(t){return k.grep(k.timers,function(e){return t===e.elem}).length},k.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l=k.css(e,\"position\"),c=k(e),f={};\"static\"===l&&(e.style.position=\"relative\"),s=c.offset(),o=k.css(e,\"top\"),u=k.css(e,\"left\"),(\"absolute\"===l||\"fixed\"===l)&&-1<(o+u).indexOf(\"auto\")?(a=(r=c.position()).top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),m(t)&&(t=t.call(e,n,k.extend({},s))),null!=t.top&&(f.top=t.top-s.top+a),null!=t.left&&(f.left=t.left-s.left+i),\"using\"in t?t.using.call(e,f):c.css(f)}},k.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each(function(e){k.offset.setOffset(this,t,e)});var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,r=this[0],i={top:0,left:0};if(\"fixed\"===k.css(r,\"position\"))t=r.getBoundingClientRect();else{t=this.offset(),n=r.ownerDocument,e=r.offsetParent||n.documentElement;while(e&&(e===n.body||e===n.documentElement)&&\"static\"===k.css(e,\"position\"))e=e.parentNode;e&&e!==r&&1===e.nodeType&&((i=k(e).offset()).top+=k.css(e,\"borderTopWidth\",!0),i.left+=k.css(e,\"borderLeftWidth\",!0))}return{top:t.top-i.top-k.css(r,\"marginTop\",!0),left:t.left-i.left-k.css(r,\"marginLeft\",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent;while(e&&\"static\"===k.css(e,\"position\"))e=e.offsetParent;return e||ie})}}),k.each({scrollLeft:\"pageXOffset\",scrollTop:\"pageYOffset\"},function(t,i){var o=\"pageYOffset\"===i;k.fn[t]=function(e){return _(this,function(e,t,n){var r;if(x(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===n)return r?r[i]:e[t];r?r.scrollTo(o?r.pageXOffset:n,o?n:r.pageYOffset):e[t]=n},t,e,arguments.length)}}),k.each([\"top\",\"left\"],function(e,n){k.cssHooks[n]=ze(y.pixelPosition,function(e,t){if(t)return t=_e(e,n),$e.test(t)?k(e).position()[n]+\"px\":t})}),k.each({Height:\"height\",Width:\"width\"},function(a,s){k.each({padding:\"inner\"+a,content:s,\"\":\"outer\"+a},function(r,o){k.fn[o]=function(e,t){var n=arguments.length&&(r||\"boolean\"!=typeof e),i=r||(!0===e||!0===t?\"margin\":\"border\");return _(this,function(e,t,n){var r;return x(e)?0===o.indexOf(\"outer\")?e[\"inner\"+a]:e.document.documentElement[\"client\"+a]:9===e.nodeType?(r=e.documentElement,Math.max(e.body[\"scroll\"+a],r[\"scroll\"+a],e.body[\"offset\"+a],r[\"offset\"+a],r[\"client\"+a])):void 0===n?k.css(e,t,i):k.style(e,t,n,i)},s,n?e:void 0,n)}})}),k.each(\"blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu\".split(\" \"),function(e,n){k.fn[n]=function(e,t){return 0=4)throw new Error(\"Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0\")}};d.jQueryDetection(),o.default.fn.emulateTransitionEnd=u,o.default.event.special[d.TRANSITION_END]={bindType:\"transitionend\",delegateType:\"transitionend\",handle:function(t){if(o.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var f=\"alert\",c=o.default.fn[f],h=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){o.default.removeData(this._element,\"bs.alert\"),this._element=null},e._getRootElement=function(t){var e=d.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=o.default(t).closest(\".alert\")[0]),n},e._triggerCloseEvent=function(t){var e=o.default.Event(\"close.bs.alert\");return o.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(o.default(t).removeClass(\"show\"),o.default(t).hasClass(\"fade\")){var n=d.getTransitionDurationFromElement(t);o.default(t).one(d.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){o.default(t).detach().trigger(\"closed.bs.alert\").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(\"bs.alert\");i||(i=new t(this),n.data(\"bs.alert\",i)),\"close\"===e&&i[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}}]),t}();o.default(document).on(\"click.bs.alert.data-api\",'[data-dismiss=\"alert\"]',h._handleDismiss(new h)),o.default.fn[f]=h._jQueryInterface,o.default.fn[f].Constructor=h,o.default.fn[f].noConflict=function(){return o.default.fn[f]=c,h._jQueryInterface};var g=o.default.fn.button,m=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=o.default(this._element).closest('[data-toggle=\"buttons\"]')[0];if(n){var i=this._element.querySelector('input:not([type=\"hidden\"])');if(i){if(\"radio\"===i.type)if(i.checked&&this._element.classList.contains(\"active\"))t=!1;else{var a=n.querySelector(\".active\");a&&o.default(a).removeClass(\"active\")}t&&(\"checkbox\"!==i.type&&\"radio\"!==i.type||(i.checked=!this._element.classList.contains(\"active\")),this.shouldAvoidTriggerChange||o.default(i).trigger(\"change\")),i.focus(),e=!1}}this._element.hasAttribute(\"disabled\")||this._element.classList.contains(\"disabled\")||(e&&this._element.setAttribute(\"aria-pressed\",!this._element.classList.contains(\"active\")),t&&o.default(this._element).toggleClass(\"active\"))},e.dispose=function(){o.default.removeData(this._element,\"bs.button\"),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var i=o.default(this),a=i.data(\"bs.button\");a||(a=new t(this),i.data(\"bs.button\",a)),a.shouldAvoidTriggerChange=n,\"toggle\"===e&&a[e]()}))},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}}]),t}();o.default(document).on(\"click.bs.button.data-api\",'[data-toggle^=\"button\"]',(function(t){var e=t.target,n=e;if(o.default(e).hasClass(\"btn\")||(e=o.default(e).closest(\".btn\")[0]),!e||e.hasAttribute(\"disabled\")||e.classList.contains(\"disabled\"))t.preventDefault();else{var i=e.querySelector('input:not([type=\"hidden\"])');if(i&&(i.hasAttribute(\"disabled\")||i.classList.contains(\"disabled\")))return void t.preventDefault();\"INPUT\"!==n.tagName&&\"LABEL\"===e.tagName||m._jQueryInterface.call(o.default(e),\"toggle\",\"INPUT\"===n.tagName)}})).on(\"focus.bs.button.data-api blur.bs.button.data-api\",'[data-toggle^=\"button\"]',(function(t){var e=o.default(t.target).closest(\".btn\")[0];o.default(e).toggleClass(\"focus\",/^focus(in)?$/.test(t.type))})),o.default(window).on(\"load.bs.button.data-api\",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle=\"buttons\"] .btn')),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(\"next\")},e.nextWhenVisible=function(){var t=o.default(this._element);!document.hidden&&t.is(\":visible\")&&\"hidden\"!==t.css(\"visibility\")&&this.next()},e.prev=function(){this._isSliding||this._slide(\"prev\")},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(\".carousel-item-next, .carousel-item-prev\")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(\".active.carousel-item\");var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o.default(this._element).one(\"slid.bs.carousel\",(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?\"next\":\"prev\";this._slide(i,this._items[t])}},e.dispose=function(){o.default(this._element).off(_),o.default.removeData(this._element,\"bs.carousel\"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},b,t),d.typeCheckConfig(p,t,y),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&o.default(this._element).on(\"keydown.bs.carousel\",(function(e){return t._keydown(e)})),\"hover\"===this._config.pause&&o.default(this._element).on(\"mouseenter.bs.carousel\",(function(e){return t.pause(e)})).on(\"mouseleave.bs.carousel\",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&E[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&E[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),\"hover\"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};o.default(this._element.querySelectorAll(\".carousel-item img\")).on(\"dragstart.bs.carousel\",(function(t){return t.preventDefault()})),this._pointerEvent?(o.default(this._element).on(\"pointerdown.bs.carousel\",(function(t){return e(t)})),o.default(this._element).on(\"pointerup.bs.carousel\",(function(t){return n(t)})),this._element.classList.add(\"pointer-event\")):(o.default(this._element).on(\"touchstart.bs.carousel\",(function(t){return e(t)})),o.default(this._element).on(\"touchmove.bs.carousel\",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),o.default(this._element).on(\"touchend.bs.carousel\",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(\".carousel-item\")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=\"next\"===t,i=\"prev\"===t,o=this._getItemIndex(e),a=this._items.length-1;if((i&&0===o||n&&o===a)&&!this._config.wrap)return e;var s=(o+(\"prev\"===t?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(\".active.carousel-item\")),a=o.default.Event(\"slide.bs.carousel\",{relatedTarget:t,direction:e,from:i,to:n});return o.default(this._element).trigger(a),a},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(\".active\"));o.default(e).removeClass(\"active\");var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&o.default(n).addClass(\"active\")}},e._slide=function(t,e){var n,i,a,s=this,l=this._element.querySelector(\".active.carousel-item\"),r=this._getItemIndex(l),u=e||l&&this._getItemByDirection(t,l),f=this._getItemIndex(u),c=Boolean(this._interval);if(\"next\"===t?(n=\"carousel-item-left\",i=\"carousel-item-next\",a=\"left\"):(n=\"carousel-item-right\",i=\"carousel-item-prev\",a=\"right\"),u&&o.default(u).hasClass(\"active\"))this._isSliding=!1;else if(!this._triggerSlideEvent(u,a).isDefaultPrevented()&&l&&u){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(u);var h=o.default.Event(\"slid.bs.carousel\",{relatedTarget:u,direction:a,from:r,to:f});if(o.default(this._element).hasClass(\"slide\")){o.default(u).addClass(i),d.reflow(u),o.default(l).addClass(n),o.default(u).addClass(n);var g=parseInt(u.getAttribute(\"data-interval\"),10);g?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=g):this._config.interval=this._config.defaultInterval||this._config.interval;var m=d.getTransitionDurationFromElement(l);o.default(l).one(d.TRANSITION_END,(function(){o.default(u).removeClass(n+\" \"+i).addClass(\"active\"),o.default(l).removeClass(\"active \"+i+\" \"+n),s._isSliding=!1,setTimeout((function(){return o.default(s._element).trigger(h)}),0)})).emulateTransitionEnd(m)}else o.default(l).removeClass(\"active\"),o.default(u).addClass(\"active\"),this._isSliding=!1,o.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(\"bs.carousel\"),i=r({},b,o.default(this).data());\"object\"==typeof e&&(i=r({},i,e));var a=\"string\"==typeof e?e:i.slide;if(n||(n=new t(this,i),o.default(this).data(\"bs.carousel\",n)),\"number\"==typeof e)n.to(e);else if(\"string\"==typeof a){if(\"undefined\"==typeof n[a])throw new TypeError('No method named \"'+a+'\"');n[a]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=d.getSelectorFromElement(this);if(n){var i=o.default(n)[0];if(i&&o.default(i).hasClass(\"carousel\")){var a=r({},o.default(i).data(),o.default(this).data()),s=this.getAttribute(\"data-slide-to\");s&&(a.interval=!1),t._jQueryInterface.call(o.default(i),a),s&&o.default(i).data(\"bs.carousel\").to(s),e.preventDefault()}}},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}},{key:\"Default\",get:function(){return b}}]),t}();o.default(document).on(\"click.bs.carousel.data-api\",\"[data-slide], [data-slide-to]\",w._dataApiClickHandler),o.default(window).on(\"load.bs.carousel.data-api\",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride=\"carousel\"]')),e=0,n=t.length;e0&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){o.default(this._element).hasClass(\"show\")?this.hide():this.show()},e.show=function(){var e,n,i=this;if(!this._isTransitioning&&!o.default(this._element).hasClass(\"show\")&&(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(\".show, .collapsing\")).filter((function(t){return\"string\"==typeof i._config.parent?t.getAttribute(\"data-parent\")===i._config.parent:t.classList.contains(\"collapse\")}))).length&&(e=null),!(e&&(n=o.default(e).not(this._selector).data(\"bs.collapse\"))&&n._isTransitioning))){var a=o.default.Event(\"show.bs.collapse\");if(o.default(this._element).trigger(a),!a.isDefaultPrevented()){e&&(t._jQueryInterface.call(o.default(e).not(this._selector),\"hide\"),n||o.default(e).data(\"bs.collapse\",null));var s=this._getDimension();o.default(this._element).removeClass(\"collapse\").addClass(\"collapsing\"),this._element.style[s]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(\"collapsed\").attr(\"aria-expanded\",!0),this.setTransitioning(!0);var l=\"scroll\"+(s[0].toUpperCase()+s.slice(1)),r=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(){o.default(i._element).removeClass(\"collapsing\").addClass(\"collapse show\"),i._element.style[s]=\"\",i.setTransitioning(!1),o.default(i._element).trigger(\"shown.bs.collapse\")})).emulateTransitionEnd(r),this._element.style[s]=this._element[l]+\"px\"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&o.default(this._element).hasClass(\"show\")){var e=o.default.Event(\"hide.bs.collapse\");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+\"px\",d.reflow(this._element),o.default(this._element).addClass(\"collapsing\").removeClass(\"collapse show\");var i=this._triggerArray.length;if(i>0)for(var a=0;a0},e._getOffset=function(){var t=this,e={};return\"function\"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return\"static\"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),r({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(\"bs.dropdown\");if(n||(n=new t(this,\"object\"==typeof e?e:null),o.default(this).data(\"bs.dropdown\",n)),\"string\"==typeof e){if(\"undefined\"==typeof n[e])throw new TypeError('No method named \"'+e+'\"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&(\"keyup\"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll('[data-toggle=\"dropdown\"]')),i=0,a=n.length;i0&&s--,40===e.which&&sdocument.documentElement.clientHeight;n||(this._element.style.overflowY=\"hidden\"),this._element.classList.add(\"modal-static\");var i=d.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(d.TRANSITION_END),o.default(this._element).one(d.TRANSITION_END,(function(){t._element.classList.remove(\"modal-static\"),n||o.default(t._element).one(d.TRANSITION_END,(function(){t._element.style.overflowY=\"\"})).emulateTransitionEnd(t._element,i)})).emulateTransitionEnd(i),this._element.focus()}else this.hide()},e._showElement=function(t){var e=this,n=o.default(this._element).hasClass(\"fade\"),i=this._dialog?this._dialog.querySelector(\".modal-body\"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display=\"block\",this._element.removeAttribute(\"aria-hidden\"),this._element.setAttribute(\"aria-modal\",!0),this._element.setAttribute(\"role\",\"dialog\"),o.default(this._dialog).hasClass(\"modal-dialog-scrollable\")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&d.reflow(this._element),o.default(this._element).addClass(\"show\"),this._config.focus&&this._enforceFocus();var a=o.default.Event(\"shown.bs.modal\",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o.default(e._element).trigger(a)};if(n){var l=d.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(d.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},e._enforceFocus=function(){var t=this;o.default(document).off(\"focusin.bs.modal\").on(\"focusin.bs.modal\",(function(e){document!==e.target&&t._element!==e.target&&0===o.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?o.default(this._element).on(\"keydown.dismiss.bs.modal\",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(\"keydown.dismiss.bs.modal\")},e._setResizeEvent=function(){var t=this;this._isShown?o.default(window).on(\"resize.bs.modal\",(function(e){return t.handleUpdate(e)})):o.default(window).off(\"resize.bs.modal\")},e._hideModal=function(){var t=this;this._element.style.display=\"none\",this._element.setAttribute(\"aria-hidden\",!0),this._element.removeAttribute(\"aria-modal\"),this._element.removeAttribute(\"role\"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(\"modal-open\"),t._resetAdjustments(),t._resetScrollbar(),o.default(t._element).trigger(\"hidden.bs.modal\")}))},e._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=o.default(this._element).hasClass(\"fade\")?\"fade\":\"\";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement(\"div\"),this._backdrop.className=\"modal-backdrop\",n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(\"click.dismiss.bs.modal\",(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&e._triggerBackdropTransition()})),n&&d.reflow(this._backdrop),o.default(this._backdrop).addClass(\"show\"),!t)return;if(!n)return void t();var i=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(\"show\");var a=function(){e._removeBackdrop(),t&&t()};if(o.default(this._element).hasClass(\"fade\")){var s=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,a).emulateTransitionEnd(s)}else a()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+\"px\"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+\"px\")},e._resetAdjustments=function(){this._element.style.paddingLeft=\"\",this._element.style.paddingRight=\"\"},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
',trigger:\"hover focus\",title:\"\",delay:0,html:!1,selector:!1,placement:\"top\",offset:0,container:!1,fallbackPlacement:\"flip\",boundary:\"scrollParent\",sanitize:!0,sanitizeFn:null,whiteList:Q,popperConfig:null},$={HIDE:\"hide.bs.tooltip\",HIDDEN:\"hidden.bs.tooltip\",SHOW:\"show.bs.tooltip\",SHOWN:\"shown.bs.tooltip\",INSERTED:\"inserted.bs.tooltip\",CLICK:\"click.bs.tooltip\",FOCUSIN:\"focusin.bs.tooltip\",FOCUSOUT:\"focusout.bs.tooltip\",MOUSEENTER:\"mouseenter.bs.tooltip\",MOUSELEAVE:\"mouseleave.bs.tooltip\"},J=function(){function t(t,e){if(\"undefined\"==typeof a.default)throw new TypeError(\"Bootstrap's tooltips require Popper.js (https://popper.js.org/)\");this._isEnabled=!0,this._timeout=0,this._hoverState=\"\",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=o.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o.default(this.getTipElement()).hasClass(\"show\"))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(\".modal\").off(\"hide.bs.modal\",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if(\"none\"===o.default(this.element).css(\"display\"))throw new Error(\"Please use show on visible elements\");var e=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(e);var n=d.findShadowRoot(this.element),i=o.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var s=this.getTipElement(),l=d.getUID(this.constructor.NAME);s.setAttribute(\"id\",l),this.element.setAttribute(\"aria-describedby\",l),this.setContent(),this.config.animation&&o.default(s).addClass(\"fade\");var r=\"function\"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(r);this.addAttachmentClass(u);var f=this._getContainer();o.default(s).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(s).appendTo(f),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,s,this._getPopperConfig(u)),o.default(s).addClass(\"show\"),\"ontouchstart\"in document.documentElement&&o.default(document.body).children().on(\"mouseover\",null,o.default.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o.default(t.element).trigger(t.constructor.Event.SHOWN),\"out\"===e&&t._leave(null,t)};if(o.default(this.tip).hasClass(\"fade\")){var h=d.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(d.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=o.default.Event(this.constructor.Event.HIDE),a=function(){\"show\"!==e._hoverState&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute(\"aria-describedby\"),o.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(o.default(this.element).trigger(i),!i.isDefaultPrevented()){if(o.default(n).removeClass(\"show\"),\"ontouchstart\"in document.documentElement&&o.default(document.body).children().off(\"mouseover\",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass(\"fade\")){var s=d.getTransitionDurationFromElement(n);o.default(n).one(d.TRANSITION_END,a).emulateTransitionEnd(s)}else a();this._hoverState=\"\"}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass(\"bs-tooltip-\"+t)},e.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(o.default(t.querySelectorAll(\".tooltip-inner\")),this.getTitle()),o.default(t).removeClass(\"fade show\")},e.setElementContent=function(t,e){\"object\"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=U(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?o.default(e).parent().is(t)||t.empty().append(e):t.text(o.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute(\"data-original-title\");return t||(t=\"function\"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:\".arrow\"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return\"function\"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:d.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},e._getAttachment=function(t){return X[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(\" \").forEach((function(e){if(\"click\"===e)o.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if(\"manual\"!==e){var n=\"hover\"===e?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=\"hover\"===e?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},o.default(this.element).closest(\".modal\").on(\"hide.bs.modal\",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:\"manual\",selector:\"\"}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute(\"data-original-title\");(this.element.getAttribute(\"title\")||\"string\"!==t)&&(this.element.setAttribute(\"data-original-title\",this.element.getAttribute(\"title\")||\"\"),this.element.setAttribute(\"title\",\"\"))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger[\"focusin\"===t.type?\"focus\":\"hover\"]=!0),o.default(e.getTipElement()).hasClass(\"show\")||\"show\"===e._hoverState?e._hoverState=\"show\":(clearTimeout(e._timeout),e._hoverState=\"show\",e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){\"show\"===e._hoverState&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger[\"focusout\"===t.type?\"focus\":\"hover\"]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=\"out\",e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){\"out\"===e._hoverState&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=o.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==z.indexOf(t)&&delete e[t]})),\"number\"==typeof(t=r({},this.constructor.Default,e,\"object\"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),\"number\"==typeof t.title&&(t.title=t.title.toString()),\"number\"==typeof t.content&&(t.content=t.content.toString()),d.typeCheckConfig(M,t,this.constructor.DefaultType),t.sanitize&&(t.template=U(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr(\"class\").match(V);null!==e&&e.length&&t.removeClass(e.join(\"\"))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute(\"x-placement\")&&(o.default(t).removeClass(\"fade\"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(\"bs.tooltip\"),a=\"object\"==typeof e&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,a),n.data(\"bs.tooltip\",i)),\"string\"==typeof e)){if(\"undefined\"==typeof i[e])throw new TypeError('No method named \"'+e+'\"');i[e]()}}))},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}},{key:\"Default\",get:function(){return Y}},{key:\"NAME\",get:function(){return M}},{key:\"DATA_KEY\",get:function(){return\"bs.tooltip\"}},{key:\"Event\",get:function(){return $}},{key:\"EVENT_KEY\",get:function(){return\".bs.tooltip\"}},{key:\"DefaultType\",get:function(){return K}}]),t}();o.default.fn[M]=J._jQueryInterface,o.default.fn[M].Constructor=J,o.default.fn[M].noConflict=function(){return o.default.fn[M]=W,J._jQueryInterface};var G=\"popover\",Z=o.default.fn[G],tt=new RegExp(\"(^|\\\\s)bs-popover\\\\S+\",\"g\"),et=r({},J.Default,{placement:\"right\",trigger:\"click\",content:\"\",template:'

'}),nt=r({},J.DefaultType,{content:\"(string|element|function)\"}),it={HIDE:\"hide.bs.popover\",HIDDEN:\"hidden.bs.popover\",SHOW:\"show.bs.popover\",SHOWN:\"shown.bs.popover\",INSERTED:\"inserted.bs.popover\",CLICK:\"click.bs.popover\",FOCUSIN:\"focusin.bs.popover\",FOCUSOUT:\"focusout.bs.popover\",MOUSEENTER:\"mouseenter.bs.popover\",MOUSELEAVE:\"mouseleave.bs.popover\"},ot=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,e.__proto__=n;var a=i.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass(\"bs-popover-\"+t)},a.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},a.setContent=function(){var t=o.default(this.getTipElement());this.setElementContent(t.find(\".popover-header\"),this.getTitle());var e=this._getContent();\"function\"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(\".popover-body\"),e),t.removeClass(\"fade show\")},a._getContent=function(){return this.element.getAttribute(\"data-content\")||this.config.content},a._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr(\"class\").match(tt);null!==e&&e.length>0&&t.removeClass(e.join(\"\"))},i._jQueryInterface=function(t){return this.each((function(){var e=o.default(this).data(\"bs.popover\"),n=\"object\"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),o.default(this).data(\"bs.popover\",e)),\"string\"==typeof t)){if(\"undefined\"==typeof e[t])throw new TypeError('No method named \"'+t+'\"');e[t]()}}))},l(i,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}},{key:\"Default\",get:function(){return et}},{key:\"NAME\",get:function(){return G}},{key:\"DATA_KEY\",get:function(){return\"bs.popover\"}},{key:\"Event\",get:function(){return it}},{key:\"EVENT_KEY\",get:function(){return\".bs.popover\"}},{key:\"DefaultType\",get:function(){return nt}}]),i}(J);o.default.fn[G]=ot._jQueryInterface,o.default.fn[G].Constructor=ot,o.default.fn[G].noConflict=function(){return o.default.fn[G]=Z,ot._jQueryInterface};var at=\"scrollspy\",st=o.default.fn[at],lt={offset:10,method:\"auto\",target:\"\"},rt={offset:\"number\",method:\"string\",target:\"(string|element)\"},ut=function(){function t(t,e){var n=this;this._element=t,this._scrollElement=\"BODY\"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+\" .nav-link,\"+this._config.target+\" .list-group-item,\"+this._config.target+\" .dropdown-item\",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on(\"scroll.bs.scrollspy\",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?\"offset\":\"position\",n=\"auto\"===this._config.method?e:this._config.method,i=\"position\"===n?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,a=d.getSelectorFromElement(t);if(a&&(e=document.querySelector(a)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[o.default(e)[n]().top+i,a]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){o.default.removeData(this._element,\"bs.scrollspy\"),o.default(this._scrollElement).off(\".bs.scrollspy\"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if(\"string\"!=typeof(t=r({},lt,\"object\"==typeof t&&t?t:{})).target&&d.isElement(t.target)){var e=o.default(t.target).attr(\"id\");e||(e=d.getUID(at),o.default(t.target).attr(\"id\",e)),t.target=\"#\"+e}return d.typeCheckConfig(at,t,rt),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&(\"undefined\"==typeof this._offsets[o+1]||t li > .active\":\".active\";n=(n=o.default.makeArray(o.default(i).find(s)))[n.length-1]}var l=o.default.Event(\"hide.bs.tab\",{relatedTarget:this._element}),r=o.default.Event(\"show.bs.tab\",{relatedTarget:n});if(n&&o.default(n).trigger(l),o.default(this._element).trigger(r),!r.isDefaultPrevented()&&!l.isDefaultPrevented()){a&&(e=document.querySelector(a)),this._activate(this._element,i);var u=function(){var e=o.default.Event(\"hidden.bs.tab\",{relatedTarget:t._element}),i=o.default.Event(\"shown.bs.tab\",{relatedTarget:n});o.default(n).trigger(e),o.default(t._element).trigger(i)};e?this._activate(e,e.parentNode,u):u()}}},e.dispose=function(){o.default.removeData(this._element,\"bs.tab\"),this._element=null},e._activate=function(t,e,n){var i=this,a=(!e||\"UL\"!==e.nodeName&&\"OL\"!==e.nodeName?o.default(e).children(\".active\"):o.default(e).find(\"> li > .active\"))[0],s=n&&a&&o.default(a).hasClass(\"fade\"),l=function(){return i._transitionComplete(t,a,n)};if(a&&s){var r=d.getTransitionDurationFromElement(a);o.default(a).removeClass(\"show\").one(d.TRANSITION_END,l).emulateTransitionEnd(r)}else l()},e._transitionComplete=function(t,e,n){if(e){o.default(e).removeClass(\"active\");var i=o.default(e.parentNode).find(\"> .dropdown-menu .active\")[0];i&&o.default(i).removeClass(\"active\"),\"tab\"===e.getAttribute(\"role\")&&e.setAttribute(\"aria-selected\",!1)}if(o.default(t).addClass(\"active\"),\"tab\"===t.getAttribute(\"role\")&&t.setAttribute(\"aria-selected\",!0),d.reflow(t),t.classList.contains(\"fade\")&&t.classList.add(\"show\"),t.parentNode&&o.default(t.parentNode).hasClass(\"dropdown-menu\")){var a=o.default(t).closest(\".dropdown\")[0];if(a){var s=[].slice.call(a.querySelectorAll(\".dropdown-toggle\"));o.default(s).addClass(\"active\")}t.setAttribute(\"aria-expanded\",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(\"bs.tab\");if(i||(i=new t(this),n.data(\"bs.tab\",i)),\"string\"==typeof e){if(\"undefined\"==typeof i[e])throw new TypeError('No method named \"'+e+'\"');i[e]()}}))},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}}]),t}();o.default(document).on(\"click.bs.tab.data-api\",'[data-toggle=\"tab\"], [data-toggle=\"pill\"], [data-toggle=\"list\"]',(function(t){t.preventDefault(),ft._jQueryInterface.call(o.default(this),\"show\")})),o.default.fn.tab=ft._jQueryInterface,o.default.fn.tab.Constructor=ft,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=dt,ft._jQueryInterface};var ct=o.default.fn.toast,ht={animation:\"boolean\",autohide:\"boolean\",delay:\"number\"},gt={animation:!0,autohide:!0,delay:500},mt=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=o.default.Event(\"show.bs.toast\");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add(\"fade\");var n=function(){t._element.classList.remove(\"showing\"),t._element.classList.add(\"show\"),o.default(t._element).trigger(\"shown.bs.toast\"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(\"hide\"),d.reflow(this._element),this._element.classList.add(\"showing\"),this._config.animation){var i=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,n).emulateTransitionEnd(i)}else n()}},e.hide=function(){if(this._element.classList.contains(\"show\")){var t=o.default.Event(\"hide.bs.toast\");o.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(\"show\")&&this._element.classList.remove(\"show\"),o.default(this._element).off(\"click.dismiss.bs.toast\"),o.default.removeData(this._element,\"bs.toast\"),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},gt,o.default(this._element).data(),\"object\"==typeof t&&t?t:{}),d.typeCheckConfig(\"toast\",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;o.default(this._element).on(\"click.dismiss.bs.toast\",'[data-dismiss=\"toast\"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add(\"hide\"),o.default(t._element).trigger(\"hidden.bs.toast\")};if(this._element.classList.remove(\"show\"),this._config.animation){var n=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(\"bs.toast\");if(i||(i=new t(this,\"object\"==typeof e&&e),n.data(\"bs.toast\",i)),\"string\"==typeof e){if(\"undefined\"==typeof i[e])throw new TypeError('No method named \"'+e+'\"');i[e](this)}}))},l(t,null,[{key:\"VERSION\",get:function(){return\"4.5.3\"}},{key:\"DefaultType\",get:function(){return ht}},{key:\"Default\",get:function(){return gt}}]),t}();o.default.fn.toast=mt._jQueryInterface,o.default.fn.toast.Constructor=mt,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=ct,mt._jQueryInterface},t.Alert=h,t.Button=m,t.Carousel=w,t.Collapse=D,t.Dropdown=x,t.Modal=q,t.Popover=ot,t.Scrollspy=ut,t.Tab=ft,t.Toast=mt,t.Tooltip=J,t.Util=d,Object.defineProperty(t,\"__esModule\",{value:!0})}));\r\n//# sourceMappingURL=bootstrap.min.js.map","/*! jQuery UI - v1.12.1 - 2021-01-11\r\n* http://jqueryui.com\r\n* Includes: widget.js, position.js, data.js, disable-selection.js, focusable.js, form-reset-mixin.js, jquery-1-7.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/draggable.js, widgets/droppable.js, widgets/resizable.js, widgets/selectable.js, widgets/sortable.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/selectmenu.js, widgets/slider.js, widgets/spinner.js, widgets/tabs.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js\r\n* Copyright jQuery Foundation and other contributors; Licensed MIT */\r\n\r\n!function(t){\"function\"==typeof define&&define.amd?define([\"jquery\"],t):t(jQuery)}(function(k){k.ui=k.ui||{};k.ui.version=\"1.12.1\";var n,i=0,r=Array.prototype.slice;k.cleanData=(n=k.cleanData,function(t){for(var e,i,s=0;null!=(i=t[s]);s++)try{(e=k._data(i,\"events\"))&&e.remove&&k(i).triggerHandler(\"remove\")}catch(t){}n(t)}),k.widget=function(t,i,e){var s,n,o,a={},r=t.split(\".\")[0],h=r+\"-\"+(t=t.split(\".\")[1]);return e||(e=i,i=k.Widget),k.isArray(e)&&(e=k.extend.apply(null,[{}].concat(e))),k.expr[\":\"][h.toLowerCase()]=function(t){return!!k.data(t,h)},k[r]=k[r]||{},s=k[r][t],n=k[r][t]=function(t,e){if(!this._createWidget)return new n(t,e);arguments.length&&this._createWidget(t,e)},k.extend(n,s,{version:e.version,_proto:k.extend({},e),_childConstructors:[]}),(o=new i).options=k.widget.extend({},o.options),k.each(e,function(e,s){function n(){return i.prototype[e].apply(this,arguments)}function o(t){return i.prototype[e].apply(this,t)}k.isFunction(s)?a[e]=function(){var t,e=this._super,i=this._superApply;return this._super=n,this._superApply=o,t=s.apply(this,arguments),this._super=e,this._superApply=i,t}:a[e]=s}),n.prototype=k.widget.extend(o,{widgetEventPrefix:s&&o.widgetEventPrefix||t},a,{constructor:n,namespace:r,widgetName:t,widgetFullName:h}),s?(k.each(s._childConstructors,function(t,e){var i=e.prototype;k.widget(i.namespace+\".\"+i.widgetName,n,e._proto)}),delete s._childConstructors):i._childConstructors.push(n),k.widget.bridge(t,n),n},k.widget.extend=function(t){for(var e,i,s=r.call(arguments,1),n=0,o=s.length;n\",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=k(e||this.defaultElement||this)[0],this.element=k(e),this.uuid=i++,this.eventNamespace=\".\"+this.widgetName+this.uuid,this.bindings=k(),this.hoverable=k(),this.focusable=k(),this.classesElementLookup={},e!==this&&(k.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=k(e.style?e.ownerDocument:e.document||e),this.window=k(this.document[0].defaultView||this.document[0].parentWindow)),this.options=k.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger(\"create\",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:k.noop,_create:k.noop,_init:k.noop,destroy:function(){var i=this;this._destroy(),k.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr(\"aria-disabled\"),this.bindings.off(this.eventNamespace)},_destroy:k.noop,widget:function(){return this.element},option:function(t,e){var i,s,n,o=t;if(0===arguments.length)return k.widget.extend({},this.options);if(\"string\"==typeof t)if(o={},t=(i=t.split(\".\")).shift(),i.length){for(s=o[t]=k.widget.extend({},this.options[t]),n=0;n
\"),i=e.children()[0];return k(\"body\").append(e),t=i.offsetWidth,e.css(\"overflow\",\"scroll\"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),s=t-i},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?\"\":t.element.css(\"overflow-x\"),i=t.isWindow||t.isDocument?\"\":t.element.css(\"overflow-y\"),e=\"scroll\"===e||\"auto\"===e&&t.widthx(C(s),C(n))?o.important=\"horizontal\":o.important=\"vertical\",u.using.call(this,t,o)}),a.offset(k.extend(l,{using:t}))})},k.ui.position={fit:{left:function(t,e){var i=e.within,s=i.isWindow?i.scrollLeft:i.offset.left,n=i.width,o=t.left-e.collisionPosition.marginLeft,a=s-o,r=o+e.collisionWidth-n-s;e.collisionWidth>n?0n?0?@[\\]^`{|}~])/g,function(t){return t.replace(e,\"\\\\$1\")}),k.fn.labels=function(){var t,e,i;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents(\"label\"),(t=this.attr(\"id\"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t=\"label[for='\"+k.ui.escapeSelector(t)+\"']\",e=e.add(i.find(t).addBack(t))),this.pushStack(e))},k.fn.scrollParent=function(t){var e=this.css(\"position\"),i=\"absolute\"===e,s=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=k(this);return(!i||\"static\"!==t.css(\"position\"))&&s.test(t.css(\"overflow\")+t.css(\"overflow-y\")+t.css(\"overflow-x\"))}).eq(0);return\"fixed\"!==e&&t.length?t:k(this[0].ownerDocument||document)},k.extend(k.expr[\":\"],{tabbable:function(t){var e=k.attr(t,\"tabindex\"),i=null!=e;return(!i||0<=e)&&k.ui.focusable(t,i)}}),k.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id=\"ui-id-\"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\\d+$/.test(this.id)&&k(this).removeAttr(\"id\")})}}),k.ui.ie=!!/msie [\\w.]+/.exec(navigator.userAgent.toLowerCase());var e,u,d=!1;k(document).on(\"mouseup\",function(){d=!1});k.widget(\"ui.mouse\",{version:\"1.12.1\",options:{cancel:\"input, textarea, button, select, option\",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on(\"mousedown.\"+this.widgetName,function(t){return e._mouseDown(t)}).on(\"click.\"+this.widgetName,function(t){if(!0===k.data(t.target,e.widgetName+\".preventClickEvent\"))return k.removeData(t.target,e.widgetName+\".preventClickEvent\"),t.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off(\".\"+this.widgetName),this._mouseMoveDelegate&&this.document.off(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).off(\"mouseup.\"+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(t){if(!d){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(t),this._mouseDownEvent=t;var e=this,i=1===t.which,s=!(\"string\"!=typeof this.options.cancel||!t.target.nodeName)&&k(t.target).closest(this.options.cancel).length;return i&&!s&&this._mouseCapture(t)?(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){e.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(t),!this._mouseStarted)?(t.preventDefault(),!0):(!0===k.data(t.target,this.widgetName+\".preventClickEvent\")&&k.removeData(t.target,this.widgetName+\".preventClickEvent\"),this._mouseMoveDelegate=function(t){return e._mouseMove(t)},this._mouseUpDelegate=function(t){return e._mouseUp(t)},this.document.on(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).on(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),t.preventDefault(),d=!0)):!0}},_mouseMove:function(t){if(this._mouseMoved){if(k.ui.ie&&(!document.documentMode||document.documentMode<9)&&!t.button)return this._mouseUp(t);if(!t.which)if(t.originalEvent.altKey||t.originalEvent.ctrlKey||t.originalEvent.metaKey||t.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(t)}return(t.which||t.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(t),t.preventDefault()):(this._mouseDistanceMet(t)&&this._mouseDelayMet(t)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,t),this._mouseStarted?this._mouseDrag(t):this._mouseUp(t)),!this._mouseStarted)},_mouseUp:function(t){this.document.off(\"mousemove.\"+this.widgetName,this._mouseMoveDelegate).off(\"mouseup.\"+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,t.target===this._mouseDownEvent.target&&k.data(t.target,this.widgetName+\".preventClickEvent\",!0),this._mouseStop(t)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,d=!1,t.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),k.ui.plugin={add:function(t,e,i){var s,n=k.ui[t].prototype;for(s in i)n.plugins[s]=n.plugins[s]||[],n.plugins[s].push([e,i[s]])},call:function(t,e,i,s){var n,o=t.plugins[e];if(o&&(s||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(n=0;n\").css(\"position\",\"absolute\").appendTo(t.parent()).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(t){var e=k.ui.safeActiveElement(this.document[0]);k(t.target).closest(e).length||k.ui.safeBlur(e)},_mouseStart:function(t){var e=this.options;return this.helper=this._createHelper(t),this._addClass(this.helper,\"ui-draggable-dragging\"),this._cacheHelperProportions(),k.ui.ddmanager&&(k.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css(\"position\"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0i[2]&&(o=i[2]+this.offset.click.left),t.pageY-this.offset.click.top>i[3]&&(a=i[3]+this.offset.click.top)),s.grid&&(t=s.grid[1]?this.originalPageY+Math.round((a-this.originalPageY)/s.grid[1])*s.grid[1]:this.originalPageY,a=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-s.grid[1]:t+s.grid[1],t=s.grid[0]?this.originalPageX+Math.round((o-this.originalPageX)/s.grid[0])*s.grid[0]:this.originalPageX,o=!i||t-this.offset.click.left>=i[0]||t-this.offset.click.left>i[2]?t:t-this.offset.click.left>=i[0]?t-s.grid[0]:t+s.grid[0]),\"y\"===s.axis&&(o=this.originalPageX),\"x\"===s.axis&&(a=this.originalPageY)),{top:a-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.offset.scroll.top:n?0:this.offset.scroll.top),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.offset.scroll.left:n?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,\"ui-draggable-dragging\"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(t,e,i){return i=i||this._uiHash(),k.ui.plugin.call(this,t,[e,i,this],!0),/^(drag|start|stop)/.test(t)&&(this.positionAbs=this._convertPositionTo(\"absolute\"),i.offset=this.positionAbs),k.Widget.prototype._trigger.call(this,t,e,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),k.ui.plugin.add(\"draggable\",\"connectToSortable\",{start:function(e,t,i){var s=k.extend({},t,{item:i.element});i.sortables=[],k(i.options.connectToSortable).each(function(){var t=k(this).sortable(\"instance\");t&&!t.options.disabled&&(i.sortables.push(t),t.refreshPositions(),t._trigger(\"activate\",e,s))})},stop:function(e,t,i){var s=k.extend({},t,{item:i.element});i.cancelHelperRemoval=!1,k.each(i.sortables,function(){var t=this;t.isOver?(t.isOver=0,i.cancelHelperRemoval=!0,t.cancelHelperRemoval=!1,t._storedCSS={position:t.placeholder.css(\"position\"),top:t.placeholder.css(\"top\"),left:t.placeholder.css(\"left\")},t._mouseStop(e),t.options.helper=t.options._helper):(t.cancelHelperRemoval=!0,t._trigger(\"deactivate\",e,s))})},drag:function(i,s,n){k.each(n.sortables,function(){var t=!1,e=this;e.positionAbs=n.positionAbs,e.helperProportions=n.helperProportions,e.offset.click=n.offset.click,e._intersectsWith(e.containerCache)&&(t=!0,k.each(n.sortables,function(){return this.positionAbs=n.positionAbs,this.helperProportions=n.helperProportions,this.offset.click=n.offset.click,this!==e&&this._intersectsWith(this.containerCache)&&k.contains(e.element[0],this.element[0])&&(t=!1),t})),t?(e.isOver||(e.isOver=1,n._parent=s.helper.parent(),e.currentItem=s.helper.appendTo(e.element).data(\"ui-sortable-item\",!0),e.options._helper=e.options.helper,e.options.helper=function(){return s.helper[0]},i.target=e.currentItem[0],e._mouseCapture(i,!0),e._mouseStart(i,!0,!0),e.offset.click.top=n.offset.click.top,e.offset.click.left=n.offset.click.left,e.offset.parent.left-=n.offset.parent.left-e.offset.parent.left,e.offset.parent.top-=n.offset.parent.top-e.offset.parent.top,n._trigger(\"toSortable\",i),n.dropped=e.element,k.each(n.sortables,function(){this.refreshPositions()}),n.currentItem=n.element,e.fromOutside=n),e.currentItem&&(e._mouseDrag(i),s.position=e.position)):e.isOver&&(e.isOver=0,e.cancelHelperRemoval=!0,e.options._revert=e.options.revert,e.options.revert=!1,e._trigger(\"out\",i,e._uiHash(e)),e._mouseStop(i,!0),e.options.revert=e.options._revert,e.options.helper=e.options._helper,e.placeholder&&e.placeholder.remove(),s.helper.appendTo(n._parent),n._refreshOffsets(i),s.position=n._generatePosition(i,!0),n._trigger(\"fromSortable\",i),n.dropped=!1,k.each(n.sortables,function(){this.refreshPositions()}))})}}),k.ui.plugin.add(\"draggable\",\"cursor\",{start:function(t,e,i){var s=k(\"body\"),i=i.options;s.css(\"cursor\")&&(i._cursor=s.css(\"cursor\")),s.css(\"cursor\",i.cursor)},stop:function(t,e,i){i=i.options;i._cursor&&k(\"body\").css(\"cursor\",i._cursor)}}),k.ui.plugin.add(\"draggable\",\"opacity\",{start:function(t,e,i){e=k(e.helper),i=i.options;e.css(\"opacity\")&&(i._opacity=e.css(\"opacity\")),e.css(\"opacity\",i.opacity)},stop:function(t,e,i){i=i.options;i._opacity&&k(e.helper).css(\"opacity\",i._opacity)}}),k.ui.plugin.add(\"draggable\",\"scroll\",{start:function(t,e,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&\"HTML\"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(t,e,i){var s=i.options,n=!1,o=i.scrollParentNotHidden[0],a=i.document[0];o!==a&&\"HTML\"!==o.tagName?(s.axis&&\"x\"===s.axis||(i.overflowOffset.top+o.offsetHeight-t.pageY\").css({position:this.element.css(\"position\"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css(\"top\"),left:this.element.css(\"left\")})),this.element=this.element.parent().data(\"ui-resizable\",this.element.resizable(\"instance\")),this.elementIsWrapper=!0,t={marginTop:this.originalElement.css(\"marginTop\"),marginRight:this.originalElement.css(\"marginRight\"),marginBottom:this.originalElement.css(\"marginBottom\"),marginLeft:this.originalElement.css(\"marginLeft\")},this.element.css(t),this.originalElement.css(\"margin\",0),this.originalResizeStyle=this.originalElement.css(\"resize\"),this.originalElement.css(\"resize\",\"none\"),this._proportionallyResizeElements.push(this.originalElement.css({position:\"static\",zoom:1,display:\"block\"})),this.originalElement.css(t),this._proportionallyResize()),this._setupHandles(),e.autoHide&&k(this.element).on(\"mouseenter\",function(){e.disabled||(i._removeClass(\"ui-resizable-autohide\"),i._handles.show())}).on(\"mouseleave\",function(){e.disabled||i.resizing||(i._addClass(\"ui-resizable-autohide\"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy();function t(t){k(t).removeData(\"resizable\").removeData(\"ui-resizable\").off(\".resizable\").find(\".ui-resizable-handle\").remove()}var e;return this.elementIsWrapper&&(t(this.element),e=this.element,this.originalElement.css({position:e.css(\"position\"),width:e.outerWidth(),height:e.outerHeight(),top:e.css(\"top\"),left:e.css(\"left\")}).insertAfter(e),e.remove()),this.originalElement.css(\"resize\",this.originalResizeStyle),t(this.originalElement),this},_setOption:function(t,e){this._super(t,e),\"handles\"===t&&(this._removeHandles(),this._setupHandles())},_setupHandles:function(){var t,e,i,s,n,o=this.options,a=this;if(this.handles=o.handles||(k(\".ui-resizable-handle\",this.element).length?{n:\".ui-resizable-n\",e:\".ui-resizable-e\",s:\".ui-resizable-s\",w:\".ui-resizable-w\",se:\".ui-resizable-se\",sw:\".ui-resizable-sw\",ne:\".ui-resizable-ne\",nw:\".ui-resizable-nw\"}:\"e,s,se\"),this._handles=k(),this.handles.constructor===String)for(\"all\"===this.handles&&(this.handles=\"n,e,s,w,se,sw,ne,nw\"),i=this.handles.split(\",\"),this.handles={},e=0;e\"),this._addClass(n,\"ui-resizable-handle \"+s),n.css({zIndex:o.zIndex}),this.handles[t]=\".ui-resizable-\"+t,this.element.append(n);this._renderAxis=function(t){var e,i,s;for(e in t=t||this.element,this.handles)this.handles[e].constructor===String?this.handles[e]=this.element.children(this.handles[e]).first().show():(this.handles[e].jquery||this.handles[e].nodeType)&&(this.handles[e]=k(this.handles[e]),this._on(this.handles[e],{mousedown:a._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(i=k(this.handles[e],this.element),s=/sw|ne|nw|se|n|s/.test(e)?i.outerHeight():i.outerWidth(),i=[\"padding\",/ne|nw|n/.test(e)?\"Top\":/se|sw|s/.test(e)?\"Bottom\":/^e$/.test(e)?\"Right\":\"Left\"].join(\"\"),t.css(i,s),this._proportionallyResize()),this._handles=this._handles.add(this.handles[e])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(\".ui-resizable-handle\")),this._handles.disableSelection(),this._handles.on(\"mouseover\",function(){a.resizing||(this.className&&(n=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),a.axis=n&&n[1]?n[1]:\"se\")}),o.autoHide&&(this._handles.hide(),this._addClass(\"ui-resizable-autohide\"))},_removeHandles:function(){this._handles.remove()},_mouseCapture:function(t){var e,i,s=!1;for(e in this.handles)(i=k(this.handles[e])[0])!==t.target&&!k.contains(i,t.target)||(s=!0);return!this.options.disabled&&s},_mouseStart:function(t){var e,i,s=this.options,n=this.element;return this.resizing=!0,this._renderProxy(),e=this._num(this.helper.css(\"left\")),i=this._num(this.helper.css(\"top\")),s.containment&&(e+=k(s.containment).scrollLeft()||0,i+=k(s.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:e,top:i},this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width(),height:n.height()},this.originalSize=this._helper?{width:n.outerWidth(),height:n.outerHeight()}:{width:n.width(),height:n.height()},this.sizeDiff={width:n.outerWidth()-n.width(),height:n.outerHeight()-n.height()},this.originalPosition={left:e,top:i},this.originalMousePosition={left:t.pageX,top:t.pageY},this.aspectRatio=\"number\"==typeof s.aspectRatio?s.aspectRatio:this.originalSize.width/this.originalSize.height||1,s=k(\".ui-resizable-\"+this.axis).css(\"cursor\"),k(\"body\").css(\"cursor\",\"auto\"===s?this.axis+\"-resize\":s),this._addClass(\"ui-resizable-resizing\"),this._propagate(\"start\",t),!0},_mouseDrag:function(t){var e=this.originalMousePosition,i=this.axis,s=t.pageX-e.left||0,e=t.pageY-e.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(e=i.apply(this,[t,s,e]),this._updateVirtualBoundaries(t.shiftKey),(this._aspectRatio||t.shiftKey)&&(e=this._updateRatio(e,t)),e=this._respectSize(e,t),this._updateCache(e),this._propagate(\"resize\",t),e=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),k.isEmptyObject(e)||(this._updatePrevProperties(),this._trigger(\"resize\",t,this.ui()),this._applyChanges())),!1},_mouseStop:function(t){this.resizing=!1;var e,i,s,n=this.options,o=this;return this._helper&&(s=(e=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],\"left\")?0:o.sizeDiff.height,i=e?0:o.sizeDiff.width,e={width:o.helper.width()-i,height:o.helper.height()-s},i=parseFloat(o.element.css(\"left\"))+(o.position.left-o.originalPosition.left)||null,s=parseFloat(o.element.css(\"top\"))+(o.position.top-o.originalPosition.top)||null,n.animate||this.element.css(k.extend(e,{top:s,left:i})),o.helper.height(o.size.height),o.helper.width(o.size.width),this._helper&&!n.animate&&this._proportionallyResize()),k(\"body\").css(\"cursor\",\"auto\"),this._removeClass(\"ui-resizable-resizing\"),this._propagate(\"stop\",t),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var t={};return this.position.top!==this.prevPosition.top&&(t.top=this.position.top+\"px\"),this.position.left!==this.prevPosition.left&&(t.left=this.position.left+\"px\"),this.size.width!==this.prevSize.width&&(t.width=this.size.width+\"px\"),this.size.height!==this.prevSize.height&&(t.height=this.size.height+\"px\"),this.helper.css(t),t},_updateVirtualBoundaries:function(t){var e,i,s=this.options,n={minWidth:this._isNumber(s.minWidth)?s.minWidth:0,maxWidth:this._isNumber(s.maxWidth)?s.maxWidth:1/0,minHeight:this._isNumber(s.minHeight)?s.minHeight:0,maxHeight:this._isNumber(s.maxHeight)?s.maxHeight:1/0};(this._aspectRatio||t)&&(e=n.minHeight*this.aspectRatio,i=n.minWidth/this.aspectRatio,s=n.maxHeight*this.aspectRatio,t=n.maxWidth/this.aspectRatio,e>n.minWidth&&(n.minWidth=e),i>n.minHeight&&(n.minHeight=i),st.width,a=this._isNumber(t.height)&&e.minHeight&&e.minHeight>t.height,r=this.originalPosition.left+this.originalSize.width,h=this.originalPosition.top+this.originalSize.height,l=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return o&&(t.width=e.minWidth),a&&(t.height=e.minHeight),s&&(t.width=e.maxWidth),n&&(t.height=e.maxHeight),o&&l&&(t.left=r-e.minWidth),s&&l&&(t.left=r-e.maxWidth),a&&i&&(t.top=h-e.minHeight),n&&i&&(t.top=h-e.maxHeight),t.width||t.height||t.left||!t.top?t.width||t.height||t.top||!t.left||(t.left=null):t.top=null,t},_getPaddingPlusBorderDimensions:function(t){for(var e=0,i=[],s=[t.css(\"borderTopWidth\"),t.css(\"borderRightWidth\"),t.css(\"borderBottomWidth\"),t.css(\"borderLeftWidth\")],n=[t.css(\"paddingTop\"),t.css(\"paddingRight\"),t.css(\"paddingBottom\"),t.css(\"paddingLeft\")];e<4;e++)i[e]=parseFloat(s[e])||0,i[e]+=parseFloat(n[e])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var t,e=0,i=this.helper||this.element;e\"),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:\"absolute\",left:this.elementOffset.left+\"px\",top:this.elementOffset.top+\"px\",zIndex:++e.zIndex}),this.helper.appendTo(\"body\").disableSelection()):this.helper=this.element},_change:{e:function(t,e){return{width:this.originalSize.width+e}},w:function(t,e){var i=this.originalSize;return{left:this.originalPosition.left+e,width:i.width-e}},n:function(t,e,i){var s=this.originalSize;return{top:this.originalPosition.top+i,height:s.height-i}},s:function(t,e,i){return{height:this.originalSize.height+i}},se:function(t,e,i){return k.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},sw:function(t,e,i){return k.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[t,e,i]))},ne:function(t,e,i){return k.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[t,e,i]))},nw:function(t,e,i){return k.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[t,e,i]))}},_propagate:function(t,e){k.ui.plugin.call(this,t,[e,this.ui()]),\"resize\"!==t&&this._trigger(t,e,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),k.ui.plugin.add(\"resizable\",\"animate\",{stop:function(e){var i=k(this).resizable(\"instance\"),t=i.options,s=i._proportionallyResizeElements,n=s.length&&/textarea/i.test(s[0].nodeName),o=n&&i._hasScroll(s[0],\"left\")?0:i.sizeDiff.height,a=n?0:i.sizeDiff.width,n={width:i.size.width-a,height:i.size.height-o},a=parseFloat(i.element.css(\"left\"))+(i.position.left-i.originalPosition.left)||null,o=parseFloat(i.element.css(\"top\"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(k.extend(n,o&&a?{top:o,left:a}:{}),{duration:t.animateDuration,easing:t.animateEasing,step:function(){var t={width:parseFloat(i.element.css(\"width\")),height:parseFloat(i.element.css(\"height\")),top:parseFloat(i.element.css(\"top\")),left:parseFloat(i.element.css(\"left\"))};s&&s.length&&k(s[0]).css({width:t.width,height:t.height}),i._updateCache(t),i._propagate(\"resize\",e)}})}}),k.ui.plugin.add(\"resizable\",\"containment\",{start:function(){var i,s,n=k(this).resizable(\"instance\"),t=n.options,e=n.element,o=t.containment,a=o instanceof k?o.get(0):/parent/.test(o)?e.parent().get(0):o;a&&(n.containerElement=k(a),/document/.test(o)||o===document?(n.containerOffset={left:0,top:0},n.containerPosition={left:0,top:0},n.parentData={element:k(document),left:0,top:0,width:k(document).width(),height:k(document).height()||document.body.parentNode.scrollHeight}):(i=k(a),s=[],k([\"Top\",\"Right\",\"Left\",\"Bottom\"]).each(function(t,e){s[t]=n._num(i.css(\"padding\"+e))}),n.containerOffset=i.offset(),n.containerPosition=i.position(),n.containerSize={height:i.innerHeight()-s[3],width:i.innerWidth()-s[1]},t=n.containerOffset,e=n.containerSize.height,o=n.containerSize.width,o=n._hasScroll(a,\"left\")?a.scrollWidth:o,e=n._hasScroll(a)?a.scrollHeight:e,n.parentData={element:a,left:t.left,top:t.top,width:o,height:e}))},resize:function(t){var e=k(this).resizable(\"instance\"),i=e.options,s=e.containerOffset,n=e.position,o=e._aspectRatio||t.shiftKey,a={top:0,left:0},r=e.containerElement,t=!0;r[0]!==document&&/static/.test(r.css(\"position\"))&&(a=s),n.left<(e._helper?s.left:0)&&(e.size.width=e.size.width+(e._helper?e.position.left-s.left:e.position.left-a.left),o&&(e.size.height=e.size.width/e.aspectRatio,t=!1),e.position.left=i.helper?s.left:0),n.top<(e._helper?s.top:0)&&(e.size.height=e.size.height+(e._helper?e.position.top-s.top:e.position.top),o&&(e.size.width=e.size.height*e.aspectRatio,t=!1),e.position.top=e._helper?s.top:0),i=e.containerElement.get(0)===e.element.parent().get(0),n=/relative|absolute/.test(e.containerElement.css(\"position\")),i&&n?(e.offset.left=e.parentData.left+e.position.left,e.offset.top=e.parentData.top+e.position.top):(e.offset.left=e.element.offset().left,e.offset.top=e.element.offset().top),n=Math.abs(e.sizeDiff.width+(e._helper?e.offset.left-a.left:e.offset.left-s.left)),s=Math.abs(e.sizeDiff.height+(e._helper?e.offset.top-a.top:e.offset.top-s.top)),n+e.size.width>=e.parentData.width&&(e.size.width=e.parentData.width-n,o&&(e.size.height=e.size.width/e.aspectRatio,t=!1)),s+e.size.height>=e.parentData.height&&(e.size.height=e.parentData.height-s,o&&(e.size.width=e.size.height*e.aspectRatio,t=!1)),t||(e.position.left=e.prevPosition.left,e.position.top=e.prevPosition.top,e.size.width=e.prevSize.width,e.size.height=e.prevSize.height)},stop:function(){var t=k(this).resizable(\"instance\"),e=t.options,i=t.containerOffset,s=t.containerPosition,n=t.containerElement,o=k(t.helper),a=o.offset(),r=o.outerWidth()-t.sizeDiff.width,o=o.outerHeight()-t.sizeDiff.height;t._helper&&!e.animate&&/relative/.test(n.css(\"position\"))&&k(this).css({left:a.left-s.left-i.left,width:r,height:o}),t._helper&&!e.animate&&/static/.test(n.css(\"position\"))&&k(this).css({left:a.left-s.left-i.left,width:r,height:o})}}),k.ui.plugin.add(\"resizable\",\"alsoResize\",{start:function(){var t=k(this).resizable(\"instance\").options;k(t.alsoResize).each(function(){var t=k(this);t.data(\"ui-resizable-alsoresize\",{width:parseFloat(t.width()),height:parseFloat(t.height()),left:parseFloat(t.css(\"left\")),top:parseFloat(t.css(\"top\"))})})},resize:function(t,i){var e=k(this).resizable(\"instance\"),s=e.options,n=e.originalSize,o=e.originalPosition,a={height:e.size.height-n.height||0,width:e.size.width-n.width||0,top:e.position.top-o.top||0,left:e.position.left-o.left||0};k(s.alsoResize).each(function(){var t=k(this),s=k(this).data(\"ui-resizable-alsoresize\"),n={},e=t.parents(i.originalElement[0]).length?[\"width\",\"height\"]:[\"width\",\"height\",\"top\",\"left\"];k.each(e,function(t,e){var i=(s[e]||0)+(a[e]||0);i&&0<=i&&(n[e]=i||null)}),t.css(n)})},stop:function(){k(this).removeData(\"ui-resizable-alsoresize\")}}),k.ui.plugin.add(\"resizable\",\"ghost\",{start:function(){var t=k(this).resizable(\"instance\"),e=t.size;t.ghost=t.originalElement.clone(),t.ghost.css({opacity:.25,display:\"block\",position:\"relative\",height:e.height,width:e.width,margin:0,left:0,top:0}),t._addClass(t.ghost,\"ui-resizable-ghost\"),!1!==k.uiBackCompat&&\"string\"==typeof t.options.ghost&&t.ghost.addClass(this.options.ghost),t.ghost.appendTo(t.helper)},resize:function(){var t=k(this).resizable(\"instance\");t.ghost&&t.ghost.css({position:\"relative\",height:t.size.height,width:t.size.width})},stop:function(){var t=k(this).resizable(\"instance\");t.ghost&&t.helper&&t.helper.get(0).removeChild(t.ghost.get(0))}}),k.ui.plugin.add(\"resizable\",\"grid\",{resize:function(){var t,e=k(this).resizable(\"instance\"),i=e.options,s=e.size,n=e.originalSize,o=e.originalPosition,a=e.axis,r=\"number\"==typeof i.grid?[i.grid,i.grid]:i.grid,h=r[0]||1,l=r[1]||1,c=Math.round((s.width-n.width)/h)*h,u=Math.round((s.height-n.height)/l)*l,d=n.width+c,p=n.height+u,f=i.maxWidth&&i.maxWidthd,s=i.minHeight&&i.minHeight>p;i.grid=r,m&&(d+=h),s&&(p+=l),f&&(d-=h),g&&(p-=l),/^(se|s|e)$/.test(a)?(e.size.width=d,e.size.height=p):/^(ne)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.top=o.top-u):/^(sw)$/.test(a)?(e.size.width=d,e.size.height=p,e.position.left=o.left-c):((p-l<=0||d-h<=0)&&(t=e._getPaddingPlusBorderDimensions(this)),0\"),this._addClass(this.helper,\"ui-selectable-helper\")},_destroy:function(){this.selectees.removeData(\"selectable-item\"),this._mouseDestroy()},_mouseStart:function(i){var s=this,t=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=k(this.element[0]).offset(),this.options.disabled||(this.selectees=k(t.filter,this.element[0]),this._trigger(\"start\",i),k(t.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),t.autoRefresh&&this.refresh(),this.selectees.filter(\".ui-selected\").each(function(){var t=k.data(this,\"selectable-item\");t.startselected=!0,i.metaKey||i.ctrlKey||(s._removeClass(t.$element,\"ui-selected\"),t.selected=!1,s._addClass(t.$element,\"ui-unselecting\"),t.unselecting=!0,s._trigger(\"unselecting\",i,{unselecting:t.element}))}),k(i.target).parents().addBack().each(function(){var t,e=k.data(this,\"selectable-item\");if(e)return t=!i.metaKey&&!i.ctrlKey||!e.$element.hasClass(\"ui-selected\"),s._removeClass(e.$element,t?\"ui-unselecting\":\"ui-selected\")._addClass(e.$element,t?\"ui-selecting\":\"ui-unselecting\"),e.unselecting=!t,e.selecting=t,(e.selected=t)?s._trigger(\"selecting\",i,{selecting:e.element}):s._trigger(\"unselecting\",i,{unselecting:e.element}),!1}))},_mouseDrag:function(s){if(this.dragged=!0,!this.options.disabled){var t,n=this,o=this.options,a=this.opos[0],r=this.opos[1],h=s.pageX,l=s.pageY;return hh||i.rightl||i.bottoma&&i.rightr&&i.bottom *\",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:\"default\",tolerance:\"intersect\",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return e<=t&&t*{ cursor: \"+o.cursor+\" !important; }\").appendTo(n)),o.opacity&&(this.helper.css(\"opacity\")&&(this._storedOpacity=this.helper.css(\"opacity\")),this.helper.css(\"opacity\",o.opacity)),o.zIndex&&(this.helper.css(\"zIndex\")&&(this._storedZIndex=this.helper.css(\"zIndex\")),this.helper.css(\"zIndex\",o.zIndex)),this.scrollParent[0]!==this.document[0]&&\"HTML\"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger(\"start\",t,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(s=this.containers.length-1;0<=s;s--)this.containers[s]._trigger(\"activate\",t,this._uiHash(this));return k.ui.ddmanager&&(k.ui.ddmanager.current=this),k.ui.ddmanager&&!o.dropBehaviour&&k.ui.ddmanager.prepareOffsets(this,t),this.dragging=!0,this._addClass(this.helper,\"ui-sortable-helper\"),this._mouseDrag(t),!0},_mouseDrag:function(t){var e,i,s,n,o=this.options,a=!1;for(this.position=this._generatePosition(t),this.positionAbs=this._convertPositionTo(\"absolute\"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs),this.options.scroll&&(this.scrollParent[0]!==this.document[0]&&\"HTML\"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageYt[this.floating?\"width\":\"height\"]?c:o\",i.document[0]);return i._addClass(e,\"ui-sortable-placeholder\",s||i.currentItem[0].className)._removeClass(e,\"ui-sortable-helper\"),\"tbody\"===t?i._createTrPlaceholder(i.currentItem.find(\"tr\").eq(0),k(\"\",i.document[0]).appendTo(e)):\"tr\"===t?i._createTrPlaceholder(i.currentItem,e):\"img\"===t&&e.attr(\"src\",i.currentItem.attr(\"src\")),s||e.css(\"visibility\",\"hidden\"),e},update:function(t,e){s&&!n.forcePlaceholderSize||(e.height()||e.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css(\"paddingTop\")||0,10)-parseInt(i.currentItem.css(\"paddingBottom\")||0,10)),e.width()||e.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css(\"paddingLeft\")||0,10)-parseInt(i.currentItem.css(\"paddingRight\")||0,10)))}}),i.placeholder=k(n.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),n.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(t,e){var i=this;t.children().each(function(){k(\" \",i.document[0]).attr(\"colspan\",k(this).attr(\"colspan\")||1).appendTo(e)})},_contactContainers:function(t){for(var e,i,s,n,o,a,r,h,l,c=null,u=null,d=this.containers.length-1;0<=d;d--)k.contains(this.currentItem[0],this.containers[d].element[0])||(this._intersectsWith(this.containers[d].containerCache)?c&&k.contains(this.containers[d].element[0],c.element[0])||(c=this.containers[d],u=d):this.containers[d].containerCache.over&&(this.containers[d]._trigger(\"out\",t,this._uiHash(this)),this.containers[d].containerCache.over=0));if(c)if(1===this.containers.length)this.containers[u].containerCache.over||(this.containers[u]._trigger(\"over\",t,this._uiHash(this)),this.containers[u].containerCache.over=1);else{for(i=1e4,s=null,n=(h=c.floating||this._isFloating(this.currentItem))?\"left\":\"top\",o=h?\"width\":\"height\",l=h?\"pageX\":\"pageY\",e=this.items.length-1;0<=e;e--)k.contains(this.containers[u].element[0],this.items[e].item[0])&&this.items[e].item[0]!==this.currentItem[0]&&(a=this.items[e].item.offset()[n],r=!1,t[l]-a>this.items[e][o]/2&&(r=!0),Math.abs(t[l]-a)this.containment[2]&&(i=this.containment[2]+this.offset.click.left),t.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),e.grid&&(t=this.originalPageY+Math.round((s-this.originalPageY)/e.grid[1])*e.grid[1],s=!this.containment||t-this.offset.click.top>=this.containment[1]&&t-this.offset.click.top<=this.containment[3]?t:t-this.offset.click.top>=this.containment[1]?t-e.grid[1]:t+e.grid[1],t=this.originalPageX+Math.round((i-this.originalPageX)/e.grid[0])*e.grid[0],i=!this.containment||t-this.offset.click.left>=this.containment[0]&&t-this.offset.click.left<=this.containment[2]?t:t-this.offset.click.left>=this.containment[0]?t-e.grid[0]:t+e.grid[0])),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollTop():o?0:n.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+(\"fixed\"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:n.scrollLeft())}},_rearrange:function(t,e,i,s){i?i[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],\"down\"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var n=this.counter;this._delay(function(){n===this.counter&&this.refreshPositions(!s)})},_clear:function(t,e){this.reverting=!1;var i,s=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)\"auto\"!==this._storedCSS[i]&&\"static\"!==this._storedCSS[i]||(this._storedCSS[i]=\"\");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,\"ui-sortable-helper\")}else this.currentItem.show();function n(e,i,s){return function(t){s._trigger(e,t,i._uiHash(i))}}for(this.fromOutside&&!e&&s.push(function(t){this._trigger(\"receive\",t,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(\".ui-sortable-helper\")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||s.push(function(t){this._trigger(\"update\",t,this._uiHash())}),this!==this.currentContainer&&(e||(s.push(function(t){this._trigger(\"remove\",t,this._uiHash())}),s.push(function(e){return function(t){e._trigger(\"receive\",t,this._uiHash(this))}}.call(this,this.currentContainer)),s.push(function(e){return function(t){e._trigger(\"update\",t,this._uiHash(this))}}.call(this,this.currentContainer)))),i=this.containers.length-1;0<=i;i--)e||s.push(n(\"deactivate\",this,this.containers[i])),this.containers[i].containerCache.over&&(s.push(n(\"out\",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this.storedCursor&&(this.document.find(\"body\").css(\"cursor\",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css(\"opacity\",this._storedOpacity),this._storedZIndex&&this.helper.css(\"zIndex\",\"auto\"===this._storedZIndex?\"\":this._storedZIndex),this.dragging=!1,e||this._trigger(\"beforeStop\",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(i=0;i li > :first-child, > :not(li):even\",heightStyle:\"auto\",icons:{activeHeader:\"ui-icon-triangle-1-s\",header:\"ui-icon-triangle-1-e\"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:\"hide\",borderBottomWidth:\"hide\",paddingTop:\"hide\",paddingBottom:\"hide\",height:\"hide\"},showProps:{borderTopWidth:\"show\",borderBottomWidth:\"show\",paddingTop:\"show\",paddingBottom:\"show\",height:\"show\"},_create:function(){var t=this.options;this.prevShow=this.prevHide=k(),this._addClass(\"ui-accordion\",\"ui-widget ui-helper-reset\"),this.element.attr(\"role\",\"tablist\"),t.collapsible||!1!==t.active&&null!=t.active||(t.active=0),this._processPanels(),t.active<0&&(t.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():k()}},_createIcons:function(){var t,e=this.options.icons;e&&(t=k(\"\"),this._addClass(t,\"ui-accordion-header-icon\",\"ui-icon \"+e.header),t.prependTo(this.headers),t=this.active.children(\".ui-accordion-header-icon\"),this._removeClass(t,e.header)._addClass(t,null,e.activeHeader)._addClass(this.headers,\"ui-accordion-icons\"))},_destroyIcons:function(){this._removeClass(this.headers,\"ui-accordion-icons\"),this.headers.children(\".ui-accordion-header-icon\").remove()},_destroy:function(){var t;this.element.removeAttr(\"role\"),this.headers.removeAttr(\"role aria-expanded aria-selected aria-controls tabIndex\").removeUniqueId(),this._destroyIcons(),t=this.headers.next().css(\"display\",\"\").removeAttr(\"role aria-hidden aria-labelledby\").removeUniqueId(),\"content\"!==this.options.heightStyle&&t.css(\"height\",\"\")},_setOption:function(t,e){\"active\"!==t?(\"event\"===t&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(e)),this._super(t,e),\"collapsible\"!==t||e||!1!==this.options.active||this._activate(0),\"icons\"===t&&(this._destroyIcons(),e&&this._createIcons())):this._activate(e)},_setOptionDisabled:function(t){this._super(t),this.element.attr(\"aria-disabled\",t),this._toggleClass(null,\"ui-state-disabled\",!!t),this._toggleClass(this.headers.add(this.headers.next()),null,\"ui-state-disabled\",!!t)},_keydown:function(t){if(!t.altKey&&!t.ctrlKey){var e=k.ui.keyCode,i=this.headers.length,s=this.headers.index(t.target),n=!1;switch(t.keyCode){case e.RIGHT:case e.DOWN:n=this.headers[(s+1)%i];break;case e.LEFT:case e.UP:n=this.headers[(s-1+i)%i];break;case e.SPACE:case e.ENTER:this._eventHandler(t);break;case e.HOME:n=this.headers[0];break;case e.END:n=this.headers[i-1]}n&&(k(t.target).attr(\"tabIndex\",-1),k(n).attr(\"tabIndex\",0),k(n).trigger(\"focus\"),t.preventDefault())}},_panelKeyDown:function(t){t.keyCode===k.ui.keyCode.UP&&t.ctrlKey&&k(t.currentTarget).prev().trigger(\"focus\")},refresh:function(){var t=this.options;this._processPanels(),!1===t.active&&!0===t.collapsible||!this.headers.length?(t.active=!1,this.active=k()):!1===t.active?this._activate(0):this.active.length&&!k.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(\".ui-state-disabled\").length?(t.active=!1,this.active=k()):this._activate(Math.max(0,t.active-1)):t.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var t=this.headers,e=this.panels;this.headers=this.element.find(this.options.header),this._addClass(this.headers,\"ui-accordion-header ui-accordion-header-collapsed\",\"ui-state-default\"),this.panels=this.headers.next().filter(\":not(.ui-accordion-content-active)\").hide(),this._addClass(this.panels,\"ui-accordion-content\",\"ui-helper-reset ui-widget-content\"),e&&(this._off(t.not(this.headers)),this._off(e.not(this.panels)))},_refresh:function(){var i,t=this.options,e=t.heightStyle,s=this.element.parent();this.active=this._findActive(t.active),this._addClass(this.active,\"ui-accordion-header-active\",\"ui-state-active\")._removeClass(this.active,\"ui-accordion-header-collapsed\"),this._addClass(this.active.next(),\"ui-accordion-content-active\"),this.active.next().show(),this.headers.attr(\"role\",\"tab\").each(function(){var t=k(this),e=t.uniqueId().attr(\"id\"),i=t.next(),s=i.uniqueId().attr(\"id\");t.attr(\"aria-controls\",s),i.attr(\"aria-labelledby\",e)}).next().attr(\"role\",\"tabpanel\"),this.headers.not(this.active).attr({\"aria-selected\":\"false\",\"aria-expanded\":\"false\",tabIndex:-1}).next().attr({\"aria-hidden\":\"true\"}).hide(),this.active.length?this.active.attr({\"aria-selected\":\"true\",\"aria-expanded\":\"true\",tabIndex:0}).next().attr({\"aria-hidden\":\"false\"}):this.headers.eq(0).attr(\"tabIndex\",0),this._createIcons(),this._setupEvents(t.event),\"fill\"===e?(i=s.height(),this.element.siblings(\":visible\").each(function(){var t=k(this),e=t.css(\"position\");\"absolute\"!==e&&\"fixed\"!==e&&(i-=t.outerHeight(!0))}),this.headers.each(function(){i-=k(this).outerHeight(!0)}),this.headers.next().each(function(){k(this).height(Math.max(0,i-k(this).innerHeight()+k(this).height()))}).css(\"overflow\",\"auto\")):\"auto\"===e&&(i=0,this.headers.next().each(function(){var t=k(this).is(\":visible\");t||k(this).show(),i=Math.max(i,k(this).css(\"height\",\"\").height()),t||k(this).hide()}).height(i))},_activate:function(t){t=this._findActive(t)[0];t!==this.active[0]&&(t=t||this.active[0],this._eventHandler({target:t,currentTarget:t,preventDefault:k.noop}))},_findActive:function(t){return\"number\"==typeof t?this.headers.eq(t):k()},_setupEvents:function(t){var i={keydown:\"_keydown\"};t&&k.each(t.split(\" \"),function(t,e){i[e]=\"_eventHandler\"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:\"_panelKeyDown\"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(t){var e=this.options,i=this.active,s=k(t.currentTarget),n=s[0]===i[0],o=n&&e.collapsible,a=o?k():s.next(),r=i.next(),a={oldHeader:i,oldPanel:r,newHeader:o?k():s,newPanel:a};t.preventDefault(),n&&!e.collapsible||!1===this._trigger(\"beforeActivate\",t,a)||(e.active=!o&&this.headers.index(s),this.active=n?k():s,this._toggle(a),this._removeClass(i,\"ui-accordion-header-active\",\"ui-state-active\"),e.icons&&(i=i.children(\".ui-accordion-header-icon\"),this._removeClass(i,null,e.icons.activeHeader)._addClass(i,null,e.icons.header)),n||(this._removeClass(s,\"ui-accordion-header-collapsed\")._addClass(s,\"ui-accordion-header-active\",\"ui-state-active\"),e.icons&&(n=s.children(\".ui-accordion-header-icon\"),this._removeClass(n,null,e.icons.header)._addClass(n,null,e.icons.activeHeader)),this._addClass(s.next(),\"ui-accordion-content-active\")))},_toggle:function(t){var e=t.newPanel,i=this.prevShow.length?this.prevShow:t.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=e,this.prevHide=i,this.options.animate?this._animate(e,i,t):(i.hide(),e.show(),this._toggleComplete(t)),i.attr({\"aria-hidden\":\"true\"}),i.prev().attr({\"aria-selected\":\"false\",\"aria-expanded\":\"false\"}),e.length&&i.length?i.prev().attr({tabIndex:-1,\"aria-expanded\":\"false\"}):e.length&&this.headers.filter(function(){return 0===parseInt(k(this).attr(\"tabIndex\"),10)}).attr(\"tabIndex\",-1),e.attr(\"aria-hidden\",\"false\").prev().attr({\"aria-selected\":\"true\",\"aria-expanded\":\"true\",tabIndex:0})},_animate:function(t,i,e){var s,n,o,a=this,r=0,h=t.css(\"box-sizing\"),l=t.length&&(!i.length||t.index()\",delay:300,options:{icons:{submenu:\"ui-icon-caret-1-e\"},items:\"> *\",menus:\"ul\",position:{my:\"left top\",at:\"right top\"},role:\"menu\",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass(\"ui-menu\",\"ui-widget ui-widget-content\"),this._on({\"mousedown .ui-menu-item\":function(t){t.preventDefault()},\"click .ui-menu-item\":function(t){var e=k(t.target),i=k(k.ui.safeActiveElement(this.document[0]));!this.mouseHandled&&e.not(\".ui-state-disabled\").length&&(this.select(t),t.isPropagationStopped()||(this.mouseHandled=!0),e.has(\".ui-menu\").length?this.expand(t):!this.element.is(\":focus\")&&i.closest(\".ui-menu\").length&&(this.element.trigger(\"focus\",[!0]),this.active&&1===this.active.parents(\".ui-menu\").length&&clearTimeout(this.timer)))},\"mouseenter .ui-menu-item\":function(t){var e,i;this.previousFilter||(e=k(t.target).closest(\".ui-menu-item\"),i=k(t.currentTarget),e[0]===i[0]&&(this._removeClass(i.siblings().children(\".ui-state-active\"),null,\"ui-state-active\"),this.focus(t,i)))},mouseleave:\"collapseAll\",\"mouseleave .ui-menu\":\"collapseAll\",focus:function(t,e){var i=this.active||this.element.find(this.options.items).eq(0);e||this.focus(t,i)},blur:function(t){this._delay(function(){k.contains(this.element[0],k.ui.safeActiveElement(this.document[0]))||this.collapseAll(t)})},keydown:\"_keydown\"}),this.refresh(),this._on(this.document,{click:function(t){this._closeOnDocumentClick(t)&&this.collapseAll(t),this.mouseHandled=!1}})},_destroy:function(){var t=this.element.find(\".ui-menu-item\").removeAttr(\"role aria-disabled\").children(\".ui-menu-item-wrapper\").removeUniqueId().removeAttr(\"tabIndex role aria-haspopup\");this.element.removeAttr(\"aria-activedescendant\").find(\".ui-menu\").addBack().removeAttr(\"role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex\").removeUniqueId().show(),t.children().each(function(){var t=k(this);t.data(\"ui-menu-submenu-caret\")&&t.remove()})},_keydown:function(t){var e,i,s,n=!0;switch(t.keyCode){case k.ui.keyCode.PAGE_UP:this.previousPage(t);break;case k.ui.keyCode.PAGE_DOWN:this.nextPage(t);break;case k.ui.keyCode.HOME:this._move(\"first\",\"first\",t);break;case k.ui.keyCode.END:this._move(\"last\",\"last\",t);break;case k.ui.keyCode.UP:this.previous(t);break;case k.ui.keyCode.DOWN:this.next(t);break;case k.ui.keyCode.LEFT:this.collapse(t);break;case k.ui.keyCode.RIGHT:this.active&&!this.active.is(\".ui-state-disabled\")&&this.expand(t);break;case k.ui.keyCode.ENTER:case k.ui.keyCode.SPACE:this._activate(t);break;case k.ui.keyCode.ESCAPE:this.collapse(t);break;default:n=!1,e=this.previousFilter||\"\",s=!1,i=96<=t.keyCode&&t.keyCode<=105?(t.keyCode-96).toString():String.fromCharCode(t.keyCode),clearTimeout(this.filterTimer),i===e?s=!0:i=e+i,e=this._filterMenuItems(i),(e=s&&-1!==e.index(this.active.next())?this.active.nextAll(\".ui-menu-item\"):e).length||(i=String.fromCharCode(t.keyCode),e=this._filterMenuItems(i)),e.length?(this.focus(t,e),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}n&&t.preventDefault()},_activate:function(t){this.active&&!this.active.is(\".ui-state-disabled\")&&(this.active.children(\"[aria-haspopup='true']\").length?this.expand(t):this.select(t))},refresh:function(){var t,e,s=this,n=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass(\"ui-menu-icons\",null,!!this.element.find(\".ui-icon\").length),e=i.filter(\":not(.ui-menu)\").hide().attr({role:this.options.role,\"aria-hidden\":\"true\",\"aria-expanded\":\"false\"}).each(function(){var t=k(this),e=t.prev(),i=k(\"\").data(\"ui-menu-submenu-caret\",!0);s._addClass(i,\"ui-menu-icon\",\"ui-icon \"+n),e.attr(\"aria-haspopup\",\"true\").prepend(i),t.attr(\"aria-labelledby\",e.attr(\"id\"))}),this._addClass(e,\"ui-menu\",\"ui-widget ui-widget-content ui-front\"),(t=i.add(this.element).find(this.options.items)).not(\".ui-menu-item\").each(function(){var t=k(this);s._isDivider(t)&&s._addClass(t,\"ui-menu-divider\",\"ui-widget-content\")}),i=(e=t.not(\".ui-menu-item, .ui-menu-divider\")).children().not(\".ui-menu\").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(e,\"ui-menu-item\")._addClass(i,\"ui-menu-item-wrapper\"),t.filter(\".ui-state-disabled\").attr(\"aria-disabled\",\"true\"),this.active&&!k.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:\"menuitem\",listbox:\"option\"}[this.options.role]},_setOption:function(t,e){var i;\"icons\"===t&&(i=this.element.find(\".ui-menu-icon\"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,e.submenu)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr(\"aria-disabled\",String(t)),this._toggleClass(null,\"ui-state-disabled\",!!t)},focus:function(t,e){var i;this.blur(t,t&&\"focus\"===t.type),this._scrollIntoView(e),this.active=e.first(),i=this.active.children(\".ui-menu-item-wrapper\"),this._addClass(i,null,\"ui-state-active\"),this.options.role&&this.element.attr(\"aria-activedescendant\",i.attr(\"id\")),i=this.active.parent().closest(\".ui-menu-item\").children(\".ui-menu-item-wrapper\"),this._addClass(i,null,\"ui-state-active\"),t&&\"keydown\"===t.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=e.children(\".ui-menu\")).length&&t&&/^mouse/.test(t.type)&&this._startOpening(i),this.activeMenu=e.parent(),this._trigger(\"focus\",t,{item:e})},_scrollIntoView:function(t){var e,i,s;this._hasScroll()&&(i=parseFloat(k.css(this.activeMenu[0],\"borderTopWidth\"))||0,s=parseFloat(k.css(this.activeMenu[0],\"paddingTop\"))||0,e=t.offset().top-this.activeMenu.offset().top-i-s,i=this.activeMenu.scrollTop(),s=this.activeMenu.height(),t=t.outerHeight(),e<0?this.activeMenu.scrollTop(i+e):s\",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:\"left top\",at:\"left bottom\",collision:\"none\"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,_create:function(){var i,s,n,t=this.element[0].nodeName.toLowerCase(),e=\"textarea\"===t,t=\"input\"===t;this.isMultiLine=e||!t&&this._isContentEditable(this.element),this.valueMethod=this.element[e||t?\"val\":\"text\"],this.isNewMenu=!0,this._addClass(\"ui-autocomplete-input\"),this.element.attr(\"autocomplete\",\"off\"),this._on(this.element,{keydown:function(t){if(this.element.prop(\"readOnly\"))s=n=i=!0;else{s=n=i=!1;var e=k.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:i=!0,this._move(\"previousPage\",t);break;case e.PAGE_DOWN:i=!0,this._move(\"nextPage\",t);break;case e.UP:i=!0,this._keyEvent(\"previous\",t);break;case e.DOWN:i=!0,this._keyEvent(\"next\",t);break;case e.ENTER:this.menu.active&&(i=!0,t.preventDefault(),this.menu.select(t));break;case e.TAB:this.menu.active&&this.menu.select(t);break;case e.ESCAPE:this.menu.element.is(\":visible\")&&(this.isMultiLine||this._value(this.term),this.close(t),t.preventDefault());break;default:s=!0,this._searchTimeout(t)}}},keypress:function(t){if(i)return i=!1,void(this.isMultiLine&&!this.menu.element.is(\":visible\")||t.preventDefault());if(!s){var e=k.ui.keyCode;switch(t.keyCode){case e.PAGE_UP:this._move(\"previousPage\",t);break;case e.PAGE_DOWN:this._move(\"nextPage\",t);break;case e.UP:this._keyEvent(\"previous\",t);break;case e.DOWN:this._keyEvent(\"next\",t)}}},input:function(t){if(n)return n=!1,void t.preventDefault();this._searchTimeout(t)},focus:function(){this.selectedItem=null,this.previous=this._value()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(t),this._change(t))}}),this._initSource(),this.menu=k(\"
    \").appendTo(this._appendTo()).menu({role:null}).hide().menu(\"instance\"),this._addClass(this.menu.element,\"ui-autocomplete\",\"ui-front\"),this._on(this.menu.element,{mousedown:function(t){t.preventDefault(),this.cancelBlur=!0,this._delay(function(){delete this.cancelBlur,this.element[0]!==k.ui.safeActiveElement(this.document[0])&&this.element.trigger(\"focus\")})},menufocus:function(t,e){var i;if(this.isNewMenu&&(this.isNewMenu=!1,t.originalEvent&&/^mouse/.test(t.originalEvent.type)))return this.menu.blur(),void this.document.one(\"mousemove\",function(){k(t.target).trigger(t.originalEvent)});i=e.item.data(\"ui-autocomplete-item\"),!1!==this._trigger(\"focus\",t,{item:i})&&t.originalEvent&&/^key/.test(t.originalEvent.type)&&this._value(i.value),(i=e.item.attr(\"aria-label\")||i.value)&&k.trim(i).length&&(this.liveRegion.children().hide(),k(\"
    \").text(i).appendTo(this.liveRegion))},menuselect:function(t,e){var i=e.item.data(\"ui-autocomplete-item\"),s=this.previous;this.element[0]!==k.ui.safeActiveElement(this.document[0])&&(this.element.trigger(\"focus\"),this.previous=s,this._delay(function(){this.previous=s,this.selectedItem=i})),!1!==this._trigger(\"select\",t,{item:i})&&this._value(i.value),this.term=this._value(),this.close(t),this.selectedItem=i}}),this.liveRegion=k(\"
    \",{role:\"status\",\"aria-live\":\"assertive\",\"aria-relevant\":\"additions\"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,\"ui-helper-hidden-accessible\"),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr(\"autocomplete\"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(t,e){this._super(t,e),\"source\"===t&&this._initSource(),\"appendTo\"===t&&this.menu.element.appendTo(this._appendTo()),\"disabled\"===t&&e&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(t){var e=this.menu.element[0];return t.target===this.element[0]||t.target===e||k.contains(e,t.target)},_closeOnClickOutside:function(t){this._isEventTargetInWidget(t)||this.close()},_appendTo:function(){var t=this.options.appendTo;return(t=t&&(t.jquery||t.nodeType?k(t):this.document.find(t).eq(0)))&&t[0]||(t=this.element.closest(\".ui-front, dialog\")),t.length||(t=this.document[0].body),t},_initSource:function(){var i,s,n=this;k.isArray(this.options.source)?(i=this.options.source,this.source=function(t,e){e(k.ui.autocomplete.filter(i,t.term))}):\"string\"==typeof this.options.source?(s=this.options.source,this.source=function(t,e){n.xhr&&n.xhr.abort(),n.xhr=k.ajax({url:s,data:t,dataType:\"json\",success:function(t){e(t)},error:function(){e([])}})}):this.source=this.options.source},_searchTimeout:function(s){clearTimeout(this.searching),this.searching=this._delay(function(){var t=this.term===this._value(),e=this.menu.element.is(\":visible\"),i=s.altKey||s.ctrlKey||s.metaKey||s.shiftKey;t&&(!t||e||i)||(this.selectedItem=null,this.search(null,s))},this.options.delay)},search:function(t,e){return t=null!=t?t:this._value(),this.term=this._value(),t.length\").append(k(\"
    \").text(e.label)).appendTo(t)},_move:function(t,e){if(this.menu.element.is(\":visible\"))return this.menu.isFirstItem()&&/^previous/.test(t)||this.menu.isLastItem()&&/^next/.test(t)?(this.isMultiLine||this._value(this.term),void this.menu.blur()):void this.menu[t](e);this.search(null,e)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(t,e){this.isMultiLine&&!this.menu.element.is(\":visible\")||(this._move(t,e),e.preventDefault())},_isContentEditable:function(t){if(!t.length)return!1;var e=t.prop(\"contentEditable\");return\"inherit\"===e?this._isContentEditable(t.parent()):\"true\"===e}}),k.extend(k.ui.autocomplete,{escapeRegex:function(t){return t.replace(/[\\-\\[\\]{}()*+?.,\\\\\\^$|#\\s]/g,\"\\\\$&\")},filter:function(t,e){var i=new RegExp(k.ui.autocomplete.escapeRegex(e),\"i\");return k.grep(t,function(t){return i.test(t.label||t.value||t)})}}),k.widget(\"ui.autocomplete\",k.ui.autocomplete,{options:{messages:{noResults:\"No search results.\",results:function(t){return t+(1\").text(e).appendTo(this.liveRegion))}});k.ui.autocomplete;var g=/ui-corner-([a-z]){2,6}/g;k.widget(\"ui.controlgroup\",{version:\"1.12.1\",defaultElement:\"
    \",options:{direction:\"horizontal\",disabled:null,onlyVisible:!0,items:{button:\"input[type=button], input[type=submit], input[type=reset], button, a\",controlgroupLabel:\".ui-controlgroup-label\",checkboxradio:\"input[type='checkbox'], input[type='radio']\",selectmenu:\"select\",spinner:\".ui-spinner-input\"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr(\"role\",\"toolbar\"),this.refresh()},_destroy:function(){this._callChildMethod(\"destroy\"),this.childWidgets.removeData(\"ui-controlgroup-data\"),this.element.removeAttr(\"role\"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(\".ui-controlgroup-label-contents\").contents().unwrap()},_initWidgets:function(){var o=this,a=[];k.each(this.options.items,function(s,t){var e,n={};if(t)return\"controlgroupLabel\"===s?((e=o.element.find(t)).each(function(){var t=k(this);t.children(\".ui-controlgroup-label-contents\").length||t.contents().wrapAll(\"\")}),o._addClass(e,null,\"ui-widget ui-widget-content ui-state-default\"),void(a=a.concat(e.get()))):void(k.fn[s]&&(n=o[\"_\"+s+\"Options\"]?o[\"_\"+s+\"Options\"](\"middle\"):{classes:{}},o.element.find(t).each(function(){var t=k(this),e=t[s](\"instance\"),i=k.widget.extend({},n);\"button\"===s&&t.parent(\".ui-spinner\").length||((e=e||t[s]()[s](\"instance\"))&&(i.classes=o._resolveClassesValues(i.classes,e)),t[s](i),i=t[s](\"widget\"),k.data(i[0],\"ui-controlgroup-data\",e||t[s](\"instance\")),a.push(i[0]))})))}),this.childWidgets=k(k.unique(a)),this._addClass(this.childWidgets,\"ui-controlgroup-item\")},_callChildMethod:function(e){this.childWidgets.each(function(){var t=k(this).data(\"ui-controlgroup-data\");t&&t[e]&&t[e]()})},_updateCornerClass:function(t,e){e=this._buildSimpleOptions(e,\"label\").classes.label;this._removeClass(t,null,\"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all\"),this._addClass(t,null,e)},_buildSimpleOptions:function(t,e){var i=\"vertical\"===this.options.direction,s={classes:{}};return s.classes[e]={middle:\"\",first:\"ui-corner-\"+(i?\"top\":\"left\"),last:\"ui-corner-\"+(i?\"bottom\":\"right\"),only:\"ui-corner-all\"}[t],s},_spinnerOptions:function(t){t=this._buildSimpleOptions(t,\"ui-spinner\");return t.classes[\"ui-spinner-up\"]=\"\",t.classes[\"ui-spinner-down\"]=\"\",t},_buttonOptions:function(t){return this._buildSimpleOptions(t,\"ui-button\")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,\"ui-checkboxradio-label\")},_selectmenuOptions:function(t){var e=\"vertical\"===this.options.direction;return{width:e&&\"auto\",classes:{middle:{\"ui-selectmenu-button-open\":\"\",\"ui-selectmenu-button-closed\":\"\"},first:{\"ui-selectmenu-button-open\":\"ui-corner-\"+(e?\"top\":\"tl\"),\"ui-selectmenu-button-closed\":\"ui-corner-\"+(e?\"top\":\"left\")},last:{\"ui-selectmenu-button-open\":e?\"\":\"ui-corner-tr\",\"ui-selectmenu-button-closed\":\"ui-corner-\"+(e?\"bottom\":\"right\")},only:{\"ui-selectmenu-button-open\":\"ui-corner-top\",\"ui-selectmenu-button-closed\":\"ui-corner-all\"}}[t]}},_resolveClassesValues:function(i,s){var n={};return k.each(i,function(t){var e=s.options.classes[t]||\"\",e=k.trim(e.replace(g,\"\"));n[t]=(e+\" \"+i[t]).replace(/\\s+/g,\" \")}),n},_setOption:function(t,e){\"direction\"===t&&this._removeClass(\"ui-controlgroup-\"+this.options.direction),this._super(t,e),\"disabled\"!==t?this.refresh():this._callChildMethod(e?\"disable\":\"enable\")},refresh:function(){var n,o=this;this._addClass(\"ui-controlgroup ui-controlgroup-\"+this.options.direction),\"horizontal\"===this.options.direction&&this._addClass(null,\"ui-helper-clearfix\"),this._initWidgets(),n=this.childWidgets,this.options.onlyVisible&&(n=n.filter(\":visible\")),n.length&&(k.each([\"first\",\"last\"],function(t,e){var i,s=n[e]().data(\"ui-controlgroup-data\");s&&o[\"_\"+s.widgetName+\"Options\"]?((i=o[\"_\"+s.widgetName+\"Options\"](1===n.length?\"only\":e)).classes=o._resolveClassesValues(i.classes,s),s.element[s.widgetName](i)):o._updateCornerClass(n[e](),e)}),this._callChildMethod(\"refresh\"))}});k.widget(\"ui.checkboxradio\",[k.ui.formResetMixin,{version:\"1.12.1\",options:{disabled:null,label:null,icon:!0,classes:{\"ui-checkboxradio-label\":\"ui-corner-all\",\"ui-checkboxradio-icon\":\"ui-corner-all\"}},_getCreateOptions:function(){var t,e=this,i=this._super()||{};return this._readType(),t=this.element.labels(),this.label=k(t[t.length-1]),this.label.length||k.error(\"No label found for checkboxradio widget\"),this.originalLabel=\"\",this.label.contents().not(this.element[0]).each(function(){e.originalLabel+=3===this.nodeType?k(this).text():this.outerHTML}),this.originalLabel&&(i.label=this.originalLabel),null!=(t=this.element[0].disabled)&&(i.disabled=t),i},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption(\"disabled\",this.options.disabled),this._addClass(\"ui-checkboxradio\",\"ui-helper-hidden-accessible\"),this._addClass(this.label,\"ui-checkboxradio-label\",\"ui-button ui-widget\"),\"radio\"===this.type&&this._addClass(this.label,\"ui-checkboxradio-radio-label\"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,\"ui-checkboxradio-checked\",\"ui-state-active\"),this.icon&&this._addClass(this.icon,null,\"ui-state-hover\")),this._on({change:\"_toggleClasses\",focus:function(){this._addClass(this.label,null,\"ui-state-focus ui-visual-focus\")},blur:function(){this._removeClass(this.label,null,\"ui-state-focus ui-visual-focus\")}})},_readType:function(){var t=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,\"input\"===t&&/radio|checkbox/.test(this.type)||k.error(\"Can't create checkboxradio on element.nodeName=\"+t+\" and element.type=\"+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var t=this.element[0].name,e=\"input[name='\"+k.ui.escapeSelector(t)+\"']\";return t?(this.form.length?k(this.form[0].elements).filter(e):k(e).filter(function(){return 0===k(this).form().length})).not(this.element):k([])},_toggleClasses:function(){var t=this.element[0].checked;this._toggleClass(this.label,\"ui-checkboxradio-checked\",\"ui-state-active\",t),this.options.icon&&\"checkbox\"===this.type&&this._toggleClass(this.icon,null,\"ui-icon-check ui-state-checked\",t)._toggleClass(this.icon,null,\"ui-icon-blank\",!t),\"radio\"===this.type&&this._getRadioGroup().each(function(){var t=k(this).checkboxradio(\"instance\");t&&t._removeClass(t.label,\"ui-checkboxradio-checked\",\"ui-state-active\")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(t,e){if(\"label\"!==t||e){if(this._super(t,e),\"disabled\"===t)return this._toggleClass(this.label,null,\"ui-state-disabled\",e),void(this.element[0].disabled=e);this.refresh()}},_updateIcon:function(t){var e=\"ui-icon ui-icon-background \";this.options.icon?(this.icon||(this.icon=k(\"\"),this.iconSpace=k(\" \"),this._addClass(this.iconSpace,\"ui-checkboxradio-icon-space\")),\"checkbox\"===this.type?(e+=t?\"ui-icon-check ui-state-checked\":\"ui-icon-blank\",this._removeClass(this.icon,null,t?\"ui-icon-blank\":\"ui-icon-check\")):e+=\"ui-icon-blank\",this._addClass(this.icon,\"ui-checkboxradio-icon\",e),t||this._removeClass(this.icon,null,\"ui-icon-check ui-state-checked\"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var t=this.label.contents().not(this.element[0]);this.icon&&(t=t.not(this.icon[0])),this.iconSpace&&(t=t.not(this.iconSpace[0])),t.remove(),this.label.append(this.options.label)},refresh:function(){var t=this.element[0].checked,e=this.element[0].disabled;this._updateIcon(t),this._toggleClass(this.label,\"ui-checkboxradio-checked\",\"ui-state-active\",t),null!==this.options.label&&this._updateLabel(),e!==this.options.disabled&&this._setOptions({disabled:e})}}]);var m;k.ui.checkboxradio;k.widget(\"ui.button\",{version:\"1.12.1\",defaultElement:\"\").addClass(this._triggerClass).html(i?k(\"\").attr({src:i,alt:s,title:s}):s)),t[n?\"before\":\"after\"](e.trigger),e.trigger.on(\"click\",function(){return k.datepicker._datepickerShowing&&k.datepicker._lastInput===t[0]?k.datepicker._hideDatepicker():(k.datepicker._datepickerShowing&&k.datepicker._lastInput!==t[0]&&k.datepicker._hideDatepicker(),k.datepicker._showDatepicker(t[0])),!1}))},_autoSize:function(t){var e,i,s,n,o,a;this._get(t,\"autoSize\")&&!t.inline&&(o=new Date(2009,11,20),(a=this._get(t,\"dateFormat\")).match(/[DM]/)&&(e=function(t){for(n=s=i=0;ni&&(i=t[n].length,s=n);return s},o.setMonth(e(this._get(t,a.match(/MM/)?\"monthNames\":\"monthNamesShort\"))),o.setDate(e(this._get(t,a.match(/DD/)?\"dayNames\":\"dayNamesShort\"))+20-o.getDay())),t.input.attr(\"size\",this._formatDate(t,o).length))},_inlineDatepicker:function(t,e){var i=k(t);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(e.dpDiv),k.data(t,\"datepicker\",e),this._setDate(e,this._getDefaultDate(e),!0),this._updateDatepicker(e),this._updateAlternate(e),e.settings.disabled&&this._disableDatepicker(t),e.dpDiv.css(\"display\",\"block\"))},_dialogDatepicker:function(t,e,i,s,n){var o,a=this._dialogInst;return a||(this.uuid+=1,o=\"dp\"+this.uuid,this._dialogInput=k(\"\"),this._dialogInput.on(\"keydown\",this._doKeyDown),k(\"body\").append(this._dialogInput),(a=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},k.data(this._dialogInput[0],\"datepicker\",a)),w(a.settings,s||{}),e=e&&e.constructor===Date?this._formatDate(a,e):e,this._dialogInput.val(e),this._pos=n?n.length?n:[n.pageX,n.pageY]:null,this._pos||(o=document.documentElement.clientWidth,s=document.documentElement.clientHeight,e=document.documentElement.scrollLeft||document.body.scrollLeft,n=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[o/2-100+e,s/2-150+n]),this._dialogInput.css(\"left\",this._pos[0]+20+\"px\").css(\"top\",this._pos[1]+\"px\"),a.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),k.blockUI&&k.blockUI(this.dpDiv),k.data(this._dialogInput[0],\"datepicker\",a),this},_destroyDatepicker:function(t){var e,i=k(t),s=k.data(t,\"datepicker\");i.hasClass(this.markerClassName)&&(e=t.nodeName.toLowerCase(),k.removeData(t,\"datepicker\"),\"input\"===e?(s.append.remove(),s.trigger.remove(),i.removeClass(this.markerClassName).off(\"focus\",this._showDatepicker).off(\"keydown\",this._doKeyDown).off(\"keypress\",this._doKeyPress).off(\"keyup\",this._doKeyUp)):\"div\"!==e&&\"span\"!==e||i.removeClass(this.markerClassName).empty(),_===s&&(_=null))},_enableDatepicker:function(e){var t,i=k(e),s=k.data(e,\"datepicker\");i.hasClass(this.markerClassName)&&(\"input\"===(t=e.nodeName.toLowerCase())?(e.disabled=!1,s.trigger.filter(\"button\").each(function(){this.disabled=!1}).end().filter(\"img\").css({opacity:\"1.0\",cursor:\"\"})):\"div\"!==t&&\"span\"!==t||((i=i.children(\".\"+this._inlineClass)).children().removeClass(\"ui-state-disabled\"),i.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!1)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}))},_disableDatepicker:function(e){var t,i=k(e),s=k.data(e,\"datepicker\");i.hasClass(this.markerClassName)&&(\"input\"===(t=e.nodeName.toLowerCase())?(e.disabled=!0,s.trigger.filter(\"button\").each(function(){this.disabled=!0}).end().filter(\"img\").css({opacity:\"0.5\",cursor:\"default\"})):\"div\"!==t&&\"span\"!==t||((i=i.children(\".\"+this._inlineClass)).children().addClass(\"ui-state-disabled\"),i.find(\"select.ui-datepicker-month, select.ui-datepicker-year\").prop(\"disabled\",!0)),this._disabledInputs=k.map(this._disabledInputs,function(t){return t===e?null:t}),this._disabledInputs[this._disabledInputs.length]=e)},_isDisabledDatepicker:function(t){if(!t)return!1;for(var e=0;er&&sh&&ne;)--q<0&&(q=11,K--);for(t.drawMonth=q,t.drawYear=K,L=this._get(t,\"prevText\"),L=E?this.formatDate(L,this._daylightSavingAdjust(new Date(K,q-z,1)),this._getFormatConfig(t)):L,i=this._canAdjustMonth(t,-1,K,q)?\"\"+L+\"\":W?\"\":\"\"+L+\"\",L=this._get(t,\"nextText\"),L=E?this.formatDate(L,this._daylightSavingAdjust(new Date(K,q+z,1)),this._getFormatConfig(t)):L,s=this._canAdjustMonth(t,1,K,q)?\"\"+L+\"\":W?\"\":\"\"+L+\"\",W=this._get(t,\"currentText\"),L=this._get(t,\"gotoCurrent\")&&t.currentDay?B:O,W=E?this.formatDate(W,L,this._getFormatConfig(t)):W,E=t.inline?\"\":\"\",E=N?\"
    \"+(A?E:\"\")+(this._isInRange(t,L)?\"\":\"\")+(A?\"\":E)+\"
    \":\"\",n=parseInt(this._get(t,\"firstDay\"),10),n=isNaN(n)?0:n,o=this._get(t,\"showWeek\"),a=this._get(t,\"dayNames\"),r=this._get(t,\"dayNamesMin\"),h=this._get(t,\"monthNames\"),l=this._get(t,\"monthNamesShort\"),c=this._get(t,\"beforeShowDay\"),u=this._get(t,\"showOtherMonths\"),d=this._get(t,\"selectOtherMonths\"),p=this._getDefaultDate(t),f=\"\",m=0;m\"}for(y+=\"
    \"+(/all|left/.test(x)&&0===m?A?s:i:\"\")+(/all|right/.test(x)&&0===m?A?i:s:\"\")+this._generateMonthYearHeader(t,q,K,Y,j,0\",w=o?\"\":\"\",g=0;g<7;g++)w+=\"\";for(y+=w+\"\",C=this._getDaysInMonth(K,q),K===t.selectedYear&&q===t.selectedMonth&&(t.selectedDay=Math.min(t.selectedDay,C)),x=(this._getFirstDayOfMonth(K,q)-n+7)%7,C=Math.ceil((x+C)/7),D=R&&this.maxRows>C?this.maxRows:C,this.maxRows=D,I=this._daylightSavingAdjust(new Date(K,q,1-x)),P=0;P\",T=o?\"\":\"\",g=0;g<7;g++)M=c?c.apply(t.input?t.input[0]:null,[I]):[!0,\"\"],H=(S=I.getMonth()!==q)&&!d||!M[0]||Y&&I\"+(S&&!u?\" \":H?\"\"+I.getDate()+\"\":\"\"+I.getDate()+\"\")+\"\",I.setDate(I.getDate()+1),I=this._daylightSavingAdjust(I);y+=T+\"\"}11<++q&&(q=0,K++),_+=y+=\"
    \"+this._get(t,\"weekHeader\")+\"\"+r[k]+\"
    \"+this._get(t,\"calculateWeek\")(I)+\"
    \"+(R?\"
    \"+(0
    \":\"\"):\"\")}f+=_}return f+=E,t._keyEvent=!1,f},_generateMonthYearHeader:function(t,e,i,s,n,o,a,r){var h,l,c,u,d,p,f,g=this._get(t,\"changeMonth\"),m=this._get(t,\"changeYear\"),_=this._get(t,\"showMonthAfterYear\"),v=\"
    \",b=\"\";if(o||!g)b+=\"\"+a[e]+\"\";else{for(h=s&&s.getFullYear()===i,l=n&&n.getFullYear()===i,b+=\"\"}if(_||(v+=b+(!o&&g&&m?\"\":\" \")),!t.yearshtml)if(t.yearshtml=\"\",o||!m)v+=\"\"+i+\"\";else{for(u=this._get(t,\"yearRange\").split(\":\"),d=(new Date).getFullYear(),p=(a=function(t){t=t.match(/c[+\\-].*/)?i+parseInt(t.substring(1),10):t.match(/[+\\-].*/)?d+parseInt(t,10):parseInt(t,10);return isNaN(t)?d:t})(u[0]),f=Math.max(p,a(u[1]||\"\")),p=s?Math.max(p,s.getFullYear()):p,f=n?Math.min(f,n.getFullYear()):f,t.yearshtml+=\"\",v+=t.yearshtml,t.yearshtml=null}return v+=this._get(t,\"yearSuffix\"),_&&(v+=(!o&&g&&m?\"\":\" \")+b),v+=\"
    \"},_adjustInstDate:function(t,e,i){var s=t.selectedYear+(\"Y\"===i?e:0),n=t.selectedMonth+(\"M\"===i?e:0),e=Math.min(t.selectedDay,this._getDaysInMonth(s,n))+(\"D\"===i?e:0),e=this._restrictMinMax(t,this._daylightSavingAdjust(new Date(s,n,e)));t.selectedDay=e.getDate(),t.drawMonth=t.selectedMonth=e.getMonth(),t.drawYear=t.selectedYear=e.getFullYear(),\"M\"!==i&&\"Y\"!==i||this._notifyChange(t)},_restrictMinMax:function(t,e){var i=this._getMinMaxDate(t,\"min\"),t=this._getMinMaxDate(t,\"max\"),e=i&&e=i.getTime())&&(!s||e.getTime()<=s.getTime())&&(!n||e.getFullYear()>=n)&&(!o||e.getFullYear()<=o)},_getFormatConfig:function(t){var e=this._get(t,\"shortYearCutoff\");return{shortYearCutoff:e=\"string\"!=typeof e?e:(new Date).getFullYear()%100+parseInt(e,10),dayNamesShort:this._get(t,\"dayNamesShort\"),dayNames:this._get(t,\"dayNames\"),monthNamesShort:this._get(t,\"monthNamesShort\"),monthNames:this._get(t,\"monthNames\")}},_formatDate:function(t,e,i,s){e||(t.currentDay=t.selectedDay,t.currentMonth=t.selectedMonth,t.currentYear=t.selectedYear);e=e?\"object\"==typeof e?e:this._daylightSavingAdjust(new Date(s,i,e)):this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return this.formatDate(this._get(t,\"dateFormat\"),e,this._getFormatConfig(t))}}),k.fn.datepicker=function(t){if(!this.length)return this;k.datepicker.initialized||(k(document).on(\"mousedown\",k.datepicker._checkExternalClick),k.datepicker.initialized=!0),0===k(\"#\"+k.datepicker._mainDivId).length&&k(\"body\").append(k.datepicker.dpDiv);var e=Array.prototype.slice.call(arguments,1);return\"string\"==typeof t&&(\"isDisabled\"===t||\"getDate\"===t||\"widget\"===t)||\"option\"===t&&2===arguments.length&&\"string\"==typeof arguments[1]?k.datepicker[\"_\"+t+\"Datepicker\"].apply(k.datepicker,[this[0]].concat(e)):this.each(function(){\"string\"==typeof t?k.datepicker[\"_\"+t+\"Datepicker\"].apply(k.datepicker,[this].concat(e)):k.datepicker._attachDatepicker(this,t)})},k.datepicker=new v,k.datepicker.initialized=!1,k.datepicker.uuid=(new Date).getTime(),k.datepicker.version=\"1.12.1\";k.datepicker;k.widget(\"ui.dialog\",{version:\"1.12.1\",options:{appendTo:\"body\",autoOpen:!0,buttons:[],classes:{\"ui-dialog\":\"ui-corner-all\",\"ui-dialog-titlebar\":\"ui-corner-all\"},closeOnEscape:!0,closeText:\"Close\",draggable:!0,hide:null,height:\"auto\",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:\"center\",at:\"center\",of:window,collision:\"fit\",using:function(t){var e=k(this).css(t).offset().top;e<0&&k(this).css(\"top\",t.top-e)}},resizable:!0,show:null,title:null,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr(\"title\"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr(\"title\").appendTo(this.uiDialog),this._addClass(\"ui-dialog-content\",\"ui-widget-content\"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&k.fn.draggable&&this._makeDraggable(),this.options.resizable&&k.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var t=this.options.appendTo;return t&&(t.jquery||t.nodeType)?k(t):this.document.find(t||\"body\").eq(0)},_destroy:function(){var t,e=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr(\"title\",this.originalTitle),(t=e.parent.children().eq(e.index)).length&&t[0]!==this.element[0]?t.before(this.element):e.parent.append(this.element)},widget:function(){return this.uiDialog},disable:k.noop,enable:k.noop,close:function(t){var e=this;this._isOpen&&!1!==this._trigger(\"beforeClose\",t)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(\":focusable\").trigger(\"focus\").length||k.ui.safeBlur(k.ui.safeActiveElement(this.document[0])),this._hide(this.uiDialog,this.options.hide,function(){e._trigger(\"close\",t)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(t,e){var i=!1,s=this.uiDialog.siblings(\".ui-front:visible\").map(function(){return+k(this).css(\"z-index\")}).get(),s=Math.max.apply(null,s);return s>=+this.uiDialog.css(\"z-index\")&&(this.uiDialog.css(\"z-index\",s+1),i=!0),i&&!e&&this._trigger(\"focus\",t),i},open:function(){var t=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=k(k.ui.safeActiveElement(this.document[0])),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css(\"z-index\",this.uiDialog.css(\"z-index\")-1),this._show(this.uiDialog,this.options.show,function(){t._focusTabbable(),t._trigger(\"focus\")}),this._makeFocusTarget(),this._trigger(\"open\"))},_focusTabbable:function(){var t=this._focusedElement;(t=t||this.element.find(\"[autofocus]\")).length||(t=this.element.find(\":tabbable\")),t.length||(t=this.uiDialogButtonPane.find(\":tabbable\")),t.length||(t=this.uiDialogTitlebarClose.filter(\":tabbable\")),t.length||(t=this.uiDialog),t.eq(0).trigger(\"focus\")},_keepFocus:function(t){function e(){var t=k.ui.safeActiveElement(this.document[0]);this.uiDialog[0]===t||k.contains(this.uiDialog[0],t)||this._focusTabbable()}t.preventDefault(),e.call(this),this._delay(e)},_createWrapper:function(){this.uiDialog=k(\"
    \").hide().attr({tabIndex:-1,role:\"dialog\"}).appendTo(this._appendTo()),this._addClass(this.uiDialog,\"ui-dialog\",\"ui-widget ui-widget-content ui-front\"),this._on(this.uiDialog,{keydown:function(t){if(this.options.closeOnEscape&&!t.isDefaultPrevented()&&t.keyCode&&t.keyCode===k.ui.keyCode.ESCAPE)return t.preventDefault(),void this.close(t);var e,i,s;t.keyCode!==k.ui.keyCode.TAB||t.isDefaultPrevented()||(e=this.uiDialog.find(\":tabbable\"),i=e.filter(\":first\"),s=e.filter(\":last\"),t.target!==s[0]&&t.target!==this.uiDialog[0]||t.shiftKey?t.target!==i[0]&&t.target!==this.uiDialog[0]||!t.shiftKey||(this._delay(function(){s.trigger(\"focus\")}),t.preventDefault()):(this._delay(function(){i.trigger(\"focus\")}),t.preventDefault()))},mousedown:function(t){this._moveToTop(t)&&this._focusTabbable()}}),this.element.find(\"[aria-describedby]\").length||this.uiDialog.attr({\"aria-describedby\":this.element.uniqueId().attr(\"id\")})},_createTitlebar:function(){var t;this.uiDialogTitlebar=k(\"
    \"),this._addClass(this.uiDialogTitlebar,\"ui-dialog-titlebar\",\"ui-widget-header ui-helper-clearfix\"),this._on(this.uiDialogTitlebar,{mousedown:function(t){k(t.target).closest(\".ui-dialog-titlebar-close\")||this.uiDialog.trigger(\"focus\")}}),this.uiDialogTitlebarClose=k(\"\").button({label:k(\"\").text(this.options.closeText).html(),icon:\"ui-icon-closethick\",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,\"ui-dialog-titlebar-close\"),this._on(this.uiDialogTitlebarClose,{click:function(t){t.preventDefault(),this.close(t)}}),t=k(\"\").uniqueId().prependTo(this.uiDialogTitlebar),this._addClass(t,\"ui-dialog-title\"),this._title(t),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({\"aria-labelledby\":t.attr(\"id\")})},_title:function(t){this.options.title?t.text(this.options.title):t.html(\" \")},_createButtonPane:function(){this.uiDialogButtonPane=k(\"
    \"),this._addClass(this.uiDialogButtonPane,\"ui-dialog-buttonpane\",\"ui-widget-content ui-helper-clearfix\"),this.uiButtonSet=k(\"
    \").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,\"ui-dialog-buttonset\"),this._createButtons()},_createButtons:function(){var s=this,t=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),k.isEmptyObject(t)||k.isArray(t)&&!t.length?this._removeClass(this.uiDialog,\"ui-dialog-buttons\"):(k.each(t,function(t,e){var i;e=k.isFunction(e)?{click:e,text:t}:e,e=k.extend({type:\"button\"},e),i=e.click,t={icon:e.icon,iconPosition:e.iconPosition,showLabel:e.showLabel,icons:e.icons,text:e.text},delete e.click,delete e.icon,delete e.iconPosition,delete e.showLabel,delete e.icons,\"boolean\"==typeof e.text&&delete e.text,k(\"\",e).button(t).appendTo(s.uiButtonSet).on(\"click\",function(){i.apply(s.element[0],arguments)})}),this._addClass(this.uiDialog,\"ui-dialog-buttons\"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var n=this,o=this.options;function a(t){return{position:t.position,offset:t.offset}}this.uiDialog.draggable({cancel:\".ui-dialog-content, .ui-dialog-titlebar-close\",handle:\".ui-dialog-titlebar\",containment:\"document\",start:function(t,e){n._addClass(k(this),\"ui-dialog-dragging\"),n._blockFrames(),n._trigger(\"dragStart\",t,a(e))},drag:function(t,e){n._trigger(\"drag\",t,a(e))},stop:function(t,e){var i=e.offset.left-n.document.scrollLeft(),s=e.offset.top-n.document.scrollTop();o.position={my:\"left top\",at:\"left\"+(0<=i?\"+\":\"\")+i+\" top\"+(0<=s?\"+\":\"\")+s,of:n.window},n._removeClass(k(this),\"ui-dialog-dragging\"),n._unblockFrames(),n._trigger(\"dragStop\",t,a(e))}})},_makeResizable:function(){var n=this,o=this.options,t=o.resizable,e=this.uiDialog.css(\"position\"),t=\"string\"==typeof t?t:\"n,e,s,w,se,sw,ne,nw\";function a(t){return{originalPosition:t.originalPosition,originalSize:t.originalSize,position:t.position,size:t.size}}this.uiDialog.resizable({cancel:\".ui-dialog-content\",containment:\"document\",alsoResize:this.element,maxWidth:o.maxWidth,maxHeight:o.maxHeight,minWidth:o.minWidth,minHeight:this._minHeight(),handles:t,start:function(t,e){n._addClass(k(this),\"ui-dialog-resizing\"),n._blockFrames(),n._trigger(\"resizeStart\",t,a(e))},resize:function(t,e){n._trigger(\"resize\",t,a(e))},stop:function(t,e){var i=n.uiDialog.offset(),s=i.left-n.document.scrollLeft(),i=i.top-n.document.scrollTop();o.height=n.uiDialog.height(),o.width=n.uiDialog.width(),o.position={my:\"left top\",at:\"left\"+(0<=s?\"+\":\"\")+s+\" top\"+(0<=i?\"+\":\"\")+i,of:n.window},n._removeClass(k(this),\"ui-dialog-resizing\"),n._unblockFrames(),n._trigger(\"resizeStop\",t,a(e))}}).css(\"position\",e)},_trackFocus:function(){this._on(this.widget(),{focusin:function(t){this._makeFocusTarget(),this._focusedElement=k(t.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var t=this._trackingInstances(),e=k.inArray(this,t);-1!==e&&t.splice(e,1)},_trackingInstances:function(){var t=this.document.data(\"ui-dialog-instances\");return t||(t=[],this.document.data(\"ui-dialog-instances\",t)),t},_minHeight:function(){var t=this.options;return\"auto\"===t.height?t.minHeight:Math.min(t.minHeight,t.height)},_position:function(){var t=this.uiDialog.is(\":visible\");t||this.uiDialog.show(),this.uiDialog.position(this.options.position),t||this.uiDialog.hide()},_setOptions:function(t){var i=this,s=!1,n={};k.each(t,function(t,e){i._setOption(t,e),t in i.sizeRelatedOptions&&(s=!0),t in i.resizableRelatedOptions&&(n[t]=e)}),s&&(this._size(),this._position()),this.uiDialog.is(\":data(ui-resizable)\")&&this.uiDialog.resizable(\"option\",n)},_setOption:function(t,e){var i,s=this.uiDialog;\"disabled\"!==t&&(this._super(t,e),\"appendTo\"===t&&this.uiDialog.appendTo(this._appendTo()),\"buttons\"===t&&this._createButtons(),\"closeText\"===t&&this.uiDialogTitlebarClose.button({label:k(\"\").text(\"\"+this.options.closeText).html()}),\"draggable\"===t&&((i=s.is(\":data(ui-draggable)\"))&&!e&&s.draggable(\"destroy\"),!i&&e&&this._makeDraggable()),\"position\"===t&&this._position(),\"resizable\"===t&&((i=s.is(\":data(ui-resizable)\"))&&!e&&s.resizable(\"destroy\"),i&&\"string\"==typeof e&&s.resizable(\"option\",\"handles\",e),i||!1===e||this._makeResizable()),\"title\"===t&&this._title(this.uiDialogTitlebar.find(\".ui-dialog-title\")))},_size:function(){var t,e,i,s=this.options;this.element.show().css({width:\"auto\",minHeight:0,maxHeight:\"none\",height:0}),s.minWidth>s.width&&(s.width=s.minWidth),t=this.uiDialog.css({height:\"auto\",width:s.width}).outerHeight(),e=Math.max(0,s.minHeight-t),i=\"number\"==typeof s.maxHeight?Math.max(0,s.maxHeight-t):\"none\",\"auto\"===s.height?this.element.css({minHeight:e,maxHeight:i,height:\"auto\"}):this.element.height(Math.max(0,s.height-t)),this.uiDialog.is(\":data(ui-resizable)\")&&this.uiDialog.resizable(\"option\",\"minHeight\",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find(\"iframe\").map(function(){var t=k(this);return k(\"
    \").css({position:\"absolute\",width:t.outerWidth(),height:t.outerHeight()}).appendTo(t.parent()).offset(t.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(t){return!!k(t.target).closest(\".ui-dialog\").length||!!k(t.target).closest(\".ui-datepicker\").length},_createOverlay:function(){var e;this.options.modal&&(e=!0,this._delay(function(){e=!1}),this.document.data(\"ui-dialog-overlays\")||this._on(this.document,{focusin:function(t){e||this._allowInteraction(t)||(t.preventDefault(),this._trackingInstances()[0]._focusTabbable())}}),this.overlay=k(\"
    \").appendTo(this._appendTo()),this._addClass(this.overlay,null,\"ui-widget-overlay ui-front\"),this._on(this.overlay,{mousedown:\"_keepFocus\"}),this.document.data(\"ui-dialog-overlays\",(this.document.data(\"ui-dialog-overlays\")||0)+1))},_destroyOverlay:function(){var t;this.options.modal&&this.overlay&&((t=this.document.data(\"ui-dialog-overlays\")-1)?this.document.data(\"ui-dialog-overlays\",t):(this._off(this.document,\"focusin\"),this.document.removeData(\"ui-dialog-overlays\")),this.overlay.remove(),this.overlay=null)}}),!1!==k.uiBackCompat&&k.widget(\"ui.dialog\",k.ui.dialog,{options:{dialogClass:\"\"},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){\"dialogClass\"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});k.ui.dialog,k.widget(\"ui.progressbar\",{version:\"1.12.1\",options:{classes:{\"ui-progressbar\":\"ui-corner-all\",\"ui-progressbar-value\":\"ui-corner-left\",\"ui-progressbar-complete\":\"ui-corner-right\"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:\"progressbar\",\"aria-valuemin\":this.min}),this._addClass(\"ui-progressbar\",\"ui-widget ui-widget-content\"),this.valueDiv=k(\"
    \").appendTo(this.element),this._addClass(this.valueDiv,\"ui-progressbar-value\",\"ui-widget-header\"),this._refreshValue()},_destroy:function(){this.element.removeAttr(\"role aria-valuemin aria-valuemax aria-valuenow\"),this.valueDiv.remove()},value:function(t){if(void 0===t)return this.options.value;this.options.value=this._constrainedValue(t),this._refreshValue()},_constrainedValue:function(t){return void 0===t&&(t=this.options.value),this.indeterminate=!1===t,\"number\"!=typeof t&&(t=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,t))},_setOptions:function(t){var e=t.value;delete t.value,this._super(t),this.options.value=this._constrainedValue(e),this._refreshValue()},_setOption:function(t,e){\"max\"===t&&(e=Math.max(this.min,e)),this._super(t,e)},_setOptionDisabled:function(t){this._super(t),this.element.attr(\"aria-disabled\",t),this._toggleClass(null,\"ui-state-disabled\",!!t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,e=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).width(e.toFixed(0)+\"%\"),this._toggleClass(this.valueDiv,\"ui-progressbar-complete\",null,t===this.options.max)._toggleClass(\"ui-progressbar-indeterminate\",null,this.indeterminate),this.indeterminate?(this.element.removeAttr(\"aria-valuenow\"),this.overlayDiv||(this.overlayDiv=k(\"
    \").appendTo(this.valueDiv),this._addClass(this.overlayDiv,\"ui-progressbar-overlay\"))):(this.element.attr({\"aria-valuemax\":this.options.max,\"aria-valuenow\":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger(\"change\")),t===this.options.max&&this._trigger(\"complete\")}}),k.widget(\"ui.selectmenu\",[k.ui.formResetMixin,{version:\"1.12.1\",defaultElement:\"\",widgetEventPrefix:\"spin\",options:{classes:{\"ui-spinner\":\"ui-corner-all\",\"ui-spinner-down\":\"ui-corner-br\",\"ui-spinner-up\":\"ui-corner-tr\"},culture:null,icons:{down:\"ui-icon-triangle-1-s\",up:\"ui-icon-triangle-1-n\"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption(\"max\",this.options.max),this._setOption(\"min\",this.options.min),this._setOption(\"step\",this.options.step),\"\"!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr(\"autocomplete\")}})},_getCreateOptions:function(){var s=this._super(),n=this.element;return k.each([\"min\",\"max\",\"step\"],function(t,e){var i=n.attr(e);null!=i&&i.length&&(s[e]=i)}),s},_events:{keydown:function(t){this._start(t)&&this._keydown(t)&&t.preventDefault()},keyup:\"_stop\",focus:function(){this.previous=this.element.val()},blur:function(t){this.cancelBlur?delete this.cancelBlur:(this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger(\"change\",t))},mousewheel:function(t,e){if(e){if(!this.spinning&&!this._start(t))return!1;this._spin((0\").parent().append(\"\")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,\"ui-spinner\",\"ui-widget ui-widget-content\"),this._addClass(\"ui-spinner-input\"),this.element.attr(\"role\",\"spinbutton\"),this.buttons=this.uiSpinner.children(\"a\").attr(\"tabIndex\",-1).attr(\"aria-hidden\",!0).button({classes:{\"ui-button\":\"\"}}),this._removeClass(this.buttons,\"ui-corner-all\"),this._addClass(this.buttons.first(),\"ui-spinner-button ui-spinner-up\"),this._addClass(this.buttons.last(),\"ui-spinner-button ui-spinner-down\"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0e.max?e.max:null!==e.min&&t\"},_buttonHtml:function(){return\"\"}});var M;k.ui.spinner;k.widget(\"ui.tabs\",{version:\"1.12.1\",delay:300,options:{active:null,classes:{\"ui-tabs\":\"ui-corner-all\",\"ui-tabs-nav\":\"ui-corner-all\",\"ui-tabs-panel\":\"ui-corner-bottom\",\"ui-tabs-tab\":\"ui-corner-top\"},collapsible:!1,event:\"click\",heightStyle:\"content\",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:(M=/#.*$/,function(t){var e=t.href.replace(M,\"\"),i=location.href.replace(M,\"\");try{e=decodeURIComponent(e)}catch(t){}try{i=decodeURIComponent(i)}catch(t){}return 1?@\\[\\]\\^`{|}~]/g,\"\\\\$&\"):\"\"},refresh:function(){var t=this.options,e=this.tablist.children(\":has(a[href])\");t.disabled=k.map(e.filter(\".ui-state-disabled\"),function(t){return e.index(t)}),this._processTabs(),!1!==t.active&&this.anchors.length?this.active.length&&!k.contains(this.tablist[0],this.active[0])?this.tabs.length===t.disabled.length?(t.active=!1,this.active=k()):this._activate(this._findNextTab(Math.max(0,t.active-1),!1)):t.active=this.tabs.index(this.active):(t.active=!1,this.active=k()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({\"aria-selected\":\"false\",\"aria-expanded\":\"false\",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({\"aria-hidden\":\"true\"}),this.active.length?(this.active.attr({\"aria-selected\":\"true\",\"aria-expanded\":\"true\",tabIndex:0}),this._addClass(this.active,\"ui-tabs-active\",\"ui-state-active\"),this._getPanelForTab(this.active).show().attr({\"aria-hidden\":\"false\"})):this.tabs.eq(0).attr(\"tabIndex\",0)},_processTabs:function(){var h=this,t=this.tabs,e=this.anchors,i=this.panels;this.tablist=this._getList().attr(\"role\",\"tablist\"),this._addClass(this.tablist,\"ui-tabs-nav\",\"ui-helper-reset ui-helper-clearfix ui-widget-header\"),this.tablist.on(\"mousedown\"+this.eventNamespace,\"> li\",function(t){k(this).is(\".ui-state-disabled\")&&t.preventDefault()}).on(\"focus\"+this.eventNamespace,\".ui-tabs-anchor\",function(){k(this).closest(\"li\").is(\".ui-state-disabled\")&&this.blur()}),this.tabs=this.tablist.find(\"> li:has(a[href])\").attr({role:\"tab\",tabIndex:-1}),this._addClass(this.tabs,\"ui-tabs-tab\",\"ui-state-default\"),this.anchors=this.tabs.map(function(){return k(\"a\",this)[0]}).attr({role:\"presentation\",tabIndex:-1}),this._addClass(this.anchors,\"ui-tabs-anchor\"),this.panels=k(),this.anchors.each(function(t,e){var i,s,n,o=k(e).uniqueId().attr(\"id\"),a=k(e).closest(\"li\"),r=a.attr(\"aria-controls\");h._isLocal(e)?(n=(i=e.hash).substring(1),s=h.element.find(h._sanitizeSelector(i))):(i=\"#\"+(n=a.attr(\"aria-controls\")||k({}).uniqueId()[0].id),(s=h.element.find(i)).length||(s=h._createPanel(n)).insertAfter(h.panels[t-1]||h.tablist),s.attr(\"aria-live\",\"polite\")),s.length&&(h.panels=h.panels.add(s)),r&&a.data(\"ui-tabs-aria-controls\",r),a.attr({\"aria-controls\":n,\"aria-labelledby\":o}),s.attr(\"aria-labelledby\",o)}),this.panels.attr(\"role\",\"tabpanel\"),this._addClass(this.panels,\"ui-tabs-panel\",\"ui-widget-content\"),t&&(this._off(t.not(this.tabs)),this._off(e.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find(\"ol, ul\").eq(0)},_createPanel:function(t){return k(\"
    \").attr(\"id\",t).data(\"ui-tabs-destroy\",!0)},_setOptionDisabled:function(t){var e,i;for(k.isArray(t)&&(t.length?t.length===this.anchors.length&&(t=!0):t=!1),i=0;e=this.tabs[i];i++)e=k(e),!0===t||-1!==k.inArray(i,t)?(e.attr(\"aria-disabled\",\"true\"),this._addClass(e,null,\"ui-state-disabled\")):(e.removeAttr(\"aria-disabled\"),this._removeClass(e,null,\"ui-state-disabled\"));this.options.disabled=t,this._toggleClass(this.widget(),this.widgetFullName+\"-disabled\",null,!0===t)},_setupEvents:function(t){var i={};t&&k.each(t.split(\" \"),function(t,e){i[e]=\"_eventHandler\"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(t){t.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:\"_tabKeydown\"}),this._on(this.panels,{keydown:\"_panelKeydown\"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(t){var i,e=this.element.parent();\"fill\"===t?(i=e.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(\":visible\").each(function(){var t=k(this),e=t.css(\"position\");\"absolute\"!==e&&\"fixed\"!==e&&(i-=t.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=k(this).outerHeight(!0)}),this.panels.each(function(){k(this).height(Math.max(0,i-k(this).innerHeight()+k(this).height()))}).css(\"overflow\",\"auto\")):\"auto\"===t&&(i=0,this.panels.each(function(){i=Math.max(i,k(this).height(\"\").height())}).height(i))},_eventHandler:function(t){var e=this.options,i=this.active,s=k(t.currentTarget).closest(\"li\"),n=s[0]===i[0],o=n&&e.collapsible,a=o?k():this._getPanelForTab(s),r=i.length?this._getPanelForTab(i):k(),i={oldTab:i,oldPanel:r,newTab:o?k():s,newPanel:a};t.preventDefault(),s.hasClass(\"ui-state-disabled\")||s.hasClass(\"ui-tabs-loading\")||this.running||n&&!e.collapsible||!1===this._trigger(\"beforeActivate\",t,i)||(e.active=!o&&this.tabs.index(s),this.active=n?k():s,this.xhr&&this.xhr.abort(),r.length||a.length||k.error(\"jQuery UI Tabs: Mismatching fragment identifier.\"),a.length&&this.load(this.tabs.index(s),t),this._toggle(t,i))},_toggle:function(t,e){var i=this,s=e.newPanel,n=e.oldPanel;function o(){i.running=!1,i._trigger(\"activate\",t,e)}function a(){i._addClass(e.newTab.closest(\"li\"),\"ui-tabs-active\",\"ui-state-active\"),s.length&&i.options.show?i._show(s,i.options.show,o):(s.show(),o())}this.running=!0,n.length&&this.options.hide?this._hide(n,this.options.hide,function(){i._removeClass(e.oldTab.closest(\"li\"),\"ui-tabs-active\",\"ui-state-active\"),a()}):(this._removeClass(e.oldTab.closest(\"li\"),\"ui-tabs-active\",\"ui-state-active\"),n.hide(),a()),n.attr(\"aria-hidden\",\"true\"),e.oldTab.attr({\"aria-selected\":\"false\",\"aria-expanded\":\"false\"}),s.length&&n.length?e.oldTab.attr(\"tabIndex\",-1):s.length&&this.tabs.filter(function(){return 0===k(this).attr(\"tabIndex\")}).attr(\"tabIndex\",-1),s.attr(\"aria-hidden\",\"false\"),e.newTab.attr({\"aria-selected\":\"true\",\"aria-expanded\":\"true\",tabIndex:0})},_activate:function(t){var t=this._findActive(t);t[0]!==this.active[0]&&(t.length||(t=this.active),t=t.find(\".ui-tabs-anchor\")[0],this._eventHandler({target:t,currentTarget:t,preventDefault:k.noop}))},_findActive:function(t){return!1===t?k():this.tabs.eq(t)},_getIndex:function(t){return\"string\"==typeof t&&(t=this.anchors.index(this.anchors.filter(\"[href$='\"+k.ui.escapeSelector(t)+\"']\"))),t},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr(\"role\").off(this.eventNamespace),this.anchors.removeAttr(\"role tabIndex\").removeUniqueId(),this.tabs.add(this.panels).each(function(){k.data(this,\"ui-tabs-destroy\")?k(this).remove():k(this).removeAttr(\"role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded\")}),this.tabs.each(function(){var t=k(this),e=t.data(\"ui-tabs-aria-controls\");e?t.attr(\"aria-controls\",e).removeData(\"ui-tabs-aria-controls\"):t.removeAttr(\"aria-controls\")}),this.panels.show(),\"content\"!==this.options.heightStyle&&this.panels.css(\"height\",\"\")},enable:function(i){var t=this.options.disabled;!1!==t&&(t=void 0!==i&&(i=this._getIndex(i),k.isArray(t)?k.map(t,function(t){return t!==i?t:null}):k.map(this.tabs,function(t,e){return e!==i?e:null})),this._setOptionDisabled(t))},disable:function(t){var e=this.options.disabled;if(!0!==e){if(void 0===t)e=!0;else{if(t=this._getIndex(t),-1!==k.inArray(t,e))return;e=k.isArray(e)?k.merge([t],e).sort():[t]}this._setOptionDisabled(e)}},load:function(t,s){t=this._getIndex(t);function n(t,e){\"abort\"===e&&o.panels.stop(!1,!0),o._removeClass(i,\"ui-tabs-loading\"),a.removeAttr(\"aria-busy\"),t===o.xhr&&delete o.xhr}var o=this,i=this.tabs.eq(t),t=i.find(\".ui-tabs-anchor\"),a=this._getPanelForTab(i),r={tab:i,panel:a};this._isLocal(t[0])||(this.xhr=k.ajax(this._ajaxSettings(t,s,r)),this.xhr&&\"canceled\"!==this.xhr.statusText&&(this._addClass(i,\"ui-tabs-loading\"),a.attr(\"aria-busy\",\"true\"),this.xhr.done(function(t,e,i){setTimeout(function(){a.html(t),o._trigger(\"load\",s,r),n(i,e)},1)}).fail(function(t,e){setTimeout(function(){n(t,e)},1)})))},_ajaxSettings:function(t,i,s){var n=this;return{url:t.attr(\"href\").replace(/#.*$/,\"\"),beforeSend:function(t,e){return n._trigger(\"beforeLoad\",i,k.extend({jqXHR:t,ajaxSettings:e},s))}}},_getPanelForTab:function(t){t=k(t).attr(\"aria-controls\");return this.element.find(this._sanitizeSelector(\"#\"+t))}}),!1!==k.uiBackCompat&&k.widget(\"ui.tabs\",k.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,\"ui-tab\")}});k.ui.tabs;var S,H,z,O,A,N,W,E,F,L,R,B,Y,j,q,K,U,V,$,X,G=\"ui-effects-\",Q=\"ui-effects-style\",J=\"ui-effects-animated\",Z=k;function tt(t,e,i){var s=E[e.type]||{};return null==t?i||!e.def?null:e.def:(t=s.floor?~~t:parseFloat(t),isNaN(t)?e.def:s.mod?(t+s.mod)%s.mod:t<0?0:s.max\")[0],L=S.each,rt.style.cssText=\"background-color:rgba(1,1,1,.5)\",F.rgba=-1
    \").addClass(\"ui-effects-wrapper\").css({fontSize:\"100%\",background:\"transparent\",border:\"none\",margin:0,padding:0}),e={width:i.width(),height:i.height()},n=document.activeElement;try{n.id}catch(t){n=document.body}return i.wrap(t),i[0]!==n&&!k.contains(i[0],n)||k(n).trigger(\"focus\"),t=i.parent(),\"static\"===i.css(\"position\")?(t.css({position:\"relative\"}),i.css({position:\"relative\"})):(k.extend(s,{position:i.css(\"position\"),zIndex:i.css(\"z-index\")}),k.each([\"top\",\"left\",\"bottom\",\"right\"],function(t,e){s[e]=i.css(e),isNaN(parseInt(s[e],10))&&(s[e]=\"auto\")}),i.css({position:\"relative\",top:0,left:0,right:\"auto\",bottom:\"auto\"})),i.css(e),t.css(s).show()},removeWrapper:function(t){var e=document.activeElement;return t.parent().is(\".ui-effects-wrapper\")&&(t.parent().replaceWith(t),t[0]!==e&&!k.contains(t[0],e)||k(e).trigger(\"focus\")),t}}),k.extend(k.effects,{version:\"1.12.1\",define:function(t,e,i){return i||(i=e,e=\"effect\"),k.effects.effect[t]=i,k.effects.effect[t].mode=e,i},scaledDimensions:function(t,e,i){if(0===e)return{height:0,width:0,outerHeight:0,outerWidth:0};var s=\"horizontal\"!==i?(e||100)/100:1,e=\"vertical\"!==i?(e||100)/100:1;return{height:t.height()*e,width:t.width()*s,outerHeight:t.outerHeight()*e,outerWidth:t.outerWidth()*s}},clipToBox:function(t){return{width:t.clip.right-t.clip.left,height:t.clip.bottom-t.clip.top,left:t.clip.left,top:t.clip.top}},unshift:function(t,e,i){var s=t.queue();1\").insertAfter(t).css({display:/^(inline|ruby)/.test(t.css(\"display\"))?\"inline-block\":\"block\",visibility:\"hidden\",marginTop:t.css(\"marginTop\"),marginBottom:t.css(\"marginBottom\"),marginLeft:t.css(\"marginLeft\"),marginRight:t.css(\"marginRight\"),float:t.css(\"float\")}).outerWidth(t.outerWidth()).outerHeight(t.outerHeight()).addClass(\"ui-effects-placeholder\"),t.data(G+\"placeholder\",e)),t.css({position:i,left:s.left,top:s.top}),e},removePlaceholder:function(t){var e=G+\"placeholder\",i=t.data(e);i&&(i.remove(),t.removeData(e))},cleanUp:function(t){k.effects.restoreStyle(t),k.effects.removePlaceholder(t)},setTransition:function(s,t,n,o){return o=o||{},k.each(t,function(t,e){var i=s.cssUnit(e);0
    \").appendTo(\"body\").addClass(t.className).css({top:s.top-a,left:s.left-r,height:i.innerHeight(),width:i.innerWidth(),position:n?\"fixed\":\"absolute\"}).animate(o,t.duration,t.easing,function(){h.remove(),k.isFunction(e)&&e()})}}),k.fx.step.clip=function(t){t.clipInit||(t.start=k(t.elem).cssClip(),\"string\"==typeof t.end&&(t.end=at(t.end,t.elem)),t.clipInit=!0),k(t.elem).cssClip({top:t.pos*(t.end.top-t.start.top)+t.start.top,right:t.pos*(t.end.right-t.start.right)+t.start.right,bottom:t.pos*(t.end.bottom-t.start.bottom)+t.start.bottom,left:t.pos*(t.end.left-t.start.left)+t.start.left})},X={},k.each([\"Quad\",\"Cubic\",\"Quart\",\"Quint\",\"Expo\"],function(e,t){X[t]=function(t){return Math.pow(t,e+2)}}),k.extend(X,{Sine:function(t){return 1-Math.cos(t*Math.PI/2)},Circ:function(t){return 1-Math.sqrt(1-t*t)},Elastic:function(t){return 0===t||1===t?t:-Math.pow(2,8*(t-1))*Math.sin((80*(t-1)-7.5)*Math.PI/15)},Back:function(t){return t*t*(3*t-2)},Bounce:function(t){for(var e,i=4;t<((e=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*e-2)/22-t,2)}}),k.each(X,function(t,e){k.easing[\"easeIn\"+t]=e,k.easing[\"easeOut\"+t]=function(t){return 1-e(1-t)},k.easing[\"easeInOut\"+t]=function(t){return t<.5?e(2*t)/2:1-e(-2*t+2)/2}});var rt=k.effects;k.effects.define(\"blind\",\"hide\",function(t,e){var i={up:[\"bottom\",\"top\"],vertical:[\"bottom\",\"top\"],down:[\"top\",\"bottom\"],left:[\"right\",\"left\"],horizontal:[\"right\",\"left\"],right:[\"left\",\"right\"]},s=k(this),n=t.direction||\"up\",o=s.cssClip(),a={clip:k.extend({},o)},r=k.effects.createPlaceholder(s);a.clip[i[n][0]]=a.clip[i[n][1]],\"show\"===t.mode&&(s.cssClip(a.clip),r&&r.css(k.effects.clipToBox(a)),a.clip=o),r&&r.animate(k.effects.clipToBox(a),t.duration,t.easing),s.animate(a,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),k.effects.define(\"bounce\",function(t,e){var i,s,n=k(this),o=t.mode,a=\"hide\"===o,r=\"show\"===o,h=t.direction||\"up\",l=t.distance,c=t.times||5,o=2*c+(r||a?1:0),u=t.duration/o,d=t.easing,p=\"up\"===h||\"down\"===h?\"top\":\"left\",f=\"up\"===h||\"left\"===h,g=0,t=n.queue().length;for(k.effects.createPlaceholder(n),h=n.css(p),l=l||n[\"top\"==p?\"outerHeight\":\"outerWidth\"]()/3,r&&((s={opacity:1})[p]=h,n.css(\"opacity\",0).css(p,f?2*-l:2*l).animate(s,u,d)),a&&(l/=Math.pow(2,c-1)),(s={})[p]=h;g
    \").css({position:\"absolute\",visibility:\"visible\",left:-s*p,top:-i*f}).parent().addClass(\"ui-effects-explode\").css({position:\"absolute\",overflow:\"hidden\",width:p,height:f,left:n+(u?a*p:0),top:o+(u?r*f:0),opacity:u?0:1}).animate({left:n+(u?0:a*p),top:o+(u?0:r*f),opacity:u?1:0},t.duration||500,t.easing,m)}),k.effects.define(\"fade\",\"toggle\",function(t,e){var i=\"show\"===t.mode;k(this).css(\"opacity\",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),k.effects.define(\"fold\",\"hide\",function(e,t){var i=k(this),s=e.mode,n=\"show\"===s,o=\"hide\"===s,a=e.size||15,r=/([0-9]+)%/.exec(a),h=!!e.horizFirst?[\"right\",\"bottom\"]:[\"bottom\",\"right\"],l=e.duration/2,c=k.effects.createPlaceholder(i),u=i.cssClip(),d={clip:k.extend({},u)},p={clip:k.extend({},u)},f=[u[h[0]],u[h[1]]],s=i.queue().length;r&&(a=parseInt(r[1],10)/100*f[o?0:1]),d.clip[h[0]]=a,p.clip[h[0]]=a,p.clip[h[1]]=0,n&&(i.cssClip(p.clip),c&&c.css(k.effects.clipToBox(p)),p.clip=u),i.queue(function(t){c&&c.animate(k.effects.clipToBox(d),l,e.easing).animate(k.effects.clipToBox(p),l,e.easing),t()}).animate(d,l,e.easing).animate(p,l,e.easing).queue(t),k.effects.unshift(i,s,4)}),k.effects.define(\"highlight\",\"show\",function(t,e){var i=k(this),s={backgroundColor:i.css(\"backgroundColor\")};\"hide\"===t.mode&&(s.opacity=0),k.effects.saveStyle(i),i.css({backgroundImage:\"none\",backgroundColor:t.color||\"#ffff99\"}).animate(s,{queue:!1,duration:t.duration,easing:t.easing,complete:e})}),k.effects.define(\"size\",function(s,e){var n,i=k(this),t=[\"fontSize\"],o=[\"borderTopWidth\",\"borderBottomWidth\",\"paddingTop\",\"paddingBottom\"],a=[\"borderLeftWidth\",\"borderRightWidth\",\"paddingLeft\",\"paddingRight\"],r=s.mode,h=\"effect\"!==r,l=s.scale||\"both\",c=s.origin||[\"middle\",\"center\"],u=i.css(\"position\"),d=i.position(),p=k.effects.scaledDimensions(i),f=s.from||p,g=s.to||k.effects.scaledDimensions(i,0);k.effects.createPlaceholder(i),\"show\"===r&&(r=f,f=g,g=r),n={from:{y:f.height/p.height,x:f.width/p.width},to:{y:g.height/p.height,x:g.width/p.width}},\"box\"!==l&&\"both\"!==l||(n.from.y!==n.to.y&&(f=k.effects.setTransition(i,o,n.from.y,f),g=k.effects.setTransition(i,o,n.to.y,g)),n.from.x!==n.to.x&&(f=k.effects.setTransition(i,a,n.from.x,f),g=k.effects.setTransition(i,a,n.to.x,g))),\"content\"!==l&&\"both\"!==l||n.from.y!==n.to.y&&(f=k.effects.setTransition(i,t,n.from.y,f),g=k.effects.setTransition(i,t,n.to.y,g)),c&&(c=k.effects.getBaseline(c,p),f.top=(p.outerHeight-f.outerHeight)*c.y+d.top,f.left=(p.outerWidth-f.outerWidth)*c.x+d.left,g.top=(p.outerHeight-g.outerHeight)*c.y+d.top,g.left=(p.outerWidth-g.outerWidth)*c.x+d.left),i.css(f),\"content\"!==l&&\"both\"!==l||(o=o.concat([\"marginTop\",\"marginBottom\"]).concat(t),a=a.concat([\"marginLeft\",\"marginRight\"]),i.find(\"*[width]\").each(function(){var t=k(this),e=k.effects.scaledDimensions(t),i={height:e.height*n.from.y,width:e.width*n.from.x,outerHeight:e.outerHeight*n.from.y,outerWidth:e.outerWidth*n.from.x},e={height:e.height*n.to.y,width:e.width*n.to.x,outerHeight:e.height*n.to.y,outerWidth:e.width*n.to.x};n.from.y!==n.to.y&&(i=k.effects.setTransition(t,o,n.from.y,i),e=k.effects.setTransition(t,o,n.to.y,e)),n.from.x!==n.to.x&&(i=k.effects.setTransition(t,a,n.from.x,i),e=k.effects.setTransition(t,a,n.to.x,e)),h&&k.effects.saveStyle(t),t.css(i),t.animate(e,s.duration,s.easing,function(){h&&k.effects.restoreStyle(t)})})),i.animate(g,{queue:!1,duration:s.duration,easing:s.easing,complete:function(){var t=i.offset();0===g.opacity&&i.css(\"opacity\",f.opacity),h||(i.css(\"position\",\"static\"===u?\"relative\":u).offset(t),k.effects.saveStyle(i)),e()}})}),k.effects.define(\"scale\",function(t,e){var i=k(this),s=t.mode,s=parseInt(t.percent,10)||(0===parseInt(t.percent,10)||\"effect\"!==s?0:100),s=k.extend(!0,{from:k.effects.scaledDimensions(i),to:k.effects.scaledDimensions(i,s,t.direction||\"both\"),origin:t.origin||[\"middle\",\"center\"]},t);t.fade&&(s.from.opacity=1,s.to.opacity=0),k.effects.effect.size.call(this,s,e)}),k.effects.define(\"puff\",\"hide\",function(t,e){t=k.extend(!0,{},t,{fade:!0,percent:parseInt(t.percent,10)||150});k.effects.effect.scale.call(this,t,e)}),k.effects.define(\"pulsate\",\"show\",function(t,e){var i=k(this),s=t.mode,n=\"show\"===s,s=n||\"hide\"===s,o=2*(t.times||5)+(s?1:0),a=t.duration/o,r=0,h=1,s=i.queue().length;for(!n&&i.is(\":visible\")||(i.css(\"opacity\",0).show(),r=1);h=0;o--)u(e(n[o]),t)}function u(t,n,o){var s=!(!o||!o.force)&&o.force;return!(!t||!s&&0!==e(\":focus\",t).length)&&(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){h(t)}}),!0)}function d(t){return v=e(\"
    \").attr(\"id\",t.containerId).addClass(t.positionClass),v.appendTo(e(t.target)),v}function p(){return{tapToDismiss:!0,toastClass:\"toast\",containerId:\"toast-container\",debug:!1,showMethod:\"fadeIn\",showDuration:300,showEasing:\"swing\",onShown:void 0,hideMethod:\"fadeOut\",hideDuration:1e3,hideEasing:\"swing\",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:\"toast-error\",info:\"toast-info\",success:\"toast-success\",warning:\"toast-warning\"},iconClass:\"toast-info\",positionClass:\"toast-top-right\",timeOut:5e3,titleClass:\"toast-title\",messageClass:\"toast-message\",escapeHtml:!1,target:\"body\",closeHtml:'',closeClass:\"toast-close-button\",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:\"toast-progress\",rtl:!1}}function f(e){C&&C(e)}function g(t){function o(e){return null==e&&(e=\"\"),e.replace(/&/g,\"&\").replace(/\"/g,\""\").replace(/'/g,\"'\").replace(//g,\">\")}function s(){c(),u(),d(),p(),g(),C(),l(),i()}function i(){var e=\"\";switch(t.iconClass){case\"toast-success\":case\"toast-info\":e=\"polite\";break;default:e=\"assertive\"}I.attr(\"aria-live\",e)}function a(){E.closeOnHover&&I.hover(H,D),!E.onclick&&E.tapToDismiss&&I.click(b),E.closeButton&&j&&j.click(function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&e.cancelBubble!==!0&&(e.cancelBubble=!0),E.onCloseClick&&E.onCloseClick(e),b(!0)}),E.onclick&&I.click(function(e){E.onclick(e),b()})}function r(){I.hide(),I[E.showMethod]({duration:E.showDuration,easing:E.showEasing,complete:E.onShown}),E.timeOut>0&&(k=setTimeout(b,E.timeOut),F.maxHideTime=parseFloat(E.timeOut),F.hideEta=(new Date).getTime()+F.maxHideTime,E.progressBar&&(F.intervalId=setInterval(x,10)))}function c(){t.iconClass&&I.addClass(E.toastClass).addClass(y)}function l(){E.newestOnTop?v.prepend(I):v.append(I)}function u(){if(t.title){var e=t.title;E.escapeHtml&&(e=o(t.title)),M.append(e).addClass(E.titleClass),I.append(M)}}function d(){if(t.message){var e=t.message;E.escapeHtml&&(e=o(t.message)),B.append(e).addClass(E.messageClass),I.append(B)}}function p(){E.closeButton&&(j.addClass(E.closeClass).attr(\"role\",\"button\"),I.prepend(j))}function g(){E.progressBar&&(q.addClass(E.progressClass),I.prepend(q))}function C(){E.rtl&&I.addClass(\"rtl\")}function O(e,t){if(e.preventDuplicates){if(t.message===w)return!0;w=t.message}return!1}function b(t){var n=t&&E.closeMethod!==!1?E.closeMethod:E.hideMethod,o=t&&E.closeDuration!==!1?E.closeDuration:E.hideDuration,s=t&&E.closeEasing!==!1?E.closeEasing:E.hideEasing;if(!e(\":focus\",I).length||t)return clearTimeout(F.intervalId),I[n]({duration:o,easing:s,complete:function(){h(I),clearTimeout(k),E.onHidden&&\"hidden\"!==P.state&&E.onHidden(),P.state=\"hidden\",P.endTime=new Date,f(P)}})}function D(){(E.timeOut>0||E.extendedTimeOut>0)&&(k=setTimeout(b,E.extendedTimeOut),F.maxHideTime=parseFloat(E.extendedTimeOut),F.hideEta=(new Date).getTime()+F.maxHideTime)}function H(){clearTimeout(k),F.hideEta=0,I.stop(!0,!0)[E.showMethod]({duration:E.showDuration,easing:E.showEasing})}function x(){var e=(F.hideEta-(new Date).getTime())/F.maxHideTime*100;q.width(e+\"%\")}var E=m(),y=t.iconClass||E.iconClass;if(\"undefined\"!=typeof t.optionsOverride&&(E=e.extend(E,t.optionsOverride),y=t.optionsOverride.iconClass||y),!O(E,t)){T++,v=n(E,!0);var k=null,I=e(\"
    \"),M=e(\"
    \"),B=e(\"
    \"),q=e(\"
    \"),j=e(E.closeHtml),F={intervalId:null,hideEta:null,maxHideTime:null},P={toastId:T,state:\"visible\",startTime:new Date,options:E,map:t};return s(),r(),a(),f(P),E.debug&&console&&console.log(P),I}}function m(){return e.extend({},p(),b.options)}function h(e){v||(v=n()),e.is(\":visible\")||(e.remove(),e=null,0===v.children().length&&(v.remove(),w=void 0))}var v,C,w,T=0,O={error:\"error\",info:\"info\",success:\"success\",warning:\"warning\"},b={clear:r,remove:c,error:t,getContainer:n,info:o,options:{},subscribe:s,success:i,version:\"2.1.4\",warning:a};return b}()})}(\"function\"==typeof define&&define.amd?define:function(e,t){\"undefined\"!=typeof module&&module.exports?module.exports=t(require(\"jquery\")):window.toastr=t(window.jQuery)});\r\n//# sourceMappingURL=toastr.js.map\r\n","/*!\r\n * jQuery Validation Plugin v1.17.0\r\n *\r\n * https://jqueryvalidation.org/\r\n *\r\n * Copyright (c) 2017 Jörn Zaefferer\r\n * Released under the MIT license\r\n */\r\n(function( factory ) {\r\n if ( typeof define === \"function\" && define.amd ) {\r\n define( [\"jquery\"], factory );\r\n } else if (typeof module === \"object\" && module.exports) {\r\n module.exports = factory( require( \"jquery\" ) );\r\n } else {\r\n factory( jQuery );\r\n }\r\n}(function( $ ) {\r\n\r\n $.extend( $.fn, {\r\n\r\n // https://jqueryvalidation.org/validate/\r\n validate: function( options ) {\r\n\r\n // If nothing is selected, return nothing; can't chain anyway\r\n if ( !this.length ) {\r\n if ( options && options.debug && window.console ) {\r\n console.warn( \"Nothing selected, can't validate, returning nothing.\" );\r\n }\r\n return;\r\n }\r\n\r\n // Check if a validator for this form was already created\r\n var validator = $.data( this[ 0 ], \"validator\" );\r\n if ( validator ) {\r\n return validator;\r\n }\r\n\r\n // Add novalidate tag if HTML5.\r\n this.attr( \"novalidate\", \"novalidate\" );\r\n\r\n validator = new $.validator( options, this[ 0 ] );\r\n $.data( this[ 0 ], \"validator\", validator );\r\n\r\n if ( validator.settings.onsubmit ) {\r\n\r\n this.on( \"click.validate\", \":submit\", function( event ) {\r\n\r\n // Track the used submit button to properly handle scripted\r\n // submits later.\r\n validator.submitButton = event.currentTarget;\r\n\r\n // Allow suppressing validation by adding a cancel class to the submit button\r\n if ( $( this ).hasClass( \"cancel\" ) ) {\r\n validator.cancelSubmit = true;\r\n }\r\n\r\n // Allow suppressing validation by adding the html5 formnovalidate attribute to the submit button\r\n if ( $( this ).attr( \"formnovalidate\" ) !== undefined ) {\r\n validator.cancelSubmit = true;\r\n }\r\n } );\r\n\r\n // Validate the form on submit\r\n this.on( \"submit.validate\", function( event ) {\r\n if ( validator.settings.debug ) {\r\n\r\n // Prevent form submit to be able to see console output\r\n event.preventDefault();\r\n }\r\n function handle() {\r\n var hidden, result;\r\n\r\n // Insert a hidden input as a replacement for the missing submit button\r\n // The hidden input is inserted in two cases:\r\n // - A user defined a `submitHandler`\r\n // - There was a pending request due to `remote` method and `stopRequest()`\r\n // was called to submit the form in case it's valid\r\n if ( validator.submitButton && ( validator.settings.submitHandler || validator.formSubmitted ) ) {\r\n hidden = $( \"\" )\r\n .attr( \"name\", validator.submitButton.name )\r\n .val( $( validator.submitButton ).val() )\r\n .appendTo( validator.currentForm );\r\n }\r\n\r\n if ( validator.settings.submitHandler ) {\r\n result = validator.settings.submitHandler.call( validator, validator.currentForm, event );\r\n if ( hidden ) {\r\n\r\n // And clean up afterwards; thanks to no-block-scope, hidden can be referenced\r\n hidden.remove();\r\n }\r\n if ( result !== undefined ) {\r\n return result;\r\n }\r\n return false;\r\n }\r\n return true;\r\n }\r\n\r\n // Prevent submit for invalid forms or custom submit handlers\r\n if ( validator.cancelSubmit ) {\r\n validator.cancelSubmit = false;\r\n return handle();\r\n }\r\n if ( validator.form() ) {\r\n if ( validator.pendingRequest ) {\r\n validator.formSubmitted = true;\r\n return false;\r\n }\r\n return handle();\r\n } else {\r\n validator.focusInvalid();\r\n return false;\r\n }\r\n } );\r\n }\r\n\r\n return validator;\r\n },\r\n\r\n // https://jqueryvalidation.org/valid/\r\n valid: function() {\r\n var valid, validator, errorList;\r\n\r\n if ( $( this[ 0 ] ).is( \"form\" ) ) {\r\n valid = this.validate().form();\r\n } else {\r\n errorList = [];\r\n valid = true;\r\n validator = $( this[ 0 ].form ).validate();\r\n this.each( function() {\r\n valid = validator.element( this ) && valid;\r\n if ( !valid ) {\r\n errorList = errorList.concat( validator.errorList );\r\n }\r\n } );\r\n validator.errorList = errorList;\r\n }\r\n return valid;\r\n },\r\n\r\n // https://jqueryvalidation.org/rules/\r\n rules: function( command, argument ) {\r\n var element = this[ 0 ],\r\n settings, staticRules, existingRules, data, param, filtered;\r\n\r\n // If nothing is selected, return empty object; can't chain anyway\r\n if ( element == null ) {\r\n return;\r\n }\r\n\r\n if ( !element.form && element.hasAttribute( \"contenteditable\" ) ) {\r\n element.form = this.closest( \"form\" )[ 0 ];\r\n element.name = this.attr( \"name\" );\r\n }\r\n\r\n if ( element.form == null ) {\r\n return;\r\n }\r\n\r\n if ( command ) {\r\n settings = $.data( element.form, \"validator\" ).settings;\r\n staticRules = settings.rules;\r\n existingRules = $.validator.staticRules( element );\r\n switch ( command ) {\r\n case \"add\":\r\n $.extend( existingRules, $.validator.normalizeRule( argument ) );\r\n\r\n // Remove messages from rules, but allow them to be set separately\r\n delete existingRules.messages;\r\n staticRules[ element.name ] = existingRules;\r\n if ( argument.messages ) {\r\n settings.messages[ element.name ] = $.extend( settings.messages[ element.name ], argument.messages );\r\n }\r\n break;\r\n case \"remove\":\r\n if ( !argument ) {\r\n delete staticRules[ element.name ];\r\n return existingRules;\r\n }\r\n filtered = {};\r\n $.each( argument.split( /\\s/ ), function( index, method ) {\r\n filtered[ method ] = existingRules[ method ];\r\n delete existingRules[ method ];\r\n } );\r\n return filtered;\r\n }\r\n }\r\n\r\n data = $.validator.normalizeRules(\r\n $.extend(\r\n {},\r\n $.validator.classRules( element ),\r\n $.validator.attributeRules( element ),\r\n $.validator.dataRules( element ),\r\n $.validator.staticRules( element )\r\n ), element );\r\n\r\n // Make sure required is at front\r\n if ( data.required ) {\r\n param = data.required;\r\n delete data.required;\r\n data = $.extend( { required: param }, data );\r\n }\r\n\r\n // Make sure remote is at back\r\n if ( data.remote ) {\r\n param = data.remote;\r\n delete data.remote;\r\n data = $.extend( data, { remote: param } );\r\n }\r\n\r\n return data;\r\n }\r\n } );\r\n\r\n// Custom selectors\r\n $.extend( $.expr.pseudos || $.expr[ \":\" ], {\t\t// '|| $.expr[ \":\" ]' here enables backwards compatibility to jQuery 1.7. Can be removed when dropping jQ 1.7.x support\r\n\r\n // https://jqueryvalidation.org/blank-selector/\r\n blank: function( a ) {\r\n return !$.trim( \"\" + $( a ).val() );\r\n },\r\n\r\n // https://jqueryvalidation.org/filled-selector/\r\n filled: function( a ) {\r\n var val = $( a ).val();\r\n return val !== null && !!$.trim( \"\" + val );\r\n },\r\n\r\n // https://jqueryvalidation.org/unchecked-selector/\r\n unchecked: function( a ) {\r\n return !$( a ).prop( \"checked\" );\r\n }\r\n } );\r\n\r\n// Constructor for validator\r\n $.validator = function( options, form ) {\r\n this.settings = $.extend( true, {}, $.validator.defaults, options );\r\n this.currentForm = form;\r\n this.init();\r\n };\r\n\r\n// https://jqueryvalidation.org/jQuery.validator.format/\r\n $.validator.format = function( source, params ) {\r\n if ( arguments.length === 1 ) {\r\n return function() {\r\n var args = $.makeArray( arguments );\r\n args.unshift( source );\r\n return $.validator.format.apply( this, args );\r\n };\r\n }\r\n if ( params === undefined ) {\r\n return source;\r\n }\r\n if ( arguments.length > 2 && params.constructor !== Array ) {\r\n params = $.makeArray( arguments ).slice( 1 );\r\n }\r\n if ( params.constructor !== Array ) {\r\n params = [ params ];\r\n }\r\n $.each( params, function( i, n ) {\r\n source = source.replace( new RegExp( \"\\\\{\" + i + \"\\\\}\", \"g\" ), function() {\r\n return n;\r\n } );\r\n } );\r\n return source;\r\n };\r\n\r\n $.extend( $.validator, {\r\n\r\n defaults: {\r\n messages: {},\r\n groups: {},\r\n rules: {},\r\n errorClass: \"error\",\r\n pendingClass: \"pending\",\r\n validClass: \"valid\",\r\n errorElement: \"label\",\r\n focusCleanup: false,\r\n focusInvalid: true,\r\n errorContainer: $( [] ),\r\n errorLabelContainer: $( [] ),\r\n onsubmit: true,\r\n ignore: \":hidden\",\r\n ignoreTitle: false,\r\n onfocusin: function( element ) {\r\n this.lastActive = element;\r\n\r\n // Hide error label and remove error class on focus if enabled\r\n if ( this.settings.focusCleanup ) {\r\n if ( this.settings.unhighlight ) {\r\n this.settings.unhighlight.call( this, element, this.settings.errorClass, this.settings.validClass );\r\n }\r\n this.hideThese( this.errorsFor( element ) );\r\n }\r\n },\r\n onfocusout: function( element ) {\r\n if ( !this.checkable( element ) && ( element.name in this.submitted || !this.optional( element ) ) ) {\r\n this.element( element );\r\n }\r\n },\r\n onkeyup: function( element, event ) {\r\n\r\n // Avoid revalidate the field when pressing one of the following keys\r\n // Shift => 16\r\n // Ctrl => 17\r\n // Alt => 18\r\n // Caps lock => 20\r\n // End => 35\r\n // Home => 36\r\n // Left arrow => 37\r\n // Up arrow => 38\r\n // Right arrow => 39\r\n // Down arrow => 40\r\n // Insert => 45\r\n // Num lock => 144\r\n // AltGr key => 225\r\n var excludedKeys = [\r\n 16, 17, 18, 20, 35, 36, 37,\r\n 38, 39, 40, 45, 144, 225\r\n ];\r\n\r\n if ( event.which === 9 && this.elementValue( element ) === \"\" || $.inArray( event.keyCode, excludedKeys ) !== -1 ) {\r\n return;\r\n } else if ( element.name in this.submitted || element.name in this.invalid ) {\r\n this.element( element );\r\n }\r\n },\r\n onclick: function( element ) {\r\n\r\n // Click on selects, radiobuttons and checkboxes\r\n if ( element.name in this.submitted ) {\r\n this.element( element );\r\n\r\n // Or option elements, check parent select in that case\r\n } else if ( element.parentNode.name in this.submitted ) {\r\n this.element( element.parentNode );\r\n }\r\n },\r\n highlight: function( element, errorClass, validClass ) {\r\n if ( element.type === \"radio\" ) {\r\n this.findByName( element.name ).addClass( errorClass ).removeClass( validClass );\r\n } else {\r\n $( element ).addClass( errorClass ).removeClass( validClass );\r\n }\r\n },\r\n unhighlight: function( element, errorClass, validClass ) {\r\n if ( element.type === \"radio\" ) {\r\n this.findByName( element.name ).removeClass( errorClass ).addClass( validClass );\r\n } else {\r\n $( element ).removeClass( errorClass ).addClass( validClass );\r\n }\r\n }\r\n },\r\n\r\n // https://jqueryvalidation.org/jQuery.validator.setDefaults/\r\n setDefaults: function( settings ) {\r\n $.extend( $.validator.defaults, settings );\r\n },\r\n\r\n messages: {\r\n required: \"This field is required.\",\r\n remote: \"Please fix this field.\",\r\n email: \"Please enter a valid email address.\",\r\n url: \"Please enter a valid URL.\",\r\n date: \"Please enter a valid date.\",\r\n dateISO: \"Please enter a valid date (ISO).\",\r\n number: \"Please enter a valid number.\",\r\n digits: \"Please enter only digits.\",\r\n equalTo: \"Please enter the same value again.\",\r\n maxlength: $.validator.format( \"Please enter no more than {0} characters.\" ),\r\n minlength: $.validator.format( \"Please enter at least {0} characters.\" ),\r\n rangelength: $.validator.format( \"Please enter a value between {0} and {1} characters long.\" ),\r\n range: $.validator.format( \"Please enter a value between {0} and {1}.\" ),\r\n max: $.validator.format( \"Please enter a value less than or equal to {0}.\" ),\r\n min: $.validator.format( \"Please enter a value greater than or equal to {0}.\" ),\r\n step: $.validator.format( \"Please enter a multiple of {0}.\" )\r\n },\r\n\r\n autoCreateRanges: false,\r\n\r\n prototype: {\r\n\r\n init: function() {\r\n this.labelContainer = $( this.settings.errorLabelContainer );\r\n this.errorContext = this.labelContainer.length && this.labelContainer || $( this.currentForm );\r\n this.containers = $( this.settings.errorContainer ).add( this.settings.errorLabelContainer );\r\n this.submitted = {};\r\n this.valueCache = {};\r\n this.pendingRequest = 0;\r\n this.pending = {};\r\n this.invalid = {};\r\n this.reset();\r\n\r\n var groups = ( this.groups = {} ),\r\n rules;\r\n $.each( this.settings.groups, function( key, value ) {\r\n if ( typeof value === \"string\" ) {\r\n value = value.split( /\\s/ );\r\n }\r\n $.each( value, function( index, name ) {\r\n groups[ name ] = key;\r\n } );\r\n } );\r\n rules = this.settings.rules;\r\n $.each( rules, function( key, value ) {\r\n rules[ key ] = $.validator.normalizeRule( value );\r\n } );\r\n\r\n function delegate( event ) {\r\n\r\n // Set form expando on contenteditable\r\n if ( !this.form && this.hasAttribute( \"contenteditable\" ) ) {\r\n this.form = $( this ).closest( \"form\" )[ 0 ];\r\n this.name = $( this ).attr( \"name\" );\r\n }\r\n\r\n var validator = $.data( this.form, \"validator\" ),\r\n eventType = \"on\" + event.type.replace( /^validate/, \"\" ),\r\n settings = validator.settings;\r\n if ( settings[ eventType ] && !$( this ).is( settings.ignore ) ) {\r\n settings[ eventType ].call( validator, this, event );\r\n }\r\n }\r\n\r\n $( this.currentForm )\r\n .on( \"focusin.validate focusout.validate keyup.validate\",\r\n \":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'], \" +\r\n \"[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], \" +\r\n \"[type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'], \" +\r\n \"[type='radio'], [type='checkbox'], [contenteditable], [type='button']\", delegate )\r\n\r\n // Support: Chrome, oldIE\r\n // \"select\" is provided as event.target when clicking a option\r\n .on( \"click.validate\", \"select, option, [type='radio'], [type='checkbox']\", delegate );\r\n\r\n if ( this.settings.invalidHandler ) {\r\n $( this.currentForm ).on( \"invalid-form.validate\", this.settings.invalidHandler );\r\n }\r\n },\r\n\r\n // https://jqueryvalidation.org/Validator.form/\r\n form: function() {\r\n this.checkForm();\r\n $.extend( this.submitted, this.errorMap );\r\n this.invalid = $.extend( {}, this.errorMap );\r\n if ( !this.valid() ) {\r\n $( this.currentForm ).triggerHandler( \"invalid-form\", [ this ] );\r\n }\r\n this.showErrors();\r\n return this.valid();\r\n },\r\n\r\n checkForm: function() {\r\n this.prepareForm();\r\n for ( var i = 0, elements = ( this.currentElements = this.elements() ); elements[ i ]; i++ ) {\r\n this.check( elements[ i ] );\r\n }\r\n return this.valid();\r\n },\r\n\r\n // https://jqueryvalidation.org/Validator.element/\r\n element: function( element ) {\r\n var cleanElement = this.clean( element ),\r\n checkElement = this.validationTargetFor( cleanElement ),\r\n v = this,\r\n result = true,\r\n rs, group;\r\n\r\n if ( checkElement === undefined ) {\r\n delete this.invalid[ cleanElement.name ];\r\n } else {\r\n this.prepareElement( checkElement );\r\n this.currentElements = $( checkElement );\r\n\r\n // If this element is grouped, then validate all group elements already\r\n // containing a value\r\n group = this.groups[ checkElement.name ];\r\n if ( group ) {\r\n $.each( this.groups, function( name, testgroup ) {\r\n if ( testgroup === group && name !== checkElement.name ) {\r\n cleanElement = v.validationTargetFor( v.clean( v.findByName( name ) ) );\r\n if ( cleanElement && cleanElement.name in v.invalid ) {\r\n v.currentElements.push( cleanElement );\r\n result = v.check( cleanElement ) && result;\r\n }\r\n }\r\n } );\r\n }\r\n\r\n rs = this.check( checkElement ) !== false;\r\n result = result && rs;\r\n if ( rs ) {\r\n this.invalid[ checkElement.name ] = false;\r\n } else {\r\n this.invalid[ checkElement.name ] = true;\r\n }\r\n\r\n if ( !this.numberOfInvalids() ) {\r\n\r\n // Hide error containers on last error\r\n this.toHide = this.toHide.add( this.containers );\r\n }\r\n this.showErrors();\r\n\r\n // Add aria-invalid status for screen readers\r\n $( element ).attr( \"aria-invalid\", !rs );\r\n }\r\n\r\n return result;\r\n },\r\n\r\n // https://jqueryvalidation.org/Validator.showErrors/\r\n showErrors: function( errors ) {\r\n if ( errors ) {\r\n var validator = this;\r\n\r\n // Add items to error list and map\r\n $.extend( this.errorMap, errors );\r\n this.errorList = $.map( this.errorMap, function( message, name ) {\r\n return {\r\n message: message,\r\n element: validator.findByName( name )[ 0 ]\r\n };\r\n } );\r\n\r\n // Remove items from success list\r\n this.successList = $.grep( this.successList, function( element ) {\r\n return !( element.name in errors );\r\n } );\r\n }\r\n if ( this.settings.showErrors ) {\r\n this.settings.showErrors.call( this, this.errorMap, this.errorList );\r\n } else {\r\n this.defaultShowErrors();\r\n }\r\n },\r\n\r\n // https://jqueryvalidation.org/Validator.resetForm/\r\n resetForm: function() {\r\n if ( $.fn.resetForm ) {\r\n $( this.currentForm ).resetForm();\r\n }\r\n this.invalid = {};\r\n this.submitted = {};\r\n this.prepareForm();\r\n this.hideErrors();\r\n var elements = this.elements()\r\n .removeData( \"previousValue\" )\r\n .removeAttr( \"aria-invalid\" );\r\n\r\n this.resetElements( elements );\r\n },\r\n\r\n resetElements: function( elements ) {\r\n var i;\r\n\r\n if ( this.settings.unhighlight ) {\r\n for ( i = 0; elements[ i ]; i++ ) {\r\n this.settings.unhighlight.call( this, elements[ i ],\r\n this.settings.errorClass, \"\" );\r\n this.findByName( elements[ i ].name ).removeClass( this.settings.validClass );\r\n }\r\n } else {\r\n elements\r\n .removeClass( this.settings.errorClass )\r\n .removeClass( this.settings.validClass );\r\n }\r\n },\r\n\r\n numberOfInvalids: function() {\r\n return this.objectLength( this.invalid );\r\n },\r\n\r\n objectLength: function( obj ) {\r\n /* jshint unused: false */\r\n var count = 0,\r\n i;\r\n for ( i in obj ) {\r\n\r\n // This check allows counting elements with empty error\r\n // message as invalid elements\r\n if ( obj[ i ] !== undefined && obj[ i ] !== null && obj[ i ] !== false ) {\r\n count++;\r\n }\r\n }\r\n return count;\r\n },\r\n\r\n hideErrors: function() {\r\n this.hideThese( this.toHide );\r\n },\r\n\r\n hideThese: function( errors ) {\r\n errors.not( this.containers ).text( \"\" );\r\n this.addWrapper( errors ).hide();\r\n },\r\n\r\n valid: function() {\r\n return this.size() === 0;\r\n },\r\n\r\n size: function() {\r\n return this.errorList.length;\r\n },\r\n\r\n focusInvalid: function() {\r\n if ( this.settings.focusInvalid ) {\r\n try {\r\n $( this.findLastActive() || this.errorList.length && this.errorList[ 0 ].element || [] )\r\n .filter( \":visible\" )\r\n .focus()\r\n\r\n // Manually trigger focusin event; without it, focusin handler isn't called, findLastActive won't have anything to find\r\n .trigger( \"focusin\" );\r\n } catch ( e ) {\r\n\r\n // Ignore IE throwing errors when focusing hidden elements\r\n }\r\n }\r\n },\r\n\r\n findLastActive: function() {\r\n var lastActive = this.lastActive;\r\n return lastActive && $.grep( this.errorList, function( n ) {\r\n return n.element.name === lastActive.name;\r\n } ).length === 1 && lastActive;\r\n },\r\n\r\n elements: function() {\r\n var validator = this,\r\n rulesCache = {};\r\n\r\n // Select all valid inputs inside the form (no submit or reset buttons)\r\n return $( this.currentForm )\r\n .find( \"input, select, textarea, [contenteditable]\" )\r\n .not( \":submit, :reset, :image, :disabled\" )\r\n .not( this.settings.ignore )\r\n .filter( function() {\r\n var name = this.name || $( this ).attr( \"name\" ); // For contenteditable\r\n if ( !name && validator.settings.debug && window.console ) {\r\n console.error( \"%o has no name assigned\", this );\r\n }\r\n\r\n // Set form expando on contenteditable\r\n if ( this.hasAttribute( \"contenteditable\" ) ) {\r\n this.form = $( this ).closest( \"form\" )[ 0 ];\r\n this.name = name;\r\n }\r\n\r\n // Select only the first element for each name, and only those with rules specified\r\n if ( name in rulesCache || !validator.objectLength( $( this ).rules() ) ) {\r\n return false;\r\n }\r\n\r\n rulesCache[ name ] = true;\r\n return true;\r\n } );\r\n },\r\n\r\n clean: function( selector ) {\r\n return $( selector )[ 0 ];\r\n },\r\n\r\n errors: function() {\r\n var errorClass = this.settings.errorClass.split( \" \" ).join( \".\" );\r\n return $( this.settings.errorElement + \".\" + errorClass, this.errorContext );\r\n },\r\n\r\n resetInternals: function() {\r\n this.successList = [];\r\n this.errorList = [];\r\n this.errorMap = {};\r\n this.toShow = $( [] );\r\n this.toHide = $( [] );\r\n },\r\n\r\n reset: function() {\r\n this.resetInternals();\r\n this.currentElements = $( [] );\r\n },\r\n\r\n prepareForm: function() {\r\n this.reset();\r\n this.toHide = this.errors().add( this.containers );\r\n },\r\n\r\n prepareElement: function( element ) {\r\n this.reset();\r\n this.toHide = this.errorsFor( element );\r\n },\r\n\r\n elementValue: function( element ) {\r\n var $element = $( element ),\r\n type = element.type,\r\n val, idx;\r\n\r\n if ( type === \"radio\" || type === \"checkbox\" ) {\r\n return this.findByName( element.name ).filter( \":checked\" ).val();\r\n } else if ( type === \"number\" && typeof element.validity !== \"undefined\" ) {\r\n return element.validity.badInput ? \"NaN\" : $element.val();\r\n }\r\n\r\n if ( element.hasAttribute( \"contenteditable\" ) ) {\r\n val = $element.text();\r\n } else {\r\n val = $element.val();\r\n }\r\n\r\n if ( type === \"file\" ) {\r\n\r\n // Modern browser (chrome & safari)\r\n if ( val.substr( 0, 12 ) === \"C:\\\\fakepath\\\\\" ) {\r\n return val.substr( 12 );\r\n }\r\n\r\n // Legacy browsers\r\n // Unix-based path\r\n idx = val.lastIndexOf( \"/\" );\r\n if ( idx >= 0 ) {\r\n return val.substr( idx + 1 );\r\n }\r\n\r\n // Windows-based path\r\n idx = val.lastIndexOf( \"\\\\\" );\r\n if ( idx >= 0 ) {\r\n return val.substr( idx + 1 );\r\n }\r\n\r\n // Just the file name\r\n return val;\r\n }\r\n\r\n if ( typeof val === \"string\" ) {\r\n return val.replace( /\\r/g, \"\" );\r\n }\r\n return val;\r\n },\r\n\r\n check: function( element ) {\r\n element = this.validationTargetFor( this.clean( element ) );\r\n\r\n var rules = $( element ).rules(),\r\n rulesCount = $.map( rules, function( n, i ) {\r\n return i;\r\n } ).length,\r\n dependencyMismatch = false,\r\n val = this.elementValue( element ),\r\n result, method, rule, normalizer;\r\n\r\n // Prioritize the local normalizer defined for this element over the global one\r\n // if the former exists, otherwise user the global one in case it exists.\r\n if ( typeof rules.normalizer === \"function\" ) {\r\n normalizer = rules.normalizer;\r\n } else if (\ttypeof this.settings.normalizer === \"function\" ) {\r\n normalizer = this.settings.normalizer;\r\n }\r\n\r\n // If normalizer is defined, then call it to retreive the changed value instead\r\n // of using the real one.\r\n // Note that `this` in the normalizer is `element`.\r\n if ( normalizer ) {\r\n val = normalizer.call( element, val );\r\n\r\n if ( typeof val !== \"string\" ) {\r\n throw new TypeError( \"The normalizer should return a string value.\" );\r\n }\r\n\r\n // Delete the normalizer from rules to avoid treating it as a pre-defined method.\r\n delete rules.normalizer;\r\n }\r\n\r\n for ( method in rules ) {\r\n rule = { method: method, parameters: rules[ method ] };\r\n try {\r\n result = $.validator.methods[ method ].call( this, val, element, rule.parameters );\r\n\r\n // If a method indicates that the field is optional and therefore valid,\r\n // don't mark it as valid when there are no other rules\r\n if ( result === \"dependency-mismatch\" && rulesCount === 1 ) {\r\n dependencyMismatch = true;\r\n continue;\r\n }\r\n dependencyMismatch = false;\r\n\r\n if ( result === \"pending\" ) {\r\n this.toHide = this.toHide.not( this.errorsFor( element ) );\r\n return;\r\n }\r\n\r\n if ( !result ) {\r\n this.formatAndAdd( element, rule );\r\n return false;\r\n }\r\n } catch ( e ) {\r\n if ( this.settings.debug && window.console ) {\r\n console.log( \"Exception occurred when checking element \" + element.id + \", check the '\" + rule.method + \"' method.\", e );\r\n }\r\n if ( e instanceof TypeError ) {\r\n e.message += \". Exception occurred when checking element \" + element.id + \", check the '\" + rule.method + \"' method.\";\r\n }\r\n\r\n throw e;\r\n }\r\n }\r\n if ( dependencyMismatch ) {\r\n return;\r\n }\r\n if ( this.objectLength( rules ) ) {\r\n this.successList.push( element );\r\n }\r\n return true;\r\n },\r\n\r\n // Return the custom message for the given element and validation method\r\n // specified in the element's HTML5 data attribute\r\n // return the generic message if present and no method specific message is present\r\n customDataMessage: function( element, method ) {\r\n return $( element ).data( \"msg\" + method.charAt( 0 ).toUpperCase() +\r\n method.substring( 1 ).toLowerCase() ) || $( element ).data( \"msg\" );\r\n },\r\n\r\n // Return the custom message for the given element name and validation method\r\n customMessage: function( name, method ) {\r\n var m = this.settings.messages[ name ];\r\n return m && ( m.constructor === String ? m : m[ method ] );\r\n },\r\n\r\n // Return the first defined argument, allowing empty strings\r\n findDefined: function() {\r\n for ( var i = 0; i < arguments.length; i++ ) {\r\n if ( arguments[ i ] !== undefined ) {\r\n return arguments[ i ];\r\n }\r\n }\r\n return undefined;\r\n },\r\n\r\n // The second parameter 'rule' used to be a string, and extended to an object literal\r\n // of the following form:\r\n // rule = {\r\n // method: \"method name\",\r\n // parameters: \"the given method parameters\"\r\n // }\r\n //\r\n // The old behavior still supported, kept to maintain backward compatibility with\r\n // old code, and will be removed in the next major release.\r\n defaultMessage: function( element, rule ) {\r\n if ( typeof rule === \"string\" ) {\r\n rule = { method: rule };\r\n }\r\n\r\n var message = this.findDefined(\r\n this.customMessage( element.name, rule.method ),\r\n this.customDataMessage( element, rule.method ),\r\n\r\n // 'title' is never undefined, so handle empty string as undefined\r\n !this.settings.ignoreTitle && element.title || undefined,\r\n $.validator.messages[ rule.method ],\r\n \"Warning: No message defined for \" + element.name + \"\"\r\n ),\r\n theregex = /\\$?\\{(\\d+)\\}/g;\r\n if ( typeof message === \"function\" ) {\r\n message = message.call( this, rule.parameters, element );\r\n } else if ( theregex.test( message ) ) {\r\n message = $.validator.format( message.replace( theregex, \"{$1}\" ), rule.parameters );\r\n }\r\n\r\n return message;\r\n },\r\n\r\n formatAndAdd: function( element, rule ) {\r\n var message = this.defaultMessage( element, rule );\r\n\r\n this.errorList.push( {\r\n message: message,\r\n element: element,\r\n method: rule.method\r\n } );\r\n\r\n this.errorMap[ element.name ] = message;\r\n this.submitted[ element.name ] = message;\r\n },\r\n\r\n addWrapper: function( toToggle ) {\r\n if ( this.settings.wrapper ) {\r\n toToggle = toToggle.add( toToggle.parent( this.settings.wrapper ) );\r\n }\r\n return toToggle;\r\n },\r\n\r\n defaultShowErrors: function() {\r\n var i, elements, error;\r\n for ( i = 0; this.errorList[ i ]; i++ ) {\r\n error = this.errorList[ i ];\r\n if ( this.settings.highlight ) {\r\n this.settings.highlight.call( this, error.element, this.settings.errorClass, this.settings.validClass );\r\n }\r\n this.showLabel( error.element, error.message );\r\n }\r\n if ( this.errorList.length ) {\r\n this.toShow = this.toShow.add( this.containers );\r\n }\r\n if ( this.settings.success ) {\r\n for ( i = 0; this.successList[ i ]; i++ ) {\r\n this.showLabel( this.successList[ i ] );\r\n }\r\n }\r\n if ( this.settings.unhighlight ) {\r\n for ( i = 0, elements = this.validElements(); elements[ i ]; i++ ) {\r\n this.settings.unhighlight.call( this, elements[ i ], this.settings.errorClass, this.settings.validClass );\r\n }\r\n }\r\n this.toHide = this.toHide.not( this.toShow );\r\n this.hideErrors();\r\n this.addWrapper( this.toShow ).show();\r\n },\r\n\r\n validElements: function() {\r\n return this.currentElements.not( this.invalidElements() );\r\n },\r\n\r\n invalidElements: function() {\r\n return $( this.errorList ).map( function() {\r\n return this.element;\r\n } );\r\n },\r\n\r\n showLabel: function( element, message ) {\r\n var place, group, errorID, v,\r\n error = this.errorsFor( element ),\r\n elementID = this.idOrName( element ),\r\n describedBy = $( element ).attr( \"aria-describedby\" );\r\n\r\n if ( error.length ) {\r\n\r\n // Refresh error/success class\r\n error.removeClass( this.settings.validClass ).addClass( this.settings.errorClass );\r\n\r\n // Replace message on existing label\r\n error.html( message );\r\n } else {\r\n\r\n // Create error element\r\n error = $( \"<\" + this.settings.errorElement + \">\" )\r\n .attr( \"id\", elementID + \"-error\" )\r\n .addClass( this.settings.errorClass )\r\n .html( message || \"\" );\r\n\r\n // Maintain reference to the element to be placed into the DOM\r\n place = error;\r\n if ( this.settings.wrapper ) {\r\n\r\n // Make sure the element is visible, even in IE\r\n // actually showing the wrapped element is handled elsewhere\r\n place = error.hide().show().wrap( \"<\" + this.settings.wrapper + \"/>\" ).parent();\r\n }\r\n if ( this.labelContainer.length ) {\r\n this.labelContainer.append( place );\r\n } else if ( this.settings.errorPlacement ) {\r\n this.settings.errorPlacement.call( this, place, $( element ) );\r\n } else {\r\n place.insertAfter( element );\r\n }\r\n\r\n // Link error back to the element\r\n if ( error.is( \"label\" ) ) {\r\n\r\n // If the error is a label, then associate using 'for'\r\n error.attr( \"for\", elementID );\r\n\r\n // If the element is not a child of an associated label, then it's necessary\r\n // to explicitly apply aria-describedby\r\n } else if ( error.parents( \"label[for='\" + this.escapeCssMeta( elementID ) + \"']\" ).length === 0 ) {\r\n errorID = error.attr( \"id\" );\r\n\r\n // Respect existing non-error aria-describedby\r\n if ( !describedBy ) {\r\n describedBy = errorID;\r\n } else if ( !describedBy.match( new RegExp( \"\\\\b\" + this.escapeCssMeta( errorID ) + \"\\\\b\" ) ) ) {\r\n\r\n // Add to end of list if not already present\r\n describedBy += \" \" + errorID;\r\n }\r\n $( element ).attr( \"aria-describedby\", describedBy );\r\n\r\n // If this element is grouped, then assign to all elements in the same group\r\n group = this.groups[ element.name ];\r\n if ( group ) {\r\n v = this;\r\n $.each( v.groups, function( name, testgroup ) {\r\n if ( testgroup === group ) {\r\n $( \"[name='\" + v.escapeCssMeta( name ) + \"']\", v.currentForm )\r\n .attr( \"aria-describedby\", error.attr( \"id\" ) );\r\n }\r\n } );\r\n }\r\n }\r\n }\r\n if ( !message && this.settings.success ) {\r\n error.text( \"\" );\r\n if ( typeof this.settings.success === \"string\" ) {\r\n error.addClass( this.settings.success );\r\n } else {\r\n this.settings.success( error, element );\r\n }\r\n }\r\n this.toShow = this.toShow.add( error );\r\n },\r\n\r\n errorsFor: function( element ) {\r\n var name = this.escapeCssMeta( this.idOrName( element ) ),\r\n describer = $( element ).attr( \"aria-describedby\" ),\r\n selector = \"label[for='\" + name + \"'], label[for='\" + name + \"'] *\";\r\n\r\n // 'aria-describedby' should directly reference the error element\r\n if ( describer ) {\r\n selector = selector + \", #\" + this.escapeCssMeta( describer )\r\n .replace( /\\s+/g, \", #\" );\r\n }\r\n\r\n return this\r\n .errors()\r\n .filter( selector );\r\n },\r\n\r\n // See https://api.jquery.com/category/selectors/, for CSS\r\n // meta-characters that should be escaped in order to be used with JQuery\r\n // as a literal part of a name/id or any selector.\r\n escapeCssMeta: function( string ) {\r\n return string.replace( /([\\\\!\"#$%&'()*+,./:;<=>?@\\[\\]^`{|}~])/g, \"\\\\$1\" );\r\n },\r\n\r\n idOrName: function( element ) {\r\n return this.groups[ element.name ] || ( this.checkable( element ) ? element.name : element.id || element.name );\r\n },\r\n\r\n validationTargetFor: function( element ) {\r\n\r\n // If radio/checkbox, validate first element in group instead\r\n if ( this.checkable( element ) ) {\r\n element = this.findByName( element.name );\r\n }\r\n\r\n // Always apply ignore filter\r\n return $( element ).not( this.settings.ignore )[ 0 ];\r\n },\r\n\r\n checkable: function( element ) {\r\n return ( /radio|checkbox/i ).test( element.type );\r\n },\r\n\r\n findByName: function( name ) {\r\n return $( this.currentForm ).find( \"[name='\" + this.escapeCssMeta( name ) + \"']\" );\r\n },\r\n\r\n getLength: function( value, element ) {\r\n switch ( element.nodeName.toLowerCase() ) {\r\n case \"select\":\r\n return $( \"option:selected\", element ).length;\r\n case \"input\":\r\n if ( this.checkable( element ) ) {\r\n return this.findByName( element.name ).filter( \":checked\" ).length;\r\n }\r\n }\r\n return value.length;\r\n },\r\n\r\n depend: function( param, element ) {\r\n return this.dependTypes[ typeof param ] ? this.dependTypes[ typeof param ]( param, element ) : true;\r\n },\r\n\r\n dependTypes: {\r\n \"boolean\": function( param ) {\r\n return param;\r\n },\r\n \"string\": function( param, element ) {\r\n return !!$( param, element.form ).length;\r\n },\r\n \"function\": function( param, element ) {\r\n return param( element );\r\n }\r\n },\r\n\r\n optional: function( element ) {\r\n var val = this.elementValue( element );\r\n return !$.validator.methods.required.call( this, val, element ) && \"dependency-mismatch\";\r\n },\r\n\r\n startRequest: function( element ) {\r\n if ( !this.pending[ element.name ] ) {\r\n this.pendingRequest++;\r\n $( element ).addClass( this.settings.pendingClass );\r\n this.pending[ element.name ] = true;\r\n }\r\n },\r\n\r\n stopRequest: function( element, valid ) {\r\n this.pendingRequest--;\r\n\r\n // Sometimes synchronization fails, make sure pendingRequest is never < 0\r\n if ( this.pendingRequest < 0 ) {\r\n this.pendingRequest = 0;\r\n }\r\n delete this.pending[ element.name ];\r\n $( element ).removeClass( this.settings.pendingClass );\r\n if ( valid && this.pendingRequest === 0 && this.formSubmitted && this.form() ) {\r\n $( this.currentForm ).submit();\r\n\r\n // Remove the hidden input that was used as a replacement for the\r\n // missing submit button. The hidden input is added by `handle()`\r\n // to ensure that the value of the used submit button is passed on\r\n // for scripted submits triggered by this method\r\n if ( this.submitButton ) {\r\n $( \"input:hidden[name='\" + this.submitButton.name + \"']\", this.currentForm ).remove();\r\n }\r\n\r\n this.formSubmitted = false;\r\n } else if ( !valid && this.pendingRequest === 0 && this.formSubmitted ) {\r\n $( this.currentForm ).triggerHandler( \"invalid-form\", [ this ] );\r\n this.formSubmitted = false;\r\n }\r\n },\r\n\r\n previousValue: function( element, method ) {\r\n method = typeof method === \"string\" && method || \"remote\";\r\n\r\n return $.data( element, \"previousValue\" ) || $.data( element, \"previousValue\", {\r\n old: null,\r\n valid: true,\r\n message: this.defaultMessage( element, { method: method } )\r\n } );\r\n },\r\n\r\n // Cleans up all forms and elements, removes validator-specific events\r\n destroy: function() {\r\n this.resetForm();\r\n\r\n $( this.currentForm )\r\n .off( \".validate\" )\r\n .removeData( \"validator\" )\r\n .find( \".validate-equalTo-blur\" )\r\n .off( \".validate-equalTo\" )\r\n .removeClass( \"validate-equalTo-blur\" );\r\n }\r\n\r\n },\r\n\r\n classRuleSettings: {\r\n required: { required: true },\r\n email: { email: true },\r\n url: { url: true },\r\n date: { date: true },\r\n dateISO: { dateISO: true },\r\n number: { number: true },\r\n digits: { digits: true },\r\n creditcard: { creditcard: true }\r\n },\r\n\r\n addClassRules: function( className, rules ) {\r\n if ( className.constructor === String ) {\r\n this.classRuleSettings[ className ] = rules;\r\n } else {\r\n $.extend( this.classRuleSettings, className );\r\n }\r\n },\r\n\r\n classRules: function( element ) {\r\n var rules = {},\r\n classes = $( element ).attr( \"class\" );\r\n\r\n if ( classes ) {\r\n $.each( classes.split( \" \" ), function() {\r\n if ( this in $.validator.classRuleSettings ) {\r\n $.extend( rules, $.validator.classRuleSettings[ this ] );\r\n }\r\n } );\r\n }\r\n return rules;\r\n },\r\n\r\n normalizeAttributeRule: function( rules, type, method, value ) {\r\n\r\n // Convert the value to a number for number inputs, and for text for backwards compability\r\n // allows type=\"date\" and others to be compared as strings\r\n if ( /min|max|step/.test( method ) && ( type === null || /number|range|text/.test( type ) ) ) {\r\n value = Number( value );\r\n\r\n // Support Opera Mini, which returns NaN for undefined minlength\r\n if ( isNaN( value ) ) {\r\n value = undefined;\r\n }\r\n }\r\n\r\n if ( value || value === 0 ) {\r\n rules[ method ] = value;\r\n } else if ( type === method && type !== \"range\" ) {\r\n\r\n // Exception: the jquery validate 'range' method\r\n // does not test for the html5 'range' type\r\n rules[ method ] = true;\r\n }\r\n },\r\n\r\n attributeRules: function( element ) {\r\n var rules = {},\r\n $element = $( element ),\r\n type = element.getAttribute( \"type\" ),\r\n method, value;\r\n\r\n for ( method in $.validator.methods ) {\r\n\r\n // Support for in both html5 and older browsers\r\n if ( method === \"required\" ) {\r\n value = element.getAttribute( method );\r\n\r\n // Some browsers return an empty string for the required attribute\r\n // and non-HTML5 browsers might have required=\"\" markup\r\n if ( value === \"\" ) {\r\n value = true;\r\n }\r\n\r\n // Force non-HTML5 browsers to return bool\r\n value = !!value;\r\n } else {\r\n value = $element.attr( method );\r\n }\r\n\r\n this.normalizeAttributeRule( rules, type, method, value );\r\n }\r\n\r\n // 'maxlength' may be returned as -1, 2147483647 ( IE ) and 524288 ( safari ) for text inputs\r\n if ( rules.maxlength && /-1|2147483647|524288/.test( rules.maxlength ) ) {\r\n delete rules.maxlength;\r\n }\r\n\r\n return rules;\r\n },\r\n\r\n dataRules: function( element ) {\r\n var rules = {},\r\n $element = $( element ),\r\n type = element.getAttribute( \"type\" ),\r\n method, value;\r\n\r\n for ( method in $.validator.methods ) {\r\n value = $element.data( \"rule\" + method.charAt( 0 ).toUpperCase() + method.substring( 1 ).toLowerCase() );\r\n this.normalizeAttributeRule( rules, type, method, value );\r\n }\r\n return rules;\r\n },\r\n\r\n staticRules: function( element ) {\r\n var rules = {},\r\n validator = $.data( element.form, \"validator\" );\r\n\r\n if ( validator.settings.rules ) {\r\n rules = $.validator.normalizeRule( validator.settings.rules[ element.name ] ) || {};\r\n }\r\n return rules;\r\n },\r\n\r\n normalizeRules: function( rules, element ) {\r\n\r\n // Handle dependency check\r\n $.each( rules, function( prop, val ) {\r\n\r\n // Ignore rule when param is explicitly false, eg. required:false\r\n if ( val === false ) {\r\n delete rules[ prop ];\r\n return;\r\n }\r\n if ( val.param || val.depends ) {\r\n var keepRule = true;\r\n switch ( typeof val.depends ) {\r\n case \"string\":\r\n keepRule = !!$( val.depends, element.form ).length;\r\n break;\r\n case \"function\":\r\n keepRule = val.depends.call( element, element );\r\n break;\r\n }\r\n if ( keepRule ) {\r\n rules[ prop ] = val.param !== undefined ? val.param : true;\r\n } else {\r\n $.data( element.form, \"validator\" ).resetElements( $( element ) );\r\n delete rules[ prop ];\r\n }\r\n }\r\n } );\r\n\r\n // Evaluate parameters\r\n $.each( rules, function( rule, parameter ) {\r\n rules[ rule ] = $.isFunction( parameter ) && rule !== \"normalizer\" ? parameter( element ) : parameter;\r\n } );\r\n\r\n // Clean number parameters\r\n $.each( [ \"minlength\", \"maxlength\" ], function() {\r\n if ( rules[ this ] ) {\r\n rules[ this ] = Number( rules[ this ] );\r\n }\r\n } );\r\n $.each( [ \"rangelength\", \"range\" ], function() {\r\n var parts;\r\n if ( rules[ this ] ) {\r\n if ( $.isArray( rules[ this ] ) ) {\r\n rules[ this ] = [ Number( rules[ this ][ 0 ] ), Number( rules[ this ][ 1 ] ) ];\r\n } else if ( typeof rules[ this ] === \"string\" ) {\r\n parts = rules[ this ].replace( /[\\[\\]]/g, \"\" ).split( /[\\s,]+/ );\r\n rules[ this ] = [ Number( parts[ 0 ] ), Number( parts[ 1 ] ) ];\r\n }\r\n }\r\n } );\r\n\r\n if ( $.validator.autoCreateRanges ) {\r\n\r\n // Auto-create ranges\r\n if ( rules.min != null && rules.max != null ) {\r\n rules.range = [ rules.min, rules.max ];\r\n delete rules.min;\r\n delete rules.max;\r\n }\r\n if ( rules.minlength != null && rules.maxlength != null ) {\r\n rules.rangelength = [ rules.minlength, rules.maxlength ];\r\n delete rules.minlength;\r\n delete rules.maxlength;\r\n }\r\n }\r\n\r\n return rules;\r\n },\r\n\r\n // Converts a simple string to a {string: true} rule, e.g., \"required\" to {required:true}\r\n normalizeRule: function( data ) {\r\n if ( typeof data === \"string\" ) {\r\n var transformed = {};\r\n $.each( data.split( /\\s/ ), function() {\r\n transformed[ this ] = true;\r\n } );\r\n data = transformed;\r\n }\r\n return data;\r\n },\r\n\r\n // https://jqueryvalidation.org/jQuery.validator.addMethod/\r\n addMethod: function( name, method, message ) {\r\n $.validator.methods[ name ] = method;\r\n $.validator.messages[ name ] = message !== undefined ? message : $.validator.messages[ name ];\r\n if ( method.length < 3 ) {\r\n $.validator.addClassRules( name, $.validator.normalizeRule( name ) );\r\n }\r\n },\r\n\r\n // https://jqueryvalidation.org/jQuery.validator.methods/\r\n methods: {\r\n\r\n // https://jqueryvalidation.org/required-method/\r\n required: function( value, element, param ) {\r\n\r\n // Check if dependency is met\r\n if ( !this.depend( param, element ) ) {\r\n return \"dependency-mismatch\";\r\n }\r\n if ( element.nodeName.toLowerCase() === \"select\" ) {\r\n\r\n // Could be an array for select-multiple or a string, both are fine this way\r\n var val = $( element ).val();\r\n return val && val.length > 0;\r\n }\r\n if ( this.checkable( element ) ) {\r\n return this.getLength( value, element ) > 0;\r\n }\r\n return value.length > 0;\r\n },\r\n\r\n // https://jqueryvalidation.org/email-method/\r\n email: function( value, element ) {\r\n\r\n // From https://html.spec.whatwg.org/multipage/forms.html#valid-e-mail-address\r\n // Retrieved 2014-01-14\r\n // If you have a problem with this implementation, report a bug against the above spec\r\n // Or use custom methods to implement your own email validation\r\n return this.optional( element ) || /^[a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test( value );\r\n },\r\n\r\n // https://jqueryvalidation.org/url-method/\r\n url: function( value, element ) {\r\n\r\n // Copyright (c) 2010-2013 Diego Perini, MIT licensed\r\n // https://gist.github.com/dperini/729294\r\n // see also https://mathiasbynens.be/demo/url-regex\r\n // modified to allow protocol-relative URLs\r\n return this.optional( element ) || /^(?:(?:(?:https?|ftp):)?\\/\\/)(?:\\S+(?::\\S*)?@)?(?:(?!(?:10|127)(?:\\.\\d{1,3}){3})(?!(?:169\\.254|192\\.168)(?:\\.\\d{1,3}){2})(?!172\\.(?:1[6-9]|2\\d|3[0-1])(?:\\.\\d{1,3}){2})(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})).?)(?::\\d{2,5})?(?:[/?#]\\S*)?$/i.test( value );\r\n },\r\n\r\n // https://jqueryvalidation.org/date-method/\r\n date: function( value, element ) {\r\n return this.optional( element ) || !/Invalid|NaN/.test( new Date( value ).toString() );\r\n },\r\n\r\n // https://jqueryvalidation.org/dateISO-method/\r\n dateISO: function( value, element ) {\r\n return this.optional( element ) || /^\\d{4}[\\/\\-](0?[1-9]|1[012])[\\/\\-](0?[1-9]|[12][0-9]|3[01])$/.test( value );\r\n },\r\n\r\n // https://jqueryvalidation.org/number-method/\r\n number: function( value, element ) {\r\n return this.optional( element ) || /^(?:-?\\d+|-?\\d{1,3}(?:,\\d{3})+)?(?:\\.\\d+)?$/.test( value );\r\n },\r\n\r\n // https://jqueryvalidation.org/digits-method/\r\n digits: function( value, element ) {\r\n return this.optional( element ) || /^\\d+$/.test( value );\r\n },\r\n\r\n // https://jqueryvalidation.org/minlength-method/\r\n minlength: function( value, element, param ) {\r\n var length = $.isArray( value ) ? value.length : this.getLength( value, element );\r\n return this.optional( element ) || length >= param;\r\n },\r\n\r\n // https://jqueryvalidation.org/maxlength-method/\r\n maxlength: function( value, element, param ) {\r\n var length = $.isArray( value ) ? value.length : this.getLength( value, element );\r\n return this.optional( element ) || length <= param;\r\n },\r\n\r\n // https://jqueryvalidation.org/rangelength-method/\r\n rangelength: function( value, element, param ) {\r\n var length = $.isArray( value ) ? value.length : this.getLength( value, element );\r\n return this.optional( element ) || ( length >= param[ 0 ] && length <= param[ 1 ] );\r\n },\r\n\r\n // https://jqueryvalidation.org/min-method/\r\n min: function( value, element, param ) {\r\n return this.optional( element ) || value >= param;\r\n },\r\n\r\n // https://jqueryvalidation.org/max-method/\r\n max: function( value, element, param ) {\r\n return this.optional( element ) || value <= param;\r\n },\r\n\r\n // https://jqueryvalidation.org/range-method/\r\n range: function( value, element, param ) {\r\n return this.optional( element ) || ( value >= param[ 0 ] && value <= param[ 1 ] );\r\n },\r\n\r\n // https://jqueryvalidation.org/step-method/\r\n step: function( value, element, param ) {\r\n var type = $( element ).attr( \"type\" ),\r\n errorMessage = \"Step attribute on input type \" + type + \" is not supported.\",\r\n supportedTypes = [ \"text\", \"number\", \"range\" ],\r\n re = new RegExp( \"\\\\b\" + type + \"\\\\b\" ),\r\n notSupported = type && !re.test( supportedTypes.join() ),\r\n decimalPlaces = function( num ) {\r\n var match = ( \"\" + num ).match( /(?:\\.(\\d+))?$/ );\r\n if ( !match ) {\r\n return 0;\r\n }\r\n\r\n // Number of digits right of decimal point.\r\n return match[ 1 ] ? match[ 1 ].length : 0;\r\n },\r\n toInt = function( num ) {\r\n return Math.round( num * Math.pow( 10, decimals ) );\r\n },\r\n valid = true,\r\n decimals;\r\n\r\n // Works only for text, number and range input types\r\n // TODO find a way to support input types date, datetime, datetime-local, month, time and week\r\n if ( notSupported ) {\r\n throw new Error( errorMessage );\r\n }\r\n\r\n decimals = decimalPlaces( param );\r\n\r\n // Value can't have too many decimals\r\n if ( decimalPlaces( value ) > decimals || toInt( value ) % toInt( param ) !== 0 ) {\r\n valid = false;\r\n }\r\n\r\n return this.optional( element ) || valid;\r\n },\r\n\r\n // https://jqueryvalidation.org/equalTo-method/\r\n equalTo: function( value, element, param ) {\r\n\r\n // Bind to the blur event of the target in order to revalidate whenever the target field is updated\r\n var target = $( param );\r\n if ( this.settings.onfocusout && target.not( \".validate-equalTo-blur\" ).length ) {\r\n target.addClass( \"validate-equalTo-blur\" ).on( \"blur.validate-equalTo\", function() {\r\n $( element ).valid();\r\n } );\r\n }\r\n return value === target.val();\r\n },\r\n\r\n // https://jqueryvalidation.org/remote-method/\r\n remote: function( value, element, param, method ) {\r\n if ( this.optional( element ) ) {\r\n return \"dependency-mismatch\";\r\n }\r\n\r\n method = typeof method === \"string\" && method || \"remote\";\r\n\r\n var previous = this.previousValue( element, method ),\r\n validator, data, optionDataString;\r\n\r\n if ( !this.settings.messages[ element.name ] ) {\r\n this.settings.messages[ element.name ] = {};\r\n }\r\n previous.originalMessage = previous.originalMessage || this.settings.messages[ element.name ][ method ];\r\n this.settings.messages[ element.name ][ method ] = previous.message;\r\n\r\n param = typeof param === \"string\" && { url: param } || param;\r\n optionDataString = $.param( $.extend( { data: value }, param.data ) );\r\n if ( previous.old === optionDataString ) {\r\n return previous.valid;\r\n }\r\n\r\n previous.old = optionDataString;\r\n validator = this;\r\n this.startRequest( element );\r\n data = {};\r\n data[ element.name ] = value;\r\n $.ajax( $.extend( true, {\r\n mode: \"abort\",\r\n port: \"validate\" + element.name,\r\n dataType: \"json\",\r\n data: data,\r\n context: validator.currentForm,\r\n success: function( response ) {\r\n var valid = response === true || response === \"true\",\r\n errors, message, submitted;\r\n\r\n validator.settings.messages[ element.name ][ method ] = previous.originalMessage;\r\n if ( valid ) {\r\n submitted = validator.formSubmitted;\r\n validator.resetInternals();\r\n validator.toHide = validator.errorsFor( element );\r\n validator.formSubmitted = submitted;\r\n validator.successList.push( element );\r\n validator.invalid[ element.name ] = false;\r\n validator.showErrors();\r\n } else {\r\n errors = {};\r\n message = response || validator.defaultMessage( element, { method: method, parameters: value } );\r\n errors[ element.name ] = previous.message = message;\r\n validator.invalid[ element.name ] = true;\r\n validator.showErrors( errors );\r\n }\r\n previous.valid = valid;\r\n validator.stopRequest( element, valid );\r\n }\r\n }, param ) );\r\n return \"pending\";\r\n }\r\n }\r\n\r\n } );\r\n\r\n// Ajax mode: abort\r\n// usage: $.ajax({ mode: \"abort\"[, port: \"uniqueport\"]});\r\n// if mode:\"abort\" is used, the previous request on that port (port can be undefined) is aborted via XMLHttpRequest.abort()\r\n\r\n var pendingRequests = {},\r\n ajax;\r\n\r\n// Use a prefilter if available (1.5+)\r\n if ( $.ajaxPrefilter ) {\r\n $.ajaxPrefilter( function( settings, _, xhr ) {\r\n var port = settings.port;\r\n if ( settings.mode === \"abort\" ) {\r\n if ( pendingRequests[ port ] ) {\r\n pendingRequests[ port ].abort();\r\n }\r\n pendingRequests[ port ] = xhr;\r\n }\r\n } );\r\n } else {\r\n\r\n // Proxy ajax\r\n ajax = $.ajax;\r\n $.ajax = function( settings ) {\r\n var mode = ( \"mode\" in settings ? settings : $.ajaxSettings ).mode,\r\n port = ( \"port\" in settings ? settings : $.ajaxSettings ).port;\r\n if ( mode === \"abort\" ) {\r\n if ( pendingRequests[ port ] ) {\r\n pendingRequests[ port ].abort();\r\n }\r\n pendingRequests[ port ] = ajax.apply( this, arguments );\r\n return pendingRequests[ port ];\r\n }\r\n return ajax.apply( this, arguments );\r\n };\r\n }\r\n return $;\r\n}));","// jQuery Mask Plugin v1.14.16\r\n// github.com/igorescobar/jQuery-Mask-Plugin\r\nvar $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.findInternal=function(a,n,f){a instanceof String&&(a=String(a));for(var p=a.length,k=0;kg?h=10*d:e>=h&&e!==g?c.maskDigitPosMapOld[h]||(e=h,h=h-(k-l)-a,c.maskDigitPosMap[h]&&(h=e)):h>e&&(h=h+(l-k)+f)}return h},behaviour:function(d){d=\r\nd||window.event;c.invalid=[];var e=b.data(\"mask-keycode\");if(-1===a.inArray(e,l.byPassKeys)){e=c.getMasked();var h=c.getCaret(),g=b.data(\"mask-previus-value\")||\"\";setTimeout(function(){c.setCaret(c.calculateCaretPosition(g))},a.jMaskGlobals.keyStrokeCompensation);c.val(e);c.setCaret(h);return c.callbacks(d)}},getMasked:function(a,b){var h=[],f=void 0===b?c.val():b+\"\",g=0,k=d.length,n=0,p=f.length,m=1,r=\"push\",u=-1,w=0;b=[];if(e.reverse){r=\"unshift\";m=-1;var x=0;g=k-1;n=p-1;var A=function(){return-1<\r\ng&&-10&&(g=parseInt(g[1],10),g>=1&&g<8&&(d.isOldIOSPhone=!0))}var h=f.match(/Android\\s([0-9\\.]*)/),i=h?h[1]:0;i=parseFloat(i),i>=1&&(i<4.4&&(d.isOldAndroid=!0),d.androidVersion=i),d.isMobileOpera=/opera mini|opera mobi/i.test(f)}for(var j,k,l=[\"transform\",\"perspective\",\"animationName\"],m=[\"\",\"webkit\",\"Moz\",\"ms\",\"O\"],n=0;n<4;n++){c=m[n];for(var o=0;o<3;o++)j=l[o],k=c+(c?j.charAt(0).toUpperCase()+j.slice(1):j),!d[j]&&k in b&&(d[j]=k);c&&!d.raf&&(c=c.toLowerCase(),d.raf=window[c+\"RequestAnimationFrame\"],d.raf&&(d.caf=window[c+\"CancelAnimationFrame\"]||window[c+\"CancelRequestAnimationFrame\"]))}if(!d.raf){var p=0;d.raf=function(a){var b=(new Date).getTime(),c=Math.max(0,16-(b-p)),d=window.setTimeout(function(){a(b+c)},c);return p=b+c,d},d.caf=function(a){clearTimeout(a)}}return d.svg=!!document.createElementNS&&!!document.createElementNS(\"http://www.w3.org/2000/svg\",\"svg\").createSVGRect,e.features=d,d}};e.detectFeatures(),e.features.oldIE&&(e.bind=function(a,b,c,d){b=b.split(\" \");for(var e,f=(d?\"detach\":\"attach\")+\"Event\",g=function(){c.handleEvent.call(c)},h=0;hb-1?a-b:a<0?b+a:a},Ba={},Ca=function(a,b){return Ba[a]||(Ba[a]=[]),Ba[a].push(b)},Da=function(a){var b=Ba[a];if(b){var c=Array.prototype.slice.call(arguments);c.shift();for(var d=0;df.currItem.fitRatio?ya||(mc(f.currItem,!1,!0),ya=!0):ya&&(mc(f.currItem),ya=!1)),Ga(ea,pa.x,pa.y,s))},Ia=function(a){a.container&&Ga(a.container.style,a.initialPosition.x,a.initialPosition.y,a.initialZoomLevel,a)},Ja=function(a,b){b[E]=u+a+\"px, 0px\"+v},Ka=function(a,b){if(!i.loop&&b){var c=m+(ta.x*ra-a)/ta.x,d=Math.round(a-tb.x);(c<0&&d>0||c>=ac()-1&&d<0)&&(a=tb.x+d*i.mainScrollEndFriction)}tb.x=a,Ja(a,n)},La=function(a,b){var c=ub[a]-sa[a];return oa[a]+na[a]+c-c*(b/t)},Ma=function(a,b){a.x=b.x,a.y=b.y,b.id&&(a.id=b.id)},Na=function(a){a.x=Math.round(a.x),a.y=Math.round(a.y)},Oa=null,Pa=function(){Oa&&(e.unbind(document,\"mousemove\",Pa),e.addClass(a,\"pswp--has_mouse\"),i.mouseUsed=!0,Da(\"mouseUsed\")),Oa=setTimeout(function(){Oa=null},100)},Qa=function(){e.bind(document,\"keydown\",f),N.transform&&e.bind(f.scrollWrap,\"click\",f),i.mouseUsed||e.bind(document,\"mousemove\",Pa),e.bind(window,\"resize scroll orientationchange\",f),Da(\"bindEvents\")},Ra=function(){e.unbind(window,\"resize scroll orientationchange\",f),e.unbind(window,\"scroll\",r.scroll),e.unbind(document,\"keydown\",f),e.unbind(document,\"mousemove\",Pa),N.transform&&e.unbind(f.scrollWrap,\"click\",f),V&&e.unbind(window,p,f),clearTimeout(O),Da(\"unbindEvents\")},Sa=function(a,b){var c=ic(f.currItem,qa,a);return b&&(da=c),c},Ta=function(a){return a||(a=f.currItem),a.initialZoomLevel},Ua=function(a){return a||(a=f.currItem),a.w>0?i.maxSpreadZoom:1},Va=function(a,b,c,d){return d===f.currItem.initialZoomLevel?(c[a]=f.currItem.initialPosition[a],!0):(c[a]=La(a,d),c[a]>b.min[a]?(c[a]=b.min[a],!0):c[a]1?1:a.fitRatio,c=a.container.style,d=b*a.w,e=b*a.h;c.width=d+\"px\",c.height=e+\"px\",c.left=a.initialPosition.x+\"px\",c.top=a.initialPosition.y+\"px\"},Ha=function(){if(ea){var a=ea,b=f.currItem,c=b.fitRatio>1?1:b.fitRatio,d=c*b.w,e=c*b.h;a.width=d+\"px\",a.height=e+\"px\",a.left=pa.x+\"px\",a.top=pa.y+\"px\"}}},Xa=function(a){var b=\"\";i.escKey&&27===a.keyCode?b=\"close\":i.arrowKeys&&(37===a.keyCode?b=\"prev\":39===a.keyCode&&(b=\"next\")),b&&(a.ctrlKey||a.altKey||a.shiftKey||a.metaKey||(a.preventDefault?a.preventDefault():a.returnValue=!1,f[b]()))},Ya=function(a){a&&(Y||X||fa||T)&&(a.preventDefault(),a.stopPropagation())},Za=function(){f.setScrollOffset(0,e.getScrollY())},$a={},_a=0,ab=function(a){$a[a]&&($a[a].raf&&I($a[a].raf),_a--,delete $a[a])},bb=function(a){$a[a]&&ab(a),$a[a]||(_a++,$a[a]={})},cb=function(){for(var a in $a)$a.hasOwnProperty(a)&&ab(a)},db=function(a,b,c,d,e,f,g){var h,i=Ea();bb(a);var j=function(){if($a[a]){if(h=Ea()-i,h>=d)return ab(a),f(c),void(g&&g());f((c-b)*e(h/d)+b),$a[a].raf=H(j)}};j()},eb={shout:Da,listen:Ca,viewportSize:qa,options:i,isMainScrollAnimating:function(){return fa},getZoomLevel:function(){return s},getCurrentIndex:function(){return m},isDragging:function(){return V},isZooming:function(){return aa},setScrollOffset:function(a,b){sa.x=a,M=sa.y=b,Da(\"updateScrollOffset\",sa)},applyZoomPan:function(a,b,c,d){pa.x=b,pa.y=c,s=a,Ha(d)},init:function(){if(!j&&!k){var c;f.framework=e,f.template=a,f.bg=e.getChildByClass(a,\"pswp__bg\"),J=a.className,j=!0,N=e.detectFeatures(),H=N.raf,I=N.caf,E=N.transform,L=N.oldIE,f.scrollWrap=e.getChildByClass(a,\"pswp__scroll-wrap\"),f.container=e.getChildByClass(f.scrollWrap,\"pswp__container\"),n=f.container.style,f.itemHolders=y=[{el:f.container.children[0],wrap:0,index:-1},{el:f.container.children[1],wrap:0,index:-1},{el:f.container.children[2],wrap:0,index:-1}],y[0].el.style.display=y[2].el.style.display=\"none\",Wa(),r={resize:f.updateSize,orientationchange:function(){clearTimeout(O),O=setTimeout(function(){qa.x!==f.scrollWrap.clientWidth&&f.updateSize()},500)},scroll:Za,keydown:Xa,click:Ya};var d=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!d||(i.showAnimationDuration=i.hideAnimationDuration=0),c=0;c=ac())&&(m=0),f.currItem=_b(m),(N.isOldIOSPhone||N.isOldAndroid)&&(va=!1),a.setAttribute(\"aria-hidden\",\"false\"),i.modal&&(va?a.style.position=\"fixed\":(a.style.position=\"absolute\",a.style.top=e.getScrollY()+\"px\")),void 0===M&&(Da(\"initialLayout\"),M=K=e.getScrollY());var l=\"pswp--open \";for(i.mainClass&&(l+=i.mainClass+\" \"),i.showHideOpacity&&(l+=\"pswp--animate_opacity \"),l+=G?\"pswp--touch\":\"pswp--notouch\",l+=N.animationName?\" pswp--css_animation\":\"\",l+=N.svg?\" pswp--svg\":\"\",e.addClass(a,l),f.updateSize(),o=-1,ua=null,c=0;cda.min.x?a=da.min.x:ada.min.y?b=da.min.y:b=h&&(o+=ua+(ua>0?-h:h),c=h);for(var d=0;d0?(b=y.shift(),y[h-1]=b,o++,Ja((o+2)*ta.x,b.el.style),f.setContent(b,m-c+d+1+1)):(b=y.pop(),y.unshift(b),o--,Ja(o*ta.x,b.el.style),f.setContent(b,m+c-d-1-1));if(ea&&1===Math.abs(ua)){var e=_b(z);e.initialZoomLevel!==s&&(ic(e,qa),mc(e),Ia(e))}ua=0,f.updateCurrZoomItem(),z=m,Da(\"afterChange\")}}},updateSize:function(b){if(!va&&i.modal){var c=e.getScrollY();if(M!==c&&(a.style.top=c+\"px\",M=c),!b&&xa.x===window.innerWidth&&xa.y===window.innerHeight)return;xa.x=window.innerWidth,xa.y=window.innerHeight,a.style.height=xa.y+\"px\"}if(qa.x=f.scrollWrap.clientWidth,qa.y=f.scrollWrap.clientHeight,Za(),ta.x=qa.x+Math.round(qa.x*i.spacing),ta.y=qa.y,Ka(ta.x*ra),Da(\"beforeResize\"),void 0!==o){for(var d,g,j,k=0;k2&&(j=Aa(j)),g=_b(j),g&&(x||g.needsUpdate||!g.bounds)?(f.cleanSlide(g),f.setContent(d,j),1===k&&(f.currItem=g,f.updateCurrZoomItem(!0)),g.needsUpdate=!1):d.index===-1&&j>=0&&f.setContent(d,j),g&&g.container&&(ic(g,qa),mc(g),Ia(g));x=!1}t=s=f.currItem.initialZoomLevel,da=f.currItem.bounds,da&&(pa.x=da.center.x,pa.y=da.center.y,Ha(!0)),Da(\"resize\")},zoomTo:function(a,b,c,d,f){b&&(t=s,ub.x=Math.abs(b.x)-pa.x,ub.y=Math.abs(b.y)-pa.y,Ma(oa,pa));var g=Sa(a,!1),h={};Va(\"x\",g,h,a),Va(\"y\",g,h,a);var i=s,j={x:pa.x,y:pa.y};Na(h);var k=function(b){1===b?(s=a,pa.x=h.x,pa.y=h.y):(s=(a-i)*b+i,pa.x=(h.x-j.x)*b+j.x,pa.y=(h.y-j.y)*b+j.y),f&&f(b),Ha(1===b)};c?db(\"customZoomTo\",0,1,c,d||e.easing.sine.inOut,k):k(1)}},fb=30,gb=10,hb={},ib={},jb={},kb={},lb={},mb=[],nb={},ob=[],pb={},qb=0,rb=ma(),sb=0,tb=ma(),ub=ma(),vb=ma(),wb=function(a,b){return a.x===b.x&&a.y===b.y},xb=function(a,b){return Math.abs(a.x-b.x)-1)&&(b(a)?a:Cb(a.parentNode,b)))},Db={},Eb=function(a,b){return Db.prevent=!Cb(a.target,i.isClickableElement),Da(\"preventDragEvent\",a,b,Db),Db.prevent},Fb=function(a,b){return b.x=a.pageX,b.y=a.pageY,b.id=a.identifier,b},Gb=function(a,b,c){c.x=.5*(a.x+b.x),c.y=.5*(a.y+b.y)},Hb=function(a,b,c){if(a-Q>50){var d=ob.length>2?ob.shift():{};d.x=b,d.y=c,ob.push(d),Q=a}},Ib=function(){var a=pa.y-f.currItem.initialPosition.y;return 1-Math.abs(a/(qa.y/2))},Jb={},Kb={},Lb=[],Mb=function(a){for(;Lb.length>0;)Lb.pop();return F?(la=0,mb.forEach(function(a){0===la?Lb[0]=a:1===la&&(Lb[1]=a),la++})):a.type.indexOf(\"touch\")>-1?a.touches&&a.touches.length>0&&(Lb[0]=Fb(a.touches[0],Jb),a.touches.length>1&&(Lb[1]=Fb(a.touches[1],Kb))):(Jb.x=a.pageX,Jb.y=a.pageY,Jb.id=\"\",Lb[0]=Jb),Lb},Nb=function(a,b){var c,d,e,g,h=0,j=pa[a]+b[a],k=b[a]>0,l=tb.x+b.x,m=tb.x-nb.x;return c=j>da.min[a]||jda.min[a]&&(c=i.panEndFriction,h=da.min[a]-j,d=da.min[a]-oa[a]),(d<=0||m<0)&&ac()>1?(g=l,m<0&&l>nb.x&&(g=nb.x)):da.min.x!==da.max.x&&(e=j)):(j0)&&ac()>1?(g=l,m>0&&lf.currItem.fitRatio&&(pa[a]+=b[a]*c)):(void 0!==g&&(Ka(g,!0),$=g!==nb.x),da.min.x!==da.max.x&&(void 0!==e?pa.x=e:$||(pa.x+=b.x*c)),void 0!==g)},Ob=function(a){if(!(\"mousedown\"===a.type&&a.button>0)){if($b)return void a.preventDefault();if(!U||\"mousedown\"!==a.type){if(Eb(a,!0)&&a.preventDefault(),Da(\"pointerDown\"),F){var b=e.arraySearch(mb,a.pointerId,\"id\");b<0&&(b=mb.length),mb[b]={x:a.pageX,y:a.pageY,id:a.pointerId}}var c=Mb(a),d=c.length;_=null,cb(),V&&1!==d||(V=ha=!0,e.bind(window,p,f),S=ka=ia=T=$=Y=W=X=!1,ga=null,Da(\"firstTouchStart\",c),Ma(oa,pa),na.x=na.y=0,Ma(kb,c[0]),Ma(lb,kb),nb.x=ta.x*ra,ob=[{x:kb.x,y:kb.y}],Q=P=Ea(),Sa(s,!0),zb(),Ab()),!aa&&d>1&&!fa&&!$&&(t=s,X=!1,aa=W=!0,na.y=na.x=0,Ma(oa,pa),Ma(hb,c[0]),Ma(ib,c[1]),Gb(hb,ib,vb),ub.x=Math.abs(vb.x)-pa.x,ub.y=Math.abs(vb.y)-pa.y,ba=ca=yb(hb,ib))}}},Pb=function(a){if(a.preventDefault(),F){var b=e.arraySearch(mb,a.pointerId,\"id\");if(b>-1){var c=mb[b];c.x=a.pageX,c.y=a.pageY}}if(V){var d=Mb(a);if(ga||Y||aa)_=d;else if(tb.x!==ta.x*ra)ga=\"h\";else{var f=Math.abs(d[0].x-kb.x)-Math.abs(d[0].y-kb.y);Math.abs(f)>=gb&&(ga=f>0?\"h\":\"v\",_=d)}}},Qb=function(){if(_){var a=_.length;if(0!==a)if(Ma(hb,_[0]),jb.x=hb.x-kb.x,jb.y=hb.y-kb.y,aa&&a>1){if(kb.x=hb.x,kb.y=hb.y,!jb.x&&!jb.y&&wb(_[1],ib))return;Ma(ib,_[1]),X||(X=!0,Da(\"zoomGestureStarted\"));var b=yb(hb,ib),c=Vb(b);c>f.currItem.initialZoomLevel+f.currItem.initialZoomLevel/15&&(ka=!0);var d=1,e=Ta(),g=Ua();if(c1&&(d=1),c=e-d*(e/3);else c>g&&(d=(c-g)/(6*e),d>1&&(d=1),c=g+d*e);d<0&&(d=0),ba=b,Gb(hb,ib,rb),na.x+=rb.x-vb.x,na.y+=rb.y-vb.y,Ma(vb,rb),pa.x=La(\"x\",c),pa.y=La(\"y\",c),S=c>s,s=c,Ha()}else{if(!ga)return;if(ha&&(ha=!1,Math.abs(jb.x)>=gb&&(jb.x-=_[0].x-lb.x),Math.abs(jb.y)>=gb&&(jb.y-=_[0].y-lb.y)),kb.x=hb.x,kb.y=hb.y,0===jb.x&&0===jb.y)return;if(\"v\"===ga&&i.closeOnVerticalDrag&&!Bb()){na.y+=jb.y,pa.y+=jb.y;var k=Ib();return T=!0,Da(\"onVerticalDrag\",k),Fa(k),void Ha()}Hb(Ea(),hb.x,hb.y),Y=!0,da=f.currItem.bounds;var l=Nb(\"x\",jb);l||(Nb(\"y\",jb),Na(pa),Ha())}}},Rb=function(a){if(N.isOldAndroid){if(U&&\"mouseup\"===a.type)return;a.type.indexOf(\"touch\")>-1&&(clearTimeout(U),U=setTimeout(function(){U=0},600))}Da(\"pointerUp\"),Eb(a,!1)&&a.preventDefault();var b;if(F){var c=e.arraySearch(mb,a.pointerId,\"id\");if(c>-1)if(b=mb.splice(c,1)[0],navigator.msPointerEnabled){var d={4:\"mouse\",2:\"touch\",3:\"pen\"};b.type=d[a.pointerType],b.type||(b.type=a.pointerType||\"mouse\")}else b.type=a.pointerType||\"mouse\"}var g,h=Mb(a),j=h.length;if(\"mouseup\"===a.type&&(j=0),2===j)return _=null,!0;1===j&&Ma(lb,h[0]),0!==j||ga||fa||(b||(\"mouseup\"===a.type?b={x:a.pageX,y:a.pageY,type:\"mouse\"}:a.changedTouches&&a.changedTouches[0]&&(b={x:a.changedTouches[0].pageX,y:a.changedTouches[0].pageY,type:\"touch\"})),Da(\"touchRelease\",a,b));var k=-1;if(0===j&&(V=!1,e.unbind(window,p,f),zb(),aa?k=0:sb!==-1&&(k=Ea()-sb)),sb=1===j?Ea():-1,g=k!==-1&&k<150?\"zoom\":\"swipe\",aa&&j<2&&(aa=!1,1===j&&(g=\"zoomPointerUp\"),Da(\"zoomGestureEnded\")),_=null,Y||X||fa||T)if(cb(),R||(R=Sb()),R.calculateSwipeSpeed(\"x\"),T){var l=Ib();if(lf.currItem.fitRatio&&Tb(R))}},Sb=function(){var a,b,c={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(d){ob.length>1?(a=Ea()-Q+50,b=ob[ob.length-2][d]):(a=Ea()-P,b=lb[d]),c.lastFlickOffset[d]=kb[d]-b,c.lastFlickDist[d]=Math.abs(c.lastFlickOffset[d]),c.lastFlickDist[d]>20?c.lastFlickSpeed[d]=c.lastFlickOffset[d]/a:c.lastFlickSpeed[d]=0,Math.abs(c.lastFlickSpeed[d])<.1&&(c.lastFlickSpeed[d]=0),c.slowDownRatio[d]=.95,c.slowDownRatioReverse[d]=1-c.slowDownRatio[d],c.speedDecelerationRatio[d]=1},calculateOverBoundsAnimOffset:function(a,b){c.backAnimStarted[a]||(pa[a]>da.min[a]?c.backAnimDestination[a]=da.min[a]:pa[a]fb&&(h||b.lastFlickOffset.x>20)?d=-1:g<-fb&&(h||b.lastFlickOffset.x<-20)&&(d=1)}var j;d&&(m+=d,m<0?(m=i.loop?ac()-1:0,j=!0):m>=ac()&&(m=i.loop?0:ac()-1,j=!0),j&&!i.loop||(ua+=d,ra-=d,c=!0));var k,l=ta.x*ra,n=Math.abs(l-tb.x);return c||l>tb.x==b.lastFlickSpeed.x>0?(k=Math.abs(b.lastFlickSpeed.x)>0?n/Math.abs(b.lastFlickSpeed.x):333,k=Math.min(k,400),k=Math.max(k,250)):k=333,qb===m&&(c=!1),fa=!0,Da(\"mainScrollAnimStart\"),db(\"mainScroll\",tb.x,l,k,e.easing.cubic.out,Ka,function(){cb(),fa=!1,qb=-1,(c||qb!==m)&&f.updateCurrItem(),Da(\"mainScrollAnimComplete\")}),c&&f.updateCurrItem(!0),c},Vb=function(a){return 1/ca*a*t},Wb=function(){var a=s,b=Ta(),c=Ua();sc&&(a=c);var d,g=1,h=ja;return ia&&!S&&!ka&&s1||navigator.msMaxTouchPoints>1),f.likelyTouchDevice=G,r[A]=Ob,r[B]=Pb,r[C]=Rb,D&&(r[D]=r[C]),N.touch&&(q+=\" mousedown\",p+=\" mousemove mouseup\",r.mousedown=r[A],r.mousemove=r[B],r.mouseup=r[C]),G||(i.allowPanToNext=!1)}}});var Xb,Yb,Zb,$b,_b,ac,bc,cc=function(b,c,d,g){Xb&&clearTimeout(Xb),$b=!0,Zb=!0;var h;b.initialLayout?(h=b.initialLayout,b.initialLayout=null):h=i.getThumbBoundsFn&&i.getThumbBoundsFn(m);var j=d?i.hideAnimationDuration:i.showAnimationDuration,k=function(){ab(\"initialZoom\"),d?(f.template.removeAttribute(\"style\"),f.bg.removeAttribute(\"style\")):(Fa(1),c&&(c.style.display=\"block\"),e.addClass(a,\"pswp--animated-in\"),Da(\"initialZoom\"+(d?\"OutEnd\":\"InEnd\"))),g&&g(),$b=!1};if(!j||!h||void 0===h.x)return Da(\"initialZoom\"+(d?\"Out\":\"In\")),s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),a.style.opacity=d?0:1,Fa(1),void(j?setTimeout(function(){k()},j):k());var n=function(){var c=l,g=!f.currItem.src||f.currItem.loadError||i.showHideOpacity;b.miniImg&&(b.miniImg.style.webkitBackfaceVisibility=\"hidden\"),d||(s=h.w/b.w,pa.x=h.x,pa.y=h.y-K,f[g?\"template\":\"bg\"].style.opacity=.001,Ha()),bb(\"initialZoom\"),d&&!c&&e.removeClass(a,\"pswp--animated-in\"),g&&(d?e[(c?\"remove\":\"add\")+\"Class\"](a,\"pswp--animate_opacity\"):setTimeout(function(){e.addClass(a,\"pswp--animate_opacity\")},30)),Xb=setTimeout(function(){if(Da(\"initialZoom\"+(d?\"Out\":\"In\")),d){var f=h.w/b.w,i={x:pa.x,y:pa.y},l=s,m=ja,n=function(b){1===b?(s=f,pa.x=h.x,pa.y=h.y-M):(s=(f-l)*b+l,pa.x=(h.x-i.x)*b+i.x,pa.y=(h.y-M-i.y)*b+i.y),Ha(),g?a.style.opacity=1-b:Fa(m-b*m)};c?db(\"initialZoom\",0,1,j,e.easing.cubic.out,n,k):(n(1),Xb=setTimeout(k,j+20))}else s=b.initialZoomLevel,Ma(pa,b.initialPosition),Ha(),Fa(1),g?a.style.opacity=1:Fa(1),Xb=setTimeout(k,j+20)},d?25:90)};n()},dc={},ec=[],fc={index:0,errorMsg:'
    The image could not be loaded.
    ',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Yb.length}},gc=function(){return{center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}}},hc=function(a,b,c){var d=a.bounds;d.center.x=Math.round((dc.x-b)/2),d.center.y=Math.round((dc.y-c)/2)+a.vGap.top,d.max.x=b>dc.x?Math.round(dc.x-b):d.center.x,d.max.y=c>dc.y?Math.round(dc.y-c)+a.vGap.top:d.center.y,d.min.x=b>dc.x?0:d.center.x,d.min.y=c>dc.y?a.vGap.top:d.center.y},ic=function(a,b,c){if(a.src&&!a.loadError){var d=!c;if(d&&(a.vGap||(a.vGap={top:0,bottom:0}),Da(\"parseVerticalMargin\",a)),dc.x=b.x,dc.y=b.y-a.vGap.top-a.vGap.bottom,d){var e=dc.x/a.w,f=dc.y/a.h;a.fitRatio=e1&&(c=1),a.initialZoomLevel=c,a.bounds||(a.bounds=gc())}if(!c)return;return hc(a,a.w*c,a.h*c),d&&c===a.initialZoomLevel&&(a.initialPosition=a.bounds.center),a.bounds}return a.w=a.h=0,a.initialZoomLevel=a.fitRatio=1,a.bounds=gc(),a.initialPosition=a.bounds.center,a.bounds},jc=function(a,b,c,d,e,g){b.loadError||d&&(b.imageAppended=!0,mc(b,d,b===f.currItem&&ya),c.appendChild(d),g&&setTimeout(function(){b&&b.loaded&&b.placeholder&&(b.placeholder.style.display=\"none\",b.placeholder=null)},500))},kc=function(a){a.loading=!0,a.loaded=!1;var b=a.img=e.createEl(\"pswp__img\",\"img\"),c=function(){a.loading=!1,a.loaded=!0,a.loadComplete?a.loadComplete(a):a.img=null,b.onload=b.onerror=null,b=null};return b.onload=c,b.onerror=function(){a.loadError=!0,c()},b.src=a.src,b},lc=function(a,b){if(a.src&&a.loadError&&a.container)return b&&(a.container.innerHTML=\"\"),a.container.innerHTML=i.errorMsg.replace(\"%url%\",a.src),!0},mc=function(a,b,c){if(a.src){b||(b=a.container.lastChild);var d=c?a.w:Math.round(a.w*a.fitRatio),e=c?a.h:Math.round(a.h*a.fitRatio);a.placeholder&&!a.loaded&&(a.placeholder.style.width=d+\"px\",a.placeholder.style.height=e+\"px\"),b.style.width=d+\"px\",b.style.height=e+\"px\"}},nc=function(){if(ec.length){for(var a,b=0;b=0,e=Math.min(c[0],ac()),g=Math.min(c[1],ac());for(b=1;b<=(d?g:e);b++)f.lazyLoadItem(m+b);for(b=1;b<=(d?e:g);b++)f.lazyLoadItem(m-b)}),Ca(\"initialLayout\",function(){f.currItem.initialLayout=i.getThumbBoundsFn&&i.getThumbBoundsFn(m)}),Ca(\"mainScrollAnimComplete\",nc),Ca(\"initialZoomInEnd\",nc),Ca(\"destroy\",function(){for(var a,b=0;b=0&&(void 0!==Yb[a]&&Yb[a])},allowProgressiveImg:function(){return i.forceProgressiveLoading||!G||i.mouseUsed||screen.width>1200},setContent:function(a,b){i.loop&&(b=Aa(b));var c=f.getItemAt(a.index);c&&(c.container=null);var d,g=f.getItemAt(b);if(!g)return void(a.el.innerHTML=\"\");Da(\"gettingData\",b,g),a.index=b,a.item=g;var h=g.container=e.createEl(\"pswp__zoom-wrap\");if(!g.src&&g.html&&(g.html.tagName?h.appendChild(g.html):h.innerHTML=g.html),lc(g),ic(g,qa),!g.src||g.loadError||g.loaded)g.src&&!g.loadError&&(d=e.createEl(\"pswp__img\",\"img\"),d.style.opacity=1,d.src=g.src,mc(g,d),jc(b,g,h,d,!0));else{if(g.loadComplete=function(c){if(j){if(a&&a.index===b){if(lc(c,!0))return c.loadComplete=c.img=null,ic(c,qa),Ia(c),void(a.index===m&&f.updateCurrZoomItem());c.imageAppended?!$b&&c.placeholder&&(c.placeholder.style.display=\"none\",c.placeholder=null):N.transform&&(fa||$b)?ec.push({item:c,baseDiv:h,img:c.img,index:b,holder:a,clearPlaceholder:!0}):jc(b,c,h,c.img,fa||$b,!0)}c.loadComplete=null,c.img=null,Da(\"imageLoadComplete\",b,c)}},e.features.transform){var k=\"pswp__img pswp__img--placeholder\";k+=g.msrc?\"\":\" pswp__img--placeholder--blank\";var l=e.createEl(k,g.msrc?\"img\":\"\");g.msrc&&(l.src=g.msrc),mc(g,l),h.appendChild(l),g.placeholder=l}g.loading||kc(g),f.allowProgressiveImg()&&(!Zb&&N.transform?ec.push({item:g,baseDiv:h,img:g.img,index:b,holder:a}):jc(b,g,h,g.img,!0,!0))}Zb||b!==m?Ia(g):(ea=h.style,cc(g,d||g.img)),a.el.innerHTML=\"\",a.el.appendChild(h)},cleanSlide:function(a){a.img&&(a.img.onload=a.img.onerror=null),a.loaded=a.loading=a.img=a.imageAppended=!1}}});var oc,pc={},qc=function(a,b,c){var d=document.createEvent(\"CustomEvent\"),e={origEvent:a,target:a.target,releasePoint:b,pointerType:c||\"touch\"};d.initCustomEvent(\"pswpTap\",!0,!0,e),a.target.dispatchEvent(d)};za(\"Tap\",{publicMethods:{initTap:function(){Ca(\"firstTouchStart\",f.onTapStart),Ca(\"touchRelease\",f.onTapRelease),Ca(\"destroy\",function(){pc={},oc=null})},onTapStart:function(a){a.length>1&&(clearTimeout(oc),oc=null)},onTapRelease:function(a,b){if(b&&!Y&&!W&&!_a){var c=b;if(oc&&(clearTimeout(oc),oc=null,xb(c,pc)))return void Da(\"doubleTap\",c);if(\"mouse\"===b.type)return void qc(a,b,\"mouse\");var d=a.target.tagName.toUpperCase();if(\"BUTTON\"===d||e.hasClass(a.target,\"pswp__single-tap\"))return void qc(a,b);Ma(pc,c),oc=setTimeout(function(){qc(a,b),oc=null},300)}}}});var rc;za(\"DesktopZoom\",{publicMethods:{initDesktopZoom:function(){L||(G?Ca(\"mouseUsed\",function(){f.setupDesktopZoom()}):f.setupDesktopZoom(!0))},setupDesktopZoom:function(b){rc={};var c=\"wheel mousewheel DOMMouseScroll\";Ca(\"bindEvents\",function(){e.bind(a,c,f.handleMouseWheel)}),Ca(\"unbindEvents\",function(){rc&&e.unbind(a,c,f.handleMouseWheel)}),f.mouseZoomedIn=!1;var d,g=function(){f.mouseZoomedIn&&(e.removeClass(a,\"pswp--zoomed-in\"),f.mouseZoomedIn=!1),s<1?e.addClass(a,\"pswp--zoom-allowed\"):e.removeClass(a,\"pswp--zoom-allowed\"),h()},h=function(){d&&(e.removeClass(a,\"pswp--dragging\"),d=!1)};Ca(\"resize\",g),Ca(\"afterChange\",g),Ca(\"pointerDown\",function(){f.mouseZoomedIn&&(d=!0,e.addClass(a,\"pswp--dragging\"))}),Ca(\"pointerUp\",h),b||g()},handleMouseWheel:function(a){if(s<=f.currItem.fitRatio)return i.modal&&(!i.closeOnScroll||_a||V?a.preventDefault():E&&Math.abs(a.deltaY)>2&&(l=!0,f.close())),!0;if(a.stopPropagation(),rc.x=0,\"deltaX\"in a)1===a.deltaMode?(rc.x=18*a.deltaX,rc.y=18*a.deltaY):(rc.x=a.deltaX,rc.y=a.deltaY);else if(\"wheelDelta\"in a)a.wheelDeltaX&&(rc.x=-.16*a.wheelDeltaX),a.wheelDeltaY?rc.y=-.16*a.wheelDeltaY:rc.y=-.16*a.wheelDelta;else{if(!(\"detail\"in a))return;rc.y=a.detail}Sa(s,!0);var b=pa.x-rc.x,c=pa.y-rc.y;(i.modal||b<=da.min.x&&b>=da.max.x&&c<=da.min.y&&c>=da.max.y)&&a.preventDefault(),f.panTo(b,c)},toggleDesktopZoom:function(b){b=b||{x:qa.x/2+sa.x,y:qa.y/2+sa.y};var c=i.getDoubleTapZoom(!0,f.currItem),d=s===c;f.mouseZoomedIn=!d,f.zoomTo(d?f.currItem.initialZoomLevel:c,b,333),e[(d?\"remove\":\"add\")+\"Class\"](a,\"pswp--zoomed-in\")}}});var sc,tc,uc,vc,wc,xc,yc,zc,Ac,Bc,Cc,Dc,Ec={history:!0,galleryUID:1},Fc=function(){return Cc.hash.substring(1)},Gc=function(){sc&&clearTimeout(sc),uc&&clearTimeout(uc)},Hc=function(){var a=Fc(),b={};if(a.length<5)return b;var c,d=a.split(\"&\");for(c=0;c-1&&(yc=yc.split(\"&gid=\")[0],yc=yc.split(\"?gid=\")[0]),Ca(\"afterChange\",f.updateURL),Ca(\"unbindEvents\",function(){e.unbind(window,\"hashchange\",f.onHashChange)});var a=function(){xc=!0,Ac||(Bc?history.back():yc?Cc.hash=yc:Dc?history.pushState(\"\",document.title,Cc.pathname+Cc.search):Cc.hash=\"\"),Gc()};Ca(\"unbindEvents\",function(){l&&a()}),Ca(\"destroy\",function(){xc||a()}),Ca(\"firstUpdate\",function(){m=Hc().pid});var b=yc.indexOf(\"pid=\");b>-1&&(yc=yc.substring(0,b),\"&\"===yc.slice(-1)&&(yc=yc.slice(0,-1))),setTimeout(function(){j&&e.bind(window,\"hashchange\",f.onHashChange)},40)}},onHashChange:function(){return Fc()===yc?(Ac=!0,void f.close()):void(vc||(wc=!0,f.goTo(Hc().pid),wc=!1))},updateURL:function(){Gc(),wc||(zc?sc=setTimeout(Ic,800):Ic())}}}),e.extend(f,eb)};return a});","/*! PhotoSwipe Default UI - 4.1.3 - 2019-01-08\r\n* http://photoswipe.com\r\n* Copyright (c) 2019 Dmitry Semenov; */\r\n/**\r\n *\r\n * UI on top of main sliding area (caption, arrows, close button, etc.).\r\n * Built just using public methods/properties of PhotoSwipe.\r\n *\r\n */\r\n(function (root, factory) {\r\n if (typeof define === 'function' && define.amd) {\r\n define(factory);\r\n } else if (typeof exports === 'object') {\r\n module.exports = factory();\r\n } else {\r\n root.PhotoSwipeUI_Default = factory();\r\n }\r\n})(this, function () {\r\n\r\n 'use strict';\r\n\r\n\r\n\r\n var PhotoSwipeUI_Default =\r\n function(pswp, framework) {\r\n\r\n var ui = this;\r\n var _overlayUIUpdated = false,\r\n _controlsVisible = true,\r\n _fullscrenAPI,\r\n _controls,\r\n _captionContainer,\r\n _fakeCaptionContainer,\r\n _indexIndicator,\r\n _shareButton,\r\n _shareModal,\r\n _shareModalHidden = true,\r\n _initalCloseOnScrollValue,\r\n _isIdle,\r\n _listen,\r\n\r\n _loadingIndicator,\r\n _loadingIndicatorHidden,\r\n _loadingIndicatorTimeout,\r\n\r\n _galleryHasOneSlide,\r\n\r\n _options,\r\n _defaultUIOptions = {\r\n barsSize: {top:44, bottom:'auto'},\r\n closeElClasses: ['item', 'caption', 'zoom-wrap', 'ui', 'top-bar'],\r\n timeToIdle: 4000,\r\n timeToIdleOutside: 1000,\r\n loadingIndicatorDelay: 1000, // 2s\r\n\r\n addCaptionHTMLFn: function(item, captionEl /*, isFake */) {\r\n if(!item.title) {\r\n captionEl.children[0].innerHTML = '';\r\n return false;\r\n }\r\n captionEl.children[0].innerHTML = item.title;\r\n return true;\r\n },\r\n\r\n closeEl:true,\r\n captionEl: true,\r\n fullscreenEl: true,\r\n zoomEl: true,\r\n shareEl: true,\r\n socialShareEl:true,\r\n counterEl: true,\r\n arrowEl: true,\r\n preloaderEl: true,\r\n\r\n tapToClose: false,\r\n tapToToggleControls: true,\r\n\r\n clickToCloseNonZoomable: true,\r\n\r\n shareButtons: [\r\n {id:'facebook', label:'Share on Facebook', url:'https://www.facebook.com/sharer/sharer.php?u={{url}}'},\r\n {id:'twitter', label:'Tweet', url:'https://twitter.com/intent/tweet?text={{text}}&url={{url}}'},\r\n {id:'pinterest', label:'Pin it', url:'http://www.pinterest.com/pin/create/button/'+\r\n '?url={{url}}&media={{image_url}}&description={{text}}'},\r\n {id:'download', label:'Download image', url:'{{raw_image_url}}', download:true}\r\n ],\r\n\r\n socialShareEvent:function(){},\r\n\r\n getImageURLForShare: function( /* shareButtonData */ ) {\r\n return pswp.currItem.src || '';\r\n },\r\n getPageURLForShare: function( /* shareButtonData */ ) {\r\n return window.location.href;\r\n },\r\n getTextForShare: function( /* shareButtonData */ ) {\r\n return pswp.currItem.title || '';\r\n },\r\n\r\n indexIndicatorSep: ' / ',\r\n fitControlsWidth: 1200\r\n\r\n },\r\n _blockControlsTap,\r\n _blockControlsTapTimeout;\r\n\r\n\r\n\r\n var _onControlsTap = function(e) {\r\n if(_blockControlsTap) {\r\n return true;\r\n }\r\n\r\n\r\n e = e || window.event;\r\n\r\n if(_options.timeToIdle && _options.mouseUsed && !_isIdle) {\r\n // reset idle timer\r\n _onIdleMouseMove();\r\n }\r\n\r\n\r\n var target = e.target || e.srcElement,\r\n uiElement,\r\n clickedClass = target.getAttribute('class') || '',\r\n found;\r\n\r\n for(var i = 0; i < _uiElements.length; i++) {\r\n uiElement = _uiElements[i];\r\n if(uiElement.onTap && clickedClass.indexOf('pswp__' + uiElement.name ) > -1 ) {\r\n uiElement.onTap();\r\n found = true;\r\n\r\n }\r\n }\r\n\r\n if(found) {\r\n if(e.stopPropagation) {\r\n e.stopPropagation();\r\n }\r\n _blockControlsTap = true;\r\n\r\n // Some versions of Android don't prevent ghost click event\r\n // when preventDefault() was called on touchstart and/or touchend.\r\n //\r\n // This happens on v4.3, 4.2, 4.1,\r\n // older versions strangely work correctly,\r\n // but just in case we add delay on all of them)\r\n var tapDelay = framework.features.isOldAndroid ? 600 : 30;\r\n _blockControlsTapTimeout = setTimeout(function() {\r\n _blockControlsTap = false;\r\n }, tapDelay);\r\n }\r\n\r\n },\r\n _fitControlsInViewport = function() {\r\n return !pswp.likelyTouchDevice || _options.mouseUsed || screen.width > _options.fitControlsWidth;\r\n },\r\n _togglePswpClass = function(el, cName, add) {\r\n framework[ (add ? 'add' : 'remove') + 'Class' ](el, 'pswp__' + cName);\r\n },\r\n\r\n // add class when there is just one item in the gallery\r\n // (by default it hides left/right arrows and 1ofX counter)\r\n _countNumItems = function() {\r\n var hasOneSlide = (_options.getNumItemsFn() === 1);\r\n\r\n if(hasOneSlide !== _galleryHasOneSlide) {\r\n _togglePswpClass(_controls, 'ui--one-slide', hasOneSlide);\r\n _galleryHasOneSlide = hasOneSlide;\r\n }\r\n },\r\n _toggleShareModalClass = function() {\r\n _togglePswpClass(_shareModal, 'share-modal--hidden', _shareModalHidden);\r\n },\r\n _toggleShareModal = function() {\r\n\r\n _shareModalHidden = !_shareModalHidden;\r\n\r\n\r\n if(!_shareModalHidden) {\r\n _toggleShareModalClass();\r\n setTimeout(function() {\r\n if(!_shareModalHidden) {\r\n framework.addClass(_shareModal, 'pswp__share-modal--fade-in');\r\n }\r\n }, 30);\r\n } else {\r\n framework.removeClass(_shareModal, 'pswp__share-modal--fade-in');\r\n setTimeout(function() {\r\n if(_shareModalHidden) {\r\n _toggleShareModalClass();\r\n }\r\n }, 300);\r\n }\r\n\r\n if(!_shareModalHidden) {\r\n _updateShareURLs();\r\n }\r\n return false;\r\n },\r\n\r\n _socialShareEvent = function($this){\r\n _options.socialShareEvent($this);\r\n },\r\n\r\n _openWindowPopup = function(e) {\r\n e = e || window.event;\r\n var target = e.target || e.srcElement;\r\n\r\n pswp.shout('shareLinkClick', e, target);\r\n\r\n if(!target.href) {\r\n return false;\r\n }\r\n\r\n if( target.hasAttribute('download') ) {\r\n return true;\r\n }\r\n\r\n window.open(target.href, 'pswp_share', 'scrollbars=yes,resizable=yes,toolbar=no,'+\r\n 'location=yes,width=550,height=420,top=100,left=' +\r\n (window.screen ? Math.round(screen.width / 2 - 275) : 100) );\r\n\r\n if(!_shareModalHidden) {\r\n _toggleShareModal();\r\n }\r\n\r\n return false;\r\n },\r\n _updateShareURLs = function() {\r\n var shareButtonOut = '',\r\n shareButtonData,\r\n shareURL,\r\n image_url,\r\n page_url,\r\n share_text;\r\n\r\n for(var i = 0; i < _options.shareButtons.length; i++) {\r\n shareButtonData = _options.shareButtons[i];\r\n\r\n image_url = _options.getImageURLForShare(shareButtonData);\r\n page_url = _options.getPageURLForShare(shareButtonData);\r\n share_text = _options.getTextForShare(shareButtonData);\r\n\r\n shareURL = shareButtonData.url.replace('{{url}}', encodeURIComponent(page_url) )\r\n .replace('{{image_url}}', encodeURIComponent(image_url) )\r\n .replace('{{raw_image_url}}', image_url )\r\n .replace('{{text}}', encodeURIComponent(share_text) );\r\n\r\n shareButtonOut += '' +\r\n shareButtonData.label + '';\r\n\r\n if(_options.parseShareButtonOut) {\r\n shareButtonOut = _options.parseShareButtonOut(shareButtonData, shareButtonOut);\r\n }\r\n }\r\n _shareModal.children[0].innerHTML = shareButtonOut;\r\n _shareModal.children[0].onclick = _openWindowPopup;\r\n\r\n },\r\n _hasCloseClass = function(target) {\r\n for(var i = 0; i < _options.closeElClasses.length; i++) {\r\n if( framework.hasClass(target, 'pswp__' + _options.closeElClasses[i]) ) {\r\n return true;\r\n }\r\n }\r\n },\r\n _idleInterval,\r\n _idleTimer,\r\n _idleIncrement = 0,\r\n _onIdleMouseMove = function() {\r\n clearTimeout(_idleTimer);\r\n _idleIncrement = 0;\r\n if(_isIdle) {\r\n ui.setIdle(false);\r\n }\r\n },\r\n _onMouseLeaveWindow = function(e) {\r\n e = e ? e : window.event;\r\n var from = e.relatedTarget || e.toElement;\r\n if (!from || from.nodeName === 'HTML') {\r\n clearTimeout(_idleTimer);\r\n _idleTimer = setTimeout(function() {\r\n ui.setIdle(true);\r\n }, _options.timeToIdleOutside);\r\n }\r\n },\r\n _setupFullscreenAPI = function() {\r\n if(_options.fullscreenEl && !framework.features.isOldAndroid) {\r\n if(!_fullscrenAPI) {\r\n _fullscrenAPI = ui.getFullscreenAPI();\r\n }\r\n if(_fullscrenAPI) {\r\n framework.bind(document, _fullscrenAPI.eventK, ui.updateFullscreen);\r\n ui.updateFullscreen();\r\n framework.addClass(pswp.template, 'pswp--supports-fs');\r\n } else {\r\n framework.removeClass(pswp.template, 'pswp--supports-fs');\r\n }\r\n }\r\n },\r\n _setupLoadingIndicator = function() {\r\n // Setup loading indicator\r\n if(_options.preloaderEl) {\r\n\r\n _toggleLoadingIndicator(true);\r\n\r\n _listen('beforeChange', function() {\r\n\r\n clearTimeout(_loadingIndicatorTimeout);\r\n\r\n // display loading indicator with delay\r\n _loadingIndicatorTimeout = setTimeout(function() {\r\n\r\n if(pswp.currItem && pswp.currItem.loading) {\r\n\r\n if( !pswp.allowProgressiveImg() || (pswp.currItem.img && !pswp.currItem.img.naturalWidth) ) {\r\n // show preloader if progressive loading is not enabled,\r\n // or image width is not defined yet (because of slow connection)\r\n _toggleLoadingIndicator(false);\r\n // items-controller.js function allowProgressiveImg\r\n }\r\n\r\n } else {\r\n _toggleLoadingIndicator(true); // hide preloader\r\n }\r\n\r\n }, _options.loadingIndicatorDelay);\r\n\r\n });\r\n _listen('imageLoadComplete', function(index, item) {\r\n if(pswp.currItem === item) {\r\n _toggleLoadingIndicator(true);\r\n }\r\n });\r\n\r\n }\r\n },\r\n _toggleLoadingIndicator = function(hide) {\r\n if( _loadingIndicatorHidden !== hide ) {\r\n _togglePswpClass(_loadingIndicator, 'preloader--active', !hide);\r\n _loadingIndicatorHidden = hide;\r\n }\r\n },\r\n _applyNavBarGaps = function(item) {\r\n var gap = item.vGap;\r\n\r\n if( _fitControlsInViewport() ) {\r\n\r\n var bars = _options.barsSize;\r\n if(_options.captionEl && bars.bottom === 'auto') {\r\n if(!_fakeCaptionContainer) {\r\n _fakeCaptionContainer = framework.createEl('pswp__caption pswp__caption--fake');\r\n _fakeCaptionContainer.appendChild( framework.createEl('pswp__caption__center') );\r\n _controls.insertBefore(_fakeCaptionContainer, _captionContainer);\r\n framework.addClass(_controls, 'pswp__ui--fit');\r\n }\r\n if( _options.addCaptionHTMLFn(item, _fakeCaptionContainer, true) ) {\r\n\r\n var captionSize = _fakeCaptionContainer.clientHeight;\r\n gap.bottom = parseInt(captionSize,10) || 44;\r\n } else {\r\n gap.bottom = bars.top; // if no caption, set size of bottom gap to size of top\r\n }\r\n } else {\r\n gap.bottom = bars.bottom === 'auto' ? 0 : bars.bottom;\r\n }\r\n\r\n // height of top bar is static, no need to calculate it\r\n gap.top = bars.top;\r\n } else {\r\n gap.top = gap.bottom = 0;\r\n }\r\n },\r\n _setupIdle = function() {\r\n // Hide controls when mouse is used\r\n if(_options.timeToIdle) {\r\n _listen('mouseUsed', function() {\r\n\r\n framework.bind(document, 'mousemove', _onIdleMouseMove);\r\n framework.bind(document, 'mouseout', _onMouseLeaveWindow);\r\n\r\n _idleInterval = setInterval(function() {\r\n _idleIncrement++;\r\n if(_idleIncrement === 2) {\r\n ui.setIdle(true);\r\n }\r\n }, _options.timeToIdle / 2);\r\n });\r\n }\r\n },\r\n _setupHidingControlsDuringGestures = function() {\r\n\r\n // Hide controls on vertical drag\r\n _listen('onVerticalDrag', function(now) {\r\n if(_controlsVisible && now < 0.95) {\r\n ui.hideControls();\r\n } else if(!_controlsVisible && now >= 0.95) {\r\n ui.showControls();\r\n }\r\n });\r\n\r\n // Hide controls when pinching to close\r\n var pinchControlsHidden;\r\n _listen('onPinchClose' , function(now) {\r\n if(_controlsVisible && now < 0.9) {\r\n ui.hideControls();\r\n pinchControlsHidden = true;\r\n } else if(pinchControlsHidden && !_controlsVisible && now > 0.9) {\r\n ui.showControls();\r\n }\r\n });\r\n\r\n _listen('zoomGestureEnded', function() {\r\n pinchControlsHidden = false;\r\n if(pinchControlsHidden && !_controlsVisible) {\r\n ui.showControls();\r\n }\r\n });\r\n\r\n };\r\n\r\n\r\n\r\n var _uiElements = [\r\n {\r\n name: 'caption',\r\n option: 'captionEl',\r\n onInit: function(el) {\r\n _captionContainer = el;\r\n }\r\n },\r\n {\r\n name: 'share-modal',\r\n option: 'shareEl',\r\n onInit: function(el) {\r\n _shareModal = el;\r\n },\r\n onTap: function() {\r\n _toggleShareModal();\r\n }\r\n },\r\n {\r\n name: 'button--social-share',\r\n option: 'socialShareEl',\r\n onTap: function(e) {\r\n _socialShareEvent(this);\r\n }\r\n },\r\n {\r\n name: 'button--share',\r\n option: 'shareEl',\r\n onInit: function(el) {\r\n _shareButton = el;\r\n },\r\n onTap: function() {\r\n _toggleShareModal();\r\n }\r\n },\r\n {\r\n name: 'button--zoom',\r\n option: 'zoomEl',\r\n onTap: pswp.toggleDesktopZoom\r\n },\r\n {\r\n name: 'counter',\r\n option: 'counterEl',\r\n onInit: function(el) {\r\n _indexIndicator = el;\r\n }\r\n },\r\n {\r\n name: 'button--close',\r\n option: 'closeEl',\r\n onTap: pswp.close\r\n },\r\n {\r\n name: 'button--arrow--left',\r\n option: 'arrowEl',\r\n onTap: pswp.prev\r\n },\r\n {\r\n name: 'button--arrow--right',\r\n option: 'arrowEl',\r\n onTap: pswp.next\r\n },\r\n {\r\n name: 'button--fs',\r\n option: 'fullscreenEl',\r\n onTap: function() {\r\n if(_fullscrenAPI.isFullscreen()) {\r\n _fullscrenAPI.exit();\r\n } else {\r\n _fullscrenAPI.enter();\r\n }\r\n }\r\n },\r\n {\r\n name: 'preloader',\r\n option: 'preloaderEl',\r\n onInit: function(el) {\r\n _loadingIndicator = el;\r\n }\r\n }\r\n\r\n ];\r\n\r\n var _setupUIElements = function() {\r\n var item,\r\n classAttr,\r\n uiElement;\r\n\r\n var loopThroughChildElements = function(sChildren) {\r\n if(!sChildren) {\r\n return;\r\n }\r\n\r\n var l = sChildren.length;\r\n for(var i = 0; i < l; i++) {\r\n item = sChildren[i];\r\n classAttr = item.className;\r\n\r\n for(var a = 0; a < _uiElements.length; a++) {\r\n uiElement = _uiElements[a];\r\n\r\n if(classAttr.indexOf('pswp__' + uiElement.name) > -1 ) {\r\n\r\n if( _options[uiElement.option] ) { // if element is not disabled from options\r\n\r\n framework.removeClass(item, 'pswp__element--disabled');\r\n if(uiElement.onInit) {\r\n uiElement.onInit(item);\r\n }\r\n\r\n //item.style.display = 'block';\r\n } else {\r\n framework.addClass(item, 'pswp__element--disabled');\r\n //item.style.display = 'none';\r\n }\r\n }\r\n }\r\n }\r\n };\r\n loopThroughChildElements(_controls.children);\r\n\r\n var topBar = framework.getChildByClass(_controls, 'pswp__top-bar');\r\n if(topBar) {\r\n loopThroughChildElements( topBar.children );\r\n }\r\n };\r\n\r\n\r\n\r\n\r\n ui.init = function() {\r\n\r\n // extend options\r\n framework.extend(pswp.options, _defaultUIOptions, true);\r\n\r\n // create local link for fast access\r\n _options = pswp.options;\r\n\r\n // find pswp__ui element\r\n _controls = framework.getChildByClass(pswp.scrollWrap, 'pswp__ui');\r\n\r\n // create local link\r\n _listen = pswp.listen;\r\n\r\n\r\n _setupHidingControlsDuringGestures();\r\n\r\n // update controls when slides change\r\n _listen('beforeChange', ui.update);\r\n\r\n // toggle zoom on double-tap\r\n _listen('doubleTap', function(point) {\r\n var initialZoomLevel = pswp.currItem.initialZoomLevel;\r\n if(pswp.getZoomLevel() !== initialZoomLevel) {\r\n pswp.zoomTo(initialZoomLevel, point, 333);\r\n } else {\r\n pswp.zoomTo(_options.getDoubleTapZoom(false, pswp.currItem), point, 333);\r\n }\r\n });\r\n\r\n // Allow text selection in caption\r\n _listen('preventDragEvent', function(e, isDown, preventObj) {\r\n var t = e.target || e.srcElement;\r\n if(\r\n t &&\r\n t.getAttribute('class') && e.type.indexOf('mouse') > -1 &&\r\n ( t.getAttribute('class').indexOf('__caption') > 0 || (/(SMALL|STRONG|EM)/i).test(t.tagName) )\r\n ) {\r\n preventObj.prevent = false;\r\n }\r\n });\r\n\r\n // bind events for UI\r\n _listen('bindEvents', function() {\r\n framework.bind(_controls, 'pswpTap click', _onControlsTap);\r\n framework.bind(pswp.scrollWrap, 'pswpTap', ui.onGlobalTap);\r\n\r\n if(!pswp.likelyTouchDevice) {\r\n framework.bind(pswp.scrollWrap, 'mouseover', ui.onMouseOver);\r\n }\r\n });\r\n\r\n // unbind events for UI\r\n _listen('unbindEvents', function() {\r\n if(!_shareModalHidden) {\r\n _toggleShareModal();\r\n }\r\n\r\n if(_idleInterval) {\r\n clearInterval(_idleInterval);\r\n }\r\n framework.unbind(document, 'mouseout', _onMouseLeaveWindow);\r\n framework.unbind(document, 'mousemove', _onIdleMouseMove);\r\n framework.unbind(_controls, 'pswpTap click', _onControlsTap);\r\n framework.unbind(pswp.scrollWrap, 'pswpTap', ui.onGlobalTap);\r\n framework.unbind(pswp.scrollWrap, 'mouseover', ui.onMouseOver);\r\n\r\n if(_fullscrenAPI) {\r\n framework.unbind(document, _fullscrenAPI.eventK, ui.updateFullscreen);\r\n if(_fullscrenAPI.isFullscreen()) {\r\n _options.hideAnimationDuration = 0;\r\n _fullscrenAPI.exit();\r\n }\r\n _fullscrenAPI = null;\r\n }\r\n });\r\n\r\n\r\n // clean up things when gallery is destroyed\r\n _listen('destroy', function() {\r\n if(_options.captionEl) {\r\n if(_fakeCaptionContainer) {\r\n _controls.removeChild(_fakeCaptionContainer);\r\n }\r\n framework.removeClass(_captionContainer, 'pswp__caption--empty');\r\n }\r\n\r\n if(_shareModal) {\r\n _shareModal.children[0].onclick = null;\r\n }\r\n framework.removeClass(_controls, 'pswp__ui--over-close');\r\n framework.addClass( _controls, 'pswp__ui--hidden');\r\n ui.setIdle(false);\r\n });\r\n\r\n\r\n if(!_options.showAnimationDuration) {\r\n framework.removeClass( _controls, 'pswp__ui--hidden');\r\n }\r\n _listen('initialZoomIn', function() {\r\n if(_options.showAnimationDuration) {\r\n framework.removeClass( _controls, 'pswp__ui--hidden');\r\n }\r\n });\r\n _listen('initialZoomOut', function() {\r\n framework.addClass( _controls, 'pswp__ui--hidden');\r\n });\r\n\r\n _listen('parseVerticalMargin', _applyNavBarGaps);\r\n\r\n _setupUIElements();\r\n\r\n if(_options.shareEl && _shareButton && _shareModal) {\r\n _shareModalHidden = true;\r\n }\r\n\r\n _countNumItems();\r\n\r\n _setupIdle();\r\n\r\n _setupFullscreenAPI();\r\n\r\n _setupLoadingIndicator();\r\n };\r\n\r\n ui.setIdle = function(isIdle) {\r\n _isIdle = isIdle;\r\n _togglePswpClass(_controls, 'ui--idle', isIdle);\r\n };\r\n\r\n ui.update = function() {\r\n // Don't update UI if it's hidden\r\n if(_controlsVisible && pswp.currItem) {\r\n\r\n ui.updateIndexIndicator();\r\n\r\n if(_options.captionEl) {\r\n _options.addCaptionHTMLFn(pswp.currItem, _captionContainer);\r\n\r\n _togglePswpClass(_captionContainer, 'caption--empty', !pswp.currItem.title);\r\n }\r\n\r\n _overlayUIUpdated = true;\r\n\r\n } else {\r\n _overlayUIUpdated = false;\r\n }\r\n\r\n if(!_shareModalHidden) {\r\n _toggleShareModal();\r\n }\r\n\r\n _countNumItems();\r\n };\r\n\r\n ui.updateFullscreen = function(e) {\r\n\r\n if(e) {\r\n // some browsers change window scroll position during the fullscreen\r\n // so PhotoSwipe updates it just in case\r\n setTimeout(function() {\r\n pswp.setScrollOffset( 0, framework.getScrollY() );\r\n }, 50);\r\n }\r\n\r\n // toogle pswp--fs class on root element\r\n framework[ (_fullscrenAPI.isFullscreen() ? 'add' : 'remove') + 'Class' ](pswp.template, 'pswp--fs');\r\n };\r\n\r\n ui.updateIndexIndicator = function() {\r\n if(_options.counterEl) {\r\n _indexIndicator.innerHTML = (pswp.getCurrentIndex()+1) +\r\n _options.indexIndicatorSep +\r\n _options.getNumItemsFn();\r\n }\r\n };\r\n\r\n ui.onGlobalTap = function(e) {\r\n e = e || window.event;\r\n var target = e.target || e.srcElement;\r\n\r\n if(_blockControlsTap) {\r\n return;\r\n }\r\n\r\n if(e.detail && e.detail.pointerType === 'mouse') {\r\n\r\n // close gallery if clicked outside of the image\r\n if(_hasCloseClass(target)) {\r\n pswp.close();\r\n return;\r\n }\r\n\r\n if(framework.hasClass(target, 'pswp__img')) {\r\n if(pswp.getZoomLevel() === 1 && pswp.getZoomLevel() <= pswp.currItem.fitRatio) {\r\n if(_options.clickToCloseNonZoomable) {\r\n pswp.close();\r\n }\r\n } else {\r\n pswp.toggleDesktopZoom(e.detail.releasePoint);\r\n }\r\n }\r\n\r\n } else {\r\n\r\n // tap anywhere (except buttons) to toggle visibility of controls\r\n if(_options.tapToToggleControls) {\r\n if(_controlsVisible) {\r\n ui.hideControls();\r\n } else {\r\n ui.showControls();\r\n }\r\n }\r\n\r\n // tap to close gallery\r\n if(_options.tapToClose && (framework.hasClass(target, 'pswp__img') || _hasCloseClass(target)) ) {\r\n pswp.close();\r\n return;\r\n }\r\n\r\n }\r\n };\r\n ui.onMouseOver = function(e) {\r\n e = e || window.event;\r\n var target = e.target || e.srcElement;\r\n\r\n // add class when mouse is over an element that should close the gallery\r\n _togglePswpClass(_controls, 'ui--over-close', _hasCloseClass(target));\r\n };\r\n\r\n ui.hideControls = function() {\r\n framework.addClass(_controls,'pswp__ui--hidden');\r\n _controlsVisible = false;\r\n };\r\n\r\n ui.showControls = function() {\r\n _controlsVisible = true;\r\n if(!_overlayUIUpdated) {\r\n ui.update();\r\n }\r\n framework.removeClass(_controls,'pswp__ui--hidden');\r\n };\r\n\r\n ui.supportsFullscreen = function() {\r\n var d = document;\r\n return !!(d.exitFullscreen || d.mozCancelFullScreen || d.webkitExitFullscreen || d.msExitFullscreen);\r\n };\r\n\r\n ui.getFullscreenAPI = function() {\r\n var dE = document.documentElement,\r\n api,\r\n tF = 'fullscreenchange';\r\n\r\n if (dE.requestFullscreen) {\r\n api = {\r\n enterK: 'requestFullscreen',\r\n exitK: 'exitFullscreen',\r\n elementK: 'fullscreenElement',\r\n eventK: tF\r\n };\r\n\r\n } else if(dE.mozRequestFullScreen ) {\r\n api = {\r\n enterK: 'mozRequestFullScreen',\r\n exitK: 'mozCancelFullScreen',\r\n elementK: 'mozFullScreenElement',\r\n eventK: 'moz' + tF\r\n };\r\n\r\n\r\n\r\n } else if(dE.webkitRequestFullscreen) {\r\n api = {\r\n enterK: 'webkitRequestFullscreen',\r\n exitK: 'webkitExitFullscreen',\r\n elementK: 'webkitFullscreenElement',\r\n eventK: 'webkit' + tF\r\n };\r\n\r\n } else if(dE.msRequestFullscreen) {\r\n api = {\r\n enterK: 'msRequestFullscreen',\r\n exitK: 'msExitFullscreen',\r\n elementK: 'msFullscreenElement',\r\n eventK: 'MSFullscreenChange'\r\n };\r\n }\r\n\r\n if(api) {\r\n api.enter = function() {\r\n // disable close-on-scroll in fullscreen\r\n _initalCloseOnScrollValue = _options.closeOnScroll;\r\n _options.closeOnScroll = false;\r\n\r\n if(this.enterK === 'webkitRequestFullscreen') {\r\n pswp.template[this.enterK]( Element.ALLOW_KEYBOARD_INPUT );\r\n } else {\r\n return pswp.template[this.enterK]();\r\n }\r\n };\r\n api.exit = function() {\r\n _options.closeOnScroll = _initalCloseOnScrollValue;\r\n\r\n return document[this.exitK]();\r\n\r\n };\r\n api.isFullscreen = function() { return document[this.elementK]; };\r\n }\r\n\r\n return api;\r\n };\r\n\r\n\r\n\r\n };\r\n return PhotoSwipeUI_Default;\r\n\r\n\r\n});\r\n","/*!\r\n * artplayer.js v3.5.27\r\n * Github: https://github.com/zhw2590582/ArtPlayer#readme\r\n * (c) 2017-2020 Harvey Zack\r\n * Released under the MIT License.\r\n */\r\n\r\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=e():\"function\"==typeof define&&define.amd?define(e):(t=\"undefined\"!=typeof globalThis?globalThis:t||self).Artplayer=e()}(this,(function(){\"use strict\";var t=function(t,e){if(!(t instanceof e))throw new TypeError(\"Cannot call a class as a function\")};function e(t,e){for(var r=0;r1?r-1:0),o=1;o1&&void 0!==arguments[1]?arguments[1]:document;return e.querySelector(t)}function v(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return Array.from(e.querySelectorAll(t))}function g(t,e){return t.classList.add(e)}function m(t,e){return t.classList.remove(e)}function w(t,e){return t.classList.contains(e)}function x(t,e){return e instanceof Element?t.appendChild(e):t.insertAdjacentHTML(\"beforeend\",String(e)),t.lastElementChild||t.lastChild}function O(t,e,r){return t.style[e]=r,t}function k(t,e){return Object.keys(e).forEach((function(r){O(t,r,e[r])})),t}function j(t,e){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],n=window.getComputedStyle(t,null).getPropertyValue(e);return r?parseFloat(n):n}function P(t){return Array.from(t.parentElement.children).filter((function(e){return e!==t}))}function S(t,e){P(t).forEach((function(t){return m(t,e)})),g(t,e)}function R(t,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:\"up\";d||(t.setAttribute(\"aria-label\",e),t.setAttribute(\"data-balloon-pos\",r))}function E(t){var e=t.getBoundingClientRect(),r=window.innerHeight||document.documentElement.clientHeight,n=window.innerWidth||document.documentElement.clientWidth,o=e.top<=r&&e.top+e.height>=0,i=e.left<=n&&e.left+e.width>=0;return o&&i}function D(t,e){return t.composedPath&&t.composedPath().indexOf(e)>-1}var $=function(t){return-1!==Function.toString.call(t).indexOf(\"[native code]\")};var T=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}},z=o((function(t){function e(r,n,o){return T()?t.exports=e=Reflect.construct:t.exports=e=function(t,e,r){var n=[null];n.push.apply(n,e);var o=new(Function.bind.apply(t,n));return r&&i(o,r.prototype),o},e.apply(null,arguments)}t.exports=e}));function A(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var C=function(e){a(o,e);var r=A(o);function o(e,i){var a;return t(this,o),a=r.call(this,e),\"function\"==typeof Error.captureStackTrace&&Error.captureStackTrace(n(a),i||a.constructor),a.name=\"ArtPlayerError\",a}return o}(o((function(t){function e(r){var n=\"function\"==typeof Map?new Map:void 0;return t.exports=e=function(t){if(null===t||!$(t))return t;if(\"function\"!=typeof t)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==n){if(n.has(t))return n.get(t);n.set(t,e)}function e(){return z(t,arguments,s(this).constructor)}return e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),i(e,t)},e(r)}t.exports=e}))(Error));function L(t,e){if(!t)throw new C(e);return t}function M(t){return\"WEBVTT \\r\\n\\r\\n\".concat(t.replace(/{[\\s\\S]*?}/g,\"\").replace(/\\{\\\\([ibu])\\}/g,\"\").replace(/\\{\\\\([ibu])1\\}/g,\"<$1>\").replace(/\\{([ibu])\\}/g,\"<$1>\").replace(/\\{\\/([ibu])\\}/g,\"\").replace(/(\\d\\d:\\d\\d:\\d\\d),(\\d\\d\\d)/g,\"$1.$2\").concat(\"\\r\\n\\r\\n\"))}function q(t){return URL.createObjectURL(new Blob([t],{type:\"text/vtt\"}))}function F(t){var e=new RegExp(\"Dialogue:\\\\s\\\\d,(\\\\d+:\\\\d\\\\d:\\\\d\\\\d.\\\\d\\\\d),(\\\\d+:\\\\d\\\\d:\\\\d\\\\d.\\\\d\\\\d),([^,]*),([^,]*),(?:[^,]*,){4}([\\\\s\\\\S]*)$\",\"i\");function r(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:\"\";return t.split(/[:.]/).map((function(t,e,r){if(e===r.length-1){if(1===t.length)return\".\".concat(t,\"00\");if(2===t.length)return\".\".concat(t,\"0\")}else if(1===t.length)return(0===e?\"0\":\":0\")+t;return 0===e?t:e===r.length-1?\".\".concat(t):\":\".concat(t)})).join(\"\")}return\"WEBVTT\\n\\n\".concat(t.split(/\\r?\\n/).map((function(t){var n=t.match(e);return n?{start:r(n[1].trim()),end:r(n[2].trim()),text:n[5].replace(/{[\\s\\S]*?}/g,\"\").replace(/(\\\\N)/g,\"\\n\").trim().split(/\\r?\\n/).map((function(t){return t.trim()})).join(\"\\n\")}:null})).filter((function(t){return t})).map((function(t,e){return t?\"\".concat(e+1,\"\\n\").concat(t.start,\" --\\x3e \").concat(t.end,\"\\n\").concat(t.text):\"\"})).filter((function(t){return t.trim()})).join(\"\\n\\n\"))}function H(t){return t.includes(\"?\")?H(t.split(\"?\")[0]):t.includes(\"#\")?H(t.split(\"#\")[0]):t.trim().toLowerCase().split(\".\").pop()}function W(t,e){var r=document.createElement(\"a\");r.style.display=\"none\",r.href=t,r.download=e,document.body.appendChild(r),r.click(),document.body.removeChild(r)}var I=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r1?e-1:0),n=1;n0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((function(e){return setTimeout(e,t)}))}function K(t,e,r){var n;function o(){for(var o=arguments.length,i=new Array(o),a=0;a0?[e,r,n]:[r,n]).map((function(t){return t<10?\"0\".concat(t):String(t)})).join(\":\")}function nt(t){return t.replace(/[&<>'\"]/g,(function(t){return{\"&\":\"&\",\"<\":\"<\",\">\":\">\",\"'\":\"'\",'\"':\""\"}[t]||t}))}var ot=Object.freeze({__proto__:null,query:b,queryAll:v,addClass:g,removeClass:m,hasClass:w,append:x,remove:function(t){return t.parentNode.removeChild(t)},setStyle:O,setStyles:k,getStyle:j,sublings:P,inverseClass:S,tooltip:R,isInViewport:E,includeFromEvent:D,ArtPlayerError:C,errorHandle:L,srtToVtt:M,vttToBlob:q,assToVtt:F,getExt:H,download:W,def:X,has:Z,proxyPropertys:J,mergeDeep:Q,sleep:G,debounce:K,throttle:tt,clamp:et,secondToTime:rt,escape:nt,userAgent:f,isMobile:d,isSafari:h,isWechat:y});var it=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t};function at(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t){for(var e=1;e-1;case\"function\":return t(r.userAgent);case\"regexp\":return t.test(r.userAgent);default:return!1}}))},gt=function(){function e(r){var n=this;t(this,e),this.art=r,r.option.container instanceof Element?this.$container=r.option.container:(this.$container=b(r.option.container),L(this.$container,\"No container element found by \".concat(r.option.container))),L(r.constructor.instances.every((function(t){return t.template.$container!==n.$container})),\"Cannot mount multiple instances on the same dom element\"),r.whitelist.state?this.desktop():this.mobile()}return r(e,[{key:\"query\",value:function(t){return b(t,this.$container)}},{key:\"desktop\",value:function(){var t=this.art.option,e=t.theme,r=t.backdrop;this.$container.innerHTML='
    Player version:
    3.5.27
    Video url:
    Video volume:
    Video time:
    Video duration:
    Video resolution:
    x
    [x]
    xD7
    '),this.$undercover=this.query(\".art-undercover\"),this.$player=this.query(\".art-video-player\"),this.$video=this.query(\".art-video\"),this.$subtitle=this.query(\".art-subtitle\"),this.$danmuku=this.query(\".art-danmuku\"),this.$bottom=this.query(\".art-bottom\"),this.$progress=this.query(\".art-progress\"),this.$controls=this.query(\".art-controls\"),this.$controlsLeft=this.query(\".art-controls-left\"),this.$controlsRight=this.query(\".art-controls-right\"),this.$layer=this.query(\".art-layers\"),this.$loading=this.query(\".art-loading\"),this.$notice=this.query(\".art-notice\"),this.$noticeInner=this.query(\".art-notice-inner\"),this.$mask=this.query(\".art-mask\"),this.$state=this.query(\".art-state\"),this.$setting=this.query(\".art-settings\"),this.$settingInner=this.query(\".art-setting-inner\"),this.$settingBody=this.query(\".art-setting-body\"),this.$info=this.query(\".art-info\"),this.$infoPanel=this.query(\".art-info-panel\"),this.$infoClose=this.query(\".art-info-close\"),this.$miniHeader=this.query(\".art-mini-header\"),this.$miniTitle=this.query(\".art-mini-title\"),this.$miniClose=this.query(\".art-mini-close\"),this.$contextmenu=this.query(\".art-contextmenus\"),r&&(g(this.$settingInner,\"art-backdrop-filter\"),g(this.$info,\"art-backdrop-filter\"),g(this.$contextmenu,\"art-backdrop-filter\")),this.art.isMobile&&g(this.$container,\"art-mobile\")}},{key:\"mobile\",value:function(){this.$container.innerHTML='
    ',this.$player=this.query(\".art-video-player\"),this.$video=this.query(\".art-video\")}},{key:\"destroy\",value:function(t){t?this.$container.innerHTML=\"\":g(this.$player,\"art-destroy\")}}]),e}(),mt={\"Video info\":\"统计信息\",Close:\"关闭\",\"Light Off\":\"关灯\",\"Light On\":\"开灯\",\"Video load failed\":\"加载失败\",Volume:\"音量\",Play:\"播放\",Pause:\"暂停\",Rate:\"速度\",Mute:\"静音\",Flip:\"翻转\",Rotate:\"旋转\",Horizontal:\"水平\",Vertical:\"垂直\",Reconnect:\"重新连接\",\"Hide subtitle\":\"隐藏字幕\",\"Show subtitle\":\"显示字幕\",\"Hide danmu\":\"隐藏弹幕\",\"Show danmu\":\"显示弹幕\",\"Show setting\":\"显示设置\",\"Hide setting\":\"隐藏设置\",Screenshot:\"截图\",\"Play speed\":\"播放速度\",\"Aspect ratio\":\"画面比例\",Default:\"默认\",Normal:\"正常\",Open:\"打开\",\"Switch video\":\"切换\",\"Switch subtitle\":\"切换字幕\",Fullscreen:\"全屏\",\"Exit fullscreen\":\"退出全屏\",\"Web fullscreen\":\"网页全屏\",\"Exit web fullscreen\":\"退出网页全屏\",\"Mini player\":\"迷你播放器\",\"PIP mode\":\"画中画模式\",\"Exit PIP mode\":\"退出画中画模式\",\"PIP not supported\":\"不支持画中画模式\",\"Fullscreen not supported\":\"不支持全屏模式\",\"Local Subtitle\":\"本地字幕\",\"Local Video\":\"本地视频\",\"Subtitle offset time\":\"字幕偏移时间\",\"No subtitles found\":\"未发现字幕\"},wt={\"Video info\":\"統計訊息\",Close:\"關閉\",\"Light Off\":\"關燈\",\"Light On\":\"開燈\",\"Video load failed\":\"載入失敗\",Volume:\"音量\",Play:\"播放\",Pause:\"暫停\",Rate:\"速度\",Mute:\"靜音\",Flip:\"翻轉\",Rotate:\"旋轉\",Horizontal:\"水平\",Vertical:\"垂直\",Reconnect:\"重新連接\",\"Hide subtitle\":\"隱藏字幕\",\"Show subtitle\":\"顯示字幕\",\"Hide danmu\":\"隱藏彈幕\",\"Show danmu\":\"顯示彈幕\",\"Show setting\":\"顯示设置\",\"Hide setting\":\"隱藏设置\",Screenshot:\"截圖\",\"Play speed\":\"播放速度\",\"Aspect ratio\":\"畫面比例\",Default:\"默認\",Normal:\"正常\",Open:\"打開\",\"Switch video\":\"切換\",\"Switch subtitle\":\"切換字幕\",Fullscreen:\"全屏\",\"Exit fullscreen\":\"退出全屏\",\"Web fullscreen\":\"網頁全屏\",\"Exit web fullscreen\":\"退出網頁全屏\",\"Mini player\":\"迷你播放器\",\"PIP mode\":\"畫中畫模式\",\"Exit PIP mode\":\"退出畫中畫模式\",\"PIP not supported\":\"不支持畫中畫模式\",\"Fullscreen not supported\":\"不支持全屏模式\",\"Local Subtitle\":\"本地字幕\",\"Local Video\":\"本地視頻\",\"Subtitle offset time\":\"字幕偏移時間\",\"No subtitles found\":\"未發現字幕\"},xt=function(){function e(r){t(this,e),this.art=r,this.languages={\"zh-cn\":mt,\"zh-tw\":wt},this.init()}return r(e,[{key:\"init\",value:function(){var t=this.art.option.lang.toLowerCase();this.language=this.languages[t]||{}}},{key:\"get\",value:function(t){return this.language[t]||t}},{key:\"update\",value:function(t){this.languages=Q(this.languages,t),this.init()}}]),e}();var Ot=o((function(t){!function(){var e=\"undefined\"!=typeof window&&void 0!==window.document?window.document:{},r=t.exports,n=function(){for(var t,r=[[\"requestFullscreen\",\"exitFullscreen\",\"fullscreenElement\",\"fullscreenEnabled\",\"fullscreenchange\",\"fullscreenerror\"],[\"webkitRequestFullscreen\",\"webkitExitFullscreen\",\"webkitFullscreenElement\",\"webkitFullscreenEnabled\",\"webkitfullscreenchange\",\"webkitfullscreenerror\"],[\"webkitRequestFullScreen\",\"webkitCancelFullScreen\",\"webkitCurrentFullScreenElement\",\"webkitCancelFullScreen\",\"webkitfullscreenchange\",\"webkitfullscreenerror\"],[\"mozRequestFullScreen\",\"mozCancelFullScreen\",\"mozFullScreenElement\",\"mozFullScreenEnabled\",\"mozfullscreenchange\",\"mozfullscreenerror\"],[\"msRequestFullscreen\",\"msExitFullscreen\",\"msFullscreenElement\",\"msFullscreenEnabled\",\"MSFullscreenChange\",\"MSFullscreenError\"]],n=0,o=r.length,i={};nd){var h=d*s/l;O(n,\"width\",\"\".concat(100*h,\"%\")),O(n,\"height\",\"100%\"),O(n,\"padding\",\"0 \".concat((u-u*h)/2,\"px\"))}else{var y=l/d/s;O(n,\"width\",\"100%\"),O(n,\"height\",\"\".concat(100*y,\"%\")),O(n,\"padding\",\"\".concat((p-p*y)/2,\"px 0\"))}o.dataset.aspectRatio=e}a.show=\"\".concat(i.get(\"Aspect ratio\"),\": \").concat(\"default\"===e?i.get(\"Default\"):e),t.emit(\"aspectRatio\",e)}}),X(e,\"aspectRatioReset\",{set:function(t){if(t&&e.aspectRatio){var r=e.aspectRatio;e.aspectRatio=r}}})}(r,this),function(t,e){var r=t.option,n=t.notice,o=t.template.$video,i=document.createElement(\"canvas\");X(e,\"getDataURL\",{value:function(){return new Promise((function(t,e){try{i.width=o.videoWidth,i.height=o.videoHeight,i.getContext(\"2d\").drawImage(o,0,0),t(i.toDataURL(\"image/png\"))}catch(t){n.show=t,e(t)}}))}}),X(e,\"getBlobUrl\",{value:function(){return new Promise((function(t,e){try{i.width=o.videoWidth,i.height=o.videoHeight,i.getContext(\"2d\").drawImage(o,0,0),i.toBlob((function(e){t(URL.createObjectURL(e))}))}catch(t){n.show=t,e(t)}}))}}),X(e,\"screenshot\",{value:function(){e.getDataURL().then((function(e){W(e,\"\".concat(r.title||\"artplayer\",\"_\").concat(rt(o.currentTime),\".png\")),t.emit(\"screenshot\",e)}))}})}(r,this),kt(r,this),function(t,e){var r=t.template.$player;X(e,\"fullscreenWeb\",{get:function(){return w(r,\"art-fullscreen-web\")},set:function(n){n?(g(r,\"art-fullscreen-web\"),e.aspectRatioReset=!0,t.emit(\"resize\"),t.emit(\"fullscreenWeb\",!0)):(m(r,\"art-fullscreen-web\"),e.aspectRatioReset=!0,e.autoSize=t.option.autoSize,t.emit(\"resize\"),t.emit(\"fullscreenWeb\"))}}),X(e,\"fullscreenWebToggle\",{set:function(t){t&&(e.fullscreenWeb=!e.fullscreenWeb)}})}(r,this),function(t,e){var r=t.template,n=r.$container,o=r.$player;X(e,\"fullscreenRotate\",{get:function(){return w(n,\"art-fullscreen-rotate\")},set:function(r){if(r){g(n,\"art-fullscreen-rotate\"),e.autoSize=!0;var i=document.body,a=i.clientHeight,c=i.clientWidth,l=o.clientHeight,s=o.clientWidth;if(c/a0&&!r.paused&&!r.ended&&r.readyState>2)}})}(r,this),function(t,e){var r=t.template,n=r.$container,o=r.$player,i=r.$video;X(e,\"autoSize\",{get:function(){return w(n,\"art-auto-size\")},set:function(r){if(r){var a=i.videoWidth,c=i.videoHeight,l=n.getBoundingClientRect(),s=l.width,u=l.height,p=a/c,f=s/u;if(g(n,\"art-auto-size\"),f>p)O(o,\"width\",\"\".concat(u*p/s*100,\"%\")),O(o,\"height\",\"100%\");else{var d=s/p/u*100;O(o,\"width\",\"100%\"),O(o,\"height\",\"\".concat(d,\"%\"))}t.emit(\"autoSize\",{width:e.width,height:e.height})}else m(n,\"art-auto-size\"),O(o,\"width\",null),O(o,\"height\",null),t.emit(\"autoSize\")}})}(r,this),function(t,e){X(e,\"rect\",{get:function(){return t.template.$player.getBoundingClientRect()}}),[\"bottom\",\"height\",\"left\",\"right\",\"top\",\"width\"].forEach((function(t){X(e,t,{get:function(){return e.rect[t]}})})),X(e,\"x\",{get:function(){return e.left+window.pageXOffset}}),X(e,\"y\",{get:function(){return e.top+window.pageYOffset}})}(r,this),function(t,e){var r=t.template.$player,n=t.i18n,o=t.notice;X(e,\"flip\",{get:function(){return r.dataset.flip},set:function(i){i||(i=\"normal\");var a=[\"normal\",\"horizontal\",\"vertical\"];L(a.includes(i),\"'flip' only accept \".concat(a.toString(),\" as parameters\")),\"normal\"===i?delete r.dataset.flip:(e.rotate=!1,r.dataset.flip=i);var c=i.replace(i[0],i[0].toUpperCase());o.show=\"\".concat(n.get(\"Flip\"),\": \").concat(n.get(c)),t.emit(\"flip\",i)}}),X(e,\"flipReset\",{set:function(t){if(t&&e.flip){var r=e.flip;e.flip=r}}})}(r,this),function(t,e){var r=t.template.$undercover;X(e,\"light\",{get:function(){return\"none\"!==j(r,\"display\",!1)},set:function(e){O(r,\"display\",e?\"block\":\"none\"),t.emit(\"light\",e)}})}(r,this),function(t,e){var r=t.i18n,n=t.option,o=t.storage,i=t.events.proxy,a=t.template,c=a.$player,l=a.$miniClose,s=a.$miniTitle,u=a.$miniHeader,p=\"\",f=!1,d=0,h=0,y=0,b=0;i(u,\"mousedown\",(function(t){f=!0,d=t.pageX,h=t.pageY,y=e.left,b=e.top})),i(document,\"mousemove\",(function(t){if(f){g(c,\"art-is-dragging\");var e=b+t.pageY-h,r=y+t.pageX-d;O(c,\"top\",\"\".concat(e,\"px\")),O(c,\"left\",\"\".concat(r,\"px\")),o.set(\"top\",e),o.set(\"left\",r)}})),i(document,\"mouseup\",(function(){f=!1,m(c,\"art-is-dragging\")})),i(l,\"click\",(function(){e.mini=!1,f=!1,m(c,\"art-is-dragging\")})),x(s,n.title||r.get(\"Mini player\")),X(e,\"mini\",{get:function(){return w(c,\"art-mini\")},set:function(r){if(r){e.autoSize=!1,p=c.style.cssText,g(c,\"art-mini\");var i=o.get(\"top\"),a=o.get(\"left\");if(i&&a)O(c,\"top\",\"\".concat(i,\"px\")),O(c,\"left\",\"\".concat(a,\"px\")),E(u)||(o.del(\"top\"),o.del(\"left\"),e.mini=!0);else{var l=document.body,s=l.clientHeight-e.height-50,f=l.clientWidth-e.width-50;o.set(\"top\",s),o.set(\"left\",f),O(c,\"top\",\"\".concat(s,\"px\")),O(c,\"left\",\"\".concat(f,\"px\"))}e.aspectRatio=!1,e.playbackRate=!1,t.emit(\"mini\",!0)}else c.style.cssText=p,m(c,\"art-mini\"),O(c,\"top\",null),O(c,\"left\",null),e.aspectRatio=!1,e.playbackRate=!1,e.autoSize=n.autoSize,t.emit(\"mini\")}}),X(e,\"miniToggle\",{set:function(t){t&&(e.mini=!e.mini)}})}(r,this),function(t,e){var r=[];X(e,\"loop\",{get:function(){return r},set:function(n){if(Array.isArray(n)&&\"number\"==typeof n[0]&&\"number\"==typeof n[1]){var o=et(n[0],0,Math.min(n[1],e.duration)),i=et(n[1],o,e.duration);i-o>=1?(r=[o,i],t.emit(\"loop\",r)):(r=[],t.emit(\"loop\"))}else r=[],t.emit(\"loop\")}}),t.on(\"video:timeupdate\",(function(){r.length&&(e.currentTimer[1])&&(e.seek=r[0])}))}(r,this),function(t,e){var r=t.template,n=r.$video,o=r.$player,i=t.i18n,a=t.notice;X(e,\"rotate\",{get:function(){return Number(o.dataset.rotate)||0},set:function(r){r||(r=0);var c=[-270,-180,-90,0,90,180,270];if(L(c.includes(r),\"'rotate' only accept \".concat(c.toString(),\" as parameters\")),0===r)delete o.dataset.rotate,O(n,\"transform\",null);else{e.flip=!1,o.dataset.rotate=r;var l=function(){var t=n.videoWidth,e=n.videoHeight;return t>e?e/t:t/e},s=0,u=1;switch(r){case-270:s=90,u=l();break;case-180:s=180;break;case-90:s=270,u=l();break;case 90:s=90,u=l();break;case 180:s=180;break;case 270:s=270,u=l()}O(n,\"transform\",\"rotate(\".concat(s,\"deg) scale(\").concat(u,\")\"))}a.show=\"\".concat(i.get(\"Rotate\"),\": \").concat(r,\"°\"),t.emit(\"rotate\",r)}}),X(e,\"rotateReset\",{set:function(t){if(t&&e.rotate){var r=e.rotate;e.rotate=r}}})}(r,this),J(r,this)};var St=function(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=s(t)););return t},Rt=o((function(t){function e(r,n,o){return\"undefined\"!=typeof Reflect&&Reflect.get?t.exports=e=Reflect.get:t.exports=e=function(t,e,r){var n=St(t,e);if(n){var o=Object.getOwnPropertyDescriptor(n,e);return o.get?o.get.call(r):o.value}},e(r,n,o||r)}t.exports=e})),Et=function(){function e(r){t(this,e),this.id=0,this.art=r,this.add=this.add.bind(this)}return r(e,[{key:\"add\",value:function(t){var e=this,r=\"function\"==typeof t?t(this.art):t;if(this.$parent&&this.name&&!r.disable){var n=r.name||\"\".concat(this.name).concat(this.id);L(!Z(this,n),\"Cannot add an existing name [\".concat(n,\"] to the [\").concat(this.name,\"]\")),this.id+=1;var o=document.createElement(\"div\");g(o,\"art-\".concat(this.name)),g(o,\"art-\".concat(this.name,\"-\").concat(n));var i=Array.from(this.$parent.children);o.dataset.index=r.index||this.id;var a=i.find((function(t){return Number(t.dataset.index)>=Number(o.dataset.index)}));a?a.insertAdjacentElement(\"beforebegin\",o):x(this.$parent,o),r.html&&x(o,r.html),r.style&&k(o,r.style),r.tooltip&&R(o,r.tooltip),r.click&&this.art.events.proxy(o,\"click\",(function(t){t.preventDefault(),r.click.call(e.art,e,t)})),r.selector&&[\"left\",\"right\"].includes(r.position)&&this.selector(r,o),r.mounted&&r.mounted.call(this.art,o),1===o.childNodes.length&&3===o.childNodes[0].nodeType&&g(o,\"art-control-onlyText\")}}},{key:\"selector\",value:function(t,e){var r=this,n=this.art.events,o=n.hover,i=n.proxy;g(e,\"art-control-selector\");var a=document.createElement(\"div\");g(a,\"art-selector-value\"),x(a,t.html),e.innerText=\"\",x(e,a);var c=t.selector.map((function(t){return'
    '.concat(t.name,\"
    \")})).join(\"\"),l=document.createElement(\"div\");g(l,\"art-selector-list\"),x(l,c),x(e,l);var s=function(){l.style.left=\"-\".concat(j(l,\"width\")/2-j(e,\"width\")/2,\"px\")};o(e,s),i(e,\"click\",(function(e){if(w(e.target,\"art-selector-item\")){var n=e.target.innerText;if(a.innerText===n)return;var o=t.selector.find((function(t){return t.name===n}));a.innerText=n,s(),o&&(t.onSelect&&t.onSelect.call(r.art,o),r.art.emit(\"selector\",o))}}))}},{key:\"show\",get:function(){return w(this.art.template.$player,\"art-\".concat(this.name,\"-show\"))},set:function(t){var e=this.art.template.$player,r=\"art-\".concat(this.name,\"-show\");t?g(e,r):m(e,r),this.art.emit(this.name,t)}},{key:\"toggle\",set:function(t){t&&(this.show=!this.show)}}]),e}();function Dt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $t(t){for(var e=1;e
    '),mounted:function(t){var r=!1,o=b(\".art-progress-loaded\",t),c=b(\".art-progress-played\",t),l=b(\".art-progress-highlight\",t),s=b(\".art-progress-indicator\",t),u=b(\".art-progress-tip\",t);function p(t,e){\"loaded\"===t&&O(o,\"width\",\"\".concat(100*e,\"%\")),\"played\"===t&&(O(c,\"width\",\"\".concat(100*e,\"%\")),O(s,\"left\",\"calc(\".concat(100*e,\"% - \").concat(j(s,\"width\")/2,\"px)\")))}n.forEach((function(t){var e=et(t.time,0,a.duration)/a.duration*100;x(l,''))})),p(\"loaded\",a.loaded),e.on(\"video:progress\",(function(){p(\"loaded\",a.loaded)})),e.on(\"video:timeupdate\",(function(){p(\"played\",a.played)})),e.on(\"video:ended\",(function(){p(\"played\",1)})),i(t,\"mousemove\",(function(r){O(u,\"display\",\"block\"),D(r,l)?function(r){var n=Ht(e,r).width,o=r.target.dataset.text;u.innerHTML=o;var i=u.clientWidth;n<=i/2?O(u,\"left\",0):n>t.clientWidth-i/2?O(u,\"left\",\"\".concat(t.clientWidth-i,\"px\")):O(u,\"left\",\"\".concat(n-i/2,\"px\"))}(r):function(r){var n=Ht(e,r),o=n.width,i=n.time;u.innerHTML=i;var a=u.clientWidth;o<=a/2?O(u,\"left\",0):o>t.clientWidth-a/2?O(u,\"left\",\"\".concat(t.clientWidth-a,\"px\")):O(u,\"left\",\"\".concat(o-a/2,\"px\"))}(r)})),i(t,\"mouseout\",(function(){O(u,\"display\",\"none\")})),i(t,\"click\",(function(t){if(t.target!==s){var r=Ht(e,t),n=r.second;p(\"played\",r.percentage),a.seek=n}})),i(s,\"mousedown\",(function(){r=!0})),i(document,\"mousemove\",(function(t){if(r){var n=Ht(e,t),o=n.second,i=n.percentage;g(s,\"art-show-indicator\"),p(\"played\",i),a.seek=o}})),i(document,\"mouseup\",(function(){r&&(r=!1,m(s,\"art-show-indicator\"))}))}})}}function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Vt(t){for(var e=1;en.clientWidth-l/2?O(t,\"left\",\"\".concat(n.clientWidth-l,\"px\")):O(t,\"left\",\"\".concat(i-l/2,\"px\"))}(o))})),i(n,\"mouseout\",(function(){O(t,\"display\",\"none\")}))}})}}function Gt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Kt(t){for(var e=1;e'),o=x(t,'');e.on(\"loop\",(function(e){e?(O(t,\"display\",\"block\"),O(n,\"left\",\"calc(\".concat(e[0]/r.duration*100,\"% - \").concat(n.clientWidth,\"px)\")),O(o,\"left\",\"\".concat(e[1]/r.duration*100,\"%\"))):O(t,\"display\",\"none\")}))}})}}({name:\"loop\",disable:!1,position:\"top\",index:30})),r.add(function(t){return function(e){return Mt(Mt({},t),{},{mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.player,a=x(t,n.play),c=x(t,n.pause);function l(){O(a,\"display\",\"flex\"),O(c,\"display\",\"none\")}function s(){O(a,\"display\",\"none\"),O(c,\"display\",\"flex\")}R(a,o.get(\"Play\")),R(c,o.get(\"Pause\")),r(a,\"click\",(function(){i.play=!0})),r(c,\"click\",(function(){i.pause=!0})),i.playing?s():l(),e.on(\"video:playing\",(function(){s()})),e.on(\"video:pause\",(function(){l()}))}})}}({name:\"playAndPause\",disable:!1,position:\"left\",index:10})),r.add(function(t){return function(e){return _t(_t({},t),{},{mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.player,i=e.i18n,a=!1,c=x(t,n.volume),l=x(t,n.volumeClose),s=x(t,'
    '),u=x(s,'
    ');function p(t){var e=s.getBoundingClientRect().left;return et(t.pageX-e-6,0,54)/48}function f(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:.7;if(o.muted||0===t)O(c,\"display\",\"none\"),O(l,\"display\",\"flex\"),O(u,\"left\",\"0\");else{var e=48*t;O(c,\"display\",\"flex\"),O(l,\"display\",\"none\"),O(u,\"left\",\"\".concat(e,\"px\"))}}R(c,i.get(\"Mute\")),O(l,\"display\",\"none\"),e.isMobile&&O(s,\"display\",\"none\"),f(o.volume),e.on(\"video:volumechange\",(function(){f(o.volume)})),r(c,\"click\",(function(){o.muted=!0})),r(l,\"click\",(function(){o.muted=!1})),r(s,\"click\",(function(t){o.muted=!1,o.volume=p(t)})),r(u,\"mousedown\",(function(){a=!0})),r(t,\"mousemove\",(function(t){a&&(o.muted=!1,o.volume=p(t))})),r(document,\"mouseup\",(function(){a&&(a=!1)}))}})}}({name:\"volume\",disable:!1,position:\"left\",index:20})),r.add(function(t){return function(e){return Nt(Nt({},t),{},{mounted:function(t){function r(){var r=\"\".concat(rt(e.player.currentTime),\" / \").concat(rt(e.player.duration));r!==t.innerText&&(t.innerText=r)}r(),[\"video:loadedmetadata\",\"video:timeupdate\",\"video:progress\"].forEach((function(t){e.on(t,r)}))}})}}({name:\"time\",disable:i.isLive,position:\"left\",index:30})),r.add(function(t){return function(e){var r=e.option.quality,n=r.find((function(t){return t.default}))||r[0];return ee(ee({},t),{},{html:n?n.name:\"\",selector:r,onSelect:function(t){e.player.switchQuality(t.url,t.name)}})}}({name:\"quality\",disable:0===i.quality.length,position:\"right\",index:10})),r.add(function(t){return function(e){return Kt(Kt({},t),{},{tooltip:e.i18n.get(\"Screenshot\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.player;x(t,n.screenshot),r(t,\"click\",(function(){o.screenshot()}))}})}}({name:\"screenshot\",disable:!i.screenshot,position:\"right\",index:20})),r.add(function(t){return function(e){return Vt(Vt({},t),{},{tooltip:e.i18n.get(\"Hide subtitle\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.subtitle;x(t,n.subtitle),r(t,\"click\",(function(){i.toggle=!0})),e.on(\"subtitle\",(function(e){R(t,o.get(e?\"Hide subtitle\":\"Show subtitle\"))}))}})}}({name:\"subtitle\",disable:!i.subtitle.url,position:\"right\",index:30})),r.add(function(t){return function(e){return Yt(Yt({},t),{},{tooltip:e.i18n.get(\"Show setting\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.setting;x(t,n.setting),r(t,\"click\",(function(){i.toggle=!0})),e.on(\"setting\",(function(e){R(t,o.get(e?\"Hide setting\":\"Show setting\"))}))}})}}({name:\"setting\",disable:!i.setting,position:\"right\",index:40})),r.add(function(t){return function(e){return Ct(Ct({},t),{},{tooltip:e.i18n.get(\"PIP mode\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.player;x(t,n.pip),r(t,\"click\",(function(){i.pipToggle=!0})),e.on(\"pip\",(function(e){R(t,o.get(e?\"Exit PIP mode\":\"PIP mode\"))}))}})}}({name:\"pip\",disable:!i.pip,position:\"right\",index:50})),r.add(function(t){return function(e){return zt(zt({},t),{},{tooltip:e.i18n.get(\"Web fullscreen\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.player;x(t,n.fullscreenWeb),r(t,\"click\",(function(){i.fullscreenWebToggle=!0})),e.on(\"fullscreenWeb\",(function(e){R(t,o.get(e?\"Exit web fullscreen\":\"Web fullscreen\"))}))}})}}({name:\"fullscreenWeb\",disable:!i.fullscreenWeb,position:\"right\",index:60})),r.add(function(t){return function(e){return $t($t({},t),{},{tooltip:e.i18n.get(\"Fullscreen\"),mounted:function(t){var r=e.events.proxy,n=e.icons,o=e.i18n,i=e.player;x(t,n.fullscreen),r(t,\"click\",(function(){i.fullscreenToggle=!0})),e.on(\"fullscreen\",(function(e){R(t,o.get(e?\"Exit fullscreen\":\"Fullscreen\"))}))}})}}({name:\"fullscreen\",disable:!i.fullscreen,position:\"right\",index:70})),i.controls.forEach((function(t){r.add(t)}))})),r}return r(o,[{key:\"add\",value:function(t){var e=\"function\"==typeof t?t(this.art):t,r=this.art.template,n=r.$progress,i=r.$controlsLeft,a=r.$controlsRight;switch(e.position){case\"top\":this.$parent=n;break;case\"left\":this.$parent=i;break;case\"right\":this.$parent=a;break;default:L(!1,\"Control option.position must one of 'top', 'left', 'right'\")}Rt(s(o.prototype),\"add\",this).call(this,e)}}]),o}(Et);function ae(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ce(t){for(var e=1;e0.50.75').concat(r.get(\"Normal\"),'1.251.52.0'),click:function(t,e){var r=e.target.dataset.rate;r&&(n.playbackRate=Number(r),t.show=!1)},mounted:function(t){e.on(\"playbackRate\",(function(e){var r=v(\"span\",t).find((function(t){return Number(t.dataset.rate)===e}));r&&S(r,\"art-current\")}))}})}}({disable:!i.playbackRate,name:\"playbackRate\",index:10})),o.add(function(t){return function(e){var r=e.i18n,n=e.player;return se(se({},t),{},{html:\"\".concat(r.get(\"Aspect ratio\"),':').concat(r.get(\"Default\"),'4:316:9'),click:function(t,e){var r=e.target.dataset.ratio;r&&(n.aspectRatio=r,t.show=!1)},mounted:function(t){e.on(\"aspectRatio\",(function(e){var r=v(\"span\",t).find((function(t){return t.dataset.ratio===e}));r&&S(r,\"art-current\")}))}})}}({disable:!i.aspectRatio,name:\"aspectRatio\",index:20})),o.add(function(t){return function(e){return pe(pe({},t),{},{html:e.i18n.get(\"Video info\"),click:function(t){e.info.show=!0,t.show=!1}})}}({disable:!1,name:\"info\",index:30})),o.add(function(t){return de(de({},t),{},{html:'ArtPlayer 3.5.27'})}({disable:!1,name:\"version\",index:40})),o.add(function(t){return function(e){var r=e.i18n,n=e.player;return ye(ye({},t),{},{html:r.get(\"Light Off\"),click:function(t){n.light=!n.light,t.show=!1},mounted:function(t){e.on(\"light\",(function(e){t.innerText=r.get(e?\"Light On\":\"Light Off\")}))}})}}({disable:!i.light,name:\"light\",index:50})),o.add(function(t){return function(e){return ve(ve({},t),{},{html:e.i18n.get(\"Close\"),click:function(t){t.show=!1}})}}({disable:!1,name:\"close\",index:60})),i.contextmenu.forEach((function(t){o.add(t)})),s(c,\"contextmenu\",(function(t){t.preventDefault(),o.show=!0;var e=t.clientX,r=t.clientY,n=c.getBoundingClientRect(),i=n.height,a=n.width,s=n.left,u=n.top,p=l.getBoundingClientRect(),f=p.height,d=p.width,h=e-s,y=r-u;e+d>s+a&&(h=a-d),r+f>u+i&&(y=i-f),k(l,{top:\"\".concat(y,\"px\"),left:\"\".concat(h,\"px\")})})),s(c,\"click\",(function(t){D(t,l)||(o.show=!1)})),e.on(\"blur\",(function(){o.show=!1}))})),o}return n}(Et);function we(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var xe=function(e){a(n,e);var r=we(n);function n(e){var o;t(this,n),(o=r.call(this,e)).name=\"info\";var i=e.template,a=i.$infoPanel,c=i.$infoClose,l=i.$video;(0,e.events.proxy)(c,\"click\",(function(){o.show=!1}));var s=null,u=v(\"[data-video]\",a);return e.on(\"destroy\",(function(){clearTimeout(s)})),e.on(\"info\",(function(t){clearTimeout(s),t&&function t(){u.forEach((function(t){var e=l[t.dataset.video];t.innerText=\"number\"==typeof e?e.toFixed(2):e})),s=setTimeout((function(){t()}),1e3)}()})),o}return n}(Et);function Oe(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var ke=function(e){a(o,e);var n=Oe(o);function o(e){var r;t(this,o),(r=n.call(this,e)).name=\"subtitle\";var i=e.option.subtitle,a=e.template.$subtitle;return k(a,i.style),i.url&&r.init(i.url),i.bilingual&&g(a,\"art-bilingual\"),r}return r(o,[{key:\"style\",value:function(t,e){var r=this.art.template.$subtitle;return\"object\"===c(t)?k(r,t):O(r,t,e)}},{key:\"update\",value:function(){var t=this.art.template.$subtitle;t.innerHTML=\"\",this.activeCue&&(t.innerHTML=this.activeCue.text.split(/\\r?\\n/).map((function(t){return\"

    \".concat(nt(t),\"

    \")})).join(\"\"),this.art.emit(\"subtitleUpdate\",this.activeCue.text))}},{key:\"switch\",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.art,o=n.i18n,i=n.notice;return this.init(t,r).then((function(t){return r.name&&(i.show=\"\".concat(o.get(\"Switch subtitle\"),\": \").concat(r.name)),e.art.emit(\"subtitleSwitch\",t),t}))}},{key:\"init\",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.art,o=n.notice,i=n.events.proxy,a=n.option.subtitle,c=n.template,l=c.$subtitle,s=c.$video,u=c.$track;if(!u){var p=document.createElement(\"track\");p.default=!0,p.kind=\"metadata\",s.appendChild(p),this.art.template.$track=p,i(this.textTrack,\"cuechange\",this.update.bind(this))}return fetch(t).then((function(t){return t.arrayBuffer()})).then((function(n){var o=new TextDecoder(r.encoding||a.encoding).decode(n);switch(e.art.emit(\"subtitleLoad\",t),r.ext||H(t)){case\"srt\":return q(M(o));case\"ass\":return q(F(o));case\"vtt\":return q(o);default:return t}})).then((function(t){return l.innerHTML=\"\",e.url===t||(URL.revokeObjectURL(e.url),e.art.template.$track.src=t),t})).catch((function(t){throw o.show=t,t}))}},{key:\"url\",get:function(){return this.art.template.$track.src}},{key:\"textTrack\",get:function(){return this.art.template.$video.textTracks[0]}},{key:\"activeCue\",get:function(){return this.textTrack.activeCues[0]}},{key:\"bilingual\",get:function(){return w(this.art.template.$subtitle,\"art-bilingual\")},set:function(t){var e=this.art.template.$subtitle;t?g(e,\"art-bilingual\"):m(e,\"art-bilingual\")}}]),o}(Et);var je=function(){function e(r){var n=this;t(this,e),this.destroyEvents=[],this.proxy=this.proxy.bind(this),this.hover=this.hover.bind(this),this.loadImg=this.loadImg.bind(this),r.whitelist.state&&r.once(\"ready\",(function(){!function(t,e){var r=t.controls,n=t.template.$player;e.proxy(document,[\"click\",\"contextmenu\"],(function(e){D(e,n)?(t.isFocus=!0,t.emit(\"focus\")):(t.isFocus=!1,t.emit(\"blur\"))})),t.on(\"blur\",(function(){r.delayHide()}))}(r,n),function(t,e){var r=t.controls,n=t.template.$player;e.hover(n,(function(){g(n,\"art-hover\"),t.emit(\"hover\",!0)}),(function(){m(n,\"art-hover\"),t.emit(\"hover\")})),t.on(\"hover\",(function(t){t||r.delayHide()}))}(r,n),function(t,e){var r=t.template,n=r.$player,o=r.$video,i=t.player,a=t.controls;e.proxy(n,\"mousemove\",(function(e){t.emit(\"mousemove\",e)})),t.on(\"mousemove\",(function(t){a.cancelDelayHide(),m(n,\"art-hide-cursor\"),a.show=!0,i.pip||t.target!==o||a.delayHide()}))}(r,n),function(t,e){var r=t.option,n=t.player,o=tt((function(){n.normalSize&&(n.autoSize=r.autoSize),n.aspectRatioReset=!0,t.emit(\"resize\")}),500);e.proxy(window,[\"orientationchange\",\"resize\"],(function(){o()}))}(r,n),function(t,e){if(t.isMobile&&!t.option.isLive){var r=t.player,n=t.notice,o=t.template.$video,i=!1,a=0,c=0;e.proxy(o,\"touchstart\",(function(t){1===t.touches.length&&(i=!0,a=t.touches[0].clientX)})),e.proxy(document,\"touchmove\",(function(t){if(1===t.touches.length&&i){var e=et((t.touches[0].clientX-a)/o.clientWidth,-1,1);c=et(r.currentTime+60*e,0,r.duration),n.show=\"\".concat(rt(c),\" / \").concat(rt(r.duration))}})),e.proxy(document,\"touchend\",(function(){i&&c&&(r.seek=c),i=!1,a=0,c=0}))}}(r,n),function(t,e){var r=t.player,n=t.option.autoMini,o=t.template.$container,i=K((function(){t.emit(\"view\",E(o))}),200);e.proxy(window,\"scroll\",(function(){i()})),t.on(\"view\",(function(t){n&&(r.mini=!t)}))}(r,n)}))}return r(e,[{key:\"proxy\",value:function(t,e,r){var n=this,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};if(Array.isArray(e))return e.map((function(e){return n.proxy(t,e,r,o)}));t.addEventListener(e,r,o);var i=function(){return t.removeEventListener(e,r,o)};return this.destroyEvents.push(i),i}},{key:\"hover\",value:function(t,e,r){e&&this.proxy(t,\"mouseenter\",e),r&&this.proxy(t,\"mouseleave\",r)}},{key:\"loadImg\",value:function(t){var e=this;return new Promise((function(r,n){var o;if(t instanceof HTMLImageElement)o=t;else{if(\"string\"!=typeof t)return n(new C(\"Unable to get Image\"));(o=new Image).src=t}return o.complete||(e.proxy(o,\"load\",(function(){return r(o)})),e.proxy(o,\"error\",(function(){return n(new C(\"Failed to load Image: \".concat(o.src)))}))),r(o)}))}},{key:\"destroy\",value:function(){this.destroyEvents.forEach((function(t){return t()}))}}]),e}(),Pe=function(){function e(r){var n=this;t(this,e),this.keys={};var o=r.option,i=r.player,a=r.events.proxy;o.hotkey&&r.once(\"ready\",(function(){n.add(27,(function(){i.fullscreenWeb&&(i.fullscreenWeb=!1)})),n.add(32,(function(){i.toggle=!0})),n.add(37,(function(){i.backward=5})),n.add(38,(function(){i.volume+=.1})),n.add(39,(function(){i.forward=5})),n.add(40,(function(){i.volume-=.1})),a(window,\"keydown\",(function(t){if(r.isFocus){var e=document.activeElement.tagName.toUpperCase(),o=document.activeElement.getAttribute(\"contenteditable\");if(\"INPUT\"!==e&&\"TEXTAREA\"!==e&&\"\"!==o&&\"true\"!==o){var i=n.keys[t.keyCode];i&&(t.preventDefault(),i.forEach((function(t){return t.call(r)})),r.emit(\"hotkey\",t))}}}))}))}return r(e,[{key:\"add\",value:function(t,e){this.keys[t]?this.keys[t].push(e):this.keys[t]=[e]}}]),e}();function Se(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var Re=function(e){a(n,e);var r=Se(n);function n(e){var o;return t(this,n),(o=r.call(this,e)).name=\"layer\",o.$parent=e.template.$layer,e.once(\"ready\",(function(){e.option.layers.forEach((function(t){o.add(t)}))})),o}return n}(Et);function Ee(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var De=function(e){a(n,e);var r=Ee(n);function n(e){var o;return t(this,n),(o=r.call(this,e)).name=\"loading\",x(e.template.$loading,e.icons.loading),o}return n}(Et),$e=function(){function e(r){t(this,e),this.art=r,this.time=2e3,this.timer=null}return r(e,[{key:\"show\",set:function(t){var e=this.art.template,r=e.$player,n=e.$noticeInner;n.innerText=t instanceof Error?t.message.trim():t,g(r,\"art-notice-show\"),clearTimeout(this.timer),this.timer=setTimeout((function(){n.innerText=\"\",m(r,\"art-notice-show\")}),this.time)}}]),e}();function Te(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var ze=function(e){a(n,e);var r=Te(n);function n(e){var o;return t(this,n),(o=r.call(this,e)).name=\"mask\",x(e.template.$state,e.icons.state),o}return n}(Et);function Ae(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}var Ce=function e(r){var n=this;t(this,e);var o=function(t){for(var e=1;e',state:'',play:'',pause:'',volume:'',volumeClose:'',subtitle:'',screenshot:'\\t',setting:'',fullscreen:'\\t\\t\\t\\t',fullscreenWeb:'\\t',pip:''},r.option.icons);Object.keys(o).forEach((function(t){X(n,t,{get:function(){var e=document.createElement(\"i\");return g(e,\"art-icon\"),g(e,\"art-icon-\".concat(t)),x(e,o[t]),e}})}))};function Le(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Me(t){for(var e=1;e'.concat(r.get(\"Flip\"),'
    \"),click:function(t,e){var r=e.target.dataset.value;r&&(n.flip=r)},mounted:function(t){e.on(\"flip\",(function(e){var r=v(\"button\",t).find((function(t){return t.dataset.value===e}));r&&S(r.parentElement,\"current\")}))}})}}({disable:!i.flip,name:\"flip\"})),o.add(function(t){return function(e){var r=e.i18n,n=e.player;return Fe(Fe({},t),{},{html:'
    '.concat(r.get(\"Rotate\"),':
    '),click:function(t,e){var r=e.target.dataset.value;if(r){var o=n.rotate+Number(r);n.rotate=360===o||-360===o?0:o}else n.rotate=0},mounted:function(t){var r=b(\".art-rotate-value\",t);e.on(\"rotate\",(function(t){r.innerText=\"\".concat(t||0,\"°\")}))}})}}({disable:!i.rotate,name:\"rotate\"})),o.add(function(t){return function(e){var r=e.i18n,n=e.player;return We(We({},t),{},{html:'
    '.concat(r.get(\"Aspect ratio\"),'
    '),click:function(t,e){var r=e.target.dataset.value;r&&(n.aspectRatio=r)},mounted:function(t){e.on(\"aspectRatio\",(function(e){var r=v(\"button\",t).find((function(t){return t.dataset.value===e}));r&&S(r.parentElement,\"current\")}))}})}}({disable:!i.aspectRatio,name:\"aspectRatio\"})),o.add(function(t){return function(e){var r=e.i18n,n=e.player,o=e.events.proxy;return Ve(Ve({},t),{},{html:'
    '.concat(r.get(\"Play speed\"),': 1.0x
    '),mounted:function(t){var r=b(\".art-setting-range input\",t),i=b(\".art-subtitle-value\",t);o(r,\"change\",(function(){var t=r.value;i.innerText=t,n.playbackRate=Number(t)})),e.on(\"playbackRate\",(function(t){t&&r.value!==t&&(r.value=t,i.innerText=t)}))}})}}({disable:!i.playbackRate,name:\"playbackRate\"}))})),e.on(\"blur\",(function(){o.show=!1}))),o}return n}(Et),Ue=function(){function e(){t(this,e),this.name=\"artplayer_settings\"}return r(e,[{key:\"get\",value:function(t){var e=JSON.parse(localStorage.getItem(this.name))||{};return t?e[t]:e}},{key:\"set\",value:function(t,e){var r=Object.assign({},this.get(),it({},t,e));localStorage.setItem(this.name,JSON.stringify(r))}},{key:\"del\",value:function(t){var e=this.get();delete e[t],localStorage.setItem(this.name,JSON.stringify(e))}},{key:\"clean\",value:function(){localStorage.removeItem(this.name)}}]),e}();function _e(t){var e=t.i18n,r=t.subtitle,n=t.events.proxy;return{title:\"Subtitle\",name:\"subtitleOffset\",index:20,html:'
    '.concat(e.get(\"Subtitle offset time\"),': 0s
    '),mounted:function(e){var o=b(\".art-setting-range input\",e),i=b(\".art-subtitle-value\",e);n(o,\"change\",(function(){var e=o.value;i.innerText=e,t.plugins.subtitleOffset.offset(Number(e))})),t.on(\"subtitle:switch\",(function(){o.value=0,i.innerText=0})),t.on(\"subtitleOffset\",(function(t){r.update(),o.value!==t&&(o.value=t,i.innerText=t)}))}}}function Xe(t){var e=t.constructor.utils.clamp,r=t.setting,n=t.notice,o=t.template,i=t.i18n,a=t.player;r.add(_e);var c=[];return t.on(\"subtitle:switch\",(function(){c=[]})),{name:\"subtitleOffset\",offset:function(r){if(o.$track&&o.$track.track){var l=Array.from(o.$track.track.cues),s=e(r,-5,5);l.forEach((function(t,r){c[r]||(c[r]={startTime:t.startTime,endTime:t.endTime}),t.startTime=e(c[r].startTime+s,0,a.duration),t.endTime=e(c[r].endTime+s,0,a.duration)})),n.show=\"\".concat(i.get(\"Subtitle offset time\"),\": \").concat(r,\"s\"),t.emit(\"subtitleOffset\",r)}else n.show=\"\".concat(i.get(\"No subtitles found\")),t.emit(\"subtitleOffset\",0)}}}function Ye(t){var e=t.events.proxy,r=t.template,n=t.player,o=t.option,i=t.setting,a=t.i18n;function c(e){if(e){var i=r.$video.canPlayType(e.type);if(\"maybe\"===i||\"probably\"===i){var a=URL.createObjectURL(e);o.title=e.name,n.switchUrl(a,e.name),t.emit(\"localVideo\",e)}else L(!1,\"Playback of this file format is not supported\")}}function l(t){var r=x(t,'');O(t,\"position\",\"relative\"),k(r,{position:\"absolute\",width:\"100%\",height:\"100%\",left:\"0\",top:\"0\",opacity:\"0\"}),e(r,\"change\",(function(){c(r.files[0])}))}return e(r.$player,\"dragover\",(function(t){t.preventDefault()})),e(r.$player,\"drop\",(function(t){t.preventDefault(),c(t.dataTransfer.files[0])})),t.once(\"ready\",(function(){i.add({title:\"Local Video\",name:\"localVideo\",index:30,html:'
    '.concat(a.get(\"Local Video\"),'
    ').concat(a.get(\"Open\"),'
    '),mounted:function(e){var r=b(\".art-upload-btn\",e),n=b(\".art-upload-value\",e);t.on(\"localVideo\",(function(t){n.textContent=t.name,n.title=t.name})),l(r)}})})),{name:\"localVideo\",attach:l}}function Ze(t){var e=t.events.proxy,r=t.subtitle,n=t.setting,o=t.i18n;function i(n){var o=x(n,'');O(n,\"position\",\"relative\"),k(o,{position:\"absolute\",width:\"100%\",height:\"100%\",left:\"0\",top:\"0\",opacity:\"0\"}),e(o,\"change\",(function(){!function(e){if(e){var n=H(e.name);[\"ass\",\"vtt\",\"srt\"].includes(n)?(r.switch(URL.createObjectURL(e),{name:e.name,ext:n}),t.emit(\"localSubtitle\",e)):L(!1,\"Only supports subtitle files in .ass, .vtt and .srt format\")}}(o.files[0])}))}return t.once(\"ready\",(function(){n.add({title:\"Local Subtitle\",name:\"localSubtitle\",index:40,html:'
    '.concat(o.get(\"Local Subtitle\"),'
    ').concat(o.get(\"Open\"),'
    '),mounted:function(e){var r=b(\".art-upload-btn\",e),n=b(\".art-upload-value\",e);t.on(\"localSubtitle\",(function(t){n.textContent=t.name,n.title=t.name})),i(r)}})})),{name:\"localSubtitle\",attach:i}}function Je(t){var e=t.layers,r=t.player,n=t.option.theme;return e.add({name:\"miniProgressBar\",style:{display:\"none\",position:\"absolute\",left:0,right:0,bottom:0,height:\"2px\",background:n},mounted:function(e){t.on(\"control\",(function(t){e.style.display=t?\"none\":\"block\"})),t.on(\"destroy\",(function(){e.style.display=\"none\"})),t.on(\"video:timeupdate\",(function(){e.style.width=\"\".concat(100*r.played,\"%\")}))}}),{name:\"miniProgressBar\"}}function Qe(t){var e=1e4,r=0,n=0,o=0,i=null;function a(){r=0,n=0,o=0,cancelAnimationFrame(i),i=null}function c(){i||function a(){t.isDestroy||(i=requestAnimationFrame((function(){var i=Date.now();if(o){var c=i-o;n+=c,t.player.playing||(r+=c)}o=i,t.emit(\"networkMonitor\",r/n),n>=e&&(r=0,n=0),a()})))}()}return t.on(\"play\",c),t.on(\"pause\",a),{name:\"networkMonitor\",reset:a,start:c,sample:function(t){e=t}}}var Ge=function(){function e(r){var n=this;t(this,e),this.art=r,this.id=0;var o=r.option;o.subtitle.url&&o.subtitleOffset&&this.add(Xe),!o.isLive&&o.miniProgressBar&&this.add(Je),o.localVideo&&this.add(Ye),o.localSubtitle&&this.add(Ze),o.networkMonitor&&this.add(Qe),r.option.plugins.forEach((function(t){n.add(t)}))}return r(e,[{key:\"add\",value:function(t){this.id+=1;var e=t.call(this,this.art),r=e&&e.name||t.name||\"plugin\".concat(this.id);return L(!Z(this,r),\"Cannot add a plugin that already has the same name: \".concat(r)),X(this,r,{value:e}),this}}]),e}(),Ke=function e(r){t(this,e);var n=r.option,o=r.events.proxy,i=r.template.$video;bt.events.forEach((function(t){o(i,t,(function(t){r.emit(\"video:\".concat(t.type),t)}))})),Object.keys(n.moreVideoAttr).forEach((function(t){i[t]=n.moreVideoAttr[t]})),n.muted&&(i.muted=n.muted),n.volume&&(i.volume=et(n.volume,0,1)),n.poster&&(i.poster=n.poster),n.autoplay&&(i.autoplay=n.autoplay),i.controls=!0;var a=n.type||H(n.url),c=n.customType[a];a&&c?(c(i,n.url,r),r.emit(\"customType\",a)):(i.src=n.url,r.emit(\"url\",i.src))};function tr(t){var e=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=s(t);if(e){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}var er=0,rr=[],nr=function(e){a(i,e);var o=tr(i);function i(e){var r;return t(this,i),(r=o.call(this)).option=u(Q(i.option,e),yt),r.isFocus=!1,r.isDestroy=!1,r.userAgent=f,r.isMobile=d,r.isWechat=y,r.whitelist=new vt(n(r)),r.template=new gt(n(r)),r.events=new je(n(r)),r.whitelist.state?(r.storage=new Ue(n(r)),r.icons=new Ce(n(r)),r.i18n=new xt(n(r)),r.notice=new $e(n(r)),r.player=new Pt(n(r)),r.layers=new Re(n(r)),r.controls=new ie(n(r)),r.contextmenu=new me(n(r)),r.subtitle=new ke(n(r)),r.info=new xe(n(r)),r.loading=new De(n(r)),r.hotkey=new Pe(n(r)),r.mask=new ze(n(r)),r.setting=new Ne(n(r)),r.plugins=new Ge(n(r))):r.mobile=new Ke(n(r)),er+=1,r.id=er,rr.push(n(r)),r}return r(i,[{key:\"destroy\",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];this.events.destroy(),this.template.destroy(t),rr.splice(rr.indexOf(this),1),this.isDestroy=!0,this.emit(\"destroy\")}}],[{key:\"instances\",get:function(){return rr}},{key:\"version\",get:function(){return\"3.5.27\"}},{key:\"env\",get:function(){return'\"production\"'}},{key:\"config\",get:function(){return bt}},{key:\"utils\",get:function(){return ot}},{key:\"scheme\",get:function(){return yt}},{key:\"Emitter\",get:function(){return p}},{key:\"validator\",get:function(){return u}},{key:\"kindOf\",get:function(){return u.kindOf}},{key:\"option\",get:function(){return{container:\"#artplayer\",url:\"\",poster:\"\",title:\"\",theme:\"#f00\",volume:.7,isLive:!1,muted:!1,autoplay:!1,autoSize:!1,autoMini:!1,loop:!1,flip:!1,rotate:!1,playbackRate:!1,aspectRatio:!1,screenshot:!1,setting:!1,hotkey:!0,pip:!1,mutex:!0,light:!1,backdrop:!0,fullscreen:!1,fullscreenWeb:!1,subtitleOffset:!1,miniProgressBar:!1,localVideo:!1,localSubtitle:!1,networkMonitor:!1,layers:[],contextmenu:[],controls:[],quality:[],highlight:[],plugins:[],whitelist:[],switcher:[],thumbnails:{url:\"\",number:60,width:160,height:90,column:10},subtitle:{url:\"\",style:{},encoding:\"utf-8\",bilingual:!1},moreVideoAttr:{controls:!1,preload:h?\"auto\":\"metadata\"},icons:{},customType:{},lang:navigator.language.toLowerCase()}}}]),i}(p);return console.log(\"%c ArtPlayer %c 3.5.27 %c https://artplayer.org\",\"color: #fff; background: #5f5f5f\",\"color: #fff; background: #4bc729\",\"\"),nr}));\r\n","/*\r\n _ _ _ _\r\n ___| (_) ___| | __ (_)___\r\n/ __| | |/ __| |/ / | / __|\r\n\\__ \\ | | (__| < _ | \\__ \\\r\n|___/_|_|\\___|_|\\_(_)/ |___/\r\n |__/\r\n\r\n Version: 1.8.0\r\n Author: Ken Wheeler\r\n Website: http://kenwheeler.github.io\r\n Docs: http://kenwheeler.github.io/slick\r\n Repo: http://github.com/kenwheeler/slick\r\n Issues: http://github.com/kenwheeler/slick/issues\r\n\r\n */\r\n/* global window, document, define, jQuery, setInterval, clearInterval */\r\n;(function(factory) {\r\n 'use strict';\r\n if (typeof define === 'function' && define.amd) {\r\n define(['jquery'], factory);\r\n } else if (typeof exports !== 'undefined') {\r\n module.exports = factory(require('jquery'));\r\n } else {\r\n factory(jQuery);\r\n }\r\n\r\n}(function($) {\r\n 'use strict';\r\n var Slick = window.Slick || {};\r\n\r\n Slick = (function() {\r\n\r\n var instanceUid = 0;\r\n\r\n function Slick(element, settings) {\r\n\r\n var _ = this, dataSettings;\r\n\r\n _.defaults = {\r\n accessibility: true,\r\n adaptiveHeight: false,\r\n appendArrows: $(element),\r\n appendDots: $(element),\r\n arrows: true,\r\n asNavFor: null,\r\n prevArrow: '',\r\n nextArrow: '',\r\n autoplay: false,\r\n autoplaySpeed: 3000,\r\n centerMode: false,\r\n centerPadding: '50px',\r\n cssEase: 'ease',\r\n customPaging: function(slider, i) {\r\n return $('