PageSourceSearch

https://www.kplctv.com/pf/dist/components/combinations/default.js?d=595&mxId=00000000

js kplctv.com collected 2026-09-24 17:10:07 UTC 1,349,032 bytes, 2 lines download raw bytes

1/*! For license information please see default.js.LICENSE.txt */
2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fusion:prop-types"),require("prop-types"),require("react"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:intl"),require("fusion:unpack")):"function"==typeof define&&define.amd?define([,,,,,,,,,,,],t):"object"==typeof exports?exports.Fusion=t(require("fusion:prop-types"),require("prop-types"),require("react"),require("fusion:jsx:content"),require("fusion:jsx:context"),require("fusion:jsx:layout"),require("fusion:jsx:quarantine"),require("fusion:jsx:static"),require("fusion:environment"),require("fusion:properties"),require("fusion:intl"),require("fusion:unpack")):(e.Fusion=e.Fusion||{},e.Fusion.components=t(e.PropTypes,e.PropTypes,e.React,e.Fusion.Content,e.Fusion.Context,e.Fusion.Layout,e.Fusion.Quarantine,e.Fusion.Static,e.Fusion.environment,e.Fusion.getProperties,e.Fusion.getTranslatedPhrases,e.Fusion.unpack))}(this,function(__WEBPACK_EXTERNAL_MODULE__6780__,__WEBPACK_EXTERNAL_MODULE__9894__,__WEBPACK_EXTERNAL_MODULE__809__,__WEBPACK_EXTERNAL_MODULE__4375__,__WEBPACK_EXTERNAL_MODULE__4321__,__WEBPACK_EXTERNAL_MODULE__2986__,__WEBPACK_EXTERNAL_MODULE__1592__,__WEBPACK_EXTERNAL_MODULE__9626__,__WEBPACK_EXTERNAL_MODULE__3993__,__WEBPACK_EXTERNAL_MODULE__7983__,__WEBPACK_EXTERNAL_MODULE__7508__,__WEBPACK_EXTERNAL_MODULE__1534__){return function(){var __webpack_modules__={742:function(e,t,r){const n=r(2986),i=r(1592),o=r(1534),a={};a.chains=a.chains||{},a.features=a.features||{},a.layouts=a.layouts||{},a.chains.ArticleBody=i(o(r(986))),a.chains.DefaultChain=i(o(r(2452))),a.chains.DoubleChain=i(o(r(4194))),a.features["Ads/ArcAds"]=i(o(r(5267))),a.features["Ads/Connatix"]=i(r(6502)),a.features["Ads/OutbrainFeature"]=i(o(r(591))),a.features["Ads/OutbrainFeed"]=i(o(r(4130))),a.features["Article/Body"]=i(o(r(734))),a.features["Article/Header"]=i(o(r(5570))),a.features["Article/Tags"]=i(o(r(2313))),a.features["Auth/Account"]=r(3174)(null,null,()=>Promise.all([r.e(837),r.e(63)]).then(r.bind(r,6837))),a.features["Author/Spotlight"]=i(r(6502)),a.features["Engagement/ActionBar"]=i(o(r(238))),a.features["Engagement/AudienceExperience"]=i(o(r(7775))),a.features["Engagement/Comments"]=i(o(r(2917))),a.features["Engagement/JoinTheConvoTeaser"]=i(o(r(3367))),a.features["Games/PuzzleMePuzzle"]=r(3174)(null,null,()=>Promise.all([r.e(580),r.e(444)]).then(r.bind(r,2580))),a.features["Games/PuzzlesPromo"]=i(o(r(2759))),a.features["global/AuthorBio"]=r(3174)(null,null,()=>r.e(904).then(r.bind(r,3904))),a.features["global/BreakingNewsBar"]=i(o(r(391))),a.features["global/BurstUgcWidget"]=i(o(r(7266))),a.features["global/ErrorMessage"]=i(o(r(8364))),a.features["global/EventCalendar"]=i(r(6502)),a.features["global/FlexFeature"]=i(o(r(346))),a.features["global/FlexFeatureFeed"]=i(o(r(2944))),a.features["global/Footer"]=i(o(r(6394))),a.features["global/Hero"]=i(o(r(8535))),a.features["global/HtmlBox"]=i(o(r(3185))),a.features["global/Masthead"]=i(o(r(4715))),a.features["global/MeetTheTeam"]=i(o(r(5369))),a.features["global/Navigation"]=i(o(r(721))),a.features["global/OneTrustCookiesList"]=i(o(r(4912))),a.features["global/QuerylyAdvancedSearch"]=i(r(6502)),a.features["global/SalesNavigation"]=i(o(r(2537))),a.features["global/SecondStreetSubForm"]=i(o(r(156))),a.features["global/SectionTopper"]=i(o(r(991))),a.features["global/SitemapListing"]=i(o(r(2121))),a.features["global/Text"]=i(o(r(7302))),a.features["global/TvListings"]=i(o(r(4782))),a.features["GSync/ClosingsDetailed"]=r(3174)(null,null,()=>r.e(364).then(r.bind(r,5983))),a.features["GSync/ElectionResults"]=r(3174)(null,null,()=>r.e(307).then(r.bind(r,307))),a.features["GSync/ElectionResultsFeatured"]=r(3174)(null,null,()=>Promise.all([r.e(307),r.e(929)]).then(r.bind(r,929))),a.features["GSync/GPoll"]=i(o(r(7338))),a.features["GSync/SportsScores"]=i(o(r(8122))),a.features["VisualMedia/AccPlaylistPlayer"]=i(o(r(768))),a.features["VisualMedia/ArcVideoPromo"]=i(o(r(7340))),a.features["VisualMedia/Header"]=i(o(r(9239))),a.features["VisualMedia/ImageGallery"]=r(3174)(null,null,()=>Promise.resolve().then(r.bind(r,9403))),a.features["VisualMedia/LiveVideo"]=i(o(r(8567))),a.features["VisualMedia/Playlist"]=i(o(r(1641))),a.features["VisualMedia/QuickplayLivePlayer"]=i(o(r(8893))),a.features["VisualMedia/QuickplayVideoPlayer"]=i(o(r(7786))),a.features["VisualMedia/SyncbakLivePlayer"]=i(o(r(6546))),a.features["VisualMedia/SyncbakVideoPlayer"]=i(o(r(2161))),a.features["VisualMedia/Video"]=i(o(r(891))),a.features["Weather/AlertsBar"]=r(3174)(null,null,()=>r.e(782).then(r.bind(r,9782))),a.features["Weather/AlertsDetailed"]=r(3174)(null,null,()=>r.e(8).then(r.bind(r,4008))),a.features["Weather/ConditionsImagery"]=r(3174)(null,null,()=>r.e(880).then(r.bind(r,7880))),a.features["Weather/CurrentConditions"]=r(3174)(null,null,()=>Promise.all([r.e(446),r.e(301)]).then(r.bind(r,2446))),a.features["Weather/FeaturedImagery"]=i(o(r(4754))),a.features["Weather/ForecastDetailed"]=r(3174)(null,null,()=>Promise.all([r.e(843),r.e(682)]).then(r.bind(r,6843))),a.features["Weather/Radar"]=r(3174)(null,null,()=>r.e(126).then(r.bind(r,7126))),a.features["Weather/SkyCameras"]=r(3174)(null,null,()=>r.e(422).then(r.bind(r,6422))),a.features["Weather/TodaysForecast"]=r(3174)(null,null,()=>
2r.e(102).then(r.bind(r,8102))),a.layouts["ArticleCentered-v2"]=n(o(r(5598))),a.layouts.ArticleCentered=n(o(r(3215))),a.layouts["ArticleRightRail-v2"]=n(o(r(2572))),a.layouts.ArticleRightRail=n(o(r(4369))),a.layouts.Bare=n(o(r(977))),a.layouts.Basic=n(o(r(5332))),a.layouts.Homepage=n(o(r(9789))),a.layouts.HomepageAlternate=n(o(r(3323))),a.layouts.OlympicPage=n(o(r(485))),a.layouts.SectionWithSpotlightRows=n(o(r(1413))),e.exports=a},1478:function(e){"undefined"!=typeof self&&self,e.exports=(()=>{var e={
vendor: 378 bytes, line 2
2"./node_modules/anylogger-console/anylogger-console.cjs.js":(e,t,r)=>{function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(r("./node_modules/anylogger/anylogger.cjs.js"));i.default.ext=function(e){var t="undefined"!=typeof console&&console;for(var r in i.default.levels)e[r]=t&&(t[r]||t.log)||function(){};return e.enabledFor=function(){return!0},e}},
vendor: 556 bytes, line 2
2"./node_modules/anylogger/anylogger.cjs.js":e=>{var t=Object.create(null),r=function(e,n){return e?t[e]||(t[e]=r.ext(r.new(e,n))):t};r.levels={error:1,warn:2,info:3,log:4,debug:5,trace:6},r.new=function(e,t){var n={};n[e]=function(){r.log(e,[].slice.call(arguments))};try{Object.defineProperty(n[e],"name",{get:function(){return e}})}catch(e){}return n[e]},r.log=function(e,n){var i=n.length>1&&r.levels[n[0]]?n.shift():"log";t[e][i].apply(t[e],n)},r.ext=function(e){for(var t in e.enabledFor=function(){},r.levels)e[t]=function(){};return e},e.exports=r},
2"./src/services/amazon.js":(e,t,r)=>{"use strict";function n(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null,a=r;if(n&&void 0!==window.innerWidth&&void 0!==r[0][0][0]){for(var s=window.innerWidth,l=-1,u=n.length,c=0;c<u;c++)if(s>=n[c][0]){l=c;break}a=r[l]}i(function(){var r={slotName:t,slotID:e,sizes:a};window.apstag.fetchBids({slots:[r]},function(){window.apstag.setDisplayBids(),o&&o()})})}function i(e){window.apstag&&e()}r.r(t),r.d(t,{fetchAmazonBids:()=>n,queueAmazonCommand:()=>i})},
2"./src/services/gpt.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{initializeGPT:()=>a,refreshSlot:()=>s,queueGoogletagCommand:()=>l,setTargeting:()=>u,dfpSettings:()=>c,determineSlotName:()=>d});var n=r("./src/util/resources.js"),i=r("./src/util/query.js"),o=r("./src/util/log.js");function a(){window.googletag=window.googletag||{},window.googletag.cmd=window.googletag.cmd||[],(0,n.appendResource)("script","//securepubads.g.doubleclick.net/tag/js/gpt.js",!0,!0),(0,o.sendLog)("initializeGPT()","Appended googletag script to the head tag of the page.",null)}function s(e){var t=e.ad,r=e.correlator,n=void 0!==r&&r,i=e.prerender,a=void 0===i?null:i,s=e.info,l=void 0===s?{}:s;function u(){if(window.blockArcAdsLoad)return"blockArcAdsLoad";window.googletag&&googletag.pubadsReady?window.googletag.pubads().refresh([t],{changeCorrelator:n}):setTimeout(function(){u()},200)}new Promise(function(e){if(a)try{a(l).then(function(){e("Prerender function has completed.")})}catch(t){console.warn("ArcAds: Prerender function did not return a promise or there was an error.\n          Documentation: https://github.com/washingtonpost/arcads/wiki/Utilizing-a-Prerender-Hook"),e("Prerender function did not return a promise or there was an error, ignoring.")}else e("No Prerender function was provided.")}).then(function(){u()}).catch(function(e){(0,o.sendLog)("header bidding","init error",e)})}function l(e){window.googletag.cmd.push(e)}function u(e,t){for(var r in t)t.hasOwnProperty(r)&&t[r]&&e.setTargeting(r,t[r])}function c(e){window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.collapseEmptyDivs&&((0,o.sendLog)("dfpSettings()","This wrapper is set to collapse any empty divs.",null),window.googletag.pubads().collapseEmptyDivs()),window.googletag.enableServices(),e&&((0,o.sendLog)("dfpSettings()","This wrapper has a function to call upon the slot render ending.",null),window.googletag.pubads().addEventListener("slotRenderEnded",e))}function d(e,t){var r=(0,i.expandQueryString)("adslot");return!r||""===r&&null===r?"/".concat(e,"/").concat(t):"/".concat(e,"/").concat(r)}},
2"./src/services/headerbidding.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{initializeBiddingServices:()=>s,fetchBids:()=>l});var n=r("./src/services/prebid.js"),i=r("./src/services/amazon.js"),o=r("./src/services/gpt.js"),a=r("./src/util/log.js");function s(e){var t=e.prebid,r=void 0!==t&&t,n=e.amazon,o=void 0!==n&&n;if(window.arcBiddingReady)(0,a.sendLog)("initializeBiddingServices()","Header bidding has been previously initialized",null);else{window.arcBiddingReady=!1;var s=new Promise(function(e){if(r&&r.enabled){if("undefined"==typeof pbjs){var t=t||{};t.que=t.que||[]}e("Prebid has been initialized")}else(0,a.sendLog)("initializeBiddingServices()","Prebid is not enabled on this wrapper.",null),e("Prebid is not enabled on the wrapper...")}),l=new Promise(function(e){o&&o.enabled&&window.apstag?o.id&&""!==o.id?(0,i.queueAmazonCommand)(function(){window.apstag.init({pubID:o.id,adServer:"googletag"}),e("Amazon scripts have been added onto the page!")}):(console.warn("ArcAds: Missing Amazon account id. \n          Documentation: https://github.com/washingtonpost/arcads#amazon-tama9"),(0,a.sendLog)("initializeBiddingServices()","Amazon is not enabled on this wrapper.",null),e("Amazon is not enabled on the wrapper...")):e("Amazon is not enabled on the wrapper...")});Promise.all([s,l]).then(function(){window.arcBiddingReady=!0}).catch(function(e){(0,a.sendLog)("header bidding","init error",e)})}}function l(e){var t=this,r=e.ad,l=e.id,u=e.slotName,c=e.dimensions,d=e.wrapper,h=e.bidding,f=e.correlator,p=void 0!==f&&f,m=e.prerender,g=e.breakpoints,b={adUnit:r,adSlot:u,adDimensions:c,adId:l,bids:h},y=new Promise(function(e){if(d.prebid&&d.prebid.enabled){var i=d.prebid.timeout||700;n.queuePrebidCommand.bind(t,(0,n.fetchPrebidBids)(r,d.prebid.useSlotForAdUnit?u:l,i,b,m,function(){e("Fetched Prebid ads!")}))}else e("Prebid is not enabled on the wrapper...")}),v=new Promise(function(e){d.amazon&&d.amazon.enabled?(0,i.fetchAmazonBids)(l,u,c,g,function(){e("Fetched Amazon ads!")}):e("Amazon is not enabled on the wrapper...")});window.arcBiddingReady?Promise.all([y,v]).then(function(){(0,o.refreshSlot)({ad:r,correlator:p,prerender:m,info:b})}).catch(function(e){(0,a.sendLog)("header bidding","init error",e)}):setTimeout(function(){return s()},200)}},
2"./src/services/prebid.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{queuePrebidCommand:()=>s,fetchPrebidBidsArray:()=>l,fetchPrebidBids:()=>u,addUnit:()=>c});var n=r("./src/services/gpt.js");function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function s(e){pbjs.que.push(e)}function l(e,t,r,i,o){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;pbjs.addAdUnits(i),window.blockArcAdsPrebid||pbjs.requestBids({timeout:r,adUnitCodes:t,bidsBackHandler:function(r){console.log("Bid Back Handler",r),pbjs.setTargetingForGPTAsync(t),a?a():(0,n.refreshSlot)({ad:e,info:i,prerender:o})}})}function u(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null,a=n;a.bids=Array.isArray(n.bids)?n.bids:[n.bids],l(e,[t],r,a,i,o)}function c(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=o({code:e,bids:r},arguments.length>4&&void 0!==arguments[4]?arguments[4]:{});i.mediaTypes={banner:{sizes:t}};var a=n.sizeConfig,s=n.config;pbjs.addAdUnits(i),s?pbjs.setConfig(s):a&&pbjs.setConfig({sizeConfig:a})}},
2"./src/services/sizemapping.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{sizemapListeners:()=>s,resizeListeners:()=>l,prepareSizeMaps:()=>u,parseSizeMappings:()=>c,runResizeEvents:()=>d,setResizeListener:()=>h});var n=r("./src/util/debounce.js"),i=r("./src/services/headerbidding.js"),o=r("./src/services/gpt.js"),a=r("./src/util/log.js"),s={},l={};function u(e,t){var r=[],n=[],i=[],o=t.length?t:null;return o&&e&&o.forEach(function(t,o){r.push([t,e[o]]),-1===n.indexOf(t[0])&&(n.push(t[0]),i.push(!1))}),n.sort(function(e,t){return e-t}),{mapping:r,breakpoints:n,correlators:i}}function c(e){try{var t=[window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight],r=e.filter(function(e){return e[0][0]<=t[0]&&e[0][1]<=t[1]}),n=r.length>0?r[0][1]:[];return n.length>0&&n[0].constructor!==Array&&(n=[n]),n}catch(t){return(0,a.sendLog)("parseSizeMappings()","invalid size mapping",null),e[e.length-1][1]}}function d(e){var t,r=!1;if(e.breakpoints){var n=window.innerWidth;t=e.breakpoints.filter(function(e){return e<n}).pop()||e.breakpoints[0]}return function(){for(var n,a,l=e.ad,u=e.breakpoints,d=e.id,h=e.bidding,f=e.mapping,p=e.slotName,m=e.wrapper,g=e.prerender,b=window.innerWidth,y=0;y<u.length;y++){if(n=u[y],a=u[y+1],t!==n&&(b>n&&(b<a||!a)||b===n&&!r)){t=n,r=!0;var v=c(f),w={adUnit:l,adSlot:p,adDimensions:v,adId:d};h.prebid&&h.prebid.enabled||h.amazon&&h.amazon.enabled?(0,i.fetchBids)({ad:l,id:d,slotName:p,dimensions:v,bidding:h,wrapper:m,prerender:g,correlator:s[d].correlators[y],breakpoints:u}):(0,o.refreshSlot)({ad:l,correlator:s[d].correlators[y],prerender:g,info:w})}s[d].correlators[y]=!0}}}function h(e){var t=e.id,r=e.correlators;l[t]=(0,n.debounce)(d(e),250),window.addEventListener("resize",l[t]),s[t]={listener:l[t],correlators:r}}},
2"./src/util/debounce.js":(e,t,r)=>{"use strict";function n(e,t){var r;return function(){for(var n=this,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];clearTimeout(r),r=setTimeout(function(){r=null,e.apply(n,o)},t)}}r.r(t),r.d(t,{debounce:()=>n})},
2"./src/util/log.js":(e,t,r)=>{"use strict";r.r(t),r.d(t,{sendLog:()=>o});var n=r("./node_modules/anylogger/anylogger.cjs.js"),i=r.n(n);function o(e,t,r){try{"true"===new URLSearchParams(window.location.search).get("debug")&&i()("arcads.js")({service:"ArcAds",timestamp:"".concat(new Date),"logging from":e,description:t,slotName:r})}catch(e){console.error(e)}}r("./node_modules/anylogger-console/anylogger-console.cjs.js")},
2"./src/util/mobile.js":(e,t,r)=>{"use strict";function n(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}r.r(t),r.d(t,{MobileDetection:()=>i,default:()=>o});var i=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}var t,r,i;return t=e,i=[{key:"Android",value:function(){return!!navigator.userAgent.match(/Android/i)}},{key:"AndroidOld",value:function(){return!!navigator.userAgent.match(/Android 2.3.3/i)}},{key:"AndroidTablet",value:function(){return!(!navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/Mobile/i))}},{key:"Kindle",value:function(){return!!navigator.userAgent.match(/Kindle/i)}},{key:"KindleFire",value:function(){return!!navigator.userAgent.match(/KFOT/i)}},{key:"Silk",value:function(){return!!navigator.userAgent.match(/Silk/i)}},{key:"BlackBerry",value:function(){return!!navigator.userAgent.match(/BlackBerry/i)}},{key:"iOS",value:function(){return!!navigator.userAgent.match(/iPhone|iPad|iPod/i)}},{key:"iPhone",value:function(){return!!navigator.userAgent.match(/iPhone|iPod/i)}},{key:"iPad",value:function(){return!!navigator.userAgent.match(/iPad/i)}},{key:"Windows",value:function(){return!!navigator.userAgent.match(/IEMobile/i)}},{key:"FirefoxOS",value:function(){return!!navigator.userAgent.match(/Mozilla/i)&&!!navigator.userAgent.match(/Mobile/i)}}
2,{key:"Retina",value:function(){return window.retina||window.devicePixelRatio>1}},{key:"any",value:function(){return this.Android()||this.Kindle()||this.KindleFire()||this.Silk()||this.BlackBerry()||this.iOS()||this.Windows()||this.FirefoxOS()}}],(r=null)&&n(t.prototype,r),i&&n(t,i),e}();const o=i},
2"./src/util/query.js":(e,t,r)=>{"use strict";function n(e){var t=window.location.href,r=e.replace(/[[\]]/g,"\\$&"),n=new RegExp("[?&]".concat(r,"(=([^&#]*)|&|#|$)")).exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}r.r(t),r.d(t,{expandQueryString:()=>n})},
2"./src/util/resources.js":(e,t,r)=>{"use strict";function n(e,t,r,n,i){var o=document.createElement(e);"script"===e&&void 0===document.querySelectorAll('script[src="'.concat(t,'"]'))[0]&&(o.src=t,o.async=r||!1,o.defer=r||n||!1,(document.head||document.documentElement).appendChild(o),i&&i())}r.r(t),r.d(t,{appendResource:()=>n})}
2},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var n={};return(()=>{"use strict";r.r(n),r.d(n,{ArcAds:()=>f});var e=r("./src/util/mobile.js"),t=r("./src/util/log.js"),i=r("./src/services/headerbidding.js"),o=r("./src/services/gpt.js"),a=r("./src/services/prebid.js"),s=r("./src/services/sizemapping.js");function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function h(e){return Array.isArray(e)?1+Math.max.apply(Math,c(e.map(function(e){return h(e)}))):0}var f=function(){function r(n){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;l(this,r),this.dfpId=n.dfp.id||"",this.wrapper=n.bidding||{},this.positions=[],this.collapseEmptyDivs=n.dfp.collapseEmptyDivs,this.adsList=[],window.isMobile=e.MobileDetection,""===this.dfpId?(console.warn("ArcAds: DFP id is missing from the arcads initialization script.","\n","Documentation: https://github.com/washingtonpost/arcads#getting-started"),(0,t.sendLog)("constructor()","The DFP id missing from the arcads initialization script. ArcAds cannot proceed.",null)):((0,o.initializeGPT)(),(0,o.queueGoogletagCommand)(o.dfpSettings.bind(this,a)),(0,i.initializeBiddingServices)(this.wrapper))}var n,d,f;return n=r,f=[{key:"setAdsBlockGate",value:function(){var e=r.getWindow();void 0!==e&&(e.blockArcAdsLoad=!0)}},{key:"releaseAdsBlockGate",value:function(){var e=r.getWindow();void 0!==e&&(e.blockArcAdsLoad=!1)}},{key:"getWindow",value:function(){return window}}],(d=[{key:"registerAd",value:function(e){var r=e.id,n=e.slotName,i=e.dimensions,s=e.adType,l=void 0!==s&&s,u=e.targeting,d=void 0===u?{}:u,f=e.display,p=void 0===f?"all":f,m=e.bidding,g=void 0!==m&&m,b=e.iframeBidders,y=void 0===b?["openx"]:b,v=e.others,w=void 0===v?{}:v,x=[],M=!1,_=h(i);i&&void 0!==i&&1===_||i&&void 0!==i&&i.length>0&&2===_?x.push.apply(x,c(i)):i&&i.forEach(function(e){x.push.apply(x,c(e))});try{if(!(d&&d.hasOwnProperty("position")||!1===l)){var O=this.positions[l]+1||1;this.positions[l]=O;var j=Object.assign(d,{position:O});Object.assign(e,{targeting:j})}var S=g.prebid&&(g.prebid.enabled&&g.prebid.bids||void 0===g.prebid.enabled&&g.prebid.bids);if(isMobile.any()&&"mobile"===p||!isMobile.any()&&"desktop"===p||"all"===p){if(S&&this.wrapper.prebid&&this.wrapper.prebid.enabled&&x){pbjs&&y.length>0&&pbjs.setConfig({userSync:{iframeEnabled:!0,filterSettings:{iframe:{bidders:y,filter:"include"}}}});var A=this.wrapper.prebid.useSlotForAdUnit?(0,o.determineSlotName)(this.dfpId,n):r;a.queuePrebidCommand.bind(this,(0,a.addUnit)(A,x,g.prebid.bids,this.wrapper.prebid,w))}(M=this.displayAd.bind(this,e))&&((0,t.sendLog)("registerAd()","Queuing Google Tag command for ad",n),(0,o.queueGoogletagCommand)(M))}}catch(e){console.error("ads error",e)}}},{key:"registerAdCollection",value:function(e){var t=this;e.forEach(function(e){t.registerAd(e)})}},{key:"registerAdCollectionSingleCall",value:function(e){var r=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:700;(0,t.sendLog)("registerAdCollectionSingleCall()","Registering all reserved ads",null),window.blockArcAdsLoad=!0,window.blockArcAdsPrebid=!0,e.forEach(function(e){r.registerAd(e)}),window.blockArcAdsLoad=!1,window.blockArcAdsPrebid=!1,pbjs.requestBids({timeout:n,bidsBackHandler:function(e){console.log("Bid Back Handler",e),pbjs.setTargetingForGPTAsync(),window.googletag.pubads().refresh(window.adsList),window.adsList=[]}})}},{key:"displayAd",value:function(e){var r=e.id,n=e.slotName,a=e.dimensions,l=e.targeting,u=e.sizemap,c=void 0!==u&&u,d=e.bidding,h=void 0!==d&&d,f=e.prerender,p=void 0===f?null:f,m=(0,o.determineSlotName)(this.dfpId,n),g=a&&!a.length?null:a,b=a?window.googletag.defineSlot(m,g,r):window.googletag.defineOutOfPageSlot(m,r);if(c&&c.breakpoints&&a){var y=(0,s.prepareSizeMaps)(g,c.breakpoints),v=y.mapping,w=y.breakpoints,x=y.correlators;if(!b)return(0,t.sendLog)("displayAd()","No ad available to display - the div was either not defined or an ad with the same slot name already exists on the page",n),!1;b.defineSizeMapping(v),c.refresh&&((0,t.sendLog)("displayAd()","Attaching resize listener to the ad with this slot name and sizemap defined",n),(0,s.setResizeListener)({ad:b,slotName:m,breakpoints:w,id:r,mapping:v,correlators:x,bidding:h,wrapper:this.wrapper,prerender:p}))}b&&(b.addService(window.googletag.pubads()),(0,o.setTargeting)(b,l));var M=c&&c.breakpoints?c.breakpoints:[];window.adsList&&b&&adsList.push(b),a&&h&&(h.amazon&&h.amazon.enabled||h.prebid&&h.prebid.enabled)?((0,t.sendLog)("displayAd()","Fetching bids for ad with this slot name",n),(0,i.fetchBids)({ad:b,i
vendor: 6,014 bytes, line 2
2d:r,slotName:m,dimensions:g,wrapper:this.wrapper,prerender:p,bidding:h,breakpoints:M})):window.blockArcAdsPrebid||((0,t.sendLog)("displayAd()","Refreshing ad with this slot name",n),(0,o.refreshSlot)({ad:b,prerender:p,info:{adUnit:b,adSlot:m,adDimensions:g,adId:r}}))}},{key:"sendSingleCallAds",value:function(){var e=this,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:700;if(this.adsList&&this.adsList.length<1)return(0,t.sendLog)("sendSingleCallAds()","No ads have been reserved on the page",null),!1;window&&window.googletag&&googletag.pubadsReady?(window.googletag.pubads().disableInitialLoad(),window.googletag.pubads().enableSingleRequest(),window.googletag.pubads().enableAsyncRendering(),this.registerAdCollectionSingleCall(this.adsList,r)):setTimeout(function(){e.sendSingleCallAds()},2e3)}},{key:"reserveAd",value:function(e){r.setAdsBlockGate(),this.adsList.push(e)}},{key:"setPageLeveTargeting",value:function(e,t){googletag.pubads().setTargeting(e,t)}}])&&u(n.prototype,d),f&&u(n,f),r}()})(),n})()},8755:function(e,t,r){"use strict";r.d(t,{A:function(){return mr}});var n={};function i(e,t){return function(){return e.apply(t,arguments)}}r.r(n),r.d(n,{hasBrowserEnv:function(){return Fe},hasStandardBrowserEnv:function(){return Ve},hasStandardBrowserWebWorkerEnv:function(){return He},navigator:function(){return $e},origin:function(){return We}});var o=r(8605).Y,a=r(2067);const{toString:s}=Object.prototype,{getPrototypeOf:l}=Object,{iterator:u,toStringTag:c}=Symbol,d=(({hasOwnProperty:e})=>(t,r)=>e.call(t,r))(Object.prototype),h=e=>"string"==typeof e&&("__proto__"===e||"constructor"===e||"prototype"===e),f=(e,t,r)=>e===Object.prototype||!r&&null===t,p=(e,t)=>{let r=e;const n=[];for(;null!=r;){if(-1!==n.indexOf(r))return!1;n.push(r);const i=l(r);if(f(r,i,r===e))return!1;if(d(r,t))return!0;r=i}return!1},m=(g=Object.create(null),e=>{const t=s.call(e);return g[t]||(g[t]=t.slice(8,-1).toLowerCase())});var g;const b=e=>(e=e.toLowerCase(),t=>m(t)===e),y=e=>t=>typeof t===e,{isArray:v}=Array,w=y("undefined");function x(e){return null!==e&&!w(e)&&null!==e.constructor&&!w(e.constructor)&&O(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const M=b("ArrayBuffer");const _=y("string"),O=y("function"),j=y("number"),S=e=>null!==e&&"object"==typeof e,A=e=>{if(!S(e))return!1;const t=l(e);return!(null!==t&&t!==Object.prototype&&null!==l(t)||p(e,c)||p(e,u))},P=b("Date"),k=b("File"),T=b("Blob"),E=b("FileList"),C=b("Set");const D="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:{},N=void 0!==D.FormData?D.FormData:void 0,I=b("URLSearchParams"),[R,L,B,q]=["ReadableStream","Request","Response","Headers"].map(b);function U(e,t,{allOwnKeys:r=!1}={}){if(null==e)return;let n,i;if("object"!=typeof e&&(e=[e]),v(e))for(n=0,i=e.length;n<i;n++)t.call(null,e[n],n,e);else{if(x(e))return;const i=r?Object.getOwnPropertyNames(e):Object.keys(e),o=i.length;let a;for(n=0;n<o;n++)a=i[n],t.call(null,e[a],a,e)}}function z(e,t){if(x(e))return null;t=t.toLowerCase();const r=Object.keys(e);let n,i=r.length;for(;i-- >0;)if(n=r[i],t===n.toLowerCase())return n;return null}const F="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:r.g,$=e=>!w(e)&&e!==F;const V=(H="undefined"!=typeof Uint8Array&&l(Uint8Array),e=>H&&e instanceof H);var H;const W=b("HTMLFormElement"),{propertyIsEnumerable:G}=Object.prototype,K=b("RegExp"),Z=(e,t)=>{const r=Object.getOwnPropertyDescriptors(e),n={};U(r,(r,i)=>{let o;!1!==(o=t(r,i,e))&&(n[i]=o||r)}),Object.defineProperties(e,n)};const X=b("AsyncFunction"),Y=(J="function"==typeof o,Q=O(F.postMessage),J?o:Q?(ee=`axios@${Math.random()}`,te=[],F.addEventListener("message",({source:e,data:t})=>{e===F&&t===ee&&te.length&&te.shift()()},!1),e=>{te.push(e),F.postMessage(ee,"*")}):e=>setTimeout(e));var J,Q,ee,te;const re="undefined"!=typeof queueMicrotask?queueMicrotask.bind(F):void 0!==a&&a.nextTick||Y,ne=e=>null!=e&&O(e[u]);var ie={isArray:v,isArrayBuffer:M,isBuffer:x,isFormData:e=>{if(!e)return!1;if(N&&e instanceof N)return!0;const t=l(e);if(!t||t===Object.prototype)return!1;if(!O(e.append))return!1;const r=m(e);return"formdata"===r||"object"===r&&O(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&M(e.buffer),t},isString:_,isNumber:j,isBoolean:e=>!0===e||!1===e,isObject:S,isPlainObject:A,isEmptyObject:e=>{if(!S(e)||x(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:R,isRequest:L,isResponse:B,isHeaders:q,isUndefined:w,isDate:P,isFile:k,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:T,isRegExp:K,isFunction:O,isStream:e=>S(e)&&O(e.pipe),isURLSearchParams:I,isTypedArray:V,isFileList:E,forEach:U,merge:function e(...t){const{caseless:r,skipUndefined:n}=$(this)&&this||{},i={},o=(t,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=r&&"string"==typeof o&&z(i,o)||o,s=d(i,a)?i[a]:void 0;A(s)&&A(t)?i[a]=e(s,t):A(t)?i[a]=e({},t):v(t)?i[a]=t.slice():n&&w(t)||(i[a]=t)};for(let e=0,r=t.length;e<r;e++){const r=t[e];if(!r||x(r))continue;if(U(r,o),"object"!=typeof r||v(r))continue;const n=Object.getOwnPropertySymbols(r);for(let e=0;e<n.length;e++){const t=n[e];G.call(r,t)&&o(r[t],t)}}return i},extend:(e,t,r,{allOwnKeys:n}={})=>(U(t,(t,n)=>{r&&O(t)?Object.defineProperty(e,n,{__proto__:null,value:i(t,r),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,n,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:n}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,
vendor: 9,346 bytes, line 2
2configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{let i,o,a;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),o=i.length;o-- >0;)a=i[o],n&&!n(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==r&&l(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:m,kindOfTest:b,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;const n=e.indexOf(t,r);return-1!==n&&n===r},toArray:e=>{if(!e)return null;if(v(e))return e;let t=e.length;if(!j(t))return null;const r=new Array(t);for(;t-- >0;)r[t]=e[t];return r},forEachEntry:(e,t)=>{const r=(e&&e[u]).call(e);let n;for(;(n=r.next())&&!n.done;){const r=n.value;t.call(e,r[0],r[1])}},matchAll:(e,t)=>{let r;const n=[];for(;null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:W,hasOwnProperty:d,hasOwnProp:d,hasOwnInPrototypeChain:p,getSafeProp:(e,t)=>null!=e&&p(e,t)?e[t]:void 0,toSafeFlatObject:e=>{if(null==e||"object"!=typeof e&&"function"!=typeof e)return e;const t=l(e);if(null===t&&(e=>{if(!Object.isExtensible(e))return!1;const t=Object.getOwnPropertyNames(e);return Object.getOwnPropertySymbols&&t.push(...Object.getOwnPropertySymbols(e)),t.every(t=>{if(h(t))return!1;const r=Object.getOwnPropertyDescriptor(e,t);return!!r&&r.configurable&&!0===r.writable})})(e))return e;const r=Object.create(null),n=Object.create(null),i=[];let o=e;for(;null!=o&&-1===i.indexOf(o);){i.push(o);const a=o===e?t:l(o);if(f(o,a,o===e))break;const s=Object.getOwnPropertyNames(o);Object.getOwnPropertySymbols&&s.push(...Object.getOwnPropertySymbols(o));for(const t of s)h(t)||d(n,t)||(r[t]=e[t],n[t]=!0);o=a}return r},reduceDescriptors:Z,freezeMethods:e=>{Z(e,(t,r)=>{if(O(e)&&["arguments","caller","callee"].includes(r))return!1;const n=e[r];O(n)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+r+"'")}))})},toObjectSet:(e,t)=>{const r={},n=e=>{e.forEach(e=>{r[e]=!0})};return v(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:z,global:F,isContextDefined:$,isSpecCompliantForm:function(e){return!!(e&&O(e.append)&&"FormData"===e[c]&&e[u])},toJSONObject:e=>{const t=new WeakSet,r=e=>{if(S(e)){if(t.has(e))return;if(x(e))return e;if(!("toJSON"in e)){let n;if(t.add(e),C(e)){n=[];for(const t of e){const e=r(t);!w(e)&&n.push(e)}}else n=v(e)?[]:{},U(e,(e,t)=>{const i=r(e);!w(i)&&(n[t]=i)});return t.delete(e),n}}return e};return r(e)},isAsyncFn:X,isThenable:e=>e&&(S(e)||O(e))&&O(e.then)&&O(e.catch),setImmediate:Y,asap:re,isIterable:ne,isSafeIterable:e=>null!=e&&p(e,u)&&ne(e)};const oe=ie.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);const ae=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),se=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function le(e,t){return ie.isArray(e)?e.map(e=>le(e,t)):function(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}(String(e).replace(t,""))}function ue(e){const t=Object.create(null);return ie.forEach(e.toJSON(),(e,r)=>{t[r]=(e=>le(e,se))(e)}),t}const ce=Symbol("internals");function de(e){return e&&String(e).trim().toLowerCase()}function he(e){return!1===e||null==e?e:ie.isArray(e)?e.map(he):(e=>le(e,ae))(String(e))}const fe=/^[!#$%&'*+\-.^_`|~0-9A-Za-z]+$/;function pe(e){let t=0,r=e.length;for(;t<r;){const r=e.charCodeAt(t);if(9!==r&&32!==r)break;t+=1}for(;r>t;){const t=e.charCodeAt(r-1);if(9!==t&&32!==t)break;r-=1}return 0===t&&r===e.length?e:e.slice(t,r)}function me(e,t,r,n,i){return ie.isFunction(n)?n.call(this,t,r):(i&&(t=r),ie.isString(t)?ie.isString(n)?-1!==t.indexOf(n):ie.isRegExp(n)?n.test(t):void 0:void 0)}class ge{constructor(e){e&&this.set(e)}set(e,t,r){const n=this;function i(e,t,r){const i=de(t);if(!i)return;const o=ie.findKey(n,i);(!o||void 0===n[o]||!0===r||void 0===r&&!1!==n[o])&&(n[o||t]=he(e))}const o=(e,t)=>ie.forEach(e,(e,r)=>i(e,r,t));if(ie.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ie.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o((e=>{const t={};let r,n,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),r=e.substring(0,i).trim().toLowerCase(),n=e.substring(i+1).trim();const o=ie.hasOwnProp(t,r);!r||o&&ie.hasOwnProp(oe,r)||("set-cookie"===r?o?t[r].push(n):t[r]=[n]:t[r]=o?t[r]+", "+n:n)}),t})(e),t);else if(ie.isObject(e)&&ie.isSafeIterable(e)){let r,n,i=Object.create(null);for(const t of e){if(!ie.isArray(t))throw new TypeError("Object iterator must return a key-value pair");n=t[0],ie.hasOwnProp(i,n)?(r=i[n],i[n]=ie.isArray(r)?[...r,t[1]]:[r,t[1]]):i[n]=t[1]}o(i,t)}else null!=e&&i(t,e,r);return this}get(e,t){if(e=de(e)){const r=ie.findKey(this,e);if(r){const e=this[r];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),r=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let n;for(;n=r.exec(e);)t[n[1]]=n[2];return t}(e);if(ie.isFunction(t))return t.call(this,e,r);if(ie.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=de(e)){const r=ie.findKey(this,e);return!(!r||void 0===this[r]||t&&!me(0,this[r],r,t))}return!1}delete(e,t){const r=this;let n=!1;function i(e){if(e=de(e)){const i=ie.findKey(r,e);!i||t&&!me(0,r[i],i,t)||(delete r[i],n=!0)}}return ie.isArray(e)?e.forEach(i):i(e),n}clear(e){const t=Object.keys(this);let r=t.length,n=!1;for(;r--;){const i=t[r];e&&!me(0,this[i],i,e,!0)||(delete this[i],n=!0)}return n}normalize(e){const t=this,r={};return ie.forEach(this,(n,i)=>{const o=ie.findKey(r,i);if(o)return t[o]=he(n),void delete t[i];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r)}(i):String(i).trim();a!==i&&delete t[i],t[a]=he(n),r[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ie.forEach(this,(r,n)=>{null!=r&&!1!==r&&(t[n]=e&&ie.isArray(r)?r.join(", "):r)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){const e=this.get("set-cookie");return ie.isArray(e)?e:null==e||!1===e?[]:[e]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static parseParameters(e){return function(e){const t=Object.create(null),r=String(e);let n=0,i=!1,o=!1;function a(e){const i=pe(r.slice(n,e)),o=i.indexOf("=");if(o<1)return;const a=pe(i.slice(0,o));if(!fe.test(a))return;const s=a.toLowerCase();if("__proto__"===s||"constructor"===s||"prototype"===s)return;const l=pe(i.slice(o+1));t[s]=function(e){const t=e.length-1;if(t<1||34!==e.charCodeAt(0)||34!==e.charCodeAt(t))return e;let r="";for(let n=1;n<t;n++){const i=e.charCodeAt(n);if(34===i)return e;if(92===i&&(n+=1,n>=t))return e;r+=e[n]}return r}(l)}for(let e=0;e<r.length;e++){const t=r.charCodeAt(e);i?o?o=!1:92===t?o=!0:34===t&&(i=!1):34===t?i=!0:44!==t&&59!==t||(a(e),n=e+1)}return a(r.length),t}(e)}static concat(e,...t){const r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){const t=(this[ce]=this[ce]={accessors:{}}).accessors,r=this.prototype;function n(e){const n=de(e);t[n]||(!function(e,t){const r=ie.toCamelCase(" "+t);["get","set","has"].forEach(n=>{Object.defineProperty(e,n+r,{__proto__:null,value:function(e,r,i){return this[n].call(this,t,e,r,i)},configurable:!0})})}(r,e),t[n]=!0)}return ie.isArray(e)?e.forEach(n):n(e),this}}ge.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ie.reduceDescriptors(ge.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),ie.freezeMethods(ge);var be=ge;const ye="[REDACTED ****]";function ve(e,t){const r=new Set(t.map(e=>String(e).toLowerCase())),n=[],i=e=>{if(null===e||"object"!=typeof e)return e;if(ie.isBuffer(e))return e;if(-1!==n.indexOf(e))return;let t;if(e instanceof be&&(e=e.toJSON()),n.push(e),ie.isArray(e))t=[],e.forEach((e,r)=>{const n=i(e);ie.isUndefined(n)||(t[r]=n)});else{if(!ie.isPlainObject(e)&&function(e){if(ie.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ie.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return n.pop(),e;t=Object.create(null);for(const[n,o]of Object.entries(e)){const e=r.has(n.toLowerCase())?ye:i(o);ie.isUndefined(e)||(t[n]=e)}}return n.pop(),t};return i(e)}function we(e){try{return String(e)}catch(e){return""}}class xe extends Error{static from(e,t,r,n,i,o){let a=e.message;!a&&ie.isArray(e.errors)&&e.errors.length&&(a=function(e){return e.errors.map(e=>{try{return e&&e.message?we(e.message):we(e)}catch(e){return""}}).filter(Boolean).join("; ")||e.name||"AggregateError"}(e));const s=new xe(a,t||e.code,r,n,i);return Object.defineProperty(s,"cause",{__proto__:null,value:e,writable:!0,enumerable:!1,
vendor: 8,578 bytes, line 2
2configurable:!0}),s.name=e.name,null!=e.status&&null==s.status&&(s.status=e.status),o&&Object.assign(s,o),s}constructor(e,t,r,n,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),i&&(this.response=i,this.status=i.status)}toJSON(){const e=this.config,t=e&&ie.hasOwnProp(e,"redact")?e.redact:void 0,r=ie.isArray(t)&&t.length>0?ve(e,t):ie.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:r,code:this.code,status:this.status}}}xe.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",xe.ERR_BAD_OPTION="ERR_BAD_OPTION",xe.ECONNABORTED="ECONNABORTED",xe.ETIMEDOUT="ETIMEDOUT",xe.ECONNREFUSED="ECONNREFUSED",xe.ERR_NETWORK="ERR_NETWORK",xe.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",xe.ERR_DEPRECATED="ERR_DEPRECATED",xe.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",xe.ERR_BAD_REQUEST="ERR_BAD_REQUEST",xe.ERR_CANCELED="ERR_CANCELED",xe.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",xe.ERR_INVALID_URL="ERR_INVALID_URL",xe.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var Me=xe,_e=null;function Oe(e){return ie.isPlainObject(e)||ie.isArray(e)}function je(e){return ie.endsWith(e,"[]")?e.slice(0,-2):e}function Se(e,t,r){return e?e.concat(t).map(function(e,t){return e=je(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}const Ae=ie.toFlatObject(ie,{},null,function(e){return/^is[A-Z]/.test(e)});var Pe=function(e,t,r){if(!ie.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const n=(e,t)=>{const n=ie.getSafeProp(r,e);return ie.isUndefined(n)?t:n},i=n("metaTokens",!0),o=n("visitor")||p,a=n("dots",!1),s=n("indexes",!1),l=n("Blob")||"undefined"!=typeof Blob&&Blob,u=n("maxDepth",100),c=l&&ie.isSpecCompliantForm(t),d=[];if(!ie.isFunction(o))throw new TypeError("visitor must be a function");function h(e){if(null===e)return"";if(ie.isDate(e))return e.toISOString();if(ie.isBoolean(e))return e.toString();if(!c&&ie.isBlob(e))throw new Me("Blob is not supported. Use a Buffer instead.");if(ie.isArrayBuffer(e)||ie.isTypedArray(e)){if(c&&"function"==typeof l)return new l([e]);throw new Me("Blob is not supported. Use a Buffer instead.",Me.ERR_NOT_SUPPORT)}return e}function f(e){if(e>u)throw new Me("Object is too deeply nested ("+e+" levels). Max depth: "+u,Me.ERR_FORM_DATA_DEPTH_EXCEEDED)}function p(e,r,n){let o=e;if(ie.isReactNative(t)&&ie.isReactNativeBlob(e))return t.append(Se(n,r,a),h(e)),!1;if(e&&!n&&"object"==typeof e)if(ie.endsWith(r,"{}"))r=i?r:r.slice(0,-2),e=function(e,t){if(u===1/0)return JSON.stringify(e);const r=[];return JSON.stringify(e,function(e,n){if(!ie.isObject(n))return n;for(;r.length&&r[r.length-1]!==this;)r.pop();return r.push(n),f(t+r.length-1),n})}(e,1);else if(ie.isArray(e)&&function(e){return ie.isArray(e)&&!e.some(Oe)}(e)||(ie.isFileList(e)||ie.endsWith(r,"[]"))&&(o=ie.toArray(e)))return r=je(r),o.forEach(function(e,n){!ie.isUndefined(e)&&null!==e&&t.append(!0===s?Se([r],n,a):null===s?r:r+"[]",h(e))}),!1;return!!Oe(e)||(t.append(Se(n,r,a),h(e)),!1)}const m=Object.assign(Ae,{defaultVisitor:p,convertValue:h,isVisitable:Oe});if(!ie.isObject(e))throw new TypeError("data must be an object");return function e(r,n,i=0){if(!ie.isUndefined(r)){if(f(i),-1!==d.indexOf(r))throw new Error("Circular reference detected in "+n.join("."));d.push(r),ie.forEach(r,function(r,a){!0===(!(ie.isUndefined(r)||null===r)&&o.call(t,r,ie.isString(a)?a.trim():a,n,m))&&e(r,n?n.concat(a):[a],i+1)}),d.pop()}}(e),t};function ke(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Te(e,t){this._pairs=[],e&&Pe(e,this,t)}const Ee=Te.prototype;Ee.append=function(e,t){this._pairs.push([e,t])},Ee.toString=function(e){const t=e?t=>e.call(this,t,ke):ke;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var Ce=Te;function De(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ne(e,t,r){if(!t)return e;e=e||"";const n=ie.isFunction(r)?{serialize:r}:r,i=ie.getSafeProp(n,"encode")||De,o=ie.getSafeProp(n,"serialize");let a;if(a=o?o(t,n):ie.isURLSearchParams(t)?t.toString():new Ce(t,n).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}const Ie=Symbol("internals");function Re(e){return e?e.length:0}function Le(e){if(e)for(;e.length&&null===e[e.length-1];)e.pop()}function Be(e,t){const r=e.handlers,n=Re(r);r!==t.handlersRef?(t.handlersRef=r,t.handlerEntries.clear()):n!==t.handlersLength&&(n?t.handlerEntries.forEach(function(e,n){r[e.index]!==e.handler&&t.handlerEntries.delete(n)}):t.handlerEntries.clear()),t.handlersLength=n}var qe=class{constructor(){this.handlers=[],this[Ie]={handlersRef:this.handlers,handlersLength:this.handlers.length,handlerEntries:new Map,iterationDepth:0,nextId:0}}use(e,t,r){const n={fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null},i=this[Ie];null==this.handlers&&(this.handlers=[]),Be(this,i);const o=i.nextId++;return this.handlers.push(n),i.handlerEntries.set(o,{handler:n,index:this.handlers.length-1}),i.handlersLength=this.handlers.length,o}eject(e){const t=this[Ie];Be(this,t);const r=t.handlerEntries.get(e);if(r){if(t.handlerEntries.delete(e),this.handlers[r.index]!==r.handler)return;this.handlers[r.index]=null,t.iterationDepth||(Le(this.handlers),t.handlersLength=this.handlers.length)}}clear(){this.handlers&&(this.handlers=[],Be(this,this[Ie]))}forEach(e){const t=this[Ie];Be(this,t),t.iterationDepth++;try{ie.forEach(this.handlers,function(t){null!==t&&e(t)})}finally{--t.iterationDepth||(Be(this,t),Le(this.handlers),t.handlersLength=Re(this.handlers))}}},Ue={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},ze={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ce,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Fe="undefined"!=typeof window&&"undefined"!=typeof document,$e="object"==typeof navigator&&navigator||void 0,Ve=Fe&&(!$e||["ReactNative","NativeScript","NS"].indexOf($e.product)<0),He="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,We=Fe&&window.location.href||"http://localhost";function Ge(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ke(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ge(Object(r),!0).forEach(function(t){Ze(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ge(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ze(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Xe=Ke(Ke({},n),ze);function Ye(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Je(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Qe(e,t){return Pe(e,new Xe.classes.URLSearchParams,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
vendor: 6,426 bytes, line 2
2t%2?Ye(Object(r),!0).forEach(function(t){Je(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ye(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({visitor:function(e,t,r,n){return Xe.isNode&&ie.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},t))}function et(e){if(e>100)throw new Me("FormData field is too deeply nested ("+e+" levels). Max depth: 100",Me.ERR_FORM_DATA_DEPTH_EXCEEDED)}var tt=function(e){function t(e,r,n,i){et(i);let o=e[i++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=i>=e.length;if(o=!o&&ie.isArray(n)?n.length:o,s)return ie.hasOwnProp(n,o)?n[o]=ie.isArray(n[o])?n[o].concat(r):[n[o],r]:n[o]=r,!a;ie.hasOwnProp(n,o)&&ie.isObject(n[o])||(n[o]=[]);return t(e,r,n[o],i)&&ie.isArray(n[o])&&(n[o]=function(e){const t={},r=Object.keys(e);let n;const i=r.length;let o;for(n=0;n<i;n++)o=r[n],t[o]=e[o];return t}(n[o])),!a}if(ie.isFormData(e)&&ie.isFunction(e.entries)){const r={};return ie.forEachEntry(e,(e,n)=>{t(function(e){const t=[],r=/[^.[\]]+|\[([^.[\]]*)]/g;let n;for(;null!==(n=r.exec(e));)et(t.length),t.push("[]"===n[0]?"":n[1]||n[0]);return t}(e),n,r,0)}),r}return null};var rt=Object.freeze(["get","delete","head","options","post","put","patch","purge","link","unlink","query"]);const nt=(e,t)=>null!=e&&ie.hasOwnProp(e,t)?e[t]:void 0;const it={transitional:Ue,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const r=t.getContentType()||"",n=r.indexOf("application/json")>-1,i=ie.isObject(e);i&&ie.isHTMLForm(e)&&(e=new FormData(e));if(ie.isFormData(e))return n?JSON.stringify(tt(e)):e;if(ie.isArrayBuffer(e)||ie.isBuffer(e)||ie.isStream(e)||ie.isFile(e)||ie.isBlob(e)||ie.isReadableStream(e))return e;if(ie.isArrayBufferView(e))return e.buffer;if(ie.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(i){const t=nt(this,"formSerializer");if(r.indexOf("application/x-www-form-urlencoded")>-1)return Qe(e,t).toString();if((o=ie.isFileList(e))||r.indexOf("multipart/form-data")>-1){const r=nt(this,"env"),n=r&&r.FormData;return Pe(o?{"files[]":e}:e,n&&new n,t)}}return i||n?(t.setContentType("application/json",!1),function(e,t,r){if(ie.isString(e))try{return(t||JSON.parse)(e),ie.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=nt(this,"transitional")||it.transitional,r=t&&t.forcedJSONParsing,n=nt(this,"responseType"),i="json"===n;if(ie.isResponse(e)||ie.isReadableStream(e))return e;if(e&&ie.isString(e)&&(r&&!n||i)){const r=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,nt(this,"parseReviver"))}catch(e){if(r){if("SyntaxError"===e.name)throw Me.from(e,Me.ERR_BAD_RESPONSE,this,null,nt(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Xe.classes.FormData,Blob:Xe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ie.forEach(rt,e=>{it.headers[e]={}});var ot=it;function at(e,t){const r=this||ot,n=t||r,i=be.from(n.headers);let o=n.data;return ie.forEach(e,function(e){o=e.call(r,o,i.normalize(),t?t.status:void 0)}),i.normalize(),o}function st(e){return!(!e||!e.__CANCEL__)}var lt=class extends Me{constructor(e,t,r){super(null==e?"canceled":e,Me.ERR_CANCELED,t,r),this.name="CanceledError",this.__CANCEL__=!0}};function ut(e,t,r){const n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new Me("Request failed with status code "+r.status,r.status>=400&&r.status<500?Me.ERR_BAD_REQUEST:Me.ERR_BAD_RESPONSE,r.config,r.request,r)):e(r)}const ct=/[\t\n\r]/g;function dt(e){if("string"!=typeof e)return e;let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t).replace(ct,"")}function ht(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}var ft=function(e,t){e=e||10;const r=new Array(e),n=new Array(e);let i,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),u=n[a];i||(i=l),r[o]=s,n[o]=l;let c=a,d=0;for(;c!==o;)d+=r[c++],c%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-i<t)return;const h=u&&l-u;return h?Math.round(1e3*d/h):void 0}};var pt=function(e,t){let r,n,i=0,o=1e3/t;const a=(t,o=Date.now())=>{i=o,r=null,n&&(clearTimeout(n),n=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=o?a(e,t):(r=e,n||(n=setTimeout(()=>{n=null,a(r)},o-s)))},()=>r&&a(r),(...e)=>a(e)]};const mt=(e,t,r=3)=>{let n=0;const i=ft(50,250);return pt(r=>{if(!r||!ie.isNumber(r.loaded))return;const o=r.loaded,a=r.lengthComputable?r.total:void 0,s=Math.max(0,null!=a?Math.min(o,a):o),l=Math.max(0,s-n),u=i(l);n=Math.max(n,s);e({loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:u||void 0,estimated:u&&a?(a-s)/u:void 0,event:r,lengthComputable:null!=a,[t?"download":"upload"]:!0})},r)},gt=(e,t)=>{const r=null!=e;return[n=>t[0]({lengthComputable:r,total:e,loaded:n}),t[1]]},bt=(e,t=ie.asap)=>(...r)=>t(()=>e(...r));var yt=Xe.hasStandardBrowserEnv?((e,t)=>r=>(r=new URL(r,Xe.origin),e.protocol===r.protocol&&e.host===r.host&&(t||e.port===r.port)))(new URL(Xe.origin),Xe.navigator&&/(msie|trident)/i.test(Xe.navigator.userAgent)):()=>!0,vt=Xe.hasStandardBrowserEnv?{write(e,t,r,n,i,o,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ie.isNumber(r)&&s.push(`expires=${new Date(r).toUTCString()}`),ie.isString(n)&&s.push(`path=${n}`),ie.isString(i)&&s.push(`domain=${i}`),!0===o&&s.push("secure"),ie.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let r=0;r<t.length;r++){const n=t[r].replace(/^\s+/,""),i=n.indexOf("=");if(-1!==i&&n.slice(0,i)===e)try{return decodeURIComponent(n.slice(i+1))}catch(e){return n.slice(i+1)}}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};const wt=/^https?:(?!\/\/)/i;function xt(e){const t=e.replace(/^(https?:\/{0,2})[^/?#]*@/i,`$1${ye}@`),r=t.indexOf("#"),n=(-1===r?t:t.slice(0,r)).replace(/([?&][^=&#]*=)[^&#]*/g,`$1${ye}`);return-1===r?n:`${n}#${i=t.slice(r+1),i?i.replace(/(^|&)([^=&]*=)?[^&]+/g,(e,t,r="")=>`${t}${r}${ye}`):i}`;var i}function Mt(e,t){if("string"==typeof e){const r=dt(e);
vendor: 4,131 bytes, line 2
2if(wt.test(r))throw new Me(`Invalid URL ${JSON.stringify(xt(r))}: missing "//" after protocol`,Me.ERR_INVALID_URL,t)}}function _t(e,t,r,n){Mt(t,n);let i=!("string"==typeof(o=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(o));var o;return e&&(i||!1===r)?(Mt(e,n),function(e,t){if(!t)return e;let r=e.length;for(;r>0&&47===e.charCodeAt(r-1);)r--;return e.slice(0,r)+"/"+t.replace(/^\/+/,"")}(e,t)):t}function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach(function(t){St(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function St(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const At=e=>e instanceof be?jt({},e):e;function Pt(e,t){e=e||{},t=t||{};const r=Object.create(null);function n(e,t,r,n){return ie.isPlainObject(e)&&ie.isPlainObject(t)?ie.merge.call({caseless:n},e,t):ie.isPlainObject(t)?ie.merge({},t):ie.isArray(t)?t.slice():t}function i(e,t,r,i){return ie.isUndefined(t)?ie.isUndefined(e)?void 0:n(void 0,e,0,i):n(e,t,0,i)}function o(e,t){if(!ie.isUndefined(t))return n(void 0,t)}function a(e,t){return ie.isUndefined(t)?ie.isUndefined(e)?void 0:n(void 0,e):n(void 0,t)}function s(r,i,o){return ie.hasOwnProp(t,o)?n(r,i):ie.hasOwnProp(e,o)?n(void 0,r):void 0}Object.defineProperty(r,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutErrorMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,r)=>i(At(e),At(t),0,!0)};var u;return ie.forEach((u=jt(jt({},e),t),Object.getOwnPropertySymbols&&Object.getOwnPropertyDescriptor?Object.keys(u).concat(Object.getOwnPropertySymbols(u).filter(e=>Object.getOwnPropertyDescriptor(u,e).enumerable)):Object.keys(u)),function(n){if("__proto__"===n||"constructor"===n||"prototype"===n)return;const o=ie.hasOwnProp(l,n)?l[n]:i,a=o(ie.hasOwnProp(e,n)?e[n]:void 0,ie.hasOwnProp(t,n)?t[n]:void 0,n);ie.isUndefined(a)&&o!==s||(r[n]=a)}),ie.hasOwnProp(t,"validateStatus")&&ie.isUndefined(t.validateStatus)&&!1===function(r){const n=ie.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!ie.isUndefined(n)){if(!ie.isPlainObject(n))return;if(ie.hasOwnProp(n,r))return n[r]}const i=ie.hasOwnProp(e,"transitional")?e.transitional:void 0;if(ie.isPlainObject(i)&&ie.hasOwnProp(i,r))return i[r]}("validateStatusUndefinedResolves")&&(ie.hasOwnProp(e,"validateStatus")?r.validateStatus=n(void 0,e.validateStatus):delete r.validateStatus),r}const kt=["content-type","content-length"];var Tt=function(e){const t=Pt({},e),r=e=>ie.hasOwnProp(t,e)?t[e]:void 0,n=r("data");let i=r("withXSRFToken");const o=r("xsrfHeaderName"),a=r("xsrfCookieName");let s=r("headers");const l=r("auth"),u=r("baseURL"),c=r("allowAbsoluteUrls"),d=r("url");if(t.headers=s=be.from(s),t.url=Ne(_t(u,d,c,t),r("params"),r("paramsSerializer")),l){const t=ie.getSafeProp(l,"username")||"",r=ie.getSafeProp(l,"password")||"";try{s.set("Authorization","Basic "+btoa(t+":"+(r?encodeURIComponent(r).replace(/%([0-9A-F]{2})/gi,(e,t)=>
vendor: 18,811 bytes, line 2
2String.fromCharCode(parseInt(t,16))):"")))}catch(t){throw Me.from(t,Me.ERR_BAD_OPTION_VALUE,e)}}if(ie.isFormData(n)){const e=ie.getSafeProp(n,"getHeaders");Xe.hasStandardBrowserEnv||Xe.hasStandardBrowserWebWorkerEnv||ie.isReactNative(n)?s.setContentType(void 0):ie.isFunction(e)&&function(e,t,r){"content-only"===r?Object.entries(t||{}).forEach(([t,r])=>{kt.includes(t.toLowerCase())&&e.set(t,r)}):e.set(t)}(s,e.call(n),r("formDataHeaderPolicy"))}if(Xe.hasStandardBrowserEnv){ie.isFunction(i)&&(i=i(t));if(!0===i||null==i&&yt(t.url)){const e=o&&a&&vt.read(a);e&&s.set(o,e)}}return t};var Et="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,r){const n=Tt(e);let i=n.data;const o=be.from(n.headers).normalize();let a,s,l,u,c,d,{responseType:h,onUploadProgress:f,onDownloadProgress:p}=n;function m(){u&&u(),c&&c(),n.cancelToken&&n.cancelToken.unsubscribe(a),n.signal&&n.signal.removeEventListener("abort",a)}let g=new XMLHttpRequest;function b(i){if(!g)return;if(!(0!==g.status||"file"===(ht(dt(n.url))||ht(Xe.origin))||g.responseURL&&g.responseURL.startsWith("file:")))return r(new Me("Request aborted",Me.ECONNABORTED,e,g)),m(),void(g=null);try{i?d&&d(i):c&&c()}catch(e){setTimeout(()=>{throw e})}if(!g)return;const o=be.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders());ut(function(e){t(e),m()},function(e){r(e),m()},{data:h&&"text"!==h&&"json"!==h?g.response:g.responseText,status:g.status,statusText:g.statusText,headers:o,config:e,request:g}),g=null}g.open(n.method.toUpperCase(),n.url,!0),g.timeout=n.timeout,"onloadend"in g?g.onloadend=b:g.onreadystatechange=function(){g&&4===g.readyState&&(0!==g.status||g.responseURL&&g.responseURL.startsWith("file:"))&&setTimeout(b)},g.onabort=function(){g&&(r(new Me("Request aborted",Me.ECONNABORTED,e,g)),m(),g=null)},g.onerror=function(t){const n=t&&t.message?t.message:"Network Error",i=new Me(n,Me.ERR_NETWORK,e,g);i.event=t||null,r(i),m(),g=null},g.ontimeout=function(){let t=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";const i=n.transitional||Ue;n.timeoutErrorMessage&&(t=n.timeoutErrorMessage),r(new Me(t,i.clarifyTimeoutError?Me.ETIMEDOUT:Me.ECONNABORTED,e,g)),m(),g=null},void 0===i&&o.setContentType(null),"setRequestHeader"in g&&ie.forEach(ue(o),function(e,t){g.setRequestHeader(t,e)}),ie.isUndefined(n.withCredentials)||(g.withCredentials=!!n.withCredentials),h&&"json"!==h&&(g.responseType=n.responseType),p&&([l,c,d]=mt(p,!0),g.addEventListener("progress",l)),f&&g.upload&&([s,u]=mt(f),g.upload.addEventListener("progress",s),g.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(a=t=>{g&&(r(!t||t.type?new lt(null,e,g):t),g.abort(),m(),g=null)},n.cancelToken&&n.cancelToken.subscribe(a),n.signal&&(n.signal.aborted?a():n.signal.addEventListener("abort",a)));const y=ht(n.url);if(y&&!Xe.protocols.includes(y))return r(new Me("Unsupported protocol "+y+":",Me.ERR_BAD_REQUEST,e)),void m();g.send(i||null)})};var Ct=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const r=new AbortController;let n=!1;const i=function(e){if(!n){n=!0,a();const t=e instanceof Error?e:this.reason;r.abort(t instanceof Me?t:new lt(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,i(new Me(`timeout of ${t}ms exceeded`,Me.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>{n||(e.aborted?i.call(e):e.addEventListener("abort",i,{once:!0}))});const{signal:s}=r;return s.unsubscribe=()=>ie.asap(a),s};const Dt=function*(e,t){let r=e.byteLength;if(!t||r<t)return void(yield e);let n,i=0;for(;i<r;)n=i+t,yield e.slice(i,n),i=n},Nt=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:r}=await t.read();if(e)break;yield r}}finally{await t.cancel()}},It=(e,t,r,n)=>{const i=async function*(e,t){for await(const r of Nt(e))yield*Dt(r,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,n&&n(e))};return new ReadableStream({async pull(e){try{const{done:t,value:n}=await i.next();if(t)return s(),void e.close();let o=n.byteLength;if(r){let e=a+=o;r(e)}e.enqueue(new Uint8Array(n))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},Rt=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,Lt=(e,t,r)=>t+2<r&&Rt(e.charCodeAt(t+1))&&Rt(e.charCodeAt(t+2)),Bt=e=>e<=57?e-48:(223&e)-55,qt=e=>e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||43===e||47===e||45===e||95===e,Ut=e=>9===e||10===e||12===e||13===e||32===e,zt=e=>{const t=e.length;let r=0;return t>0&&61===e.charCodeAt(t-1)&&(r++,t>1&&61===e.charCodeAt(t-2)&&r++),Math.floor(3*(t-r)/4)},Ft=e=>{const t=e.length;let r=0,n=0,i=!1;for(let o=0;o<t;o++){let a=e.charCodeAt(o);37===a&&Lt(e,o,t)&&(a=16*Bt(e.charCodeAt(o+1))+Bt(e.charCodeAt(o+2)),o+=2),Ut(a)||(61!==a?!qt(a)||n>0?i=!0:r++:n++)}return i||n>2||n>0&&(r+n)%4!=0||r%4==1?zt(e):(e=>{const t=e%4;return 3*Math.floor(e/4)+(2===t?1:3===t?2:0)})(r)},$t=(e,t)=>{if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const r=e.indexOf(",");if(r<0)return 0;const n=e.slice(5,r),i=e.slice(r+1);if(/;base64/i.test(n))return t(i);let o=0;for(let e=0,t=i.length;e<t;e++){const r=i.charCodeAt(e);if(37===r&&Lt(i,e,t))o+=1,e+=2;else if(r<128)o+=1;else if(r<2048)o+=2;else if(r>=55296&&r<=56319&&e+1<t){const t=i.charCodeAt(e+1);t>=56320&&t<=57343?(o+=4,e++):o+=3}else o+=3}return o};const Vt="1.20.0",Ht={cache:"default",redirect:"follow",referrer:"about:client",referrerPolicy:"",mode:"cors",integrity:"",keepalive:!1,priority:"auto",window:null},{isFunction:Wt}=ie,Gt=e=>{if(!ie.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},Kt=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Zt=e=>{const t=void 0!==ie.global&&null!==ie.global?ie.global:globalThis,{ReadableStream:r,TextEncoder:n}=t;e=ie.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:o,Response:a}=e,s=i?Wt(i):"function"==typeof fetch,l=Wt(o),u=Wt(a);if(!s)return!1;const c=s&&Wt(r),d=s&&("function"==typeof n?(h=new n,e=>h.encode(e)):async e=>new Uint8Array(await new o(e).arrayBuffer()));var h;const f=l&&c&&Kt(()=>{let e=!1;const t=new o(Xe.origin,{body:new r,method:"POST",get duplex(){return e=!0,"half"}}),n=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!n}),p=u&&c&&Kt(()=>ie.isReadableStream(new a("").body)),m={stream:p&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,r)=>{let n=t&&t[e];if(n)return n.call(t);throw new Me(`Response type '${e}' is not supported`,Me.ERR_NOT_SUPPORT,r)})});const g=async e=>{if(null==e)return 0;if(ie.isBlob(e))return e.size;if(ie.isSpecCompliantForm(e)){const t=new o(Xe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ie.isArrayBufferView(e)||ie.isArrayBuffer(e)?e.byteLength:(ie.isURLSearchParams(e)&&(e+=""),ie.isString(e)?(await d(e)).byteLength:void 0)};return async e=>{let{url:t,method:r,data:s,signal:u,cancelToken:d,timeout:h,onDownloadProgress:b,onUploadProgress:y,responseType:v,headers:w,withCredentials:x="same-origin",fetchOptions:M,maxContentLength:_,maxBodyLength:O,maxRedirects:j}=Tt(e);const S=ie.isNumber(_)&&_>-1,A=ie.isNumber(O)&&O>-1;let P=i||fetch;v=v?(v+"").toLowerCase():"text";let k=Ct([u,d&&d.toAbortSignal()],h),T=null;const E=k&&k.unsubscribe&&(()=>{k.unsubscribe()});let C,D=null;const N=()=>new Me("Request body larger than maxBodyLength limit",Me.ERR_BAD_REQUEST,e,T);try{let i;const u=(R="auth",ie.hasOwnProp(e,R)?e[R]:void 0);if(u){const e=ie.getSafeProp(u,"username")||"";i={username:e,password:ie.getSafeProp(u,"password")||""}}if((e=>{const t=e.indexOf("://");let r=e;return-1!==t&&(r=r.slice(t+3)),r.includes("@")||r.includes(":")})(t)){const e=new URL(t,Xe.origin);if(!i&&(e.username||e.password)){const t=Gt(e.username);i={username:t,password:Gt(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(i&&(w.delete("authorization"),w.set("Authorization","Basic "+btoa((I=(i.username||"")+":"+(i.password||""),encodeURIComponent(I).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),S&&"string"==typeof t&&t.startsWith("data:")){const r=function(e){const t="string"==typeof e?e.indexOf("#"):-1;return $t(-1===t?e:e.slice(0,t),Ft)}(t);if(r>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,T)}if(A&&"get"!==r&&"head"!==r){const e=await g(s);if("number"==typeof e&&isFinite(e)&&(C=e,e>O))throw N()}const d=A&&(ie.isReadableStream(s)||ie.isStream(s)),h=(e,t,r)=>It(e,65536,e=>{if(A&&e>O)throw D=N();t&&t(e)},r);if(f&&"get"!==r&&"head"!==r&&(y||d)){if(C=null==C?await(async(e,t)=>{const r=ie.toFiniteNumber(e.getContentLength());return null==r?g(t):r})(w,s):C,0!==C||d){let e,r=new o(t,{method:"POST",body:s,duplex:"half"});if(ie.isFormData(s)&&(e=r.headers.get("content-type"))&&w.setContentType(e),r.body){const[e,t]=y&&gt(C,mt(bt(y)))||[];s=h(r.body,e,t)}}}else if(d&&!l&&c&&"get"!==r&&"head"!==r)s=h(s);else if(d&&l&&!f&&"get"!==r&&"head"!==r)throw new Me("Stream request bodies are not supported by the current fetch implementation",Me.ERR_NOT_SUPPORT,e,T);ie.isString(x)||(x=x?"include":"omit");const L=l&&"credentials"in o.prototype;if(ie.isFormData(s)){const e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+Vt,!1);const B=null==M?M:Object.assign(Object.create(null),M);B&&(delete B.body,delete B.headers,delete B.method,delete B.signal,delete B.duplex,delete B.credentials);const q=Object.assign(Object.create(null),B,{signal:k,method:r.toUpperCase(),headers:ue(w.normalize()),body:s,duplex:"half",credentials:L?x:void 0});l&&(ie.forEach(Ht,(e,t)=>{void 0===q[t]&&(q[t]=e)}),void 0===q.signal&&(q.signal=null),void 0===q.body&&(q.body=null)),0===j&&(q.redirect="manual",B&&(B.redirect="manual")),T=l&&new o(t,q);let U=await(l?P(T,B):P(t,q));const z=be.from(U.headers);if(S){const t=ie.toFiniteNumber(z.getContentLength());if(null!=t&&t>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,T)}const F=p&&("stream"===v||"response"===v);if(p&&U.body&&(b||S||F&&E)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=U[e]});const r=ie.toFiniteNumber(z.getContentLength()),[n,i]=b&&gt(r,mt(bt(b),!0))||[];let o=0;const s=t=>{if(S&&(o=t,o>_))throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,T);n&&n(t)};U=new a(It(U.body,65536,s,()=>{i&&i(),E&&E()}),t)}v=v||"text";let $=await m[ie.findKey(m,v)||"text"](U,e);if(S&&!p&&!F){let t;if(null!=$&&("number"==typeof $.byteLength?t=$.byteLength:"number"==typeof $.size?t=$.size:"string"==typeof $&&(t="function"==typeof n?(new n).encode($).byteLength:$.length)),"number"==typeof t&&t>_)throw new Me("maxContentLength size of "+_+" exceeded",Me.ERR_BAD_RESPONSE,e,T)}return!F&&E&&E(),await new Promise((t,r)=>{ut(t,r,{data:$,headers:be.from(U.headers),status:U.status,statusText:U.statusText,config:e,request:T})})}catch(t){if(E&&E(),k&&k.aborted&&k.reason instanceof Me){const r=k.reason;throw r.config=e,T&&(r.request=T),t!==r&&Object.defineProperty(r,"cause",{__proto__:null,value:t,writable:!0,enumerable:!1,configurable:!0}),r}if(D)throw T&&!D.request&&(D.request=T),D;if(t instanceof Me)throw T&&!t.request&&(t.request=T),t;if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message)){const r=new Me("Network Error",Me.ERR_NETWORK,e,T,t&&t.response);throw Object.defineProperty(r,"cause",{__proto__:null,value:t.cause||t,writable:!0,enumerable:!1,configurable:!0}),r}throw Me.from(t,t&&t.code,e,T,t&&t.response)}var I,R}},Xt=new Map,Yt=e=>{let t=e&&e.env||{};const{fetch:r,Request:n,Response:i}=t,o=[n,i,r];let a,s,l=o.length,u=Xt;for(;l--;)a=o[l],s=u.get(a),void 0===s&&u.set(a,s=l?new Map:Zt(t)),u=s;return s};Yt();const Jt={http:_e,xhr:Et,fetch:{get:Yt}};ie.forEach(Jt,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Qt=e=>`- ${e}`,er=e=>ie.isFunction(e)||null===e||!1===e;var tr={getAdapter:function(e,t){e=ie.isArray(e)?e:[e];const{length:r}=e;let n,i;const o={};for(let a=0;a<r;a++){let r;if(n=e[a],i=n,!er(n)&&(i=Jt[(r=String(n)).toLowerCase()],void 0===i))throw new Me(`Unknown adapter '${r}'`);if(i&&(ie.isFunction(i)||(i=i.get(t))))break;o[r||"#"+a]=i}if(!i){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=r?e.length>1?"since :\n"+e.map(Qt).join("\n"):" "+Qt(e[0]):"as no adapter specified";throw new Me("There is no suitable adapter to dispatch the request "+t,Me.ERR_NOT_SUPPORT)}return i},adapters:Jt};function rr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new lt(null,e)}function nr(e){const t=ie.toSafeFlatObject(e);rr(t),t.headers=be.from(ie.getSafeProp(t,"headers")),t.data=at.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return tr.getAdapter(t.adapter||ot.adapter,t)(t).then(function(e){rr(t),t.response=e;try{e.data=at.call(t,t.transformResponse,e)}finally{delete t.response}return e.headers=be.from(e.headers),e},function(e){if(!st(e)&&(rr(t),e&&e.response)){t.response=e.response;try{e.response.data=at.call(t,t.transformResponse,e.response)}finally{delete t.response}e.response.headers=be.from(e.response.headers)}return Promise.reject(e)})}const ir={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ir[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const or={};ir.transitional=function(e,t,r){function n(e,t){return"[Axios v"+Vt+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(r,i,o)=>{if(!1===e)throw new Me(n(i," has been removed"+(t?" in "+t:"")),Me.ERR_DEPRECATED);return t&&!or[i]&&(or[i]=!0,console.warn(n(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,i,o)}},ir.spelling=function(e){return(t,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};var ar={assertOptions:function(e,t,r){if("object"!=typeof e||null===e)throw new Me("options must be an object",Me.ERR_BAD_OPTION_VALUE);const n=Object.keys(e);let i=n.length;for(;i-- >0;){const o=n[i],a=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(a){const t=e[o],r=void 0===t||a(t,o,e);if(!0!==r)throw new Me("option "+o+" must be "+r,Me.ERR_BAD_OPTION_VALUE);continue}if(!0!==r)throw new Me("Unknown option "+o,Me.ERR_BAD_OPTION)}},validators:ir};const sr=ar.validators;class lr{constructor(e){this.defaults=e||{},this.interceptors={request:new qe,response:new qe}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error)try{let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const r=t.stack;let n="";if("string"==typeof r){const e=r.indexOf("\n");n=-1===e?"":r.slice(e+1)}if(e.stack){if(n){const t=n.indexOf("\n"),r=-1===t?-1:n.indexOf("\n",t+1),i=-1===r?"":n.slice(r+1);String(e.stack).endsWith(i)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Pt(this.defaults,t);const{transitional:r,paramsSerializer:n,headers:i}=t;void 0!==r&&ar.assertOptions(r,{silentJSONParsing:sr.transitional(sr.boolean),forcedJSONParsing:sr.transitional(sr.boolean),clarifyTimeoutError:sr.transitional(sr.boolean),legacyInterceptorReqResOrdering:sr.transitional(sr.boolean),advertiseZstdAcceptEncoding:sr.transitional(sr.boolean),validateStatusUndefinedResolves:sr.transitional(sr.boolean)},!1),null!=n&&(ie.isFunction(n)?t.paramsSerializer={serialize:n}:ar.assertOptions(n,{encode:sr.function,serialize:sr.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ar.assertOptions(t,{baseUrl:sr.spelling("baseURL"),withXsrfToken:sr.spelling("withXSRFToken")},!0),t.method=(ie.getSafeProp(t,"method")||ie.getSafeProp(this.defaults,"method")||"get").toLowerCase();let o=i&&ie.merge(i.common,i[t.method]);i&&ie.forEach(rt.concat("common"),e=>{delete i[e]}),t.headers=be.concat(o,i);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const r=t.transitional||Ue;r&&r.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let u;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let c,d=0;if(!s){const e=[nr.bind(this),void 0];for(e.unshift(...a),e.push(...l),c=e.length,u=Promise.resolve(t);d<c;)u=u.then(e[d++],e[d++]);return u}c=a.length;let h=t;for(;d<c;){const e=a[d++],t=a[d++];try{h=e?e(h):h}catch(e){if(!t){u=Promise.reject(e);break}try{const r=t.call(this,e);ie.isThenable(r)&&(u=Promise.resolve(r).then(()=>nr.call(this,h)))}catch(e){u=Promise.reject(e)}break}}if(!u)try{u=nr.call(this,h)}catch(e){u=Promise.reject(e)}for(d=0,c=l.length;d<c;)u=u.then(l[d++],l[d++]);return u}getUri(e){return Ne(_t((e=Pt(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}ie.forEach(["delete","get","head","options"],function(e){lr.prototype[e]=function(t,r){return this.request(Pt(r||{},{method:e,url:t,data:r&&ie.hasOwnProp(r,"data")?r.data:void 0}))}}),ie.forEach(["post","put","patch","query"],function(e){function t(t){return function(r,n,i){return this.request(Pt(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}lr.prototype[e]=t(),"query"!==e&&(lr.prototype[e+"Form"]=t(!0))});var ur=lr;class cr{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const r=this;this.promise.then(e=>{if(!r._listeners)return;let t=r._listeners.length;for(;t-- >0;)r._listeners[t](e);r._listeners=null}),this.promise.then=e=>{let t;const n=new Promise(e=>{r.subscribe(e),t=e}).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e(function(e,n,i){r.reason||(r.reason=new lt(e,n,i),t(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new cr(function(t){e=t}),cancel:e}}}var dr=cr;const hr={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,Parti
2alContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,ContentTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,UnprocessableContent:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerReturnsAnUnknownError:520,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(hr).forEach(([e,t])=>{void 0===hr[t]&&(hr[t]=e)});var fr=hr;const pr=function e(t){const r=new ur(t),n=i(ur.prototype.request,r);return ie.extend(n,ur.prototype,r,{allOwnKeys:!0}),ie.extend(n,r,null,{allOwnKeys:!0}),n.create=function(r){return e(Pt(t,r))},n}(ot);pr.Axios=ur,pr.CanceledError=lt,pr.CancelToken=dr,pr.isCancel=st,pr.VERSION=Vt,pr.toFormData=Pe,pr.AxiosError=Me,pr.Cancel=pr.CanceledError,pr.all=function(e){return Promise.all(e)},pr.spread=function(e){return function(t){return e.apply(null,t)}},pr.isAxiosError=function(e){return ie.isObject(e)&&!0===e.isAxiosError},pr.mergeConfig=Pt,pr.AxiosHeaders=be,pr.formToJSON=e=>tt(ie.isHTMLForm(e)?new FormData(e):e),pr.getAdapter=tr.getAdapter,pr.HttpStatusCode=fr,pr.default=pr;var mr=pr},3287:function(e,t,r){"use strict";function n(e){if("string"==typeof e||"number"==typeof e)return""+e;let t="";if(Array.isArray(e))for(let r,i=0;i<e.length;i++)""!==(r=n(e[i]))&&(t+=(t&&" ")+r);else for(let r in e)e[r]&&(t+=(t&&" ")+r);return t}r.d(t,{A:function(){return n}})},9711:function(e,t,r){"use strict";r.d(t,{GP:function(){return U},uk:function(){return H},L_:function(){return z}});var n=r(9575),i=r(6123);function o(){return Object.assign({},(0,i.q)())}function a(e,t,r){const n=o(),i=function(e,t,r){return new Intl.DateTimeFormat(r?[r.code,"en-US"]:void 0,{timeZone:t,timeZoneName:e})}(e,r.timeZone,r.locale??n.locale);return"formatToParts"in i?function(e,t){const r=e.formatToParts(t);for(let e=r.length-1;e>=0;--e)if("timeZoneName"===r[e].type)return r[e].value;return}(i,t):function(e,t){const r=e.format(t).replace(/\u200E/g,""),n=/ [\w-+ ]+$/.exec(r);return n?n[0].substr(1):""}(i,t)}function s(e,t){const r=function(e){u[e]||(u[e]=d?new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}):new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:e,year:"numeric",month:"numeric",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}));return u[e]}(t);return"formatToParts"in r?function(e,t){try{const r=e.formatToParts(t),n=[];for(let e=0;e<r.length;e++){const t=l[r[e].type];void 0!==t&&(n[t]=parseInt(r[e].value,10))}return n}catch(e){if(e instanceof RangeError)return[NaN];throw e}}(r,e):function(e,t){const r=e.format(t),n=/(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(r);return[parseInt(n[3],10),parseInt(n[1],10),parseInt(n[2],10),parseInt(n[4],10),parseInt(n[5],10),parseInt(n[6],10)]}(r,e)}const l={year:0,month:1,day:2,hour:3,minute:4,second:5};const u={},c=new Intl.DateTimeFormat("en-US",{hourCycle:"h23",timeZone:"America/New_York",year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date("2014-06-25T04:00:00.123Z")),d="06/25/2014, 00:00:00"===c||"‎06‎/‎25‎/‎2014‎ ‎00‎:‎00‎:‎00"===c;function h(e,t,r,n,i,o,a){const s=new Date(0);return s.setUTCFullYear(e,t,r),s.setUTCHours(n,i,o,a),s}const f=36e5,p=6e4,m={timezone:/([Z+-].*)$/,timezoneZ:/^(Z)$/,timezoneHH:/^([+-]\d{2}
2)$/,timezoneHHMM:/^([+-])(\d{2}):?(\d{2})$/};function g(e,t,r){if(!e)return 0;let n,i,o=m.timezoneZ.exec(e);if(o)return 0;if(o=m.timezoneHH.exec(e),o)return n=parseInt(o[1],10),y(n)?-n*f:NaN;if(o=m.timezoneHHMM.exec(e),o){n=parseInt(o[2],10);const e=parseInt(o[3],10);return y(n,e)?(i=Math.abs(n)*f+e*p,"+"===o[1]?-i:i):NaN}if(function(e){if(v[e])return!0;try{return new Intl.DateTimeFormat(void 0,{timeZone:e}),v[e]=!0,!0}catch(e){return!1}}(e)){t=new Date(t||Date.now());const n=r?t:function(e){return h(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}(t),i=b(n,e),o=r?i:function(e,t,r){const n=e.getTime();let i=n-t;const o=b(new Date(i),r);if(t===o)return t;i-=o-t;const a=b(new Date(i),r);if(o===a)return o;return Math.max(o,a)}(t,i,e);return-o}return NaN}function b(e,t){const r=s(e,t),n=h(r[0],r[1]-1,r[2],r[3]%24,r[4],r[5],0).getTime();let i=e.getTime();const o=i%1e3;return i-=o>=0?o:1e3+o,n-i}function y(e,t){return-23<=e&&e<=23&&(null==t||0<=t&&t<=59)}const v={};const w={X:function(e,t,r){const n=x(r.timeZone,e);if(0===n)return"Z";switch(t){case"X":return O(n);case"XXXX":case"XX":return _(n);default:return _(n,":")}},x:function(e,t,r){const n=x(r.timeZone,e);switch(t){case"x":return O(n);case"xxxx":case"xx":return _(n);default:return _(n,":")}},O:function(e,t,r){const n=x(r.timeZone,e);switch(t){case"O":case"OO":case"OOO":return"GMT"+function(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),o=n%60;if(0===o)return r+String(i);return r+String(i)+t+M(o,2)}(n,":");default:return"GMT"+_(n,":")}},z:function(e,t,r){switch(t){case"z":case"zz":case"zzz":return a("short",e,r);default:return a("long",e,r)}}};function x(e,t){const r=e?g(e,t,!0)/6e4:t?.getTimezoneOffset()??0;if(Number.isNaN(r))throw new RangeError("Invalid time zone specified: "+e);return r}function M(e,t){const r=e<0?"-":"";let n=Math.abs(e).toString();for(;n.length<t;)n="0"+n;return r+n}function _(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+M(Math.floor(n/60),2)+t+M(Math.floor(n%60),2)}function O(e,t){if(e%60==0){return(e>0?"-":"+")+M(Math.abs(e)/60,2)}return _(e,t)}function j(e){const t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),+e-+t}const S=/(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,A=36e5,P=6e4,k=2,T={dateTimePattern:/^([0-9W+-]+)(T| )(.*)/,datePattern:/^([0-9W+-]+)(.*)/,plainTime:/:/,YY:/^(\d{2})$/,YYY:[/^([+-]\d{2})$/,/^([+-]\d{3})$/,/^([+-]\d{4})$/],YYYY:/^(\d{4})/,YYYYY:[/^([+-]\d{4})/,/^([+-]\d{5})/,/^([+-]\d{6})/],MM:/^-(\d{2})$/,DDD:/^-?(\d{3})$/,MMDD:/^-?(\d{2})-?(\d{2})$/,Www:/^-?W(\d{2})$/,WwwD:/^-?W(\d{2})-?(\d{1})$/,HH:/^(\d{2}([.,]\d*)?)$/,HHMM:/^(\d{2}):?(\d{2}([.,]\d*)?)$/,HHMMSS:/^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,timeZone:S};function E(e,t={}){if(arguments.length<1)throw new TypeError("1 argument required, but only "+arguments.length+" present");if(null===e)return new Date(NaN);const r=null==t.additionalDigits?k:Number(t.additionalDigits);if(2!==r&&1!==r&&0!==r)throw new RangeError("additionalDigits must be 0, 1 or 2");if(e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e))return new Date(e.getTime());if("number"==typeof e||"[object Number]"===Object.prototype.toString.call(e))return new Date(e);if("[object String]"!==Object.prototype.toString.call(e))return new Date(NaN);const n=function(e){const t={};let r,n=T.dateTimePattern.exec(e);n?(t.date=n[1],r=n[3]):(n=T.datePattern.exec(e),n?(t.date=n[1],r=n[2]):(t.date=null,r=e));if(r){const e=T.timeZone.exec(r);e?(t.time=r.replace(e[1],""),t.timeZone=e[1].trim()):t.time=r}return t}(e),{year:i,restDateString:o}=function(e,t){if(e){const r=T.YYY[t],n=T.YYYYY[t];let i=T.YYYY.exec(e)||n.exec(e);if(i){const t=i[1];return{year:parseInt(t,10),restDateString:e.slice(t.length)}}if(i=T.YY.exec(e)||r.exec(e),i){const t=i[1];return{year:100*parseInt(t,10),restDateString:e.slice(t.length)}}}return{year:null}}(n.date,r),a=function(e,t){if(null===t)return null;let r,n,i;if(!e||!e.length)return r=new Date(0),r.setUTCFullYear(t),r;let o=T.MM.exec(e);if(o)return r=new Date(0),n=parseInt(o[1],10)-1,R(t,n)?(r.setUTCFullYear(t,n),r):new Date(NaN);if(o=T.DDD.exec(e),o){r=new Date(0);const e=parseInt(o[1],10);return function(e,t){if(t<1)return!1;const r=I(e);if(r&&t>366)return!1;if(!r&&t>365)return!1;return!0}(t,e)?(r.setUTCFullYear(t,0,e),r):new Date(NaN)}if(o=T.MMDD.exec(e),o){r=new Date(0),n=parseInt(o[1],10)-1;const e=parseInt(o[2],10);return R(t,n,e)?(r.setUTCFullYear(t,n,e),r):new Date(NaN)}if(o=T.Www.exec(e),o)return i=parseInt(o[1],10)-1,L(i)?C(t,i):new Date(NaN);if(o=T.WwwD.exec(e),o){i=parseInt(o[1],10)-1;const e=parseInt(o[2],10)-1;return L(i,e)?C(t,i,e):new Date(NaN)}return null}(o,i);if(null===a||isNaN(a.getTime()))return new Date(NaN);if(a){const e=a.getTime();let r,i=0;if(n.time&&(i=function(e){let t,r,n=T.HH.exec(e);if(n)return t=parseFloat(n[1].replace(",",".")),B(t)?t%24*A:NaN;if(n=T.HHMM.exec(e),n)return t=parseInt(n[1],10),r=parseFloat(n[2].replace(",",".")),B(t,r)?t%24*A+r*P:NaN;if(n=T.HHMMSS.exec(e),n){t=parseInt(n[1],10),r=parseInt(n[2],10);const e=parseFloat(n[3].replace(",","."));return B(t,r,e)?t%24*A+r*P+1e3*e:NaN}return null}
2(n.time),null===i||isNaN(i)))return new Date(NaN);if(n.timeZone||t.timeZone){if(r=g(n.timeZone||t.timeZone,new Date(e+i)),isNaN(r))return new Date(NaN)}else r=j(new Date(e+i)),r=j(new Date(e+i+r));return new Date(e+i+r)}return new Date(NaN)}function C(e,t,r){t=t||0,r=r||0;const n=new Date(0);n.setUTCFullYear(e,0,4);const i=7*t+r+1-(n.getUTCDay()||7);return n.setUTCDate(n.getUTCDate()+i),n}const D=[31,28,31,30,31,30,31,31,30,31,30,31],N=[31,29,31,30,31,30,31,31,30,31,30,31];function I(e){return e%400==0||e%4==0&&e%100!=0}function R(e,t,r){if(t<0||t>11)return!1;if(null!=r){if(r<1)return!1;const n=I(e);if(n&&r>N[t])return!1;if(!n&&r>D[t])return!1}return!0}function L(e,t){return!(e<0||e>52)&&(null==t||!(t<0||t>6))}function B(e,t,r){return!(e<0||e>=25)&&((null==t||!(t<0||t>=60))&&(null==r||!(r<0||r>=60)))}const q=/([xXOz]+)|''|'(''|[^'])+('|$)/g;function U(e,t,r={}){const i=(t=String(t)).match(q);if(i){const n=E(r.originalDate||e,r);t=i.reduce(function(e,t){if("'"===t[0])return e;const i=e.indexOf(t),o="'"===e[i-1],a=e.replace(t,"'"+w[t[0]](n,t,r)+"'");return o?a.substring(0,i-1)+a.substring(i+1):a},t)}return(0,n.GP)(e,t,r)}function z(e,t,r){const n=g(t,e=E(e,r),!0),i=new Date(e.getTime()-n),o=new Date(0);return o.setFullYear(i.getUTCFullYear(),i.getUTCMonth(),i.getUTCDate()),o.setHours(i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()),o}function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach(function(t){V(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function H(e,t,r){if("string"==typeof e&&!e.match(S))return E(e,$($({},r),{},{timeZone:t}));const n=h((e=E(e,r)).getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()).getTime(),i=g(t,new Date(n));return new Date(n+i)}},6123:function(e,t,r){"use strict";r.d(t,{q:function(){return i}});let n={};function i(){return n}},2201:function(e,t,r){"use strict";function n(e){return t=>{const r=(e?Math[e]:Math.trunc)(t);return 0===r?0:r}}r.d(t,{u:function(){return n}})},4245:function(e,t,r){"use strict";r.d(t,{G:function(){return i}});var n=r(5334);function i(e){const t=(0,n.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),+e-+r}},6310:function(e,t,r){"use strict";r.d(t,{x:function(){return i}});var n=r(1318);function i(e,...t){const r=n.w.bind(null,e||t.find(e=>"object"==typeof e));return t.map(r)}},8359:function(e,t,r){"use strict";r.d(t,{z:function(){return i}});var n=r(5334);function i(e,t){const r=+(0,n.a)(e)-+(0,n.a)(t);return r<0?-1:r>0?1:r}},3966:function(e,t,r){"use strict";r.d(t,{Cg:function(){return o},F6:function(){return l},Nw:function(){return s},_P:function(){return u},my:function(){return n},s0:function(){return a},w4:function(){return i}});Math.pow(10,8);const n=6048e5,i=864e5,o=6e4,a=36e5,s=43200,l=1440,u=Symbol.for("constructDateFrom")},1318:function(e,t,r){"use strict";r.d(t,{w:function(){return i}});var n=r(3966);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},7686:function(e,t,r){"use strict";r.d(t,{m:function(){return s}});var n=r(4245),i=r(6310),o=r(3966),a=r(2822);function s(e,t,r){const[s,l]=(0,i.x)(r?.in,e,t),u=(0,a.o)(s),c=(0,a.o)(l),d=+u-(0,n.G)(u),h=+c-(0,n.G)(c);
2return Math.round((d-h)/o.w4)}},3073:function(e,t,r){"use strict";r.d(t,{b:function(){return i}});var n=r(5334);function i(e,t){return+(0,n.a)(e)-+(0,n.a)(t)}},4274:function(e,t,r){"use strict";r.d(t,{o:function(){return a}});var n=r(2201),i=r(3966),o=r(3073);function a(e,t,r){const a=(0,o.b)(e,t)/i.Cg;return(0,n.u)(r?.roundingMethod)(a)}},6499:function(e,t,r){"use strict";r.d(t,{W:function(){return c}});var n=r(6310),i=r(8359);function o(e,t,r){const[i,o]=(0,n.x)(r?.in,e,t);return 12*(i.getFullYear()-o.getFullYear())+(i.getMonth()-o.getMonth())}var a=r(5334);function s(e,t){const r=(0,a.a)(e,t?.in);return r.setHours(23,59,59,999),r}function l(e,t){const r=(0,a.a)(e,t?.in),n=r.getMonth();return r.setFullYear(r.getFullYear(),n+1,0),r.setHours(23,59,59,999),r}function u(e,t){const r=(0,a.a)(e,t?.in);return+s(r,t)===+l(r,t)}function c(e,t,r){const[a,s,l]=(0,n.x)(r?.in,e,e,t),c=(0,i.z)(s,l),d=Math.abs(o(s,l));if(d<1)return 0;1===s.getMonth()&&s.getDate()>27&&s.setDate(30),s.setMonth(s.getMonth()-c*d);let h=(0,i.z)(s,l)===-c;u(a)&&1===d&&1===(0,i.z)(a,l)&&(h=!1);const f=c*(d-+h);return 0===f?0:f}},6094:function(e,t,r){"use strict";r.d(t,{O:function(){return o}});var n=r(2201),i=r(3073);function o(e,t,r){const o=(0,i.b)(e,t)/1e3;return(0,n.u)(r?.roundingMethod)(o)}},9575:function(e,t,r){"use strict";r.d(t,{GP:function(){return G}});
2var n=r(9480),i=r(6123),o=r(7686),a=r(5334);function s(e,t){const r=(0,a.a)(e,t?.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function l(e,t){const r=(0,a.a)(e,t?.in);return(0,o.m)(r,s(r))+1}var u=r(3966);function c(e,t){const r=(0,i.q)(),n=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,o=(0,a.a)(e,t?.in),s=o.getDay(),l=(s<n?7:0)+s-n;return o.setDate(o.getDate()-l),o.setHours(0,0,0,0),o}function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){return c(e,h(h({},t),{},{weekStartsOn:1}))}var m=r(1318);function g(e,t){const r=(0,a.a)(e,t?.in),n=r.getFullYear(),i=(0,m.w)(r,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);const o=p(i),s=(0,m.w)(r,0);s.setFullYear(n,0,4),s.setHours(0,0,0,0);const l=p(s);return r.getTime()>=o.getTime()?n+1:r.getTime()>=l.getTime()?n:n-1}function b(e,t){const r=g(e,t),n=(0,m.w)(t?.in||e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),p(n)}function y(e,t){const r=(0,a.a)(e,t?.in),n=+p(r)-+b(r);return Math.round(n/u.my)+1}function v(e,t){const r=(0,a.a)(e,t?.in),n=r.getFullYear(),o=(0,i.q)(),s=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,l=(0,m.w)(t?.in||e,0);l.setFullYear(n+1,0,s),l.setHours(0,0,0,0);const u=c(l,t),d=(0,m.w)(t?.in||e,0);d.setFullYear(n,0,s),d.setHours(0,0,0,0);const h=c(d,t);return+r>=+u?n+1:+r>=+h?n:n-1}function w(e,t){const r=(0,i.q)(),n=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,o=v(e,t),a=(0,m.w)(t?.in||e,0);a.setFullYear(o,0,n),a.setHours(0,0,0,0);return c(a,t)}function x(e,t){const r=(0,a.a)(e,t?.in),n=+c(r,t)-+w(r,t);return Math.round(n/u.my)+1}function M(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const _={y(e,t){const r=e.getFullYear(),n=r>0?r:1-r;return M("yy"===t?n%100:n,t.length)},M(e,t){const r=e.getMonth();return"M"===t?String(r+1):M(r+1,2)},d(e,t){return M(e.getDate(),t.length)},a(e,t){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h(e,t){return M(e.getHours()%12||12,t.length)},H(e,t){return M(e.getHours(),t.length)},m(e,t){return M(e.getMinutes(),t.length)},s(e,t){return M(e.getSeconds(),t.length)},S(e,t){const r=t.length,n=e.getMilliseconds();return M(Math.trunc(n*Math.pow(10,r-3)),t.length)}},O="midnight",j="noon",S="morning",A="afternoon",P="evening",k="night",T={G:function(e,t,r){const n=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){const t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return _.y(e,t)},Y:function(e,t,r,n){const i=v(e,n),o=i>0?i:1-i;if("YY"===t){return M(o%100,2)}return"Yo"===t?r.ordinalNumber(o,{unit:"year"}):M(o,t.length)},R:function(e,t){return M(g(e),t.length)},u:function(e,t){return M(e.getFullYear(),t.length)},Q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return M(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){const n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return M(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){const n=e.getMonth();switch(t){case"M":case"MM":return _.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){const n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return M(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){const i=x(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):M(i,t.length)},I:function(e,t,r){const n=y(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):M(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):_.d(e,t)},D:function(e,t,r){const n=l(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):M(n,t.length)},E:function(e,t,r){const n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){const i=e.getDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return M(o,2);case"eo":return r.ordinalNumber(o,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){const i=e.getDay(),o=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return M(o,t.length);case"co":return r.ordinalNumber(o,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){const n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return M(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){const n=e.getHours();let i;switch(i=12===n?j:0===n?O:n/12>
2=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(i,{width:"narrow",context:"formatting"});default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},B:function(e,t,r){const n=e.getHours();let i;switch(i=n>=17?P:n>=12?A:n>=4?S:k,t){case"B":case"BB":case"BBB":return r.dayPeriod(i,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(i,{width:"narrow",context:"formatting"});default:return r.dayPeriod(i,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return _.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):_.H(e,t)},K:function(e,t,r){const n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):M(n,t.length)},k:function(e,t,r){let n=e.getHours();return 0===n&&(n=24),"ko"===t?r.ordinalNumber(n,{unit:"hour"}):M(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):_.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):_.s(e,t)},S:function(e,t){return _.S(e,t)},X:function(e,t,r){const n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return C(n);case"XXXX":case"XX":return D(n);default:return D(n,":")}},x:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"x":return C(n);case"xxxx":case"xx":return D(n);default:return D(n,":")}},O:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+E(n,":");default:return"GMT"+D(n,":")}},z:function(e,t,r){const n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+E(n,":");default:return"GMT"+D(n,":")}},t:function(e,t,r){return M(Math.trunc(+e/1e3),t.length)},T:function(e,t,r){return M(+e,t.length)}};function E(e,t=""){const r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),o=n%60;return 0===o?r+String(i):r+String(i)+t+M(o,2)}function C(e,t){if(e%60==0){return(e>0?"-":"+")+M(Math.abs(e)/60,2)}return D(e,t)}function D(e,t=""){const r=e>0?"-":"+",n=Math.abs(e);return r+M(Math.trunc(n/60),2)+t+M(n%60,2)}const N=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},I=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},R={p:I,P:(e,t)=>{const r=e.match(/(P+)(p+)?/)||[],n=r[1],i=r[2];if(!i)return N(e,t);let o;switch(n){case"P":o=t.dateTime({width:"short"});break;case"PP":o=t.dateTime({width:"medium"});break;case"PPP":o=t.dateTime({width:"long"});break;default:o=t.dateTime({width:"full"})}return o.replace("{{date}}",N(n,t)).replace("{{time}}",I(i,t))}},L=/^D+$/,B=/^Y+$/,q=["D","DD","YY","YYYY"];function U(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function z(e){return!(!U(e)&&"number"!=typeof e||isNaN(+(0,a.a)(e)))}const F=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,$=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,V=/^'([^]*?)'?$/,H=/''/g,W=/[a-zA-Z]/;function G(e,t,r){const o=(0,i.q)(),s=r?.locale??o.locale??n.c,l=r?.firstWeekContainsDate??r?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,u=r?.weekStartsOn??r?.locale?.options?.weekStartsOn??o.weekStartsOn??o.locale?.options?.weekStartsOn??0,c=(0,a.a)(e,r?.in);if(!z(c))throw new RangeError("Invalid time value");let d=t.match($).map(e=>{const t=e[0];if("p"===t||"P"===t){return(0,R[t])(e,s.formatLong)}return e}).join("").match(F).map(e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:K(e)};if(T[t])return{isToken:!0,value:e};if(t.match(W))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});s.localize.preprocessor&&(d=s.localize.preprocessor(c,d));const h={firstWeekContainsDate:l,weekStartsOn:u,locale:s};return d.map(n=>{if(!n.isToken)return n.value;const i=n.value;(!r?.useAdditionalWeekYearTokens&&function(e){return B.test(e)}(i)||!r?.useAdditionalDayOfYearTokens&&function(e){return L.test(e)}(i))&&function(e,t,r){const n=function(e,t,r){const n="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${n} to the input \`${r}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,r);if(console.warn(n),q.includes(e))throw new RangeError(n)}(i,t,String(e));return(0,T[i[0]])(c,i,s.localize,h)}).join("")}function K(e){const t=e.match(V);return t?t[1].replace(H,"'"):e}},4406:function(e,t,r){"use strict";function n(e){return(t={})=>{const r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}r.d(t,{k:function(){return n}})},6848:function(e,t,r){"use strict";function n(e){return(t,r)=>{let n;if("formatting"===(r?.context?String(r.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,i=r?.width?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{const t=e.defaultWidth,i=r?.width?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}r.d(t,{o:function(){return n}})},1306:function(e,t,r){"use strict";function n(e){return(t,r={})=>{const n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],o=t.match(i);if(!o)return null;const a=o[0],s=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r;return}(s,e=>e.test(a)):function(e,t){for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r;return}(s,e=>e.test(a));let u;u=e.valueCallback?e.valueCallback(l):l,u=r.valueCallback?r.valueCallback(u):u;return{value:u,rest:t.slice(a.length)}}}r.d(t,{A:function(){return n}})},7574:function(e,t,r){"use strict";function n(e){return(t,r={})=>{const n=t.match(e.matchPattern);if(!n)return null;const i=n[0],o=t.match(e.parsePattern);if(!o)return null;let a=e.valueCallback?e.valueCallback(o[0]):o[0];a=r.valueCallback?r.valueCallback(a):a;return{value:a,rest:t.slice(i.length)}}}r.d(t,{K:function(){return n}})},9480:function(e,t,r){"use strict";r.d(t,{c:function(){return c}});const n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};var i=r(4406);const o={date:(0,i.k)({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:(0,i.k)({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:(0,i.k)({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};var s=r(6848);const l={ordinalNumber:(e,t)=>{const r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,s.o)({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:(0,s.o)({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,s.o)({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:(0,s.o)({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Frid
2ay","Saturday"]},defaultWidth:"wide"}),dayPeriod:(0,s.o)({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};var u=r(1306);const c={code:"en-US",formatDistance:(e,t,r)=>{let i;const o=n[e];return i="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"in "+i:i+" ago":i},formatLong:o,formatRelative:(e,t,r,n)=>a[e],localize:l,match:{ordinalNumber:(0,r(7574).K)({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:(0,u.A)({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:(0,u.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,u.A)({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:(0,u.A)({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:(0,u.A)({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},2822:function(e,t,r){"use strict";r.d(t,{o:function(){return i}});var n=r(5334);function i(e,t){const r=(0,n.a)(e,t?.in);return r.setHours(0,0,0,0),r}},5334:function(e,t,r){"use strict";r.d(t,{a:function(){return i}});var n=r(1318);function i(e,t){return(0,n.w)(t||e,e)}},5363:function(e,t,r){"use strict";r.d(t,{D4:function(){return v}});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},n.apply(this,arguments)};function i(e,t){for(var r={},i={},o=e.split("~~"),a=!1,s=0;o.length>s;s++){for(var l=o[s].split("~"),u=0;u<l.length;u+=2){var c=l[u],d=l[u+1],h="&"+c+";";r[h]=d,a&&(r["&"+c]=d),i[d]=h}a=!0}return t?{entities:n(n({},r),t.entities),characters:n(n({},i),t.characters)}:{entities:r,characters:i}}var o={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/&notin;|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/&centerdot;|&copysr;|&divideontimes;|&gtcc;|&gtcir;|&gtdot;|&gtlPar;|&gtquest;|&gtrapprox;|&gtrarr;|&gtrdot;|&gtreqless;|&gtreqqless;|&gtrless;|&gtrsim;|&ltcc;|&ltcir;|&ltdot;|&lthree;|&ltimes;|&ltlarr;|&ltquest;|&ltrPar;|&ltri;|&ltrie;|&ltrif;|&notin;|&notinE;|&notindot;|&notinva;|&notinvb;|&notinvc;|&notni;|&notniva;|&notnivb;|&notnivc;|&parallel;|&timesb;|&timesbar;|&timesd;|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},a={};a.xml=i("lt~<~gt~>~quot~\"~apos~'~amp~&"),a.html4=i("apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~z
2wnj~‌~zwj~‍~lrm~‎~rlm~‏~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~­~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~\"~amp~&~lt~<~gt~>"),a.html5=i('
vendor: 7,275 bytes, line 2
2Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~⁡~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~⁣~InvisibleTimes~⁢~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~​~NegativeThickSpace~​~NegativeThinSpace~​~NegativeVeryThinSpace~​~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~⁠~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~\t~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~  ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcir
vendor: 14,923 bytes, line 2
2c~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~​~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~⁡~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~⁣~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~⁢~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~
2"~REG~®',a.html4);var s={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},l=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},u=(String.prototype.codePointAt,function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},u.apply(this,arguments)}),c=u(u({},a),{all:a.html5});var d={scope:"body",level:"all"},h=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,p={xml:{strict:h,attribute:f,body:o.xml},html4:{strict:h,attribute:f,body:o.html4},html5:{strict:h,attribute:f,body:o.html5}},m=u(u({},p),{all:p.html5}),g=String.fromCharCode,b=g(65533);function y(e,t,r,n){var i=e,o=e[e.length-1];if(r&&"="===o)i=e;else if(n&&";"!==o)i=e;else{var a=t[e];if(a)i=a;else if("&"===e[0]&&"#"===e[1]){var u=e[2],c="x"==u||"X"==u?parseInt(e.substr(3),16):parseInt(e.substr(2));i=c>=1114111?b:c>65535?l(c):g(s[c]||c)}}return i}function v(e,t){var r=void 0===t?d:t,n=r.level,i=void 0===n?"all":n,o=r.scope,a=void 0===o?"xml"===i?"strict":"body":o;if(!e)return"";var s=m[i][a],l=c[i].entities,u="attribute"===a,h="strict"===a;return e.replace(s,function(e){return y(e,l,u,h)})}},5438:function(e,t,r){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e){var t=function(e,t){if("object"!=i(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=i(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==i(t)?t:t+""}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,o(n.key),n)}}function s(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function l(e,t){if(t&&("object"==i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}function c(e,t){return c=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},c(e,t)}function d(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&c(e,t)}r.d(t,{A:function(){return j}});var h=r(809),f=r.n(h);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o,a,s=[],l=!0,u=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return p(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}
2(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var g,b=r(2928),y=r.n(b),v={enabled:!0,offsetBottom:0,offsetLeft:0,offsetRight:0,offsetTop:0,throttle:100};function w(e,t){var r=t.offsetBottom,n=t.offsetLeft,i=t.offsetRight,o=t.offsetTop;if(!function(e){return"isConnected"in e?e.isConnected:document.body.contains(e)}(e))return!1;var a=e.getBoundingClientRect(),s=a.bottom+r,l=a.left-n,u=a.right+i,c=a.top-o;return s>=0&&l<=window.innerWidth&&u>=0&&c<=window.innerHeight}var x=function(e){function t(){var e;return n(this,t),(e=l(this,u(t).apply(this,arguments))).state={element:null},e.childRef=function(t){e.setState({element:t})},e.teardown=null,e.setup=function(){if(e.props.enabled&&e.state.element){var t=e.props,r=t.offsetBottom,n=t.offsetLeft,i=t.offsetRight,o=t.offsetTop,a=t.onChange;e.teardown=function(e){var t=e.element,r=e.offsetBottom,n=e.offsetLeft,i=e.offsetRight,o=e.offsetTop,a=e.onChange,s="".concat(r,"px ").concat(n,"px ").concat(o,"px ").concat(i,"px"),l=new IntersectionObserver(function(e){var t=m(e,1)[0];a(t.isIntersecting)},{root:null,rootMargin:s});return l.observe(t),function(){l.unobserve(t)}}({element:e.state.element,offsetBottom:r,offsetLeft:n,offsetRight:i,offsetTop:o,onChange:a})}},e.safeTeardown=function(){e.teardown&&(e.teardown(),e.teardown=null)},e}return d(t,e),s(t,[{key:"componentDidUpdate",value:function(e,t){e.children===this.props.children&&e.enabled===this.props.enabled&&e.offsetBottom===this.props.offsetBottom&&e.offsetLeft===this.props.offsetLeft&&e.offsetRight===this.props.offsetRight&&e.offsetTop===this.props.offsetTop&&e.onChange===this.props.onChange&&t.element===this.state.element||(this.safeTeardown(),this.setup())}},{key:"componentWillUnmount",value:function(){this.safeTeardown()}},{key:"render",value:function(){return this.props.children(this.childRef)}}]),t}(h.Component);x.defaultProps=v;var M=function(e){function t(){var e;return n(this,t),(e=l(this,u(t).apply(this,arguments))).state={element:null},e.childRef=function(t){e.setState({element:t})},e.teardown=null,e.setup=function(){if(e.props.enabled&&e.state.element){var t=e.props,r=t.offsetBottom,n=t.offsetLeft,i=t.offsetRight,o=t.offsetTop,a=t.onChange,s=t.throttle;e.teardown=function(e){var t,r=e.element,n=e.offsetBottom,i=e.offsetLeft,o=e.offsetRight,a=e.offsetTop,s=e.onChange,l=e.throttle,u=function(){var e=!!r&&w(r,{offsetBottom:n,offsetLeft:i,offsetRight:o,offsetTop:a});e!==t&&(t=e,s(e))},c=y()(u,l);return u(),window.addEventListener("scroll",c),window.addEventListener("resize",c),function(){window.removeEventListener("scroll",c),window.removeEventListener("resize",c)}}({offsetBottom:r,offsetLeft:n,offsetRight:i,offsetTop:o,onChange:a,element:e.state.element,throttle:s})}},e.safeTeardown=function(){e.teardown&&(e.teardown(),e.teardown=null)},e}
2return d(t,e),s(t,[{key:"componentDidUpdate",value:function(e,t){e.children===this.props.children&&e.enabled===this.props.enabled&&e.offsetBottom===this.props.offsetBottom&&e.offsetLeft===this.props.offsetLeft&&e.offsetRight===this.props.offsetRight&&e.offsetTop===this.props.offsetTop&&e.onChange===this.props.onChange&&e.throttle===this.props.throttle&&t.element===this.state.element||(this.safeTeardown(),this.setup())}},{key:"componentWillUnmount",value:function(){this.safeTeardown()}},{key:"render",value:function(){return this.props.children(this.childRef)}}]),t}(h.Component);M.defaultProps=v;var _=function(e){function t(){return n(this,t),l(this,u(t).apply(this,arguments))}return d(t,e),s(t,[{key:"render",value:function(){return void 0===g&&(g="undefined"!=typeof window&&"IntersectionObserver"in window),g?(0,h.createElement)(x,this.props):(0,h.createElement)(M,this.props)}}]),t}(h.Component);_.defaultProps=v;var O=function(e){function t(){var e;return n(this,t),(e=l(this,u(t).apply(this,arguments))).state={isInViewport:!1},e.handleChange=function(t){e.setState({isInViewport:t})},e.renderChildren=function(){return e.props.children},e}return d(t,e),s(t,[{key:"shouldComponentUpdate",value:function(e,t){return e.children!==this.props.children||e.offsetBottom!==this.props.offsetBottom||e.offsetLeft!==this.props.offsetLeft||e.offsetRight!==this.props.offsetRight||e.offsetTop!==this.props.offsetTop||e.renderPlaceholder!==this.props.renderPlaceholder||e.throttle!==this.props.throttle||t.isInViewport!==this.state.isInViewport}},{key:"render",value:function(){var e=this.props,t=e.offsetBottom,r=e.offsetLeft,n=e.offsetRight,i=e.offsetTop,o=e.renderPlaceholder,a=e.throttle,s=this.state.isInViewport;return f().createElement(_,{enabled:!s,offsetBottom:t,offsetLeft:r,offsetRight:n,offsetTop:i,onChange:this.handleChange,throttle:a},s?this.renderChildren:o)}}]),t}(h.Component),j=O},2928:function(e,t,r){var n="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,s=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,c="object"==typeof self&&self&&self.Object===Object&&self,d=u||c||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return d.Date.now()};function g(e,t,r){var i,o,a,s,l,u,c=0,d=!1,h=!1,g=!0;if("function"!=typeof e)throw new TypeError(n);function v(t){var r=i,n=o;return i=o=void 0,c=t,s=e.apply(n,r)}function w(e){var r=e-u;return void 0===u||r>=t||r<0||h&&e-c>=a}function x(){var e=m();if(w(e))return M(e);l=setTimeout(x,function(e){var r=t-(e-u);return h?p(r,a-(e-c)):r}(e))}function M(e){return l=void 0,g&&i?v(e):(i=o=void 0,s)}function _(){var e=m(),r=w(e);if(i=arguments,o=this,u=e,r){if(void 0===l)return function(e){return c=e,l=setTimeout(x,t),d?v(e):s}(u);if(h)return l=setTimeout(x,t),v(u)}return void 0===l&&(l=setTimeout(x,t)),s}return t=y(t)||0,b(r)&&(d=!!r.leading,a=(h="maxWait"in r)?f(y(r.maxWait)||0,t):a,g="trailing"in r?!!r.trailing:g),_.cancel=function(){void 0!==l&&clearTimeout(l),c=0,i=u=o=l=void 0},_.flush=function(){return void 0===l?s:M(m())},_}function b(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function y(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==h.call(e)}(e))return NaN;if(b(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=b(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=a.test(e);return r||s.test(e)?l(e.slice(2),r?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return b(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),g(e,t,{leading:i,maxWait:t,trailing:o})}},994:function(e){"use strict";e.exports=function(e,t){return{input:e,regex:t,next:function(){var e=this.nextRaw();if(e)for(var t=1;t<e.length;t++)if(e[t])return e[t];return null},nextRaw:function(){return this.regex.exec(this.input)},toArray:function(){for(var e=[],t=null;t=this.next();)e.push(t);return e},reset:function(e){return this.regex.lastIndex=e||0}}}},598:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(7450);let i=(e=21)=>{let t="",r=0|e;for(;r-- >0;)t+=n.x[64*Math.random()|0];return t}},7450:function(e,t,r){"use strict";r.d(t,{x:function(){return n}});let n="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}
2,9822:function(e,t){"use strict";function r(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.getEmbedConfiguration=void 0;var i={"connect.facebook.net":{isLoaded:function(){if(!document.querySelector("body > #fb-root")){r(document.querySelectorAll("#fb-root")).forEach(function(e){return e.parentNode.removeChild(e)});var e=document.createElement("div");e.id="fb-root",document.body.appendChild(e)}return void 0!==window.FB},reload:function(e){return window.FB.XFBML.parse(e)}},"instagram.com":{isLoaded:function(){return void 0!==window.instgrm},reload:function(){return window.instgrm.Embeds.process()}},"twitter.com":{isLoaded:function(){return void 0!==window.twttr&&void 0!==window.twttr.widgets},reload:function(){return window.twttr.widgets.load()}},"trellocdn.com":{isLoaded:function(){return void 0!==window.TrelloCards&&void 0!==window.TrelloCards.load},reload:function(){return window.TrelloCards.load(document,{compact:!1,allAnchors:!1})}}};t.getEmbedConfiguration=function(e){return Object.keys(i).reduce(function(t,r){return t||e.indexOf(r)>-1&&i[r]||null},null)};var o=i;t.default=o},4987:function(e,t){"use strict";function r(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0}),t.injectScriptTag=t.getScripts=t.INJECTED_SCRIPT=t.EXTERNAL_SCRIPT=t.ANY_SCRIPT=void 0;t.ANY_SCRIPT=/<script[\s\S]*?>[\s\S]*?<\/script>/gi;var i=/<script[^>]+src=(['"])(.*?)\1/i;t.EXTERNAL_SCRIPT=i;var o=/<script[\s\S]*?>[\s\S]*?createElement[\s\S]*?src\s?=\s?(['"])(.*?)\1/i;t.INJECTED_SCRIPT=o;var a=function(e){return function(e){var t=e.match(i);return t&&t[2]}(e)||function(e){var t=e.match(o);return t&&t[2]}(e)},s=function(e){return Object.keys(e.reduce(function(e,t){return t?function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{};t%2?r(Object(i),!0).forEach(function(t){n(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):r(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}({},e,n({},t,!0)):e},{}))};t.getScripts=function(e){var t=e.match(/<script[\s\S]*?<\/script>/gi);return t?s(t.map(a)):[]};t.injectScriptTag=function(e){var t=document.createElement("script");return t.src=e.replace("&amp;","&"),document.head.appendChild(t),t}},3402:function(e,t,r){"use strict";t.A=void 0;var n,i=function(e){if(e&&e.__esModule)return e;if(null===e||"object"!==u(e)&&"function"!=typeof e)return{default:e};var t=l();if(t&&t.has(e))return t.get(e);var r={},n=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(Object.prototype.hasOwnProperty.call(e,i)){var o=n?Object.getOwnPropertyDescriptor(e,i):null;o&&(o.get||o.set)?Object.defineProperty(r,i,o):r[i]=e[i]}r.default=e,t&&t.set(e,r);return r}(r(809)),o=(n=r(9894))&&n.__esModule?n:{default:n},a=r(4987),s=r(9822);function l(){if("function"!=typeof WeakMap)return null;var e=new WeakMap;return l=function(){return e},e}function u(e){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},u(e)}function c(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function d(e){return function(){var t,r=h(e);if(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(e){return!1}}()){var n=h(this).constructor;t=Reflect.construct(r,arguments,n)}else t=r.apply(this,arguments);return function(e,t){if(t&&("object"===u(t)||"function"==typeof t))return t;return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,t)}}
2function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function f(e,t){return f=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},f(e,t)}var p=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&f(e,t)}(l,e);var t,r,n,o=d(l);function l(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,l),o.apply(this,arguments)}return t=l,(r=[{key:"componentDidMount",value:function(){var e=this,t=this.props.markup;this.scripts=(0,a.getScripts)(t).map(function(t){return e.injectScript(t)}).filter(Boolean)}},{key:"shouldComponentUpdate",value:function(e){return e.markup!==this.props.markup}},{key:"injectScript",value:function(e){var t=this.container,r=(0,s.getEmbedConfiguration)(e);return r&&r.isLoaded()?(r.reload(t),null):(0,a.injectScriptTag)(e)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=t.className;return i.default.createElement("div",{className:n,ref:function(t){e.container=t}},r)}}])&&c(t.prototype,r),n&&c(t,n),l}(i.Component);p.defaultProps={className:null},p.propTypes={children:o.default.oneOfType([o.default.node,o.default.arrayOf(o.default.node)]).isRequired,className:o.default.string,markup:o.default.string.isRequired};var m=p;t.A=m},8731:function(e,t,r){"use strict";r.d(t,{rT:function(){return i},RX:function(){return a}});var n=r(3287);const i={arcAd:(0,n.A)(["article-arc-ad","w-100"]),blockquote:(0,n.A)(["article-blockquote"]),citation:(0,n.A)(["article-citation"]),correction:(0,n.A)(["article-correction"]),header:(0,n.A)(["article-header","w-100"]),image:(0,n.A)(["article-image"]),imageGallery:(0,n.A)(["article-image-gallery","w-100"]),interstitialLink:(0,n.A)(["article-interstitial-link"]),linkList:(0,n.A)(["article-link-list","w-100"]),list:(0,n.A)(["article-list"]),oembed:(0,n.A)(["article-oembed","w-100"]),pullquote:(0,n.A)(["article-pullquote"]),rawHtml:(0,n.A)(["article-raw-html","w-100","mb-3"]),table:(0,n.A)(["article-table","w-100"]),text:(0,n.A)(["article-text"]),video:(0,n.A)(["article-video","w-100"])};var o=r(9894);const a={imageProps:{imageClasses:"figure-img img-fluid mx-auto d-block"}};(0,o.oneOf)(["center","left","right"]),(0,o.shape)({center:o.string,left:o.string,right:o.string})},986:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return W}});var n=r(809),i=r.n(n),o=r(6780),a=r.n(o),s=r(3287),l=r(5771),u=r(9894),c=r.n(u),d=r(6874),h=r(9403),f=r(891),p=r(5267),m=r(5349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=new Map,w=/([A-Z])/g,x=/\//g,M=/^-/,_=/-+/g,O=/^ads\/arcads$/i,j=new Set(["blockquote","gallery","image","list","table","text","video","quote"]),S=["in-body-element","mx-auto"],A=["ad-article-inline","fallback-ad"],P=["bg-light","py-3","px-3-sm"];var k=({children:e,childProps:t=[],customFields:r={},globalContent:n={},isAmp:o})=>{const a=i().Children.toArray(e),u=n.content_elements||[],c=u?.length,d=a?.length,{customParagraphWordCount:h=0,enableInlineAdBackfill:f=!1,inlineContentInterval:g=7}=r;if(c<2||0===d&&!f)return u;const y=h;let k=0,T=0,E=0;const C=(e,t)=>{const i=t?.type||"unknown";if(o&&"global/HtmlBox"===i)return null;const a=(e=>{if(v.has(e))return v.get(e);const t=e.replace(w,"-$1").replace(x,"-").toLowerCase().replace(M,"").replace(_,"-");return v.set(e,t),t})(i),u=!O.test(i);return{type:"inline_element",element:(0,m.jsx)(l.xP,{className:(0,s.A)(S),conditionalClassName:(0,s.A)([`ibe-${a}`,{"constrained-width":u}]),fallback:(0,m.jsx)(p.default,{adClassNamesExternal:(0,s.A)(A),adClassNamesInternal:(0,s.A)(P),advertisementText:p.defaultAdText,globalContent:n,isAmp:o,customFields:b(b({},r),{},{arcAdsType:r.arcAdsType||"Leaderboard"})}),children:e},`inline-element-${t?.key||E}`)}},D=[];for(let e=0;e<u.length;e+=1){const r=u[e],{type:n,content:i=""}=r;if(D.push(r),e<u.length-2&&j.has(n)&&("text"===n?(k+=i.split(" ").length,k>=y&&(T+=1,k=0)):T+=1,T>0&&T%g===0&&(E<a.length||f))){const e=C(a[E],t[E]);e&&D.push(e),E+=1}}return D};const T={left:"text-start",right:"text-end",center:"text-center"},E=(e,t)=>{const r=t?(e=>e in T?T[e]:null)(t):null;return(0,s.A)([e,r])};var C=r(8731);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?D(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function I(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const R=({customFields:e,element:t,featureKey:r,isAdmin:n,isAmp:i,sourceSystem:o="composer"})=>{const{enableFloatableImages:a,floatableImageWidth:u}=e,{additional_properties:c={},alignment:p,caption:g,content:b,correction_type:y,credits:v,element:w,header:x,_id:M,items:_=[],level:O,list_type:j,raw_oembed:S,rows:A,subtitle:P,subtype:k,text:T,title:D,type:I,url:R,vanity_credits:L}=t,B=e=>{const t=a&&u&&["center","left","right"].includes(p)&&`w-${u}`||"w-100";return(0,s.A)([e,t,{"float-start me-3":a&&"left"===p},{"float-end ms-3":a&&"right"===p},{"mb-3":a&&["center","left","right"].includes(p)},{"mx-auto":a&&"center"===p}])},q=`${I}-${M}`;switch(I){case"correction":return(0,m.jsx)(l.VI.rZ,{className:E(C.rT?.correction,p),correctionType:y,children:T},q);case"custom_embed":return(0,m.jsx)(d.Ay,{customFields:e,featureKey:r,element:t},q);case"divider":return(0,m.jsx)(l.VI.cG,{},q);case"gallery":return i?(0,m.jsx)(h.AmpImageGallery,{customFields:e,data:t},q):(0,m.jsx)(h.default,{customFields:e,className:E(C.rT?.imageGallery,p),data:t},q);case"header":return(0,m.jsx)(l.VI.Y9,{level:O,content:b,className:E(C.rT?.header,p)},q);case"image":return(0,m.jsx)(l.mO,{caption:g,containerClasses:(0,s.A)(["media-item-image",B(C.rT?.image)]),credits:v,showCaption:!0,showCredits:!0,title:P,vanityCredits:L,children:(0,m.jsx)(l.be,{classes:(0,s.A)(["d-block","h-100","w-100"]),component:l.N_,condition:!!c.link,href:c.link,children:(0,m.jsx)(l._V,N({ANSImage:t,fetchPriority:e?.imageFetchPriority,isAmp:i,layout:"responsive",resizedOptions:{smart:!0},responsiveImages:[540,720,980,1300],width:980,src:R},C.RX.imageProps))})},q);case"inline_element":return w;case"interstitial_link":return(0,m.jsx)(l.VI.Bp,{element:t,className:E(C.rT?.interstitialLinkClasses,p),isAmp:i},q);case"link_list":return(0,m.jsx)(l.VI.dk,{className:E(C.rT?.linkList,p),isAmp:i,items:_,subtype:k,title:D},q);case"list":return(0,m.jsx)(l.VI.B8,{listType:j,items:_,className:(0,s.A)([E(C.rT?.list,p),a&&"floatable-images"])},q);case"oembed_response":return i?(0,m.jsx)(l.VI.Zh,{rawOembed:S,subtype:k},q):(0,m.jsx)(l.VI.dP,{rawOembed:S,subtype:k,className:E(C.rT?.oembed,p)},q);case"quote":return"pullquote"===k?(0,m.jsx)(l.VI.E0,{ansData:t,pullquoteClasses:E(C.rT?.pullquote,p),citationClasses:C.rT?.citation},q):(0,m.jsx)(l.VI.Cv,{ansData:t,citationClasses:C.rT?.citation,blockquoteClasses:E(C.rT?.blockquote,p)},q);case"raw_html":return i?null:"clickability"===o&&c?.original_video?(0,m.jsx)(l.yt,{id:M,original_video:c.original_video},`clickability_video-${M}`):(0,m.jsx)(l.VI.qk,{id:M,content:b,className:E(C.rT?.rawHtml,p)},q);case"table":return(0,m.jsx)(l.VI.XI,{header:x,rows:A,className:E(C.rT?.table,p)},q);case"text":return(0,m.jsx)(l.VI.EY,{content:b,className:E(C.rT?.text,p)},q);case"video":return(0,m.jsx)(f.default,{overrides:e,data:t,goldfishDataOrg:"gray",videoUuid:M,websiteUrl:t.website_url},q);default:return n?(0,m.jsxs)("h3",{children:["No element of type ",I," found."]},q):null}};R.propTypes={customFields:c().object,element:c().object,featureKey:c().string,isAdmin:c().bool,isAmp:c().bool,sourceSystem:c().string};var L=R,B=r(4321),q=r(4375),U=r(1032);r(2917),r(3367);var z=r(238);function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?F(Object(r),!0).forEach(function(t){V(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const H=e=>{const t=(0,n.useRef)(null),{children:r,childProps:i,customFields:o={}}=e,{bodyContent:a,contentElements:u,copyright:c,disableCopyrightField:d,featureKey:h,isAdmin:f,isAmp:p,sourceSystem:g}=(({childProps:e=[],children:t,customFields:r={},substituteData:i})=>{const{globalContent:o,isAdmin:a,id:s,outputType:l}=(0,B.useFusionContext)(),u="amp"===l,{contentConfig:c,disableGlobalContent:d=!1}=r,h=(0,q.useContent)(d&&!i?(0,U._i)(c):{}),f=(0,n.useMemo)(()=>i||d&&h||o,[i,d,h,o]),p=(0,n.useMemo)(()=>"story"===f?.type?f:null,[f]),{content_elements:m,copyright:g}=p||{},{disableInlineContent:b=!1,disableCopyrightField:y=!1}=r,v=(0,n.useMemo)(()=>({children:t,childProps:e,globalContent:p,customFields:r,isAmp:u}),[t,e,p,r,u]),w=(0,n.useCallback)(()=>k(v),[v]),x=(0,n.useMemo)(()=>p&&m?b?m:w():[],[p,m,b,w]);return(0,n.useMemo)(()=>({bodyContent:p,contentElements:x,contentId:f?._id,copyright:g,disableCopyrightField:y,featureKey:s,isAdmin:a,isAmp:u,sourceSystem:p?.source?.system??null}),[p,x,f?._id,g,y,s,a,u])})({children:r,childProps:i,customFields:o,substituteData:e?.content}),{actionBarEnabled:b=!1,enableFloatableImages:y=!1,floatableImageWidth:v="33"}=o;return a?(0,m.jsxs)("div",{ref:t,className:(0,s.A)(["article-body |","w-100"]),children:[b&&(0,m.jsx)(z.default,{contentData:a,customFields:o}),(0,m.jsx)("section",{className:(0,s.A)(["article-body"]),children:(()=>{const e=new Set;return u.map((t,r)=>{const n=`${t.type}-${t._id}`,i=e.has(n)?`${n}-${r}`:n;return e.add(n),(0,m.jsx)(L,{customFields:$($({},o),{},{enableFloatableImages:y,floatableImageWidth:v}),element:t,featureKey:h,isAdmin:f,isAmp:p,sourceSystem:g},i)})})()}),!d&&(0,m.jsx)(l.VI.Y0,{contentElements:u,copyrightField:c})]}):null};H.propTypes={content:a().object,childProps:a().array,children:a().children,siteProperties:a().object,customFields:a().shape($($($($({disableGlobalContent:a().bool.tag({defaultValue:!1,description:"When enabled, global content is ignored and content is resolved from the Content Source below instead.",group:"Data Configuration",name:"Disable Global Content?"}),contentConfig:a().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"}),disableInlineContent:a().bool.tag({defaultValue:!1,description:"When checked, inline content will not be inserted between body content.",group:"Inline Content",name:"Disable Inline Article Content"}),inlineContentInterval:a().number.tag({defaultValue:7,description:"Specify the number of content elements that should appear on the page before inserting an inline content item.",group:"Inline Content",hidden:!1,max:30,min:3,name:"Inline Article Content Interval",step:1}),customParagraphWordCount:a().number.tag({defaultValue:0,description:"Specify the number of words required to be considered a paragraph of text.",group:"Inline Content",hidden:!1,max:1e3,min:0,name:"Custom Paragraph Word Count",step:1}),enableInlineAdBackfill:a().bool.tag({defaultValue:!1,description:"When enabled, inline ad slots are inserted at remaining intervals after all chain children are distributed.",group:"Inline Content",name:"Enable Inline Ad Backfill?"})},(0,p.arcAdsCustomFields)("Inline Content")),{},{enableFloatableImages:a().bool.tag({defaultValue:!1,description:"When enabled, images will be set to float left/right based off the float value set in the editor.",group:"Images",name:"Enable Floatable Images"}),floatableImageWidth:a().oneOf(["25","33","50","66","75"]).tag({defaultValue:"33",description:"When enabled, images will be set to float left/right based off the float value set in the editor.",labels:{25:"25%",33:"33%",50:"50%",66:"66%",75:"75%"},group:"Images",name:"Floatable Image Width"}),imageFetchPriority:a().oneOf(["auto","high","low"]).tag({defaultValue:"low",description:"If high, the image will be preloaded at the top of the page so it is available when the user first sees the story body.",group:"Images",name:"Image Fetch Pri
2ority"}),disableCopyrightField:a().bool.tag({defaultValue:!1,description:"When enabled, the copyright field from Composer will not be added to the bottom of the article.",group:"Copyright",name:"Disable Copyright Field"})},(0,f.videoCustomFields)("Video",{includeCustomEmbedOverrideProps:!0})),(0,h.galleryCustomFields)("Image Gallery")),$({actionBarEnabled:a().bool.tag({defaultValue:!0,description:"If checked, Action Bar will be displayed.",group:"Action Bar",name:"Enable Action Bar?"})},z.actionBarCfProps)))},H.label="Article Body",H.lazy=!1;var W=H},2452:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(95),l=r(6015),u=r(7168),c=r(5349);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{const{children:t=[],customFields:r={}}=e,{childrenJustification:i="center",titleBarOpenInNewWindow:o=!1,titleBarText:s,titleBarHeadingLevel:d=2,titleBarTextWeight:h="bold",titleBarUrl:f,mobileCardsPerRow:p=1,tabletCardsPerRow:m=1,desktopCardsPerRow:g=1,widescreenCardsPerRow:b=1}=r,y=e=>(0,l.HZ)(e)?parseInt(12/e,10):12/e,v=(0,a.A)([`col-${y(p)}`,`col-md-${y(m)}`,`col-lg-${y(g)}`,`col-xl-${y(b)}`]);return(0,c.jsxs)("div",{className:(0,a.A)(["default-chain |","chain","d-flex","flex-column","mb-3"]),children:[s&&(0,c.jsx)(u.A,{headingLevel:d&&""!==d&&parseInt(d,10)||2,openInNewWindow:o,title:s,textWeight:h,url:f}),(0,c.jsx)("div",{className:(0,a.A)(["d-flex","flex-row","flex-wrap",`justify-content-${i}`,"mx-n2","mb-n3","position-relative"]),children:t.map((e,t)=>(0,c.jsx)(n.Fragment,{children:(0,c.jsx)("div",{className:(0,a.A)(["chain-item |","px-2","d-flex","flex-column",v]),children:e})},`chain-child-item-${t}`))})]})};p.propTypes={children:o().array,customFields:o().shape(h(h(h({},(0,u.G)()),(0,s.rX)()),{},{childrenJustification:o().oneOf(["start","center","end"]).tag({defaultValue:"center",group:"Layout",name:"Children Justification"})}))},p.label="Default Chain",t.default=p},4194:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(6015),l=r(7168),u=r(5349);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=e=>{const{children:t=[],customFields:r={}}=e,{titleBarOpenInNewWindow:i=!1,titleBarText:o,titleBarHeadingLevel:c=2,titleBarTextWeight:d="bold",titleBarUrl:h,mobileLeftColumnSize:f=6,tabletLeftColumnSize:p=6,desktopLeftColumnSize:m=6,widescreenLeftColumnSize:g=6}=r,b=e=>{const t=12-Math.max(e,1);return 0===t?12:t},y=t.filter((e,t)=>
2(0,s.HZ)(t)),v=t.filter((e,t)=>!1===(0,s.HZ)(t));return(0,u.jsxs)("div",{className:(0,a.A)(["double-chain |","chain","d-flex","flex-column","mb-3"]),children:[o&&(0,u.jsx)(l.A,{headingLevel:c&&""!==c&&parseInt(c,10)||2,openInNewWindow:i,title:o,textWeight:d,url:h}),(0,u.jsxs)("div",{className:(0,a.A)(["row","mx-n2","mb-n3","position-relative"]),children:[(0,u.jsx)("div",{className:(0,a.A)(["left-column","px-2",`col-${f}`,`col-md-${p}`,`col-lg-${m}`,`col-xl-${g}`]),children:y.map((e,t)=>(0,u.jsx)(n.Fragment,{children:e},`chain-child-item-left-${t}`))}),(0,u.jsx)("div",{className:(0,a.A)(["right-column","px-2",`col-${b(f)}`,`col-md-${b(p)}`,`col-lg-${b(m)}`,`col-xl-${b(g)}`]),children:v.map((e,t)=>(0,u.jsx)(n.Fragment,{children:e},`chain-child-item-right-${t}`))})]})]})};f.propTypes={children:o().array,customFields:o().shape(d(d({},(0,l.G)()),{},{widescreenLeftColumnSize:o().number.tag({label:"Widescreen Left Column Size",description:"Set the size of the left column of this chain using a number between 1 and 12. The size of the right column be set using the remaining columns.",defaultValue:6,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),desktopLeftColumnSize:o().number.tag({label:"Desktop Left Column Size",description:"Set the size of the left column of this chain using a number between 1 and 12. The size of the right column be set using the remaining columns.",defaultValue:6,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),tabletLeftColumnSize:o().number.tag({label:"Tablet Left Column Size",description:"Set the size of the left column of this chain using a number between 1 and 12. The size of the right column be set using the remaining columns.",defaultValue:6,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),mobileLeftColumnSize:o().number.tag({label:"Mobile Left Column Size",description:"Set the size of the left column of this chain using a number between 1 and 12. The size of the right column be set using the remaining columns.",defaultValue:6,group:"Column Sizes",hidden:!1,max:12,min:1,step:1})}))},f.label="Double Chain",t.default=f},1384:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({ariaLabel:e,buttonIsBlock:t=!1,buttonSize:r="",buttonText:n,classes:i=[],color:s="secondary",id:u,isDisabled:c=!1,uri:d,openInNewWindow:h=!1,onClickHandler:f})=>{const p=""+(d&&""!==d?"a":"button");return(0,a.jsx)(p,l(l(l(l(l(l({"aria-label":e,title:e},u?{id:u}:null),{},{className:(0,o.A)(["btn",`btn-${s}`,{"w-100":t},{"btn-sm":"sm"===r},{"btn-lg":"lg"===r},...i])},c?{disabled:!0}:null),"button"===p?{type:"button"}:null),"a"===p?{href:d,role:"button",rel:h?"noopener noreferrer":"",target:h?"_blank":"_self"}:null),"button"===p&&f?{onClick:()=>{f()}}:null),{},{children:n}))};c.propTypes={ariaLabel:i().string.isRequired,buttonIsBlock:i().bool,buttonSize:i().oneOf(["sm","md","lg"]),buttonText:i().string.isRequired,classes:i().array,color:i().oneOf(["danger","dark","info","light","primary","secondary","success","warning"]),id:i().string,isDisabled:i().bool,openInNewWindow:i().bool,uri:i().string,onClickHandler:i().func},t.A=c},7029:function(e,t,r){"use strict";var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=({ariaLabel:e,buttonIsBlock:t=!1,buttonSize:r="",buttonText:i,classes:o,color:l="secondary",dropdownPosition:c="down",dropdownHeaderText:d,hasBorder:h=!0,isBold:f,items:p=[],onChangeHandler:m,onDismissHandler:g,onRevealHandler:b})=>{const[y,v]=(0,n.useState)({isToggled:!1}),{isToggled:w}=y;return(0,s.jsxs)("div",{className:(0,a.A)([`drop${c}`,o]),children:[(0,s.jsx)("button",{onClick:()=>{v(e=>(b&&!e.isToggled&&b(),g&&e.isToggled&&g(),u(u({},e),{},{isToggled:!e.isToggled})))},type:"button",className:(0,a.A)(["btn",`btn-${l}`,{"w-100":t},{"btn-sm":"sm"===r},{"btn-lg":"lg"===r},{"fw-bold":f},"dropdown-toggle"]),id:e,"data-toggle":"dropdown","aria-label":e,"aria-haspopup":"true","aria-expanded":w,"data-offset":"10,20",title:e,children:i}),(0,s.jsxs)("div",{className:(0,a.A)(["dropdown-menu",{show:w},"shadow-lg"]),"aria-labelledby":e,children:[d&&(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)("div",{className:(0,a.A)(["dropdown-header","h6","fw-bold","px-3"]),children:d}),(0,s.jsx)("div",{className:(0,a.A)(["dropdown-divider"])})]}),p.map((e,t)=>{const{href:r="#",id:n=t,name:i}=e;return m?(0,s.jsx)("div",{"data-id":n,className:(0,a.A)(["dropdown-item","pointer",{"border-top":h&&t>0},"px-3"]),onClick:()=>(v(e=>u(u({},e),{},{isToggled:!1})),m(n)),role:"button",children:i},`dropdown-item-${n}`):(0,s.jsx)("a",{className:(0,a.A)(["dropdown-item",{"border-top":h&&t>0},"px-3"]),href:r,children:e.name},`dropdown-item-${n||t}`)})]})]})};d.propTypes={ariaLabel:o().string.isRequired,buttonIsBlock:o().bool,buttonSize:o().oneOf(["sm","md","lg"]),buttonText:o().string.isRequired,classes:o().string,color:o().oneOf(["danger","dark","info","light","primary","secondary","success","warning"]),dropdownPosition:o().oneOf(["down","left","right","up"]),dropdownHeaderText:o().string,hasBorder:o().bool,isBold:o().bool,items:o().arrayOf(o().shape({name:o().string.isRequired,id:o().oneOfType([o().string,o().number]),href:o().string})),onChangeHandler:o().func,onDismissHandler:o().func,onRevealHandler:o().func},t.A=d},8078:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({inputGroupPrependText:e,isDisabled:t=!1,optionsList:r=[],defaultNullOptionText:n,selectedValue:i="",size:s="sm",onChangeHandler:u,ariaLabel:c="select input field"})=>{const d=n?(0,a.jsx)("option",{value:"",children:n}):null;let h=null;return e&&(h=(0,a.jsx)("span",{className:(0,o.A)(["input-group-text"]),children:e})),(0,a.jsxs)("div",{className:(0,o.A)([`input-group input-group-${s}`,"my-1"]),children:[h,(0,a.jsxs)("select",l(l({disabled:t?"disabled":"",className:(0,o.A)(["form-select"])},u&&{onChange:e=>{u(e)}}),{},{"aria-label":c,value:i||"",children:[d,r.map((e,t)=>{const{key:r,value:n}=e,i=r||n;return(0,a.jsx)("option",{value:`${i}`,children:e.value},`option-${i}-${t}`)})]}))]})};c.propTypes={defaultNullOptionText:i().string,isDisabled:i().bool,inputGroupPrependText:i().string,optionsList:i().arrayOf(i().shape({key:i().string,value:i().string}
2)),selectedValue:i().string,size:i().string,onChangeHandler:i().func,ariaLabel:i().string},t.A=c},1369:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({currentValue:e="",placeholderText:t,isDisabled:r=!1,onChangeHandler:n})=>(0,a.jsx)("div",{className:(0,o.A)(["input-group","input-group-sm","my-1"]),children:(0,a.jsx)("input",l(l({type:"text",className:(0,o.A)(["form-control"]),"aria-label":t||"",placeholder:t||""},n&&{onChange:e=>{n(e)},value:e}),{},{disabled:r?"disabled":""}))});c.propTypes={currentValue:i().string,isDisabled:i().bool,placeholderText:i().string,onChangeHandler:i().func},t.A=c},6542:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(4321),a=r(3287),s=r(6182),l=r(5349);function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{children:t,classes:r=(0,a.A)(["bg-light","text-reset"]),height:n,styles:i={},width:d}=e,{isAdmin:h=!1}=(0,o.useFusionContext)(),f=(0,s.N)();if(!h&&!f)return null;const p=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},i);return p.height=n?`${n}px`:p.height||"auto",p.width=d?`${d}px`:p.width||"auto",(0,l.jsx)("div",{className:(0,a.A)(["admin-placeholder |","d-flex","flex-column","justify-content-start","align-items-center","mx-auto","overflow-auto","text-center",r]),style:p,children:(0,l.jsxs)("div",{className:(0,a.A)(["w-100","p-3"]),children:[" ",t]})})};d.propTypes={children:i().oneOfType([i().arrayOf(i().node),i().node]),classes:i().string,height:i().number,styles:i().object,width:i().number},t.A=d},2112:function(e,t,r){"use strict";r.d(t,{y:function(){return M}});var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(1478);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}let d=null;var h=(e,t,r)=>{d||(d=new s.ArcAds({dfp:{id:t,collapseEmptyDivs:!0},bidding:r},e=>{const t=e?.slot?.getSlotElementId();t&&(window?.gdmAds||(window.gdmAds={}),window.gdmAds[t]=u(u({},window.gdmAds[t]),e))})),d.registerAd(e)},f=r(9715);var p=({id:e,refreshInterval:t=null,disabled:r=!1})=>{const i=(0,n.useRef)(null),o=(0,n.useRef)(null),a=(0,n.useRef)(!1),s=(0,n.useRef)(null);(0,n.useEffect)(()=>
2{if(!t||r);else{const t=document.getElementById(e);t&&(s.current=new IntersectionObserver(([e])=>{a.current;a.current=e.isIntersecting,a.current},{threshold:.5}),s.current.observe(t))}return()=>{s.current&&s.current.disconnect()}},[t,r,e]),(0,n.useEffect)(()=>(!t||r||(o.current=setInterval(()=>{window?.gdmAds?.[e]?.slot&&(clearInterval(o.current),o.current=null,i.current=setInterval(()=>{const t=window.gdmAds?.[e];if("visible"!==document?.visibilityState)return void(t&&(t.skipCount=(t.skipCount||0)+1));if(!a.current)return void(t&&(t.skipCount=(t.skipCount||0)+1));const r=document.getElementById(e),n=!(r&&"none"===r.style.display);r&&!n&&(r.style.display="block");const i=t?.slot;setTimeout(()=>{t&&(t.refreshCount=(t.refreshCount||0)+1),window.googletag?.pubads()?.refresh([i])},n?0:200)},t))},2e3)),()=>{o.current&&clearInterval(o.current),i.current&&clearInterval(i.current)}),[t,r,e])},m=r(5349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({id:e,adType:t,amazonTAM:r={},ampAdClasses:i="",ampLayout:o={width:320,height:50,layout:"fixed",multiSize:"320x50"},bidding:s={},breakpoints:l,children:u,childrenPosition:c,classNamesExternal:d="",classNamesInternal:g="",dfpId:y,dimensions:v=[0,0],disclaimer:w={},display:x="all",isAmp:M=!1,isDismissible:_,isInArticleBodyAd:O=!1,isSticky:j,onAdDismissal:S,prerender:A,pubmatic:P={},refresh:k=!0,refreshInterval:T=null,slotName:E,targeting:C})=>{const[D,N]=(0,n.useState)(!1);p({id:e,refreshInterval:T,disabled:D}),(0,f.z)(()=>{window.arcAdsPrerenderer=e=>new Promise(t=>{A&&A(e),t(e)}),h({id:e,slotName:E,dimensions:v,adType:t,display:x,targeting:C,sizemap:{breakpoints:l,refresh:k},bidding:s,prerender:window.arcAdsPrerenderer},y,s)});const{display:I=!0,languageIsoCode:R="en",position:L="top"}=w,B=r?.publisherId||null,q=P?.publisherId||null,U=P?.profileIdAmp||null,z=(0,a.A)(["arc-ad |",d,{"include-disclaimer":I&&"bottom"!==L},{"disclaimer-lang-es":"es"===R},{"include-disclaimer-bottom":I&&"bottom"===L},{"hidden-mobile":"desktop"===x},{"hidden-tablet":"mobile"===x},{"hidden-desktop":"mobile"===x},{"position-relative":_&&!d.includes("position-")},{sticky:j},{"justify-content-center":!j},{"justify-content-start":j},"text-center"]);if(M){const{height:e,width:t,layout:r,multiSize:n}=o,s=!!(q&&U||B);return(0,m.jsx)("div",{className:(0,a.A)(["arc-ad |",{"ad-article-inline":O}]),children:(0,m.jsx)("div",{className:(0,a.A)(["arc-ad-wrapper |","d-flex","flex-column"]),children:(0,m.jsx)("amp-ad",b({class:(0,a.A)(["arcad",i]),width:t,height:e,layout:r,type:"doubleclick","data-slot":`/${y}/${E}`,"data-multi-size":n,"data-multi-size-validation":"false"},s?{"rtc-config":JSON.stringify({vendors:b(b({},U&&q?{openwrap:{PROFILE_ID:U,PUB_ID:q}}:null),B?{aps:{PUB_ID:B,PARAMS:{amp:"1"}}}:null),timeoutMillis:2050})}:null))})})}return(0,m.jsx)("div",{className:z,children:(0,m.jsxs)("div",{className:(0,a.A)(["arc-ad-wrapper |"]),children:[_&&S?(0,m.jsx)("div",{className:(0,a.A)(["ad-dismiss |","text-white","pointer","position-absolute","top","absolute-right","me-2","mt-1","me-sm-3","mt-sm-2","me-lg-2","mt-lg-1"]),onClick:()=>{N(!0),S()},role:"button",children:(0,m.jsx)("i",{className:(0,a.A)(["far fa-times-circle"])})}):null,"top"===c?u:"",D?null:(0,m.jsx)("div",{id:e,className:(0,a.A)([E,"arcad",g])}),"bottom"===c?u:""]})})},w=o().oneOfType([o().string,o().number]),x=o().shape({layout:o().string,width:w,height:w,multiSize:o().string});v.propTypes={id:o().string,adType:o().string,amazonTAM:o().shape({publisherId:o().string}
2),ampLayout:x,ampAdClasses:o().string,bidding:o().object,breakpoints:o().array,children:o().node,childrenPosition:o().oneOf(["top","bottom","hidden"]),classNamesInternal:o().string,classNamesExternal:o().string,dfpId:o().number,dimensions:o().array,disclaimer:o().shape({display:o().bool,languageIsoCode:o().oneOf(["en","es"]),position:o().oneOf(["top","bottom","hidden"])}),display:o().oneOf(["all","desktop","mobile","tablet"]),isAmp:o().bool,isDismissible:o().bool,isInArticleBodyAd:o().bool,isSticky:o().bool,onAdDismissal:o().func,prerender:o().func,pubmatic:o().shape({publisherId:o().string,profileId:o().string,profileIdAmp:o().string}),refresh:o().bool,refreshInterval:o().number,slotName:o().string.isRequired,targeting:o().object};var M=v},5653:function(e,t,r){"use strict";var n=r(809),i=r(3287),o=r(9894),a=r.n(o),s=r(7508),l=r.n(s),u=r(4321),c=r(2528),d=r(5349);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=e=>{const{bylineClasses:t="",containerClasses:r="",credits:o={},includeTaboolaDataAttribute:a=!1,isClickable:s=!1,outputType:h="default",useBoldBylines:p=!1}=e,{siteProperties:m={}}=(0,u.useFusionContext)(),{locale:g}=m,b=l()(g||"en"),{by:y=[]}=o,v=y.filter(e=>e.name&&""!==e.name&&e.name||null?e:null);if(0===v.length)return null;return v&&v.length>0&&(0,d.jsx)("div",{className:(0,i.A)(["byline |",r]),children:(0,d.jsxs)("div",{className:(0,i.A)(["authors |"]),children:[(0,d.jsxs)("span",{className:"",children:[b.t("core.byline.by")," "]}),v&&v.length>0&&v.map((e,r)=>{const o=r>=v.length-1,l=r===v.length-2,u=e?.additional_properties?.original?.byline??e.name,m=(e?.additional_properties?.original?.author_type??"").toLowerCase().trim(),g=s&&"newsroom"!==m?e?.url??null:null,y=f({},a?{[`data-tb-author${r+1}`]:""}:{});return(0,d.jsxs)(n.Fragment,{children:[(0,d.jsx)("span",f(f({className:(0,i.A)(["author |",t,{"fw-bolder":p}])},!g&&y),{},{children:g&&""!==g?(0,d.jsx)("a",f(f({className:(0,i.A)(["text-decoration-none"]),href:(0,c.Ol)({outputType:h,uri:g})},y),{},{children:u})):u})),!o&&(0,d.jsx)("span",{children:l?` ${b.t("core.byline.and")} `:", "})]},`author-byline-${r}`)})]})})};m.propTypes={bylineClasses:a().string,containerClasses:a().string,credits:a().object,includeTaboolaDataAttribute:a().bool,isClickable:a().bool,outputType:a().string,overrides:a().shape({}),useBoldBylines:a().bool},t.A=m},9262:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(5349);const a=["children","component","condition"];function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>{let{children:t,component:r,condition:n}=e,i=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,a);const s=r;return n?(0,o.jsx)(s,l(l({},i),{},{children:t})):t};c.propTypes={children:i().node.isRequired,component:i().func.isRequired,condition:i().any},t.A=c},6874:function(e,t,r){"use strict";r.d(t,{Ay:function(){return x},Jw:function(){return l}});r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(4321),s=r(6094);var l=e=>{const t=new RegExp("^(-?(?:[1-9][0-9]*)?[0-9]{4})-(1[0-2]|0[1-9])-(3[01]|0[1-9]|[12][0-9])T(2[0-3]|[01][0-9]):([0-5][0-9]):([0-5][0-9])(.[0-9]+)?(Z)?$");if("custom_embed"!==e?.type)return null;const r=e?.embed?.config?.expirationDate;return r&&t.test(r)?(0,s.O)(new Date(r),new Date)>0?e:null:e};var u=({config:e,customFields:t})=>{const{adPath:r,includeAds:n=!0,isAutoplay:i}=e,o=t||{},{videoOverrideCustomAdSlot:a=!1,videoOverrideIncludeAds:s=!1,videoOverrideIsAutoplay:l
2=!1,videoIsAutoPlay:u=!1,videoAdPrerollDisabled:c,videoCustomAdSlot:d}=o;return{videoOverrideCustomAdSlot:a,videoOverrideIncludeAds:s,videoOverrideIsAutoplay:l,videoAdPrerollDisabled:s?c:!n,videoCustomAdSlot:a?d:r,videoIsAutoPlay:l?u:i}},c=r(768),d=r(7775),h=r(1641),f=r(7338),p=r(8567),m=r(7786),g=r(5349);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=({element:e,customFields:t,featureKey:r})=>{const{isAdmin:n}=(0,a.useAppContext)(),i=l(e);if(!i)return null;const{embed:s={},_id:b,subtype:v}=i,{id:w,config:x={}}=s,M=`${r}-${b}`,_=u({config:x,customFields:t}),O={Livestream:"livestream","Video Playlist":"video-playlist"}[v]||v,j={"acc-playlist-player":(0,g.jsx)(c.default,{customFields:{clientId:x?.clientId,templateId:x?.templateId,playlistId:x?.playlistId}},M),"audience-experience":(0,g.jsx)(d.default,{customFields:{experienceEmbedCode:x?.experienceEmbedCode,experienceId:x?.experienceId,experienceType:x?.experienceType},featureKey:M},M),"gsync-poll":(0,g.jsx)("div",{className:"row justify-content-center",children:(0,g.jsx)("div",{className:"col-12 col-md-9",children:(0,g.jsx)(f.default,{arcSiteOverride:x?.stationId},M)})}),livestream:(0,g.jsx)(p.default,{customFields:y(y({},_),{},{posterImageUrl:x?.posterImageUri,siteServicesLivestreamKey:x?.siteServicesLivestreamKey}),livestreamId:M,staticWebsite:x?.website},M),"video-playlist":(0,g.jsx)(h.default,{customFields:y(y({},_),{},{playlistDisplayName:w}),customHtmlId:M},M),"quickplay-livestream":(0,g.jsx)(m.default,{customFields:y(y({},_),{},{quickplayContentType:"channel",quickplayContentId:x?.channelId,quickplayWebsiteKey:x?.website})},M)};return(0,g.jsx)("div",{className:"custom-embed",children:j[O]??(0,g.jsx)("p",{className:(0,o.A)({"d-none":!n}),children:"Cannot find custom embed"})})};w.propTypes={customFields:i().object,element:i().object,featureKey:i().string};var x=w},716:function(e,t,r){"use strict";r.d(t,{A:function(){return E}});r(809);var n=r(3287),i=r(9894),o=r.n(i),a=r(7508),s=r.n(a),l=r(4321);const u={lessThanXSeconds:{one:"menos de un segundo",other:"menos de {{count}} segundos"},xSeconds:{one:"1 segundo",other:"{{count}} segundos"},halfAMinute:"medio minuto",lessThanXMinutes:{one:"menos de un minuto",other:"menos de {{count}} minutos"},xMinutes:{one:"1 minuto",other:"{{count}} minutos"},aboutXHours:{one:"alrededor de 1 hora",other:"alrededor de {{count}} horas"},xHours:{one:"1 hora",other:"{{count}} horas"},xDays:{one:"1 día",other:"{{count}} días"},aboutXWeeks:{one:"alrededor de 1 semana",other:"alrededor de {{count}} semanas"},xWeeks:{one:"1 semana",other:"{{count}} semanas"},aboutXMonths:{one:"alrededor de 1 mes",other:"alrededor de {{count}} meses"},xMonths:{one:"1 mes",other:"{{count}} meses"},aboutXYears:{one:"alrededor de 1 año",other:"alrededor de {{count}} años"},xYears:{one:"1 año",other:"{{count}} años"},overXYears:{one:"más de 1 año",other:"más de {{count}} años"},almostXYears:{one:"casi 1 año",other:"casi {{count}} años"}};var c=r(4406);const d={date:(0,c.k)({formats:{full:"EEEE, d 'de' MMMM 'de' y",long:"d 'de' MMMM 'de' y",medium:"d MMM y",short:"dd/MM/y"},defaultWidth:"full"}),time:(0,c.k)({formats:{full:"HH:mm:ss zzzz",long:"HH:mm:ss z",medium:"HH:mm:ss",short:"HH:mm"},defaultWidth:"full"}
2),dateTime:(0,c.k)({formats:{full:"{{date}} 'a las' {{time}}",long:"{{date}} 'a las' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},h={lastWeek:"'el' eeee 'pasado a la' p",yesterday:"'ayer a la' p",today:"'hoy a la' p",tomorrow:"'mañana a la' p",nextWeek:"eeee 'a la' p",other:"P"},f={lastWeek:"'el' eeee 'pasado a las' p",yesterday:"'ayer a las' p",today:"'hoy a las' p",tomorrow:"'mañana a las' p",nextWeek:"eeee 'a las' p",other:"P"};var p=r(6848);const m={ordinalNumber:(e,t)=>Number(e)+"º",era:(0,p.o)({values:{narrow:["AC","DC"],abbreviated:["AC","DC"],wide:["antes de cristo","después de cristo"]},defaultWidth:"wide"}),quarter:(0,p.o)({values:{narrow:["1","2","3","4"],abbreviated:["T1","T2","T3","T4"],wide:["1º trimestre","2º trimestre","3º trimestre","4º trimestre"]},defaultWidth:"wide",argumentCallback:e=>Number(e)-1}),month:(0,p.o)({values:{narrow:["e","f","m","a","m","j","j","a","s","o","n","d"],abbreviated:["ene","feb","mar","abr","may","jun","jul","ago","sep","oct","nov","dic"],wide:["enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre"]},defaultWidth:"wide"}),day:(0,p.o)({values:{narrow:["d","l","m","m","j","v","s"],short:["do","lu","ma","mi","ju","vi","sá"],abbreviated:["dom","lun","mar","mié","jue","vie","sáb"],wide:["domingo","lunes","martes","miércoles","jueves","viernes","sábado"]},defaultWidth:"wide"}),dayPeriod:(0,p.o)({values:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"mañana",afternoon:"tarde",evening:"tarde",night:"noche"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mn",noon:"md",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},abbreviated:{am:"AM",pm:"PM",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"},wide:{am:"a.m.",pm:"p.m.",midnight:"medianoche",noon:"mediodia",morning:"de la mañana",afternoon:"de la tarde",evening:"de la tarde",night:"de la noche"}},defaultFormattingWidth:"wide"})};var g=r(7574),b=r(1306);const y={code:"es",formatDistance:(e,t,r)=>{let n;const i=u[e];return n="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),r?.addSuffix?r.comparison&&r.comparison>0?"en "+n:"hace "+n:n},formatLong:d,formatRelative:(e,t,r,n)=>1!==t.getHours()?f[e]:h[e],localize:m,match:{ordinalNumber:(0,g.K)({matchPattern:/^(\d+)(º)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:(0,b.A)({matchPatterns:{narrow:/^(ac|dc|a|d)/i,abbreviated:/^(a\.?\s?c\.?|a\.?\s?e\.?\s?c\.?|d\.?\s?c\.?|e\.?\s?c\.?)/i,wide:/^(antes de cristo|antes de la era com[uú]n|despu[eé]s de cristo|era com[uú]n)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^ac/i,/^dc/i],wide:[/^(antes de cristo|antes de la era com[uú]n)/i,/^(despu[eé]s de cristo|era com[uú]n)/i]},defaultParseWidth:"any"}),quarter:(0,b.A)({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^T[1234]/i,wide:/^[1234](º)? trimestre/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,b.A)({matchPatterns:{narrow:/^[efmajsond]/i,abbreviated:/^(ene|feb|mar|abr|may|jun|jul|ago|sep|oct|nov|dic)/i,wide:/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^e/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^en/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i]},defaultParseWidth:"any"}),day:(0,b.A)({matchPatterns:{narrow:/^[dlmjvs]/i,short:/^(do|lu|ma|mi|ju|vi|s[áa])/i,abbreviated:/^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,wide:/^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^d/i,/^l/i,/^m/i,/^m/i,/^j/i,/^v/i,/^s/i],any:[/^do/i,/^lu/i,/^ma/i,/^mi/i,/^ju/i,/^vi/i,/^sa
2/i]},defaultParseWidth:"any"}),dayPeriod:(0,b.A)({matchPatterns:{narrow:/^(a|p|mn|md|(de la|a las) (mañana|tarde|noche))/i,any:/^([ap]\.?\s?m\.?|medianoche|mediodia|(de la|a las) (mañana|tarde|noche))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mn/i,noon:/^md/i,morning:/mañana/i,afternoon:/tarde/i,evening:/tarde/i,night:/noche/i}},defaultParseWidth:"any"})},options:{weekStartsOn:1,firstWeekContainsDate:1}};var v=r(9711),w=r(5511);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O={year:"yyyy",day:"d",month:"MMM"};var j=(e,{relative:t=!1,timeZone:r,displayOption:n="momentsAgo"}={})=>{const{siteProperties:i={}}=(0,l.useFusionContext)(),{locale:o}=i,a=s()(o||"en"),u=new Date(e),c=r&&r||"America/New_York",d=(()=>
2{if(!(0,w.B)())return null;try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch(e){return null}})();if(O.timeZone=d||c,t){const e=(({displayDate:e,displayOption:t="momentsAgo",phrases:r})=>{if(t&&"dateAndTime"===t)return null;if(t&&"momentsAgoClient"===t&&!(0,w.B)())return null;const n=new Date,i=Math.abs((n-e)/6e4);if(i<1)return r.t("utils.datetime.secondsAgo");if(i<5)return r.t("utils.datetime.momentsAgo");if(i<60)return r.t("utils.datetime.minutesAgo",{minutes:Math.floor(i)});if(i/60<24&&Math.abs(Math.abs(e-n)/36e5)<24){const e=Math.round(i/60);return r.t("utils.datetime.hoursAgo",{smart_count:Math.floor(e)})}return null})({displayDate:u,timeZone:d||c,displayOption:n,phrases:a});if(e)return e}try{const e=(0,w.B)()?u:(0,v.L_)(u,O.timeZone),t=((e,t)=>{const{month:r,day:n,year:i}=t;return"es"===e?"PPp z":`${r}${"MMM"===r?".":""} ${n}, ${i} 'at' h:mm a z`})(a.currentLocale,O),r="es"===a.currentLocale?{locale:y}:null,n=(0,v.GP)(e,t,M({timeZone:O.timeZone},r?M({},r):null));return n.startsWith("May.")?n.replace(/^May\.\s(\d)/g,"May $1"):n}catch(e){return console.log("DateTimeInfo.js - ERROR:\n",e),u.toDateString()}},S=r(5349);function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=e=>{const{className:t="ms-1",containerClasses:r="",dateDataAttributes:i={},publishedDateTime:o,updatedDisplayDateOption:a="momentsAgo",updatedDateTime:u,showPublishedDateTime:c=!0,showUpdatedDateTime:d=!0,timeZone:h}=e,{siteProperties:f={}}=(0,l.useFusionContext)(),{locale:p}=f,m=s()(p||"en"),g=c&&o&&o&&u&&new Date(o).getTime()<=new Date(u).getTime()&&j(o,{relative:!1,timeZone:h})||null,b=d&&u&&j(u,{displayOption:a,relative:!0,timeZone:h})||null;return(0,S.jsxs)("div",{className:(0,n.A)(["date-time |",r]),children:[g&&(0,S.jsxs)("span",{className:(0,n.A)(["date-time","published-date-time",t]),children:[m.t("core.dateTime.published"),": ",g]}),g&&b&&g!==b&&(0,S.jsx)("span",{className:(0,n.A)(["px-2","d-inline"]),children:"|"}),b&&g!==b&&(0,S.jsxs)("span",P(P({className:(0,n.A)(["date-time","updated-date-time",t])},i),{},{children:[m.t("core.dateTime.updated"),": ",b]}))]})};T.propTypes={className:o().string,containerClasses:o().string,dateDataAttributes:o().object,publishedDateTime:o().string,updatedDisplayDateOption:o().oneOf(["momentsAgo","momentsAgoClient","dateAndTime"]),updatedDateTime:o().string,showPublishedDateTime:o().bool,showUpdatedDateTime:o().bool,timeZone:o().string};var E=T},3379:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>
2{const{deckClasses:t="",deckDataAttributes:r={},deckFont:n="",deckText:i,deckTextWeight:s="normal",url:u,urlDataAttributes:c={}}=e,d=(0,a.jsx)("div",l({className:(0,o.A)(["w-100"]),dangerouslySetInnerHTML:{__html:i}},r));return i?(0,a.jsx)("div",{className:(0,o.A)(["deck |",t,n,{"fw-bold":"bold"===s},{"fw-bolder":"bolder"===s},{"fw-normal":"normal"===s},{"fw-light":"light"===s},{"fw-lighter":"lighter"===s},"isText","d-block"]),children:u?(0,a.jsx)("a",l(l({href:u},c),{},{children:d})):d}):null};c.propTypes={deckClasses:i().string,deckDataAttributes:i().object,deckFont:i().string,deckText:i().string,deckTextWeight:i().oneOf(["lighter","light","normal","bold","bolder"]),overrides:i().shape({}),url:i().string,urlDataAttributes:i().object},t.A=c},1224:function(e,t,r){"use strict";r.d(t,{Fe:function(){return l},A7:function(){return x},n7:function(){return g}});var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321);const l=Object.freeze({BREAKING_NEWS:"Breaking News",CLOSINGS:"Closings",WEATHER_ALERTS:"Weather Alerts"});var u=r(6780),c=r.n(u),d=r(9262),h=r(9726),f=r(5349);const p=({destinationUri:e,isCapitalized:t=!1,prefix:r,text:n,textSize:i})=>(0,f.jsx)(d.A,{classes:(0,a.A)(["text-reset","pointer"]),component:h.A,condition:!!e,href:e,children:(0,f.jsx)("div",{className:(0,a.A)(["dismissible-alert-bar-text-container",{h4:!i||"large"===i},{h5:!i||"medium"===i},{h6:!i||"small"===i},"mb-0"]),children:(0,f.jsx)("span",{className:(0,a.A)(["dismissible-alert-bar-text","d-inline-block",{"text-capitalize":t}]),children:`${r?`${r}: `:""}${n||""}`})})});p.propTypes={destinationUri:c().string,isCapitalized:c().bool,prefix:c().string,text:c().string,textSize:c().oneOf(["small","medium","large"])};var m=p;var g=(e,t)=>0===e?"":e>1&&`${e} weather alerts in effect`||`${t} is in effect`,b=r(4676);var y=(e,t=l.BREAKING_NEWS)=>{if(!(0,b.Bd)())return null;const r=t.toLowerCase().replace(/\s+/g,"-"),{alertText:n="",arcSite:i,expiry:o}=JSON.parse(window.localStorage[`gdmHidden${r}Alert`]||"{}"),a=!(!o||o>Date.now());return i!==e||!n||a?null:n};var v=(e,t,r=l.BREAKING_NEWS)=>{if((0,b.Bd)()&&t){const n=r.toLowerCase().replace(/\s+/g,"-");window.localStorage[`gdmHidden${n}Alert`]=JSON.stringify({alertText:t.toLowerCase(),arcSite:e,expiry:Date.now()+864e5})}};const w=({color:e="gray",isCapitalized:t=!1,isDismissible:r=!0,destinationUri:i,dismissBtnAltText:o,prefix:l,textSize:u,text:c,type:d,verticalPadding:h="small",viewUnpublishedVersion:p=!1})=>{const{arcSite:g,id:b,isAdmin:w}=(0,s.useFusionContext)(),[x,M]=(0,n.useState)(!1),_=(0,n.useCallback)(e=>{e&&v(g,e,d),M(!0)},[g,d]);return!w&&c&&c.toLowerCase()===y(g,d)||w&&!p||x||!c&&!w?null:(0,f.jsx)("div",{className:(0,a.A)(["dismissible-alert-bar |",{"bar-blue":"blue"===e,"bar-gray":"gray"===e,"bar-orange":!e||"orange"===e,"bar-red":!e||"red"===e,"bar-teal":"teal"===e,"bar-yellow":"yellow"===e,"py-1":!h||"x-small"===h,"py-2":!h||"small"===h,"py-3":"large"===h}]),children:(0,f.jsxs)("div",{className:(0,a.A)(["container-xl","d-flex","flex-row","justify-content-between",{"text-white":"yellow"!==e},"fw-bold"]),children:[(0,f.jsx)("div",{className:(0,a.A)(["d-flex","flex-column","justify-content-center"]),children:(0,f.jsx)(m,{destinationUri:i,isCapitalized:t,prefix:l,text:c,textSize:u})}),r?(0,f.jsx)("div",{className:(0,a.A)(["d-flex","flex-column","justify-content-center"]),children:(0,f.jsxs)("button",{className:(0,a.A)(["dismiss-alert-bar","btn btn-sm",{"text-white":"yellow"!==e}]),onClick:()=>_(c),title:o,children:[(0,f.jsx)("i",{className:(0,a.A)(["fas fa-times"])}),(0,f.jsx)("span",{className:(0,a.A)(["visually-hidden"]),children:o})]})}):null]})},`${b}-${d}`)};w.propTypes={color:o().oneOf(["blue","gray","orange","red","teal","yellow"]),destinationUri:o().string,dismissBtnAltText:o().string,isCapitalized:o().bool,isDismissible:o().bool,prefix:o().string,text:o().string,textSize:o().oneOf(["small","medium","large"]),type:o().oneOf(Object.values(l)).isRequired,verticalPadding:o().oneOf(["x-small","small","large"]),viewUnpublishedVersion:o().bool};var x=w},1407:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>{const{count:t,widescreen:r,desktop:n,tablet:i,mobile:s}=e,l=t%r===0,u=t%n===0,c=t%i===0,d=t%s===0;return(0,a.jsx)("div",{className:(0,o.A)(["feed-divider |","w-100",{"d-none":!0},{"d-sm-none":!d},{"d-md-none":!c},{"d-lg-none":!u},{"d-xl-none":!l},{"d-sm-block":d},{"d-md-block":c},{"d-lg-block":u},{"d-xl-block":l}])})};s.propTypes={count:i().number.isRequired,widescreen:i().number,desktop:i().number,tablet:i().number,mobile:i().number},t.A=s},6142:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=e=>{const{containerClasses:t="",headlineClasses:r="",headlineDataAttributes:n={},headlineLevel:i=2,headlineText:s,headlineWeight:u="",hideSubheadline:c=!1,onHeadlineClick:d,openInNewWindow:h=!1,subheadlineClasses:f="",subheadlineLevel:p=3,subheadlineText:m,subheadlineWeight:g="",url:b,urlDataAttributes:y={}}=e,v=`h${i}`,w=`h${p}`,x=s&&(0,a.jsx)("span",l(l({dangerouslySetInnerHTML:{__html:s}},n),d&&{onClick:()=>{d()},role:"button"}||null)),M=m&&(0,a.jsx)("span",{dangerouslySetInnerHTML:{__html:m}});return(0,a.jsxs)("div",{className:(0,o.A)(["headlines |",t]),children:[s&&(0,a.jsx)(v,{className:(0,o.A)(["headline |",{"fw-bold":"bold"===u},{"fw-bolder":"bolder"===u},{"fw-normal":"normal"===u},{"fw-light":"light"===u},{"fw-lighter":"lighter"===u},r]),children:b&&!d?(0,a.jsx)("a",l(l({className:(0,o.A)(["text-reset"]),href:b,rel:h?"noopener noreferrer":"",target:h?"_blank":"_self"},y),{},{children:x})):x}),!c&&m&&(0,a.jsx)(w,{className:(0,o.A)(["subheadline |",{"fw-bold":"bold"===g},{"fw-bolder":"bolder"===g},{"fw-normal":"normal"===g},{"fw-light":"light"===g},{"fw-lighter":"lighter"===g},f]),children:b?(0,a.jsx)("a",{href:b,rel:h?"noopener noreferrer":"",target:h?"_blank":"_self",children:M}):M})]})};c.propTypes={containerClasses:i().string,headlineClasses:i().string,headlineDataAttributes:i().object,headlineLevel:i().number,headlineText:i().string,headlineWeight:i().string,hideSubheadline:i().bool,onHeadlineClick:i().func,openInNewWindow:i().bool,subheadlineClasses:i().string,subheadlineLevel:i().number,subheadlineText:i().string,subheadlineWeight:i().string,url:i().string,urlDataAttributes:i().object},t.A=c},3189:function(e,t,r){"use strict";r.d(t,{_n:function(){return A},qp:function(){return x},F5:function(){return j},Ay:function(){return N},Ud:function(){return O},X6:function(){return P}});r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(3993),s=r(4321),l=r(8154),u=r(3324),c=r(7983),d=r.n(c),h=r(2028);const f=["blur","height","width","focalPoint","quality","smart","fitfill"],p=["url","imgSignature"];function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}const v=e=>"image"===e?.basic?.type&&e?.basic?.url?e.basic:null,w=({aspectRatio:e="",width:t,height:r,ANSImage:n={}})=>{if(t&&r)return{width:t,height:r};const i=e&&e.includes(":")?":":"x",[o,a]=e.split(i);return e&&t?{width:t,height:Math.floor(a/o*t)}:e&&r?{width:Math.floor(o/a*r),height:r}:(({height:e,width:t,ANSImage:r})=>{const{height:n,width:i}=r||{};if(!i||!n)return{width:t,height:e};if(!e&&!t)return{width:i,height:n};const[o,a]=(()=>{const e=Math.min(i,n);return[i/e,n/e]})();return a&&o&&t?{width:t,height:Math.floor(a/o*t)}:a&&o&&e?{width:Math.floor(o/a*e),height:e}:{height:e,width:t}})({ANSImage:n,height:r,width:t})},x=({aspectRatio:e,deprecatedSizePresetKey:t,imageResizerSiteProps:r={},width:n,height:i})=>{if(e)return{aspectRatio:e,width:n,height:i};if(!t)return{width:n,height:i};const{presets:o}=r;try{return{aspectRatio:(e=>{if(!e.includes("_"))return;const[,t]=e.split("_");return t&&[":","x"].some(e=>t.includes(e))?t.replace("x",":"):void 0})(t),width:n&&n||o?.[t]?.width,height:i&&i}}catch(e){console.error("convertSizePresetToAspectRatio ERROR",e)}return{height:i,width:n}},M=e=>{if(!e)return null;const t=(e=>{const t=e?.focal_point,r=e?.additional_properties?.focal_point?.max;if(r){const[e,t]=r;return{x:e,y:t}}return t})(e);return t||null},_=({src:e,resizedOptions:t,resizerBaseUrl:r,width:n,height:i})=>{if(!e)return;const o=(r||d()()?.imageResizer?.resizerBaseUrl||"").replace("|__ENVIRONMENT__|",h.tU),{blur:a,height:s,width:l,focalPoint:u,quality:c,smart:p=!0,fitfill:m=!1}=t,b=y(t,f),v=!!(u?.x&&u?.y&&i&&n),w=!!(m&&i&&n),x=!(!1===p||!i||!n||v||w);return o.concat(e).concat("?",new URLSearchParams(g(g(g(g(g(g(g(g({},b),n?{width:Math.floor(n)}:{}),i?{height:Math.floor(i)}:{}),!x||v||w?{smart:!1}:{smart:p}),w?{fitfill:m}:{}),v?{focal:`${Math.floor(u.x)},${Math.floor(u.y)}`}:{}
2),a?{blur:Math.floor(a)}:{}),c?{quality:Math.floor(c)}:{})).toString())},O=e=>{const{promo_items:t}=e||{};if(!t)return null;const r=v(t);return r||(t.lead_art?v(t.lead_art.promo_items):null)},j=e=>{let{url:t,imgSignature:r={}}=e,n=y(e,p);return g(t&&r?.hash?{url:t,auth:{[a.SIGNING_SERVICE_DEFAULT_VERSION]:r.hash}}:{url:t},n)},S=(e,t)=>{const{_id:r,auth:n,url:i}=e||{};if(!i)return null;if(r){const e=i.split(r);return 1!==e.length?`${r}${e.pop()}`:r}return n||t?encodeURIComponent(i):null},A=({ANSImage:e,height:t,width:r,resizerBaseUrl:n,resizedOptions:i})=>{const o=e?.auth?.[a.SIGNING_SERVICE_DEFAULT_VERSION]||i?.auth,s=S(e,o);return o?g(g({},e),{},{resizedUrl:_({src:s,resizedOptions:g(g({},i),{},{auth:o,focalPoint:M(e)}),resizerBaseUrl:n,height:t,width:r}),height:t,width:r}):e},P=({siteHostingDomain:e,fallbackImage:t}={})=>{if(!t)return null;if(!t.startsWith("http")){return`${e}¬${t}`.replace(/\/?¬\/?/,"/")}return t};var k=r(5349);function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function E(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?T(Object(r),!0).forEach(function(t){C(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function C(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const D=({altText:e="",ANSImage:t,aspectRatio:r,fetchPriority:n="low",height:i,imageClasses:c="",imageDataAttributes:d={},imageShape:h="",isAmp:f=!1,layout:p="responsive",loading:m="lazy",placeholderImage:g,resizedOptions:b={},resizerBaseUrl:y,responsiveImages:v=[],sizePreset:O,sizes:j=[],src:A,width:P})=>{const T="true"===(0,u.E)("force-debug"),C=t?t?.auth?.[a.SIGNING_SERVICE_DEFAULT_VERSION]:b?.auth,D=t?S(t):A&&encodeURIComponent(A)||null,{siteProperties:N={}}=(0,s.useFusionContext)(),{imageResizer:I={}}=N,{resizerBaseUrl:R}=I,L=y||R,B=(0,o.A)([{"rounded-0":"square"===h},{rounded:"rounded"===h},{"rounded-circle":"circle"===h},{"rounded-pill":"pill"===h},c]),q=x({aspectRatio:r,deprecatedSizePresetKey:O,imageResizerSiteProps:I,width:P,height:i}),U=w(E({ANSImage:t},q)),z=U.width/U.height,F=(({ANSImage:e,altText:t})=>{const r=t||(e?e?.alt_text||e?.caption:null);return r?(0,l.xv)(r,100,{includeEllipsis:!0,useEllipsisCharacter:!1}):null})({ANSImage:t,altText:e});!C&&T&&console.debug("No auth token provided for resizer. ",t?._id||A||"ID Not Available");const $=E(E(E(E({},(({fetchPriority:e,isAmp:t,loading:r})=>t?null:"high"===e&&"lazy"===r?{fetchPriority:e}:"auto"===e?{loading:r}:{fetchPriority:e,loading:r})({fetchPriority:n,isAmp:f,loading:m})),F&&""!==F?{alt:(0,l.xv)(F,100,{includeEllipsis:!0,useEllipsisCharacter:!1})}:null),d),{},{src:A||g},U),V=_({src:D,resizedOptions:E(E({},b),{},{auth:C,focalPoint:M(t)}),resizerBaseUrl:L,width:U.width,height:U.height}),H=C&&v.filter(e=>Number.isInteger(e)&&e>0).map(e=>_({src:D,resizedOptions:E(E({},b),{},{auth:C,focalPoint:M(t)}),resizerBaseUrl:L,width:e,height:0!==z?e/z:void 0}).concat(` ${e}w`)).join(", ")||null,W=C&&j&&j.length?j.filter(({isDefault:e})=>!e).map(({mediaCondition:e,sourceSizeValue:t})=>`${e} ${t}`).concat(j.find(e=>e.isDefault)?.sourceSizeValue||[]).join(", "):null,G=E(E({},$),C&&V?{src:V,srcSet:H,sizes:W}:null);return f?(0,k.jsx)("amp-img",E({class:B,layout:p},G)):(0,k.jsx)("img",E({className:B},G))};D.propTypes={aspectRatio:i().string,ANSImage:i().shape({_id:i().string,additional_properties:i().shape({focal_point:i().shape({max:i().array})}),alt_text:i().string,auth:i().object,caption:i().string,focal_point:i().shape({x:i().oneOfType([i().string,i().number]),y:i().oneOfType([i().string,i().number])}),height:i().oneOfType([i().string,i().number]),url:i().string,width:i().oneOfType([i().string,i().number])}),altText:i().string,fetchPriority:i().oneOf(["auto","high","low"]),height:i().oneOfType([i().string,i().number]),imageClasses:i().string,imageDataAttributes:i().object,imageShape:i().string,isAmp:i().bool,layout:i().string,loading:i().oneOf(["lazy","eager"]),placeholderImage:i().string,resizedOptions:i().shape({auth:i().string,blur:i().number,fitfill:i().bool,focalPoint:i().shape({x:i().number,y:i().number}),quality:i().number,smart:i().bool}),resizerBaseUrl:i().string,responsiveImages:i().arrayOf(i().number),round:i().bool,sizePreset:i().string,
2sizes:i().arrayOf(i().shape({isDefault:i().bool,sourceSizeValue:i().string,mediaCondition:i().string})),src:i().string,width:i().oneOfType([i().string,i().number])};var N=D},3056:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(5349);function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const u=({data:e={},schema:t})=>{if(!e||Object.keys(e)<=0)return null;const r=t&&""!==t?t:e["@type"]&&e["@type"]||null;return(0,o.jsx)("script",s(s({type:"application/ld+json"},r?{"data-schema":r}:{}),{},{dangerouslySetInnerHTML:{__html:JSON.stringify(e,null,2)}}))};u.propTypes={data:i().object,schema:i().string},t.A=u},9726:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=["children","classes","href","openInNewWindow","urlDataAttributes"];function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{let{children:t,classes:r,href:n,openInNewWindow:i,urlDataAttributes:l={}}=e,c=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,s);return(0,a.jsx)("a",u(u(u({},c),{},{className:(0,o.A)(["link |","text-reset",r]),href:n,rel:i?"noopener noreferrer":"",target:i?"_blank":"_self"},l),{},{children:t}))};d.propTypes={children:i().node.isRequired,classes:i().string,href:i().string.isRequired,openInNewWindow:i().bool,urlDataAttributes:i().object},t.A=d},9807:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(3189),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEac
2h(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{caption:t,children:r,containerClasses:n="",containerRatio:i,containerStyle:l={},credits:c={},creditsSeparator:d="|",dataAttributes:h={},deprecatedSizePresetKey:f,itemWrapperClasses:p="",showCaption:m=!1,showCredits:g=!1,showTitle:b=!1,title:y,vanityCredits:v}=e,w=v||c,x=w.by&&w.by.map(e=>e.byline).join(`${d}`)||"",M=w.affiliation&&w.affiliation.map(e=>e.name).join(`${d}`)||"",_=g&&`${x}${x&&M&&` ${d} `}${M}`,O=b&&y?y:null,j=(m||g||b)&&(t&&""!==t||_&&""!==_||O&&""!==O),{aspectRatio:S}=(0,a.qp)({aspectRatio:i,deprecatedSizePresetKey:f}),A=(e=>{if(!e)return null;const[t,r]=e.split(":");return t&&r?`constrained image-ratio-${t}x${r}`:null})(S);return(0,s.jsxs)("figure",u(u({className:(0,o.A)(["media-item |","figure",n,A])},h||{}),{},{style:u({},l),children:[(0,s.jsx)("div",{className:(0,o.A)(["figure-wrapper","img-wrapper","figure-img",{"mb-0":!j},p]),children:r}),j&&(0,s.jsxs)("figcaption",{className:(0,o.A)(["figure-caption","mt-1","px-1"]),children:[O&&(0,s.jsx)("span",{className:(0,o.A)(["caption-title","text-dark","h6"]),dangerouslySetInnerHTML:{__html:O}}),t&&(0,s.jsx)("span",{className:(0,o.A)(["caption-text"]),dangerouslySetInnerHTML:{__html:t||""}}),_&&(0,s.jsx)("span",{className:(0,o.A)(["caption-credit"]),children:`(${_})`})]})]}))};d.propTypes={caption:i().string,children:i().node,containerClasses:i().string,containerRatio:i().oneOf(["1:1","2:1","2:3","3:1","3:2","3:4","4:1","4:3","10:13","16:9"]),containerStyle:i().object,credits:i().shape({affiliation:i().arrayOf(i().shape({name:i().string})),by:i().arrayOf(i().shape({name:i().string}))}),creditsSeparator:i().string,dataAttributes:i().object,deprecatedSizePresetKey:i().string,itemWrapperClasses:i().string,showCaption:i().bool,showCredits:i().bool,showTitle:i().bool,title:i().string,vanityCredits:i().object},t.A=d},5106:function(e,t,r){"use strict";var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{overlineClasses:t="",overlineDataAttributes:r={},overlineFont:i="",overlineText:o,overlineTextTransform:l,overlineTextWeight:c="normal",resetTextColor:d=!0,url:h}=e;return o?(0,s.jsx)("p",u(u({className:(0,a.A)(["overline |",t,i,{"text-capitalize":"capitalize"===l},{"text-lowercase":"lowercase"===l},{"text-uppercase":"uppercase"===l},{"fw-bold":"bold"===c},{"fw-bolder":"bolder"===c},{"fw-normal":"normal"===c},{"fw-light":"light"===c},{"fw-lighter":"lighter"===c},"isText","d-block","mb-0"])},r),{},{children:h?(0,s.jsx)("a",{className:(0,a.A)([{"text-reset":d}]),href:h,children:o}):(0,s.jsx)(n.Fragment,{children:o})})):null};d.propTypes={overlineClasses:o().string,overlineDataAttributes:o().object,overlineFont:o().string,overlineText:o().string,overlineTextTransform:o().oneOf(["","capitalize","lowercase","uppercase"]),overlineTextWeight:o().oneOf(["lighter","light","normal","bold","bolder"]),overrides:o().shape({}),resetTextColor:o().bool,url:o().string},t.A=d},4745:function(e,t,r){"use strict";r(809);var n=r(3287),i=r(5349);t.A=()=>(0,i.jsx)("div",{className:(0,n.A)(["play-icon | icon","d-flex","justify-content-center","pointer","h-100","w-100"]),children:(0,i.jsx)("div",{className:(0,n.A)(["far fa-play-circle","fa-3x","align-self-center"])})})},9550:function(e,t,r){"use strict";r.d(t,{Si:function(){return ee},mW:function(){return be},CC:function(){return ge},Nc:function(){return fe}});
2var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(3287),l=r(7508),u=r.n(l),c=r(5511),d=r(2909),h=r(1153),f=r(2028);const p=(0,r(4410).n)("[QuickplayVideoPlayer]","force-debug");var m=r(4676);const g=p.createLogger("user-token"),b="Quickplay-User-Token";var y=async()=>{if((0,m.Bd)()){const e=window?.localStorage?.[b]||await(async()=>{if((0,m.Bd)()&&window.crypto?.randomUUID){const e=window.crypto.randomUUID();return g.log("Generated UUID using window.crypto.randomUUID:",e),e}if("undefined"!=typeof crypto&&crypto.randomUUID){const e=crypto.randomUUID();return g.log("Generated UUID using crypto.randomUUID:",e),e}const{nanoid:e}=await r.e(934).then(r.bind(r,2934)),t=e();return g.log("Generated UUID using nanoid:",t),t})();return(e=>{(0,m.Bd)()&&(window.localStorage[b]=e)})(e),e}};const v=p.createLogger("player-lifecycle"),w=(e,t,r)=>{try{if(e?.destroy&&(e?.pause&&e.pause(),e.destroy(),t.current)){document.getElementById("video-container").appendChild(t.current)}r&&r()}catch(e){v("POWA PLAYER ERROR IN destroyPowaPlayer() ERROR:",e)}};var x=r(9709);const M=p.createLogger("heartbeat-lifecycle"),_=e=>{e?.stop()},O=p.createLogger("event-tracking");var j=(e={},t)=>{const r="channel"===e?.contentType,n=e.title||"A Sample Title",i=n.startsWith("|QP| - ")?n:`|QP| - ${n}`,o={_id:e.id,canonical_website:t,display_date:e.currentProgram?.startTime||e.airDate,duration:e.duration,headlines:{basic:i},isCompleteEpisode:!r,video_type:r?"live":"clip",additional_properties:e};return e.id&&(0,m.Bd)()&&(window.quickplayVideoData||(window.quickplayVideoData={}),window.quickplayVideoData[e.id]=o),o};var S=({readyEvent:e,arcSite:t,arcQuickplaySite:r,htmlId:n,isAutoPlay:i,isInitialLoad:o,isLive:a,muteButtonRef:s,powa:l,videoData:u,videoPlayerRef:c,onErrorHandler:d,outputType:h="default"})=>{const f=p.createLogger("quickplay-events"),g={playing:null,start:null},b=e=>{e&&g[e]?(clearInterval(g[e]),g[e]=null):Object.keys(g).forEach(e=>{g[e]&&(clearInterval(g[e]),g[e]=null)})};let S=null;S=(({videoData:e,arcSite:t,arcQuickplaySite:r,isLive:n,powa:i})=>{const o=e?.playback?.heartbeatToken;return o?(0,x.m)({arcSite:t,arcSiteOverride:r,getDeviceId:y,heartbeatToken:o,contentId:e.id,intervalMs:e?.playback?.heartbeatFreq,isLive:n,powa:i,onUpdate:()=>{},onError:e=>M("Heartbeat error:",e)}):null})({videoData:u,arcSite:t,arcQuickplaySite:r,isLive:a,powa:l});const A=(e=>(window.reportedEvents||(window.reportedEvents={}),window.reportedEvents[e]||(window.reportedEvents[e]=new Set),{logTrackedEvents:t=>{const r=/hover|powacustom|scrubbertouch|timeupdate/i,n=t.getPoWaTrack().filter(e=>!r.test(e.event)).filter(t=>!window.reportedEvents[e].has(t.timestamp)).sort((e,t)=>t.timestamp-e.timestamp);n.length>0&&(n.forEach(t=>window.reportedEvents[e].add(t.timestamp)),O.groupCollapsed(`Logging ${n.length} new event(s) for player ${e} at ${(new Date).toLocaleTimeString()}`),n.forEach(e=>O.logCollapsedRaw(`${e.event} @ ${new Date(e.timestamp).toLocaleTimeString()}`,e)),O.groupEnd())}}))(n),P=()=>A.logTrackedEvents(l),k=((e,t,r)=>{if("apps"!==r)return null;const n=()=>{try{const{playing:t=!1}=e?.getStatus()||{};t&&e.pause()}catch(e){console.error(`Error with pausing powa video id: ${t}`,e)}};return document.addEventListener("gdm-webview-article-exit-viewport",n),()=>document.removeEventListener("gdm-webview-article-exit-viewport",n)})(l,n,h),{id:T}=u;try{(0,m.MH)(e,{player:l,powaID:n,isLivePowaPlayer:a,getElementOverride:"function"==typeof e?.powa?.getElement?null:()=>window.document.getElementById(n),dataOverride:()=>window?.quickplayVideoData?.[T]||j(u,r)},t)}catch(e){console.error("[QuickplayLivePlayer][PoWaPlayer] track-goldfish-error",e)}(({event:e,isAutoPlay:t,isInitialLoad:r,powa:n})=>{v.groupCollapsed("Trigger Replay After Blocked Video"),v.raw("triggerReplayAfterBlockedVideo - on-loaded-event",e);try{const{autoplayStatus:e,autoplay:i}=n.getStatus();v.raw("isAutoPlay:",t),v.raw("autoplayStatus:",e),v.raw("isInitialLoad:",r),v.raw("powaAutoplay:",i),t&&"autoplayBlocked"===e&&(v.raw("setting timeout"),n.muted()||n.mute(),setTimeout(()=>{v.logCollapsed("e.powa.getStatus()",n.getStatus());const{playing:e}
2=n.getStatus();e||n.play()},1500))}catch(e){console.error("[QuickplayLivePlayer][PoWaPlayer] autoplay-error",e)}finally{v.groupEnd()}})({readyEvent:e,isAutoPlay:i,isInitialLoad:o,powa:l});return l.on("muted",({muted:e=!0})=>{e||s.current.classList.add("hidden")}),l.on("play",e=>{f.logCollapsed("on-play-event",e),l.muted()&&s.current.classList.remove("hidden"),S?.start(),g.start||(g.start=setInterval(()=>P(),3e5))}),l.on("pause",()=>{_(S),b("playing")}),l.on("end",()=>{_(S),b()}),l.on("destroyed",()=>{P(),_(S),b()}),l.on("error",e=>{const{fatal:t=!1,running:r=!0,state:n}=e;f("error-event",e),P(),_(S),(!r&&"error"===n||t)&&w(l,c,()=>{d(()=>({hasError:!0,errorMessage:"An error has occured. Please press the play button or reload the page to try again."}))})}),()=>{_(S),b(),k?.()}},A=r(6094);function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?P(Object(r),!0).forEach(function(t){T(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function T(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var E=({currentDateTime:e=new Date,liveChannels:t=[]}={})=>{if(!t)return[];let r=!1;const n=t.map(t=>{const{currentProgram:n={},nextProgram:i=null}=t;if(!i)return t;const o=i?.startTime?new Date(i.startTime):null,a=n?.endTime?new Date(n.endTime):o;return(a&&(0,A.O)(a,e)||0)<5?(r=!0,k(k({},t),{},{currentProgram:k(k({},n),i),nextProgram:null,hasUpdatedProgramTitle:!0})):t});return r?n:t};const C=["liveChannels","videosOnDemand"];function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function I(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const R=(e,t)=>{if(e===t)return!0;if(!e||!t)return e===t;const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(r=>e[r]===t[r])},L=(e,t)=>{const{liveChannels:r,selectedVideo:n}=e,i=r.length>0?t.map(e=>{const t=r.find(t=>t.id===e.id);return t?(i=e,(n=t)&&i?n===i?n:Object.keys(i).some(e=>"playback"===e?!R(n.playback,i.playback):n[e]!==i[e])?N(N(N({},n),i),{},{playback:n.playback||i.playback,images:i.images?.length>0?i.images:n.images}):n:i||n):e;var n,i}):t,o=(()=>
2{if(!n){const e=i[0];return e?{id:e.id,contentType:e.contentType}:null}if(e=n,"asset"===e?.contentType||"clip"===e?.contentType||"asset"===e?.type||"clip"===e?.type)return n;var e;return i.find(e=>e.id===n.id)?N({id:n.id,contentType:n.contentType},n.playback?{playback:n.playback}:{}):{id:i[0]?.id,contentType:i[0]?.contentType||i[0]?.type}})();return{liveChannels:i.map(e=>{const t=e.id===o?.id;return e.isSelected===t?e:N(N({},e),{},{isSelected:t})}),selectedVideo:o}},B=e=>{let{liveChannels:t,videosOnDemand:r}=e;return N(N({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,C)),{},{liveChannels:t.map(e=>N(N({},e),{},{isSelected:!1}))},r?.content_elements?{videosOnDemand:N(N({},r),{},{content_elements:r.content_elements.map(e=>N(N({},e),{},{isSelected:!1}))})}:{videosOnDemand:r})};var q=(e,t=0)=>{if(!e.current)return!1;const{top:r}=e.current.getBoundingClientRect();return r+t>=0&&r-t<=window.innerHeight};const U=6e4,z=10,F="ceil";var $=r(5798),V=r(5349);function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function W(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?H(Object(r),!0).forEach(function(t){G(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):H(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function G(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const K=e=>{const{adSlotName:t="",adPrerollEnabled:r=!0,arcQuickplaySite:i,isAutoPlay:o=!1,isAutoPlayMuted:l=!1,isInitialLoad:m=!1,isInitialPlay:g=!0,livestreamHlsFeed:b,livestreamId:y,posterImageUrl:v,isLive:x=!0,videoData:M,onErrorHandler:_}=e,{arcSite:O,isAdmin:j,outputType:A,siteProperties:P}=(0,a.useFusionContext)(),k=p.createLogger(`core/QuickplayVideoPlayer/PoWaPlayer-${y}`),T=`powa-${y}`,{dfpId:E,locale:C}=P,D=u()(C||"en"),N=(0,n.useRef)(),I=(0,n.useRef)(),R=(0,n.useRef)(null),L=(0,n.useRef)(null),B=!(!o||!g),q=!(!(0,c.B)()||"undefined"==typeof document||void 0===window.PoWa||null==b);return(0,n.useEffect)(()=>{if((0,c.B)()&&(window.PoWaSettings=W({},window?.PoWaSettings||{advertising:{adBar:!0}}),window.PoWaSettings.advertising=W({},window?.PoWaSettings?.advertising||{}),window.PoWaSettings.advertising.adBar=!0,window.PoWaSettings.theme="refresh2021"),(0,$.RD)(),k.groupCollapsed("useEffect() logs"),k.raw("isInitialLoad:",m),k.raw("tisInitialPlay:",g),k.raw("Autoplay Info",`\n\tisAutoPlay: ${o}\n\tconvertedAutoPlayValue: ${B}`),k.raw(`useEffect - Should Render? ${q}`),k.groupEnd(),!q)return k.groupCollapsed("Should not render!"),k.raw(`window: ${!!window}`),k.raw(`document: ${!!document}`),k.raw(`PoWa: ${!!window.PoWa}`),k.raw(`livestreamHlsFeed: ${b}`),k.groupEnd(),()=>null;if(R.current===b)return k("Stream URL unchanged, skipping player recreation"),()=>{};R.current=b;const e=new window.PoWa({id:`#${T}`,ads:r,autoplay:!j&&o,debug:j,hls:"js",hlsjsURL:"https://gray.video-player.arcpublishing.com/vendor/hls.js/1.5.7/hls.min.js",live:x,muted:!(!o||!l),promo:{image:`${v}`},stream:b,error:console.debug,getAdTag:()=>(0,d.P)({arcSite:O,player:window?.powas?.[T]?.powa})||(0,h.a)({arcSite:O,adPath:`${E}/${t}`}),ready:e=>{k.logCollapsed("ready-event:",e),L.current=S({readyEvent:e,arcSite:O,arcQuickplaySite:i,htmlId:T,isAutoPlay:o,isInitialLoad:m,isLive:x,muteButtonRef:I,powa:e.powa,videoData:M,videoPlayerRef:N,onErrorHandler:_,outputType:A})}});return()=>(k(`Unmount - Should Destroy? ${!(!e||!e.destroy)}`),L.current?.(),e&&e.destroy&&w(e,N,null),null)},[q,b]),k.logCollapsed("videoData:",M),b&&y?(0,V.jsxs)("div",{className:(0,s.A)(["powa-player |"]),children:[(0,V.jsx)("div",{id:"video-container",children:(0,V.jsx)("div",{ref:N,id:T,className:(0,s.A)(["absolute","powa"]),"data-ads":`${r}`,"data-api":`${f.tU}`,"data-autoplay":B,"data-env":`${f.tU}
2`,"data-ping-rate":"60","data-preroll-ad-path":`${E}/${t}`,"data-quickplay-autoplay":B,style:{paddingBottom:"56.25%"}})}),(0,V.jsxs)("button",{ref:I,className:(0,s.A)(["unmute","w-100","py-4","hidden","fw-bold"]),onClick:()=>{window.powas[T].powa.mute()},children:[(0,V.jsx)("i",{className:(0,s.A)(["fas","fa-volume-up","me-2"])}),D.t("visualMedia.quickplayLivePlayer.clickToUnmuteVideo")]})]}):null};K.propTypes={adPrerollEnabled:o().bool,adSlotName:o().string,arcQuickplaySite:o().string,isAutoPlay:o().bool,isAutoPlayMuted:o().bool,isInitialLoad:o().bool,isInitialPlay:o().bool,livestreamHlsFeed:o().string,livestreamId:o().string,posterImageUrl:o().url,isLive:o().bool,videoData:o().shape({id:o().string,title:o().string,contentType:o().string,playback:o().shape({contentUrl:o().string,heartbeatToken:o().string,streamId:o().string})}),onErrorHandler:o().func};var Z=K;function X(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?X(Object(r),!0).forEach(function(t){J(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):X(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function J(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Q=({adPrerollEnabled:e=!1,adSlotName:t,arcQuickplaySite:r,isAutoPlay:i=!0,isAutoPlayMuted:o=!1,isLoading:s,isInitialLoad:l,isInitialPlay:u,videoData:c={},errorHandler:d,onVideoSelectHandler:h})=>{const f=p.createLogger("VideoPlayerContainer"),{contextPath:g}=(0,a.useFusionContext)(),{title:b="A Sample Title",id:y,contentType:v,images:w=[],playback:x}=c||{},M=x?.contentUrl,[_,O]=(0,n.useState)(!1),j=w.find(e=>"16x9"===e.ratio)||w[0],S=!(d.error?.hasError||s||!(0,m.Bd)()||!M);return f.logCollapsed("debug info:",{videoData:c,"errorHandler.error?.hasError":d.error?.hasError,isLoading:s,playback:x,isAutoPlay:i,shouldShowPlayer:S}),(0,V.jsx)("div",{className:"qp-video-player-container h-100 d-flex flex-column justify-content-center",children:S?(0,V.jsx)(Z,{adPrerollEnabled:e,adSlotName:t,arcQuickplaySite:r,isAutoPlay:!l||(i||_),isAutoPlayMuted:o,isInitialLoad:l,isInitialPlay:u,livestreamHlsFeed:M,livestreamId:y,livestreamTitle:b,isLive:"channel"===v,posterImageUrl:j?.url,videoData:c,onErrorHandler:d.setError}):(0,V.jsxs)("div",{className:"qp-video-player-placeholder",children:[d.error.hasError&&(0,V.jsx)("div",{className:"placeholder-text text-center text-white fw-normal fst-italic p-3 p-md-4 mb-0 w-100",children:d.error.errorMessage}),(0,V.jsx)("div",{className:"placeholder-wrapper",children:(0,V.jsx)("div",{className:"placeholder-image",style:{backgroundImage:`url(${j?.url||`${g}/resources/images/grayDefaultVideoCenterPoster_Dark.jpg`})`},children:(0,V.jsx)("button",Y({"aria-label":"Play",title:"Play",className:"play "+(s?"loading-icon":"play-icon")},!s&&{onClick:()=>{O(!0),h(y,v)}}))})})]})})};Q.propTypes={adPrerollEnabled:o().bool,adSlotName:o().string,arcQuickplaySite:o().string,errorHandler:o().shape({error:o().shape({hasError:o().bool,errorMessage:o().string}),setError:o().func,clearError:o().func}),isAutoPlay:o().bool,isAutoPlayMuted:o().bool,isInitialLoad:o().bool,isInitialPlay:o().bool,isLoading:o().bool,videoData:o().shape({playback:o().shape({contentUrl:o().string}),title:o().string,id:o().string,contentType:o().oneOf(["channel","clip","asset"]),type:o().oneOf(["live","vod"]),images:o().arrayOf(o().shape({ratio:o().string,url:o().url.isRequired,width:o().number.isRequired}))}),onVideoSelectHandler:o().func};var ee=Q,te=r(8435);function re(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?re(Object(r),!0).forEach(function(t){ie(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):re(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ie(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const oe=new Map;var ae=({arcSite:e,_log:t,selectedVideo:r,setState:i,setLoadingState:o})=>{const a=(0,n.useRef)(new Set);(0,n.useEffect)(()=>{oe.clear()},[r?.id]);return{fetchVideoPlayback:(0,n.useCallback)(async(n,s)=>{t("fetchVideoPlayback called:",{contentId:n,contentType:s,selectedVideoId:r?.id});const l=`${n}-${s}`;if(a.current.has(l))return t("Request already in flight, skipping:",l),Promise.resolve(void 0);const u=Date.now(),c=oe.get(l);if(c&&c.attempts>=2&&u-c.lastAttempt<3e5){const e=new Error(`QuickPlay: Max retries (2) exceeded for ${n}. Try again later.`);throw t("Max retries exceeded:",e.message),e}const d=r;if(!(!d?.playback?.contentUrl||d?.id!==n))return t("Playback data already exists, skipping fetch"),d.playback;a.current.add(l);const h=await y();o(e=>ne(ne({},e),{},{isLoading:!0,isInitialPlay:!1}));try{const u=s||r?.contentType;let c;switch(u){case"channel":c=await(0,te.wv)(n,{arcSite:e,deviceId:h});break;case"clip":c=await(0,te._r)(n,{arcSite:e,deviceId:h});break;case"asset":c=await(0,te.AG)(n,{arcSite:e,deviceId:h});break;default:throw new Error(`Unsupported content type: ${u}`)}return t.logCollapsed(`${u}-playback-response:`,c),oe.delete(l),i(e=>ne(ne({},e),{},{selectedVideo:ne(ne({},e.selectedVideo),{},{playback:ne(ne({},e.selectedVideo?.playback),c)})})),o(e=>ne(ne({},e),{},{isLoading:!1})),a.current.delete(l),c}catch(e){const r=oe.get(l)||{attempts:0,lastAttempt:0};throw r.attempts+=1,r.lastAttempt=u,oe.set(l,r),t(`Playback fetch error (attempt ${r.attempts}/2):`,e),o(e=>ne(ne({},e),{},{isLoading:!1})),a.current.delete(l),e}},[e,t,i,o])}},se=r(4274),le=r(4016);var ue=({mode:e,channelData:t,lastUpdate:r,refreshData:n,updateChannelData:i,setLastUpdate:o,_log:a})=>{(0,le.A)(()=>{if("multi"!==e)return;const s=new Date,l=E({currentDateTime:s,liveChannels:t.liveChannels});l!==t.liveChannels&&(a("updating channel data"),i({liveChannels:l,selectedVideo:t.selectedVideo}));(0,se.o)(new Date,r,{roundingMethod:F})>=z&&(a("Refreshing data (time threshold exceeded):"),n().then(()=>{o(new Date)}).catch(e=>{a.logCollapsed("REFRESH ERROR, keeping existing data:",e),o(new Date)})),a.groupEnd()},U)};function ce(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function de(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ce(Object(r),!0).forEach(function(t){he(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ce(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function he(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var fe=({fetchedData:e={},includeEmptyLiveChannels:t=!1,arcSite:r,websiteOverride:i,mode:o="multi",fetchInitialDataFromClient:a=!1})=>{const s=p.createLogger("useQuickplayData"),l=()=>{if("single"===o){const t=e?.id?{id:e.id,contentType:e.contentType}:null;return{selectedVideo:t,liveChannels:[..."channel"===t?.contentType?[e]:[]],videosOnDemand:["clip","asset"].some(t=>t===e?.contentType)?{content_elements:[e]}:null}}const t=e?.liveChannels||[],r=e?.videosOnDemand||null,n=t[0];return{liveChannels:t,selectedVideo:n?{id:n.id,contentType:n.contentType||n.type}:null,videosOnDemand:r}}
2,[u,c]=(0,n.useState)(l),[d,h]=(0,n.useState)({isLoading:!0,isInitialLoad:!0,isInitialPlay:!0}),[f,m]=(0,n.useState)(new Date);(0,n.useEffect)(()=>{const e=l(),t=!!e.selectedVideo,r=!u.selectedVideo;t&&r&&c(e)},[e,o]);const g=(0,n.useCallback)(()=>{if(!u.selectedVideo?.id)return null;const{id:e,contentType:t,playback:r}=u.selectedVideo;let n=null;return"channel"===t?n=u.liveChannels.find(t=>t.id===e):"clip"!==t&&"asset"!==t||(n=u.videosOnDemand?.content_elements.find(r=>r.id===e&&r.contentType===t)),n?r?de(de({},n),{},{playback:r}):n:null},[u.selectedVideo?.id,u.selectedVideo?.contentType,u.selectedVideo?.playback,u.liveChannels,u.videosOnDemand]),{fetchVideoPlayback:b}=ae({arcSite:i||r,_log:s,selectedVideo:u.selectedVideo,setState:c,setLoadingState:h}),y=(0,n.useCallback)(async()=>{s("Refreshing data for mode:",o);try{if("multi"===o){const e=await(0,te.Xl)({arcSite:i||r,includeEmptyLiveChannels:t,isClientSideRequest:!0});s.logCollapsed("fresh-data-response:",e),c(t=>de(de({},L(t,e.liveChannels||[])),t.videosOnDemand?{videosOnDemand:t.videosOnDemand}:null))}}catch(e){s("REFRESH ERROR, keeping existing data:",e)}},[o,r,t,i]),v=(0,n.useCallback)(async(e,t)=>{if(s("selectVideo called:",{id:e,contentType:t}),"single"===o)return;c("channel"===t?t=>((e,t)=>{const r=B(e),{liveChannels:n}=r,i=n.find(e=>e.id===t);if(!i)return r;const o=n.map(e=>N(N({},e),{},{isSelected:e.id===t}));return N(N({},r),{},{liveChannels:o,selectedVideo:{id:i.id,contentType:i.contentType}})})(t,e):r=>((e,t,r)=>{const n=B(e),{videosOnDemand:i}=n,o=i?.content_elements||[],a=o.find(e=>e.id===t&&e.contentType===r);return a?N(N({},n),{},{videosOnDemand:N(N({},i),{},{content_elements:o.map(e=>N(N({},e),{},{isSelected:e.id===t}))}),selectedVideo:{id:a.id,contentType:a.contentType||a.type}}):n})(r,e,t));(!u.selectedVideo?.playback?.contentUrl||u.selectedVideo?.id!==e)&&await b(e,t)},[o,b]);return(0,n.useEffect)(()=>{if("single"===o||a)return void h(e=>de(de({},e),{},{isLoading:!1,isInitialLoad:!1}));(async()=>{h(e=>de(de({},e),{},{isLoading:!0})),await y(),h(e=>de(de({},e),{},{isLoading:!1,isInitialLoad:!1}))})()},[o]),ue({mode:o,channelData:{liveChannels:u.liveChannels,selectedVideo:u.selectedVideo},lastUpdate:f,refreshData:y,updateChannelData:e=>c(t=>de(de({},t),e)),setLastUpdate:m,_log:s}),de(de(de({},d),{},{liveChannels:u.liveChannels,selectedVideo:u.selectedVideo,getCurrentVideoData:g,videosOnDemand:u.videosOnDemand,fetchVideoStream:b},"multi"===o?{selectVideo:v}:null),{},{refreshData:y})},pe=r(7983),me=r.n(pe);var ge=({arcSite:e,dfpSiteShorthand:t,enableScrollBehavior:r=!1,liveChannels:i=[],outputType:o="default",selectVideo:a,fetchVideoStream:s,selectedVideo:l,getCurrentVideoData:u,videoCustomAdSlot:c="",videoIsAutoPlay:d=!1})=>{const h=p.createLogger("usePowaQuickplayVideoPlayer");h.logCollapsed("[usePowaQuickplayVideoPlayer] Hook parameters:",{arcSite:e,selectVideo:typeof a,selectVideoValue:a,fetchVideoStream:typeof s,fetchVideoStreamValue:s,selectedVideo:l?.id?{id:l.id,contentType:l.contentType||l.type}:null,videoIsAutoPlay:d,liveChannelsCount:i?.length||0}),h(`selectedVideo: (${Object.entries(l||{}).map(([e,t])=>`${e}: ${t}`).join(", ")})`);const f=(0,n.useRef)(),m=(0,n.useRef)(new Set),g=(0,n.useRef)(),[b,y]=(0,n.useState)(!1),[v,w]=(0,n.useState)({hasError:!1,errorMessage:null});(0,n.useEffect)(()=>{const e=l?.id;!g.current&&!!e&&f.current&&!b&&y(q(f,0)),g.current=e},[l?.id,b]),(0,n.useEffect)(()=>{const t=(me()(e)?.quickplay?.blockBotAutoFetch||!1)&&/bot|crawler|spider|googlebot|bingbot|slurp|duckduckbot|facebot|ia_archiver/i.test(navigator?.userAgent);h.logCollapsed("Auto-fetch effect conditions:",{videoIsAutoPlay:d,isBlockedSearchBot:t,isVisible:b,selectedVideoId:l?.id,hasContentUrl:!!l?.playback?.contentUrl,selectedVideoType:l?.contentType,fetchingRef:Array.from(m.current)}),d&&!t&&b&&l?.id&&!l?.playback?.contentUrl&&!m.current.has(l.id)&&(h.logCollapsed("Auto-fetching stream for:",l.id,l.contentType),m.current.add(l.id),s(l.id,l.contentType).finally(()=>{m.current.delete(l.id)}))},[e,d,b,l?.id,l?.contentType,l?.playback?.contentUrl,s]);const x=(0,n.useMemo)(()=>l?.id?u():null,[l?.id,l?.contentType,u]);(0,n.useEffect)(()=>{x&&j(x,e)},[x?.id,e]);const M=(0,n.useCallback)((e,t)=>{if(w({hasError:!1,errorMessage:null}),"function"==typeof a?a(e,t):(h("selectVideo not available in single mode, triggering fetchVideoStream directly"),"function"!=typeof s||m.current.has(e)||(m.current.add(e),s(e,t).finally(()=>{m.current.delete(e)}))),r&&f.current&&window){const{top:e,left:t}=f.current.getBoundingClientRect();setTimeout(()=>{window.scrollTo({top:window.scrollY+-65+e,left:t,behavior:"smooth"})},200)}},[r,a]),_=(0,n.useMemo)(()=>{const r="apps"===o?.toLowerCase()?"app-news":"web";return`${t||e}/${r}${c}`},[t,e,o,c]);
2return{isVisible:b,nowPlaying:x,onVideoSelectHandler:M,playerRef:f,prerollAdSlot:_,errorHandler:(0,n.useMemo)(()=>({error:v,setError:w,clearError:()=>w({hasError:!1,errorMessage:null})}),[v])}};const be=e=>p.createLogger(e)},9837:function(e,t,r){"use strict";r.d(t,{M:function(){return u},V:function(){return l}});r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(5349);const s=({mobileColumns:e=1,tabletColumns:t=2,desktopColumns:r=3,widescreenColumns:n=4,children:i})=>(0,a.jsx)("div",{className:(0,o.A)(["responsive-column-grid","d-flex","flex-column","mb-3"]),style:{"--cols-mobile":e,"--cols-tablet":t,"--cols-desktop":r,"--cols-wide":n},children:(0,a.jsx)("div",{className:(0,o.A)(["responsive-grid"]),children:i})});s.propTypes={children:i().node,mobileColumns:i().number,tabletColumns:i().number,desktopColumns:i().number,widescreenColumns:i().number};var l=s;const u={widescreenColumns:i().number.tag({label:"Widescreen Items Per Row",description:"Number of items per row on widescreen (1280px+ container width)",defaultValue:4,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),desktopColumns:i().number.tag({label:"Desktop Items Per Row",description:"Number of items per row on desktop (1024px+ container width)",defaultValue:3,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),tabletColumns:i().number.tag({label:"Tablet Items Per Row",description:"Number of items per row on tablet (768px+ container width)",defaultValue:2,group:"Column Sizes",hidden:!1,max:12,min:1,step:1}),mobileColumns:i().number.tag({label:"Mobile Items Per Row",description:"Number of items per row on mobile (default)",defaultValue:1,group:"Column Sizes",hidden:!1,max:12,min:1,step:1})}},8422:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(7508),s=r.n(a),l=r(5349);const u=e=>{const{authorName:t="author",containerClasses:r="",iconJustification:n="start",iconSize:i="1x",locale:a,socialLinks:u=[]}=e,c=s()(a||"en"),d=`justify-content-${n||"start"}`;return!u||u.length<=0?null:(0,l.jsx)("div",{className:(0,o.A)(["social-bar | ","d-inline-flex",d,"mx-n1",`fa-${i||"1x"}`,r]),children:u.map(e=>{const{site:r,url:n}=e,i=(e=>{switch(e){case"email":return"far fa-envelope";case"facebook":return"fab fa-facebook-f";case"instagram":return"fab fa-instagram";case"linkedin":return"fab fa-linkedin-in";case"pinterest":return"fab fa-pinterest";case"twitter":return"fab fa-x-twitter";case"youtube":return"fab fa-youtube";default:return null}})(r),a=((e,t)=>{switch(e){case"email":return`mailto:${t}`;case"facebook":return t.replace("http:","https:");case"instagram":return t.indexOf("instagram.com")>0?t.replace("http:","https:").trim():`https://www.instagram.com/${t.replace("@","").trim()}`;case"linkedin":return t.indexOf("linkedin.com")>
20?t.replace("http:","https:").trim():`https://www.linkedin.com/in/${t.replace("@","").trim()}`;case"pinterest":return t.indexOf("pinterest.com")>0?t.replace("http:","https:").trim():`https://www.pinterest.com/${t.replace("@","").trim()}`;case"twitter":return t.indexOf("x.com")>0?t.replace("http:","https:").trim():`https://www.x.com/${t.replace("@","").trim()}`;case"youtube":return t.indexOf("youtube.com")>0?t.replace("http:","https:").trim():`https://www.youtube.com/user/${t.replace("@","").trim()}`;default:return null}})(r,n);if(!i||!a)return null;const s=(()=>{switch(r){case"email":return c.t("global.socialBar.email",{author:t});case"twitter":return`${c.t("global.shareBar.shareOnSocial",{author:t,network:"X"})} ${c.t("global.social.twitterSuffix")}`;default:return c.t("global.socialBar.social",{author:t,network:r.toUpperCase()})}})();return(0,l.jsx)("a",{"aria-label":s,className:(0,o.A)(["social-link |","pointer","text-reset","text-decoration-none","px-1"]),href:a,rel:"noopener noreferrer",target:"_blank",children:(0,l.jsx)("i",{className:(0,o.A)([i])})},`socialbar-links-${r}`)})})};u.propTypes={authorName:i().string,containerClasses:i().string,iconJustification:i().oneOf(["start","center","end"]),iconSize:i().oneOf(["xs","sm","lg","1x","2x","3x"]),locale:i().oneOf(["en","es"]),socialLinks:i().arrayOf(i().shape({site:i().string,url:i().string}))},t.A=u},7168:function(e,t,r){"use strict";r.d(t,{A:function(){return d},G:function(){return u}});r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349),s=r(6780),l=r.n(s);const u=()=>({titleBarText:l().string.tag({group:"Title Bar",name:"Title Bar Text"}),titleBarUrl:l().string.tag({defaultValue:"",description:"If not empty, url will wrap the Title Bar text.",group:"Title Bar",name:"Title Bar URL"}),titleBarOpenInNewWindow:l().bool.tag({defaultValue:!1,description:"If checked and a URL is in the Title Bar URL field, the Title Bar Text link will open in a new window.",group:"Title Bar",name:"Open Link in New Window"}),titleBarHeadingLevel:l().oneOf([1,2,3,4,5,6]).tag({defaultValue:2,group:"Title Bar",labels:{1:"H1",2:"H2",3:"H3",4:"H4",5:"H5",6:"H6"},name:"Header Size"}),titleBarTextWeight:l().oneOf(["lighter","light","normal","bold","bolder"]).tag({defaultValue:"bold",group:"Title Bar",name:"Header Text Weight"})});const c=e=>{const{containerClasses:t="",disableTextDecoration:r=!1,headingLevel:n=2,openInNewWindow:i=!1,title:s,titleClasses:l="",textWeight:u="bold",url:c}=e,d=`h${n}`,h=s&&(0,a.jsx)("span",{className:(0,o.A)(""),dangerouslySetInnerHTML:{__html:s}});return(0,a.jsx)("div",{className:(0,o.A)(["title-bar |",t]),children:s&&(0,a.jsx)(d,{className:(0,o.A)(["title |",{"fw-bold":"bold"===u},{"fw-bolder":"bolder"===u},{"fw-normal":"normal"===u},{"fw-light":"light"===u},{"fw-lighter":"lighter"===u},l]),children:c?(0,a.jsx)("a",{className:(0,o.A)(["text-reset",{"text-decoration-none":r}]),href:c,rel:i?"noopener noreferrer":"",target:i?"_blank":"_self",children:h}):h})})};c.propTypes={containerClasses:i().string,disableTextDecoration:i().bool,headingLevel:i().oneOf([1,2,3,4,5,6]),openInNewWindow:i().bool,title:i().string,titleClasses:i().string,textWeight:i().oneOf(["lighter","light","normal","bold","bolder"]),url:i().string};var d=c},4734:function(e,t,r){"use strict";r.d(t,{Qz:function(){return y},EG:function(){return c.EG},RD:function(){return c.RD}});var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(9626),l=r.n(s),u=r(4321),c=r(5798),d=r(4676),h=r(2028),f=r(5349);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=({adSlotName:e="",adPrerollEnabled:t=!0,aspectRatio:r="16:9",goldfishDataOrg:i="gray",isAmp:o=!1,isAutoPlay:s=!1,isPlaythroughEnabled:p=!1,isSticky:g=!0,promoImage:b,videoUuid:y=null,videoViewportPercentage:v})=>{const{arcSite:w,isAdmin:x,outputType:M="default",siteProperties:_,id:O}=(0,u.useFusionContext)(),{dfpId:j}=_,S=`powa-${O||"unknown-feature-key"}-${y}`,A=(0,n.useRef)(),P=(0,d.Bd)(),k=(e=>{const[t,r]=(e||"").split(":");return`${t}:${r}`})(r),[T,E]=k.split(":"),C=Math.trunc(E/T*1e4)/1e4;if((0,n.useEffect)(()=>{(0,c.EG)(S,w,M),(0,c.RD)(),P&&window.powaBoot&&window.powaBoot()},[P]),!y)return null;const D=C<.74?null:{maxBlockSize:`${v||65}vh`};return(0,f.jsx)(l(),{id:`static-id-${S}`,children:(0,f.jsx)("div",{className:(0,a.A)(["goldfish-player",{"embedded-output":"embed"===M}]),style:m({aspectRatio:`calc(${T}/${E})`},D),children:o?(0,f.jsx)("amp-iframe",{layout:"responsive",width:T,height:E,src:`https://gray-${w}-${h.tU}.gtv-cdn.com/fragment/iframe/powaPlayer/${y}/?outputType=embed`,sandbox:"allow-scripts allow-same-origin",scrolling:"no",children:b?(0,f.jsx)("amp-img",{layout:"fill",src:b,placeholder:!0}):null}):(0,f.jsx)("div",m(m({ref:A,id:S,className:(0,a.A)(["absolute","powa"]),"data-ad-bar":"false","data-ads":`${t}`,"data-api":`${h.tU}`,"data-aspect-ratio":C,"data-autoplay":!x&&s,"data-env":`${h.tU}`,"data-debug":x,"data-org":`${i}
2`,"data-ping-rate":"60","data-preroll-ad-path":`${j}/${e}`,"data-sticky":`${C<1&&g}`,"data-uuid":`${y}`},b?{"data-promo-image":encodeURIComponent(b)}:{}),p?{"data-playthrough":!0}:{}))})})};b.propTypes={adPrerollEnabled:o().bool,adSlotName:o().string,aspectRatio:o().string,goldfishDataOrg:o().string,isAmp:o().bool,isAutoPlay:o().bool,isPlaythroughEnabled:o().bool,isSticky:o().bool,promoImage:o().string,videoUuid:o().string,videoViewportPercentage:o().number};var y=b},5798:function(e,t,r){"use strict";r.d(t,{EG:function(){return a},RD:function(){return c}});var n=r(2225);var i=({htmlId:e,powa:t})=>{try{const r=(()=>{const e=t.getElement().getAttribute("data-playthrough");return!(!0!==e&&"true"!==e)})(),n=t.getVideoData()?._id;r&&window.powas[e].powa.on("start",e=>{const{videoData:t={}}=e,{headlines:r={},subheadlines:i={},description:o={}}=t,a=r?.basic||"",s=i?.basic||o?.basic||"";if(e.videoStarts>1&&n){const e=document.querySelector(`[data-video-asset="${n}"] .figure-caption`);e&&(e.style.minHeight="45px");const t=document.querySelector(`[data-video-asset="${n}"] .caption-title`),r=document.querySelector(`[data-video-asset="${n}"] .caption-text`);t&&(t.innerText=a),r&&(r.innerText=s)}})}catch(e){console.error("playthrough video data update error:",e)}},o=r(2909);var a=(e,t,r="default")=>{window.addEventListener("powaReady",a=>{const{id:s,powa:l}=a.detail;s===e&&(i({htmlId:e,powa:l}),window.PoWaSettings?.advertising&&(window.PoWaSettings.advertising.adTag=({powa:e,videoData:r})=>(0,o.P)({arcSite:t,player:e,videoData:r})),(0,n.M)(a,void 0,t),"apps"===r&&document.addEventListener("gdm-webview-article-exit-viewport",()=>{try{const{playing:e=!1}=l?.getStatus()||{};e&&l.pause()}catch(e){console.error(`Error with pausing powa video id: ${s} `,e)}}))})},s=r(4676);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=()=>{(0,s.Bd)()&&(window.PoWaSettings=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},window?.PoWaSettings||{}),window.PoWaSettings.subtitles=window.PoWaSettings?.subtitles?window.PoWaSettings.subtitles:{bump:()=>".powa-sub {bottom: 25px}",native:!1,subtitleStyle:({background:e,color:t,"font-family":r,"font-size":n,"text-shadow":i})=>`\n              .powa-sub { \n                  position: absolute;\n                  bottom: 0;\n                  width: 100%;\n                  display: flex;\n                  flex-direction: column;\n                  align-items: center;\n                  pointer-events: none;\n                  transition: all 0.2s ease-out;\n                  line-height: 1.2em;\n              }\n              .powa-sub-torpedo {\n                  background: ${e||"rgba(0, 0, 0, 1)"};\n                  color: ${t||"rgb(255, 255, 255)"};\n                  font-family: ${r||"sans-serif"};\n                  font-size: ${n||"inherit"};\n                  text-shadow: ${i||"none"};\n                  border-radius: 3px;\n                  padding: 3px;\n                  margin: 5px;\n                  text-align: center; \n              } `})}},8940:function(e,t,r){"use strict";r.d(t,{HZ:function(){return ae.A},VI:function(){return n},dW:function(){return Ke},yt:function(){return ye},be:function(){return ve.A},c9:function(){return we.A},$j:function(){return xe.A},_V:function(){return y.Ay},N_:function(){return Me.A},ld:function(){return Oe},go:function(){return Qe},mO:function(){return v.A},xP:function(){return Se},Xe:function(){return Ae.A},zc:function(){return Ne},Qz:function(){return et.Qz}});var n={};r.r(n),r.d(n,{Zh:function(){return V},Cv:function(){return X},Y0:function(){return d},rZ:function(){return f},cG:function(){return m},Y9:function(){return b},Bp:function(){return x},dk:function(){return q},B8:function(){return k},dP:function(){return $},E0:function(){return Y},qk:function(){return te},XI:function(){return ne},EY:function(){return oe}});var i=r(809),o=r.n(i),a=r(9894),s=r.n(a),l=r(3287),u=r(5349);const c=({contentElements:e,copyrightField:t})=>t&&!(e=>e.filter(({type:e})=>"text"===e).slice(-3).some(({content:e})=>/(?:copyright|©)\s{1,2}\d{4}?/i.test(e)))(e)?(0,u.jsx)("p",{className:(0,l.A)(["copyright |"]),dangerouslySetInnerHTML:{__html:`<i>${t}</i>`}}):null;c.propTypes={contentElements:s().array,copyrightField:s().string,
2sourceSystem:s().string};var d=c;const h=({children:e,className:t,correctionType:r="correction"})=>(0,u.jsxs)("p",{className:(0,l.A)(["correction |",t]),children:[(0,u.jsx)("span",{className:(0,l.A)(["text-uppercase","fw-bold"]),children:`${r}: `}),e]});h.propTypes={children:s().node.isRequired,className:s().string,correctionType:s().string};var f=h;const p=({className:e=(0,l.A)(["border-bottom","mx-auto","w-75","my-4"])})=>(0,u.jsx)("div",{className:(0,l.A)(["divider |",e])});p.propTypes={className:s().string};var m=p;const g=({level:e=3,content:t="",className:r=""})=>{const n=`h${e}`;return(0,u.jsx)(n,{className:(0,l.A)(["header |",r]),dangerouslySetInnerHTML:{__html:t}})};g.propTypes={className:s().string,content:s().string,level:s().oneOf([1,2,3,4,5,6])};var b=g,y=r(3189),v=r(9807);const w=({className:e="",element:t={},isAmp:r=!1,isNested:n=!1})=>{const{description:i,image:o,content:a,url:s}=t,{caption:c,credits:d,subtitle:h,vanity_credits:f}=o||{};if(!s||!a)return null;const p=(0,l.A)(["interstitial-link",e,{card:n,"bg-transparent":n,"border-0":!n},"mb-3"]),m=(0,l.A)([i?.content?"mb-1":"mb-0","fw-bold"]);return(0,u.jsx)("div",{className:p,children:(0,u.jsxs)("div",{className:(0,l.A)([{"card-body":n},{row:n},"p-2"]),children:[(0,u.jsxs)("div",{className:(0,l.A)([{col:n},"align-self-center"]),children:[(0,u.jsx)("h6",{className:m,children:(0,u.jsx)("a",{className:(0,l.A)([{"text-reset":n}]),href:s,children:a})}),i?.content&&(0,u.jsx)("p",{className:(0,l.A)(["mb-0"]),children:i.content})]}),o&&(0,u.jsx)(v.A,{caption:c,containerClasses:(0,l.A)(["media-item-image","mb-0","col-4","align-self-center"]),credits:d,showCaption:!1,showCredits:!1,showTitle:!1,title:h,vanityCredits:f,children:(0,u.jsx)(y.Ay,{ANSImage:o,aspectRatio:"16:9",isAmp:r,imageClasses:(0,l.A)(["img-fluid"]),layout:"responsive",resizedOptions:{smart:!0},responsiveImages:[400,800,1600]})})]})})};w.propTypes={className:s().string,element:s().object,isAmp:s().bool,isNested:s().bool};var x=w;function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j={unordered:"ul",ordered:"ol",ul:"ul",ol:"ol"},S=e=>"list"===e?.type,A=e=>j[e]||"ul",P=({listType:e="ul",className:t="",indent:r=0,items:n=[]})=>{if(!Array.isArray(n)||0===n.length)return null;const i=A(e),o=((e=0,t)=>{if("ol"!==t)return{};const r=["1","a","i"];return{type:r[(e%r.length+r.length)%r.length]}})(r,i);return(0,u.jsx)(i,_(_({className:(0,l.A)(["list |",t])},o),{},{children:n.map((e,t)=>{const i=n[t+1];return S(e)&&n[t-1]&&!S(n[t-1])?null:S(e)?(0,u.jsx)(P,{listType:A(e.list_type),indent:e?.additional_properties?.indent??r,items:e.items},`list-${t}-${e._id||t}`):((e,t,r,n=0)=>{const{_id:i,content:o}=e,a=S(r);return(0,u.jsxs)("li",{children:[(0,u.jsx)("span",{dangerouslySetInnerHTML:{__html:o}}),a&&(0,u.jsx)(P,{listType:A(r.list_type),indent:(r?.additional_properties?.indent??n)+1,items:r.items},`sublist-${r._id||i}`)]},`list-item-${t}-${i}`)})(e,t,i,r)})}))};P.propTypes={listType:s().oneOf(["ordered","ol","unordered","ul"]),className:s().string,indent:s().number,items:s().arrayOf(s().shape({content:s().string,_id:s().string,type:s().string}))};var k=P,T=r(1407),E=r(8731);function C(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function D(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?C(Object(r),!0).forEach(function(t){N(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function N(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const I=({children:e,dividerProps:t={}})=>{const r=o().Children.toArray(e).filter(Boolean);return 0===r.length?null:(0,u.jsx)("div",{className:(0,l.A)(["card-deck","mx-n2","mb-n3"]),children:r.map((e,r)=>(0,u.jsxs)(i.Fragment,{children:[e,(0,u.jsx)(T.A,D({count:r+1},t))]},e?.key||`w-divider-item-${r}`))})};I.propTypes={children:s().node,dividerProps:s().object};const R=({isAmp:e,items:t=[]})=>(0,u.jsx)(I,{dividerProps:{mobile:1,tablet:2,desktop:2,widescreen:2},children:t.map((t,r)=>(0,u.jsx)(x,{className:(0,l.A)([E.rT.interstitialLink,"mb-3","mx-2"]),element:t,isAmp:e,isNested:!0},`default-link-${r}`))});R.propTypes={isAmp:s().bool,items:s().array};const L=({className:e,columns:t=2,items:r=[]})=>(0,u.jsx)(I,{dividerProps:{mobile:1,tablet:t,desktop:t,widescreen:t},children:r.map((t,r)=>(0,u.jsx)("div",{className:(0,l.A)(["button-link |","card","bg-transparent","border-0","mx-2","mb-3"]),children:(0,u.jsx)("a",{className:(0,l.A)(["w-100","mb-0",e]),href:t.url,role:"button",children:t.content})},`button-link-${r}`))});L.propTypes={className:s().string,columns:s().number,items:s().array};const B=({className:e="",items:t=[],subtype:r="default",title:n,isAmp:i=!1})=>{if(!t.length)return null;const[o,a,s]=((e="")=>{if(!e.includes("/"))return["default","",2];const[t,r,n]=e.split("/"),i=parseInt(n,10);return[t,r,Number.isNaN(i)?2:i]})(r),c=a.includes("_")?a.split("_"):a;return(0,u.jsx)("div",{className:(0,l.A)(["link-list |",e,"p-3","my-3","border-top","border-bottom","border-light"]),children:(0,u.jsxs)("div",{className:(0,l.A)(["px-0","px-sm-3","py-md-3","px-md-5"]),children:[n&&(0,u.jsx)("h5",{className:(0,l.A)(["mb-3","fw-bold"]),children:n}),"button"===o?(0,u.jsx)(L,{className:(0,l.A)(c),columns:s,items:t}):(0,u.jsx)(R,{items:t,isAmp:i})]})})};B.propTypes={className:s().string,items:s().array,subtype:s().string,title:s().string,isAmp:s().bool};var q=B,U=r(4321),z=r(3402);const F=({className:e="",rawOembed:t,subtype:r=""})=>{const{siteProperties:n={}}=(0,U.useAppContext)(),{disabledOembeds:i={}}=n;if(Boolean(i[r]))return null;const o=t?.html||"",a=(0,l.A)(["oembed",e,`oembed-${r}`,"d-flex","justify-content-center",{"ratio ratio-16x9":"youtube"===r,"mb-3":"twitter"!==r}]);return(0,u.jsx)(z.A,{markup:o,children:(0,u.jsx)("div",{"data-oembed-type":r,className:a,dangerouslySetInnerHTML:{__html:o}})})};F.propTypes={className:s().string,rawOembed:s().shape({html:s().string}),subtype:s().string};var $=F;const V=e=>{const{subtype:t,rawOembed:r}=e,{siteProperties:n={}}=(0,U.useAppContext)(),{disabledOembeds:i={}}=n;if(Object.entries(i).some(([e,r])=>e===t&&r))return null;const{width:o,height:a,url:s}=r,c=e=>{let t=null;try{if(t=/data-href\s*=\s*"([^"]+)"/.exec(e.html)[1],t)return t}catch(e){return t}return t};switch(t){case"facebook":{const e=/height="([0-9]+)"/,t=/src\s*=\s*"([^"]+)"/,n=/width="([0-9]+)"/.exec(r.html),i=e.exec(r.html),l=t.exec(r.html),c=o||n&&n[1]||500,d=a||i&&i[1]||200,h=s||l&&l[1];return h?(0,u.jsx)("amp-facebook",{width:c,height:d,layout:"responsive","data-href":h}):null}case"facebook-post":return(0,u.jsx)("div",{className:(0,l.A)(["mx-n2","mx-sm-auto"]),children:(0,u.jsx)("amp-facebook",{"data-align-center":!1,width:290,height:310,layout:"responsive","data-href":r?.url||r?._id||c(r)})});case"facebook-video":return(0,u.jsx)("div",{children:(0,u.jsx)("amp-facebook",{width:r.width,height:"310",layout:"responsive","data-embed-as":"video","data-href":r?.url||r?._id||c(r)})});case"twitter":{const e=/(https?:\/\/(www\.)?)?twitter\.com\/(\w*())\/?status?\/([0-9]*)?\/?/,t=r.html.match(e)[5];return(0,u.jsx)("amp-twitter",{width:"375",height:"472","data-tweetid":t,layout:"responsive"})}case"youtube":{const e=/embed\/([\w+\-+]+)["?]/,t=r?.html?.match(e)[1];
2return(0,u.jsx)("amp-youtube",{"data-videoid":t,layout:"responsive",width:"480",height:"270"})}case"instagram":{const e=/(https?:\/\/(www\.)?)?instagram\.com\/p\/(\w*([-'])?(\w*)?)/,t=r?.html?.match(e);return t&&t[3]?(0,u.jsx)("amp-instagram",{"data-captioned":"true","data-shortcode":t[3],height:"400",layout:"responsive",width:"370"}):null}default:return null}};V.propTypes={rawOembed:s().any,subtype:s().string};const H=["pullquoteClasses"];function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function G(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach(function(t){K(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function K(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Z={ansData:s().shape({_id:s().string,citation:s().shape({content:s().string}),content_elements:s().arrayOf(s().shape({content:s().string.isRequired})).isRequired}).isRequired,children:s().func,pullquoteClasses:s().string,blockquoteClasses:s().string,citationClasses:s().string},X=e=>{const{ansData:t,blockquoteClasses:r="fst-italic bg-light p-4 border-start",children:n,citationClasses:i=""}=e,{_id:o,citation:a={content:""},content_elements:s=[]}=t,c=s.filter(e=>"text"===e.type).map((e,t)=>{const{_id:r,type:n,content:i}=e;return(0,u.jsx)("p",{className:(0,l.A)(["mb-2"]),dangerouslySetInnerHTML:{__html:i}},`quote-${n}-${r||t}`)}),d=a.content&&(0,u.jsx)("footer",{className:(0,l.A)(["blockquote-footer","mt-0"]),children:(0,u.jsx)("cite",{className:i,children:a.content})},`citation-${o}`),h=n?n({quote:c,citation:d}):[c,d];return(0,u.jsx)("blockquote",{className:(0,l.A)(["blockquote |",r]),children:h})};X.propTypes=Z;const Y=e=>{let{pullquoteClasses:t=""}=e,r=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,H);return(0,u.jsx)("aside",{className:(0,l.A)(["pullquote |",t]),children:(0,u.jsx)(X,G({},r))})};Y.propTypes=Z;var J=r(9626),Q=r.n(J);const ee=({content:e,className:t="",id:r})=>(0,u.jsx)(Q(),{id:r,children:(0,u.jsx)("div",{className:t,children:(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:e}})})});ee.propTypes={content:s().string,className:s().string,id:s().string};var te=ee;const re=e=>{const{className:t="",header:r=[],rows:n=[]}=e,i=r&&r.length>0&&(0,u.jsx)("thead",{children:(0,u.jsx)("tr",{children:r.map(e=>(0,u.jsx)("th",{dangerouslySetInnerHTML:{__html:e.content}},`table-header-${e?._id}`))})}),o=n&&(0,u.jsx)("tbody",{children:n.map(e=>(0,u.jsx)("tr",{children:e.map(e=>(0,u.jsx)("td",{dangerouslySetInnerHTML:{__html:e.content}},`table-column-${e?._id}`))},`table-row-${e[0]?._id}`))});return(0,u.jsxs)("table",{className:(0,l.A)(["table |",t]),children:[i,o]})};re.propTypes={className:s().string,header:s().arrayOf(s().shape({_id:s().string,content:s().string,type:s().string})),rows:s().arrayOf(s().arrayOf(s().shape({_id:s().string,content:s().string,type:s().string}))).isRequired};var ne=re;const ie=({className:e="",content:t})=>(0,u.jsx)("p",{className:(0,l.A)(["text |",e]),dangerouslySetInnerHTML:{__html:t}});ie.propTypes={block_properties:s().object,className:s().string,content:s().string.isRequired};var oe=ie,ae=r(6542),se=(r(2112),r(5653),r(6780)),le=r.n(se),ue=r(2909),ce=r(2028),de=r(2225);function he(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function fe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?he(Object(r),!0).forEach(function(t){pe(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):he(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function pe(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function me(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ge(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const be=e=>{const{id:t,original_video:r={}}=e,{arcSite:n,isAdmin:o,globalContent:a={},outputType:s="default",siteProperties:c}=(0,U.useFusionContext)(),{captionsUri:d,clickabilityId:h=t,hlsUri:f,mp4Uri:p,thumbnailUri:m=""}=(e=>{const t=e?.clickability_id??null;return fe(fe({captionsUri:(e=>{const t=e.map(e=>{const[t,r]=e.values;return"VTT"===t?r:null}).filter(e=>null!==e);return Array.isArray(t)&&t.length>0?t[0]:null})(e?.json?.fields?.captions?.complexValues?.rows??[])},t?{clickabilityId:t}:null),{},{mp4Uri:e?.json?.fields?.videoURL?.value,hlsUri:e?.json?.fields?.hlsURL?.value,thumbnailUri:e?.json?.fields?.thumbnail?.value})})(r),g=!0,b=!1,y=`powa-${h}`,v=(0,i.useRef)(),{dfpId:w}=c,x=`${w}/${c?.dfpSiteShorthand??n}/${"apps"===s.toLowerCase()?"app-news":"web"}`,M=a?.websites?.[n]?.website_section?.additional_properties?.original?._admin?.dfp_id??"",_=`${x}${M}`,O=((e,t,r)=>{const n=e?.json?.fields?.duration?.value;return{additional_properties:{advertising:{commercialAdNode:r}},canonical_website:(e?.station??(t||"")).toLowerCase(),duration:n?1e3*n:null,headlines:{basic:e?.title??""},publish_date:e?.created_at??null,video_type:"clip"}})(r,n,M);return(0,i.useEffect)(()=>{if(!v.current||!window||!window.PoWa)return()=>null;const e=new window.PoWa({id:`#${y}`,ads:g,autoplay:!o&&b,debug:o,error:console.error,getAdTag:()=>{const e=window?.powas?.[y]?.powa;return(0,ue.P)({arcSite:n,player:e,backupAdPath:_})},promo:{image:`${m}`},ready:e=>{try{(0,de.M)(e,{player:e.powa,powaID:y,isLivePowaPlayer:!0,getElementOverride:e.powa.getElement&&e.powa.getElement instanceof Function?null:()=>window.document.getElementById(y),dataOverride:()=>function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach(function(t){ge(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},O)},n)}catch(e){console.log("trackGoldfishError"),console.error(e)}},stream:f||p,track:d});return()=>(e&&e.destroy&&e.destroy(),null)}),r&&(f||p)&&h?(0,u.jsx)("div",{className:(0,l.A)(["clickability-video |","video","pb-3","w-100"]),children:(0,u.jsx)("div",{className:(0,l.A)(["position-relative"]),children:(0,u.jsxs)("div",{className:(0,l.A)(["powa-player |"]),children:[(0,u.jsx)("script",{crossOrigin:"true",src:`//d3agakyjgjv5i8.cloudfront.net/${ce.tU}/powa.js?org=gray`}),(0,u.jsx)("div",{ref:v,id:y,className:(0,l.A)(["absolute","powa"]),"data-ads":"true","data-api":`${ce.tU}`,"data-autoplay":b,"data-env":`${ce.tU}
2`,"data-ping-rate":"60","data-preroll-ad-path":`${_}`,style:{paddingBottom:"56.25%"}})]})})}):null};be.propTypes={id:le().string,original_video:le().object};var ye=be,ve=r(9262),we=r(716),xe=(r(3379),r(6142));r(5438);a.number,a.number;r(3056);var Me=r(9726);const _e=({isLoading:e,children:t})=>(0,u.jsxs)("div",{className:"loading-panel position-relative",children:[e&&(0,u.jsx)("div",{className:"loader-container position-absolute top-0 start-0 w-100 h-100 d-flex justify-content-center align-items-center",children:(0,u.jsx)("div",{className:"spinner spinner-border",role:"status",children:(0,u.jsx)("span",{className:"visually-hidden",children:"Loading..."})})}),t]});_e.propTypes={isLoading:s().bool.isRequired,children:s().node.isRequired};var Oe=_e;r(5106),r(4745);const je=({children:e,fallback:t=null,wrapperTag:r="div",className:n="",conditionalClassName:o=""})=>{const a=(0,i.useRef)(null),[s,c]=(0,i.useState)(!0),d=(0,i.useCallback)(e=>{if(e.nodeType!==Node.ELEMENT_NODE)return!0;return!(e.id||"").match(/^fusion-(static-)?(enter|exit)/)&&!(e.hasAttribute("data-fusion-lazy-id")&&!e.textContent.trim()&&0===e.children.length)},[]);(0,i.useEffect)(()=>{if(!a.current)return;const e=Array.from(a.current.childNodes).filter(d);c(e.length>0)},[e,d]);const h=(0,i.useMemo)(()=>(0,l.A)([n,{[o]:s,"fallback-component":!s}]),[n,o,s]);return(0,u.jsx)(r,{ref:a,className:h,children:s?e:t})};je.propTypes={children:s().node,fallback:s().node,wrapperTag:s().string,className:s().string,conditionalClassName:s().string};var Se=je,Ae=r(8422),Pe=r(598);var ke=({arcSite:e,customAdSlot:t="/news",outputType:r,siteProperties:n={}})=>{const{dfpId:i,dfpSiteShorthand:o}=n;if(!i||!o&&!e)return null;const a=`${i}/${o||e}/${"apps"===r?.toLowerCase()?"app-news":"web"}${t}`,s=new URL("https://pubads.g.doubleclick.net/gampad/ads");return s.searchParams.set("sz","640x480"),s.searchParams.set("iu",a),s.searchParams.set("env","vp"),s.searchParams.set("output","xml_vast4"),s.searchParams.set("vpos","preroll"),s.searchParams.set("gdfp_req",1),s.searchParams.set("unviewed_position_start",1),s.searchParams.set("ad_rule",0),s.searchParams.set("plcmt",1),s.searchParams.set("vpa","auto"),s.searchParams.set("vpmute",0),s.searchParams.set("correlator",Date.now()),s.toString()};var Te=({contextPath:e="/pf",pagebuilderURL:t,callback:r})=>{if(!document.getElementById("gray-custom-powa-settings")){const r=document.createElement("script");r.id="gray-custom-powa-settings",r.src=t(`${e}/resources/dist/__global/js/powa/custom-settings.js`),document.head.appendChild(r)}if(window?.PoWa)r();else{const e=document.createElement("script");e.src="//d3agakyjgjv5i8.cloudfront.net/prod/powa.js?org=gray",e.crossOrigin="anonymous",e.onload=r,document.head.appendChild(e)}},Ee=r(3324),Ce=r(166);const De=({customAdSlot:e,onAdComplete:t})=>{const{arcSite:r,contextPath:n,outputType:o,pagebuilderURL:a,siteProperties:s}=(0,U.useAppContext)(),c="true"===(0,Ee.E)("force-debug"),d=(0,i.useRef)(null),[h]=(0,i.useState)(()=>`powa-ad_${(0,Pe.A)()}`),[f,p]=(0,i.useState)(!1),m=()=>{p(!1),setTimeout(()=>t?.(),300)};(0,i.useEffect)(()=>(Te({contextPath:n,pagebuilderURL:a,callback:()=>{if(!window?.PoWa)return;const t=ke({arcSite:r,customAdSlot:e,outputType:o,siteProperties:s});d.current=new window.PoWa({id:`#${h}`,stream:"https://d1l66zlxaqpl1u.cloudfront.net/wp-gray/20260224/699dfb40861a407987e89b3e/t_d1911c17b630409cb964feea27cbc1ef_name_placeholder_with_audio/file_1280x720-2000-v3_1.mp4",ready:({powa:e})=>{e.on(window.PoWa.EVENTS.AD_START,()=>p(!0)),e.on(window.PoWa.EVENTS.AD_END,m),e.on(window.PoWa.EVENTS.AD_ERROR,m),e.on(window.PoWa.EVENTS.AD_SETUP_ERROR,m)},error:console.error,autoplay:!0,debug:c,muted:!0,ads:!0,getAdTag:()=>t})}}),()=>{d.current&&(d.current.destroy(),d.current=null)}),[]);const{overlayRef:g,contentRef:b}=(0,Ce.A)(f);return(0,u.jsx)("div",{ref:g,className:(0,l.A)(["standalone-preroll-ad","h-100","w-100","position-absolute","top-0",{visible:f}]),children:(0,u.jsx)("div",{ref:b,className:(0,l.A)(["ad-container","w-100"]),children:(0,u.jsx)("div",{id:h})})})};De.propTypes={customAdSlot:s().string,onAdComplete:s().func};var Ne=o().memo(De);r(7168);const Ie=({children:e,classes:t})=>(0,u.jsx)("div",{className:(0,l.A)(["modal-body",t]),children:e});Ie.propTypes={children:le().node,classes:le().string};var Re=Ie,Le=r(5363);const Be=({children:e,classes:t,clickThroughURL:r,headingLevel:n,sponsorText:i,title:a,onDismiss:s})=>{const c=n||"h3",d=!(!a&&!i);return(0,u.jsxs)("div",{className:(0,l.A)(["modal-header",t]),children:[o().Children.count(e)>0?e:d&&(0,u.jsxs)(c,{className:(0,l.A)(["fw-bold","d-flex","flex-column","w-100","mb-0"]),children:[a&&(0,u.jsx)("div",{dangerouslySetInnerHTML:{__html:(0,Le.D4)(a)}}),i&&(0,u.jsx)("div",{className:(0,l.A)(["sponsor-name","text-muted","text-end","small","fst-italic"]),dangerouslySetInnerHTML:{__html:(0,Le.D4)(i)}})]}),(0,u.jsxs)("div",{className:(0,l.A)(["modal-actions","align-items-center"]),children:[r&&(0,u.jsx)("a",{"aria-label":"Click to Open In New Window",href:r,role:"button",rel:"noopener noreferrer",target:"_blank",children:(0,u.jsx)("i",{className:"fa-solid fa-arrow-up-right-from-square"})}),(0,u.jsx)("button",{type:"button",className:(0,l.A)(["btn-close"]),"aria-label":"Close",onClick:s})]})]})};Be.propTypes={children:le().node,classes:le().string,clickThroughURL:le().string,headingLevel:le().oneOf(["h1","h2","h3","h4","h5","h6"]),sponsorText:le().string,title:le().string,onDismiss:le().func.isRequired};var qe=Be,Ue=r(5267);const ze=({id:e,adType:t="google-ad-manager",adPath:r="",staticImgURL:n,staticClickThroughURL:o,title:a="Sponsor"})=>{const s=`base-modal-ad-${e}`,c="static"!==t||n?t:"google-ad-manager";return(0,i.useEffect)(()=>()=>"google-ad-manager"===c&&(0,Ue.destroyAdSlot)(s),[s]),"static"===c?(0,u.jsx)("div",{className:"sponsor-image | d-flex flex-column w-100 mt-3",children:(0,u.jsx)("div",{className:(0,l.A)(["sponsor-image-container","align-self-center"]),children:(0,u.jsx)(ve.A,{classes:"text-reset align-self-center",component:Me.A,condition:!!o,href:o,openInNewWindow:!0,children:(0,u.jsx)("img",{alt:`${a} Logo`,className:(0,l.A)(["img-fluid","mx-auto"]),src:n,border:"0"})})})}):(0,u.jsx)(Ue.default,{adContainerIdOverride:s,advertisementText:null,breakpointsOverride:[[Ue.adBreakpointSizes.desktop,577],[Ue.adBreakpointSizes.desktop,577],[Ue.adBreakpointSizes.desktop,577],[0,0]],customFields:{arcAdsDisableBottomMargin:!0,arcAdsDisableTopMargin:!1,arcAdsSlot:r||"",arcAdsType:"Leaderboard",arcAdsDisableLazyLoad:!1,arcAdsDisclaimerPosition:"hidden",arcAdsDisplay:"all",arcAdsExcludeContentPath:!1,arcAdsIsSticky:!1,arcAdsDisableRefresh:!1},isAmp:!1,adClassNamesInternal:"mx-auto justify-content-center w-100 overflow-hidden"},s)};ze.propTypes={id:le().string,adType:le().oneOf(["google-ad-manager","static"]),adPath:le
2().string,staticImgURL:le().string,staticClickThroughURL:le().string,title:le().string};var Fe=ze;var $e=e=>e?"string"==typeof e?{title:e}:e:null;function Ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function He(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(r),!0).forEach(function(t){We(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ve(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function We(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Ge=({centered:e=!0,children:t,header:r,id:n,isVisible:a=!1,onDismiss:s,size:c="lg",sponsorAd:d})=>{if((0,i.useEffect)(()=>"undefined"==typeof document?()=>{}:(a?document.body.classList.add("body-no-scroll"):document.body.classList.remove("body-no-scroll"),()=>document.body.classList.remove("body-no-scroll")),[a]),!a)return null;const h=o().Children.toArray(t),f=h.find(e=>e?.type===Ge.Header),p=h.find(e=>e?.type===Ge.Body),m=f?.props||$e(r),g=p?.props||{children:h.filter(e=>e?.type!==Ge.Header)},b=!1!==d,y=d?.position||"top";return(0,u.jsxs)(i.Fragment,{children:[(0,u.jsx)("div",{className:(0,l.A)(["base-modal modal","fade",{show:a,"d-block":a}]),role:"dialog",onClick:e=>{e.target.classList.contains("modal")&&s()},children:(0,u.jsx)("div",{className:(0,l.A)(["modal-dialog",{"modal-dialog-centered":e,"modal
2-xl":"xl"===c,"modal-lg":"lg"===c,"modal-sm":"sm"===c}]),children:(0,u.jsxs)("div",{className:(0,l.A)(["modal-content"]),children:[(0,u.jsx)(qe,He(He({},m),{},{onDismiss:s})),b&&"top"===y&&(0,u.jsx)(Fe,He({id:n},d)),(0,u.jsx)(Re,He({},g)),b&&"bottom"===y&&(0,u.jsx)(Fe,He({id:n},d))]})})}),(0,u.jsx)("div",{className:(0,l.A)(["modal-backdrop","fade",{show:a}]),onClick:s})]})};Ge.Header=qe,Ge.Body=Re,Ge.propTypes={centered:le().bool,children:le().node,header:le().oneOfType([le().string,le().shape({classes:le().string,clickThroughURL:le().string,title:le().string,headingLevel:le().oneOf(["h1","h2","h3","h4","h5","h6"]),sponsorText:le().string})]),id:le().string,isVisible:le().bool,onDismiss:le().func.isRequired,size:le().oneOf(["sm","md","lg","xl"]),sponsorAd:le().oneOfType([le().bool,le().shape({adType:le().oneOf(["google-ad-manager","static"]),adPath:le().string,position:le().oneOf(["top","bottom"]),staticImgURL:le().string,staticClickThroughURL:le().string,title:le().string})])};var Ke=Ge;function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Xe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach(function(t){Ye(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Ye(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const Je=({buttonText:e="Get Access",children:t,heading:r="Sign in to continue",message:n="Sign in to your account or create a free account to access this content",onLoginClick:o,requiresLogin:a})=>{const[s,c]=(0,i.useState)(!!a),[d,h]=(0,i.useState)(!1),f=(0,i.useId)(),p=(0,i.useId)(),{overlayRef:m,contentRef:g}=(0,Ce.A)(s&&d);return(0,i.useEffect)(()=>{if(a){c(!0);const e=setTimeout(()=>h(!0),10);return()=>clearTimeout(e)}if(s){h(!1);const e=setTimeout(()=>c(!1),300);return()=>clearTimeout(e)}},[a]),(0,u.jsxs)("div",{className:(0,l.A)(["login-prompt-panel","position-relative"]),children:[(0,u.jsx)("div",Xe(Xe({},d?{"aria-hidden":!0,inert:!0}:{}),{},{children:t})),s&&(0,u.jsx)("div",{ref:m,className:(0,l.A)(["overlay","position-absolute","top-0 start-0 bottom-0 end-0",{visible:d}]),role:"dialog","aria-modal":"true","aria-labelledby":f,"aria-describedby":p,children:(0,u.jsx)("div",{ref:g,className:(0,l.A)(["overlay-panel",{visible:d},"card","mx-auto"]),children:(0,u.jsxs)("div",{className:(0,l.A)(["card-body","text-center"]),children:[(0,u.jsx)("h2",{id:f,children:r}),(0,u.jsx)("p",{id:p,className:"mb-4",children:n}),(0,u.jsx)("button",{className:(0,l.A)(["btn","btn-primary"]),onClick:o,children:e})]})})})]})};Je.propTypes={buttonText:s().string,children:s().node,heading:s().string,message:s().string,onLoginClick:s().func.isRequired,requiresLogin:s().bool};var Qe=Je,et=(r(9837),r(4734))},9715:function(e,t,r){"use strict";r.d(t,{z:function(){return c}});r(166);var n=r(809),i=r(4321);var o=()=>"opt-in";var a=e=>{const t=()=>e();return window.addEventListener("OneTrustGroupsUpdated",t,{once:!0}),()=>window.removeEventListener("OneTrustGroupsUpdated",t)};var s=(e,t)=>{window.OneTrust?.IsAlertBoxClosed()?e():t.push(a(e))};var l=(e,t)=>
2{"opt-in"!==o()?s(e,t):e()};var u=e=>{const t=()=>e();return window.addEventListener("OneTrustCmpLoadedAndReady",t,{once:!0}),()=>window.removeEventListener("OneTrustCmpLoadedAndReady",t)};var c=e=>{const{siteProperties:t}=(0,i.useFusionContext)(),r=t?.onetrust?._id,o=(0,n.useRef)(e);o.current=e,(0,n.useEffect)(()=>{const e=[],t=()=>o.current();return r?window.OneTrust?l(t,e):e.push(u(()=>l(t,e))):t(),()=>e.forEach(e=>e())},[r])}},166:function(e,t,r){"use strict";var n=r(809);t.A=e=>{const t=(0,n.useRef)(null),r=(0,n.useRef)(null),i=(0,n.useRef)(!1),o=(0,n.useRef)(0),a=(0,n.useCallback)(()=>{i.current=!1;const e=t.current,n=r.current;if(!e||!n)return;const a=e.getBoundingClientRect(),s=Math.max(0,a.top),l=Math.min(window.innerHeight,a.bottom)-s,u=n.offsetHeight,c=a.height-u,d=s-a.top+Math.max(0,l-u)/2;d>c||Math.abs(d-o.current)<1||(o.current=d,n.style.position="relative",n.style.top=`${Math.round(d)}px`)},[]);return(0,n.useEffect)(()=>{if(!e)return void(r.current&&(r.current.style.position="",r.current.style.top=""));a();const t=()=>{i.current||(i.current=!0,requestAnimationFrame(a))};return window.addEventListener("scroll",t,{passive:!0}),window.addEventListener("resize",t,{passive:!0}),()=>{window.removeEventListener("scroll",t),window.removeEventListener("resize",t)}},[e,a]),{overlayRef:t,contentRef:r}}},5771:function(e,t,r){"use strict";r.d(t,{HZ:function(){return n.HZ},VI:function(){return n.VI},dW:function(){return n.dW},yt:function(){return n.yt},be:function(){return n.be},gf:function(){return i.A},$j:function(){return n.$j},_V:function(){return n._V},N_:function(){return n.N_},ld:function(){return n.ld},go:function(){return n.go},mO:function(){return n.mO},xP:function(){return n.xP},Xe:function(){return n.Xe},zc:function(){return n.zc},Qz:function(){return n.Qz}});var n=r(8940),i=(r(9715),r(1384),r(7029));r(8078),r(1369)},5267:function(e,t,r){"use strict";r.r(t),r.d(t,{adBreakpointSizes:function(){return m},adChildrenPositions:function(){return y},adDisplayOptions:function(){return v},adTypes:function(){return k},arcAdsCustomFields:function(){return z},arcAdsProps:function(){return F},default:function(){return Y},defaultAdText:function(){return b},defaultAdType:function(){return P},destroyAdSlot:function(){return $},parseAdCustomTags:function(){return V.f},wallpaperAd:function(){return S},wallpaperCompanionLeaderboardAd:function(){return A}});var n=r(809),i=r(3287),o=r(5438),a=r(9894),s=r.n(a),l=r(598),u=r(4321),c=r(2112),d=r(7508),h=r.n(d);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m={desktop:1072,mobile:319,tablet:768},g=(0,i.A)(["mx-auto"]),b={className:(0,i.A)(["text-body","text-uppercase","mx-3","small"]),text:"Advertisement"},y={defaultValue:"top",values:["top","bottom","hidden"]},v={defaultValue:"all",values:["all","desktop","mobile","tablet"]},w={adTypeClassification:"cube",breakpoints:[[m.desktop,0],[m.tablet,0],[m.mobile,0]],dimensions:[[300,250],[300,250],[300,250]],disableDisclaimer:!1,disableLazyLoad:!1,disableMarginBottom:!1,disableMarginTop:!1,display:"all",isDismissible:!1,lazyLoad:!0,name:"Cube",placeholderDimensions:{height:[250,250],width:[300,300]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)([g,"ad-cube"]),classNamesInternal:(0,i.A)(["py-2"])},x={adTypeClassification:"cube",breakpoints:[[m.desktop,0],[m.tablet,0],[m.mobile,0]],dimensions:[[[300,600],[300,250]],[300,250],[300,250]],disableDisclaimer:!1,disableLazyLoad:!1,disableMarginBottom:!1,disableMarginTop:!1,display:"all",isDismissible:!1,lazyLoad:!0,name:"Flex Cube",placeholderDimensions:{height:[250,600],width:[300,300]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)(["ad-flex-cube"]),classNamesInternal:(0,i.A)(["py-2"])},M={adTypeClassification:"flex-leaderboard",breakpoints:[[m.desktop,0],[m.tablet,0],[730,0],[m.mobile,0]],dimensions:[[728,90],[728,90],[[728,90],[320,50]],[320,50]],disableDisclaimer:!1,disableLazyLoad:!1,disableMarginBottom:!1,disableMarginTop:!1,display:"all",name:"Leaderboard",placeholderDimensions:{height:[50,9
20],width:[320,728]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)(["ad-leaderboard"]),classNamesInternal:(0,i.A)(["py-2"])},_={adTypeClassification:"flex-leaderboard",breakpoints:[[m.desktop,0],[m.tablet,0],[m.mobile,0]],dimensions:[[[970,250],[970,90],[728,90]],[728,90],[320,50]],disableDisclaimer:!1,disableLazyLoad:!1,disableMarginBottom:!1,disableMarginTop:!1,display:"all",isDismissible:!1,lazyLoad:!0,name:"Flex Leaderboard",placeholderDimensions:{height:[50,250],width:[320,970]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)(["ad-flex-leaderboard"]),classNamesInternal:(0,i.A)(["py-2"])},O={adTypeClassification:"flex-leaderboard",autoRecycle:{isEnabled:!0,intervalMs:3e4},breakpoints:[[1024,0],[933,0],[m.mobile,0]],dimensions:[[1024,90],[728,90],[320,50]],disableAmpOutput:!0,disableDisclaimer:!0,disableLazyLoad:!0,disableMarginBottom:!0,disableMarginTop:!0,display:"all",isDismissible:!0,lazyLoad:!1,name:"Footer Flex Leaderboard",placeholderDimensions:{height:[50,90],width:[320,1024]},slotName:"",targeting:{position:101},classNamesExternal:(0,i.A)(["ad-flex-leaderboard","ad-footer-flex-leaderboard","ad-fixed-bottom","position-fixed","zindex-higher","w-100"]),classNamesInternal:(0,i.A)(["py-0","my-0"])},j={adTypeClassification:"mma-xl-banner",breakpoints:[[m.desktop,0],[m.tablet,0],[m.mobile,0]],dimensions:[[300,50],[300,50],[300,50]],disableDisclaimer:!1,disableLazyLoad:!1,disableMarginBottom:!1,disableMarginTop:!1,display:"all",name:"Small Leaderboard - (300x50)",placeholderDimensions:{height:[50,50],width:[300,300]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)(["ad-sm-leaderboard","ad-mma-xl-banner"]),classNamesInternal:(0,i.A)(["py-2"])},S={adTypeClassification:"wallpaper",breakpoints:[[1213,0],[0,0]],dimensions:[[1900,1200],[]],disableDisclaimer:!0,disableLazyLoad:!0,disableMarginBottom:!0,disableMarginTop:!0,display:"desktop",isDismissible:!1,lazyLoad:!1,name:"Wallpaper (1900x1200)",placeholderDimensions:{height:[90,1200],width:[300,1900]},slotName:"",targeting:{position:1},classNamesExternal:(0,i.A)(["ad-wallpaper","py-0","overflow-x-hidden","w-100"]),classNamesInternal:(0,i.A)([""])},A={adTypeClassification:"flex-leaderboard",breakpoints:[[m.desktop,0],[m.tablet,0],[m.mobile,0]],dimensions:[[[970,250],[970,90],[728,90]],[728,90],[320,50]],disableDisclaimer:!0,disableLazyLoad:!0,disableMarginBottom:!1,disableMarginTop:!0,display:"all",isDismissible:!1,lazyLoad:!1,name:"Wallpaper Companion Flex Leaderboard",placeholderDimensions:{height:[50,90],width:[320,728]},slotName:"",targeting:{pt:null},classNamesExternal:(0,i.A)(["ad-wallpaper-flex-leaderboard"]),classNamesInternal:(0,i.A)(["pt-3","pb-0","position-relative"])},P=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},w),k=[w,x,M,_,O,j,S],T=e=>{const t=[];return Object.keys(e).forEach(r=>t.push(e[r].name)),t};var E=r(5349);const C=({advertisementText:e})=>{const{siteProperties:t={}}=(0,u.useFusionContext)(),{locale:r}=t,n=h()(r||"en");if(!e)return null;const{className:i,text:o}=e;return(0,E.jsx)("div",{className:i||b.className,children:n.t("ads.arcAds.advertisementText")||o||b.text})};C.propTypes={advertisementText:s().shape({className:s().string,text:s().string})};var D=r(6542);const N=e=>{const{classNamesExternal:t="",classNamesInternal:r=""}=e;return(0,E.jsx)("div",{className:(0,i.A)([t]),children:(0,E.jsx)("div",{className:(0,i.A)(["arc-ad-wrapper |","d-flex","flex-column"]),children:(0,E.jsx)("div",{className:(0,i.A)([r]),children:(0,E.jsx)(D.A,{children:(0,E.jsx)("p",{children:"No DFP Publisher ID has been supplied via site properties."})})})})})};N.propTypes={classNamesInternal:s().string,classNamesExternal:s().string};const I=e=>{const{adInfo:t,classNamesExternal:r="",classNamesInternal:n="",slotName:o}=e,{dimensions:a,name:s,placeholderDimensions:l,targeting:u}
2=t,c=l&&l.height||[250,250],d=l&&l.width||[300,300],h={minWidth:`${d[0]}px`,maxWidth:`${d[1]}px`,minHeight:`${c[0]}px`,maxHeight:`${c[1]}px`,wordBreak:"break-all"},f=(0,i.A)(["small"]),p=(0,i.A)(["text-white","fst-italic","mb-1"]),m=(0,i.A)(["mb-1"]);return(0,E.jsx)("div",{className:(0,i.A)(["arc-ad |",r]),children:(0,E.jsx)("div",{className:(0,i.A)(["arc-ad-wrapper |","d-flex","flex-column"]),children:(0,E.jsx)("div",{className:(0,i.A)([n]),children:(0,E.jsxs)(D.A,{classes:(0,i.A)(["text-white","bg-secondary","w-100","h-100","small"]),styles:h,children:[(0,E.jsxs)("p",{children:["A ",s," ad with slot name",(0,E.jsx)("code",{className:(0,i.A)(["text-reset","d-inline-block","mx-1","mb-0","p-1","fst-italic","bg-dark"]),style:{wordBreak:"break-all"},children:o}),"will render here."]}),(0,E.jsxs)("div",{className:f,children:[(0,E.jsx)("h6",{className:m,children:"Targeting Info:"}),(0,E.jsx)("pre",{className:p,children:JSON.stringify(u)})]}),(0,E.jsxs)("div",{className:f,children:[(0,E.jsx)("h6",{className:m,children:"Dimensions:"}),(0,E.jsx)("pre",{className:p,children:JSON.stringify(a)})]})]})})})})};I.propTypes={adInfo:s().object,classNamesInternal:s().string,classNamesExternal:s().string,slotName:s().string};var R=r(6780),L=r.n(R);function B(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?B(Object(r),!0).forEach(function(t){U(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):B(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function U(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const z=e=>{const t=e&&{group:`${e}`}||null;return{arcAdsSlot:L().string.tag(q(q({defaultValue:"",description:"The Slot Name will be appended after any existing ad path. Manually entered slot names should always begin with `/`."},t),{},{name:"Ad Slot Name"})),arcAdsExcludeContentPath:L().bool.tag(q(q({defaultValue:!1,description:"When checked, DFP path provided by global content will be omitted."},t),{},{name:"Replace Global Content Path"})),arcAdsDisclaimerPosition:L().oneOf(y.values).tag(q(q({defaultValue:y.defaultValue,description:"Where the `--ADVERTISEMENT--` block should appear on the ad."},t),{},{name:"Ad Disclaimer Position"})),arcAdsDisplay:L().oneOf(v.values).tag(q(q({defaultValue:v.defaultValue},t),{},{name:"Ad Display"})),arcAdsIsSticky:L().bool.tag(q(q({defaultValue:!1,description:"When this is checked, the ad will follow the user as they scroll for as long as there is whitespace below the ad."},t),{},{name:"Ad Is Sticky?"})),arcAdsType:L().oneOf(T(k)).tag(q(q({defaultValue:P.name},t),{},{name:"Ad Type"})),arcAdsDisableTopMargin:L().bool.tag(q(q({defaultValue:!1},t),{},{name:"Disable Top Margin?"})),arcAdsDisableBottomMargin:L().bool.tag(q(q({defaultValue:!1},t),{},{name:"Disable Bottom Margin?"})),arcAdsDisableRefresh:L().bool.tag(q(q({defaultValue:!1},t),{},{name:"Disable Ad Refresh?"})),arcAdsDisableLazyLoad:L().bool.tag(q(q({defaultValue:!1,description:"By default all ads are set to lazy load when it comes into view"},t),{},{name:"Force Ad to load with page?"}))}},F={adClassNamesInternal:L().string,adClassNamesExternal:L().string,advertisementText:L().shape({className:L().string,text:L().string}),childrenPosition:L().oneOf(y.values),customFields:L().shape(q({},z())),globalContent:L().object,isAmp:L().bool,pubmatic:L().shape({publisherId:L().string,profileId:L().string,profileIdAmp:L().string}),wrapperClasses:L().string};const $=e=>!(!e||""===e)&&(window&&window.googletag&&window.googletag.pubadsReady&&window.googletag.pubads().getSlots().reverse().some(t=>t.getSlotId().getDomId()===e&&(window.googletag.destroySlots([t]),!0)),!1);var V=r(6808),H=r(4760),W=r(6182);function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function K(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?G(Object(r),!0).forEach(function(t){Z(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function Z(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const X=e=>{const{arcSite:t,id:r,isAdmin:a,globalContent:s,outputType:d="default",siteProperties:h}=(0,u.useFusionContext)(),[f]=(0,n.useState)(`ad-${(0,l.A)(50)}`),{adContainerIdOverride:p,breakpointsOverride:m,customFields:b={},isAmp:y=!1,pubmatic:v={},adClassNamesInternal:w=null,adClassNamesExternal:x=null}=e,M=(0,W.N)(),{amazonTAM:_,dfpId:O,dfpSiteShorthand:j,locale:S="en"}=h,{arcAdsSlot:A,arcAdsType:P,arcAdsDisableBottomMargin:T=!1,arcAdsDisableLazyLoad:C=!1,arcAdsDisableTopMargin:D=!1,arcAdsDisclaimerPosition:R="top",arcAdsDisplay:L,arcAdsExcludeContentPath:B=!1,arcAdsIsSticky:q=!1,arcAdsDisableRefresh:U=!1}=b,z=!y&&q,F=e.globalContent&&e.globalContent||s,G=B?"":(0,H.d)(t,F),Z=e.adType?e.adType:P?k.filter(e=>e.name===P)[0]:{},{adTypeClassification:X,autoRecycle:Y,classNamesInternal:J,classNamesExternal:Q,breakpoints:ee,dimensions:te,disableAmpOutput:re=!1,disableDisclaimer:ne,disableLazyLoad:ie,disableMarginBottom:oe=!1,disableMarginTop:ae=!1,display:se,isDismissible:le=!1,placeholderDimensions:ue={height:[250,250]},slotName:ce,targeting:de}=Z;if(!O&&a)return(0,E.jsx)(N,{classNamesExternal:x,classNamesInternal:w});if(!O&&!a)return null;if(y&&re)return null;const he=`${`${j&&j||t}/${"apps"===d.toLowerCase()?"app-news":"web"}`}${`${G}${A||ce||""}`}`,fe="wallpaper"===X?se:L||se||"all",pe=(0,i.A)([{"d-flex":"all"===fe||"mobile"===fe},"flex-column",{"d-none":"all"!==fe&&"mobile"!==fe},{"d-none":"mobile"===fe},{"d-md-none":"mobile"===fe},{"d-md-flex":"tablet"===fe},{"d-lg-none":"tablet"===fe},{"d-lg-flex":"desktop"===fe}]),me=(0,i.A)([pe,{"admin-ad":a},`ad-type-${(Z&&Z.adTypeClassification||P||"unknown").replace(" ","-")}`,x||Q]),ge=(0,i.A)([w||J||g,{"mt-3":!ae&&!D},{"mb-3":!oe&&!T}]),be=s?.type||"page",ye=s&&"page"!==be?s?._id??"":"";if(de&&(Z.targeting=K(K({},de),{},{pt:be,cid:ye},(0,V.f)(s||{}))),O&&(a||M))return(0,E.jsx)(I,{classNamesExternal:me,classNamesInternal:ge,slotName:he,adInfo:Z});if(!Z.name)return null;const ve=he?(0,E.jsx)(c.y,K(K(K(K({id:p&&p||f,adType:Z&&Z.adTypeClassification||P,amazonTAM:_},_?.publisherId?{bidding:{amazon:{enabled:!0,id:_.publisherId}}}:{}),{},{breakpoints:m||ee,classNamesExternal:me,classNamesInternal:ge},y?{ampAdClasses:(0,i.A)([{"mt-3":!ae&&!D},{"mb-3":!oe&&!T}]),isInArticleBodyAd:me.includes("ad-article-inline")}:null),{},{dimensions:te,disclaimer:{display:"hidden"!==R&&!ne,languageIsoCode:S,position:R},display:fe,dfpId:O,isAmp:y,isDismissible:le,isSticky:z,onAdDismissal:le?()=>$(p&&p||f):null,pubmatic:v,refresh:!U},Y?.isEnabled&&{refreshInterval:Y?.intervalMs||3e4}),{},{slotName:he,targeting:Z&&Z.targeting||de})):"",[,we]=ue?.height||[250,250];return ie||C||y?ve:(0,E.jsx)(o.A,{offsetBottom:300,offsetTop:300,renderPlaceholder:e=>(0,E.jsx)("div",{ref:e,className:(0,i.A)(["w-100"]),style:{height:`${we}px`}}),children:ve})};X.propTypes=K(K({adContainerIdOverride:s().string,adType:s().object},F),{},{breakpointsOverride:s().array}),X.label="Ads - Arc Ads";var Y=X},591:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(3287),s=r(9626),l=r.n(s),u=r(6542),c=r(2528),d=[{_id:"hero-sponsored",_name:"Homepage",_type:"homepage",defaultConfig:{mode:"thumbnails-native",container:"taboola-homepage-native-backfill",placement:"Homepage Native Backfill",target_type:"mix"}},{_id:"video-reel-homepage",_name:"Homepage Video Reel",_type:"video-reel",defaultConfig:{mode:"video-reel-sc",classesArray:["mb-3"],container:"taboola-video-reel-homepage",placement:"Video Reel Homepage",target_type:"mix"}}],h=r(6182),f=r(9715),p=r(5349);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?m(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const[y]=d,v=({customFields:e={}})=>{const{isAdmin:t,siteProperties:r={},type:n,id:i}=(0,o.useFusionContext)();if((0,c.vQ)({featureName:n,siteProperties:r}))return null;const s=(0,h.N)(),{widgetType:m="hero-sponsored"}=e,b=d.find(({_id:e})=>e===m)||y,{defaultConfig:v}=b,{container:w,classesArray:x=[]}=v;return(0,f.z)(()=>{t||s||(window._taboola=window._taboola||[],window._taboola.push(v),window._taboola.push({flush:!0}))}),t||s?(0,p.jsxs)(u.A,{classes:(0,a.A)(["text-white","bg-secondary","w-100","small","mb-3"]),styles:{minHeight:"90px"},children:[(0,p.jsx)("p",{children:"The Taboola Feed Widget (Formerly OutbrainFeed) will render here."}),(0,p.jsxs)("div",{className:(0,a.A)(["text-start","small"]),children:[(0,p.jsx)("h6",{className:(0,a.A)(["mb-1"]),children:"More Info:"}),(0,p.jsx)("pre",{className:(0,a.A)(["text-reset","fst-italic","mb-1"]),children:JSON.stringify(g({},b),null,2)})]})]},`${i}-taboola-feed-placeholder`):(0,p.jsx)(l(),{id:`taboola-widget-${i}`,children:(0,p.jsx)("div",{className:(0,a.A)(["taboola-feature |",...x]),style:{minHeight:"65px"},children:(0,p.jsx)("div",{id:w})})})};v.propTypes={customFields:i().shape({widgetType:i().oneOf([...d.reduce((e,{_id:t})=>[...e,t],[])]).tag({defaultValue:y._id,description:"Description placeholder",labels:g({},d.reduce((e,{_id:t,_name:r})=>(e[t]=r,g({},e)),{})),ordered:!1,name:"Widget Type"})})},v.label="Ads - Taboola Feature",v.icon="arc-ads";var w=v},5918:function(e,t,r){"use strict";r(809);var n=r(4321),i=r(9626),o=r.n(i),a=r(2528),s=r(5349);t.A=()=>{const{isAdmin:e=!1,renderables:t}=(0,n.useFusionContext)(),r=(0,a.uO)(["Ads/OutbrainFeed"],t);return e||!r?null:(0,s.jsx)(o(),{id:"taboola-body-reference",children:(0,s.jsx)("script",{dangerouslySetInnerHTML:{__html:"\n  window._taboola = window._taboola || [];\n  _taboola.push({flush: true});"}})})}},7993:function(e,t,r){"use strict";r(809);var n=r(4321),i=r(2528),o=r(802),a=r(5349);t.A=()=>{const{globalContent:e,isAdmin:t=!1,metaValue:r,outputType:s="default",renderables:l,siteProperties:u={}}=(0,n.useFusionContext)(),{taboola:c}=u,{enableHP4U:d,partnerIds:h}=c||{},f=h?.newsroom,p=(0,i.M5)({metaPageType:r("page-type"),globalContent:e}),m="default"===s,g=!!d&&"homepage"===p,b=!!f&&["article","video","gallery"].some(e=>p===e),y=(0,i.uO)(["Ads/OutbrainFeed",...m?["Ads/OutbrainFeature","global/Hero"]:[]],l)||g;return t?null:"amp"===s&&b?(0,a.jsx)("amp-analytics",{type:"taboola",id:"taboola",children:(0,a.jsx)("script",{type:"application/json",dangerouslySetInnerHTML:{__html:`{ "vars": { "aid": "${f}" } }`}})}):(0,a.jsxs)(a.Fragment,{children:[y?(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:(0,o.xp)({scriptType:"apps"===s?"apps":"default",pbPageType:p,partnerIds:h}).replace(/\n/g," ")}}):null,g?(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:`\n            window._newsroom = window._newsroom || [];\n            window._newsroom.push({pageTemplate: 'home'});\n            window._newsroom.push({pageDashboard: 'home'});\n            window._newsroom.push('auditClicks');\n            window._newsroom.push('trackPage');\n        \n            !function (e, f, u) {\n                e.async = 1;\n                e.src = u;\n                f.parentNode.insertBefore(e, f);\n            }(document.createElement('script'),\n                    document.getElementsByTagName('script')[0], '//c2.taboola.com/nr/${f}/newsroom.js');\n            `.replace(/\n/g," ")}}):null,b?(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:`window._newsroom=window._newsroom||[],function(e,r,n){e.async=1,e.src=n,r.parentNode.insertBefore(e,r)}(document.createElement("script"),document.getElementsByTagName("script")[0],"//c2.taboola.com/nr/${f}/newsroom.js");`}}):null]})}},9927:function(e,t,r){"use strict";r(809);var n=r(3287),i=r(9894),o=r.n(i),a=r(6542),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=({featureKey:e,selectedWidget:t={}})=>(0,s.jsxs)(a.A,{classes:(0,n.A)(["text-white","bg-secondary","w-100","h-100","small","mb-3"]),styles:{maxWidth:"500px",minHeight:"90px"},children:[(0,s.jsx)("p",{children:"The Taboola Feed Widget (Formerly OutbrainFeed) will render here."}),(0,s.jsxs)("div",{className:(0,n.A)(["text-start","small"]),children:[(0,s.jsx)("h6",{className:(0,n.A)(["mb-1"]),children:"More Info:"}),(0,s.jsx)("pre",{className:(0,n.A)(["text-reset","fst-italic","mb-1"]),children:JSON.stringify(u({},t),null,2)})]})]},`${e}-taboola-feed-placeholder`);d.propTypes={featureKey:o().string,selectedWidget:o().object},t.A=d},4130:function(e,t,r){"use strict";r.r(t),r.d(t,{TaboolaBodyTag:function(){return g.A},TaboolaScriptTag:function(){return m.A}});r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(3287),s=r(9626),l=r.n(s),u=r(6182),c=r(2528),d=r(802),h=r(9927),f=r(9715),p=r(5349),m=r(7993),g=r(5918);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=({customFields:e={}}={})=>{const{globalContent:t={},id:r,isAdmin:n,metaValue:i,siteProperties:s={},type:m}=(0,o.useFusionContext)();if((0,c.vQ)({featureName:m,siteProperties:s}))return null;const g=(0,u.N)(),{widgetType:b="dynamic"}=e,y=(0,d.jN)({widgetType:b,pbPageType:(0,c.M5)({metaPageType:i("page-type"),globalContent:t})}),{defaultConfig:v}=y,{container:w}
2=v;return(0,f.z)(()=>{n||g||(window._taboola=window._taboola||[],window._taboola.push(v),window._taboola.push({flush:!0}))}),n||g?(0,p.jsx)(h.A,{featureKey:r,selectedWidget:y}):(0,p.jsx)(l(),{id:`taboola-widget-${r}`,children:(0,p.jsx)("div",{className:(0,a.A)(["taboola-feed |","w-100","mb-3"]),children:(0,p.jsx)("div",{id:w})})})};w.propTypes={customFields:i().shape({widgetType:i().oneOf([...d.AH.reduce((e,{_id:t})=>[...e,t],["dynamic"])]).tag({defaultValue:"dynamic",description:"Description placeholder",labels:y({},d.AH.reduce((e,{_id:t,_name:r})=>(e[t]=r,y({},e)),{dynamic:"Dynamic - (default)"})),ordered:!1,name:"Widget Type"})})},w.label="Ads - Taboola Feed",w.icon="arc-ads",t.default=w},802:function(e,t,r){"use strict";r.d(t,{AH:function(){return n},jN:function(){return a},xp:function(){return s}});const n=[{_id:"article",_name:"Article",_type:"story",defaultConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-article-thumbnails-new",placement:"Below Article Thumbnails New",target_type:"mix"},ampConfig:{"data-publisher":"meredith-network","data-mode":"alternating-thumbnails-a","data-placement":"Below Article Thumbnails New AMP","data-target_type":"mix","data-article":"auto","data-url":""},appsConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-article-thumbnails-new",placement:"Below Article Thumbnails New",target_type:"mix"}},{_id:"photo",_name:"Gallery",_type:"gallery",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-photo-thumbnails",placement:"Below Photo Thumbnails",target_type:"mix"},ampConfig:{"data-publisher":"meredith-network","data-mode":"thumbs-feed-01","data-placement":"Below Photo Thumbnails AMP","data-target_type":"mix","data-photo":"auto"},appsConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-photo-thumbnails",placement:"Below Photo Thumbnails",target_type:"mix"}},{_id:"homepage",_name:"Homepage",_type:"homepage",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-homepage-thumbnails",placement:"Below Homepage Thumbnails",target_type:"mix"}},{_id:"category",_name:"Section",_type:"section",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-category-thumbnails",placement:"Below Category Thumbnails",target_type:"mix"}},{_id:"video",_name:"Video",_type:"video",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-video-thumbnails",placement:"Below Video Thumbnails",target_type:"mix"},ampConfig:{"data-publisher":"meredith-network","data-mode":"thumbs-feed-01","data-placement":"Below Video Thumbnails AMP","data-target_type":"mix","data-video":"auto"},appsConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-video-thumbnails",placement:"Below Video Thumbnails",target_type:"mix"}},{_id:"weather",_name:"Weather",_type:"weather",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-weather-thumbnails",placement:"Below Weather Thumbnails",target_type:"mix"}},{_id:"bankrate-content",_name:"Bankrate Content",_type:"any",defaultConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-article-thumbnails-bankrate",placement:"Below Article Thumbnails Bankrate",target_type:"mix"},ampConfig:{"data-publisher":"meredith-network","data-mode":"alternating-thumbnails-bankrate-a","data-placement":"Below Article Thumbnails Bankrate AMP","data-target_type":"mix","data-article":"auto","data-url":""},appsConfig:{mode:"alternating-thumbnails-a",container:"taboola-below-article-thumbnails-bankrate",placement:"Below Article Thumbnails Bankrate",target_type:"mix"}},{_id:"other",_name:"Other",_type:"other",defaultConfig:{mode:"thumbs-feed-01",container:"taboola-below-other-thumbnails",placement:"Below Other Thumbnails",target_type:"mix"}}],i=e=>{switch(e){case"article":case"homepage":case"video":case"weather":return e;case"gallery":return"photo";case"section":return"category";default:return"other"}},o=e=>{const t=i(e);return n.find(({_id:e})=>e===t)},a=(n.find(({_id:e})=>"other"===e),({widgetType:e="dynamic",pbPageType:t="other"}={})=>{const r="dynamic"===e?o(t):n.find(({_id:t})=>t===e);return r&&r||o(t)}),s=({scriptType:e="default",pbPageType:t="page",partnerIds:r={}}={})=>{const n=i(t),o=e=>{const{_default:t,apps:{android:n,iOS:i}={}}=r,o=(e=>{switch(e){case"android":return n;case"ios":return i;default:return t}})((e||"default").toLowerCase());return o?`//cdn.taboola.com/libtrc/${o}/loader.js`:null};return"apps"===e?(e=>{const t=o(),r=o("android"),n=o("ios");return t&&r&&n?`\n      window._taboola = window._taboola || [];\n      _taboola.push({\n        ${e}: "auto",\n        tracking: "utm_source=taboola&utm_medium=organicclicks",\n        url: "auto",\n        device: (function(){try{return window.localStorage&&window.localStorage.gdm_idfa&&window.localStorage.gdm_idfa||null}catch(a){return console.error("idfa error:",error),null}})()\n      });\n      !(function (e, f, u, i) {\n        if (!document.getElementById(i)) {\n          e.async = 1;\n          e.src = u;\n          e.id = i;\n          f.parentNode.insertBefore(e, f);\n        }\n      })(\n        document.createElement("script"),\n        document.getElementsByTagName("script")[0],\n        (function () { try { return new RegExp(/(Linux.*Android(.*?))/i).test(window.navigator.userAgent) ? "${r}" : "${n}"; } catch { return "${t}"; } })(),\n        "tb_loader_script"\n      );`:""})(n):(e=>{const t=o("default");return t?`\n      window._taboola = window._taboola || [];\n      _taboola.push({ ${e}: "auto", tracking: "utm_source=taboola&utm_medium=organicclicks" });\n      !(function (e, f, u, i) { \n        if (!document.getElementById(i)) { e.async = 1; e.src = u; e.id = i; f.parentNode.insertBefore(e, f); }\n      })( \n        document.createElement("script"), \n        document.getElementsByTagName("script")[0], \n        "${t}", \n        "tb_loader_script"\n      );\n      if (window.performance && typeof window.performance.mark == "function") { window.performance.mark("tbl_ic"); }`:""})(n)}},734:function(e,t,r){"use strict";r.r(t);r(809);
2var n=r(6780),i=r.n(n),o=r(5267),a=r(9403),s=r(891),l=r(986),u=r(5349);const c=["contentConfig","customParagraphWordCount","disableInlineAds","enableFloatableImages","floatableImageWidth","inlineAdInterval","useGlobalContent","useCopyrightField"];function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{const{content:t,customFields:r={}}=e,{contentConfig:n,customParagraphWordCount:i,disableInlineAds:o,enableFloatableImages:a,floatableImageWidth:s,inlineAdInterval:d,useGlobalContent:f=!0,useCopyrightField:p=!1}=r,m=h(h({},function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,c)),{},{contentConfig:n,customParagraphWordCount:i,disableGlobalContent:!f,disableInlineContent:o,enableInlineAdBackfill:!o,enableFloatableImages:a,floatableImageWidth:s,inlineContentInterval:d,actionBarEnabled:!1});return!1===p&&(m.disableCopyrightField=!0),(0,u.jsx)(l.default,{content:t,customFields:m})};p.propTypes={content:i().object,siteProperties:i().object,customFields:i().shape(h(h(h({contentConfig:i().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"}),useGlobalContent:i().bool.tag({defaultValue:!0,description:"Select this checkbox if you want to use a video referenced in the page's global content.",group:"Data Configuration",name:"Use Global Content?"}),disableInlineAds:i().bool.tag({defaultValue:!1,group:"Inline Advertising",name:"Disable Inline Article Ads"}),inlineAdInterval:i().number.tag({defaultValue:7,description:"Specify the number of content elements that should appear on the page before inserting an inline ad.",group:"Inline Advertising",hidden:!1,max:30,min:3,name:"Inline Article Ad Interval",step:1}),customParagraphWordCount:i().number.tag({defaultValue:0,description:"Specify the number of words required to be considered a paragraph of text.",group:"Inline Advertising",hidden:!1,max:1e3,min:0,name:"Custom Paragraph Word Count",step:1}),enableFloatableImages:i().bool.tag({defaultValue:!1,description:"When enabled, images will be set to float left/right based off the float value set in the editor.",group:"Images",name:"Enable Floatable Images"}),floatableImageWidth:i().oneOf(["25","33","50","66","75"]).tag({defaultValue:"33",description:"When enabled, images will be set to float left/right based off the float value set in the editor.",labels:{25:"25%",33:"33%",50:"50%",66:"66%",75:"75%"},group:"Images",name:"Floatable Image Width"}),imageFetchPriority:i().oneOf(["auto","high","low"]).tag({defaultValue:"low",description:"If high, the image will be preloaded at the top of the page so it is available when the user first sees the story body.",group:"Images",name:"Image Fetch Priority"}),useCopyrightField:i().bool.tag({defaultValue:!1,description:"When enabled, the copyright field from Composer will be added to the bottom of the article if no other copyright is detected.",group:"Copyright",name:"Use Copyright Field"})},(0,o.arcAdsCustomFields)("Inline Advertising")),(0,s.videoCustomFields)("Video",{includeCustomEmbedOverrideProps:!0})),(0,a.galleryCustomFields)("Image Gallery")))},p.label="Article - Body",p.lazy=!1,t.default=p},3920:function(e,t,r){"use strict";r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(5771),s=r(6874),l=r(9403),u=r(891),c=r(3185),d=r(5349);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?h(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=({containerClasses:e="",customFields:t={},data:r={},featureKey:n,isAmp:i=!1})=>{const{_id:h="",caption:p,content:m,credits:g,type:b,url:y}=r,v=(()=>{switch(b){case"image":return(0,d.jsx)(a.mO,{caption:p,containerClasses:(0,o.A)(["media-item-image","mb-0"]),showCaption:!0,credits:g,showCredits:!0,children:(0,d.jsx)(a._V,{aspectRatio:"16:9",ANSImage:r,fetchPriority:"high",imageClasses:(0,o.A)(["img-fluid","mx-auto","d-block"]),isAmp:i,loading:"eager",resizedOptions:{smart:!0},responsiveImages:[800,1600],src:y,width:800},`${b}-lead-art-${h}`)},`${b}-lead-art-${h}`);case"gallery":return i?(0,d.jsx)(l.AmpImageGallery,{customFields:t,className:(0,o.A)([""]),data:r},`${b}-lead-art-${h}`):(0,d.jsx)(l.default,{customFields:f(f({},t),{},{galleryImageFetchPriority:"high"}),className:(0,o.A)([""]),data:r},`${b}-lead-art-${h}`);case"video":return(0,d.jsx)(u.default,{customFields:t,data:r});case"raw_html":return i?null:(0,d.jsx)(c.default,{customFields:{html:m,removeDefaultBottomMargin:!1,removeDefaultContainerPadding:!0}});case"custom_embed":return i?null:(0,d.jsx)(s.Ay,{customFields:t,featureKey:`lead-art-${n}`,element:r},`${b}-${h}`);default:return null}})();return v?(0,d.jsx)("div",{className:(0,o.A)(["lead-art |","col-12",e]),children:v}):null};m.propTypes={containerClasses:i().string,customFields:i().object,data:i().object,featureKey:i().string,isAmp:i().bool,overrides:i().object},t.A=m},5570:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(3287),s=r(4375),l=r(6142),u=r(5653),c=r(716),d=r(3920),h=r(891),f=r(9403),p=r(1032),m=r(6874),g=r(5349);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>{const{customFields:t={},isAmp:r=!1}=e,{contentConfig:n,displayLeadArt:i=!0,displayLeadArtBeforeHeadline:h=!1,headlineSize:f=1,headlineWeight:b="bold",subheadlineSize:y=5,subheadlineWeight:v="normal",subHeadlineStyle:w="normal",subheadlineColor:x="default",hideSubheadline:M=!1,hideBylines:_=!1,hidePublishedDateTime:O=!1,hideUpdatedDateTime:j=!1,linkBylinesToProfiles:S=!1,updatedDateOptions:A="momentsAgo",useGlobalContent:P=!0}=t,{id:k,globalContent:T,outputType:E="default",siteProperties:C}=(0,o.useFusionContext)(),{timezone:D}=C,N=(0,s.useContent)(P||e.content?{}:(0,p._i)(n)),I=e.content&&e.content||P&&T||N;if(!I||Object.keys(I)<=0)return null;const{content_elements:R,credits:L,display_date:B,first_publish_date:q,headlines:U,promo_items:z={},subheadlines:F={}}=I,{basic:$=""}=U,{basic:V=""}=F,H=(()=>
2{if(!i)return null;const{basic:e,lead_art:n}=z||{},o=("custom_embed"===n?.type?(0,m.Jw)(n):n)||e||null;if(!o)return null;const{_id:s}=o,l=i&&h?(0,a.A)(["order-0","pt-4","mb-3"]):"";return R?0===R.filter(e=>e._id===s).length?(0,g.jsx)(d.A,{customFields:t,containerClasses:l,data:o,featureKey:k,isAmp:r}):null:(0,g.jsx)(d.A,{customFields:t,containerClasses:l,data:o,featureKey:k,isAmp:r})})(),W=!!(H&&i&&h);return(0,g.jsxs)("div",{className:(0,a.A)(["article-header","row","mb-3"]),children:[(0,g.jsx)(l.A,{containerClasses:(0,a.A)([{"order-1":W},{"mb-3":W}]),headlineClasses:(0,a.A)(["col"]),headlineLevel:f,headlineText:$,headlineWeight:b,hideSubheadline:M,subheadlineClasses:(0,a.A)(["col",{"text-secondary":"grey"===x},{"fst-italic":"italicized"===w}]),subheadlineLevel:y,subheadlineText:V,subheadlineWeight:v}),H,!_&&(0,g.jsx)(u.A,{bylineClasses:(0,a.A)([""]),containerClasses:(0,a.A)(["col-12",{"order-1":W}]),credits:L,isClickable:S,useBoldBylines:!1,outputType:E}),(!O||!j)&&(0,g.jsx)(c.A,{className:(0,a.A)(["fst-italic","d-inline-block"]),containerClasses:(0,a.A)(["col-12",{"order-1":W}]),publishedDateTime:q,updatedDateTime:B,updatedDisplayDateOption:A,showPublishedDateTime:!O,showUpdatedDateTime:!j,timeZone:D})]})};w.propTypes={content:i().object,customFields:i().shape(y(y({contentConfig:i().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"}),useGlobalContent:i().bool.tag({defaultValue:!0,description:"Select this checkbox if you want to use a video referenced in the page's global content.",group:"Data Configuration",name:"Use Global Content?"}),headlineSize:i().oneOf([1,2,3]).tag({name:"Headline Size",group:"Headline",defaultValue:1,labels:{1:"H1",2:"H2",3:"H3"}}),headlineWeight:i().oneOf(["bold","bolder","normal","light","lighter"]).tag({name:"Headline Weight",group:"Headline",defaultValue:"bold",labels:{bold:"Bold",bolder:"Bolder",normal:"Normal",light:"Light",lighter:"Lighter"}}),subheadlineSize:i().oneOf([3,4,5,6]).tag({name:"Subheadline Size",group:"Subheadline",defaultValue:5,labels:{3:"H3",4:"H4",5:"H5",6:"H6"}}),subheadlineWeight:i().oneOf(["bold","bolder","normal","light","lighter"]).tag({name:"Subheadline Weight",group:"Subheadline",defaultValue:"light",labels:{bold:"Bold",bolder:"Bolder",normal:"Normal",light:"Light",lighter:"Lighter"}}),subHeadlineStyle:i().oneOf(["normal","italicized"]).tag({name:"Subheadline Style",group:"Subheadline",defaultValue:"normal",labels:{normal:"Default",italicized:"Italicized"}}),subheadlineColor:i().oneOf(["default","grey"]).tag({name:"Subheadline Color",group:"Subheadline",defaultValue:"default",labels:{default:"Default",grey:"Grey"}}),hideSubheadline:i().bool.tag({name:"Hide Subheadline?",group:"Subheadline"}),hideBylines:i().bool.tag({name:"Hide Bylines",group:"Byline",defaultValue:!1}),linkBylinesToProfiles:i().bool.tag({name:"Link Bylines to Author Profiles",group:"Byline",defaultValue:!1}),hidePublishedDateTime:i().bool.tag({name:"Hide Published Date",group:"Date/Time",defaultValue:!1}),hideUpdatedDateTime:i().bool.tag({name:"Hide Updated Date",group:"Date/Time",defaultValue:!1}),updatedDateOptions:i().oneOf(["momentsAgo","momentsAgoClient","dateAndTime"]).tag({name:"Updated Date Display Options",group:"Date/Time",ordered:!1,defaultValue:"momentsAgo",labels:{momentsAgo:"Moments Ago",momentsAgoClient:"Moments Ago (Client Only)",dateAndTime:"Display Date & Time"}}),displayLeadArt:i().bool.tag({name:"Display Lead Art Media?"}),displayLeadArtBeforeHeadline:i().bool.tag({name:"Display Lead Art Before Headline?",defaultValue:!1})},(0,h.videoCustomFields)("Video Lead Art Options",{includeCustomEmbedOverrideProps:!0})),(0,f.galleryCustomFields)("Image Gallery Lead Art Options"))),globalContent:i().object,isAmp:i().bool},w.label="Article - Header",w.lazy=!1,t.default=w},2313:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(3287),l=r(5349);const u=e=>{const{globalContent:t={},outputType:r}=(0,a.useFusionContext)(),{taxonomy:i={}}=t,{tags:o=[]}=i;if(!o.length)return null;const[u,c]=(0,n.useState)(!1),{customFields:d={}}=e,{maxTagsToDisplay:h=14}=d,f="amp"!==r&&o.length>h,p=(0,s.A)(["article-tag |","badge","rounded-pill","bg-primary-branding","m-1","px-3","py-2","text-white"]),m=(e,t)=>
2o.slice(e,t).map(e=>{const{slug:t="",text:r}=e;if(!r)return null;const n=""!==t?encodeURI(`/tags/${t}/`):"";return(0,l.jsx)("li",{className:p,children:n&&(0,l.jsx)("a",{className:(0,s.A)(["text-decoration-none"]),href:n,children:r})||r},r)});return(0,l.jsx)("div",{className:(0,s.A)(["article-tags |","text-reset","mb-3"]),children:(0,l.jsxs)("ul",{className:(0,s.A)(["d-flex","justify-content-center","align-content-center","flex-wrap","py-1","px-2"]),children:[m(0,h),f&&!u&&!!h&&(0,l.jsx)("li",{className:p,onClick:()=>{c(!0)},role:"button",children:"More..."}),u&&m(h,o.length)]})})};u.propTypes={customFields:o().shape({maxTagsToDisplay:o().number.tag({defaultValue:14,description:"The number of tags to display before a 'More...' button appears. AMP pages will only display the number of tags entered here, and no 'More...' button.",name:"Max Tags to Display"})})},u.icon="tags",u.label="Article - Tags",t.default=u},238:function(e,t,r){"use strict";r.r(t),r.d(t,{actionBarCfProps:function(){return m},default:function(){return D}});var n=r(809),i=r(3287),o=r(6780),a=r.n(o),s=r(4321);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d={extract:(e,t=[],r=null)=>{const n={};return t.forEach(t=>{if(Object.prototype.hasOwnProperty.call(e,t))n[t]=e[t];else if(r){const i=`${r.toLowerCase().replace(/\s+/g,"")}${t.charAt(0).toUpperCase()}${t.slice(1)}`;Object.prototype.hasOwnProperty.call(e,i)&&(n[t]=e[i])}}),n},prefix:(e,t)=>((e,t)=>{const r=t.toLowerCase().replace(/\s+/g,""),n={};return Object.entries(e).forEach(([e,t])=>{const i=`${r}${e.charAt(0).toUpperCase()}${e.slice(1)}`;n[i]=t}),n})(e,t)};const h={displayShare:!0,displayGoogle:!0,shareCopy:!0,shareFacebook:!0,shareEmail:!0,shareX:!0,shareBluesky:!0,shareReddit:!0},f=((e,t,r)=>{const n="function"==typeof e?e():e,i="function"==typeof e&&r?e(r):n,o=Object.keys(n),a={};return Object.entries(n).forEach(([e,t])=>{if(t&&"function"==typeof t.tag){const r=t.tag();void 0!==r.defaultValue&&(a[e]=r.defaultValue)}}),{baseFields:n,prefixedFields:d.prefix(i,t),extract:e=>{const r=d.extract(e,o,t);return u(u({},a),r)}}})((e="")=>{const t=e?`${e} `:"";return{displayShare:a().bool.tag({defaultValue:h.displayShare,description:"Show share button",group:e||"Display",name:"Display Share Button"}),displayGoogle:a().bool.tag({defaultValue:h.displayGoogle,description:"Show Google button",group:e||"Display",name:"Display Google Button"}),shareCopy:a().bool.tag({defaultValue:h.shareCopy,description:"Show Copy Link as a social share option.",group:`${t}Share Options`,name:"Display Copy Link"}),shareFacebook:a().bool.tag({defaultValue:h.shareFacebook,description:"Show Facebook as a social share option.",group:`${t}Share Options`,name:"Display Facebook"}),shareEmail:a().bool.tag({defaultValue:h.shareEmail,description:"Show Email as a social share option.",group:`${t}Share Options`,name:"Display Email"}),shareX:a().bool.tag({defaultValue:h.shareX,description:"Show X (Twitter) as a social share option.",group:`${t}Share Options`,name:"Display X"}),shareBluesky:a().bool.tag({defaultValue:h.shareBluesky,description:"Show Bluesky as a social share option.",group:`${t}
2Share Options`,name:"Display Bluesky"}),shareReddit:a().bool.tag({defaultValue:h.shareReddit,description:"Show Reddit as a social share option.",group:`${t}Share Options`,name:"Display Reddit"})}},"actionBar","Action Bar"),p=f.baseFields,m=f.prefixedFields,g=f.extract;var b=r(9894),y=r.n(b),v=r(7508),w=r.n(v),x=r(5349);function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j=({contentData:e,customFields:t={},disableOsShare:r=!1})=>{const{contextPath:n,globalContent:o,pagebuilderURL:a,siteProperties:l}=(0,s.useFusionContext)(),u=e||o||{},{websiteDomain:c=""}=l||{},d=l?.locale??"en",f=l?.social?.facebook?.appId,p=w()(d),m=u.headlines?.basic||u.title||"",g=u.website_url||u.canonical_url||"",b=c?`${c}${g}`:g,{shareFacebook:y=h.shareFacebook,shareEmail:v=h.shareEmail,shareX:M=h.shareX,shareBluesky:O=h.shareBluesky,shareReddit:j=h.shareReddit}=t,S=["custom-icon"],A={"data-param-text":m,"data-param-url":b,height:24,width:24},P=e=>a(`${n}/resources/images/amp-social-icons/${e}`);return(0,x.jsx)("div",{className:(0,i.A)(["amp-share-bar","pt-2"]),children:r?(0,x.jsxs)(x.Fragment,{children:[v&&(0,x.jsx)("amp-social-share",_(_({},A),{},{class:(0,i.A)(["email",...S]),style:{backgroundImage:`url("${P("email.svg")}")`},type:"email","aria-label":p.t("action-bar.share-email")})),y&&(0,x.jsx)("amp-social-share",_(_({},A),{},{class:(0,i.A)(["facebook",...S]),style:{backgroundImage:`url("${P("facebook.svg")}")`},type:"facebook","aria-label":p.t("action-bar.share-facebook")},f?{"data-param-app_id":f}:null)),M&&(0,x.jsx)("amp-social-share",_(_({},A),{},{class:(0,i.A)(["twitter",...S]),style:{backgroundImage:`url("${P("x.svg")}")`,backgroundSize:"auto"},type:"twitter","aria-label":p.t("action-bar.share-x")})),O&&(0,x.jsx)("amp-social-share",_(_({},A),{},{"data-share-endpoint":`https://bsky.app/intent/compose?text=${encodeURIComponent(`${m} ${b}`)}`,class:(0,i.A)(["bluesky",...S]),style:{backgroundImage:`url("${P("bluesky.svg")}")`},type:"bluesky","aria-label":p.t("action-bar.share-bluesky")})),j&&(0,x.jsx)("amp-social-share",_(_({},A),{},{"data-share-endpoint":`https://www.reddit.com/submit?url=${encodeURIComponent(b)}&title=${encodeURIComponent(m)}`,class:(0,i.A)(["reddit",...S]),style:{backgroundImage:`url("${P("reddit.svg")}")`},type:"reddit","aria-label":p.t("action-bar.share-reddit")}))]}):(0,x.jsx)("amp-social-share",{"data-param-text":m,"data-param-url":b,class:(0,i.A)(["system","position-relative",...S]),height:22,width:70,type:"system","aria-label":p.t("action-bar.share")})})};j.propTypes={contentData:y().object,customFields:y().object,disableOsShare:y().bool};var S=j,A=r(2028),P=r(4676);const k=({contentData:e,customFields:t={}})=>
2{const[r,o]=(0,n.useState)(!1),[a,l]=(0,n.useState)(!1),[u,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),h=(0,n.useRef)(null),{arcSite:f,globalContent:p,siteProperties:m}=(0,s.useFusionContext)(),{locale:g,websiteDomain:b=""}=m||{},y=w()(g||"en"),v=e||p||{},M=(e=>{if(!e)return null;const t="prod"===A.tU?b:`https://gray-${f}-sandbox.gtv-cdn.com`;try{return new URL(e).href}catch{return t?new URL(e,t).href:e}})(v.website_url||v.canonical_url)||window.location.href,_=v.headlines?.basic||v.title||document.title,{shareCopy:O=!0,shareFacebook:j=!0,shareEmail:S=!0,shareX:k=!0,shareBluesky:T=!0,shareReddit:E=!0}=t,C=(0,n.useCallback)(e=>((e,t={})=>{(0,P.Bd)()&&window.RCdataLayer&&window.RCdataLayer.push({event:"action_bar_share",actionMethod:e,contentId:t?._id,contentOwner:t?.canonical_website,contentType:t?.type||"page"})})(e,v),[v]),D=(0,n.useCallback)(()=>{l(!0),setTimeout(()=>{o(!1),l(!1),c(!1)},300)},[]),N=(0,n.useCallback)(async()=>{C("copy_link");try{await navigator.clipboard.writeText(M),c(!0),setTimeout(()=>{D()},1500)}catch(e){console.error("Failed to copy link:",e)}},[M,C,D]),I=[{key:"copy",enabled:O,label:u?y.t("action-bar.share-link-copied"):y.t("action-bar.share-copy-link"),icon:u?"fas fa-check":"fas fa-link",onClick:N,className:u?"text-success":""},{key:"facebook",enabled:j,label:y.t("action-bar.share-facebook"),icon:"fab fa-facebook-f",onClick:()=>{C("facebook"),window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(M)}`,"_blank")}},{key:"email",enabled:S,label:y.t("action-bar.share-email"),icon:"fas fa-envelope",onClick:()=>{C("email"),window.location.href=`mailto:?subject=${encodeURIComponent(_)}&body=${encodeURIComponent(M)}`}},{key:"x",enabled:k,label:y.t("action-bar.share-x"),icon:"fab fa-x-twitter",onClick:()=>{C("twitter"),window.open(`https://x.com/intent/tweet?url=${encodeURIComponent(M)}&text=${encodeURIComponent(_)}`,"share_popup","width=550,height=350,scrollbars=no")}},{key:"bluesky",enabled:T,label:y.t("action-bar.share-bluesky"),icon:"fab fa-bluesky",onClick:()=>{C("bluesky"),window.open(`https://bsky.app/intent/compose?text=${encodeURIComponent(`${_} ${M}`)}`,"_blank")}},{key:"reddit",enabled:E,label:y.t("action-bar.share-reddit"),icon:"fab fa-reddit-alien",onClick:()=>{C("reddit"),window.open(`https://www.reddit.com/submit?url=${encodeURIComponent(M)}&title=${encodeURIComponent(_)}`,"_blank")}}].filter(e=>e.enabled);return(0,n.useEffect)(()=>{const e=e=>{h.current&&!h.current.contains(e.target)&&d.current&&!d.current.contains(e.target)&&D()};if(r)return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[r,D]),0===I.length?null:(0,x.jsxs)("div",{className:(0,i.A)(["d-flex","position-relative"]),children:[(0,x.jsx)("button",{ref:d,className:(0,i.A)(["text-body","btn","btn-link","p-0","text-decoration-none"]),onClick:()=>o(!r),children:(0,x.jsxs)("div",{className:(0,i.A)(["d-flex","align-items-center"]),children:[(0,x.jsx)("i",{className:(0,i.A)(["fas","fa-share-from-square","fa-lg"]),"aria-hidden":"true"}),(0,x.jsx)("span",{className:(0,i.A)(["ms-1"]),children:y.t("action-bar.share")})]})}),r&&(0,x.jsxs)(x.Fragment,{children:[(0,x.jsx)("div",{className:(0,i.A)(["share-backdrop","d-lg-none",a?"share-backdrop-exit":"share-backdrop-enter"]),onClick:D}),(0,x.jsx)("div",{ref:h,className:(0,i.A)(["share-modal",a?"share-modal-exit":"share-modal-enter"]),children:(0,x.jsxs)("div",{className:(0,i.A)(["share-wrapper","card","shadow"]),children:[(0,x.jsxs)("div",{className:(0,i.A)(["card-header","d-flex","justify-content-between","align-items-center","py-lg-2","px-lg-3"]),children:[(0,x.jsx)("h6",{className:(0,i.A)(["card-title","mb-0"]),children:y.t("action-bar.share-modal-title")}),(0,x.jsx)("button",{type:"button",className:(0,i.A)(["btn-close"]),onClick:D})]}),(0,x.jsx)("div",{className:(0,i.A)(["card-body","py-1","px-lg-3"]),children:(0,x.jsx)("div",{className:(0,i.A)(["list-group","list-group-flush"]),children:I.map(e=>(0,x.jsx)("button",{className:(0,i.A)(["list-group-item","list-group-item-action","px-lg-1",e.className]),onClick:e.onClick,children:(0,x.jsxs)("div",{className:(0,i.A)(["d-flex","align-items-center"]),children:[(0,x.jsx)("i",{className:(0,i.A)([e.icon,"me-3",e.className])}),(0,x.jsx)("span",{className:(0,i.A)(["small",e.className]),children:e.label})]})},e.key))})})]})})]})]})};k.propTypes={contentData:a().object,customFields:a().object};var T=k;var E=()=>{const{siteProperties:e}=(0,s.useFusionContext)(),{locale:t,websiteDomain:r}=e||{},n=w()(t||"en");return r?(0,x.jsx)("a",{href:`https://google.com/preferences/source?q=${r}`,className:(0,i.A)(["google-source-button","text-body","btn btn-link","p-0","text-decoration-none"]),rel:"noopener noreferrer",target:"_blank",children:(0,x.jsxs)("div",{className:(0,i.A)(["d-flex","align-items-center"]),children:[(0,x.jsx)("div",{className:(0,i.A)(["google-icon","flex-shrink-0"])}),(0,x.jsxs)("div",{className:(0,i.A)(["c2a","ms-2","text-md-start"]),children:[(0,x.jsx)("span",{className:(0,i.A)(["d-md-none"]),children:n.t("action-bar.google.sm")}),(0,x.jsx)("span",{className:(0,i.A)(["d-none","d-md-block"]),children:n.t("action-bar.google.lg")})]})]})}):null};const C=({contentData:e,customFields:t={}})=>{const r="amp"===(0,s.useFusionContext)()?.outputType,{displayShare:n=h.displayShare,displayGoogle:o=h.displayGoogle,shareCopy:a=h.shareCopy,shareFacebook:l=h.shareFacebook,shareEmail:u=h.shareEmail,shareX:c=h.shareX,sharePinterest:d,shareInstagram:f,shareBluesky:p=h.shareBluesky,shareReddit:m=h.shareReddit}=g(t),b=[];if(n){const t=r?S:T;b.push((0,x.jsx)(t,{contentData:e,customFields:{shareCopy:a,shareFacebook:l,shareEmail:u,shareX:c,shareBluesky:p,shareReddit:m}},"share"))}o&&b.push((0,x.jsx)(E,{},"google"));const y=b.length;return 0===y?null:(0,x.jsx)("div",{className:(0,i.A)(["action-bar","row","align-items-stretch","text-center","mb-3","pt-1"]),children:b.map(e=>(0,x.jsx)("div",{className:(0,i.A)(["action","col",{"col-md-auto":y>1,"col-auto":1===y},"d-flex","justify-content-start","align-items-center","justify-content-center"]),children:e},`action-${e.key}`))})};C.label="Engagement - Action Bar",C.icon="share-3",C.propTypes={contentData:a().object,customFields:a().shape(p)};var D=C},7775:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return O}});
2var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(4375),l=r(4321),u=r(9626),c=r.n(u),d=r(1032),h=r(6542),f=r(5349);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=({embedCode:e,featureKey:t,featureId:r,id:n,type:i})=>{const o=m(m({},n?{id:n}:null),{},{type:i},e?{embedCode:e}:null);return(0,f.jsxs)(h.A,{classes:(0,a.A)(["text-white","bg-secondary","w-100","small","mb-3"]),styles:{minHeight:"90px"},children:[(0,f.jsx)("p",{children:"An Audience experience will render here."}),(0,f.jsx)("div",{className:(0,a.A)(["container","justify-content-center"]),style:{maxWidth:"900px"},children:(0,f.jsxs)("div",{className:(0,a.A)(["text-start"]),children:[(0,f.jsx)("h5",{className:(0,a.A)(["mb-1"]),children:"More Info:"}),(0,f.jsx)("dl",{className:(0,a.A)(["row","justify-content-md-center","text-reset","mb-1"]),children:Object.entries(o).map(([e,t])=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)("dt",{className:(0,a.A)(["col-sm-3","fw-bold"]),children:[e,":"]}),(0,f.jsx)("dd",{className:(0,a.A)(["col-sm-9","fst-italic"]),children:t})]}))})]})})]},`${t||r}-audience-experience-placeholder`)};b.propTypes={embedCode:o().string,featureKey:o().string,featureId:o().string,id:o().string,type:o().string};var y=b;const v=({id:e,type:t="ugc-experience",embedCode:r})=>r?(0,f.jsx)("div",{className:"audience-embed-code",dangerouslySetInnerHTML:{__html:r}}):e&&"ugc-experience"===t?(0,f.jsxs)("div",{children:[(0,f.jsx)("style",{children:`@keyframes audience-${e}-loader-hide { 0% { visibility: hidden } 99% { visibility: hidden } 100% { visibility: visible }}`}),(0,f.jsx)("div",{id:`audience-${e}-loader`,style:{animation:`audience-${e}-loader-hide 5s`},children:(0,f.jsx)("a",{className:(0,a.A)(["audience-loader-link"]),target:"_blank",href:`https://xp.audience.io/experience/${e}`,rel:"noreferrer",children:"Experience not loading? Click here"})}),(0,f.jsx)("div",{className:(0,a.A)(["audience-container"]),"data-load-enabled":"true","data-load-behavior":"embed","data-load-revisit-enabled":"true","data-load-revisit-behavior":"embed","data-id":e,"data-type":"experience"})]}):null;v.propTypes={id:o().string,embedCode:o().string,type:o().oneOf(["ugc-experience"])};var w=v;const x="ugc-experience",M={"ugc-experience":"https://xp.audience.io/sdk.js"};const _=({customFields:e,featureKey:t})=>{const{arcSite:r,id:i,isAdmin:o,isAmp:u=!1}=(0,l.useFusionContext)(),{experienceId:h,experienceEmbedCode:p,experienceType:m=x}=e||{},g=!h&&!p,b=(0,s.useContent)(g?(0,d._i)({source:"site-service",query:{section:e?.experienceSiteServicesSection?.trim()||"/community/user-content"},arcSite:r,static:!0}):{}),{embedCode:v,id:_}=(({customFields:{experienceId:e,experienceEmbedCode:t,experienceType:r},siteServiceData:n})=>{if(e||t)return{id:e,embedCode:t,type:r};const{site:i={}}=n||{};return{id:i?.audience_experience_id,embedCode:i?.audience_experience_embed_code,type:r}})({customFields:e,siteServiceData:b}),O=!(!m||!_&&!v);return(0,n.useEffect)(()=>{O&&(e=>{const t=M?.[e],r=`audience-${e}-script`;if(t&&!document.querySelector(`script[src="${t}"]`)){const e=document.createElement("script");e.src=t,e.async=!0,e.id=r,document.head.appendChild(e)}})(m)},[O]),o?(0,f.jsx)(y,{id:_,embedCode:v,featureKey:t,featureId:i,type:m}):!O||u?null:(0,f.jsx)("div",{className:(0,a.A)(["audience-experience","mb-3"]),children:(0,f.jsx)(c(),{id:t||i,children:(0,f.jsx)(w,{id:_,type:m,embedCode:v})})})};_.propTypes={customFields:o().shape({experienceType:o().oneOf(["ugc-experience"]).tag({defaultValue:x,description:"Type of Audience experience",labels:{"ugc-experience":"UGC"},name:"Type"}
2),experienceEmbedCode:o().richtext.tag({description:"Embed code from Audience experience share tools. This should be HTML with 'data-id' and 'data-type' attributes",group:"Manual Configuration",hidden:!1,name:"Embed Code"}),experienceId:o().string.tag({description:"ID of Audience experience (ex: 1818997). This will be ignored if an embed code has also been provided.",group:"Manual Configuration",name:"ID"}),experienceSiteServicesSection:o().string.tag({defaultValue:"/community/user-content",description:"Site Services section path for dynamic configuration",group:"Dynamic Configuration",name:"Site Services Section"})}),featureKey:o().string},_.label="Engagement - Audience Experience",_.icon="video-edit-magic-wand-1";var O=_},2917:function(e,t,r){"use strict";r.r(t);const n=()=>null;n.icon="alert-circle",n.label="Engagement - Comments (DEPRECATED)",t.default=n},3367:function(e,t,r){"use strict";r.r(t);const n=()=>null;n.icon="alert-circle",n.label="Engagement - Join The Conversation Teaser (DEPRECATED)",t.default=n},7338:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return z}});var n=r(3287),i=r(4321),o=r(6780),a=r.n(o),s=r(809),l=r(8755),u=r(5363),c=r(1032);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=(e={})=>{if(!e)return null;const{active:t=!1,counts:r={},id:n="",percents:i={},question:o="",responses:a={},sponsor:s}=e;return n&&o&&Object.keys(a).length&&Object.keys(r).length?{hasSponsor:!(!s||""===s),id:n,isActive:(0,c.w)(t),question:(0,u.D4)(o),responses:[...Object.keys(a).map(e=>{const t=(0,u.D4)(a[e]||"");let n=null,o=null;try{n=parseInt(r[e],10)}catch(e){console.log(`\tpollsDataParser Caught Error (votes)\n\t\t${e.toString()}`)}try{o=i[e]}catch(e){console.log(`\tpollsDataParser Caught Error (percentage)\n\t\t${e.toString()}`)}return{id:e,value:t,votes:n,percentage:o}})],sponsorImageUri:s}:null};var m=(e,t={})=>{const{id:r=null,index:n=0}=t;if(0===(e||[]).length)return null;if(0===e.filter(e=>{const{active:t=!1}=e;return(0,c.w)(t)}).length)return null;const i=e.map(e=>p(e)).filter(e=>e?!0===e.isActive:null),o=r&&i.filter(e=>e.id===r).length>0?i.find(e=>e.id===r):i[n]||i[0]||{};if(!Object.keys(o).length)return null;return h(h({},o),{},{dataTransformedAt:(new Date).toISOString()})},g=r(9704);const b={transform:m,request:e=>{const{"arc-site":t,gsyncSiteId:r}=e;if(!t||""===t)throw new Error("website is required");return l.A.get(`${g._i.poll(t,r)}`,{params:{rnd:Math.floor(1e6*Math.random()),"arc-site":t}})}},y={transform:(e={})=>{if(!e)return null;const t=p(e);if(t)return t;throw new Error("Data cannot be transformed")},request:({pollId:e,responseId:t})=>{if(!e||""===e||!t||""===t)throw new Error("pollId and responseId is required");const r=new FormData;return r.append("poll",`${e}`),r.append("response",`${t}`),l.A.post(`${g._i.pollCastVote()}`,r,{headers:{"Content-Type":"multipart/form-data; boundary=--------------------------515890814546601021194782"}})}};var v=r(1384),w=r(4676);var x=e=>{if(!(0,w.Bd)())return null;const{polls:t=[]}=JSON.parse(window.localStorage.getItem("gPollResponses")||"{}");return t.find(t=>t.id===e)};var M=(e,t)=>{if(window&&e){const{polls:r=[]}=JSON.parse(window.localStorage.gPollResponses||"{}"),n=r.filter(e=>{const{expiry:t}=e;return!!(!t||t>Date.now())});n.push({id:e,response:t,expiry:Date.now()+864e5}),window.localStorage.gPollResponses=JSON.stringify({polls:n})}},_=r(5349);var O=()=>
2(0,_.jsx)("div",{className:(0,n.A)(["poll-submitting","w-100","h-100","d-flex","flex-column","justify-content-center"]),children:(0,_.jsxs)("div",{className:"p-5 text-center",children:[(0,_.jsx)("h2",{className:"display-5 fw-bolder",children:"Please Wait While Form Submits"}),(0,_.jsx)("div",{className:"spinner-border text-primary",style:{width:"4rem",height:"4rem",borderWidth:".75rem"},children:(0,_.jsx)("span",{className:"visually-hidden",children:"Loading..."})})]})}),j=r(9894),S=r.n(j);const A=({id:e,percentage:t,value:r})=>(0,_.jsxs)("div",{className:(0,n.A)(["response |","list-group-item","border-x","border-light","response-result","text-lg-start","w-100"]),"data-id":e,children:[(0,_.jsx)("p",{className:(0,n.A)(["mb-1"]),children:r}),(0,_.jsx)("div",{className:(0,n.A)(["progress"]),children:(0,_.jsx)("div",{className:(0,n.A)(["progress-bar"]),style:{width:t||"0%"},children:t||"0%"})})]});A.propTypes={id:S().string.isRequired,percentage:S().string,value:S().string.isRequired,votes:S().number};var P=A;const k=({responses:e})=>(0,_.jsxs)("div",{className:(0,n.A)(["responses |","flex-fill","mb-3"]),children:[(0,_.jsx)("div",{className:(0,n.A)(["px-3"]),children:(0,_.jsx)("h6",{className:(0,n.A)(["response-greeting |","text-center","mb-3"]),children:"Thank you for participating."})}),(0,_.jsx)("div",{className:(0,n.A)(["list-group","list-group-flush","d-lg-flex","flex-lg-row","flex-lg-wrap","justify-content-lg-center"]),children:e.map(({id:e,percentage:t,value:r,votes:n})=>(0,_.jsx)(P,{id:e,percentage:t,value:r,votes:n},e))})]});k.propTypes={responses:S().arrayOf(S().object).isRequired};var T=k;const E=({id:e,isChecked:t,pollId:r,value:i,onResponseChangeHandler:o})=>{const a=`option-${e}`;return(0,_.jsx)("div",{className:(0,n.A)(["question |","list-group-item","border-x","border-light","response-option","text-lg-center"]),children:(0,_.jsxs)("div",{className:(0,n.A)(["form-check"]),children:[(0,_.jsx)("input",{className:(0,n.A)(["form-check-input"]),type:"radio",name:`questions-${r}`,onChange:()=>o(e),id:a,value:e,checked:t}),(0,_.jsx)("label",{className:(0,n.A)(["form-check-label"]),htmlFor:a,children:i})]})})};E.propTypes={id:S().string.isRequired,isChecked:S().bool.isRequired,pollId:S().string,value:S().string.isRequired,onResponseChangeHandler:S().func.isRequired};var C=E;const D=({pollId:e,questions:t,selectedPollResponse:r,onResponseChangeHandler:i})=>(0,_.jsx)("div",{id:`questions-${e}`,className:(0,n.A)(["questions |","flex-fill","mb-3"]),children:(0,_.jsx)("div",{className:(0,n.A)(["list-group","list-group-flush","d-lg-flex","flex-lg-row","flex-lg-wrap","justify-content-lg-center"]),children:t.map(({id:t,value:n})=>(0,_.jsx)(C,{id:t,isChecked:r===t,pollId:e,value:n,onResponseChangeHandler:i},t))})});D.propTypes={pollId:S().string,questions:S().arrayOf(S().object).isRequired,selectedPollResponse:S().string,onResponseChangeHandler:S().func.isRequired};var N=D;const I=({sponsorImageUri:e})=>(0,_.jsx)("div",{className:(0,n.A)(["sponsor","d-flex","flex-column","flex-md-shrink-1","flex-md-grow-0","align-content-center","justify-content-center","px-3","mb-3"]),children:(0,_.jsxs)("div",{className:"sponsor-container",children:[(0,_.jsx)("div",{className:"sponsor-disclaimer text-center m-auto",children:(0,_.jsx)("span",{className:"fw-lighter fst-italic",children:"sponsored by:"})}),(0,_.jsx)("div",{className:"sponsor-logo | m-auto",style:{backgroundImage:`url(${e})`}})]})});I.propTypes={sponsorImageUri:S().string.isRequired};var R=I;function L(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?L(Object(r),!0).forEach(function(t){q(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function q(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const U=({arcSiteOverride:e,customFields:t={}})=>{const{arcSite:r}=(0,i.useFusionContext)(),{overrideGsyncSiteId:o}
2=t,a=o||null,[l,u]=(0,s.useState)({hasSponsor:!1,id:null,isFormSubmitting:!1,isPollLoading:!0,hasBeenSubmitted:!1,pollResponseSubmitted:!1,question:null,requestedSiteId:a,responses:null,selectedPollResponse:null,sponsorImageUri:null});(0,s.useEffect)(()=>{(()=>{const{request:t,transform:n}=b;t({"arc-site":e||r,gsyncSiteId:a}).then(e=>{const t=e&&e.data&&n(e.data);if(!t)return u(e=>B(B({},e),{},{hasBeenSubmitted:!1,isFormSubmitting:!1,isPollLoading:!1})),null;const{id:r}=t,i=x(r);return u(e=>B(B(B({},e),t&&t),{},{hasBeenSubmitted:e.hasBeenSubmitted||!!i,isFormSubmitting:!1,isPollLoading:!1})),null})})()},[]);const{hasSponsor:c,id:d,isFormSubmitting:h,hasBeenSubmitted:f,question:p,requestedSiteId:m,responses:g,selectedPollResponse:w,sponsorImageUri:j}=l;return d?(0,_.jsxs)("div",{className:(0,n.A)(["gsync-gpoll |","mb-3"]),"data-requested-site-id":m,children:[(0,_.jsx)("div",{className:(0,n.A)(["poll",{blur:l.isFormSubmitting}]),children:(0,_.jsxs)("div",{className:(0,n.A)(["card","shadow-sm","bg-white","mb-0"]),children:[(0,_.jsx)("div",{className:(0,n.A)(["card-header","p-2"]),children:(0,_.jsx)("h5",{className:(0,n.A)(["mb-0"]),children:`POLL:  ${p}`})}),(0,_.jsxs)("div",{className:(0,n.A)(["card-body","px-1"]),children:[(0,_.jsxs)("div",{className:(0,n.A)(["d-flex","flex-wrap","flex-sm-nowrap","flex-column","flex-sm-row","mb-0"]),children:[f?(0,_.jsx)(T,{responses:g}):(0,_.jsx)(N,{pollId:d,questions:g,selectedPollResponse:w,onResponseChangeHandler:e=>{u(t=>B(B({},t),{},{selectedPollResponse:e}))}}),c&&(0,_.jsx)(R,{sponsorImageUri:j})]}),!f&&(0,_.jsx)("div",{className:(0,n.A)(["row","justify-content-center"]),children:(0,_.jsx)("div",{className:(0,n.A)(["col-8","col-md-4"]),children:(0,_.jsx)(v.A,{ariaLabel:"SubmitResponse",buttonIsBlock:!0,buttonSize:"sm",buttonText:"Vote",color:"primary",isDisabled:!w,onClickHandler:()=>{(()=>{u(e=>B(B({},e),{},{isFormSubmitting:!0}));const{request:e,transform:t}=y;e({"arc-site":r,pollId:l.id,responseId:l.selectedPollResponse}).then(({data:e={}})=>{const r=t(e);M(l.id,l.selectedPollResponse),u(e=>B(B(B({},e),r&&r),{},{hasBeenSubmitted:!0,isFormSubmitting:!1,isPollLoading:!1}))}).catch(e=>{console.error(e),u(e=>B(B({},e),{},{hasBeenSubmitted:!0,isFormSubmitting:!1,isPollLoading:!1}))})})()}})})})]})]})}),h&&(0,_.jsx)(O,{})]}):null};U.propTypes={arcSiteOverride:a().string,customFields:a().shape({overrideGsyncSiteId:a().string.tag({defaultValue:null,description:"To use another site's GSync data, add that id here. If left blank the id declared in site properties will be used.",group:"GSync Options",name:"Override GSync Site ID"})})},U.label="GSync - GPoll";var z=U},8122:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return f}});var n=r(809),i=r(3287),o=r(4321),a=r(7508),s=r.n(a),l=r(6780),u=r.n(l),c=r(9704);var d=r(5349);const h=({customFields:e={}})=>{const{overrideGsyncSiteId:t,scoreboardType:r="local",seasonId:a=null,sportId:l=null}=e,{arcSite:u,siteProperties:h={}}=(0,o.useFusionContext)(),{locale:f}=h,p=s()(f||"en");return(0,n.useEffect)(()=>{window?.iFrameResize&&window.iFrameResize({log:!1,checkOrigin:!1},"#gsync-sports-scores")},[]),(0,d.jsx)("div",{className:(0,i.A)(["gsync-sports-scores |","mb-3"]),children:(0,d.jsx)("iframe",{id:"gsync-sports-scores",className:(0,i.A)(["d-block","w-100","mb-3"]),title:p.t("gsync.sportsScores.sportsScoresTitle"),src:(()=>{const e=["//webpubcontent.gray.tv/gdm/gsync/#/embed/fusion/sports-scores",r||"local",t||(0,c.HI)(u,"sports-scores")];return a&&e.push(a),a&&l&&e.push(l),e.join("/")})(),seamless:"seamless",frameBorder:"0",scrolling:"no",allowFullScreen:!0})})};h.propTypes={customFields:u().shape({overrideGsyncSiteId:u().string.tag({defaultValue:null,description:"To use another site's GSync data, add that ID here. If left blank, the ID declared in site properties will be used.",group:"GSync Options",name:"Override GSync Site ID"}),scoreboardType:u().oneOf(["local"]).tag({defaultValue:"local",name:"Scoreboard"}),seasonId:u().string.tag({defaultValue:null,description:"If the Season ID is entered, the scoreboard will load the identified season by default.",name:"Season ID"}),sportId:u().string.tag({defaultValue:null,description:"If the Sport ID (in addition to the Season ID) is entered, the scoreboard 
2will load the identified season by default. NOTE: A Season ID MUST BE PASSED in addition to the Sport ID. ",name:"Sport ID"})})},h.label="GSync - Sports Scores";var f=h},2759:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return _}});r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4321),s=r(7168),l=r(5771),u=r(5349);function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(Object(r),!0).forEach(function(t){h(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function h(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const f=({bgColor:e="#3bf4ab",imageRatio:t="dynamic",imgSrc:r,layout:n="horizontal",linkUrl:i,name:a,tagline:s})=>{const c=["card","mb-0","h-100",n],h="vertical"===n,f=(t&&"dynamic"!==t?t:h?"16:9":"1:1").replace(":"," / "),p=(0,u.jsx)("div",{className:(0,o.A)(["promo-image","p-3",h?"card-img-top":["h-100","rounded-start"]]),style:d(d({},h&&{aspectRatio:f}),{},{backgroundColor:e,backgroundImage:`url(${r})`})}),m=(0,u.jsxs)("div",{className:(0,o.A)(["card-body","d-flex flex-column","justify-content-center","h-100"]),children:[(0,u.jsx)("h5",{className:(0,o.A)(["card-title","mb-1"]),children:(0,u.jsx)(l.N_,{classes:"text-reset",href:i,children:a})}),s&&(0,u.jsx)("p",{className:(0,o.A)(["card-text"]),children:s})]});return h?(0,u.jsxs)("div",{className:(0,o.A)([...c]),children:[(0,u.jsx)(l.N_,{classes:"text-reset d-block",href:i,children:p}),m]}):(0,u.jsx)("div",{className:(0,o.A)([...c]),children:(0,u.jsxs)("div",{className:(0,o.A)(["row","g-0","h-100"]),children:[(0,u.jsx)("div",{className:(0,o.A)(["col","img-col"]),style:{aspectRatio:f},children:(0,u.jsx)(l.N_,{classes:"text-reset h-100 d-block",href:i,children:p})}),(0,u.jsx)("div",{className:(0,o.A)(["col-8"]),children:m})]})})};f.propTypes={bgColor:i().string,imageRatio:i().string,imgSrc:i().string,layout:i().string,linkUrl:i().string,name:i().string,tagline:i().string};var p=f;const m=["#00e2f2","#3bf4ab","#fbc746"];var g=e=>`display${e.replace(/^./,e=>e.toUpperCase())}`,b=r(3054),y=r(9837);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function x(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const M=({customFields:e={}})=>{const{cardLayout:t="horizontal",hideTagline:r=!1,imageRatio:n="dynamic",titleBarOpenInNewWindow:i=!1,titleBarText:l,titleBarHeadingLevel:c=2,titleBarTextWeight:d="bold",titleBarUrl:h}=e,{contextPath:f,pagebuilderURL:v}=(0,a.useAppContext)(),x=Object.entries(b.A).sort(([,e],[,t])=>e.priority-t.priority).filter(([t])=>e[g(t)]).map(([,e])=>e);return(0,u.jsxs)("div",{className:(0,o.A)(["puzzles-promo","d-flex","flex-column","mb-3"]),children:[l&&(0,u.jsx)(s.A,{headingLevel:c&&parseInt(c,10)||2,openInNewWindow:i,title:l,textWeight:d,url:h}),(0,u.jsx)(y.V,w(w({},e),{},{children:x.map((e,i)=>(0,u.jsx)(p,{bgColor:m[i%m.length],imageRatio:n,layout:t,name:e.title,imgSrc:v(`${f}/resources/images/game-graphics/puzzles/${e.imgSrc}`),linkUrl:e.url,tagline:r?void 0:e?.tagline},e.title))}))]})};M.icon="layers-grid-settings",M.label="Games - Puzzles Promo",M.propTypes={customFields:i().shape(w(w(w({},(0,s.G)()),y.M),{},{cardLayout:i().oneOf(["horizontal","vertical"]).tag({defaultValue:"horizontal",description:"Card display layout",group:"Card Layout",name:"Card Template"}),hideTagline:i().bool.tag({defaultValue:!1,description:"Hide tagline below game name",group:"Card Layout",name:"Hide Tagline"}),imageRatio:i().oneOf(["dynamic","16:9","4:3","3:1","3:2","1:1"]).tag({defaultValue:"dynamic",description:"Aspect ratio for game promo images",group:"Card Layout",name:"Image Ratio"})},Object.entries(b.A).reduce((e,[t,{isDefault:r=!1,title:n}])=>w(w({},e),{},{[g(t)]:i().bool.tag({defaultValue:r,description:`Display ${n}`,group:"Games Displayed",name:n})}),{})))};var _=M},768:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(3287),s=r(6542),l=r(5349);const u=({customFields:e={}})=>{const{clientId:t,templateId:r,playlistId:n}=e,{id:i,isAdmin:u}=(0,o.useFusionContext)();return t&&""!==t&&r&&""!==r&&n&&""!==n?(0,l.jsx)("div",{className:(0,a.A)(["acc-playlist-player","mb-3"]),children:(0,l.jsx)("div",{className:(0,a.A)(["ratio","ratio-16x9"]),children:(0,l.jsx)("iframe",{src:`//players.brightcove.net/${t.trim()}/${r.trim()}/index.html?playlistId=${n.trim()}`,allowFullScreen:"",allow:"encrypted-media"})})}):(()=>
2{if(!u)return null;const e=["font-weight-bold","font-style-italic"];return(0,l.jsx)(s.A,{classes:(0,a.A)(["bg-secondary","w-100","mb-3"]),children:(0,l.jsxs)("p",{className:(0,a.A)(["text-white","py-4"]),children:[(0,l.jsx)("span",{className:(0,a.A)(e),children:"Client ID"}),","," ",(0,l.jsx)("span",{className:(0,a.A)(e),children:"Template ID"})," and"," ",(0,l.jsx)("span",{className:(0,a.A)(e),children:"Playlist ID"})," ",(0,l.jsx)("i",{children:"Visual Media - ACC Playlist Player"})]})},i)})()};u.propTypes={customFields:i().shape({clientId:i().string.tag({name:"Client ID",group:"Playlist Data",defaultValue:"6050660109001"}),templateId:i().string.tag({name:"Template ID",group:"Playlist Data"}),playlistId:i().string.tag({name:"Playlist ID",group:"Playlist Data"})})},u.label="Visual Media - ACC Playlist Player",t.default=u},7340:function(e,t,r){"use strict";r.r(t),r.d(t,{FullWidthPromoContainer:function(){return d},default:function(){return b}});r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4375),s=r(891),l=r(2289),u=r(5349);const c=({description:e,disableRoundedCorners:t=!1,headline:r,children:n})=>(0,u.jsx)("div",{className:(0,o.A)(["fw-promo-container","bg-primary-branding","position-relative","py-3",{rounded:!t},"text-white"]),children:(0,u.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,u.jsxs)("div",{className:(0,o.A)(["row","justify-content-center"]),children:[(0,u.jsxs)("div",{className:(0,o.A)(["d-flex","flex-column","justify-content-center","col-12 col-sm-8 col-md-8 col-lg-9 col-xl-8"]),children:[r?(0,u.jsx)("h4",{className:(0,o.A)(["headline |","mb-0","fw-bold","mb-3","mb-sm-1"]),children:r}):null,e?(0,u.jsx)("div",{className:(0,o.A)(["description | ","fw-normal","d-none","d-sm-block"]),"data-tb-description":"",children:e}):null]}),(0,u.jsx)("div",{className:(0,o.A)(["d-flex","flex-column","col-12 col-sm-4 col-md-4 col-lg-3 col-xl-4"]),children:n})]})})});c.propTypes={children:i().node,description:i().string,disableRoundedCorners:i().bool,headline:i().string};var d=c,h=r(1032);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?f(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=e=>{const{customFields:t={}}=e,{contentConfig:r,disableRoundedCorners:n=!1,videoDescriptionField:i="description.basic"}=t,c=(0,a.useContent)((0,h._i)(r)),f=(0,l._)(c,i),m=(0,l.I)(c);return c?._id?(0,u.jsx)("div",{className:(0,o.A)(["arc-video-promo |","mb-3"]),children:(0,u.jsx)(d,{description:f,disableRoundedCorners:n,headline:m,children:(0,u.jsx)(s.default,{customFields:p(p({},t),{},{videoTitleDisplayed:!1,videoDescriptionDisplayed:!1}),data:c,removeBottomMargin:!0,removeBottomPadding:!0})})}):null};g.propTypes={customFields:i().shape(p(p({contentConfig:i().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"})},(0,s.videoCustomFields)("",{hideAspectRatioProp:!0,hideDescriptionProp:!0,hideStickyProp:!1,hideTitleProp:!0,hideViewportPercentageProp:!0})),{},{disableRoundedCorners:i().bool.tag({default:!1,description:"Check this to disable the default rounded corners",name:"Disable Rounded Corners"})}))},g.label="Visual Media - Arc Video Promo";var b=g},9239:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4321),s=r(238),l=r(6142),u=r(5653),c=r(716),d=r(5349);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=({customFields:e})=>{const{actionBarEnabled:t=!0,headlineSize:r=1,headlineWeight:n="bold",subheadlineSize:i=5,subheadlineWeight:h="normal",subHeadlineStyle:f="normal",subheadlineColor:p="default",hideBylines:m=!1,hidePublishedDateTime:g=!1,hideShareBar:b=!1,hideSubheadline:y=!1,hideUpd
2atedDateTime:v=!1,linkBylinesToProfiles:w,updatedDateOptions:x="momentsAgo"}=e||{},{globalContent:M,outputType:_="default",siteProperties:O}=(0,a.useFusionContext)(),{timezone:j}=O,{credits:S,display_date:A,first_publish_date:P,headlines:k,subheadlines:T={}}=M,{basic:E=""}=k,{basic:C=""}=T,D=!0===b||!1===t;return(0,d.jsxs)("div",{className:(0,o.A)(["row","mb-3"]),children:[(0,d.jsx)(l.A,{headlineClasses:(0,o.A)(["col"]),headlineLevel:r,headlineText:E,headlineWeight:n,hideSubheadline:y,subheadlineClasses:(0,o.A)(["col",{"text-secondary":"grey"===p},{"fst-italic":"italicized"===f}]),subheadlineLevel:i,subheadlineText:C,subheadlineWeight:h}),!m&&(0,d.jsx)(u.A,{bylineClasses:(0,o.A)([""]),containerClasses:(0,o.A)(["col-12"]),credits:S,isClickable:w,useBoldBylines:!1,outputType:_}),(!g||!v)&&(0,d.jsx)(c.A,{className:(0,o.A)(["fst-italic","d-inline-block"]),containerClasses:(0,o.A)(["col-12"]),publishedDateTime:P,updatedDateTime:A,updatedDisplayDateOption:x,showPublishedDateTime:!g,showUpdatedDateTime:!v,timeZone:j}),!D&&(0,d.jsx)(s.default,{contentData:M,customFields:e})]})};p.propTypes={globalContent:i().object,customFields:i().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({headlineSize:i().oneOf([1,2,3]).tag({name:"Headline Size",group:"Headline",defaultValue:1,labels:{1:"H1",2:"H2",3:"H3"}}),headlineWeight:i().oneOf(["bold","bolder","normal","light","lighter"]).tag({name:"Headline Weight",group:"Headline",defaultValue:"bold",labels:{bold:"Bold",bolder:"Bolder",normal:"Normal",light:"Light",lighter:"Lighter"}}),subheadlineSize:i().oneOf([3,4,5,6]).tag({name:"Subheadline Size",group:"Subheadline",defaultValue:5,labels:{3:"H3",4:"H4",5:"H5",6:"H6"}}),subheadlineWeight:i().oneOf(["bold","bolder","normal","light","lighter"]).tag({name:"Subheadline Weight",group:"Subheadline",defaultValue:"light",labels:{bold:"Bold",bolder:"Bolder",normal:"Normal",light:"Light",lighter:"Lighter"}}),subHeadlineStyle:i().oneOf(["normal","italicized"]).tag({name:"Subheadline Style",group:"Subheadline",defaultValue:"normal",labels:{normal:"Default",italicized:"Italicized"}}),subheadlineColor:i().oneOf(["default","grey"]).tag({name:"Subheadline Color",group:"Subheadline",defaultValue:"default",labels:{default:"Default",grey:"Grey"}}),hideSubheadline:i().bool.tag({name:"Hide Subheadline?",group:"Subheadline"}),hideBylines:i().bool.tag({name:"Hide Bylines",group:"Byline",defaultValue:!1}),linkBylinesToProfiles:i().bool.tag({name:"Link Bylines to Author Profiles",group:"Byline",defaultValue:!1}),hidePublishedDateTime:i().bool.tag({name:"Hide Published Date",group:"Date/Time",defaultValue:!1}),hideUpdatedDateTime:i().bool.tag({name:"Hide Updated Date",group:"Date/Time",defaultValue:!1}),updatedDateOptions:i().oneOf(["momentsAgo","momentsAgoClient","dateAndTime"]).tag({name:"Updated Date Display Options",group:"Date/Time",ordered:!1,defaultValue:"momentsAgo",labels:{momentsAgo:"Moments Ago",momentsAgoClient:"Moments Ago (Client Only)",dateAndTime:"Display Date & Time"}}),hideShareBar:i().bool.tag({description:"Held over from legacy ShareBar. If checked, the Action Bar will NOT display despite new custom field settings. Uncheck and non-deprecated custom field settings will be applied.",name:"Hide Social Share Bar?  (Deprecated)",group:"Action Bar",defaultValue:!1}),actionBarEnabled:i().bool.tag({defaultValue:!0,description:"If checked, Action Bar will be displayed.",group:"Action Bar",name:"Enable Action Bar?"})},s.actionBarCfProps))},p.label="Visual Media - Header",p.lazy=!1,t.default=p},5446:function(e,t,r){"use strict";r.d(t,{h:function(){return o}});var n=r(6780),i=r.n(n);const o=(e="")=>{const t=e?.trim(),r=t?`${t} `:"";return{galleryAdsDisabled:i().bool.tag({defaultValue:!1,group:`${r}Advertising`,name:"Disable Image Gallery Ads?"}),galleryAdInterval:i().number.tag({defaultValue:5,group:`${r}Advertising`,max:30,min:3,name:"Image Gallery Ad Interval",step:1}
2),galleryAdsSlotName:i().string.tag({description:"A value here (beginning with `/`, but not ending with `/`) will override the complete content-related ad path.",group:`${r}Advertising`,name:"Image Gallery Slot Name."}),galleryImageFetchPriority:i().oneOf(["high","low"]).tag({defaultValue:"low",description:"If high, the image will be preloaded at the top of the page so it is available when the user first sees the feature. If low, the image loads normally.",group:`${r}Performance`,name:"Gallery Image Fetch Priority"})}}},8918:function(e,t,r){"use strict";r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4375),s=r(4321),l=r(5446),u=r(3189),c=r(1032),d=r(5349);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=e=>{const{customFields:t}=e,{globalContent:r}=(0,s.useFusionContext)(),n=(0,a.useContent)(e.data?{}:(0,c._i)(t?.contentConfig))||e.data||r;if("gallery"!==n?.type)return null;const{content_elements:i=[]}=n;return(0,d.jsx)("amp-carousel",{class:(0,o.A)(["mb-3","amp-image-gallery"]),width:600,height:400,layout:"responsive",controls:!0,type:"slides",children:i.map(e=>{const t=e?.caption,r=(e?.credits?.by||[]).map(e=>e.byline).join("|")||"",n=(e?.credits?.affiliation||[]).map(e=>e.name).join("|")||"",i=`${r}${r&&n&&" | "}${n}`;return(0,d.jsxs)("div",{className:"slide",children:[(0,d.jsx)(u.Ay,{ANSImage:e,aspectRatio:"3:2",isAmp:!0,layout:"fill",resizedOptions:{smart:!0},responsiveImages:[800,1200],width:600}),t||i?(0,d.jsx)("div",{className:(0,o.A)(["caption","px-1","pb-1","pt-2"]),children:(0,d.jsxs)("amp-fit-text",{height:t&&i?"52":"40",layout:"fixed-height","max-font-size":"14",children:[t&&(0,d.jsx)("span",{className:(0,o.A)(["caption-text"]),dangerouslySetInnerHTML:{__html:t||""}}),i&&(0,d.jsx)("span",{className:(0,o.A)(["caption-credit"]),children:`(${i})`})]})}):null]},e._id)})})};p.propTypes={globalContent:i().object,data:i().object,customFields:i().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({contentConfig:i().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"})},(0,l.h)())),width:i().number,height:i().number},t.default=p},9403:function(e,t,r){"use strict";r.r(t),r.d(t,{AmpImageGallery:function(){return I.default},default:function(){return q},galleryCustomFields:function(){return c.h}});var n=r(809),i=r.n(n),o=r(6780),a=r.n(o),s=r(4375),l=r(4321),u=r(3287),c=r(5446),d=r(9894),h=r.n(d),f=r(5349);const p=i().memo(e=>{const{isAutoplay:t=!1,photoIndexDisplay:r,pressLeft:n,pressRight:i,toggleAutoplay:o}=e;return(0,f.jsxs)("nav",{className:(0,u.A)(["toolbar","d-flex","flex-row","justify-content-between","width-full"]),children:[(0,f.jsx)("span",{className:(0,u.A)(["toolbar-buttons","flex-container-row"]),children:(0,f.jsxs)("span",{className:"flex-container-row ",children:[(a=o,s=t?"fa-pause":"fa-play",l="Autoplay",c=["hidden-sm"],(0,f.jsxs)("div",{className:(0,u.A)(["me-5","pointer","py-2",...c]),"aria-label":l,tabIndex:"0",onClick:a,role:"button",children:[(0,f.jsx)("i",{className:(0,u.A)(["fa",s,"me-1"])}),(0,f.jsx)("span",{className:"hidden-sm",children:l})]})),(0,f.jsx)("span",{className:`spinner-container align-self-center ${t}`,children:(0,f.jsx)("span",{className:"spinner spinner-sm"})})]})}
2),(0,f.jsxs)("span",{className:(0,u.A)(["photo-index","text-align-right","d-flex","align-items-center","font-md"]),children:[(0,f.jsx)("span",{className:"me-3",children:r}),(0,f.jsx)("i",{className:(0,u.A)(["fa fa-2x fa-caret-left","select-previous-photo","text-dark","pointer"]),onClick:n,role:"button"}),(0,f.jsx)("i",{className:(0,u.A)(["fa fa-2x fa-caret-right","select-next-photo","text-dark","pointer","ms-1"]),onClick:i,role:"button"})]})]});var a,s,l,c});p.displayName="Toolbar",p.propTypes={isAutoplay:h().bool,imageTotal:h().number,index:h().number,photoIndexDisplay:h().string,pressLeft:h().func,pressRight:h().func,toggleAutoplay:h().func};var m=p,g=r(5267),b=r(9807),y=r(3189);const v=e=>{const{content:t={},currentPhoto:r,currentPhotoIndex:n=0,dfpSlotName:i="",displayAd:o=!1,imageFetchPriority:a,leftButton:s,rightButton:l}=e,{content_elements:c=[]}=t,d=c.slice(n,5),{caption:h,credits:p}=r,m=o?"4:3":"3:2";return(0,f.jsxs)(b.A,{caption:h,containerClasses:(0,u.A)(["photo-container",`photo-index-${n}`,"photos","position-relative","h-100","w-100"]),containerRatio:m,credits:p,itemWrapperClasses:(0,u.A)(["bg-dark"]),showCaption:!o,showCredits:!o,children:[(0,f.jsxs)(f.Fragment,{children:[s(),o?(0,f.jsx)(f.Fragment,{children:(0,f.jsx)(g.default,{advertisementText:g.defaultAdText,customFields:{arcAdsSlot:i,arcAdsDisclaimerPosition:g.adChildrenPositions.defaultValue,arcAdsDisableLazyLoad:!0,arcAdsDisableTopMargin:!0,arcAdsExcludeContentPath:!1,arcAdsDisplay:g.adDisplayOptions.defaultValue,arcAdsType:g.defaultAdType.name,arcAdsDisableRefresh:!1},globalContent:t,isAmp:!1,adClassNamesExternal:(0,u.A)(["gallery-ad","ad-photo-gallery"])})}):(0,f.jsx)(y.Ay,{ANSImage:r,aspectRatio:m,fetchPriority:a,imageClasses:(0,u.A)(["photo","bg-dark","img-fluid",{active:!0}]),loading:"eager",responsiveImages:[800,1200],resizedOptions:{smart:!0},width:1200},`current-${r._id}`),l()]}),d.length>0?d.map(e=>(0,f.jsx)(y.Ay,{ANSImage:e,altText:"preloaded gallery image",aspectRatio:m,fetchPriority:a,imageClasses:(0,u.A)(["photo |","invisible"]),loading:"eager",responsiveImages:[800,1200],resizedOptions:{smart:!0},width:1200},`preload-${e._id}`)):null]})};v.displayName="PhotosContainer",v.propTypes={content:h().object,currentPhoto:h().object,currentPhotoIndex:h().number,dfpSlotName:h().string,displayAd:h().bool,imageFetchPriority:h().string,leftButton:h().func,rightButton:h().func};var w=v,x=r(4676);const M={NEXT:"NEXT",PREVIOUS:"PREVIOUS"},_=(e=1,t=!1,r=5,n=!1)=>!(!(0,x.Bd)()||n)&&(t&&e%r===0),O=(e=0,t=0)=>`${t+(t===e?0:1)} of ${e}`,j=i().memo(e=>{const{direction:t,onClick:r}=e,n=t===M.PREVIOUS;return(0,f.jsx)("div",{"aria-label":"change-photo",className:(0,u.A)(["gallery-navigation |",{"select-previous-photo":n},{"select-next-photo":!n},"zindex-high","position-absolute",{"absolute-right":!n},"top","pointer","d-flex","flex-column","h-100","w-50","justify-content-center",{"align-items-end":!n},{"align-items-start":n}]),name:`${t}`,onClick:r,tabIndex:"0",role:"button",children:(0,f.jsx)("i",{className:(0,u.A)(["fa fa-2x",{"fa-angle-left":n},{"fa-angle-right":!n},"text-white",{"me-1":n},{"ps-3":n},{"pe-3":!n}])})})});j.displayName="NavigationButton",j.propTypes={direction:h().oneOf(Object.keys(M)),onClick:h().func};var S=j;function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?A(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):A(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function k(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T={adCount:1,autoPlayDelay:4e3,currentImage:{},enableAds:!1,adThreshold:5,images:[],imageTotal:0,index:0,isAutoplay:!1,isLoading:!0,isLoaded:!1,photoIndexDisplayText:"",maxLength:0},E=(e,t)=>{switch(t.type){case"INIT":return P(P({},e),{},{currentImage:t.currentImage,enableAds:t.enableAds,adThreshold:t.adThreshold,images:t.images||[],imageTotal:t.imageTotal,index:t.index,isLoaded:!0,maxLength:t.maxLength,photoIndexDisplayText:t.photoIndexDisplayText});case"AUTOPLAY":return P(P({},e),{},{isAutoplay:t.isAutoplay});case"INCREMENT_AD_COUNT":return P(P({},e),{},{adCount:t.adCount});case"RESET_INDEX":return P(P({},e),{},{currentImage:t.currentImage,images:t.images||[],imageTotal:t.imageTotal,index:t.index,isAutoplay:t.isAutoplay,isLoaded:!0,maxLength:t.maxLength,photoIndexDisplayText:t.photoIndexDisplayText});case"UPDATE_INDEX":return P(P({},e),{},{currentImage:t.currentImage,index:t.index,photoIndexDisplayText:t.photoIndexDisplayText});case"CLEAR":return T;default:throw new Error("Should not get here")}};
2var C=()=>{const[e,t]=(0,n.useReducer)(E,T),r=(0,n.useCallback)(()=>t({type:"CLEAR"}),[]);return{adCount:e.adCount,currentImage:e.currentImage,enableAds:e.enableAds,imageTotal:e.imageTotal,images:e.images,index:e.index,isAutoplay:e.isAutoplay,isLoaded:e.isLoaded,isLoading:e.isLoading,maxLength:e.maxLength,photoIndexDisplayText:e.photoIndexDisplayText,changePhoto:(r=M.NEXT)=>{const{images:n=[],imageTotal:i=0,index:o=0,maxLength:a=0}=P({},e),s=((e=null,t=0,r=0)=>{let n=null;switch(e){case M.NEXT:n=Math.min(t+1);break;case M.PREVIOUS:n=t-1>=0?t-1:r-1;break;default:n=t}return n})(r,o,i);t(s<=i-1?{type:"UPDATE_INDEX",currentImage:n[s],index:s,photoIndexDisplayText:O(i,s)}:{type:"RESET_INDEX",currentImage:i>0?n[0]:{},images:n,imageTotal:i,index:0,isAutoplay:!1,maxLength:a,photoIndexDisplayText:O(i,0)})},incrementAdCount:()=>{const{adCount:r}=e;t({type:"INCREMENT_AD_COUNT",adCount:r+1})},toggleAutoplay:()=>{e.index<e.imageTotal-1&&t({type:"AUTOPLAY",isAutoplay:!e.isAutoplay})},init:(e=1,r=!1,n,i=[],o=!1,a=!0)=>{const s=i.length,l=s-1;t({type:"INIT",adCount:e,adThreshold:n,currentImage:s>0?i[0]:{},enableAds:r,images:i,imageTotal:s,index:0,isAutoplay:o,isLoading:a,maxLength:l,photoIndexDisplayText:O(s,0)})},clear:r}},D=r(4016),N=r(1032),I=r(8918);function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function L(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const B=e=>{const{customFields:t={}}=e,{contentConfig:r,galleryAdInterval:i=5,galleryAdsDisabled:o=!1,galleryAdsSlotName:a="",galleryImageFetchPriority:c}=t,d=!0!==o,{globalContent:h}=(0,l.useFusionContext)(),p=(0,s.useContent)(e.data?{}:(0,N._i)(r))||e.data||h,{content_elements:g=[]}=p||{},{adCount:b,autoplayDelay:y=4e3,currentImage:v,images:x,imageTotal:O,index:j,isAutoplay:A=!1,isLoading:P,photoIndexDisplayText:k,init:T,changePhoto:E,incrementAdCount:I,toggleAutoplay:R}=C();(0,n.useEffect)(()=>{T(b,d,i,g,A,P)},[p]);const L=!((j+1)%O&&j),B=e=>{_(b,d,i,L)||E(e),I()};return(0,D.A)(()=>{B(M.NEXT)},A?y:null),"gallery"!==p?.type?null:(0,f.jsxs)("div",{className:(0,u.A)(["image-gallery |","position-relative"]),children:[(0,f.jsx)(m,{isAutoplay:A,photoCount:O,photoIndexDisplay:k,pressLeft:()=>B(M.PREVIOUS),pressRight:()=>B(M.NEXT),toggleAutoplay:R}),(0,f.jsx)(w,{content:p,currentPhoto:v,currentPhotoIndex:j,dfpSlotName:a,displayAd:_(b,d,i,L),imageFetchPriority:c,leftButton:()=>(0,f.jsx)(S,{direction:M.PREVIOUS,onClick:()=>B(M.PREVIOUS)}),rightButton:()=>(0,f.jsx)(S,{direction:M.NEXT,onClick:()=>B(M.NEXT)})})]})};B.propTypes={globalContent:a().object,data:a().object,customFields:a().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){L(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({contentConfig:a().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"})},(0,c.h)())),isAmp:a().bool},B.label="Visual Media - Image Gallery",B.lazy=!0;var q=B},8567:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return D}});var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(4375),l=r(3287),u=r(3324),c=r(5511),d=r(2909),h=r(4734),f=r(2225),p=r(2028),m=r(5349);const g=e=>{const{adSlotName:t="",adPrerollEnabled:r=!0,isAutoPlay:i=!1,livestreamHlsFeed:o,livestreamId:s,livestreamTitle:g,posterImageUrl:b}=e,y="true"===(0,u.E)("force-debug"),{arcSite:v,isAdmin:w,siteProperties:x}=(0,a.useFusionContext)(),M=`powa-${s}`,{dfpId:_}=x,O=(0,n.useRef)(),j=!(!(0,c.B)()||"undefined"==typeof document||void 0===window.PoWa||null==o);return y&&console.debug(`PoWaPlayer [${M}
2] render`),(0,n.useEffect)(()=>{if(y&&console.debug(`PoWaPlayer [${M}] useEffect\n\tShould Render? ${j}`),!j)return y&&console.debug(`PoWaPlayer [${M}] Should not render. \n\twindow: ${!!window}\n\tdocument: ${!!document}\n\tPoWa: ${!!window.PoWa}\n\tlivestreamHlsFeed: ${o}`),()=>null;(0,h.RD)();const e=new window.PoWa({id:M,ads:r,autoplay:!w&&i,debug:w||y,error:console.error,getAdTag:()=>{const e=window?.powas?.[M]?.powa;return(0,d.P)({arcSite:v,player:e,backupAdPath:`${_}/${t}`})},live:!0,promo:{image:`${b}`},ready:e=>{try{(0,f.M)(e,{player:e.powa,powaID:M,isLivePowaPlayer:!0,getElementOverride:e.powa.getElement&&e.powa.getElement instanceof Function?null:()=>window.document.getElementById(M),dataOverride:()=>({canonical_website:v,headlines:{basic:g},video_type:"live"})},v)}catch(e){console.log("trackGoldfishError"),console.error(e)}},stream:o});return()=>(y&&console.debug(`PoWaPlayer [${M}] unmount\n\tShould Destroy? ${!(!e||!e.destroy)}`),e&&e.destroy&&e.destroy(),null)},[j]),o&&s?(0,m.jsx)("div",{className:(0,l.A)(["powa-player |"]),children:(0,m.jsx)("div",{ref:O,id:M,className:(0,l.A)(["absolute","powa"]),"data-ads":`${r}`,"data-api":`${p.tU}`,"data-autoplay":i,"data-env":`${p.tU}
2`,"data-ping-rate":"60","data-preroll-ad-path":`${_}/${t}`,style:{paddingBottom:"56.25%"}})}):null};g.propTypes={adPrerollEnabled:o().bool,adSlotName:o().string,isAutoPlay:o().bool,livestreamHlsFeed:o().string,livestreamId:o().string,livestreamTitle:o().string,posterImageUrl:o().string};var b=g,y=r(8755),v=r(6542),w=r(2504);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=(e,t)=>(0,m.jsxs)(v.A,{classes:(0,l.A)(["text-white","bg-secondary","w-100","h-100","small","mb-3"]),styles:{maxWidth:"500px",minHeight:"200px"},children:[(0,m.jsx)("p",{children:"A livestream HLS feed was not found."}),(0,m.jsxs)("div",{className:(0,l.A)(["small"]),children:[(0,m.jsx)("h6",{className:(0,l.A)(["mb-1"]),children:"Site Service Data:"}),(0,m.jsx)("pre",{className:(0,l.A)(["text-white","fst-italic","mb-1"]),style:{whiteSpace:"inherit"},children:`Site Service Section: ${e&&""!==e?e:"UNDEFINED"}`}),(0,m.jsx)("pre",{className:(0,l.A)(["text-white","text-start","fst-italic","mb-1"]),children:t&&Object.entries(t).length>0?JSON.stringify(t,null,2):"Either site service section was not defined or site.syncbak_livestream_tokens wasn't defined in the provided Site Service section."})]})]},`livevideo-admin-placeholder-${e}`);
2var j=r(891),S=r(3189),A=r(9807);r(7983);var P=r(1032);function k(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function T(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?k(Object(r),!0).forEach(function(t){E(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function E(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const C=e=>{const{arcSite:t,contextPath:r,deployment:i,globalContent:o={},id:c,isAdmin:d,mxId:h,outputType:f="default",pagebuilderURL:g,siteProperties:v={}}=(0,a.useFusionContext)(),{imageResizer:{resizerBaseUrl:x}={},websiteDomain:_}=v,j="amp"===f,k="true"===(0,u.E)("force-debug"),[E,C]=(0,n.useState)(e.data&&e.data||null),[D]=(0,n.useState)(e.livestreamId&&e.livestreamId||c);k&&console.debug(`LiveVideo [${D}] render`);const{customFields:N={},goldfishDataOrg:I="gray",staticWebsite:R}=e,{posterImageUrl:L,siteServicesSection:B="/video",siteServicesLivestreamKey:q="",staticHlsStream:U}=N,z=T(T({},e.overrides?T({},e.overrides):{}),N),{videoCustomAdSlot:F,videoAdPrerollDisabled:$=!1,videoIsAutoPlay:V=!1,videoIsSticky:H=!1,videoTitleCustomText:W,videoDescriptionCustomText:G,videoTitleDisplayed:K,videoDescriptionDisplayed:Z}=z,X={resizerBaseUrl:x,resizedOptions:{smart:!0},height:1080,width:1920},Y=L,J=(({environmentShorthand:e="prod",websiteDomain:t,arcSite:r},n=!1)=>"sandbox"===e&&`https://gray-${r}-sandbox.gtv-cdn.com`||t||(n?`https://gray-${r}-${e}.gtv-cdn.com`:null))({environmentShorthand:p.tU,websiteDomain:_,arcSite:t},!0),Q=Y&&!Y.includes(`${r}/resources/images`)?(0,S.X6)({siteHostingDomain:J,fallbackImage:Y}):null,ee=(0,s.useContent)((0,P._i)({source:"signing-service",query:{id:Q}})),{resizedUrl:te}=(0,S._n)(T({ANSImage:(0,S.F5)({url:Y,imgSignature:ee})},X)),re=(U||"").trim(),ne=K&&W||null,ie=Z&&G||null;(0,n.useEffect)(()=>{D||k&&console.debug(`LiveVideo [${D}] \n\tThis turned out to be un-needed code.`),k&&console.debug(`LiveVideo [${D}] useEffect`),!E&&B&&""===re&&(k&&console.debug(`LiveVideo [${D}] fetching site service data`),(({arcSite:e,fusionContext:t,siteServicesSection:r,setContent:n})=>{y.A.get("/pf/api/v3/content/fetch/site-service",{params:{query:JSON.stringify(M({section:r,websiteOverride:e},(0,w.A)(t))),_website:e}}).then(e=>{e&&e.data&&n(e.data)}).catch(e=>{console.log(e)})})({arcSite:R||t,fusionContext:{deployment:i,mxId:h},siteServicesSection:B,setContent:C}))},[]);const oe=E?E?.site?.syncbak_livestream_tokens??{}:{},ae=q&&""!==q&&oe[`${q}`]&&oe[`${q}`]||null,se=re&&""!==re&&re||ae,le=!$,ue=function({arcSite:e,siteProperties:t={},globalContent:r={},outputType:n="default",customAdSlot:i}){const o=`${t?.dfpSiteShorthand??e}/${"apps"===n.toLowerCase()?"app-news":"web"}`;if(i&&""!==i)return`${o}${i}`;const{type:a}=r;return r&&a?`${o}${"section"===a?r?._admin?.dfp_id:(r?.websites?.[e]?.website_section?.additional_properties?.original?._admin?.dfp_id??r?.websites?.[e]?.website_section?._id)||""}`:o}({arcSite:t,siteProperties:v,globalContent:o,outputType:f,customAdSlot:F});return(0,m.jsx)("div",{className:(0,l.A)(["live-video |","pb-3","w-100"]),children:(0,m.jsx)("div",{className:(0,l.A)(["position-relative"]),children:se&&""!==se?(0,m.jsx)(A.A,{caption:ie,containerClasses:(0,l.A)(["live-video |","media-item-video",{"pb-3":"embed"!==f},"w-100"]),itemWrapperClasses:(0,l.A)([{"position-relative":!j}]),showCaption:Z,showCredits:!1,showTitle:K,title:ne,children:(0,m.jsx)(b,{adPrerollEnabled:le,adSlotName:ue,isAutoPlay:V,isSticky:H,goldfishDataOrg:I,posterImageUrl:te&&te||g(`${r}/resources/images/grayDefaultVideoCenterPoster_Dark.jpg`),livestreamHlsFeed:se,livestreamId:D,livestreamTitle:re?"Custom Static HLS Stream":q||"Undetermined Live Stream Feed"})}):d&&O(B,oe)||(0,m.jsx)("div",{className:(0,l.A)(["ratio","ratio-16x9"]),children:(0,m.jsx)("div",{})})})})};C.propTypes={customFields:o().shape(T(T({siteServicesSection:o().string.tag({defaultValue:"/video",de
2scription:"The value of this field should indicate the section from which your Syncback Livestream Tokens will be pulled. The default value will be '/video' by default.",group:"Data",name:"Site Services Section"}),siteServicesLivestreamKey:o().oneOf(["livestream1","livestream2","livestream3","livestream4","livestream5"]).tag({defaultValue:"livestream1",description:"Preconfigured streams can be selected when a 'Site Service Section' including Syncback livestream data is used. The default section, '/video' should already be configured for your site.",group:"Data",labels:{livestream1:"Live Stream Channel 1",livestream2:"Live Stream Channel 2",livestream3:"Live Stream Channel 3",livestream4:"Live Stream Channel 4",livestream5:"Live Stream Channel 5"},name:"Site Service Livestream Key"}),staticHlsStream:o().string.tag({defaultValue:"",description:"Enter a valid HLS stream in this field to use a static stream source with this feature. NOTE: if this field has a value, the slections in the Site Service Livestream Key custom field will be ignored.",group:"Data",name:"Static HLS Stream"}),posterImageUrl:o().url.tag({defaultValue:"",description:"The Gray logo will be used by default. Enter a URL reference in this field to use a custom poster image.",group:"Behavior",name:"Poster Image Url"})},(0,j.videoCustomFields)("",{hideAspectRatioProp:!0,hideStickyProp:!0,hideDescriptionFieldProp:!0,hidePlaythroughProp:!0,hideViewportPercentageProp:!0})),{},{videoTitleCustomText:o().string.tag({defaultValue:"",description:"If not empty and the display of the title is enabled, this text will display below the video player",group:"Description Display",name:"Title Field Custom Text"}),videoDescriptionCustomText:o().richtext.tag({defaultValue:"",description:"If not empty and the display of the description is enabled, this text will display below the video player",group:"Description Display",name:"Description Field Custom Text"})})),data:o().object,goldfishDataOrg:o().string,livestreamId:o().string,overrides:o().object,staticWebsite:o().string},C.label="Visual Media - Live Video";var D=C},1641:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return M}});var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(3287),l=r(9894),u=r.n(l),c=r(9626),d=r.n(c),h=r(4734),f=r(4676),p=r(2028),m=r(5349);const g=e=>{const{adSlotName:t="",adPrerollEnabled:r=!0,customHtmlId:i,goldfishDataOrg:o="gray",isAutoPlay:l=!1,isSticky:u=!0,playlistDisplayName:c=null}=e,{arcSite:g,id:b,isAdmin:y,outputType:v="default",siteProperties:w}=(0,a.useFusionContext)(),{dfpId:x}=w,M=`powa-playlist-${i||b}`,_=(0,n.useRef)(),O=(0,f.Bd)();return(0,n.useEffect)(()=>{(0,h.EG)(M,g,v),(0,h.RD)(),O&&window.powaBoot&&window.powaBoot()},[O]),c&&""!==c?(0,m.jsx)(d(),{id:M,children:(0,m.jsx)("div",{className:(0,s.A)(["goldfish-player","w-discovery-playlist"]),children:(0,m.jsx)("div",{style:{paddingBottom:"56.25%"},ref:_,id:M,className:(0,s.A)(["absolute","powa"]),"data-ad-bar":"false","data-ads":`${r}`,"data-api":`${p.tU}`,"data-aspect-ratio":.5625,"data-autoinit":"true","data-autoplay":!y&&l,"data-discovery":"true","data-env":`${p.tU}`,"data-debug":y,"data-org":`${o}`,"data-playlist":`${c}
2`,"data-ping-rate":"60","data-preroll-ad-path":`${x}/${t}`,"data-sticky":`${u}`})})}):null};g.propTypes={adPrerollEnabled:u().bool,adSlotName:u().string,customHtmlId:u().string,goldfishDataOrg:u().string,isAutoPlay:u().bool,isSticky:u().bool,playlistDisplayName:u().string};var b=g,y=r(891);function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function w(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=e=>{const{customFields:t={},customHtmlId:r}=e,{arcSite:n,outputType:i="default",siteProperties:o}=(0,a.useFusionContext)(),{playlistDisplayName:l,videoAdBarEnabled:u=!1,videoCustomAdSlot:c,videoAdPrerollDisabled:d=!1,videoIsAutoPlay:h=!1,videoIsSticky:f=!1}=t;if(!l||""===l)return null;const p=!d,g=`${`${o?.dfpSiteShorthand??n}/${"apps"===i.toLowerCase()?"app-news":"web"}`}${`${c||""}`}`;return(0,m.jsx)("div",{className:(0,s.A)(["playlist |","mb-3","w-100"]),children:(0,m.jsx)("div",{className:(0,s.A)(["position-relative"]),children:(0,m.jsx)(b,{adPrerollEnabled:p,adBarEnabled:u,adSlotName:g,customHtmlId:r,isAutoPlay:h,isSticky:f,goldfishDataOrg:"gray",playlistDisplayName:l})})})};x.propTypes={customFields:o().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?v(Object(r),!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({playlistDisplayName:o().string.tag({description:"Video Center Playlist Display Name as it is listed in the Display Name field.",name:"Playlist Display Name"})},(0,y.videoCustomFields)("",{hideAspectRatioProp:!0,hidePlaythroughProp:!0,hideStickyProp:!1,hideViewportPercentageProp:!0}))),customHtmlId:o().string},x.label="Visual Media - Playlist";var M=x},8893:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return W}});var n=r(809),i=r(3287),o=r(4375),a=r(4321),s=r(6780),l=r.n(s),u=r(9550),c=r(7508),d=r.n(c),h=r(9575);const f=l().shape({id:l().string.isRequired,description:l().string,duration:l().number,endTime:l().string,startTime:l().string,title:l().string.isRequired});var p=r(4676),m=r(5349);const g=({programInfo:e,type:t="current"})=>{const{siteProperties:r}=(0,a.useAppContext)(),{locale:n}=r,o=d()(n||"en"),s="NA"===t;return!(!e?.title&&"NA"!==t)?(0,m.jsxs)("div",{className:"schedule-item w-100",children:["NA"===t?null:(0,m.jsxs)("span",{className:"fw-bold",children:["current"===t&&o.t("visualMedia.quickplayLivePlayer.currentProgram"),"next"===t&&`${(0,p.Bd)()&&e?.startTime?(0,h.GP)(new Date(e.startTime),"p"):"On Next"}: `]}),(()=>{const t=s?o.t("visualMedia.quickplayLivePlayer.currentProgramDefaultTitle"):e?.title;return(0,m.jsx)("span",{className:(0,i.A)([{"fst-italic":s}]),children:t})})()]}):null};g.propTypes={programInfo:f,type:l().oneOf(["current","next","NA"])};var b=g;function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function v(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?y(Object(r),!0).forEach(function(t){w(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):y(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function w(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const x=({id:e,title:t,description:r,callSign:o,index:a,isSelected:s=!1,currentProgram:l=null,nextProgram:u=null,images:c=[],onVideoSelectHandler:d})=>{const h=c.length>0?c.find(e=>"16x9"===e.ratio)||c[0]:null,f=!(!l?.title&&!u?.title),[p,g]=(0,n.use
2State)(s);(0,n.useEffect)(()=>{g(s)},[s]);return(0,m.jsx)("div",{className:(0,i.A)(["col-12",{"mt-2":0!==a,"is-selected":p}]),children:(0,m.jsx)("div",v(v({className:(0,i.A)(["qp-live-card","card","h-100",{pointer:!p},...p?["text-white","bg-danger"]:["bg-light"]])},d&&!p&&{onClick:()=>{g(!0),d(e,"channel")}}),{},{children:(0,m.jsx)("div",{className:"card-body p-2",children:(0,m.jsxs)("div",{className:"row g-0 h-100",children:[(0,m.jsx)("div",{className:"col-12",children:(0,m.jsx)("h6",{className:"card-title mb-0",children:t||o})}),h&&(0,m.jsx)("div",{className:"col-2 col-sm-2 col-lg-2 me-2",children:(0,m.jsx)("div",{className:"qp-live-image h-100 d-flex flex-column justify-content-center",children:(0,m.jsx)("div",{className:"qp-live-image-container",children:(0,m.jsx)("img",{src:h.url?.replace?.("width=1920","width=250")||h.url,className:"img-fluid align-self-center bg-dark",alt:`${t||o} channel logo`})})})}),(0,m.jsx)("div",{className:(0,i.A)([{col:h,"col-12":!h}]),children:(0,m.jsxs)("div",{className:"d-flex flex-column justify-content-center h-100 card-text",children:[(0,m.jsx)(b,{programInfo:l,type:"current"}),(0,m.jsx)(b,{programInfo:u,type:"next"}),!f&&(0,m.jsx)(b,{type:"NA"})]})})]})})}))},e)};x.propTypes={id:l().string.isRequired,title:l().string,description:l().string,callSign:l().string.isRequired,index:l().number.isRequired,isSelected:l().bool,currentProgram:f,nextProgram:f,images:l().arrayOf(l().shape({url:l().url.isRequired,height:l().number,width:l().number})),onVideoSelectHandler:l().func};var M=x;const _=({liveChannels:e=[],onVideoSelectHandler:t})=>{const{siteProperties:r}=(0,a.useAppContext)(),{locale:n}=r,i=d()(n||"en");return(0,m.jsxs)("div",{className:"live-channels | card bg-light mb-3 h-100",children:[(0,m.jsx)("div",{className:"card-header py-1 px-2",children:i.t("visualMedia.quickplayLivePlayer.liveChannels")}),(0,m.jsx)("div",{className:"live-channel-wrapper card-body pt-2 px-2 pb-0",children:(0,m.jsx)("div",{className:"row row-cols-1 row-cols-md-1 row-cols-lg-1 mb-n2",children:e.map((e,r)=>{const{id:n,title:i,description:o,callSign:a,currentProgram:s,nextProgram:l,images:u=[],isSelected:c}=e;return(0,m.jsx)(M,{id:n,title:i,description:o,callSign:a,index:r,isSelected:c,currentProgram:s,nextProgram:l,images:u,onVideoSelectHandler:t},n)})})})]})};_.propTypes={liveChannels:l().arrayOf(l().shape({id:l().string.isRequired,title:l().string,description:l().string,callSign:l().string.isRequired,isSelected:l().bool,currentProgram:l().object,nextProgram:l().object,images:l().array})),onVideoSelectHandler:l().func};var O=_,j=r(9480),S=r(6123),A=r(4245),P=r(6310),k=r(8359),T=r(3966),E=r(6499),C=r(6094);function D(e,t,r){const n=(0,S.q)(),i=r?.locale??n.locale??j.c,o=(0,k.z)(e,t);if(isNaN(o))throw new RangeError("Invalid time value");const a=Object.assign({},r,{addSuffix:r?.addSuffix,comparison:o}),[s,l]=(0,P.x)(r?.in,...o>0?[t,e]:[e,t]),u=(0,C.O)(l,s),c=((0,A.G)(l)-(0,A.G)(s))/1e3,d=Math.round((u-c)/60);let h;if(d<2)return r?.includeSeconds?u<5?i.formatDistance("lessThanXSeconds",5,a):u<10?i.formatDistance("lessThanXSeconds",10,a):u<20?i.formatDistance("lessThanXSeconds",20,a):u<40?i.formatDistance("halfAMinute",0,a):u<60?i.formatDistance("lessThanXMinutes",1,a):i.formatDistance("xMinutes",1,a):0===d?i.formatDistance("lessThanXMinutes",1,a):i.formatDistance("xMinutes",d,a);if(d<45)return i.formatDistance("xMinutes",d,a);if(d<90)return i.formatDistance("aboutXHours",1,a);if(d<T.F6){const e=Math.round(d/60);return i.formatDistance("aboutXHours",e,a)}if(d<2520)return i.formatDistance("xDays",1,a);if(d<T.Nw){const e=Math.round(d/T.F6);return i.formatDistance("xDays",e,a)}if(d<2*T.Nw)return h=Math.round(d/T.Nw),i.formatDistance("aboutXMonths",h,a);if(h=(0,E.W)(l,s),h<12){const e=Math.round(d/T.Nw);return i.formatDistance("xMonths",e,a)}{const e=h%12,t=Math.trunc(h/12);return e<3?i.formatDistance("aboutXYears",t,a):e<9?i.formatDistance("overXYears",t,a):i.formatDistance("almostXYears",t+1,a)}}function N(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function I(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?N(Object(r),!0).forEach(function(t){R(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function R(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const L=({displayDateTime:e,id:t,isSelected:r=!1,images:n=[],title:o,contentType:a,onVideoSelectHandler:s})=>{const l=t,u=a,c=n.length>0?n:[],d=e,h=c[0];return(0,m.jsx)("div",{className:(0,i.A)(["col-9 col-sm-6 col-md-4 col-lg-3 mb-3",{"is-selected":r}]),children:(0,m.jsxs)("div",I(I({className:(0,i.A)(["qp-vod-card","card","bg-dark","text-white","h-100",{pointer:!r}])},s&&!r&&{onClick:()=>s(l,u)}),{},{children:[h&&(0,m.jsx)("img",{src:h.url,className:"card-img",alt:`${o} thumbnail`}),(0,m.jsx)("div",{className:"qp-card-overlay card-img-overlay p-2 p-md-3",children:(0,m.jsx)("div",{className:"d-flex flex-column justify-content-end h-100",children:(0,m.jsxs)("div",{className:"d-flex flex-column align-items-center text-center",children:[(0,m.jsx)("h6",{className:"card-title mb-1",children:o}),d&&(0,m.jsx)("p",{className:"card-text small",children:d?D(Date.parse(d),new Date,{addSuffix:!0}):null})]})})})]}))},l)};L.propTypes={id:l().string,displayDateTime:l().string,isSelected:l().bool,images:l().arrayOf(l().shape({ratio:l().string,url:l().url.isRequired,width:l().number})),title:l().string.isRequired,contentType:l().oneOf(["asset","channel","clip"]),onVideoSelectHandler:l().func,description:l().string};var B=L;const q=({videosOnDemand:e,onVideoSelectHandler:t})=>{const{siteProperties:r}=(0,a.useAppContext)(),{locale:n}=r,i=d()(n||"en"),{content_elements:o=[]}=e||{};return o&&0!==o.length?(0,m.jsxs)("div",{className:"row",children:[(0,m.jsx)("div",{className:"col-12",children:(0,m.jsx)("h4",{children:i.t("visualMedia.quickplayLivePlayer.videosOnDemand")})}),(0,m.jsx)("div",{className:"col-12",children:(0,m.jsx)("div",{className:"videos-on-demand-wrapper row flex-nowrap",children:o.map(e=>{const{id:r,createdDateTime:n,originalAirStartDate:i,description:o,isSelected:a,images:s=[],title:l,contentType:u}=e,c=r;return(0,m.jsx)(B,{id:r,displayDateTime:i||n,description:o,isSelected:a,images:s,title:l,contentType:u,onVideoSelectHandler:t},c)})})})]}):null};q.propTypes={videosOnDemand:l().shape({content_elements:l().arrayOf(l().shape({id:l().string,title:l().string.isRequired,contentTypeId:l().string,startDateTime:l().string,isSelected:l().bool,images:l().array,_id:l().string,contentType:l().oneOf(["clip","asset"]),airDate:l().string,promoImages:l().array,description:l().string})),pageNumber:l().number,pageSize:l().number,totalItems:l().number}),onVideoSelectHandler:l().func};var U=q,z=r(1888);function F(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function $(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?F(Object(r),!0).forEach(function(t){V(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):F(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function V(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const H=({customFields:e={}})=>{const{disableOnNowConstraint:t=!1,quickplayWebsiteKey:r="",videoAdPrerollDisabled:s=!1,videoCustomAdSlot:l="",excludeVODsFromFeature:c=!1}=e,{arcSite:d,globalContent:h={},isAdmin:f=!1,siteProperties:{dfpSiteShorthand:p,outputType:g="default"}={}}=(0,a.useFusionContext)(),b=(0,u.mW)("VisualMedia/QuickplayLivePlayer"),y=t||!1,v=(r||d).trim(),w=(0,o.useContent)((0,z._i)({source:"quickplay-default-livestream-request-placeholder",query:$({includeEmptyLiveChannels:y,arcSiteOverride:v},c?null:{excludeSharedContent:"true",includeVodAssets:"true"}),static:!0}))||{},{isInitialLoad:x,isInitialPlay:M,isLoading:_,liveChannels:j,videosOnDemand:S,selectedVideo:A,getCurrentVideoData:P,selectVideo:k,fetchVideoStream:T}=(0,u.Nc)({fetchedData:w,includeEmptyLiveChannels:y,arcSite:d,websiteOverride:v,mode:"multi"});(0,n.useEffect)(()=>{b.logCollapsed("server-fetched-data:",w)},[]);const{playerRef:E,onVideoSelectHandler:C,prerollAdSlot:D,nowPlaying:N,errorHandler:I}=(0,u.CC)({arcSite:d,dfpSiteShorthand:p,enableScrollBehavior:!0,liveChannels:j,outputType:g,selectVideo:k,selectedVideo:A,getCurrentVideoData:P,videoCustomAdSlot:l,videoIsAutoPlay:!0,fetchVideoStream:T});return(0,n.useEffect)(()=>{b.logCollapsed("state:",{isInitialLoad:x,isInitialPlay:M,isLoading:_,selectedVideo:A})},[x,M,_,A?.id]),(0,m.jsxs)("div",{className:(0,i.A)(["quickplay-live-player","mb-3"]),children:[(0,m.jsxs)("div",{className:(0,i.A)(["row",{"mb-5":!c}]),children:[(0,m.jsx)("div",{ref:E,className:(0,i.A)(["col-12","col-lg-7","col-xl-8","mb-3","mb-lg-0","order-lg-last","ps-lg-0"]),children:(0,m.jsx)(u.Si,{adPrerollEnabled:!s,adSlotName:D,arcQuickplaySite:d,isAutoPlay:!f,isLoading:_,isInitialLoad:x,isInitialPlay:M,videoData:N,errorHandler:I,onVideoSelectHandler:C})}),(0,m.jsx)("div",{className:(0,i.A)(["col-12","col-lg-5","col-xl-4","order-lg-first","pe-lg-0"]),children:(0,m.jsx)(O,{liveChannels:j,onVideoSelectHandler:C})})]}),c?null:(0,m.jsx)(U,{videosOnDemand:S,onVideoSelectHandler:C})]})};H.propTypes={customFields:l().shape({quickplayWebsiteKey:l().string.tag({de
2scription:"When declared, this arc site id will be used for all Quickplay API request. If blank, the arc site id of the current site will be used.",group:"Content",name:"Website ID Override"}),excludeVODsFromFeature:l().bool.tag({description:"When checked the row of VODs will be hidden below the player.",group:"Content",name:"Exclude VODs from Livestream Player"}),disableOnNowConstraint:l().bool.tag({description:"When checked the the default constraint blocking channels without onNow data from displaying.",defaultValue:!1,group:"Content",name:"Disable the OnNow Constraint?"}),videoAdPrerollDisabled:l().bool.tag({description:"NOTE: Feature only available using the Arc Video Center Player.",group:"Advertising",name:"Disable Preroll?"}),videoCustomAdSlot:l().string.tag({description:"If blank, the ad slot defined for the video's primary section will be used.",group:"Advertising",name:"Preroll Custom Ad Slot"})}),customHtmlId:l().string},H.icon="video-player-movie",H.label="Visual Media - Quickplay Live Channels Player";var W=H},7786:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return y}});var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(4375),l=r(4321),u=r(9550),c=r(891),d=r(5349);const h=e=>{const{data:t={},error:r}=e;return(0,d.jsx)("div",{className:(0,a.A)(["quickplay-admin-placeholder","d-flex","ratio","ratio-16x9","bg-secondary","text-white","my-3"]),children:(0,d.jsxs)("div",{className:(0,a.A)(["w-100","p-3"]),children:[(0,d.jsx)("p",{className:(0,a.A)(["text-center"]),children:"A QuickPlay Video Player will render here."}),(0,d.jsx)("hr",{}),(0,d.jsxs)("div",{className:(0,a.A)(["card","text-body","fst-italic","text-center","m-2"]),children:[(0,d.jsx)("div",{className:(0,a.A)(["card-header"]),children:(0,d.jsx)("h4",{className:(0,a.A)(["mb-0"]),children:"NOTE:"})}),(0,d.jsxs)("div",{className:(0,a.A)(["card-body"]),children:[(0,d.jsx)("p",{children:"The PB Editor must be reloaded when a new content ID or content type is entered."}),(0,d.jsxs)("p",{children:["If you're sure that the QuickPlay content ID is correct, try reloading the page by selecting the"," ",(0,d.jsx)("i",{className:(0,a.A)(["fas","fa-sync-alt"])})," icon in the top navigation."]})]})]}),(0,d.jsx)("hr",{}),(0,d.jsx)("div",{className:(0,a.A)(["error-message","my-3","mx-3"]),children:(e=>{switch(e){case"no-content-id":return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("h5",{children:[(0,d.jsx)("strong",{children:"Error:"})," No Content ID"]}),(0,d.jsxs)("div",{className:(0,a.A)(["text-start"]),children:[(0,d.jsx)("p",{className:(0,a.A)(["mb-0"]),children:"This feature will not render until a valid QuickPlay content ID is entered."}),(0,d.jsx)("p",{children:"QuickPlay content IDs can be entered in Custom Fields → Content → QuickPlay Content ID."})]})]});case"no-selected-video":return(e=>{const{arcSite:t,arcQuickplaySite:r,quickplayContentId:n=null,quickplayContentType:i="clip"}=e,o=["font-monospace","bg-dark","px-1"];return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsxs)("h5",{children:[(0,d.jsx)("strong",{children:"Error:"})," No Selected Video"]}),(0,d.jsxs)("div",{className:(0,a.A)(["text-start"]),children:[(0,d.jsxs)("p",{children:["There is no video associated with the QuickPlay content ID: ",(0,d.jsx)("span",{className:(0,a.A)(o),children:n})," of type: ",(0,d.jsx)("span",{className:(0,a.A)(o),children:i})," for the Arc site: ",(0,d.jsx)("span",{className:(0,a.A)(o),children:r||t}),"."]}),(0,d.jsx)("p",{className:(0,a.A)(["mb-0"]),children:"Please verify that:"}),(0,d.jsxs)("ul",{children:[(0,d.jsx)("li",{children:"The content ID exists in QuickPlay"}),(0,d.jsx)("li",{children:"The content type (clip/asset) is correct"}),(0,d.jsx)("li",{children:"The content is available for the specified site"})]})]})]})})(t);default:return(0,d.jsx)("h5",{children:(0,d.jsx)("strong",{children:"Unknown Error"})})}})(r)})]})})};h.propTypes={data:o().object,error:o().string};var f=h,p=r(1888);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>{const{customFields:t={}}=e,{quickplayContentId:r,quickplayContentType:i="clip",quickplayWebsiteKey:o="",quickplayContentTaxonomy:c={},videoAdPrerollDisabled:h,videoCustomAdSlot:m="",videoIsAutoPlay:g=!1,videoIsAutoPlayMuted:b=!1}=t,{arcSite:y,isAdmin:v,siteProperties:{dfpSiteShorthand:w,outputType:x="default"}={}}=(0,l.useFusionContext)(),{streamCategory:M,streamType:_}=c||{},O=(0,u.mW)("VisualMedia/QuickplayVideoPlayer"),j=(o||y).trim(),S=(0,s.useContent)(r||M||_?(0,p._i)({source:"channel"===i?"quickplay-channel":"quickplay-video",query:{contentId:r,contentType:i,streamCategory:M,streamType:_,websiteOverride:j},static:!0}):{})||{};(0,n.useEffect)(()=>{O.logCollapsed("server-fetched-data:",S)},[]);const{isInitialLoad:A,isLoading:P,selectedVideo:k,getCurrentVideoData:T,selectVideo:E,fetchVideoStream:C}=(0,u.Nc)({fetchedData:S,includeEmptyLiveChannels:!1,arcSite:y,websiteOverride:j,mode:"single",contentId:r,contentType:i}),{nowPlaying:D,onVideoSelectHandler:N,playerRef:I,prerollAdSlot:R,errorHandler:L}=(0,u.CC)({arcSite:y,dfpSiteShorthand:w,liveChannels:k?[k]:[],outputType:x,selectVideo:E,fetchVideoStream:C,selectedVideo:k,getCurrentVideoData:T,videoCustomAdSlot:m,videoIsAutoPlay:g,enableScrollBehavior:!1});return(0,n.useEffect)(()=>{O.logCollapsed("component-state:",{quickplayContentId:r,quickplayContentType:i,quickplayContentTaxonomy:c,selectedVideo:k,nowPlaying:D,isLoading:P,isInitialLoad:A})},[r,i,c,k,D,P,A]),O.logCollapsed("nowPlaying",D),D?.id?(0,d.jsx)("div",{className:(0,a.A)(["quickplay-video-player","my-3"]),children:(0,d.jsx)("div",{className:(0,a.A)(["row"]),children:(0,d.jsx)("div",{ref:I,className:(0,a.A)(["col-12"]),children:(0,d.jsx)(u.Si,{adPrerollEnabled:!h,adSlotName:R,arcQuickplaySite:j,isAutoPlay:g,isAutoPlayMuted:b,isLoading:P,isInitialLoad:A,videoData:D,errorHandler:L,onVideoSelectHandler:N})})})}):v?(0,d.jsx)(f,{error:"no-selected-video",data:{arcSite:y,arcQuickplaySite:j,quickplayContentId:r,quickplayContentType:i}}):null};b.propTypes={customFields:o().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?m(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({quickplayContentId:o().string.tag({description:"Enter the ID of the QuickPlay clip or asset that should play in the player.",group:"Content",name:"Content ID"}),quickplayContentType:o().oneOf(["channel","clip","asset"]).tag({labels:{channel:"Channel",clip:"Clip (formerly newsclip)",asset:"Asset (formerly newscast)"},defaultValue:"clip",description:"Type of QuickPlay content to display.",group:"Content",name:"Content Type"}),quickplayWebsiteKey:o().string.tag({description:"When declared, this arc site id will be used for all QuickPlay API requests. If blank, the arc site id of the current site will be used.",group:"Content",name:"Website ID Override"}),quickplayContentTaxonomy:o().kvp.tag({description:"Define video classification using key-value pairs. Use 'streamCategory' to specify the category (ex: 'newscast', 'live-event') and 'streamType' to specify the type (ex: 'primary fast', 'others').",group:"Content",name:"Content Taxonomy"}),quickplayContentTaxonomyKey:o().string.tag({description:"Key used to identify taxonomy KVPs. Intended for use with 'quickplay-video-selector' plugin.",group:"Content",name:"Content Taxonomy Key",hidden:!0}),videoIsAutoPlayMuted:o().bool.tag({defaultValue:!1,description:"Set player to mute when autoplay is also enabled. Note, this won't mute manually initiated video.",group:"Behavior",name:"Force Auto Play Mute"})},(0,c.videoCustomFields)("",{hideAspectRatioProp:!0,hideDescriptionProp:!0,hideDescriptionFieldProp:!0,hidePlaythroughProp:!0,hideStickyProp:!0,hideTitleProp:!0,hideViewportPercentageProp:!0})))},b.icon="video-player",b.label="Visual Media - QuickPlay Video Player",b.featurePlugins=["quickplay-video-selector"];var y=b},6546:function(e,t,r){"use strict";r.r(t);r(809);var n=r(3287),i=r(4321),o=r(5771),a=r(5349);const s="Visual Media - Syncbak Live Channels Player",l=({customFields:e}={})=>{const{id:t,isAdmin:r=!1}=(0,i.useFusionContext)();return r?(0,a.jsxs)(o.HZ,{classes:(0,n.A)(["text-white","bg-secondary","w-100","small","mb-3"]),styles:{minHeight:"90px"},children:[(0,a.jsxs)("p",{children:["The ",(0,a.jsx)("b",{children:s})," has been deprecated and will no longer render on the front end."]}),(0,a.jsxs)("p",{children:["To continue using this livestream feature, switch to the"," ",(0,a.jsx)("b",{children:"Visual Media - Quickplay Video Player"})," feature."]}),(0,a.jsxs)("div",{className:(0,n.A)(["text-start","small"]),children:[(0,a.jsx)("h6",{className:(0,n.A)(["mb-1"]),children:"Current Custom Fields:"}),(0,a.jsx)("pre",{className:(0,n.A)(["text-reset","fst-italic","mb-1"]),children:JSON.stringify(e||{},null,2)})]})]},`deprecated-sblp-${t}`):null};l.icon="alert-circle",l.label=`${s} (DEPRECATED)`,t.default=l},2161:function(e,t,r){"use strict";r.r(t);r(809);var n=r(3287),i=r(4321),o=r(5771),a=r(5349);const s="Visual Media - Syncbak Video Player",l=({customFields:e}={})=>{const{id:t,isAdmin:r=!1}=(0,i.useFusionContext)();return r?(0,a.jsxs)(o.HZ,{classes:(0,n.A)(["text-white","bg-secondary","w-100","small","mb-3"]),styles:{minHeight:"90px"},children:[(0,a.jsxs)("p",{children:["The ",(0,a.jsx)("b",{children:s})," has been deprecated and will no longer render on the front end."]}),(0,a.jsxs)("p",{children:["To continue using this livestream feature, switch to the"," ",(0,a.jsx)("b",{children:"Visual Media - Quickplay Live Player"})," feature."]}),(0,a.jsxs)("div",{className:(0,n.A)(["text-start","small"]),children:[(0,a.jsx)("h6",{className:(0,n.A)(["mb-1"]),children:"Current Custom Fields:"}),(0,a.jsx)("pre",{className:(0,n.A)(["text-reset","fst-italic","mb-1"]),children:JSON.stringify(e||{},null,2)})]})]},`deprecated-sbvp-${t}`):null};l.icon="alert-circle",l.label=`${s} (DEPRECATED)`,t.default=l},2289:function(e,t,r){"use strict";r.d(t,{I:function(){return o},_:function(){return i}});var n=r(2245);const i=(e,t)=>{const r=e||{};if("video"!==r?.type)return null;const i=t||"description.basic";return(0,n.A)(r,i,null)},o=(e,t)=>{const r=e||{};if("video"!==r?.type)return null;const i=t||"headlines.basic";return(0,n.A)(r,i,null)}},891:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return be},getVideoDescription:function(){return de._},getVideoTitle:function(){return de.I},videoCustomFields:function(){return ce}});r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4375),s=r(4321),l=r(3993),u=r(5771),c=r(4760);var d=r(9894),h=r.n(d),f=r(3056),p=r(8154);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?m(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=({byline:e})=>{const t=e?.additional_properties?.original?.author_type;return{"@type":t&&"organization"===t.toLowerCase()?"Organization":"Person",name:e.name}},v=({bylines:e=[],publicationName:t,siteName:r})=>{const n=e.filter(e=>e.name&&e.name&&""!==e.name);return 0===n.length?{"@type":"Organization",name:t||r}:1===n.length?y({byline:n[0]}):n.map(e=>y({byline:e}))};var w=r(5349);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=e=>{const{bylines:t=[],canonicalUrl:r,description:n,displayDate:i,firstPublishedDate:o,isSponsored:a,keywords:s,pageType:l="page",promoImage:u,publicationName:c,siteDomainURL:d,siteName:h,sitePromoLogo:m,title:b}=e,y=r||d,x=(()=>{const e={url:m};if(!u)return e;const t=u?.resizedUrl||u?.url;return t&&!t.includes(".svg?")?u:e})(),_=M(M(M({name:b},y&&{url:y}),{},{image:x?.resizedUrl||x?.url||null,"@type":"WebPage","@context":"http://schema.org"},n&&{description:n}||null),s&&{keywords:s}||null),O=(({bylines:e=[],canonicalUrl:t,displayDate:r,firstPublishedDate:n,isSponsored:i,pageType:o="page",publicationName:a,siteDomainURL:s,siteName:l,sitePromoLogo:u,title:c})=>"article"!==o?{}:g(g({"@type":i?"Article":"NewsArticle",headline:c,mainEntityOfPage:{"@type":"WebPage","@id":t},author:v({bylines:e,publicationName:a,siteName:l}),publisher:g(g({name:a||l},s&&{url:s}),{},{logo:{"@type":"ImageObject",url:u},"@type":"NewsMediaOrganization"})},n?{datePublished:n}:null),r?{dateModified:r}:null))({bylines:t,canonicalUrl:r,displayDate:i,firstPublishedDate:o,isSponsored:a,pageType:l,publicationName:c,siteDomainURL:d,siteName:h,sitePromoLogo:m,title:b}),j=M(M(M({},_),O),{},{name:(0,p.xv)(_.name,110,{useEllipsisCharacter:!1})});return(0,w.jsx)(f.A,{data:j})};O.propTypes={bylines:h().arrayOf(h().object),canonicalUrl:h().string,description:h().string,displayDate:h().string,firstPublishedDate:h().string,isSponsored:h().bool,keywords:h().array,pageType:h().string,promoImage:h().shape({url:h().string,resizedUrl:h().string,height:h().number,width:h().number}),publicationName:h().string,siteDomainURL:h().string,siteName:h().string,sitePromoLogo:h().string,title:h().string};var j=O;function S(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function A(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?S(Object(r),!0).forEach(function(t){P(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):S(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function P(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const k=({publicationName:e,siteDomainURL:t,sitePromoLogo:r,socialSiteProperties:n=[]})=>{const i=A(A({name:e},t&&{url:t}),{},{logo:{"@type":"ImageObject",url:r},"@type":"NewsMediaOrganization",sameAs:[...n.map(({url:e})=>e)],"@context":"http://schema.org"});return(0,w.jsx)(f.A,{data:i})};k.propTypes={publicationName:h().string,siteDomainURL:h().string,siteName:h().string,sitePromoLogo:h().string,socialSiteProperties:h().array};var T=k,E=r(4595);function C(e){const{years:t=0,months:r=0,days:n=0,hours:i=0,minutes:o=0,seconds:a=0}=e;return`P${t}Y${r}M${n}DT${i}H${o}M${a}S`}var D=r(6310);var N=r(1318),I=r(5334);function R(e,t,r){const n=(0,I.a)(e,r?.in);return isNaN(t)?(0,N.w)(r?.in||e,NaN):t?(n.setDate(n.getDate()+t),n):n}function L(e,t,r){const n=(0,I.a)(e,r?.in);if(isNaN(t))return(0,N.w)(r?.in||e,NaN);if(!t)return n;const i=n.getDate(),o=(0,N.w)(r?.in||e,n.getTime());o.setMonth(n.getMonth()+t+1,0);return i>=o.getDate()?o:(n.setFullYear(o.getFullYear(),o.getMonth(),i),n)}function B(e,t,r){const{years:n=0,months:i=0,weeks:o=0,days:a=0,hours:s=0,minutes:l=0,seconds:u=0}=t,c=(0,I.a)(e,r?.in),d=i||n?L(c,i+12*n):c,h=a||o?R(d,a+7*o):d,f=1e3*(u+60*(l+60*s));return(0,N.w)(r?.in||e,+h+f)}var q=r(7686);function U(e,t,r){const[n,i]=(0,D.x)(r?.in,e,t),o=z(n,i),a=Math.abs((0,q.m)(n,i));n.setDate(n.getDate()-o*a);const s=o*(a-Number(z(n,i)===-o));return 0===s?0:s}function z(e,t){const r=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return r<0?-1:r>0?1:r}var F=r(2201),$=r(3966);function V(e,t,r){const[n,i]=(0,D.x)(r?.in,e,t),o=(+n-+i)/$.s0;return(0,F.u)(r?.roundingMethod)(o)}var H=r(4274),W=r(6499),G=r(6094),K=r(8359);function Z(e,t,r){const[n,i]=(0,D.x)(r?.in,e,t);return n.getFullYear()-i.getFullYear()}function X(e,t,r){const[n,i]=(0,D.x)(r?.in,e,t),o=(0,K.z)(n,i),a=Math.abs(Z(n,i));n.setFullYear(1584),i.setFullYear(1584);const s=o*(a-+((0,K.z)(n,i)===-o));return 0===s?0:s}function Y(e,t){const{start:r,end:n}=function(e,t){const[r,n]=(0,D.x)(e,t.start,t.end);return{start:r,end:n}}(t?.in,e),i={},o=X(n,r);o&&(i.years=o);const a=B(r,{years:i.years}),s=(0,W.W)(n,a);s&&(i.months=s);const l=B(a,{months:i.months}),u=U(n,l);u&&(i.days=u);const c=B(l,{days:i.days}),d=V(n,c);d&&(i.hours=d);const h=B(c,{hours:i.hours}),f=(0,H.o)(n,h);f&&(i.minutes=f);const p=B(h,{minutes:i.minutes}),m=(0,G.O)(n,p);return m&&(i.seconds=m),i}function J(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Q(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?J(Object(r),!0).forEach(function(t){ee(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):J(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ee(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const te=({data:e})=>
2{if(!e||!Object.keys(e).length)return null;const{caption:t,description:r,duration:n,first_publish_date:i,headlines:o,promo_image:a,streams:s=[],subheadlines:l}=e;if(!o?.basic)return null;const u=(e=>e.filter(({stream_type:e})=>"mp4"===e).sort((e,t)=>e.filesize<t.filesize?1:-1)[0]?.url||null)(s),c="number"==typeof n?C(Y({start:0,end:n})):"PT0S",d=l?.basic&&l.basic||r?.basic&&r.basic||t?.basic&&t.basic||o.basic,h=Q(Q(Q(Q({"@context":"https://schema.org","@type":"VideoObject",name:o.basic,description:d},a?.url&&{thumbnailUrl:a?.resizedUrl||a.url}),i&&{uploadDate:i}),n&&{duration:c}),u&&{contentUrl:u});return(0,w.jsx)(f.A,{data:h})};te.propTypes={data:h().object};var re=te;const ne=({arcSite:e,bylines:t=[],canonicalUrl:r,description:n,displayDate:i,firstPublishedDate:o,isSponsored:a,keywords:s,pageType:l="page",promoImage:u,publicationName:c,siteDomainURL:d,siteName:h,sitePromoLogo:f,socialSiteProperties:p,title:m})=>{const g=c||h||e,b=(0,E.wv)({socialSiteProperties:p});return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(T,{publicationName:g,siteDomainURL:d,sitePromoLogo:f,socialSiteProperties:b}),(0,w.jsx)(j,{bylines:t,canonicalUrl:r,description:n,displayDate:i,firstPublishedDate:o,isSponsored:a,keywords:s,pageType:l,promoImage:u,publicationName:g,siteDomainURL:d,sitePromoLogo:f,title:m})]})};ne.propTypes={arcSite:h().string,bylines:h().arrayOf(h().object),canonicalUrl:h().string,description:h().string,displayDate:h().string,firstPublishedDate:h().string,isSponsored:h().bool,keywords:h().array,pageType:h().string,promoImage:h().shape({url:h().string,resizedUrl:h().string,height:h().number,width:h().number}),publicationName:h().string,siteDomainURL:h().string,siteName:h().string,sitePromoLogo:h().string,socialSiteProperties:h().object,title:h().string};var ie=r(3189),oe=r(1032);var ae=e=>{switch(e){case"9:16":return{height:1920,width:1080};case"1:1":return{height:1080,width:1080};case"4:3":return{height:1440,width:1920};default:return{height:1080,width:1920}}};function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?se(Object(r),!0).forEach(function(t){ue(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function ue(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var ce=(e,t={})=>{const r=e&&`${e} `||"",{includeCustomEmbedOverrideProps:n=!1,hideAspectRatioProp:o=!1,hideDescriptionProp:a=!1,hideDescriptionFieldProp:s=!1,hidePlaythroughProp:l=!1,hideStickyProp:u=!1,hideTitleProp:c=!1,hideViewportPercentageProp:d=!1}=t,h={videoOverrideCustomAdSlot:i().bool.tag({defaultValue:!1,description:"Override Composer Custom Embed's Ad Targeting Path with this feature's Custom Ad Slot setting found in the advertising section.",group:`${r}Custom Embed Overrides`,hidden:!1,name:"Ad Targeting Path"}),videoOverrideIncludeAds:i().bool.tag({defaultValue:!1,description:"Override Composer Custom Embed's Include Ads setting with this feature's Disable Preroll? setting found in the advertising section.",group:`${r}Custom Embed Overrides`,hidden:!1,name:"Include Ads"}),videoOverrideIsAutoplay:i().bool.tag({defaultValue:!1,description:"Override Composer Custom Embed's Autoplay setting with this feature's Enable Auto Play setting found in the behavior section.",group:`${r}Custom Embed Overrides`,hidden:!1,name:"Enable Auto Play"})};return le(le({},n?h:null),{},{videoIsAutoPlay:i().bool.tag({defaultValue:!1,description:"Set player to auto
2play when a user's browser allows such behavior. NOTE: Behavior is only available using the Arc Video Center Player and will only be in effect on the front end. We will not autoplay inside the PB Admin.",group:`${r}Behavior`,name:"Enable Auto Play"}),videoIsSticky:i().bool.tag({description:"NOTE: Feature only available using the Arc Video Center Player. Only the following video ratios are supported: 1:1, 4:3, 9:16",group:`${r}Behavior`,hidden:!!u,name:"Use Sticky Player"}),videoPlaythroughEnabled:i().bool.tag({defaultValue:!1,description:"If the current video has a playlist defined in its metadata, a video from that playlist will play after the current video ends.",group:`${r}Behavior`,hidden:!!l,name:"Enable Video Playthrough"}),videoAdPrerollDisabled:i().bool.tag({description:"NOTE: Feature only available using the Arc Video Center Player.",group:`${r}Advertising`,name:"Disable Preroll?"}),videoCustomAdSlot:i().string.tag({description:"If blank, the ad slot defined for the video's primary section will be used.",group:`${r}Advertising`,name:"Preroll Custom Ad Slot"}),videoTitleDisplayed:i().bool.tag({defaultValue:!1,description:"Display the title underneath the video player.",group:`${r}Description Display`,hidden:!!c,name:"Display Title?"}),videoDescriptionDispalyed:i().bool.tag({description:"This is the original custom field that contained a typo. It has since been replaced.",group:`${r}Description Display`,hidden:!0,name:"Display Description?"}),videoDescriptionDisplayed:i().bool.tag({defaultValue:!1,description:"Display the description underneath the video player. This will display either the caption or blurb depending on what is available.",group:`${r}Description Display`,hidden:!!a,name:"Display Description?"}),videoDescriptionField:i().string.tag({defaultValue:"description.basic",description:"Enter a field from the ANS video object to display underneath the video player. By default this will be 'description.basic'",group:`${r}Description Display`,hidden:!!s,name:"Description Field to Display"}),videoAspectRatio:i().oneOf(["16:9","9:16","1:1","4:3"]).tag({description:"Aspect ratio to use in player (Defaults to the aspect ratio of the resolved video)",label:"Player aspect ratio",defaultValue:null,group:`${r}Display Options`,hidden:!!o,labels:{"16:9":"16:9","9:16":"9:16","1:1":"1:1","4:3":"4:3"},ordered:!1}),videoViewportPercentage:i().number.tag({description:"Height percentage the player takes from viewport (Doesn't apply to 16:9 videos)",label:"View height percentage",defaultValue:65,group:`${r}Display Options`,hidden:!!d})})},de=r(2289);var he=(e="")=>{const t=e.match(/data-aspect-ratio="([\d.]+)"/),r=t?.[1]?Number(t[1]):0;return 1===r?"1:1":.75===r?"4:3":(n=1.7777,i=r,o=.001,Math.abs(n-i)<=o?"9:16":"16:9");var n,i,o};function fe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function pe(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fe(Object(r),!0).forEach(function(t){me(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fe(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function me(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const ge=e=>{const{customFields:t={},goldfishDataOrg:r="gray",videoUuid:n,removeBottomMargin:i=!1,removeBottomPadding:d=!1}=e,{arcSite:h,globalContent:f={},outputType:p="default",siteProperties:m={}}=(0,s.useFusionContext)(),{imageResizer:{resizerBaseUrl:g}={}}=m,b="amp"===p,y=pe(pe({},e.overrides?pe({},e.overrides):{}),t),{videoCustomAdSlot:v,videoAdPrerollDisabled:x=!1,videoIsAutoPlay:M=!1,videoIsSticky:_=!1,videoTitleDisplayed:O=!1,videoPlaythroughEnabled:j=!1,videoDescriptionDisplayed:S,videoDescriptionField:A="description.basic",videoAspectRatio:P,videoViewportPercentage:k}=y,T=(void 0===S?y.videoDescriptionDispalyed||!1:S)||!1,E=t?.contentConfig?.contentService,C=t?.contentConfig?.contentConfigValues,D=(0,a.useContent)(e.data?{}:(0,oe._i)(pe(pe({},t?.contentConfig||{}),{},{inherit:!E||!C}))),N=e?.data||D,I=P||he(N?.embed_html),R=pe(pe({},ae(I)),{},{resizerBaseUrl:g,resizedOptions:{smart:!0}}),L=N?.promo_image,B=(0,a.useContent)(L?.auth?.[l.SIGNING_SERVICE_DEFAULT_VERSION]?{}:(0,oe._i)({source:"signing-service",query:{id:L?._id||L?.url}}));if(!N||Object.keys(N)<=0)return null;const q=(z=B,(U=L)&&U.url?(0,ie._n)(pe(pe({ANSImage:U},R),{},{resizedOptions:pe(pe({},R.resizedOptions),{},{auth:z?.hash})})):null);var U,z;const F=T&&(0,de._)(N,A)||null,$=O&&(0,de.I)(N)||null,V=N?.additional_properties?.advertising?.playVideoAds,H=!1!==V&&!x,W=(({arcSite:e,content:t,globalContent:r,outputType:n="default",siteProperties:i={},videoCustomAdSlot:o="",playVideoAds:a=!0})=>{const s=a&&(0,c.d)(e,t,{globalContent:r})||"";return`${i?.dfpSiteShorthand||e}/${"apps"===n.toLowerCase()?"app-news":"web"}${s}${o}`})({arcSite:h,content:N,globalContent:f,outputType:p,siteProperties:m,videoCustomAdSlot:v,playVideoAds:H});let G;return G=e.data?e.data._id:n||N._id,(0,w.jsxs)(u.mO,{caption:F,containerClasses:(0,o.A)(["video |","media-item-video",{"mb-0":i},{"pb-3":"embed"!==p&&!0!==d}
2,"w-100"]),dataAttributes:{"data-video-asset":G},itemWrapperClasses:(0,o.A)([{"position-relative":!b}]),showCaption:T,showCredits:!1,showTitle:O,title:$,children:[(0,w.jsx)(re,{data:pe(pe({},N),{},{promo_image:q})}),(0,w.jsx)(u.Qz,{adPrerollEnabled:H,adSlotName:W,aspectRatio:I,isAmp:b,isAutoPlay:M,isPlaythroughEnabled:j,isSticky:_,goldfishDataOrg:r,promoImage:q?.resizedUrl,videoUuid:G,videoViewportPercentage:k})]})};ge.propTypes={customFields:i().shape(pe({contentConfig:i().contentConfig("content-api").tag({group:"Data Configuration",name:"Content Source"})},ce("",{hideStickyProp:!1}))),data:i().object,goldfishDataOrg:i().string,removeBottomMargin:i().bool,removeBottomPadding:i().bool,overrides:i().object,videoUuid:i().string},ge.label="Visual Media - Video";var be=ge},4754:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return k}});var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(4375),l=r(4321),u=r(2528),c=r(9894),d=r.n(c),h=r(598),f=r(5267),p=r(9262),m=r(3189),g=r(9726),b=r(9807),y=r(5349);const v=e=>{const{ad:t={},arcAdsType:r,destinationUri:i="/weather/",id:o,imageSizePreset:s,imageUrl:l,includeAd:u,isSelected:c=!1,onItemSelect:d,sponsorDestinationUri:v,sponsorImageUrl:w,title:x}=e,{target:M=""}=t,_=`ad-featured-wx-image-${(0,h.A)(50)}`,O=(0,a.A)(["list-group-item",{"bg-light":!c},"py-2","px-2"]),j=(0,a.A)(["mt-2","mx-n3"]),S=i&&""!==i?i:null;(0,n.useEffect)(()=>()=>{(0,f.destroyAdSlot)(_)},[]);const A=!o||!u||w&&""!==w?null:(0,y.jsx)(f.default,{adContainerIdOverride:_,advertisementText:null,breakpointsOverride:[[f.adBreakpointSizes.desktop,577],[f.ad
2BreakpointSizes.desktop,577],[0,0]],customFields:{arcAdsDisableBottomMargin:!0,arcAdsDisableTopMargin:!0,arcAdsSlot:`/weather-widget${M&&M||""}`,arcAdsType:r,arcAdsDisableLazyLoad:!1,arcAdsDisclaimerPosition:"hidden",arcAdsDisplay:"all",arcAdsExcludeContentPath:!1,arcAdsIsSticky:!1,arcAdsDisableRefresh:!1},isAmp:!1,adClassNamesInternal:(0,a.A)([j,"align-self-center","pb-0","border-top","mb-n2"])},`featured-wx-image-ad-${o}`);return(0,y.jsxs)("div",{className:(0,a.A)(["wx-image |",O]),children:[(0,y.jsx)("div",{className:(0,a.A)(["title |",{"mb-0":!c},{"pt-1":c},{"mb-2":c}]),onClick:()=>{d(c?null:o)},role:"button",children:(0,y.jsx)("h6",{className:(0,a.A)(["mb-0","fw-bold","pointer"]),children:(0,y.jsx)("div",{className:(0,a.A)(["title-name | ","text-truncate"]),dangerouslySetInnerHTML:{__html:x}})})}),(0,y.jsxs)("div",{className:(0,a.A)(["image-container |","position-relative","collapse",{show:c},"mt-1"]),children:[(0,y.jsx)(b.A,{containerClasses:(0,a.A)(["media-item-image","mb-0"]),deprecatedSizePresetKey:s,children:(0,y.jsx)(p.A,{component:g.A,condition:S,href:S,openInNewWindow:!1,children:(0,y.jsx)(m.Ay,{altText:x,imageClasses:(0,a.A)(["img-fluid","pointer"]),src:l})})})," "]}),c?A&&A||(()=>{if(w&&""!==w){const e=(0,y.jsx)("img",{alt:"weather imagery sponsor graphic",className:(0,a.A)(["img-fluid","mx-auto"]),src:w,border:"0"});return(0,y.jsx)("div",{className:(0,a.A)(["sponsor-image |","d-flex","flex-column",j]),children:(0,y.jsx)("div",{className:(0,a.A)(["sponsor-image-container","mw-100","align-self-center"]),children:v&&""!==v?(0,y.jsx)("a",{className:(0,a.A)(["text-reset","align-self-center"]),href:v,rel:"noopener noreferrer",target:"_blank",children:e}):e})})}return null})():null]},`featured-wx-image-${o}-image-wrapper`)};v.propTypes={ad:d().object,arcAdsType:d().string,containerSizeClasses:d().string,id:d().string,destinationUri:d().string,imageSizePreset:d().string,imageUrl:d().string,includeAd:d().bool,isSelected:d().bool,onItemSelect:d().func.isRequired,sponsor:d().string,sponsorDestinationUri:d().string,sponsorImageUrl:d().string,title:d().string};var w=v;const x=e=>{const{arcAdsType:t,items:r=[],imageSizePreset:i}=e,[o,s]=(0,n.useState)(),l=e=>{s(e)};return(0,y.jsx)("div",{className:(0,a.A)(["wx-images |","mx-auto","w-100","list-group"]),children:r.map((e,r)=>{const{ad:s,id:u,destinationUri:c,image:d,includeAdFeatured:h=!1,sponsor:f,sponsorDestinationUrl:p,sponsorImage:m,title:g}=e,b=c&&""!==c,v=!((o||0!==r)&&o!==u);return(0,n.useMemo)(()=>(0,y.jsx)(w,{ad:s,arcAdsType:t,containerSizeClasses:(0,a.A)(["w-100"]),destinationUri:b&&c||"/weather/",id:u,imageSizePreset:i,imageUrl:d,includeAd:h,isSelected:v,onItemSelect:l,sponsor:f&&""!==f&&f||null,sponsorDestinationUri:p&&""!==p&&p||null,sponsorImageUrl:m&&""!==m&&m||null,title:g},`featured-wx-image-${u}`),[u,v])})})};x.propTypes={arcAdsType:d().string,imageSizePreset:d().string,items:d().arrayOf(d().object)};var M=x,_=r(7168),O=r(1032);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){A(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function A(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=({customFields:e={}})=>{const{arcSite:t,id:r,siteProperties:i,type:o}=(0,l.useFusionContext)();if((0,u.vQ)({featureName:o,siteProperties:i}))return null;const{category:c=null,feedLimit:d=5,titleBarOpenInNewWindow:h=!1,titleBarText:f,titleBarHeadingLevel:p=2,titleBarTextWeight:m="bold",titleBarUrl:g}=e,b=(0,s.useContent)((0,O._i)({siteName:t,source:"wx-conditions-imagery",query:{category:c,featuredImagesOnly:true,feedSize:d}})),{count:v=0,items:w=[]}=b||{};return(0,y.jsxs)("div",{className:(0,a.A)(["featured-imagery |","weather","d-flex","flex-column","rounded","mb-3"]),children:[f&&(0,y.jsx)(_.A,{headingLevel:p&&""!==p&&parseInt(p,10)||2,openInNewWindow:h,title:f,textWeight:m,url:g}),(0,n.useMemo)(()=>(0,y.jsx)(M,{arcAdsType:"Small Leaderboard - (300x50)",imageSizePreset:"summary_16x9",items:w},`featured-wx-images-${r}`),[w,v])]})};P.propTypes={customFields:o().shape(S(S({},(0,_.G)()),{},{category:o().string.tag({defaultValue:null,group:"Data",name:"Limit to Category"}),featuredImagesOnly:o().bool.tag({defaultValue:!0,group:"Data",hidden:!0,name:"Limit to Featured Only"}),feedLimit:o().number.tag({defaultValue:5,group:"Data",min:1,max:10,name:"Max number of images to display.",step:1}),childrenJustification:o().oneOf(["center"]).tag({defaultValue:"center",hidden:!0,name:"Children Justification"})}))},P.label="Weather  - Featured Imagery";var k=P},9884:function(e,t,r){"use strict";r.d(t,{Bq:function(){return l},Dq:function(){return p},EH:function(){return d},lC:function(){return h},q9:function(){return f},ql:function(){return u},td:function(){return c}});var n=r(4676);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=e=>{const t=e&&""!==e&&e.toLowerCase()||"f";switch(t.includes("temp")&&(0,n.Bd)()&&(window.localStorage.RCTempPreference="tempc"===t?"C":"F"),t){case"tempc":case"c":return"C";default:return"F"}},l=e=>{if(!(0,n.Bd)())return[];return JSON.parse(window.localStorage.RCDataWeather||"[]").filter(t=>t.website===e)},u=e=>{if(!(0,n.Bd)())return!1;const{RCSavedWeatherLocation:t=null}=o({},window.localStorage);e&&null!==e?window.localStorage.RCSavedWeatherLocation=e:delete window.localStorage.RCSavedWeatherLocation;const{RCSavedWeatherLocation:r=null}=window.localStorage;if(t!==r){const e=document.createEvent("Event");e.initEvent("RCWeatherLocationSaved",!0,!0),window.dispatchEvent(e)}return!0},c=(e,t)=>{const r=l(e).filter(e=>e.zip!==t);window.localStorage.RCDataWeather=JSON.stringify(r),u(null)},d=(e={},t,r,n="F")=>{const i=l(r);return i.filter(e=>e.zip===t).length<=0&&i.push(o({},(()=>{const i="F"===n?"imperial":"metric";return{name:`${e?.[i]?.location?.city??""}, ${e?.[i]?.location?.adminDistrictCode??""}`,zip:t,website:r}})())),window.localStorage.RCDataWeather=JSON.stringify(i),u(t),!0},h=()=>(0,n.Bd)()&&window.localStorage&&window.localStorage.RCSavedWeatherLocation?window.localStorage.RCSavedWeatherLocation:null,f=e=>{if(!(0,n.Bd)())return s(e);window.localStorage.RCTempPreference=s(e);const t=document.createEvent("Event");return t.initEvent("RCTempPreferenceSaved",!0,!0),window.dispatchEvent(t),e},p=(e="F")=>{if(!(0,n.Bd)())return e;const t=window.localStorage.RCTempPreference||e;return s(t)}},391:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});var n=r(809),i=r(6780),o=r.n(i),a=r(4375),s=r(4321),l=r(3287);const u=(e={},t={})=>{const{bannerPrefix:r,bannerTextOverride:n,bannerDestinationUrlOverride:i}=t;return{prefix:r,text:n||(e?.headlines?.basic??null),destinationUri:i||(e?.website_url??null)}};var c=r(2528),d=r(1032),h=r(7508),f=r.n(h),p=r(1224),m=r(5349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=({customFields:e={}})=>{const{bannerColor:t="red",bannerDestinationUrlOverride:r=null,bannerEnableClosings:i=!1,bannerEnableWxAlerts:o=!1,bannerPrefix:h="Breaking",bannerTextOverride:g=null,bannerTextSize:y="large",bannerVerticalPadding:v="large",contentConfig:w={},overrideGsyncClosingsSiteId:x,viewUnpublishedVersion:M=!0}=e,{contentService:_,contentConfigValues:O}=w,{siteProperties:j,type:S}=(0,s.useFusionContext)(),A=f()(j?.locale||"en"),[P,k]=(0,n.useMemo)(()=>[o&&!(0,c.vQ)({featureName:`${S}/weather-alerts`,siteProperties:j}),i&&!(0,c.vQ)({featureName:`${S}/gsync-closings`,siteProperties:j})],[S,j]),T=(0,a.useContent)((0,d._i)({source:_,query:O,filter:"{headlines { basic } website_url }"})),E=(0,a.useContent)(P?(0,d._i)({source:"wx-alerts-details-gdm",query:{},filter:"{count mostSevereAlert { event type alertColor }}"}):{}),C=(0,a.useContent)(k?(0,d._i)({source:"gsync-closings",query:{gsyncSiteId:x},filter:"{totalResults}"}):{}),{prefix:D,text:N,destinationUri:I}=u(T,{bannerPrefix:h,bannerTextOverride:g,bannerDestinationUrlOverride:r}),{mostSevereAlert:R,count:L=0}=E||{},{totalResults:B=0}=C||{},q=(0,p.n7)(L,R?.event),U={color:"yellow"===t?"teal":t,destinationUri:I,prefix:D,text:N,textSize:y,type:p.Fe.BREAKING_NEWS,verticalPadding:v,viewUnpublishedVersion:M,dism
2issBtnAltTxt:A.t("core.dismissibleAlertBar.dismissBreakingNews")},z={color:"orange",destinationUri:A.t("global.breakingNewsBar.closings.destinationUrl"),prefix:null,text:A.t("global.breakingNewsBar.closings.heading"),textSize:"small",type:p.Fe.CLOSINGS,verticalPadding:"x-small",viewUnpublishedVersion:M,dismissBtnAltTxt:A.t("core.dismissibleAlertBar.dismissClosings")},F={color:R?.alertColor,destinationUri:"/weather/alerts/",isCapitalized:!0,prefix:null,text:q,textSize:"small",type:p.Fe.WEATHER_ALERTS,verticalPadding:"x-small",viewUnpublishedVersion:M,dismissBtnAltTxt:A.t("core.dismissibleAlertBar.dismissWeatherAlerts")};return(0,m.jsxs)("div",{className:(0,l.A)(["breaking-news-bar |"]),children:[(0,m.jsx)(p.A7,b({},U)),0!==B&&(0,m.jsx)(p.A7,b({},z)),0!==L&&(0,m.jsx)(p.A7,b({},F))]})};v.propTypes={customFields:o().shape({viewUnpublishedVersion:o().bool.tag({defaultValue:!0,description:"Click to display unpublished version to see changes in preview.",name:"View unpublished version"}).isRequired,contentConfig:o().contentConfig("breaking-news").tag({defaultValue:{contentService:"breaking-news-feed",contentConfigValues:{dateTimeLimitByMinutes:60,includeSections:"/news/breaking"}},group:"Data Configuration",name:"Content Source"}),bannerPrefix:o().string.tag({defaultValue:"BREAKING",description:"Set the banner prefix. This text will proceed the banner text.",group:"General",name:"Banner Prefix"}),bannerColor:o().oneOf(["blue","red","teal","yellow"]).tag({defaultValue:"red",description:"Set the banner background color.",labels:{blue:"blue",red:"red",teal:"teal",yellow:"yellow (deprecated)"},group:"General",name:"Banner Color"}).isRequired,bannerTextSize:o().oneOf(["small","medium","large"]).tag({defaultValue:"large",description:"Set the banner text size. The default size is large",group:"General",name:"Banner Text Size"}).isRequired,bannerVerticalPadding:o().oneOf(["small","large"]).tag({defaultValue:"large",description:"Set the banner vertical padding size. The default padding size is large",group:"General",name:"Banner Vertical Padding"}).isRequired,bannerTextOverride:o().string.tag({defaultValue:null,description:"Set the banner text. If content is returned from the data configuration then the headline of that content will be used by default.",group:"Overrides",name:"Banner Text"}),bannerDestinationUrlOverride:o().string.tag({defaultValue:null,description:"Set the destination url. If content is returned from the data configuration then the url of that content will be used by default.",group:"Overrides",name:"Banner Destination URL"}),bannerEnableClosings:o().bool.tag({defaultValue:!1,description:"If checked, active closings listed in GSync will trigger a orange banner.",name:"Enable Closings Alerts"}),overrideGsyncClosingsSiteId:o().string.tag({defaultValue:null,description:"To use another site's GSync closings data, add that id here. If left blank the id declared in site properties will be used.",name:"Override GSync Closings Site ID"}),bannerEnableWxAlerts:o().bool.tag({defaultValue:!1,description:"If checked, active weather alerts will trigger a severity-specific banner.",name:"Enable Weather Alerts"})})},v.label="Global - Breaking News Bar";var w=v},7266:function(e,t,r){"use strict";r.r(t);r(809);var n=r(3287),i=r(4321),o=r(5771),a=r(5349);const s="Global - UGC Widget",l=({customFields:e}={})=>{const{id:t,isAdmin:r=!1}=(0,i.useFusionContext)();return r?(0,a.jsxs)(o.HZ,{classes:(0,n.A)(["text-white","bg-secondary","w-100","small","mb-3"]),styles:{minHeight:"90px"},children:[(0,a.jsxs)("p",{children:["The ",(0,a.jsx)("b",{children:s})," has been deprecated and will no longer render on the front end."]}),(0,a.jsxs)("p",{children:["To continue using this livestream feature, switch to the"," ",(0,a.jsx)("b",{children:"Engagement - Audience Experience"})," feature."]}),(0,a.jsxs)("div",{className:(0,n.A)(["text-start","small"]),children:[(0,a.jsx)("h6",{className:(0,n.A)(["mb-1"]),children:"Current Custom Fields:"}),(0,a.jsx)("pre",{className:(0,n.A)(["text-reset","fst-italic","mb-1"]),children:JSON.stringify(e||{},null,2)})]})]},`deprecated-sblp-${t}`):null};l.icon="alert-circle",l.label=`${s} (DEPRECATED)`,t.default=l},8364:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(3287),s=r(5771),l=r(5349);const u=({customFields:e={}})=>{const{id:t}=(0,o.useFusionContext)(),{errorHeadline:r="",errorBody:n="",headlineSize:i=1,headlineWeight:u="bold"}=e;return(0,l.jsxs)("div",{className:(0,a.A)(["error-message |","mb-3"]),children:[(0,l.jsx)("div",{className:(0,a.A)(["row","mb-3"]),children:(0,l.jsx)(s.$j,{headlineClasses:(0,a.A)(["col"]),headlineLevel:i,headlineText:r,headlineWeight:u,hide
2Subheadline:!0},`error-message-headline-${t}`)}),(0,l.jsx)("div",{className:(0,a.A)(["row","mb-3"]),children:(0,l.jsx)("div",{className:(0,a.A)(["col"]),children:(0,l.jsx)(s.VI.EY,{content:n,className:(0,a.A)(["article-text"])},`error-message-text-${t}`)})})]})};u.label="Error Message",u.propTypes={customFields:i().shape({errorHeadline:i().string.tag({defaultValue:"404 / Page Not Found",description:"This will be used as the headline/header of the error page",group:"Custom Text",name:"Headline Text"}),errorBody:i().richtext.tag({defaultValue:"Sorry, we couldn't locate the page you requested. Here are some of our most read articles that might interest you.",description:"This will be used as the article body of the error page",group:"Custom Text",name:"Body Text"}),headlineSize:i().oneOf([1,2,3]).tag({name:"Headline Size",group:"Headline",defaultValue:1,labels:{1:"H1",2:"H2",3:"H3"}}),headlineWeight:i().oneOf(["bold","bolder","normal","light","lighter"]).tag({name:"Headline Weight",group:"Headline",defaultValue:"bold",labels:{bold:"Bold",bolder:"Bolder",normal:"Normal",light:"Light",lighter:"Lighter"}})})},u.label="Global - Error Page Message",t.default=u},2444:function(e,t,r){"use strict";r.d(t,{Cu:function(){return D},H9:function(){return E},Jg:function(){return A},KX:function(){return I},Mb:function(){return k},OQ:function(){return X},S8:function(){return R},TG:function(){return L},at:function(){return C},dP:function(){return S},kW:function(){return Y},nv:function(){return P},pn:function(){return q},sx:function(){return N},to:function(){return j},wk:function(){return T},yM:function(){return B}});var n=r(809),i=r(3287),o=r(7983),a=r.n(o),s=r(4321),l=r(5653),u=r(716),c=r(3379),d=r(6142),h=r(3189),f=r(5106),p=r(4745),m=r(9807),g=r(9262),b=r(9726),y=r(3454),v=r(2528),w=r(5349);const x=["type"];function M(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function _(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?M(Object(r),!0).forEach(function(t){O(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):M(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function O(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const j={enums:{default:"default",transparent:"transparent",promo_link_blue:"blue-link"},defaultValue:"default",values:{default:"default",transparent:"transparent",promo_link_blue:"blue-link"}},S={defaultValue:"Top Right Bottom Left",values:["none","Top Right Bottom Left","Bottom","Bottom Left","Bottom Right","Bottom Left Right","Left","Left Right","Right","Top","Top Left","Top Right","Top Bottom","top Left right"]},A={enums:{none:"none",Byline:"Byline",Deck:"Deck",Headline:"Headline","Headline, Byline":"Headline, Byline","Headline, Deck":"Headline, Deck",Overline:"Overline","Overline, Deck":"Overline, Deck","Overline, Byline":"Overline, Byline","Overline, Headline, Deck":"Overline, Headline, Deck","Overline, PlayIcon, Headline, Deck":"Overline, PlayIcon, Headline, Deck","Overline, Headline, Byline":"Overline, Headline, Byline",PlayIcon:"PlayIcon","PlayIcon, Text":"PlayIcon, Text",Text:"Text"},defaultValue:"Overline",values:["none","Byline","Deck","Headline","Headline, Byline","Headline, Deck","Overline","Overline, Deck","Overline, Byline","Overline, Headline, Deck","Overline, PlayIcon, Headline, Deck","Overline, Headline, Byline","PlayIcon","PlayIcon, Text","Text"]},P={enums:{default:"default",centered:"centered","centered, italic":"centered, italic","centered, uppercase":"centered, uppercase","centered, italic, uppercase":"centered, italic, uppercase",italic:"italic",uppercase:"uppercase","uppercase, italic":"up
2percase, italic"},defaultValue:"default",values:{default:"default",centered:"centered","centered, italic":"centered, italic","centered, uppercase":"centered, uppercase","centered, italic, uppercase":"centered, italic, uppercase",italic:"italic",uppercase:"uppercase","uppercase, italic":"uppercase, italic"}},k={enums:{auto:"auto","20%":"20%","25%":"25%","30%":"30%","40%":"40%","50%":"50%","60%":"60%","70%":"70%","80%":"80%","90%":"90%","100%":"100%"},defaultValue:"auto",values:["auto","20%","25%","30%","40%","50%","60%","70%","80%","90%","100%"]},T={Bottom:"Bottom","Bottom Left":"Bottom Left","Bottom Right":"Bottom Right",Center:"Center",Cover:"Cover",Left:"Left",Right:"Right",Top:"Top","Top Left":"Top Left","Top Right":"Top Right"},E=(e={})=>{const{defaultValue:t="Top Left",includeBottom:r=!0,includeBottomLeft:n=!0,includeBottomRight:i=!0,includeCenter:o=!0,includeCover:a=!1,includeLeft:s=!0,includeRight:l=!0,includeTop:u=!0,includeTopLeft:c=!0,includeTopRight:d=!0}=e;return{defaultValue:t,values:[...[{position:"Bottom",display:r},{position:"Bottom Left",includeBottomLeft:n},{position:"Bottom Right",display:i},{position:"Center",display:o},{position:"Cover",display:a},{position:"Left",display:s},{position:"Right",display:l},{position:"Top",display:u},{position:"Top Left",display:c},{position:"Top Right",display:d}].filter(e=>!0===e.display).reduce((e,t)=>(e.push(t.position),e),[])]}},C={enums:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},defaultValue:3,values:{1:"H1",2:"H2",3:"H3",4:"H4",5:"H5",6:"H6"}},D={enums:{none:"none",xs:"xs",sm:"sm",md:"md",lg:"lg",xl:"xl"},defaultValue:"sm",values:{none:"none",xs:"x-small",sm:"small",md:"medium",lg:"large",xl:"x-large"}},N={enums:{center:"center",centerEdgeToEdge:"centerEdgeToEdge",left:"left",right:"right"},defaultValue:"left",values:{center:"Center (Full Width)",centerEdgeToEdge:"Center (Edge to Edge)",left:"Left",right:"Right"}},I={enums:{Default:"summary_default","1x1":"summary_1x1","2x1":"summary_2x1","2x3":"summary_2x3","3x1":"summary_3x1","3x2":"summary_3x2","4x1":"summary_4x1","4x3":"summary_4x3","16x9":"summary_16x9"},defaultValue:"summary_16x9",values:{summary_default:"Default",summary_1x1:"1x1",summary_2x1:"2x1",summary_2x3:"2x3",summary_3x1:"3x1",summary_3x2:"3x2",summary_4x1:"4x1",summary_4x3:"4x3",summary_16x9:"16x9"}},R={defaultValue:"square",values:{square:"square",rounded:"rounded",circle:"circle",pill:"pill"}},L={enums:{auto:"auto",25:"25%",33:"33%",50:"50%",66:"66%",75:"75%",100:"100%"},defaultValue:"w-auto",values:{"w-auto":"auto","w-25":"25%","w-33":"33%","w-50":"50%","w-66":"66%","w-75":"75%","w-100":"100%"}},B={enums:{normal:"normal",small:"small"},defaultValue:"normal",values:{normal:"normal",small:"small"}},q={enums:{normal:"normal",bold:"bold",bolder:"bolder",light:"light",lighter:"lighter"},defaultValue:"normal",values:{normal:"normal",bold:"bold",bolder:"bolder",light:"light",lighter:"lighter"}},U=(e="")=>{const t=e.toLowerCase();return(0,i.A)([{"flex-row":t.includes("left")},{"flex-row-reverse":t.includes("right")},{"align-items-center":"center"===t},{"align-items-stretch":"cover"===t},{"align-items-start":t.includes("top")},{"align-items-end":t.includes("bottom")},{"justify-content-center":"top"===t||"bottom"===t||"center"===t||"cover"===t}])},z=(e="")=>(0,i.A)([{"rounded-0":"square"===e},{rounded:"rounded"===e},{"rounded-circle":"circle"===e},{"rounded-pill":"pill"===e}]),F=(e,t)=>{const{[`${e}TextSize`]:r,[`${e}TextWeight`]:n,[`${e}TextDecoration`]:i}=t,o={textSizeClasses:r&&B.values[r]?`${r}`:"",textWeightClasses:n&&q.values[n]?`fw-${n}`:"",textDecorationClasses:i&&(e=>{const t=e&&""!==e&&e.split(", ").map(e=>{switch(e){case"centered":return"text-center";case"italic":return"fst-italic";case"uppercase":return"text-uppercase";default:return""}});return t.length>0?t.join(" "):""})(i)};return{classes:[...Object.keys(o)].reduce((e,t)=>{const r=o[t];return r&&""!==r&&e.push(r.trim()),e},[]).join(" "),original:_({},o)}},$=(e,t,r,n,o=!1)=>{if(!e||!t)return null;const{website_url:a,hasVideo:l}=e,{outputType:u="default"}=(0,s.useAppContext)(),{containerClasses:c,customDestinationUrl:h,customHeadlineText:f,headlineClasses:p,headlineHeaderLevel:m="5",openInNewWindow:g=!1}=t,b=f&&""!==f&&f||(e?.headlines?.basic??"");if(!b)return null;const{classes:y}=F("headline",t);return b&&(0,w.jsx)(d.A,{containerClasses:c||(0,i.A)(["card-title","mb-1",{"w-100":o}]),headlineClasses:p||(0,i.A)(["mb-0",y]),headlineDataAttributes:{"data-tb-title":""},headlineLevel:parseInt(m,10),headlineText:l?`<i class="far fa-play-circle"></i><span style="textDecoration: none;"> </span>${b}
2`:b,openInNewWindow:g,url:o?null:(0,v.Ol)({outputType:u,uri:h&&""!==h&&h||a}),urlDataAttributes:{"data-tb-link":""}},`flex-feature-headline-${e?._id||b}`)},V=(e,t,r,n,o)=>{if(e&&t){const{arcSite:r,credits:n,display_date:s}=e,{timezone:c}=a()(r),{hideCredits:d,hideDateTime:h}=t,{classes:f}=F("byline",t),p=!d&&!h&&n&&n.by&&n.by.length>0&&s?(0,w.jsx)("span",{className:(0,i.A)(["mx-2"]),children:"|"}):"";return(0,w.jsxs)("div",{className:(0,i.A)(["bylines |","d-block",f,{"w-100":o}]),children:[h||!s?null:(0,w.jsx)(u.A,{className:(0,i.A)([""]),containerClasses:(0,i.A)(["d-inline-block",f]),dateDataAttributes:{"data-tb-date":""},updatedDateTime:s,showPublishedDateTime:!1,showUpdatedDateTime:!0,timeZone:c},`flex-feature-bylines-datetime-${e?._id||n?.by[0]?._id}`),p,d||!n?null:(0,w.jsx)(l.A,{bylineClasses:(0,i.A)([""]),containerClasses:(0,i.A)(["d-inline-block",f]),credits:n,includeTaboolaDataAttribute:!0,overrides:t},`flex-feature-bylines-byline-${e?._id||n?.by[0]?._id}`)]},`flex-feature-bylines-${e?._id||n?.by[0]?._id}`)}return null},H=(e,t,r,n,o)=>{if(e&&t&&!t.deckMergeWithHeadline){const{customDeckText:r,deckClasses:n}=t,a=r&&""!==r&&r||(e?.description?.basic??"");if(!a)return null;const{classes:s}=F("deck",t);return(0,w.jsx)(c.A,{deckClasses:(0,i.A)([n,s,{"w-100":o}]),deckDataAttributes:{"data-tb-description":""},deckText:a,overrides:t,urlDataAttributes:{"data-tb-link":""}},`flex-feature-deck-${e?._id||a}`)}return null},W=(e,t={},r,n,o=!1)=>{const{outputType:a="default"}=(0,s.useAppContext)(),{customOverlineText:l,overlineClasses:u="",url:c}=t,{classes:d}=F("overline",t),h=l&&""!==l&&l||(()=>{if(0===Object.entries(e).length&&e.constructor===Object)return null;const{arcSite:t,taxonomy:r}=e,n=e?.websites?.[t]?.website_section??{},i=e?.owner?.sponsored?"Sponsored":null,o=r?.topics??[],a=r?.tags??[],s=n?.additional_properties?.original;return i||(s?.site?.section_tag_name??null)||(s?.navigation?.nav_title??null)||(s?.site?.site_title??null)||(n?.name??null)||o?.[0]?.name||a?.[0]?.text||null})();return h?(0,w.jsx)(f.A,{overlineClasses:(0,i.A)([u,d]),overlineDataAttributes:{"data-tb-category":""},overlineText:h,overrides:t,resetTextColor:!0,url:o?null:(0,v.Ol)({outputType:a,uri:c})||null},`flex-feature-overline-${e?._id||h}`):null},G=(e,t,r,o,a=!1)=>{if(!e||!t)return null;const{outputType:l="default",pagebuilderURL:u}=(0,s.useAppContext)(),{customDestinationUrl:c,customImageAltText:d,imageAlignment:f,imageClasses:M,imageFetchPriority:O,imageLazyLoad:j,imagePersistWhenEmpty:S=!1,imageRatio:A="summary_3x2",imageShape:P,imageWidth:k,isAmp:T=!1,openInNewWindow:E=!1,overlayBoxShadow:C,overlayLabelAdditionalClasses:D="",overlayOnHover:N,overlayPosition:I="bottom",overlayTextElements:R,overlayText:L,overlayTextPosition:B="bottom",overlayTextWidth:q="auto",resizedCustomImage:F,resizedFallbackImage:G}=t,{contextPath:K,website_url:Z}=e,X=(0,h.Ud)(e),Y="lazy"===O?"lazy":"default"===O||"preload"===O||!1===j?"eager":"lazy",J="preload"===O||void 0===O&&!1===j?"high":"low",Q=!F?.url&&!X?G:F||X,ee=!(!L&&!R||"none"===(R||"").toLowerCase()),te=Q?.caption,re=((e,t={})=>{try{const{type:r=null}=t,n=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,x);if(!r||"video"!==r)return e;const{alt_text:i,caption:o}=n?.promo_items?.basic??{},a=i||o;if(a)return a;const s=n?.description?.basic,l=n?.caption?.basic;return l||s}catch(t){return e}})(d,e||{});if(!Q)return null;const ne=(0,v.Ol)({outputType:l,uri:c&&""!==c?c:Z}),ie=(e=!1)=>ee?N?e?"d-hover ??":"d-hover":e?"":"d-flex":e?"":"d-none",oe=()=>{if(R){const{_byline:i,_deck:o,_headline:a,_overline:s}=(0,y.KV)(R);return(0,w.jsx)(n.Fragment,{children:R.split(",").map(n=>{switch((0,y.Bq)(n)){case"Overline":return W(e,t,s.index,s.isLastComponent,!0);case"Headline":return $(e,t,a.index,a.isLastComponent,!0);case"Deck":return H(e,t,o.index,o.isLastComponent,!0);case"Byline":return V(e,t,i.index,i.isLastComponent,!0);case"PlayIcon":return(0,w.jsx)(p.A,{},`flex-feature-image-playicon-${e?._id||r}`);case"Text":return L;default:return null}})},`flex-feature-image-overlay-${e?._id||r}`)}return(0,w.jsx)(n.Fragment,{children:L},`flex-feature-image-overlay-text-${e?._id||L}`)},ae=r<=1&&!1===o&&("left"===f||"right"===f)?k||"w-33":"w-auto",se=(0,i.A)(["image-container","position-relative","mb-0",{"pt-0":r<=1},ae,{"float-start me-2":r<=1&&!1===o&&"left"===f},{"float-end ms-2":r<=1&&!1===o&&"right"===f},{"float-none":r>0&&"left"!==f&&"right"!==f||!0===o},{"mx-n3":"centerEdgeToEdge"===f}]),le=a?null:c||Z;return(0,w.jsxs)("div",{className:se,children:[(()=>{if(ee){const e=null;return(0,w.jsx)("a",{href:ne,className:(0,i.A)(["link |","text-reset"]),"data-tb-link":"",rel:E?"noopener noreferrer":"",target:E?"_blank":"_self",children:(0,w.jsx)("div",{className:(0,i.A)(["overlay |","position-absolute","overflow-hidden",U(I),ie(),"h-100","w-100",z(P)]),children:(0,w.jsx)("div",{className:(0,i.A)(["label |","overflow-auto",{shadow:C}
2,{"h-100":N},{"w-100":"auto"===q&&"cover"===I},D]),style:_(_(_({},e),(0,y.ZW)(t,"overlay")),(0,y.ZW)(t,"overlayText")),children:(0,w.jsx)("div",{className:(0,i.A)(["h-100","p-2","d-flex","flex-column",U(B)]),children:oe()})})})})}return null})(),(0,w.jsx)(m.A,{caption:te,containerClasses:(0,i.A)(["media-item-image","mb-0",{"lazy-load":j}]),deprecatedSizePresetKey:A,showCaption:!1,showCredits:!1,showTitle:!1,children:(0,w.jsx)(g.A,{classes:(0,i.A)(["d-block","h-100","w-100"]),component:b.A,condition:le,href:le,openInNewWindow:E,urlDataAttributes:{"data-tb-link":""},children:(0,w.jsx)(h.Ay,{ANSImage:Q,fetchPriority:J,imageClasses:(0,i.A)(["img-fluid",M]),imageDataAttributes:{"data-tb-thumbnail":""},imageShape:P,isAmp:T,layout:"responsive",loading:Y,placeholderImage:S?u(`${K}/resources/images/blank.png`):null,resizedOptions:{smart:!0},sizePreset:A,src:F?.url||null,altText:""!==(re||"").trim()&&re||null})})})]})},K=(e="",t="")=>(0,y.Bq)(`${e} ${t}`),Z=(e,t,r,i,o)=>{const a=((e,t,r)=>{const{_byline:n,_deck:i,_headline:o,_image:a,_overline:s}=(0,y.KV)(e);return{Byline:()=>V(t,r,n.index,n.isLastComponent),Deck:()=>H(t,r,i.index,i.isLastComponent),Headline:()=>$(t,r,o.index,o.isLastComponent),Image:()=>G(t,r,a.index,a.isLastComponent),Overline:()=>W(t,r,s.index,s.isLastComponent)}})(e,t,i),s=e.split(",");return(0,w.jsxs)("div",{className:K(r,e.replace(/ /g,"").replace(/,/g,"_")).toLowerCase(),style:(0,y.ZW)(i,"storyCard"),children:[s.map((e,r)=>{const o=e.split("-")[0].trim();return(0,w.jsx)(n.Fragment,{children:a[o](t,i,r,null)},`flex-feature-markup-view-name-${o}-${t?._id}`)}),o&&o||null]})},X=(e,t,r,n)=>({"Byline, Headline, Deck":()=>Z("Byline, Headline, Deck",e,t,r,n),Headline:()=>Z("Headline",e,t,r,n),"Headline, Byline":()=>Z("Headline, Byline",e,t,r,n),"Headline, Deck":()=>Z("Headline, Deck",e,t,r,n),"Headline, Deck, Byline":()=>Z("Headline, Deck, Byline",e,t,r,n),"Headline, Byline, Image":()=>Z("Headline, Byline, Image",e,t,r,n),"Headline, Image":()=>Z("Headline, Image",e,t,r,n),"Headline, Image, Byline":()=>Z("Headline, Image, Byline",e,t,r,n),"Headline, Image, Byline, Deck":()=>Z("Headline, Image, Byline, Deck",e,t,r,n),"Headline, Image, Overline":()=>Z("Headline, Image, Overline",e,t,r,n),"Headline, Deck, Image":()=>Z("Headline, Deck, Image",e,t,r,n),"Headline, Deck, Image, Byline":()=>Z("Headline, Deck, Image, Byline",e,t,r,n),"Headline, Image, Deck":()=>Z("Headline, Image, Deck",e,t,r,n),Deck:()=>Z("Deck",e,t,r,n),"Deck, Image":()=>Z("Deck, Image",e,t,r,n),Image:()=>Z("Image",e,t,r,n),"Image, Byline":()=>Z("Image, Byline",e,t,r,n),"Image, Deck":()=>Z("Image, Deck",e,t,r,n),"Image, Deck, Byline":()=>Z("Image, Deck, Byline",e,t,r,n),"Image, Byline, Headline, Deck":()=>Z("Image, Byline, Headline, Deck",e,t,r,n),"Image, Headline":()=>Z("Image, Headline",e,t,r,n),"Image, Headline, Byline":()=>Z("Image, Headline, Byline",e,t,r,n),"Image, Headline, Deck":()=>Z("Image, Headline, Deck",e,t,r,n),"Image, Headline, Overline":()=>Z("Image, Headline, Overline",e,t,r,n),"Image, Headline, Byline, Deck":()=>Z("Image, Headline, Byline, Deck",e,t,r,n),"Image, Headline, Deck, Byline":()=>Z("Image, Headline, Deck, Byline",e,t,r,n),"Image, Overline, Deck":()=>Z("Image, Overline, Deck",e,t,r,n),"Image, Overline, Headline":()=>Z("Image, Overline, Headline",e,t,r,n),"Image, Overline, Headline, Byline":()=>Z("Image, Overline, Headline, Byline",e,t,r,n),"Image, Overline, Headline, Deck":()=>Z("Image, Overline, Headline, Deck",e,t,r,n),"Image, Overline, Headline, Deck, Byline":()=>Z("Image, Overline, Headline, Deck, Byline",e,t,r,n),"Image, Overline, Headline, Byline, Deck":()=>Z("Image, Overline, Headline, Byline, Deck",e,t,r,n),"Overline, Deck":()=>Z("Overline, Deck",e,t,r,n),"Overline, Deck, Image":()=>Z("Overline, Deck, Image",e,t,r,n),"Overline, Headline":()=>Z("Overline, Headline",e,t,r,n),"Overline, Headline, Byline":()=>Z("Overline, Headline, Byline",e,t,r,n),"Overline, Headline, Image":()=>Z("Overline, Headline, Image",e,t,r,n),"Overline, Headline, Deck":()=>Z("Overline, Headline, Deck",e,t,r,n),"Overline, Headline, Deck, Byline":()=>Z("Overline, Headline, Deck, Byline",e,t,r,n),"Overline, Headline, Deck, Image":()=>Z("Overline, Headline, Deck, Image",e,t,r,n),"Overline, Headline, Image, Deck":()=>Z("Overline, Headline, Image, Deck",e,t,r,n),"Overline, Image":()=>Z("Overline, Image",e,t,r,n),"Overline, Image, Deck":()=>Z("Overline, Image, Deck",e,t,r,n),"Overline, Image, Headline":()=>Z("Overline, Image, Headline",e,t,r,n),"Overline, Image, Headline, Deck":()=>Z("Overline, Image, Headline, Deck",e,t,r,n),"Overline, Image, Headline, Deck, Byline":()=>Z("Overline, Image, Headline, Deck, Byline",e,t,r,n)}),Y=e=>{const t=Object.keys(X());return e?t.filter(t=>t.indexOf(e)>=0):t}},5:function(e,t,r){"use strict";r.d(t,{UG:function(){return d},xX:function(){return u}});var n=r(2444);function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s={none:{_isEnabled:!0},card_horizontal_left:{_isEnabled:!0,_outbrainEnabled:!0,borders:"Top Right Bottom Left",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:4,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.left,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["16x9"],imageShape:"default",imageWidth:"w-33",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,view:"Image, Headline, Byline, Deck"},card_horizontal_right:{_isEnabled:!0,_outbrainEnabled:!0,borders:"Top Right Bottom Left",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:4,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.bold,imageAlignment:"right",imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["16x9"],imageShape:"default",imageWidth:"w-33",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,view:"Image, Headline, Byline, Deck"},card_vertical:{_isEnabled:!0,_outbrainEnabled:!1,borders:"Top Right Bottom Left",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:4,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.center,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["3x2"],imageShape:"default",imageWidth:n.Mb.enums.auto,linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"none",view:"Image, Headline, Byline, Deck"},headline:{_isEnabled:!0,_outbrainEnabled:!1,borders:"none",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.none,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:4,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.normal,imageAlignment:n.sx.enums.left,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["16x9"],imageShape:"default",imageWidth:"w-33",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroun
2dColor:"rgba(0,0,0,0.6)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:"none",overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"none",view:"Headline"},headline_blue_promo_link:{_isEnabled:!0,_outbrainEnabled:!1,background:n.to.enums.promo_link_blue,borders:"none",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:6,headlineTextDecoration:n.nv.enums["centered, uppercase"],headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.center,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["16x9"],imageShape:"default",imageWidth:"w-33",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"rgba(0,0,0,0.6)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:"none",overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"none",view:"Headline"},hero_tile_vertical:{_isEnabled:!0,_outbrainEnabled:!1,borders:"none",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:3,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.center,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["3x2"],imageShape:"default",imageWidth:n.Mb.enums.auto,linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"none",view:"Image, Headline, Byline, Deck"},hero_overlay_vertical:{_isEnabled:!0,_outbrainEnabled:!1,borders:"none",bylineTextDecoration:n.nv.enums.centered,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.light,cardBodyHorizontalPadding:n.Cu.enums.md,cardBodyVerticalPadding:n.Cu.enums.none,cardContainerClasses:"mx-0 px-2 mb-0",deckTextDecoration:n.nv.enums.centered,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:3,headlineTextDecoration:n.nv.enums.centered,headlineTextWeight:n.pn.enums.bold,hideDateTime:!0,imageAlignment:n.sx.enums.centerEdgeToEdge,imagePersistWhenEmpty:!0,imageRatio:n.KX.enums["4x3"],imageShape:"rounded",imageWidth:"w-33",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayLabelAdditionalClasses:"pt-3",overlayBackgroundColor:"linear-gradient(0deg, rgba(0, 0, 0, 0.9) 80%, rgba(0, 0, 0, 0.6) 94%, rgba(0, 0, 0, 0) 100%)",overlayPosition:n.wk.Bottom,overlayTextColor:"white",overlayTextElements:n.Jg.enums["Headline, Deck"],overlayTextPosition:n.wk.Center,overlayTextWidth:"100%",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"hero-overlay",view:"Image"},hero_headline_left:{_isEnabled:!0,_outbrainEnabled:!0,overlayTextColor:"white",background:n.to.enums.transparent,borders:"none",bylineTextDecoration:n.nv.enums.italic,bylineTextSize:n.yM.enums.normal,bylineTextWeight:n.pn.enums.light,cardBodyHorizontalPadding:n.Cu.enums.xs,cardBodyVerticalPadding:n.Cu.enums.none,cardDeckClasse
2s:"h-100",deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:6,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.left,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["3x2"],imageShape:"rounded",linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk.Left,overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,view:"Image, Headline"},hero_headline_right:{_isEnabled:!0,_outbrainEnabled:!0,overlayTextColor:"white",borders:"none",bylineTextDecoration:n.nv.enums.italic,bylineTextSize:n.yM.enums.normal,bylineTextWeight:n.pn.enums.light,cardBodyHorizontalPadding:n.Cu.enums.xs,cardBodyVerticalPadding:n.Cu.enums.none,cardDeckClasses:"h-100",deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:5,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.left,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums.Default,imageShape:"rounded",linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk.Left,overlayTextWidth:n.Mb.enums.auto,overlineClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,view:"Image, Headline"},"hero-vertical-cards":{_isEnabled:!0,_outbrainEnabled:!1,borders:"Top Right Bottom Left",bylineTextDecoration:n.nv.enums.default,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.normal,cardBodyHorizontalPadding:n.Cu.enums.sm,cardBodyVerticalPadding:n.Cu.enums.sm,deckTextDecoration:n.nv.enums.default,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:4,headlineTextDecoration:n.nv.enums.default,headlineTextWeight:n.pn.enums.bold,imageAlignment:n.sx.enums.center,imagePersistWhenEmpty:!1,imageRatio:n.KX.enums["3x2"],imageShape:"default",imageWidth:n.Mb.enums.auto,linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.normal,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"linear-gradient(90deg,rgb(150,150,150) 0%,rgb(150,150,150) 5px,rgba(0,0,0,0.8) 5px,rgba(0,0,0,0.6) 80%,rgba(0,0,0,0) 100%)",overlayPosition:n.wk["Top Left"],overlayTextColor:"white",overlayTextElements:n.Jg.enums.Overline,overlayTextPosition:n.wk["Top Left"],overlayTextWidth:n.Mb.enums.auto,overlayLabelAdditionalClasses:"pe-2",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"none",view:"Image, Headline, Byline, Deck",desktopCardsPerRow:3,mobileCardsPerRow:2,tabletCardsPerRow:2,widescreenCardsPerRow:3},overlay_card:{_isEnabled:!0,_outbrainEnabled:!1,borders:"none",bylineTextDecoration:n.nv.enums.centered,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.light,cardBodyHorizontalPadding:n.Cu.enums.md,cardBodyVerticalPadding:n.Cu.enums.md,cardContainerClasses:"mx-2 mb-0",deckTextDecoration:n.nv.enums.centered,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:3,headlineTextDecoration:n.nv.enums.centered,headlineTextWeight:n.pn.enums.bold,hideDateTime:!0,imageAlignment:n.sx.enums.centerEdgeToEdge,imagePersistWhenEmpty:!0,imageRatio:n.KX.enums["16x9"],imageShape:"rounded",linksTextDecoration:n.nv.enums.default,linksTextSize:n.yM.enums.small,linksTextWeight:n.pn.enums.normal,overlayBackgroundColor:"rgba(0, 0, 0, 0.7)",overlayPosition:"Cover",overlayTextColor:"white",overlayTextElements:"Overline, Headline, Byline",overlayTextPosition:n.wk.Center,overlayTextWidth:"100%",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,presets:"overlay-card",view:"Image"},"hero-overlay-cards":{_isEnabled:!0,_outbrainEnabled:!1,borders:"none",bylineTextDecoration:n.nv.enums.centered,bylineTextSize:n.yM.enums.small,bylineTextWeight:n.pn.enums.light,cardBodyHorizontalPadding:n.Cu.enums.md,cardBodyVerticalPadding:n.Cu.enums.none,deckTextDecoration:n.nv.enums.centered,deckTextSize:n.yM.enums.normal,deckTextWeight:n.pn.enums.normal,headlineHeaderLevel:5,headlineTextDecoration:n.nv.enums.centered,headlineTextWeight:n.pn.enums.bold,hideDateTime:!0,imageAlignment:n.sx.enums.centerEdgeToEdge,imageRatio:n.KX.enums["16x9"],imagePersistWhenEmpty:!0,imageShape:"rounded",overlayTextElements:n.Jg.enums["Overline, Headline, Byline"],overlayPosition:n.wk.Cover,overlayTextWidth:n.Mb.enums["100%"],overlayTextPosition:n.wk.Center,overlayBackgroun
2dColor:"rgba(0, 0, 0, 0.7)",overlayTextColor:"white",overlineTextDecoration:n.nv.enums.uppercase,overlineTextSize:n.yM.enums.small,overlineTextWeight:n.pn.enums.bold,view:"Image",desktopCardsPerRow:3,mobileCardsPerRow:2,tabletCardsPerRow:3,widescreenCardsPerRow:3}},l={hero:o(o({},s.hero_overlay_vertical),{},{_isEnabled:!1}),"hero-overlay":o(o({},s.hero_overlay_vertical),{},{_isEnabled:!1}),"hero-headline-w-image":o(o({},s.hero_headline_left),{},{_isEnabled:!1}),"overlay-card":o(o({},s.overlay_card),{},{_isEnabled:!1})},u=o(o({},s),l),c={news:{zoneFeature1:"SectionGenerator",zoneLayout1:void 0,zoneColumnRatios1:"7x3x2",zoneContentItems1:12,zoneFeature2:"HeroGenerator",zoneLayout2:void 0,zoneColumnRatios2:void 0,zoneContentItems2:5}},d={values:Object.keys(u).reduce((e,t)=>(u[t]._isEnabled&&(e[t]=t.replace(/_/g," ")),e),{})};Object.keys(c)},9201:function(e,t,r){"use strict";r.d(t,{KO:function(){return c},KY:function(){return f},V5:function(){return p},bu:function(){return h},rX:function(){return m},yc:function(){return d}});var n=r(6780),i=r.n(n),o=r(8154),a=r(2444);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=(e,t,r={})=>{const{includeDecorations:n=!0,includeText:o=!1,isHeader:s=!1}=r,u="headline"===e||"overline"===e,c="byline"===e||"overline"===e,d="overline"===e,h={[`${e}Text`]:i().string.tag({group:t,name:"Text"})},f={[`${e}TextSize`]:i().oneOf(Object.keys(a.yM.values)).tag({defaultValue:c&&a.yM.enums.small||a.yM.defaultValue,group:t,labels:l({},a.yM.values),name:"Text Size"})},p={[`${e}HeaderLevel`]:i().oneOf(Object.keys(a.at.values).map(e=>parseInt(e,10))).tag({defaultValue:a.at.defaultValue,group:t,labels:l({},a.at.values),name:"Header Level"})};let m=l({},s?p:f);m=l(l({},m),{},{[`${e}TextWeight`]:i().oneOf(Object.keys(a.pn.values)).tag({defaultValue:u&&a.pn.enums.bold||a.pn.defaultValue,group:t,labels:l({},a.pn.values),name:"Text Weight"})});let g=l({},m);return o&&(g=l(l({},h),g)),n&&(g=l(l({},g),((e,t,r=null)=>({[`${t}TextDecoration`]:i().oneOf(Object.keys(a.nv.values)).tag({defaultValue:r&&r||a.nv.defaultValue,group:e,name:"Text Decoration"})}))(t,e,d&&a.nv.enums.uppercase||null))),g},d=l(l({},c("byline","Byline",!0)),{},{hideCredits:i().bool.tag({defaultValue:!1,group:"Byline",name:"Hide Credits (Authors)"}),hideDateTime:i().bool.tag({defaultValue:!1,group:"Byline",name:"Hide Display Date (DateTime)"})}),h={view:i().oneOf((0,a.kW)()).tag({defaultValue:"Image, Headline, Byline, Deck",group:"Card",name:"View"}),background:i().oneOf(Object.keys(a.to.values)).tag({defaultValue:a.to.defaultValue,group:"Card",name:"Background"}),borders:i().oneOf(a.dP.values).tag({defaultValue:a.dP.defaultValue,group:"Card",name:"Borders"}),lazyLoad:i().bool.tag({defaultValue:!0,group:"Card",name:"Lazy Load"}),cardBodyHorizontalPadding:i().oneOf(Object.keys(a.Cu.values)).tag({defaultValue:a.Cu.defaultValue,group:"Card",labels:l({},a.Cu.values),name:"Card Horizontal Padding"}),cardBodyVerticalPadding:i().oneOf(Object.keys(a.Cu.values)).tag({defaultValue:a.Cu.defaultValue,group:"Card",labels:l({},a.Cu.values),name:"Card Vertical Padding"})},f={imageAlignment:i().oneOf(Object.keys(a.sx.values)).tag({defaultValue:a.sx.defaultValue,group:"Image",labels:a.sx.values,name:"Alignment"}),imageFetchPriority:i().oneOf(["lazy","default","preload"]).tag({group:"Image",name:"Image Fetch Pri
2ority"}),imageLazyLoad:i().bool.tag({defaultValue:!1,group:"Image",hidden:!0,name:"Lazy Load"}),imageShape:i().oneOf(Object.keys(a.S8.values)).tag({defaultValue:a.S8.defaultValue,group:"Image",labels:a.S8.values,name:"Round Image"}),imageRatio:i().oneOf(Object.keys(a.KX.values)).tag({defaultValue:a.KX.defaultValue,group:"Image",labels:a.KX.values,name:"Image Ratio"}),imageWidth:i().oneOf(Object.keys(a.TG.values)).tag({defaultValue:"w-33",group:"Image",labels:a.TG.values,name:"Image Width"}),imagePersistWhenEmpty:i().bool.tag({defaultValue:!1,description:"By default, images containers will collapse when an image is not found. Checking this box keeps the image container from collapsing.",group:"Image",name:"Maintain image placeholder when image is not found?"})},p=(e="Overlay")=>{const t=(0,a.H9)({includeCover:!0}),r=(0,a.H9)();return{overlayTextElements:i().oneOf(a.Jg.values).tag({defaultValue:a.Jg.defaultValue,group:e,name:"Overlay Element(s)"}),overlayPosition:i().oneOf(t.values).tag({defaultValue:t.defaultValue,group:e,name:"Overlay Position"}),overlayTextWidth:i().oneOf(a.Mb.values).tag({defaultValue:a.Mb.defaultValue,group:e,name:"Width"}),overlayOnHover:i().bool.tag({defaultValue:!1,group:e,name:"On Hover"}),overlayTextPosition:i().oneOf(r.values).tag({defaultValue:r.defaultValue,group:e,name:"Text Position"}),overlayBackgroundColor:i().string.tag({defaultValue:"rgba(0,0,0,0.6)",group:e,name:"Overlay Background Color"}),overlayTextColor:i().string.tag({defaultValue:"white",group:e,name:"Text Color"}),overlayBoxShadow:i().bool.tag({defaultValue:!1,group:e,name:"Overlay Box Shadow"})}},m=()=>{const e={},t=[1,2,3,4,5,6];return["widescreen","desktop","tablet","mobile"].map(r=>{e[`${r}CardsPerRow`]=i().oneOf(t).tag({defaultValue:1,group:"Layout",name:(0,o.B_)(`${r} Cards Per Row`)})}),e}},3454:function(e,t,r){"use strict";r.d(t,{$v:function(){return c},Bq:function(){return l},KV:function(){return a},Ob:function(){return d},ZW:function(){return s}});var n=r(3287),i=r(8154);const o=["backgroundColor","backgroundImage","backgroundPosition","backgroundRepeat","backgroundSize","border","borderColor","borderRadius","borderWidth","color","cursor","display","float","fontSize","fontWeight","height","lineHeight","margin","marginBottom","marginLeft","marginRight","marginTop","opacity","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","position","textAlign","textShadow","textTransform","width"],a=e=>{const t=[...e.indexOf(",")>=0?e.split(","):[e]].reduce((e,t)=>(e.push(t.trim()),e),[]),r=t.length-1,n=t.indexOf("Byline"),i=t.indexOf("Deck"),o=t.indexOf("Headline"),a=t.indexOf("Image"),s=t.indexOf("Links"),l=t.indexOf("Overline");return{_byline:{index:n,isLastComponent:n===r},_deck:{index:i,isLastComponent:i===r},_headline:{index:o,isLastComponent:o===r},_image:{index:a,isLastComponent:a===r},_links:{index:s,isLastComponent:s===r},_overline:{index:l,isLastComponent:l===r}}},s=(e,t)=>{if(!e&&!t)return null;if(e&&t){return Object.keys(e).filter(e=>o.includes((0,i.B_)(e,t))).reduce((r,n)=>{const o=r,a=(0,i.B_)(n,t);var s;return"backgroundColor"===a&&e[n]&&e[n].indexOf("gradient")>=0?o.background=e[n]:o[a]=e[s=n,["margin","padding","size","width","height"].map(e=>s.indexOf(e)>=0?`${s}px`:null),s],o},{})}return null},l=e=>e.replace(/\s\s+/g," ").trim(),u=(e=null,t=null,r="md")=>{const n=`p${t?`${t}`:""}${e?`-${e}`:""}`;switch(r){case"none":return`${n}-0`;case"xs":return`${n}-1`;case"sm":return`${n}-2`;case"md":default:return`${n}-3`;case"lg":return`${n}-4`;case"xl":return`${n}-5`}},c=(e,t,r,i)=>{const o={},{background:a,borders:s,cardBodyHorizontalPadding:c=null,cardBodyVerticalPadding:d=null,imageAlignment:h,imageThumbnail:f,style:p,textDecoration:m}=e,g=((e="")=>{switch((e||"").toLowerCase()){case"transparent":return"bg-transparent";case"blue-link":return"bg-blue-link";default:return""}})(a),b=((e="")=>{const t=e.toLowerCase();switch(t){case"none":return"border-0";case"top right bottom left":return"border";default:return(0,n.A)([{"border-bottom-0":!t.includes("bottom")},{"border-start-0":!t.includes("left")},{"border-end-0":!t.includes("right")},{"border-top-0":!t.includes("top")}])}})(s),y=((e,t)=>t&&e&&t.indexOf("Image")>=0?`image-${e}`:"")(h,i),v=f?`thumbnail_${f}`:"",w=(x=m)?l(x.toString().replace("centered","text-center").replace(/,/gi," ")):"";var x;const M=p||"",_=(0,n.A)([g,b,y,M,v,w]);return o.cardClasses=l(t?"":`align-items-start ${_} position-relative w-100`),o.cardBodyClasses=(0,n.A)(["w-100",u(null,"x",c),u(null,"y",d)]),o},d=(e,t,r)=>r&&t.excludedFeatures&&t.excludedFeatures[r]&&t.excludedFeatures[r].indexOf(e)>=0},346:function(e,t,r){"use strict";r.r(t),r.d(t,{featureDisplayPresetKeys:function(){return h.UG},featureDisplayPresets:function(){return h.xX}
2,getCardClassesFromCustomFields:function(){return f.$v},isExcludedFeature:function(){return f.Ob}});r(809);var n=r(6780),i=r.n(n),o=r(4375),a=r(4321),s=r(3287),l=r(5438),u=r(2444),c=r(2028),d=r(9201),h=r(5),f=r(3454),p=r(3189),m=r(1032),g=r(5349);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=e=>{const{cardContainerClasses:t="mb-3",cardContainerDataAttributes:r,children:n,customFields:i={},innerChildren:d}=e,{arcSite:b,contextPath:v="/pf",id:w,isAdmin:x,outputType:M,pagebuilderURL:_,siteProperties:O}=(0,a.useFusionContext)(),j=(0,o.useContent)(e?.data?{}:(0,m._i)(i?.contentConfig))||{},S="prod"===c.tU?"arc-fusion-assets":"testing-pb-scripts",A=(e=>{if(!e)return null;const t=`https://gray-${b}-${c.tU}.gtv-cdn.com`;return e.startsWith("//")?`https:${e}`:e.startsWith("/resizer")?`${t}${e}`:e})(i?.customImageSourceUrl),P=(0,o.useContent)(A?(0,m._i)({source:"signing-service",query:{id:A?.includes("/resizer/")?"":A}}):{}),k=(0,o.useContent)({source:"signing-service",query:{id:`${_(`https://webpubcontent.gray.tv/gray/${S}/images/fallback-graphics/${b}.jpg`)}`}});if((0,f.Ob)("flexfeature",O,b))return x?(0,g.jsx)("div",{className:(0,s.A)(["text-danger","w-100","p-3"]),children:"This feature is not intended for this site"}):null;const T=e.data||j||{},E="video"===T.type,C="amp"===M;if(T&&T.hasError)return null;if(0===Object.entries(T||{}).length&&T.constructor===Object&&!(()=>{const{customOverlineText:e="",customHeadlineText:t="",customDeckText:r="",customImageSourceUrl:n="",customImageAltText:o=""}=i;return""!==(e||"").trim()||""!==(t||"").trim()||""!==(r.trim()||"")||""!==(n||"").trim()||""!==(o||"").trim()})())return null;const D=y({isAmp:C},Object.assign(e.data?e.overrides:y(y({},i),i.presets?h.xX[i.presets]:e.overrides),e));[D].reduce(Object.assign),A&&(D.resizedCustomImage=y(y({},(0,p.F5)({url:A,imgSignature:P})),{},{caption:D?.customImageAltText})),D.resizedFallbackImage=y({},(0,p.F5)({url:`${_(`https://webpubcontent.gray.tv/gray/${S}/images/fallback-graphics/${b}.jpg`)}`,imgSignature:k,height:1080,width:1920,focal_point:{x:960,y:540}}));const N=(0,f.$v)(D,"",e,D.view&&D.view||null),I=T?._id??(D?.customOverlineText||D?.customHeadlineText||D?.customDeckText||D?.customImageSourceUrl),R=()=>(0,g.jsxs)("div",y(y({className:(0,s.A)(["flex-feature |","card",t,N.cardClasses,E&&!C?"is-video":""])},r||{}),{},{children:[(0,u.OQ)(y(y({},T),{},{arcSite:b,contextPath:v,siteProperties:y({},O)}),(0,s.A)(["card-body",N.cardBodyClasses]),D,d&&d||null)[D.view](),n&&n||null]}),`flex-feature-${w}-${I}`);return(e.lazyLoad||i&&i.lazyLoad||!1)&&T?(0,g.jsx)(l.A,{renderPlaceholder:e=>(0,g.jsx)("div",{ref:e,className:(0,s.A)(["lazy-load"])}),children:R()},`flex-feature-lazy-${w}-${I}`):R()};w.propTypes={cardContainerClasses:i().string,cardContainerDataAttributes:i().object,innerChildren:i().node,children:i().node,data:i().object,customFields:i().shape(y(y(y(y(y(y(y({contentConfig:i().contentConfig("content-api").tag({defaultValue:{contentService:"content-api",contentConfigValues:{}},group:"Data Configuration",name:"Content Source"}),presets:i().oneOf(Object.keys(h.UG.values)).tag({description:"When a preset is selected, all other custom configurations will be ignored.",group:"Layout",name:"Presets"})},d.bu),{},{customOverlineText:i().string.tag({defaultValue:"",description:"When present, this value will be used instead of the one returned from the API request.",group:"Content Override Values",name:"Custom Overline Text"}),customHeadlineText:i().string.tag({defaultValue:"",description:"When present, this value will be used instead of the one returned from the API request.",group:"Content Override Values",name:"Custom Headline Text"}),customImageSourceUrl:i().string.tag({defaultValue:"",description:"When present, this value will be used instead of the one returned from the API request.",group:"Content Override Values",name:"Custom Image Source URL"}),customImageAltText:i().string.tag({defaultValue:"",description:"When present, this value will be used as the image alt text.",group:"Content Override Values",name:"Custom Image Alt Text"}),customDeckText:i().richtext.tag({defaultValue:"",description:"When present, this value will be used instead of the one returned from the API request.",group:"Content Override Values",name:"Custom Deck Text"}),customDestinationUrl:i().string.tag({defaultValue:"",description:"When present, this value will be used instead of the one returned from the API request.",group:"Content Override Values",name:"Custom Destination URL"}),openInNewWindow:i().bool.tag({defaultValue:!1,description:"When checked, the url associated with this feature will open in a new window/tab.",group:"Content Override Values",name:"Open In New Window?"})},(0,d.V5)()),d.KY),(0,d.KO)("overline","Overline",{})),(0,d.KO)("headline","Headlines",{isHeader:!0})),(0,d.KO)("deck","Deck",{})),d.yc)),lazyLoad:i().bool,overrides:i().shape({})},w.label="Global - Flex Feature",t.default=w},2944:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return L},getGlobalContentElements:function(){return b},shouldUseGlobalContent:function(){return g}});
2var n=r(809),i=r(6780),o=r.n(i),a=r(4375),s=r(4321),l=r(3287),u=r(8755),c=r(1032),d=r(2504);function h(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function f(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?h(Object(r),!0).forEach(function(t){p(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):h(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function p(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const m=(e,t,r,n)=>{const{feedOffset:i=0}=e;return f(f({},e),{},{feedOffset:parseInt(i,10)+t,feedSize:r,"arc-site":n})};const g=(e,t,r)=>{if(!e||!t)return!1;const{source:n,query:i={}}=t,{contentService:o,contentConfigValues:a={}}=e,{feedSize:s}=a;if(s&&n&&""!==n&&o&&""!==o&&(n===`site-service-${o}`||"author-services-content-author-feed"===n))switch(o){case"content-feed":return((e={},t={})=>{const{includeSections:r,includedTypes:n,excludeSections:i}=e;if(i&&""!==(i||"").trim())return!1;const{section:o,includedTypes:a}=t,s=r&&o&&r.toLowerCase().trim()===o.toLowerCase().trim(),l=(0,c.iq)(n).join(",")===(0,c.iq)(a).join(",");return!(!s||!l)})(a,i);case"collections-feed":return((e={},t={},r={})=>{const{collectionAlias:n,collectionId:i}=e,{collection_id:o}=r,{collectionId:a}=t,s=a||o?o:r?._admin?.websked_collection_id??null,l=r?.collection_content_aliases??[],u=!(!s||""===s||!i||""===i||i!==s),c=!!(l&&n&&""!==n&&l.filter(e=>e===n).length>0);return!!u||c||!1})(a,i,r);case"content-tags-feed":return((e={},t={})=>{const{tagSlug:r,includedTypes:n}=e,{tagSlug:i,includedTypes:o}=t,a=(0,c.ak)((0,c.fk)(r)).join(",")===(0,c.ak)((0,c.fk)(i)).join(","),s=(0,c.iq)(n).join(",")===(0,c.iq)(o).join(",");return!(!a||!s)})(a,i);case"content-author-feed":return((e={},t={},r)=>{const n=r?._id,i=(t?.id||"").toLowerCase().trim(),o=(e?.id||"").toLowerCase().trim(),a=o===i,s=n&&n.toLowerCase()===o;return!(!a&&!s)})(a,i,r);default:return!1}return!1},b=(e={},t={})=>{const{contentConfigValues:r}=t;if(!r)return null;const{feedOffset:n=0,feedSize:i}=r,o=n||0,{content_elements:a=[],count:s=0}=e,l=f(f({},e),{},{content_elements:a.slice(parseInt(o,10),parseInt(o,10)+parseInt(i,10))}),u=l.content_elements.length;return l.next=Math.min(s,u+o),l};var y=r(9894),v=r.n(y),w=r(7508),x=r.n(w),M=r(346),_=r(1407),O=r(5349);function j(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function S(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?j(Object(r),!0).forEach(function(t){A(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):j(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function A(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const P=e=>{const{arcSite:t,siteProperties:r={},deployment:i,mxId:o}=(0,s.useFusionContext)(),{locale:a}=r,c=(0,n.useRef)(null),h=x()(a||"en"),[p,g]=(0,n.useState)(S(S(S({},e),(({contentConfig:e={}})=>{const t=e?.contentConfigValues??{},r=parseInt(e?.contentConfigValues?.feedOffset??0,10),n=parseInt(e?.contentConfigValues?.feedSize??0,10),i=r+n;return{contentService:e?.contentService??null,totalRequestedItems:i,query:f(f({},t),{},{feedSize:n,feedOffset:r})}})(e)),{},{moreItemsLoaded:!1})),b=(e,t,r,n,a)=>{c.current.blur(),function({query:e,contentService:t,fusionContext:r,callback:n}){if(t&&n){const{"arc-site":i,feedOffset:o=0,feedSize:a=0}=e;u.A.get(`/pf/api/v3/content/fetch/${t}`,{params:f({query:JSON.stringify(e),_website:i},(0,d.A)(r))}).then(({data:e})=>{const{content_elements:r,count:i=("collections-feed"===t?50:0)}=e;n(e=>{const{contentElements:n,loadMoreButtonEnabled:s=!1}=e,l=[...n,...r].reduce((e,t)=>
2e.find(e=>e._id===t._id)?e:e.concat([t]),[]),u=o+a,c=!(s&&o+a>=i)&&!(s&&l.length<=n.length)&&u<i,d="collections-feed"===t?c?50:l.length:i;return f(f({},e),{},{loadMoreButtonEnabled:c,contentElements:l,moreItemsLoaded:!0,totalContentItems:d,totalRequestedItems:u})})}).catch(e=>{console.log("Load More Error:",e)})}}({query:m(t,r,n,a),contentService:e,fusionContext:{deployment:i,mxId:o},callback:g})},{contentElements:y=[],contentService:v,cardsPerRowMobile:w,cardsPerRowTablet:j,cardsPerRowDesktop:A,cardsPerRowWidescreen:P,excludeCurrentFeature:k=!1,globalContentId:T=null,loadMoreButtonEnabled:E=!1,loadMoreIncrementSize:C=10,moreItemsLoaded:D=!1,overrides:N={},query:I,totalContentItems:R,totalRequestedItems:L}=p,B=E&&y.length>0&&L<R,q=k&&T?y.filter(e=>{const{_id:t}=e;return t!==T}):y;return D&&(N.lazyLoad=!1,N.imageLazyLoad=!1),(0,O.jsxs)(n.Fragment,{children:[q.map((e,t)=>{const{_id:r=t}=e;return(0,O.jsxs)(n.Fragment,{children:[(0,O.jsx)(M.default,{cardContainerClasses:N.cardContainerClasses||(0,l.A)(["mx-2","mb-3"]),cardContainerDataAttributes:{"data-tb-region-item":""},data:e,overrides:N},`fff-flex-feature-${r}`),(0,O.jsx)(_.A,{count:t+1,mobile:w,tablet:j,desktop:A,widescreen:P},`fff-feed-divider-${r}`)]},`flex-feature-feed-fragment-${r}`)}),B?(0,O.jsx)("div",{className:(0,l.A)(["load-more |","w-100","d-flex","flex-column","align-content-center","mx-2","mb-3"]),children:(0,O.jsx)("button",{className:(0,l.A)(["btn","w-100","btn-outline-dark","fw-bold","align-self-center"]),ref:c,onClick:()=>{b(v,I,y.length,C,t)},children:h.t("global.flexFeatureFeed.loadMore")})}):null]})};P.propTypes={contentConfig:v().shape({contentService:v().string,contentConfigValues:v().object}),contentElements:v().arrayOf(v().object),cardsPerRowMobile:v().number,cardsPerRowTablet:v().number,cardsPerRowDesktop:v().number,cardsPerRowWidescreen:v().number,excludeCurrentFeature:v().bool,globalContentId:v().string,loadMoreButtonEnabled:v().bool,loadMoreIncrementSize:v().number,overrides:v().object,totalContentItems:v().number};var k=P,T=r(5),E=r(9201),C=r(7168);function D(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function N(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?D(Object(r),!0).forEach(function(t){I(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):D(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function I(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const R=({containerClasses:e=(0,l.A)(["mb-0"]),customFields:t={},data:r,id:n})=>{const{globalContent:i={},globalContentConfig:o={}}=(0,s.useFusionContext)(),{contentConfig:u,loadMoreButtonEnabled:d=!1,loadMoreIncrementSize:h=10,taboolaRegionName:f,titleBarOpenInNewWindow:p=!1,titleBarText:m,titleBarHeadingLevel:y=2,titleBarTextWeight:v="bold",titleBarUrl:w}=t,x=N(N({},t),t.presets?T.xX[t.presets]:{}),{excludeCurrentFeature:M=!0}=x,_=(f||`flex-feature-feed-${n}`).replace(/[^\w]/gi,"-").toLowerCase(),j=g(u,o,i),S=(0,a.useContent)(r||j?{}:(0,c._i)(u)),A=r&&r||S&&S||(j?b(i,u):null)||null;if(!A)return null;const{content_elements:P=[],count:E}=A;return 0===P.length?null:(0,O.jsxs)("div",{className:(0,l.A)(["flex-feature-feed |",e]),"data-tb-region":_,children:[m&&(0,O.jsx)(C.A,{containerClasses:(0,l.A)(["w-100"]),headingLevel:y&&""!==y&&parseInt(y,10)||2,openInNewWindow:p,title:m,textWeight:v,url:w}),(0,O.jsx)("div",{className:(0,l.A)(["card-deck","mx-n2","mb-0",`${x.cardDeckClasses&&x.cardDeckClasses||""}`]),children:(0,O.jsx)(k,{contentConfig:u,contentElements:P,cardsPerRowMobile:parseInt(x?.mobileCardsPerRow??"1",10),cardsPerRowTablet:parseInt(x?.tabletCardsPerRow??"1",10),cardsPerRowDesktop:parseInt(x?.desktopCardsPerRow??"1",10),cardsPerRowWidescreen:parseInt(x?.widescreenCardsPerRow??"1",10),excludeCurrentFeature:M,globalContentId:i&&i._id&&i._id,loadMoreButtonEnabled:!r&&d,loadMoreIncrementSize:h,overrides:x,totalContentItems:E})})]})};
2R.propTypes={cardDeckClasses:o().string,containerClasses:o().string,customFields:o().shape(N(N(N(N(N(N(N(N(N(N({contentConfig:o().contentConfig("content-feed").tag({group:"Data Configuration",name:"Content Source"}),excludeCurrentFeature:o().bool.tag({defaultValue:!0,description:"When checked, the current article (global content) will be hidden in feed results.",group:"Data Configuration",name:"Exclude Current Feature"}),taboolaRegionName:o().string.tag({description:"Add a custom region name to be targeted by Taboola HP4U. If blank, we will try to use ",name:"Taboola Region Name"}),openInNewWindow:o().bool.tag({defaultValue:!1,description:"When checked, the url associated with each flex feature will open in a new window/tab.",group:"Card",name:"Open In New Window?"}),presets:o().oneOf(Object.keys(T.UG.values)).tag({description:"When a preset is selected, all other custom configurations will be ignored.",labels:T.UG.values,group:"Layout",name:"Presets"})},(0,E.rX)()),(0,C.G)()),E.bu),(0,E.V5)()),E.KY),(0,E.KO)("overline","Overline",{})),(0,E.KO)("headline","Headlines",{isHeader:!0})),(0,E.KO)("deck","Deck",{})),E.yc),{},{loadMoreButtonEnabled:o().bool.tag({defaultValue:!1,description:"When checked, a user can request more articles be appended to the bottom of the Flex Feature Feed.",group:"Load More",name:"Enable Load More Button"}),loadMoreIncrementSize:o().number.tag({defaultValue:10,description:"The number of additional articles to request with the load more button.",group:"Load More",name:"Load More Increment"})})),data:o().object,id:o().string},R.label="Global - Flex Feature Feed";var L=R},8034:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>{const{className:t,label:r}=e;return(0,a.jsx)("li",{className:(0,o.A)(["footer-contact |",t]),children:r},`footer-contact-${r}`)};s.propTypes={className:i().string,label:i().string};const l=e=>{const{className:t,siteProperties:r}=e,{address:n={},phone:i,siteName:l}=r,{city:u="",line1:c,line2:d,state:h="",zipcode:f=""}=n,p=u&&h&&`${u}, ${h}${(u||h)&&f?" ":""}${f||""}`;return(0,a.jsx)("div",{className:(0,o.A)(["footer-contacts |","row",t]),children:(0,a.jsx)("div",{className:(0,o.A)(["col"]),children:(0,a.jsxs)("ul",{className:(0,o.A)(["list-unstyled","mb-0"]),children:[l&&(0,a.jsx)(s,{className:(0,o.A)(["fw-bold"]),label:l}),c&&(0,a.jsx)(s,{className:(0,o.A)(["footer-address"]),label:c}),d&&(0,a.jsx)(s,{className:(0,o.A)(["footer-address"]),label:d}),p&&(0,a.jsx)(s,{className:(0,o.A)(["footer-city-state"]),label:p}),i&&(0,a.jsx)(s,{className:(0,o.A)(["footer-phone"]),label:i})]})})})};l.propTypes={className:i().string,siteProperties:i().object},t.A=l},7124:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>{const{className:t,copyrightPrefix:r,copyrightStartYear:n,formalGroupName:i,useSmallerText:s=!0}=e,l=i?` ${i}`:"",u=`${r?`${r} `:""}© ${n?`${n}-`:""}${(new Date).getFullYear()}${l}`;return(0,a.jsxs)("div",{className:(0,o.A)(["footer-copyright |","card-footer",t]),children:[(0,a.jsx)("div",{className:(0,o.A)(["fw-light",{small:s},"mx-auto","text-center"]),dangerouslySetInnerHTML:{__html:u}}),(0,a.jsx)("div",{className:(0,o.A)(["footer-corp-logo |","w-100","mx-auto","mt-2","mb-0"])})]})};s.propTypes={className:i().string,formalGroupName:i().string,useSmallerText:i().bool,copyrightPrefix:i().string,copyrightStartYear:i().string},t.A=s},496:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(6015),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{checkForPrivacyLinks:t=!1,item:r,linkClasses:n,linkContainerClasses:i,openInNewWindow:a}=e,{title:l,url:c}=r,d=t&&/^(your privacy choices|política de privacidad)$/gi.test(l)?["privacy-options-link","d-flex","align-items-center"]:[];return(0,s.jsx)("div",{className:(0,o.A)(["footer-link |",i]),children:(0,s.jsx)("a",u(u({className:(0,o.A)([n,...d]),href:c},a?{rel:"noopener noreferrer",target:"_blank"}:null),{},{children:l}))})};d.propTypes={checkForPrivacyLinks:i().bool,item:i().shape({title:i().string,url:i().string}),linkClasses:i().string,linkContainerClasses:i().string,openInNewWindow:i().bool};const h=({isAmp:e,isEnabled:t,linkClasses:r,linkContainerClasses:n})=>t?(0,s.jsx)("div",{id:"onetrust-footer-link",className:(0,o.A)(["footer-link |",n,"onetrust-footer-link-container"]),children:(0,s.jsx)("span",u(u({id:"ot-sdk-btn",className:(0,o.A)(["ot-sdk-show-settings",r]),role:"button",tabindex:"0"},e?{on:"tap:consent-element.prompt;"}:{}),{},{children:"Cookie Settings"}))}):null;h.propTypes={isAmp:i().bool,isEnabled:i().bool,linkClasses:i().string,linkContainerClasses:i().string};const f=e=>{const{containerClasses:t,includePrivacySettingsButton:r=!1,includePrivacyDisclaimerIcon:n=!1,isAmp:i=!1,items:l=[],linkClasses:u,linkContainerClasses:c,openInNewWindow:f}=e;return l.length<=0&&!1===r&&!1===n?null:(0,s.jsxs)("div",{className:(0,o.A)(["footer-links |",t]),children:[l.map((e,t)=>(0,s.jsx)(d,{checkForPrivacyLinks:n,linkClasses:u,linkContainerClasses:c,item:e.footer,openInNewWindow:!(0,a.cW)(e.footer.url)||f},e?._id||e?.id||t)),(0,s.jsx)(h,{isAmp:i,isEnabled:r,linkClasses:u,linkContainerClasses:c})]})};f.propTypes={includePrivacySettingsButton:i().bool,includePrivacyDisclaimerIcon:i().bool,isAmp:i().bool,items:i().arrayOf(i().object),containerClasses:i().string,linkClasses:i().string,linkContainerClasses:i().string,openInNewWindow:i().bool},t.A=f},6394:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4321),s=r(4375),l=r(9626),u=r.n(l),c=r(7508),d=r.n(c),h=r(8034),f=r(7124),p=r(496),m=r(5349);function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const v=e=>{const{customFields:t={},isAmp:r}=e,{hideContentLinks:n=!1,hideLegalLinks:i=!1}=t,{arcSite:l,siteProperties:c}=(0,a.useFusionContext)(),{footerHasAiDisclaimer:g=!1,formalGroupName:y,copyrightPrefix:v,copyrightStartYear:w,locale:x,onetrust:M}=c,_=d()(x||"en"),O=g&&_.t("global.footer.aiDisclaimer"),j=(0,s.useContent)(b({},n?null:{siteName:l,source:"site-navigation",query:{hierarchy:"footer-content-links"},filter:"{children { _id footer { title url } }}"})),S=(0,s.useContent)(b({},i?null:{siteName:l,source:"site-navigation",query:{hierarchy:"footer-legal-links"},filter:"{children { _id footer { title url } }}"}));return(0,m.jsx)(u(),{id:`footer-${l}`,children:(0,m.jsxs)("div",{className:(0,o.A)(["footer |","card","bg-primary-branding","mt-3","d-flex","rounded-0","text-center","text-sm-start","zindex-highest"]),children:[(0,m.jsx)("div",{className:(0,o.A)(["card-body"]),children:(0,m.jsx)("div",{className:(0,o.A)(["container"]),children:(0,m.jsxs)("div",{className:(0,o.A)(["row"]),children:[j&&(0,m.jsx)("div",{className:(0,o.A)(["col"]),children:(0,m.jsx)(p.A,{containerClasses:(0,o.A)(["row","justify-content-start","my-3"]),items:j.children,linkClasses:(0,o.A)([{"text-white":!r}]),linkContainerClasses:(0,o.A)(["col-6","col-sm-6","col-md-4","col-lg-3","align-self-center"])})}),(0,m.jsx)("div",{className:(0,o.A)(["col-12","col-sm-5","col-md-3","col-xl-2"]),children:(0,m.jsx)(h.A,{className:(0,o.A)(["justify-content-start","my-3","small"]),siteProperties:c})})]})})}),S&&(0,m.jsx)("div",{className:(0,o.A)(["card-footer","small","pt-0"]),children:(0,m.jsx)(p.A,{containerClasses:(0,o.A)(["d-flex","flex-wrap","justify-content-center","text-center"]),includePrivacySettingsButton:!!M?._id,includePrivacyDisclaimerIcon:!0,isAmp:r,items:S.children,openInNewWindow:!0,linkClasses:(0,o.A)([""]),linkContainerClasses:(0,o.A)(["align-self-center","px-3","pt-3"])})}),O&&""!==O?(0,m.jsx)("div",{className:(0,o.A)(["card-footer","footer-disclaimer","py-3","px-5"]),children:(0,m.jsx)("div",{className:(0,o.A)(["fw-light","small","mx-auto","text-center"]),dangerouslySetInnerHTML:{__html:O}})}):null,(0,m.jsx)(f.A,{className:(0,o.A)(""),formalGroupName:y,copyrightPrefix:v,copyrightStartYear:w})]})})};v.propTypes={customFields:i().shape({hideContentLinks:i().bool.tag({defaultValue:!1,name:"Hide Content Links?"}),hideLegalLinks:i().bool.tag({defaultValue:!1,name:"Hide Legal Links?"})}),siteProperties:i().shape({siteName:i().string}),contextPath:i().oneOf(["pf"]),isAmp:i().bool},v.label="Global - Footer",t.default=v},8535:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(6780),o=r.n(i),a=r(4375),s=r(4321),l=r(3287),u=r(5267),c=r(346),d=r(2944),h=r(591),f=r(1032),p=r(5349);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const y=e=>{const{customFields:t={}}=e,{hideHeroAd:r=!1,sponsoredContentEnabled:i,sponsoredContentPosition:o=4}=t,{globalContent:m,globalContentConfig:b={},isAmp:y}=(0,s.useFusionContext)(),{contentConfig:v}=t,w=(0,d.shouldUseGlobalContent)(v,b,m),x=(0,a.useContent)(w?{}:(0,f._i)(v)),M=x&&x||(w?(0,d.getGlobalContentElements)(m,v):null)||null,_="7x5".split("x"),O=(0,a.useContent)(i?(0,f._i)({source:"sponsored-content-gdm",query:{index:0}}):{}),j=!0,S=(0,n.useMemo)(()=>i&&O&&O.website_url?(0,p.jsx)(c.default,{cardContainerDataAttributes:{"data-tb-region-item":""},cardContainerClasses:(0,l.A)(["mb-3"]),data:O,innerChildren:(0,p.jsx)(n.Fragment,{children:(0,p.jsx)("div",{className:(0,l.A)(["small","text-secondary"]),children:"Sponsored"})}),overrides:g(g({},c.featureDisplayPresets.hero_headline_left),{},{imageFetchPriority:"preload",overlayTextElements:"none"})},"hero-gdm-sponsored-content"):i?(0,p.jsx)(h.default,{customFields:{presets:"hero_headline_left",widgetId:"JS_1"}}):null,[O,j]),A=(()=>{const e={hero:{count:1,index:0},heroHeadlines:{count:i&&S?3:4,index:0},bottomRow:{count:3,index:0}};return e.hero.index=0,e.heroHeadlines.index=e.hero.count,e.bottomRow.index=e.hero.count+e.heroHeadlines.count,e})(),{content_elements:P=[]}=M||{};return M&&P&&0!==P.length?(0,p.jsx)("div",{className:(0,l.A)(["hero |","mb-3"]),children:(0,p.jsxs)("div",{className:(0,l.A)(["row","g-0"]),children:[(0,p.jsx)("div",{className:(0,l.A)(["hero-left",`col-lg-${_[0]}`,`col-md-${_[0]}`,"col-sm-12","pe-md-2","mb-3"]),"data-tb-region":"hero-block-left",children:0===P.length?null:(0,p.jsx)(c.default,{cardContainerClasses:(0,l.A)(["mb-0"]),cardContainerDataAttributes:{"data-tb-region-item":""},data:P.slice(A.hero.index,A.hero.count)[0],overrides:g(g({},c.featureDisplayPresets.hero_overlay_vertical),{},{imageFetchPriority:"preload"})})}),(0,p.jsx)("div",{className:(0,l.A)(["hero-right",`col-lg-${_[1]}`,`col-md-${_[1]}`,"col-sm-12","ps-md-2"]),"data-tb-region":"hero-block-right",children:P.length<=A.heroHeadlines.index?S:P.slice(A.heroHeadlines.index,A.heroHeadlines.index+A.heroHeadlines.count).map((e,t)=>(0,p.jsxs)(n.Fragment,{children:[t===o-1?S:null,(0,p.jsx)(c.default,{cardContainerDataAttributes:{"data-tb-region-item":""},data:e,overrides:g(g({},c.featureDisplayPresets.hero_headline_left),{},{imageFetchPriority:"preload"})}),t+1===A.heroHeadlines.count&&t+2===o?S:null]},`hero-right-rail-${t}`))}),!r&&(0,p.jsx)(u.default,{customFields:{arcAdsSlot:"",arcAdsType:"Leaderboard",arcAdsDisableLazyLoad:!1,arcAdsDisclaimerPosition:"top",arcAdsDisplay:"all",arcAdsExcludeContentPath:!1,arcAdsIsSticky:!1,arcAdsDisableRefresh:!1},globalContent:m,isAmp:y,adClassNamesExternal:(0,l.A)(["mx-auto","mb-3","justify-content-center"]),adClassNamesInternal:null},"hero-feature-leaderboard-ad"),(0,p.jsx)("div",{className:(0,l.A)(["hero-bottom","col-sm-12"]),children:(0,p.jsx)(d.default,{data:{content_elements:[...P.slice(A.bottomRow.index,A.bottomRow.index+A.bottomRow.count)]},customFields:{presets:"hero-vertical-cards",taboolaRegionName:"hero-block-bottom"}})})]})}):null};y.propTypes={customFields:o().shape({contentConfig:o().contentConfig("content-feed").tag({group:"Data Configuration",name:"Content Source"}
2),hideHeroAd:o().bool.tag({description:"check the box to hide the Hero leaderboard ad.",group:"Advertising",name:"Hide Hero Ad?"}),sponsoredContentEnabled:o().bool.tag({description:"If checked and configured, sponsored content will display in the Hero Feature",default:!1,group:"Sponsored Content",name:"Enable Sponsored Content"}),sponsoredContentPosition:o().number.tag({description:"If blank, the 4th headline in the right of the Hero feature will be used.",default:4,group:"Sponsored Content",max:4,min:1,name:"Sponsored Content Headline Position",step:1})})},t.default=y},3185:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(9626),a=r.n(o),s=r(3287),l=r(4321),u=r(8154),c=r(5349);const d=({customFields:e={}})=>{const{html:t="",removeDefaultBottomMargin:r=!1,removeDefaultContainerPadding:n=!1}=e,{id:i,siteProperties:o}=(0,l.useFusionContext)();if(!t)return null;const d=(0,u.Oh)(t,o);return(0,c.jsx)(a(),{id:i,children:(0,c.jsx)("div",{id:`htmlBox-${i}`,className:(0,s.A)(["html-box |","w-100",{"p-3":!n,"p-0":n,"mb-3":!r,"mb-0":r}]),children:t&&(0,c.jsx)("div",{className:(0,s.A)(["html-box-container"]),id:`htmlBox-${i}-container`,dangerouslySetInnerHTML:{__html:d}})})})};d.propTypes={html:i().string,customFields:i().shape({html:i().richtext.tag({description:"Add custom HTML. Scripts and styling could negatively impact site functionality and performance. Please use with caution.",name:"HTML"}),removeDefaultContainerPadding:i().bool.tag({defaultValue:!1,description:"When checked, the default padding wrapping the html box feature will be removed.",name:"Remove Default Container Padding?"}),removeDefaultBottomMargin:i().bool.tag({defaultValue:!1,description:"When checked, the default bottom margin of the html box feature will be removed.",name:"Remove Default Bottom Margin?"})})},d.label="Global - HTML Box",t.default=d},4715:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return E}});var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(3287),l=r(7508),u=r.n(l),c=r(9884),d=r(8755),h=r(8444),f=r(2504),p=r(4676);function m(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?m(Object(r),!0).forEach(function(t){b(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):m(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function b(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function y({zipCode:e=null,arcSite:t,fusionContext:r,callback:n,errorHandler:i}){(0,p.Bd)()&&d.A.get("/pf/api/v3/content/fetch/wx-current-conditions-v3",{params:g(g(g({},(0,f.A)(r)),e?{query:JSON.stringify({zipCode:`${e}`})}:null),{},{_website:t,filter:h.iq})}).then(e=>{e&&e.data&&n(e.data)}).catch(e=>{console.error("\t\t\tfetchWxData Error:",e),i(e)})}var v=r(2528),w=r(5349);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O="/weather/",j=({destinationUri:e=O})=>{const{arcSite:t,contextPath:r,pagebuilderURL:i,siteProperties:o={},type:l,deployment:u,mxId:d}=(0,a.useFusionContext)();if((0,v.vQ)({featureName:`${l}/WxConditions`,siteProperties:o}))return null;
2const[h,f]=(0,n.useState)({dataIsLoading:!1,wxData:void 0,zipCode:void 0,tempMeasurmentUnit:"F",requestError:!1}),m=()=>{const e=(0,c.Dq)(h.tempMeasurmentUnit);e&&""!==e&&f(t=>M(M({},t),{},{tempMeasurmentUnit:e}))};function g(e){e&&f(t=>M(M({},t),{},{wxData:e,dataIsLoading:!1}))}const b=e=>{f(t=>M(M({},t),{},{requestError:M({},e)}))},x=()=>{const e=(0,c.lC)();f(t=>M(M({},t),{},{zipCode:e&&e!==t.zipCode?e:t.zipCode})),e!==h.zipCode&&y({zipCode:e,arcSite:t,fusionContext:{deployment:u,mxId:d},callback:g,errorHandler:b})};(0,n.useEffect)(()=>{var e,r;e=x,r=m,(0,p.Bd)()&&(window.addEventListener("RCWeatherLocationSaved",()=>{e()},!1),window.addEventListener("RCTempPreferenceSaved",()=>{r()},!1));const n=(0,c.lC)(),i=(0,c.Dq)(h.tempMeasurmentUnit);return f(e=>M(M({},e),{},{dataIsLoading:!0,tempMeasurmentUnit:i,zipCode:n})),y({zipCode:n,arcSite:t,fusionContext:{deployment:u,mxId:d},callback:g,errorHandler:b}),()=>{!function(e,t){(0,p.Bd)()&&(window.removeEventListener("RCWeatherLocationSaved",e,!1),window.removeEventListener("RCTempPreferenceSaved",t,!1))}(x,m)}},[]);const{dataIsLoading:_,tempMeasurmentUnit:j,wxData:S={}}=h,{imperial:A={},metric:P={}}=S,{location:k,currentObservation:T}="C"===j?P:A;if(!k||!T)return null;const{city:E,adminDistrictCode:C}=k,{iconCode:D,temperature:N}=T,I=44===D?null:i(`${r}/resources/images/weather/weather-condition-icons/svgs/${D}.svg`);return(0,w.jsx)("div",{className:(0,s.A)(["wx-conditions |",{"d-none":_},"d-flex","justify-content-end","align-self-center","py-1","ps-1","pe-sm-1"]),children:(0,w.jsxs)("a",{className:(0,s.A)(["d-flex","flex-column","align-self-center","text-decoration-none"]),href:""===e?O:e,children:[(0,w.jsxs)("div",{className:(0,s.A)(["d-flex","flex-column","flex-sm-row","justify-content-center"]),children:[I?(0,w.jsx)("div",{className:(0,s.A)(["wx-conditions-icon","mb-1","mb-sm-0","me-sm-1","align-self-center"]),style:{backgroundImage:`url('${I}')`}}):null,(0,w.jsxs)("div",{className:(0,s.A)(["wx-conditions-temp","fw-bold","text-center","ps-sm-1","text-white","align-self-center"]),children:[N,"°"]})]}),(0,w.jsxs)("div",{className:(0,s.A)(["wx-location","d-none","d-sm-block","text-white","text-center","align-self-center"]),children:[E,", ",C]})]})})};j.propTypes={destinationUri:o().string};var S=j;const A={hideWxConditions:o().bool.tag({defaultValue:!1,description:"Weather conditions are shown in the masthead by default. When checked, they will be hidden.",group:"Weather Conditions",name:"Hide Weather Conditions"}),destinationUri:o().text.tag({defaultValue:"/weather/",description:"If blank, the default `/weather/` destination is used",group:"Weather Conditions",name:"Conditions Destination URL"})};function P(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function k(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const T=({customFields:e={}})=>{const{arcSite:t,contextPath:r,pagebuilderURL:n,siteProperties:i}=(0,a.useFusionContext)(),{destinationUri:o,hideWxConditions:l=!1}=e,{locale:c}=i,d=u()(c||"en"),h=n(`${r}/resources/images/mastheads/backgrounds/${t}.jpg`),f=n(`${r}/resources/images/mastheads/logos/${t}.svg`);return(0,w.jsx)("div",{className:(0,s.A)(["masthead |","bg-primary-branding","py-2"]),style:{backgroundImage:`url('${h}')`},children:(0,w.jsx)("div",{className:(0,s.A)(["container-xl"]),children:(0,w.jsxs)("div",{className:(0,s.A)(["d-flex","justify-content-between","w-100"]),children:[(0,w.jsx)("div",{className:(0,s.A)(["logo","flex-fill","position-relative"]),children:(0,w.jsx)("a",{className:(0,s.A)(["logo-link"]),"aria-label":d.t("global.masthead.returnToHome"),href:"/",children:(0,w.jsx)("div",{className:(0,s.A)(["logo-inner","position-absolute"]),style:{backgroundImage:`url('${f}')`}})})}),l?null:(0,w.jsx)(S,{destinationUri:o})]})})})};T.propTypes={customFields:o().shape(function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?P(Object(r),!0).forEach(function(t){k(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):P(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},A))},T.label="Global - Masthead";var E=T},5369:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});r(809);var n=r(3287),i=r(6780),o=r.n(i),a=r(4321),s=r(4375),l=r(7168),u=r(9894),c=r.n(u),d=r(5771),h=r(5349);const f=({author:e={},containerClasses:t="",locale:r})=>{const{bio:i="",byline:o,promo_items:a,role:s,social_links:l=[],website_url:u=""}=e,c=!("image"!==a?.basic?.type||!a?.basic?.url),f=u||null;return(0,h.jsx)("div",{className:(0,n.A)(["mx-0","px-2","mb-3",t]),children:(0,h.jsx)("div",{className:(0,n.A)(["team-member |","card","h-100","mx-0"]),children:(0,h.jsxs)("div",{className:(0,n.A)(["card-body","py-2","px-2"]),children:[c&&(0,h.jsx)("div",{className:(0,n.A)(["float-sm-start","col-sm-4","me-sm-2","mb-3","mb-sm-0","p-0"]),children:(0,h.jsx)(d.mO,{containerClasses:(0,n.A)(["media-item-image","include-background-overlay","mb-0","rounded","bg-dark","overflow-hidden"]),children:(0,h.jsx)(d.be,{classes:(0,n.A)(["d-block","h-100","w-100"]),component:d.N_,condition:f,href:f,openInNewWindow:!1,children:(0,h.jsx)(d._V,{altText:o,aspectRatio:"3:4",ANSImage:a.basic,imageClasses:(0,n.A)(["img-fluid","m-auto"]),resizedOptions:{smart:!0},width:400})})})}),(0,h.jsxs)("div",{className:(0,n.A)(["title-role","mb-2"]),children:[(0,h.jsx)("h5",{className:(0,n.A)(["card-title","fw-bold","mb-0"]),children:u?(0,h.jsx)("a",{className:(0,n.A)(["text-reset"]),href:u,children:o}):o}),s&&(0,h.jsx)("h6",{className:(0,n.A)(["text-muted","mb-0"]),children:s})]}),l.length>0&&(0,h.jsx)(d.Xe,{authorName:o,containerClasses:(0,n.A)(["mb-2"]),iconSize:"sm",socialLinks:l,locale:r}),i&&(0,h.jsx)("div",{className:(0,n.A)(["card-text","mb-0"]),children:(0,h.jsx)("p",{className:(0,n.A)(["mb-0"]),children:i})})]})})})};f.propTypes={author:c().object,containerClasses:c().string,locale:c().oneOf(["en","es"])};var p=f,m=r(95),g=r(1032);function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function y(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach(function(t){v(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function v(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const w=({customFields:e={}})=>{const{arcSite:t,siteProperties:r}=(0,a.useFusionContext)(),i=r?.locale??"en",{authorStationName:o,authorStationDepartment:u=""}=e,{titleBarOpenInNewWindow:c=!1,titleBarText:d,titleBarHeadingLevel:f=2,titleBarTextWeight:b="bold",titleBarUrl:v}=e,{mobileCardsPerRow:w=1,tabletCardsPerRow:x=1,desktopCardsPerRow:M=1,widescreenCardsPerRow:_=1}=e,O=(0,s.useContent)((0,g._i)({siteName:t,source:"author-services-feed",query:y(y({station_name:o||t},u&&{station_department:u}),{},{group_results:!0,feed_offset:0,feed_size:50})}));if(!O)return null;const{authors:j=[]}=O;return j.length>0&&(0,h.jsxs)("div",{className:(0,n.A)(["meet-the-team |","mb-3"]),children:[d&&(0,h.jsx)(l.A,{containerClasses:(0,n.A)(["w-100"]),headingLevel:f&&parseInt(f,10)||2,openInNewWindow:c,title:d,textWeight:b,url:v}),(0,h.jsx)("div",{className:(0,n.A)(["row","mx-n2"]),children:j.map((e,t)=>(0,h.jsx)(p,{author:e,containerClasses:(0,n.A)(["col-12",`col-${(0,m.Xi)(w)}`,`col-md-${(0,m.Xi)(x)}`,`col-lg-${(0,m.Xi)(M)}`,`col-xl-${(0,m.Xi)(_)}`]),locale:i},`meet-the-team-author-${t}`))})]})};w.propTypes={customFields:o().shape(y(y({authorStationName:o().text.tag({defaultValue:"",description:"If blank, the current site will be used",group:"Data Configuration",name:"Author's Station Name"}),authorStationDepartment:o().text.tag({defaultValue:"",description:"If blank, all departments will be used",group:"Data Configuration",name:"Author's Department"})},(0,l.G)()),(0,m.rX)()))},w.label="Global - Meet The Team";var x=w},4726:function(e,t,r){"use strict";var n=r(809),i=r(3287),o=r(7508),a=r.n(o),s=r(4321),l=r(2712),u=r(4676),c=r(5349);function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.A=()=>{const e=(0,l.i)();if(e?.isUserAuthDisabled)return null;const{isAuthenticated:t,user:r,isLoading:o}=e||{},d=r?.preferred_username||"",[f,p]=(0,n.useState)(!1),[m,g]=(0,n.useState)(!1),b=(0,n.useRef)(null),{siteProperties:y}=(0,s.useFusionContext)(),{locale:v}=y,w=a()(v||"en");(0,n.useEffect)(()=>{o&&!t||requestAnimationFrame(()=>p(!0))},[o,t]),(0,n.useEffect)(()=>{const e=e=>{b.current&&!b.current.contains(e.target)&&g(!1)},t=()=>g(!1);return document.addEventListener("mousedown",e),window.addEventListener("gdm-user-auth:signed-out",t),()=>{document.removeEventListener("mousedown",e),window.removeEventListener("gdm-user-auth:signed-out",t)}},[]);const x=()=>{g(!m)};if(!(0,u.Bd)()||!e)return null;const M=()=>(0,c.jsx)("a",{className:(0,i.A)(["account-action","d-flex","align-items-center","my-lg-2",{"my-2":!m},{"px-3":!t},{"px-2":t}]),"aria-label":t?w.t("global.navigation.accountMenu"):w.t("global.navigation.accountMenu.signIn"),onClick:t?x:e.signInWithRedirect,role:"button",children:(0,c.jsxs)("div",h(h({className:(0,i.A)([{"dropdown-toggle":t},"d-flex","align-items-center"])},t?{"aria-expanded":m}:{}),{},{children:[(0,c.jsx)("span",{className:(0,i.A)(["action-text","d-none","d-lg-block"]),children:t?d:w.t("global.navigation.accountMenu.signIn")}),(0,c.jsx)("i",{className:(0,i.A)(["d-block","fa-user fa-lg",{"fa-regular":!t},{"fa-solid":t},"ps-0 ps-lg-2"])})]}))}),_=()=>(0,c.jsxs)("ul",{className:(0,i.A)(["dropdown-menu",{show:m}]),hidden:!m,role:"menu",children:[(0,c.jsx)("li",{children:(0,c.jsx)("a",{className:(0,i.A)(["dropdown-item"]),href:w.t("global.navigation.accountMenu.settings.url"),children:w.t("global.navigation.accountMenu.settings")})}),(0,c.jsx)("li",{children:(0,c.jsx)("button",{className:(0,i.A)(["dropdown-item"]),role:"button",onClick:e.signOut,children:w.t("global.navigation.accountMenu.signOut")})})]});return(0,c.jsxs)("div",{className:(0,i.A)(["nav-account-menu","dropdown-center","d-flex",{"is-toggled":m},{show:f},"text-white","px-2"]),ref:b,children:[(0,c.jsx)(M,{}),t&&(0,c.jsx)(_,{})]})}},6683:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(6015),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{item:t,linkClasses:r,linkContainerClasses:n,openInNewWindow:i}=e,{title:a,url:l}=t;return(0,s.jsx)("li",{className:(0,o.A)(["navbar-link |",n]),children:(0,s.jsx)("a",u(u({className:(0,o.A)([r]),href:l},i?{rel:"noopener noreferrer",target:"_blank"}:null),{},{children:a}))})};d.propTypes={item:i().shape({title:i().string,url:i().string}),linkClasses:i().string,linkContainerClasses:i().string,openInNewWindow:i().bool};const h=e=>{const{containerClasses:t,items:r=[],linkClasses:n,linkContainerClasses:i}=e;return(0,s.jsx)("ul",{className:(0,o.A)(["navbar-links |",t]),children:r.length<=0?null:r.map((e,t)=>(0,s.jsx)(d,{linkClasses:n,linkContainerClasses:(0,o.A)([i,"d-flex"]),item:e.navigation,openInNewWindow:!(0,a.cW)(e.navigation.url)},`navbar-link-${e?._id||t}`))})};h.propTypes={containerClasses:i().string,items:i().arrayOf(i().object),linkClasses:i().string,linkContainerClasses:i().string},t.A=h},9160:function(e,t,r){"use strict";r(809);var n=r(4321),i=r(7508),o=r.n(i),a=r(3287),s=r(5349);t.A=()=>{const{siteProperties:e={}}=(0,n.useAppContext)(),{locale:t,queryly:r={}}=e,{siteKey:i}=r;if(!i)return null;const l=o()(t||"en").t("global.navigation.navBar.navbarToggleSearch");return(0,s.jsx)("label",{"aria-label":l,className:(0,a.A)(["queryly-nav-toggle","pointer","m-0","py-1","px-2","d-flex","align-items-center"]),htmlFor:"queryly_toggle",children:(0,s.jsx)("i",{className:(0,a.A)(["d-block","fas fa-search"])})})}},1298:function(e,t,r){"use strict";var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(7508),u=r.n(l),c=r(6683),d=r(4726),h=r(9160),f=r(5349);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?p(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=e=>{const{hideSearchBox:t=!1,isAmp:r,isSticky:i=!1,linksData:o={},onSideDrawerToggle:l}=e,{arcSite:p,contextPath:g,pagebuilderURL:b,siteProperties:y}=(0,s.useFusionContext)(),{locale:v}=y,w=u()(v||"en"),{children:x=[]}=o,M=b(`${g}/resources/images/logo-icons/${p}.svg`);return(0,n.useEffect)(()=>{const e="navbar-is-sticky";return i?document.body.classList.add(e):document.body.classList.remove(e),()=>{document.body.classList.remove(e)}},[i]),(0,f.jsx)("div",{className:(0,a.A)(["navbar |","navbar-expand","bg-primary-branding",{"fixed-top":i},{"is-sticky":i}]),children:(0,f.jsxs)("div",{className:(0,a.A)(["container-xl","position-relative","d-flex","align-items-stretch"]),children:[(0,f.jsx)("a",{className:(0,a.A)(["navbar-brand","me-1",{"d-none":!i},{"swing-in-top-fwd":i}]),"aria-label":w.t("global.navigation.navBar.returnToHome"),href:"/",children:(0,f.jsx)("div",{className:(0,a.A)(["brand-logo"]),style:{backgroundImage:`url("${M}")`}})}),(0,f.jsx)("button",m(m({"aria-label":w.t("global.navigation.navBar.expandSideDrawer"),className:(0,a.A)(["side-drawer-toggle","btn","text-white"])},r?{on:"tap:sideDrawer.toggle"}:{onClick:()=>{l()}}),{},{type:"button",children:(0,f.jsx)("span",{className:(0,a.A)(["fas fa-bars"])})})),o&&(0,f.jsx)(c.A,{containerClasses:(0,a.A)(["navbar-nav","me-auto","fw-bold"]),items:x,linkClasses:(0,a.A)(["nav-link",{"text-white":!r}]),linkContainerClasses:(0,a.A)(["navbar-item"])}),r?null:(0,f.jsx)(d.A,{}),!r&&!t&&(0,f.jsx)(h.A,{})]})})};b.propTypes={hideSearchBox:o().bool,isAmp:o().bool,isSticky:o().bool,linksData:o().object,onSideDrawerToggle:o().func},t.A=b},2552:function(e,t,r){"use strict";r(809);var n=r(3287),i=r(9894),o=r.n(i),a=r(7508),s=r.n(a),l=r(5349);const u=({currentUser:e,locale:t,onSideDrawerToggle:r})=>{const i=s()(t||"en"),{isAuthenticated:o=!1,isLoading:a,isUserAuthDisabled:u,user:c}=e||{},d=c?.preferred_username||"",h=()=>{const t=["account-action","d-flex","align-items-center","p-0"],r=()=>(0,l.jsx)("i",{className:(0,n.A)(["fa-user fa-2x",{"fa-regular":!o},{"fa-solid":o},"me-2"])}),a=()=>(0,l.jsx)("h5",{className:(0,n.A)(["action-text","text-truncate","mb-0"]),children:o?d:i.t("global.navigation.accountMenu.signIn")});return o?(0,l.jsxs)("a",{className:(0,n.A)([...t]),"aria-label":i.t("global.navigation.accountMenu"),href:i.t("global.navigation.accountMenu.settings.url"),children:[(0,l.jsx)(r,{}),(0,l.jsx)(a,{})]}):(0,l.jsxs)("button",{className:(0,n.A)([...t,"btn btn-link","text-white"]),onClick:e.signInWithRedirect,"aria-label":i.t("global.navigation.accountMenu.signIn"),children:[(0,l.jsx)(r,{}),(0,l.jsx)(a,{})]})},f=()=>{const t=({children:e})=>(0,l.jsx)("div",{className:(0,n.A)(["col","text-center"]),children:o?e:(0,l.jsx)(l.Fragment,{children:" "})});return(0,l.jsxs)("div",{className:(0,n.A)(["auth-options-panel","row","justify-content-between","mt-2",{show:o||!a}]),children:[(0,l.jsx)(t,{children:(0,l.jsx)("a",{className:(0,n.A)([]),href:i.t("global.navigation.accountMenu.settings.url"),children:i.t("global.navigation.accountMenu.settings")})}),(0,l.jsx)(t,{children:(0,l.jsx)("button",{className:(0,n.A)(["btn btn-link","text-white","p-0"]),role:"button",onClick:e.signOut,children:i.t("global.navigation.accountMenu.signOut")})})]})};return(0,l.jsxs)("div",{className:(0,n.A)(["drawer-header","w-100","px-3 pt-3 pb-2"]),children:[(0,l.jsxs)("div",{className:(0,n.A)(["top-row","d-flex","w-100",...u?["justify-content-end"]:["auth-enabled","pb-2","justify-content-between"]]),children:[u?null:(0,l.jsx)("div",{className:(0,n.A)(["user-account","d-flex",{show:o||!a}]),children:(0,l.jsx)(h,{})}),(0,l.jsx)("div",{className:(0,n.A)(["d-flex","flex-column","align-items-end"]),children:(0,l.jsx)("button",{"aria-label":i.t("global.navigation.sideDrawer.closeIcon"),className:(0,n.A)(["btn","btn-link","text-white","p-0"]),onClick:()=>{r()},children:(0,l.jsx)("i",{className:(0,n.A)(["fas","fa-times"])})})})]}),u?null:(0,l.jsx)(f,{})]})};t.A=u,u.propTypes={currentUser:o().object,locale:o().string,onSideDrawerToggle:o().func}},2860:function(e,t,r){"use strict";var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(5349);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const d=e=>{const{children:t,item:r,linkClasses:i,linkContainerClasses:o,openInNewWindow:l}=e,[c,d]=(0,n.useState)(!0),{title:h,url:f}=r;return(0,s.jsxs)("li",{className:(0,a.A)(["link |",o]),children:[(0,s.jsxs)("div",{className:(0,a.A)([i]),children:[(0,s.jsx)("a",u(u({className:(0,a.A)([""]),href:f},l?{rel:"noopener noreferrer",target:"_blank"}:null),{},{children:h})),t?(0,s.jsx)("i",{className:(0,a.A)(["expand-group |","flex-fill","text-end","align-self-center","pointer","fas",{"fa-caret-right":c},{"fa-caret-down":!c}]),"aria-expanded":!c,"aria-label":`${c?"Expand":"Collapse"} the ${h} navigation group`,onClick:()=>{d(!c)},role:"button"}):null]}),t?(0,s.jsx)("div",{className:(0,a.A)(["collapse",{show:!c}]),children:t}):null]},`side-drawer-link-${h}`)};d.propTypes={children:o().oneOfType([o().arrayOf(o().node),o().node]),item:o().shape({title:o().string,url:o().string}),linkClasses:o().string,linkContainerClasses:o().string,openInNewWindow:o().bool},t.A=d},6620:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(2860),s=r(6015),l=r(5349);const u=e=>{const{containerClasses:t,items:r,linkClasses:n,linkContainerClasses:i}=e;return r.length<=0?null:(0,l.jsx)("ul",{className:(0,o.A)(["links-group |","list-unstyled",t]),children:r.map((e,t)=>(0,l.jsx)(a.A,{linkClasses:n,linkContainerClasses:(0,o.A)([i]),item:e.navigation,openInNewWindow:!(0,s.cW)(e.navigation.url)},`side-drawer-link-${e?._id||t}`))})};u.propTypes={containerClasses:i().string,items:i().arrayOf(i().object),linkClasses:i().string,linkContainerClasses:i().string},t.A=u},930:function(e,t,r){"use strict";r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(7508),s=r.n(a),l=r(4321),u=r(4595),c=r(5349);const d=e=>{const{data:t}=e,{id:r,siteProperties:n}=(0,l.useFusionContext)(),{locale:i,siteName:a}=n,d=s()(i||"en"),h={facebook:"fab fa-facebook-f",instagram:"fab fa-instagram",tiktok:"fab fa-tiktok",twitter:"fab fa-x-twitter",youtube:"fab fa-youtube"},f=(0,u.wv)({socialSiteProperties:t,approvedNetworks:["facebook","twitter","instagram","youtube","pinterest","linkedin","tiktok"]});return f.length<=0?null:(0,c.jsx)("div",{className:(0,o.A)(["social-bar |","d-flex","flex-row","justify-content-center","w-100","mt-auto","p-3"]),style:{bottom:0},children:f.map(e=>{const{network:t}=e,n="twitter"===t?`${d.t("global.navigation.sideDrawer.social",{station:a,network:"X"})} ${d.t("global.social.twitterSuffix")}`:d.t("global.navigation.sideDrawer.social",{station:a,network:t.toUpperCase()});return(0,c.jsx)("a",{"aria-label":n,className:(0,o.A)(["p-2"]),href:e.url,rel:"noopener noreferrer",target:"_blank",children:(0,c.jsx)("i",{className:(0,o.A)([h[t],"fa-2x"])})},`socialbar-network-${t}-${r}`)})})};d.propTypes={data:i().object},t.A=d},5642:function(e,t,r){"use strict";var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(6015),u=r(2552),c=r(2860),d=r(6620),h=r(930),f=r(2712),p=r(5349);const m=e=>{const{isAmp:t,isVisible:r,linksData:i,onSideDrawerToggle:o}=e,{siteProperties:m}=(0,s.useFusionContext)(),{locale:g,social:b}=m,y=(0,f.i)(),{isUserAuthDisabled:v}=y||{},{children:w=[]}=i||{};return(0,p.jsxs)(n.Fragment,{children:[(0,p.jsx)("div",{className:(0,a.A)(["side-drawer-screen |",{"fixed-top":!0},{show:r},"h-100","w-100","zindex-high"]),onClick:()=>{o()}}),(0,p.jsx)("div",{className:(0,a.A)(["side-drawer |","bg-primary-branding","shadow-lg",{"fixed-top":!0},{show:r},"h-100","w-100","overflow-y","overflow-hide-scrollbar"]),role:"dialog","aria-label":"Site Navigation","aria-modal":"true",children:(0,p.jsxs)("div",{className:(0,a.A)(["side-drawer-container |",{"d-flex":r},{"d-none":!r},"flex-column","align-items-end","h-100"]),children:[(0,p.jsx)(u.A,{currentUser:y,locale:g,onSideDrawerToggle:o}),(0,p.jsx)("ul",{className:(0,a.A)(["sections-list |","list-unstyled","w-100",{"pt-5":v},"pb-4"]),children:w.map((e,r)=>{const{children:n=[]}=e,i=n.length;return(0,p.jsx)(c.A,{item:e.navigation,linkClasses:(0,a.A)(["py-2","px-3","d-flex"]),linkContainerClasses:(0,a.A)(["parent","h5","mb-0"]),openInNewWindow:!(0,l.cW)(e.navigation.url),children:i<=0?null:(0,p.jsx)(d.A,{containerClasses:(0,a.A)(["fw-normal","py-1"]),items:n,linkClasses:(0,a.A)([{"text-white":!t},"h6","mb-0"]),linkContainerClasses:(0,a.A)(["child","py-2","px-3"])})},`side-drawer-link-${e?._id||r}`)})}),(0,n.useMemo)(()=>(0,p.jsx)(h.A,{data:b}),[b])]})})]})};m.propTypes={hierarchy:o().string,isAmp:o().bool,isVisible:o().bool,linksData:o().object,onSideDrawerToggle:o().func},t.A=m},721:function(e,t,r){"use strict";r.r(t),r.d(t,{defaultNavbarHierarchy:function(){return f},defaultSideDrawerHierarchy:function(){return p}});
2var n=r(809),i=r(6780),o=r.n(i),a=r(3287),s=r(4321),l=r(4375),u=r(1298),c=r(5642),d=r(1032),h=r(5349);const f="navigation-navbar-links",p="navigation-menu-links",m=e=>{const[t,r]=(0,n.useState)(!1),[i,o]=(0,n.useState)(),[m,g]=(0,n.useState)(!1),b=(0,n.useRef)(null),{customFields:y={},isAmp:v}=e,{hideSearchBox:w=!1,navbarHierarchy:x=f,sideDrawerHierarchy:M=p}=y,{arcSite:_}=(0,s.useFusionContext)(),O=(0,l.useContent)((0,d._i)({siteName:_,source:"site-navigation",query:{hierarchy:x||f},filter:"{children { _id navigation { title url } }}"})),j=(0,l.useContent)((0,d._i)({siteName:_,source:"site-navigation",query:{hierarchy:M||p},filter:"{children { _id navigation { title url } children { _id navigation { title url } } }}"})),S=()=>{r(b.current.getBoundingClientRect().top<=0)},A=()=>{g(!m)};return(0,n.useEffect)(()=>{const e=b.current.getBoundingClientRect().height;return e!==i&&o(e),r(b.current.getBoundingClientRect().top<=0),window.addEventListener("scroll",S),()=>{window.removeEventListener("scroll",()=>S)}},[]),(0,h.jsxs)(n.Fragment,{children:[(0,h.jsx)("div",{className:(0,a.A)(["navigation |","navigation-sticky-wrapper"]),style:{minHeight:`${i}px`},ref:b,children:(0,h.jsx)(u.A,{hideSearchBox:w,isAmp:v,isSticky:t,linksData:O,onSideDrawerToggle:()=>{A()}})}),(0,n.useMemo)(()=>(0,h.jsx)(c.A,{isAmp:v,isVisible:m,linksData:j,onSideDrawerToggle:()=>{A()}}),[m,j])]})};m.propTypes={customFields:o().shape({navbarHierarchy:o().text.tag({defaultValue:"navigation-navbar-links",description:"If blank, the default `navigation-navbar-links` hierarchy is used",group:"Navigation Bar",name:"Custom Navigation Bar Hierarchy"}),hideSearchBox:o().bool.tag({defaultValue:!1,description:"Navigation Bar search functionality is enabled by default. Check this box to disable it.",group:"Search",name:"Disable Search Functionality"}),sideDrawerHierarchy:o().text.tag({defaultValue:"navigation-menu-links",de
2scription:"If blank, the default `navigation-menu-links` hierarchy is used",group:"Side Drawer",name:"Custom Side Drawer Hierarchy"})}),isAmp:o().bool},m.label="Global - Navigation",t.default=m},4912:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9626),i=r.n(n),o=r(4321),a=r(3287),s=r(6542),l=r(5349);const u=()=>{const{arcSite:e,isAdmin:t=!1,key:r,siteProperties:n}=(0,o.useFusionContext)(),{onetrust:u={}}=n;return u?._id?(0,l.jsx)(i(),{id:`${r}`,children:(0,l.jsx)("div",{className:(0,a.A)(["onetrust-cookies-list |","mb-3"]),children:t?(0,l.jsx)(s.A,{classes:(0,a.A)(["text-white","bg-secondary","w-100","h-auto","small","mb-3"]),styles:{minHeight:"90px"},children:(0,l.jsxs)("div",{className:(0,a.A)(["small"]),children:[(0,l.jsxs)("h6",{className:(0,a.A)(["mb-1"]),children:["OneTrust Data Available For $",e.toUpperCase(),":"]}),(0,l.jsx)("p",{children:"If available, a OneTrust cookies listing will display on the front end."}),(0,l.jsx)("pre",{className:(0,a.A)(["text-white","fst-italic","text-start","mb-1","mx-auto"]),style:{maxWidth:"300px"},children:JSON.stringify({onetrust:u},null,2)})]})}):(0,l.jsx)("div",{id:"ot-sdk-cookie-policy"})})}):null};u.icon="layers-lock",u.label="Global - OneTrust Cookies List",t.default=u},2537:function(e,t,r){"use strict";r.r(t);r(809);var n=r(6780),i=r.n(n),o=r(3287),a=r(4321),s=r(4375),l=r(5771),u=r(6015),c=r(1032),d=r(5349);const h=({customFields:e={}})=>{const{maxLinks:t=10}=e,r=Math.max(1,Math.min(t,10)),{arcSite:n,id:i}=(0,a.useFusionContext)(),h=(0,s.useContent)((0,c._i)({siteName:n,source:"site-navigation",query:{hierarchy:"sales-nav-links"},filter:"{children { navigation { title url } }}"})),f=(h?.children||[]).filter(e=>e?.navigation?.url).slice(0,r);return f?.length?(0,d.jsx)("div",{className:(0,o.A)(["sales-navigation |","d-none","w-100","bg-primary-branding","d-lg-flex"]),children:(0,d.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,d.jsx)("div",{className:(0,o.A)(["sales-nav-links |","d-flex","justify-content-start","py-1","text-nowrap","text-reset","text-decoration-none"]),children:f.map(({navigation:{title:e,url:t}={}},r)=>(0,d.jsx)(l.N_,{classes:(0,o.A)(["sales-nav-link",{"ps-3":r>0}]),href:t,openInNewWindow:!(0,u.cW)(t),children:e},`link-${i}-${t}-${r}`))})})}):null};h.propTypes={customFields:i().shape({maxLinks:i().number.tag({defaultValue:10,description:"The max number of links that will display in the sales nav. No more than 10 items will display even if this set to a higher value.",name:"Max links displayed",max:10,min:1,step:1})})},h.label="Global - Sales Navigation",t.default=h},156:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(3287),o=r(6780),a=r.n(o),s=r(4321),l=r(5771),u=r(5349);const c=({customFields:e={}})=>{const{formType:t="optin"}=e,r=(0,n.useRef)(),{arcSite:o,isAdmin:a,siteProperties:c}=(0,s.useFusionContext)(),d=c?.secondStreet?.[t];if((0,n.useEffect)(()=>{if(!a&&t&&d){const e=r.current,n=document.createElement("script");n.src="https://embed.secondstreetapp.com/Scripts/dist/optin.js",n.setAttribute("data-ss-embed",t),n.setAttribute("data-design-id",d),e.appendChild(n)}},[]),a){const e={secondStreet:{[t]:d}};return(0,u.jsx)(l.HZ,{classes:(0,i.A)(["text-white","bg-secondary","w-100","h-auto","small","mb-3"]),styles:{minHeight:"90px"},children:(0,u.jsxs)("div",{className:(0,i.A)(["d-flex","flex-column","justify-content-center","small"]),children:[d?(0,u.jsx)("p",{children:"The feature will be rendered on the front end using the data below."}):(0,u.jsx)("p",{children:`Please add a reference to the SecondStreet subscription form in ${o.toUpperCase()}'s site property settings.`}),(0,u.jsxs)("div",{className:(0,i.A)(["d-block","mx-auto","fst-italic","text-start"]),style:{width:"200px"},children:[!d&&(0,u.jsx)("h6",{className:(0,i.A)(["mb-1"]),children:"Ex:"}),(0,u.jsx)("pre",{className:(0,i.A)(["text-white","fst-italic","text-start","mb-1"]),children:JSON.stringify(e,null,2)})]})]})})}return t&&d&&(0,u.jsx)("div",{className:(0,i.A)(["subscription-form |","second-street","w-100","mb-3"]),style:{minHeight:"300px"},children:(0,u.jsx)("div",{ref:r,id:"second-street-container"})})};c.propTypes={customFields:a().shape({formType:a().oneOf(["optin"]).tag({name:"Form Type",defaultValue:"optin",labels:{optin:"Opt In"}})})},c.label="Global - Second Street - Subscription Form",t.default=c},991:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return x}});r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(4375),s=r(3287),l=r(9894),u=r.n(l),c=r(2528),d=r(6015),h=r(5349);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function p(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?f(Object(r),!0).forEach(function(t){m(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function m(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const g=({item:e,linkClasses:t,linkContainerClasses:r,openInNewWindow:n,outputType:i})=>{const{title:o,url:a}=e;return(0,h.jsx)("li",{className:(0,s.A)(["section-topper-link |",r]),children:(0,h.jsx)("a",p(p({className:(0,s.A)([t]),href:(0,c.Ol)({outputType:i,uri:a})},n?{rel:"noopener noreferrer",target:"_blank"}:null),{},{children:o}))})};g.propTypes={item:u().shape({title:u().string,url:u().string}),linkClasses:u().string,linkContainerClasses:u().string,openInNewWindow:u().bool,outputType:u().string};const b=e=>{const{containerClasses:t,items:r=[],linkClasses:n,linkContainerClasses:i,maxLinks:o,outputType:a="default"}=e;return r.length<=0?null:(0,h.jsx)("ul",{className:(0,s.A)(["section-topper-links |",t]),children:r.map((e,t)=>{const r=(0,s.A)([{"d-none":t>=o.xs},{"d-sm-flex":t<o.sm},{"d-md-flex":t<o.md},{"d-lg-flex":t<o.lg},{"d-xl-flex":t<o.xl}]),{navigation:l}=e;return(0,h.jsx)(g,{linkClasses:n,linkContainerClasses:(0,s.A)([i,r]),item:l,openInNewWindow:!(0,d.cW)(l?.url),outputType:a},`section-topper-${e?._id||e?.url||t}`)})})};b.propTypes={containerClasses:u().string,items:u().arrayOf(u().object),linkClasses:u().string,linkContainerClasses:u().string,maxLinks:u().object.isRequired,outputType:u().string};var y=b,v=r(1032);const w=e=>{const{children:t,customFields:r={}}=e,{hideSubNavigation:n=!1,sectionTopperCustomTitle:i="",sectionTopperHierarchy:l="navigation-menu-links",sectionTopperSection:u,maxSectionTopperLinksXs:c=0,maxSectionTopperLinksSm:d=0,maxSectionTopperLinksMd:f=0,maxSectionTopperLinksLg:p=0,maxSectionTopperLinksXl:m=0,sectionTopperAddMarginTop:g=!1,sectionTopperRemoveMarginBottom:b=!1}=r,{arcSite:w,globalContent:x={},id:M,outputType:_}=(0,o.useFusionContext)(),{_id:O,node_type:j}=x,S=u||(j&&"section"===j?O:null),A=(0,a.useContent)((0,v._i)({source:"site-navigation",query:{hierarchy:l,section:S},filter:"{name site { site_tagline title } site_topper { site_logo_image } children { _id url navigation { title url } }}",siteName:w}));if(!(A||i&&""!==i))return null;const{children:P=[],name:k="",site:T={},site_topper:E={}}=A&&A._id===S&&"/"!==A._id?A:{},{site_tagline:C="",title:D=""}=T,{site_logo_image:N}=E,I=i&&""!==i&&"null"!==i&&i||C&&""!==C&&"null"!==C&&C||D&&""!==D&&"null"!==D&&D||k;return(0,h.jsxs)("div",{className:(0,s.A)(["section-topper |","pt-3",{"mt-3":g},{"mb-3":!b},{"mb-0":b}]),children:[(0,h.jsxs)("div",{className:(0,s.A)(["header-container |","w-100",{"d-flex":t},{"align-items-center":t},{"justify-content-between":t},{"flex-wrap":t}]),children:[i&&""!==i||!N?(0,h.jsx)("h1",{className:(0,s.A)(["section-topper-text |","fw-bold","mb-0",{"me-3":t}]),children:I}):(0,h.jsx)("img",{alt:`${I} Logo`,className:(0,s.A)(["img-fluid",{"me-3":t}]),src:N}),t&&t||null]}),!n&&P.length>0&&(0,h.jsx)("div",{className:(0,s.A)(["px-1"]),children:(0,h.jsx)(y,{containerClasses:(0,s.A)(["d-flex","flex-wrap","list-unstyled","mx-n2","my-2","fw-bold"]),items:P,linkClasses:(0,s.A)(["text-reset"]),linkContainerClasses:(0,s.A)(["px-2","text-nowrap"]),maxLinks:{xs:c,sm:d,md:f,lg:p,xl:m},outputType:_})})]},M)};w.propTypes={children:i().node,customFields:i().shape({sectionTopperHierarchy:i().text.tag({defaultValue:"navigation-menu-links",de
2scription:"If blank, the default `navigation-menu-links` hierarchy is used",group:"Section Data",name:"Custom Section Topper Hierarchy"}),sectionTopperSection:i().text.tag({defaultValue:"",description:"Should begin with a slash and not contain a trailing slash. If blank and site service content source is used, the global content section id will be used.",group:"Section Data",name:"Custom Section Topper Section Id"}),sectionTopperCustomTitle:i().text.tag({defaultValue:"",description:"Override the main title. Text will be used even if the section id doesn't return data.",group:"Custom Text",name:"Custom Section Topper Title"}),sectionTopperAddMarginTop:i().bool.tag({defaultValue:!1,description:"Turn the top margin on/off.",group:"Formatting",name:"Increase top margin?"}),sectionTopperRemoveMarginBottom:i().bool.tag({defaultValue:!1,description:"Turn the bottom margin on/off.",group:"Formatting",name:"Remove bottom margin?"}),hideSubNavigation:i().bool.tag({defaultValue:!1,description:"Sub Navigation will be hidden when checked.",group:"Sub Navigation",name:"Hide Sub Navigation Links"}),maxSectionTopperLinksXs:i().number.tag({defaultValue:4,description:"Maximum number of links to display in the section topper when viewed on a small mobile device.",group:"Sub Navigation",max:4,min:0,name:"Max Mobile (Portrait) Links",step:1}),maxSectionTopperLinksSm:i().number.tag({defaultValue:5,description:"Maximum number of links to display in the section topper when viewed on a large mobile device.",group:"Sub Navigation",max:5,min:0,name:"Max Mobile (Landscape) Links",step:1}),maxSectionTopperLinksMd:i().number.tag({defaultValue:7,description:"Maximum number of links to display in the section topper when viewed on a small tablet device.",group:"Sub Navigation",max:7,min:0,name:"Max Tablet Links",step:1}),maxSectionTopperLinksLg:i().number.tag({defaultValue:9,description:"Maximum number of links to display in the section topper when viewed on a small desktop device.",group:"Sub Navigation",max:9,min:0,name:"Max Sm Desktop Links",step:1}),maxSectionTopperLinksXl:i().number.tag({defaultValue:9,description:"Maximum number of links to display in the section topper when viewed on a large desktop device.",group:"Sub Navigation",max:12,min:0,name:"Max Lg Desktop Links",step:1})})},w.label="Global - Section Topper";var x=w},2121:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return w}});r(809);var n=r(6780),i=r.n(n),o=r(4321),a=r(4375),s=r(3287),l=r(1032);const u="navigation-menu-links";var c=r(9894),d=r.n(c),h=r(5771),f=r(5349);function p(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function m(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?p(Object(r),!0).forEach(function(t){g(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function g(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const b=({id:e,isTopLevel:t=!1,items:r=[],iterationDepth:n=0})=>r.length<=0?null:(0,f.jsx)("ul",m(m({className:(0,s.A)(["sitemap-links |",{"list-unstyled":t}])},e&&{"aria-labelledby":e}),{},{children:r.map(({children:e=[],id:r,navigation:{title:i,url:o}={}},a)=>{const l=e.length>0,u=`link-${r}-${n}-${a}`.replace(/\//g,"-").replace(/--/g,"-");return(0,f.jsxs)("li",{className:(0,s.A)(["sitemap-link |",{"mb-2":t}]),children:[(0,f.jsx)(h.N_,{id:u,classes:(0,s.A)([{h5:t}]),href:o,children:i}),l&&(0,f.jsx)(b,{id:u,items:e,iterationDepth:n+1})]},u)})}
2));b.propTypes={id:d().string,isTopLevel:d().bool,items:d().arrayOf(d().object),iterationDepth:d().number};var y=b;const v=({customFields:e={}})=>{const{sitemapHierarchy:t=u}=e,{arcSite:r,id:n}=(0,o.useFusionContext)(),i=(0,a.useContent)((0,l._i)({siteName:r,source:"site-navigation",query:{hierarchy:t||u}}));if(!i)return null;const{children:c=[]}=i;return(0,f.jsx)("div",{className:(0,s.A)(["sitemap-listing |","px-2","px-sm-3","pt-2","mb-3"]),children:c.length>0&&(0,f.jsx)(y,{isTopLevel:!0,items:c})},n)};v.propTypes={customFields:i().shape({sitemapHierarchy:i().text.tag({defaultValue:"navigation-menu-links",description:"If blank, the default `navigation-menu-links` hierarchy is used",group:"Data Configuration",name:"Sitemap Hierarchy"})})},v.label="Global - Sitemap Listing";var w=v},7302:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(6780),o=r.n(i),a=r(4321),s=r(8154),l=r(5349);const u=({customFields:e={}})=>{const{id:t,isAdmin:r,siteProperties:i}=(0,a.useFusionContext)(),{text:o}=e;return r?(0,l.jsx)(l.Fragment,{children:((0,s.Oh)(o,i)||"").split("\n").map((e,r)=>(0,l.jsxs)(n.Fragment,{children:[e,(0,l.jsx)("br",{})]},`${t}-${r}`))}):null};u.propTypes={customFields:o().shape({text:o().richtext})},u.label="Global - Text",t.default=u},4782:function(e,t,r){"use strict";r.r(t);r(809);var n=r(4321),i=r(7508),o=r.n(i),a=r(3287),s=r(5771),l=r(5349);const u=()=>{const{arcSite:e,isAdmin:t=!1,siteProperties:r={}}=(0,n.useFusionContext)(),{locale:i,titanTv:u={}}=r,{siteId:c}=u,d=o()(i||"en");return c?(0,l.jsx)("div",{className:(0,a.A)(["tv-listings |","mb-3","border","border-dark"]),children:(0,l.jsx)("iframe",{border:0,className:(0,a.A)(["d-block","mx-auto","vh-100","bg-dark","border-0"]),title:d.t("global.tvListings"),src:`//titantvguide.com/?siteid=${c}`})}):t&&(0,l.jsx)(s.HZ,{classes:(0,a.A)(["text-white","bg-secondary","w-100","h-auto","small","mb-3"]),styles:{minHeight:"90px"},children:(0,l.jsxs)("div",{className:(0,a.A)(["d-flex","flex-column","justify-content-center","small"]),children:[(0,l.jsx)("p",{children:`Please add a reference to the TitanTV guide in ${e.toUpperCase()}'s site property settings.`}),(0,l.jsxs)("div",{className:(0,a.A)(["d-block mx-auto","fst-italic","text-start"]),style:{width:"200px"},children:[(0,l.jsx)("h6",{className:(0,a.A)(["mb-1"]),children:"Ex:"}),(0,l.jsx)("pre",{className:(0,a.A)(["text-white","fst-italic","text-start","mb-1"]),children:`${JSON.stringify({titanTv:{siteId:"49733"}},null,2)}`})]})]})})};u.label="Global - TV Listings",t.default=u},5598:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"article-center-column-layout",className:(0,o.A)(["page-layout"]),children:[(0,a.jsx)("a",{className:(0,o.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,a.jsx)("header",{id:"main",className:(0,o.A)(["masthead |","w-100"]),children:e.children[0]}),(0,a.jsx)("nav",{className:(0,o.A)(["navigation |","w-100"]),children:e.children[1]}),(0,a.jsx)("section",{className:(0,o.A)(["leaderboard |","w-100"]),children:e.children[2]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["row"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,a.jsx)("div",{className:(0,o.A)(["article-content-container |","col-12"]),children:(0,a.jsx)("div",{className:(0,o.A)(["row","justify-content-center"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["col-12","col-lg-11","col-xl-10"]),children:[(0,a.jsxs)("article",{className:"w-100",children:[(0,a.jsx)("header",{className:(0,o.A)(["header |","w-100"]),children:e.children[4]}),(0,a.jsx)("section",{className:(0,o.A)(["body |","w-100"]),children:e.children[5]})]}),(0,a.jsx)("section",{className:(0,o.A)(["recommendations |","w-100"]),children:e.children[6]})]})})}),(0,a.jsx)("section",{className:(0,o.A)(["middle-wrapped |","col-12"]),children:e.children[7]}),(0,a.jsx)("section",{className:(0,o.A)(["bottom-wrapped |","col-12"]),children:e.children[8]})]})}),(0,a.jsx)("footer",{className:(0,o.A)(["footer |","w-100"]),children:e.children[9]})]});s.propTypes={children:i().array},s.label="Article - Centered - v2",s.sections=["masthead","navigation","leaderboard","top-wrapped","header","body","recommendations","middle-wrapped","bottom-wrapped","footer"],t.default=s},3215:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"article-center-column-layout",className:(0,o.A)(["page-layout"]),children:[(0,a.jsx)("a",{className:(0,o.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,a.jsx)("header",{id:"main",className:(0,o.A)(["masthead |","w-100"]),children:e.children[0]}),(0,a.jsx)("nav",{className:(0,o.A)(["navigation |","w-100"]),children:e.children[1]}),(0,a.jsx)("section",{className:(0,o.A)(["leaderboard |","w-100"]),children:e.children[2]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["row"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,a.jsx)("div",{className:(0,o.A)(["article-content-container |","col-12"]),children:(0,a.jsx)("div",{className:(0,o.A)(["row","justify-content-center"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["col-12","col-lg-11","col-xl-10"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["header |","w-100"]),children:e.children[4]}),(0,a.jsx)("section",{className:(0,o.A)(["body |","w-100"]),children:e.children[5]}),(0,a.jsx)("section",{className:(0,o.A)(["recommendations |","w-100"]),children:e.children[
26]})]})})}),(0,a.jsx)("section",{className:(0,o.A)(["middle-wrapped |","col-12"]),children:e.children[7]}),(0,a.jsx)("section",{className:(0,o.A)(["bottom-wrapped |","col-12"]),children:e.children[8]})]})}),(0,a.jsx)("footer",{className:(0,o.A)(["footer |","w-100"]),children:e.children[9]})]});s.propTypes={children:i().array},s.label="Article - Centered - v1",s.sections=["masthead","navigation","leaderboard","top-wrapped","header","body","recommendations","middle-wrapped","bottom-wrapped","footer"],t.default=s},2572:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"article-right-rail-layout",className:(0,o.A)(["includes-right-rail","page-layout"]),children:[(0,a.jsx)("a",{className:(0,o.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,a.jsx)("header",{id:"main",className:(0,o.A)(["masthead |","w-100"]),children:e.children[0]}),(0,a.jsx)("nav",{className:(0,o.A)(["navigation |","w-100"]),children:e.children[1]}),(0,a.jsx)("section",{className:(0,o.A)(["leaderboard |","w-100"]),children:e.children[2]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["row"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,a.jsxs)("div",{className:(0,o.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,a.jsxs)("div",{className:(0,o.A)(["article-content-container |","flex-lg-fill","me-lg-3"]),children:[(0,a.jsxs)("article",{className:"w-100",children:[(0,a.jsx)("header",{className:(0,o.A)(["header |","w-100"]),children:e.children[4]}),(0,a.jsx)("section",{className:(0,o.A)(["body |","w-100"]),children:e.children[5]})]}),(0,a.jsx)("section",{className:(0,o.A)(["recommendations |","w-100"]),children:e.children[6]})]}),(0,a.jsx)("section",{className:(0,o.A)(["right-rail |","rail","ms-lg-3","d-flex","flex-column","flex-lg-fill"]),children:e.children[7]})]}),(0,a.jsx)("section",{className:(0,o.A)(["bottom-wrapped |","col-12"]),children:e.children[8]})]})}),(0,a.jsx)("footer",{className:(0,o.A)(["footer |","w-100"]),children:e.children[9]})]});s.propTypes={children:i().array},s.label="Article - Right Rail - v2",s.sections=["masthead","navigation","leaderboard","top-wrapped","header","body","recommendations","right rail","bottom-wrapped","footer"],t.default=s},4369:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"article-right-rail-layout",className:(0,o.A)(["includes-right-rail","page-layout"]),children:[(0,a.jsx)("a",{className:(0,o.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,a.jsx)("header",{id:"main",className:(0,o.A)(["masthead |","w-100"]),children:e.children[0]}),(0,a.jsx)("nav",{className:(0,o.A)(["navigation |","w-100"]),children:e.children[1]}),(0,a.jsx)("section",{className:(0,o.A)(["leaderboard |","w-100"]),children:e.children[2]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["row"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,a.jsxs)("div",{className:(0,o.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,a.jsxs)("div",{className:(0,o.A)(["article-content-container |","flex-lg-fill","me-lg-3"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["header |","w-100"]),children:e.children[4]}),(0,a.jsx)("section",{className:(0,o.A)(["body |","w-100"]),children:e.children[5]}),(0,a.jsx)("section",{className:(0,o.A)(["recommendations |","w-100"]),children:e.children[6]})]}),(0,a.jsx)("section",{className:(0,o.A)(["right-rail |","rail","ms-lg-3","d-flex","flex-column","flex-lg-fill"]),children:e.children[7]})]}),(0,a.jsx)("section",{className:(0,o.A)(["bottom-wrapped |","col-12"]),children:e.children[8]})]})}),(0,a.jsx)("footer",{className:(0,o.A)(["footer |","w-100"]),children:e.children[9]})]});s.propTypes={children:i().array},s.label="Article - Right Rail - v1",s.sections=["masthead","navigation","leaderboard","top-wrapped","header","body","recommendations","right rail","bottom-wrapped","footer"],t.default=s},977:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"bare-layout",className:(0,o.A)(["page-layout"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["top |","w-100"]),children:e.children[0]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsx)("div",{className:(0,o.A)(["row"]),children:(0,a.jsx)("section",{className:(0,o.A)(["middle-wrapped |","col-12"]),children:e.children[1]})})}),(0,a.jsx)("section",{className:(0,o.A)(["bottom |","w-100"]),children:e.children[2]})]});s.propTypes={children:i().array},s.label="Bare",s.sections=["top","middle-wrapped","bottom"],t.default=s},5332:function(e,t,r){"use strict";r.r(t);r(809);var n=r(9894),i=r.n(n),o=r(3287),a=r(5349);const s=e=>(0,a.jsxs)("div",{id:"basic-layout",className:(0,o.A)(["page-layout"]),children:[(0,a.jsx)("a",{className:(0,o.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,a.jsx)("header",{className:(0,o.A)(["header |","w-100"]),children:e.children[0]}),(0,a.jsx)("nav",{className:(0,o.A)(["nav |","w-100"]),children:e.children[1]}),(0,a.jsx)("section",{className:(0,o.A)(["leaderboard |","w-100"]),children:e.children[2]}),(0,a.jsx)("div",{className:(0,o.A)(["container-xl"]),children:(0,a.jsxs)("div",{className:(0,o.A)(["row"]),children:[(0,a.jsx)("section",{className:(0,o.A)(["topper |","col-sm-12","col-lg-9"]),children:e.children[3]}),(0,a.jsx)("section",{id:"main",className:(0,o.A)(["main |","col-sm-12","col-lg-9"]),children:e.children[4]}),(0,a.jsx)("section",{className:(0,o.A)(["right-rail |","col-sm-12","col-lg-3"]),children:e.children[5]}),(0,a.jsx)("section",{className:(0,o.A)(["bottom |","col-12"]),children:e.children[
26]})]})}),(0,a.jsx)("footer",{className:(0,o.A)(["footer |","w-100"]),children:e.children[7]})]});s.propTypes={children:i().array},s.label="Basic",s.sections=["header","nav","leaderboard","topper","main","right-rail","bottom","footer"],t.default=s},9789:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(5267),u=r(5349);const c=e=>{const{globalContent:t={}}=(0,s.useFusionContext)(),r=t?._admin?.wallpaper_ad??!1;return(0,u.jsxs)("div",{id:"homepage-layout",className:(0,a.A)(["bg-default-page",{"includes-wallpaper-ad":r},"page-layout"]),children:[(0,u.jsx)("a",{className:(0,a.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,u.jsx)("header",{className:(0,a.A)(["masthead |","w-100"]),children:e.children[0]}),(0,u.jsx)("nav",{className:(0,a.A)(["navigation |","w-100"]),children:e.children[1]}),(0,u.jsx)("section",{className:(0,a.A)(["leaderboard |","w-100","position-relative"]),children:(0,n.useMemo)(()=>r&&"false"!==r?(0,u.jsxs)("div",{className:(0,a.A)(["position-relative","w-100"]),children:[(0,u.jsx)(l.default,{adType:l.wallpaperAd}),(0,u.jsx)(l.default,{adType:l.wallpaperCompanionLeaderboardAd})]}):e.children[2],[r])}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl",{"bg-default-page":r},{"position-relative":r}]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{id:"main",className:(0,a.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["top-featured |","flex-lg-fill","me-lg-3"]),children:e.children[4]}),(0,u.jsx)("section",{className:(0,a.A)(["top-right-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[5]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-wrapped |","col-12"]),children:e.children[6]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-featured |","flex-lg-fill","me-lg-3"]),children:e.children[7]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-right-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[8]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-top |","col-12"]),children:e.children[9]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-center |","col-12"]),children:e.children[10]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-bottom |","col-12"]),children:e.children[11]})]})}),(0,u.jsx)("footer",{className:(0,a.A)(["footer |","w-100"]),children:e.children[12]})]})};c.propTypes={children:o().array},c.label="Homepage",c.sections=["masthead","navigation","leaderboard","top wrapped","top featured","top right rail","middle wrapped","middle featured","middle right rail","middle top","middle center","middle bottom","footer"],t.default=c},3323:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(5267),u=r(5349);const c=e=>{const{globalContent:t={}}=(0,s.useFusionContext)(),r=t?._admin?.wallpaper_ad??!1;return(0,u.jsxs)("div",{id:"homepage-alternate-layout",className:(0,a.A)(["page-layout","bg-default-page",{"includes-wallpaper-ad":r}]),children:[(0,u.jsx)("a",{className:(0,a.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,u.jsx)("header",{className:(0,a.A)(["masthead |","w-100"]),children:e.children[0]}),(0,u.jsx)("nav",{className:(0,a.A)(["navigation |","w-100"]),children:e.children[1]}),(0,u.jsx)("section",{className:(0,a.A)(["leaderboard |","w-100","position-relative"]),children:(0,n.useMemo)(()=>r&&"false"!==r?(0,u.jsxs)("div",{className:(0,a.A)(["position-relative","w-100"]),children:[(0,u.jsx)(l.default,{adType:l.wallpaperAd}),(0,u.jsx)(l.default,{adType:l.wallpaperCompanionLeaderboardAd})]}):e.children[2],[r])}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl"]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{id:"main",className:(0,a.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["top-featured |","flex-lg-fill","me-lg-3"]),children:e.children[4]}),(0,u.jsx)("section",{className:(0,a.A)(["top-right-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[5]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-wrapped |","col-12"]),children:e.children[
26]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-left-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[7]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-featured |","flex-lg-fill","ms-lg-3"]),children:e.children[8]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-top |","col-12"]),children:e.children[9]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-center |","col-12"]),children:e.children[10]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-bottom |","col-12"]),children:e.children[11]})]})}),(0,u.jsx)("footer",{className:(0,a.A)(["footer |","w-100"]),children:e.children[12]})]})};c.propTypes={children:o().array},c.label="Homepage Alternate",c.sections=["masthead","navigation","leaderboard","top wrapped","top featured","top right rail","middle wrapped","middle left rail","middle featured","middle top","middle center","middle bottom","footer"],t.default=c},485:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(5267),u=r(5349);const c=e=>{const{globalContent:t={}}=(0,s.useFusionContext)(),r=t?._admin?.wallpaper_ad??!1;return(0,u.jsxs)("div",{id:"olympic-page-layout",className:(0,a.A)(["page-layout","bg-default-page",{"includes-wallpaper-ad":r}]),children:[(0,u.jsx)("a",{className:(0,a.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,u.jsx)("header",{className:(0,a.A)(["masthead |","w-100"]),children:e.children[0]}),(0,u.jsx)("nav",{className:(0,a.A)(["navigation |","w-100"]),children:e.children[1]}),(0,u.jsx)("section",{className:(0,a.A)(["leaderboard |","w-100","position-relative"]),children:(0,n.useMemo)(()=>r&&"false"!==r?(0,u.jsxs)("div",{className:(0,a.A)(["position-relative","w-100"]),children:[(0,u.jsx)(l.default,{adType:l.wallpaperAd}),(0,u.jsx)(l.default,{adType:l.wallpaperCompanionLeaderboardAd})]}):e.children[2],[r])}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl",{"bg-default-page":r},{"position-relative":r}]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{id:"main",className:(0,a.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["top-featured |","flex-lg-fill","me-lg-3"]),children:e.children[4]}),(0,u.jsx)("section",{className:(0,a.A)(["top-right-rail |","expanded-rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[5]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-wrapped |","col-12"]),children:e.children[6]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-featured |","flex-lg-fill","me-lg-3"]),children:e.children[7]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-right-rail |","expanded-rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[8]})]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-top |","col-12"]),children:e.children[9]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-center |","col-12"]),children:e.children[10]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-bottom |","col-12"]),children:e.children[11]})]})}),(0,u.jsx)("footer",{className:(0,a.A)(["footer |","w-100"]),children:e.children[12]})]})};c.propTypes={children:o().array},c.label="Olympic Page",c.sections=["masthead","navigation","leaderboard","top wrapped","top featured","top right rail","middle wrapped","middle featured","middle right rail","middle top","middle center","middle bottom","footer"],t.default=c},1413:function(e,t,r){"use strict";r.r(t);var n=r(809),i=r(9894),o=r.n(i),a=r(3287),s=r(4321),l=r(5267),u=r(5349);const c=e=>{const{globalContent:t={}}=(0,s.useFusionContext)(),r=t?._admin?.wallpaper_ad??!1;return(0,u.jsxs)("div",{id:"section-with-spotlight-rows-layout",className:(0,a.A)(["page-layout","bg-default-page",{"includes-wallpaper-ad":r}]),children:[(0,u.jsx)("a",{className:(0,a.A)(["skip-link","visually-hidden","visually-hidden-focusable","px-3","text-body"]),href:"#main",children:"Skip to content"}),(0,u.jsx)("header",{className:(0,a.A)(["masthead |","w-100"]),children:e.children[0]}),(0,u.jsx)("nav",{className:(0,a.A)(["navigation |","w-100"]),children:e.children[1]}),(0,u.jsx)("section",{className:(0,a.A)(["leaderboard |","w-100","position-relative"]),children:(0,n.useMemo)(()=>r&&"false"!==r?(0,u.jsxs)("div",{className:(0,a.A)(["position-relative","w-100"]),children:[(0,u.jsx)(l.default,{adType:l.wallpaperAd}),(0,u.jsx)(l.default,{adType:l.wallpaperCompanionLeaderboardAd})]}):e.children[2],[r])}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl",{"bg-default-page":r},{"position-relative":r}]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{id:"main",className:(0,a.A)(["top-wrapped |","col-12"]),children:e.children[3]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["top-featured |","flex-lg-fill","me-lg-3"]),children:e.children[4]}),(0,u.jsx)("section",{className:(0,a.A)(["top-right-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[5]})]})]})}
2),(0,u.jsx)("section",{className:(0,a.A)(["top-spotlight |","w-100","position-relative"]),children:e.children[6]}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl",{"bg-default-page":r},{"position-relative":r}]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-wrapped |","col-12"]),children:e.children[7]}),(0,u.jsxs)("div",{className:(0,a.A)(["col-12","d-flex","flex-column","flex-lg-row","w-100"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-featured |","flex-lg-fill","me-lg-3"]),children:e.children[8]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-right-rail |","rail","d-flex","flex-column","flex-lg-fill"]),children:e.children[9]})]})]})}),(0,u.jsx)("section",{className:(0,a.A)(["middle-spotlight |","w-100","position-relative"]),children:e.children[10]}),(0,u.jsx)("div",{className:(0,a.A)(["container-xl",{"bg-default-page":r},{"position-relative":r}]),children:(0,u.jsxs)("div",{className:(0,a.A)(["row"]),children:[(0,u.jsx)("section",{className:(0,a.A)(["middle-top |","col-12"]),children:e.children[11]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-center |","col-12"]),children:e.children[12]}),(0,u.jsx)("section",{className:(0,a.A)(["middle-bottom |","col-12"]),children:e.children[13]})]})}),(0,u.jsx)("footer",{className:(0,a.A)(["footer |","w-100"]),children:e.children[14]})]})};c.propTypes={children:o().array},c.label="Section with Spotlight Rows",c.sections=["masthead","navigation","leaderboard","top wrapped","top featured","top right rail","top-spotlight","middle wrapped","middle featured","middle right rail","middle-spotlight","middle top","middle center","middle bottom","footer"],t.default=c},2028:function(e,t,r){"use strict";r.d(t,{Yc:function(){return i},tU:function(){return o}});var n=r(3993);const i=("localhost"===n.ENVIRONMENT?"local":"gray-dev"===n.ENVIRONMENT&&"dev")||"gray-sandbox"===n.ENVIRONMENT&&"sandbox"||"prod",o="production"===n.API_ENVIRONMENT?"prod":n.API_ENVIRONMENT},2528:function(e,t,r){"use strict";r.d(t,{M5:function(){return n},Ol:function(){return s},uO:function(){return i},vQ:function(){return a}});const n=({metaPageType:e,globalContent:t={}}={})=>{if(["article","video","gallery","section","tag","author","homepage","queryly-search","weather"].some(t=>t===e))return e;const{type:r="page",_id:n}=t;return"section"===r&&"/homepage"===n?"homepage":"story"===r?"article":r||"page"},i=(e=[],t=[])=>{if(!e&&e.length<1)return!1;const r=t.filter(t=>{const{props:r={}}=t,{type:n}=r||{};return n?e.some(e=>e===n):null});return!!(r&&r.length>0)},o=({excludedFeatures:e=[],excludedGlobalFeatures:t=[]}={})=>[...new Set([...e,...t])],a=({featureName:e,siteProperties:t})=>{if(!t)return!1;return o(t).includes(e)},s=({outputType:e="default",uri:t}={})=>{if(!t||"apps"!==e)return t;const[r,n]=t.split("?");return`${r}?${n&&n.toLowerCase().includes("outputtype")&&n||"outputType=apps"+(n?`&${n}`:"")}`}},95:function(e,t,r){"use strict";r.d(t,{Xi:function(){return l},rX:function(){return s}});var n=r(6780),i=r.n(n),o=r(8154),a=r(6015);const s=()=>{const e={},t=[1,2,3,4];return["widescreen","desktop","tablet","mobile"].map(r=>{e[`${r}CardsPerRow`]=i().oneOf(t).tag({defaultValue:1,group:"Layout",name:(0,o.B_)(`${r} Cards Per Row`)})}),e},l=e=>(0,a.HZ)(e)?12/e:Math.floor(12/e)},6015:function(e,t,r){"use strict";r.d(t,{HZ:function(){return n},cW:function(){return i}});const n=e=>e===parseFloat(e)?!(e%2):void 0,i=e=>new RegExp("^(?!www.|(?:http)s?://|//)(^/).*$").test(e)},8154:function(e,t,r){"use strict";r.d(t,{B_:function(){return s},Oh:function(){return l},ud:function(){return a},xv:function(){return u}});var n=r(994),i=r.n(n),o=r(2245);const a=(e,t,r=!0)=>{if(!e||!t)return!1;const n=r?e:e.toLowerCase(),i=r?t:t.toLowerCase();return n.includes(`${i}`)},s=(e,t="")=>{const r=e.replace(t,"");return`${""===t?r.substr(0,1).toUpperCase():r.substr(0,1).toLowerCase()}${r.substr(1,r.length-1)}`},l=(e,t={})=>{if(!e)return null;if(!e?.trim())return"";let r=e;return i()(r,/<%([A-Za-z0-9-_.[\]]+)%>/gi).toArray().map(e=>{const n=e,i=`<%${e}%>`,a=(0,o.A)(t,n.trim(),"");return r=r.replace(i,a),null}),r},u=(e="",t,r={})=>
2{if(!t||t<=6)return e;const{includeEllipsis:n=!0,useEllipsisCharacter:i=!0,useWordBoundary:o=!0}=r,a=n&&t-(i?1:3)||t;if(!e||e.length<=a)return e;const s=e.substr(0,a).trim(),l=(s.match(new RegExp(" ","g"))||[]).length,u=i?"&hellip;":"...";return`${o&&l>1?s.substr(0,s.lastIndexOf(" ")):s}${n?u:""}`}},4595:function(e,t,r){"use strict";r.d(t,{wv:function(){return n}});const n=({socialSiteProperties:e,approvedNetworks:t})=>(t&&t.length>0?t:Object.keys(e||{})).map(t=>{const r=e?.[t];if(!r)return null;const{baseUrl:n,handle:i,type:o,url:a}=r;return a||i?{network:t,handle:i,url:a||`${n}${o&&`${o}/`||""}${i}`}:null}).filter(e=>e)},2225:function(e,t,r){"use strict";r.d(t,{M:function(){return _}});const n="video-duration",i="powaMediaComplete",o="powaMediaStart",a={live:"Livestream",clip:"VOD"};function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=(e,t,r,i,o,s={})=>{const u=t.getVideoData(),{_id:c=null,additional_properties:d={},canonical_website:h,distributor:f={},duration:p,first_publish_date:m,headlines:g={},publish_date:b,streams:y=[],taxonomy:v={},video_type:w=null}=u,x=(()=>{const e=t.getElement().getAttribute("data-autoplay");return!(!0!==e&&"true"!==e)})(),M=(()=>{const e=t.getElement().getAttribute("data-playthrough");return!(!0!==e&&"true"!==e)})(),_=a[w],{videoStarts:O=1}=t.getStatus(),j=u?.additional_properties?.playlist||null,{category:S=null,mode:A="custom",name:P=null,reference_id:k=null,subcategory:T=null}=f,{seo_keywords:E=null,tags:C=null}=v,{advertising:D={},currentProgram:N={},onNow:I={}}=d,R=(N||I)?.title,L=l(l(l({},s),{},{videoTitle:g.basic,videoLength:p?p/1e3:p,videoOwner:h,videoCreationDate:m&&m||b,videoDistributorCategory:S,videoDistributorMode:u.distributor&&A||null,videoDistributorName:P,videoDistributorReferenceId:k,videoDistributorSubcategory:T,videoId:c,videoKeywords:E,videoPlayerType:"html5",videoPlayerName:"powa",videoPlayerVersion:window&&window.PoWaSettings&&window.PoWaSettings.VERSION},R?{videoProgramTitle:R}:null),{},{videoPlaylistName:j,videoPlayOrder:O,videoPlaythroughIsEnabled:M,videoTags:C,videoType:_,videoIsAutoPlay:`${x}`,videoStartType:x?"automatic":"manual",videoAdTarget:D.commercialAdNode&&D.commercialAdNode,videoPlayLocation:(document.getElementsByClassName("article-body")||[]).length>0?"article":"page"});if(L.videoBitrate="",L.videoResolution="",1===y.length){const e=y[0];L.videoBitrate=e.bitrate,L.videoResolution=`${e.width}x${e.height}`}return e===n&&(L.vodDurationPingRate=""+o/1e3,L.videoPlayheadLocation=i,_===a.clip&&(L.onDemandSecondsWatched=r),_===a.live&&(L.livestreamSecondsWatched=r,L.livestreamMinutesFromStart=""+Math.round(r/60*100)/100)),L},d=r(5511);function h(e,t){const r={event:e};return Object.entries(t).forEach(e=>{r[e[0]]=e[1]}),d.B&&window.RCdataLayer?(window.RCdataLayer.push(r),null):null}var f=r(3324);const p="[Google Analytics] ";const m=new class{constructor(){this._getElapsedSeconds=this._getElapsedSeconds.bind(this),this.timer={},this.timestamps={},this.playheadStartLocation={},this.pingRate=null,this.forceDebug="true"===(0,f.E)("force-debug-ga"),this.start=this.start.bind(this),this.play=this.play.bind(this),this.end=this.end.bind(this),this.pause=this.pause.bind(this),this.complete=this.complete.bind(this)}_getElapsedSeconds(e){const t=this.timestamps[e]?.duration||0,r=this.timestamps[e]?.play||0,n=Math.floor(t-r);return n>1e3?Math.floor(n/1e3):0}setTimestamp(e,t){this.timestamps[e]=this.timestamps[e]||{},this.timestamps[e][t]=(new Date).getTime()}setDurationTimer(e,t){const r=this.pingRate;r&&(this.timer[e]=setInterval(()=>this.duration(e,t),r))}start(e,t){this.forceDebug&&console.debug(`${p}start:`,`${e} - ${this._getElapsedSeconds(e)} second(s)`),this.setTimestamp(e,"start");const r=c(o,t);h(o,r)}play(e,t,r){this.forceDebug&&console.debug(`${p}play:`,`${e} - ${this._getElapsedSeconds(e)} second(s)`);const{dataset:{pingRate:n=60}}=t.getElement(),{video_type:i="unknown"}=t.getVideoData();if(t.isLivePowaPlayer||"live"===i){const{time:i}=r;this.pingRate=1e3*n,this.playheadStartLocation[e]=Math.floor(i),this.setTimestamp(e,"play"),this.timer[e]||this.setDurationTimer(e,t)}}end(e){this.forceDebug&&console.debug(`${p}end:`,`${e} - ${this._getElapsedSeconds(e)} second(s)`),this.timer[e]&&(clearInterval(this.timer[e]),delete this.timer[e]),this.timestamps[e]&&delete this.timestamps[e],this.playheadStartLocation[e]&&delete this.playheadStartLocation[e]}pause(e){this.forceDebug&&console.debug(`${p}pause:`,`${e} - ${this._getElapsedSeconds(e)} second(s)`),this.timer[e]&&(clearInterval(this.timer[e]),delete this.timer[e])}complete(e,t){this.forceDebug&&console.debug(`${p}complete`,`${e} - ${this._getElapsedSeconds(e)} second(s)`);const r=c(i,t);h(i,r)}duration(e,t){const{playing:r=!1}=t?.getStatus&&t?.getStatus()||{};if(r){this.setTimestamp(e,"duration");const r=this._getElapsedSeconds(e);this.forceDebug&&console.debug(`${p}duration`,`${e} - ${r} second(s)`);const i=this.playheadStartLocation[e]+r,{pingRate:o}=this,a=c(n,t,r,i,o);h(`${a.videoType}-Duration`,a)}!r&&this.forceDebug&&console.debug(`${p}duration:\n\tPlayer is not playing, skipping duration`)}};var g=r(7983),b=r.n(g);const y="[Comscore Analytics] ";class v{constructor({arcSite:e}){this.arcSite=e,this.comscoreTag=new window.gdmComscore.StreamingAnalytics,this.adStart=this.adStart.bind(this),this.buffering=this.buffering.bind(this),this.isBuffering=!1,this.end=this.end.bind(this),this.notifyBufferStart=this.notifyBufferStart.bind(this),this.notifyBufferStop=this.notifyBufferStop.bind(this),this.play=this.play.bind(this),this.pause=this.pause.bind(this),this.seek=this.seek.bind(this),this.seeked=this.seeked.bind(this),this.setContentMetaData=this.setContentMetaData.bind(this),this.start=this.start.bind(this),this.contentMetaData={},this.startCalled=!1,this.forceDebug="true"===(0,f.E)("force-debug-comscore"),this.forceDebug&&console.debug(`${y}Initialized ComscoreStreamingAnalytics for site: ${e}`,this)}notifyBufferStart(){this.isBuffering||(this.isBuffering=!0,this.comscoreTag.notifyBufferStart(),this.forceDebug&&console.debug("notifyBufferStart: notifying buffer has started."))}notifyBufferStop(){this.isBuffering&&(this.isBuffering=!1,this.comscoreTag.notifyBufferStop(),this.forceDebug&&console.debug("notifyBufferStop: notifying buffer has stopped."))}setContentMetaData(e,t){if(t&&(this.contentMetaData=t),!this.contentMetaData||"function"!=typeof this.contentMetaData.setUniqueId){const{StreamingAnalytics:e}=window.gdmComscore;this.contentMetaData=new e.ContentMetadata}const r=this.contentMetaData,n=b()(this.arcSite),i=(n?.comscoreStreamingCallLetters??this.arcSite).toUpperCase(),o=e.getVideoData(),{_id:a,display_date:s,duration:l,isCompleteEpisode:u=!1,video_type:c="clip",headlines:{basic:d="NA"}={}}=o,h=(e=>{const{StreamingAnalytics:t}=window.gdmComscore,{ContentType:r}=t.ContentMetadata,n={original:e};if("livestream"===e.toLowerCase())n.name="live",n.comscoreType=r.LIVE;else n.name="vod",n.comscoreType=r.LONG_FORM_ON_DEMAND;return n})(c);if(s){const e=new Date(s);r.setDateOfDigitalAiring(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate()),r.setTimeOfDigitalAiring(e.getUTCHours(),e.getUTCMinutes())}r.classifyAsCompleteEpisode(u),r.setDictionaryClassificationC3(i),r.setDictionaryClassificationC4(h.name),r.setDictionaryClassificationC6("*null"),r.setGenreName("News"),l&&r.setLength(l),r.setMediaType(h.comscoreType),r.setProgramTitle(d),r.setPublisherName(i),r.setStationCode(i),r.setStationTitle(i),r.setUniqueId(a),this.contentMetaData=r,this.comscoreTag.setMetadata(r)}
2adStart(e,t,r){this.forceDebug&&console.debug(`${y}adStart: ${e}`,r);const{adDuration:n}=r,{AdvertisementMetadata:i}=window.gdmComscore.StreamingAnalytics,o=new i;o.setMediaType(i.AdvertisementType.ON_DEMAND_PRE_ROLL),o.setRelatedContentMetadata(this.contentMetaData),o.setLength(1e3*n),this.comscoreTag.setMetadata(o)}buffering(e,t,r){this.forceDebug&&console.debug(`${y}buffering: ${e}`,r),this.notifyBufferStart()}end(e){this.forceDebug&&console.debug(`${y}end: ${e}`),this.comscoreTag.notifyEnd()}pause(e,t,r){const{mediaStarted:n=!0}=r;this.forceDebug&&console.debug(`${y}\npause: ${e}\nmediaStarted: ${n}\n`,r),n&&this.comscoreTag.notifyPause()}play(e,t,r){this.forceDebug&&console.debug(`${y}play: ${e}`,r),this.startCalled||this.start(e,t,r),this.notifyBufferStop(),this.setContentMetaData(t),this.comscoreTag.notifyPlay()}seek(e,t,r){this.forceDebug&&console.debug(`${y}seek: ${e}`,r),this.comscoreTag.notifySeekStart()}seeked(e,t,r){const{time:n}=r;this.forceDebug&&console.debug(`${y}seeked: ${e}`,n),this.comscoreTag.startFromPosition(1e3*n)}start(e,t,r){this.forceDebug&&console.debug(`${y}start: ${e}`,r),this.startCalled=!0,this.comscoreTag.createPlaybackSession();const{StreamingAnalytics:n}=window.gdmComscore,i=new n.ContentMetadata;this.setContentMetaData(t,i),this.forceDebug&&console.debug(`${y}now playing metadata:`,this.contentMetaData.getMetadataLabels())}}function w(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function x(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?w(Object(r),!0).forEach(function(t){M(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):w(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function M(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const _=(e,t={},r)=>{const n=new v({arcSite:r}),i={adStart:[n.adStart],buffering:[n.buffering],complete:[m.complete,n.end],destroyed:[m.end,n.end],end:[m.end,n.end],pause:[m.pause,n.pause],play:[m.play,n.play],seek:[n.seek],seeked:[n.seeked],start:[m.start,n.start]},{player:o,powaID:a,isLivePowaPlayer:s=!1,dataOverride:l=null,getElementOverride:u=null}=t,c=o||e.detail.powa,d=a||e.detail.id;Object.entries(i).forEach(e=>c.on(e[0],t=>e[1].forEach(e=>e(d,x(x({},c),{},{isLivePowaPlayer:s,getElement:u||c.getElement,getVideoData:l||c.getVideoData}),t))))}},2504:function(e,t){"use strict";t.A=e=>Object.fromEntries(Object.entries({d:e?.deployment?.toString(),mxId:e?.mxId?.toString()}).filter(([e,t])=>null!=t&&""!==t))},2245:function(e,t){"use strict";t.A=(e,t,r)=>{if("string"!=typeof t||""===t.trim())return r;const n=t.replace(/\[\s*(['"])(.*?)\1\s*\]/g,".$2").replace(/\[\s*([^\]]+)\s*\]/g,".$1").split(".").filter(e=>e).reduce((e,t)=>{if(null!=e&&"object"==typeof e&&t in e)return e[t]},e);return null==n?r:n}},2712:function(e,t,r){"use strict";r.d(t,{i:function(){return d}});var n=r(809),i=r(4321),o=r(8481),a=r(2028),s=r(5511);function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach(function(t){c(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function c(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function d(e=""){const{arcSite:t,siteProperties:r={}}=(0,i.useAppContext)(),l="sandbox"!==a.tU&&!r?.userAuthentication?.isEnabled,c={user:null,isLoading:!1,isFetching:!1,error:null,isDebug:!1,isUserAuthDisabled:l}
2,[d,h]=(0,n.useState)(()=>{if(l)return c;const e=(0,o.getUserState)?.();return u(u({},c),e)});if(l)return u(u({},c),{},{isAuthenticated:!1,_log:()=>{},confirmUserAttribute:()=>Promise.resolve(),reloadUser:()=>{},sendUserAttributeVerificationCode:()=>Promise.resolve(),signInWithRedirect:()=>{},signOut:()=>Promise.resolve(),updatePassword:()=>Promise.resolve(),updateUserAttribute:()=>Promise.resolve(),updateUserAttributes:()=>Promise.resolve()});(0,n.useEffect)(()=>{if(!(0,s.B)())return;(0,o.initUserStore)({env:"prod"===a.tU?"production":"staging",relativeUrl:e});return(0,o.subscribe)(e=>{h(t=>u(u({},t),e))})},[e]);return{error:d.error,isAuthenticated:!!d.user,isDebug:d.isDebug,isFetching:d.isFetching,isLoading:d.isLoading,isUserAuthDisabled:d.isUserAuthDisabled,user:d.user,_log:(...e)=>{!d.isDebug&&(0,s.B)()||console.debug("useCurrentUser():",...e)},hasValidTokens:o.areTokensValid,confirmUserAttribute:o.confirmUserAttribute,reloadUser:()=>(0,o.loadGdmUser)({forceUpdate:!0}),sendUserAttributeVerificationCode:o.sendUserAttributeVerificationCode,signInWithRedirect:e=>{const r=(()=>{if("string"==typeof e)try{return JSON.parse(e)}catch{return{}}return e&&"object"==typeof e?e:{}})();(0,o.signInWithRedirect)(u(u({},r),{},{customState:JSON.stringify(u(u({},r.customState),{},{"arc-site":t})),site_id:t}))},signOut:o.signOut,updatePassword:o.updatePassword,updateUserAttribute:o.updateUserAttribute,updateUserAttributes:o.updateUserAttributes}}},4016:function(e,t,r){"use strict";r.d(t,{A:function(){return i}});var n=r(809);function i(e,t){const r=(0,n.useRef)();(0,n.useEffect)(()=>{r.current=e},[e]),(0,n.useEffect)(()=>{if(null!==t){const e=setInterval(function(){r.current()},t);return()=>{clearInterval(e)}}},[t])}},3408:function(e,t,r){"use strict";var n=r(809);t.A=function(e,t="0px",r=!1){const[i,o]=(0,n.useState)(r);return(0,n.useEffect)(()=>{const r=new IntersectionObserver(([e])=>{o(e.isIntersecting)},{rootMargin:t});return e.current&&r.observe(e.current),()=>{e.current&&r.unobserve(e.current)}},[]),i}},4676:function(e,t,r){"use strict";r.d(t,{Bd:function(){return i.B},MH:function(){return n.M}});r(95),r(3408);var n=r(2225),i=r(5511)},8444:function(e,t,r){"use strict";r.d(t,{RJ:function(){return o},h0:function(){return l},iq:function(){return c}});
2const n="\n    dayOrNight\n    daypartName\n    cloudCoverPhrase\n    iconCode\n    moonPhase\n    narrative\n    precipChance\n    pressureAltimeter\n    temperature\n    temperatureDewPoint\n    temperatureFeelsLike\n    uvDescription\n    uvIndex\n    windDirectionCardinal\n    windSpeed\n",i=`\n    location {\n        city\n        adminDistrictCode\n        ianaTimeZone\n        latitude\n        longitude\n    }\n    currentObservation {\n        ${n}\n    }\n    dailyForecast {\n        daypart {\n           ${n}\n        }\n        moonPhase\n        moonriseTimeLocal\n        moonriseTimeUtc\n        moonsetTimeLocal\n        moonsetTimeUtc\n        sunriseTimeLocal\n        sunriseTimeUtc\n        sunsetTimeLocal\n        sunsetTimeUtc\n    }\n    productsUsed\n    currentObservationVersion\n`,o=`\n{\n  imperial {\n    ${i}\n  }\n  metric {\n      ${i}\n   }\n}`.replace(/\s+/g," "),a="\n    dayOrNight\n    daypartName\n    cloudCoverPhrase\n    iconCode\n    index\n    moonPhase\n    narrative\n    precipChance\n    pressureAltimeter\n    relativeHumidity\n    temperature\n    temperatureDewPoint\n    temperatureFeelsLike\n    uvDescription\n    uvIndex\n    windDirectionCardinal\n    windSpeed\n    wxPhraseLong\n",s=`\n    location {\n        city\n        adminDistrictCode\n        ianaTimeZone\n        latitude\n        longitude\n    }\n    currentObservation {\n        ${a}\n    }\n    hourlyForecast {\n        temperature\n        iconCode\n        wxPhraseLong\n        precipChance\n        temperatureDewPoint\n        validTimeLocal\n        windDirectionCardinal\n        windSpeed\n    }\n    dailyForecast {\n        dayOfWeek\n        daypart {\n           ${a}\n        }\n        iconCode\n        index\n        moonPhase\n        moonriseTimeLocal\n        moonriseTimeUtc\n        moonsetTimeLocal\n        moonsetTimeUtc\n        precipChance\n        relativeHumidity\n        sunriseTimeLocal\n        sunriseTimeUtc\n        sunsetTimeLocal\n        sunsetTimeUtc\n        temperatureMax\n        temperatureMin\n        validTimeLocal\n        windDirectionCardinal\n        windSpeed\n        wxPhraseLong\n    }\n    productsUsed\n    currentObservationVersion\n`,l=`\n{\n  imperial {\n    ${s}\n  }\n  metric {\n    ${s}\n   }\n`.replace(/\s+/g," "),u="\n    location { city, adminDistrictCode latitude longitude }, currentObservation { iconCode, temperature } currentObservationVersion\n",c=`{\n  imperial { ${u} }\n  metric { ${u} }\n}`.replace(/\s+/g," ")},1888:function(e,t,r){"use strict";r.d(t,{_i:function(){return n._i}});var n=r(1032)},9704:function(e,t,r){"use strict";r.d(t,{HI:function(){return o},_i:function(){return a}});var n=r(7983),i=r.n(n);const o=(e,t)=>{if(!e)return null;const r=(e||"").toLowerCase().trim(),{grayConnect:n}=i()(r)||{};return t&&n?.products?.[t]||n?._id||r},a={closings:(e,t)=>{const r=t||o(e,"closings"),n=`closings_${r.toUpperCase()}.json`;return`https://s3.amazonaws.com/grayfilestore-${r.toLowerCase()}/closingsData/${n}`},electionsMenu:(e,t)=>{const r=t||o(e,"elections"),n=`${r.toUpperCase()}_Menu.json`;return`https://s3.amazonaws.com/grayfilestore-${r.toLowerCase()}/electionData/${n}`},electionsFeaturedResults:(e,t)=>{const r=t||o(e,"elections"),n=`${r.toUpperCase()}_Featured.json`;return`https://s3.amazonaws.com/grayfilestore-${r.toLowerCase()}/electionData/${n}`},electionResults:(e,t,r)=>{const n=r||o(e,"elections"),i=`${n.toUpperCase()}_${t}_Web.json`;return`https://s3.amazonaws.com/grayfilestore-${n.toLowerCase()}/electionData/${i}`},poll:(e,t)=>{const r=t||o(e,"poll"),n=`${r.toUpperCase()}_poll.json`;return`https://s3.amazonaws.com/grayfilestore-${r.toLowerCase()}/gpollData/${n}`},pollCastVote:()=>"https://di7kv6239m5xz.cloudfront.net/gPoll/post_poll_ajax_data.php",weatherAlerts:(e,t)=>`https://s3.amazonaws.com/arc-weather/${(t||o(e,"wx-alerts")).toLowerCase()}_arc.json`}},1032:function(e,t,r){"use strict";r.d(t,{w:function(){return f},iq:function(){return h},fk:function(){return c},_i:function(){return u},ak:function(){return d}});const n=["contentService","contentConfigValues","source","query"];function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const a={"author-services-author":{schema:"author-services",params:[{param:"id",regex:/^(?=.*\S).+$/,isRequired:!0}]},"author-services-content-author-feed":{schema:"author-services",params:[{param:"id",regex:/^(?=.*\S).+$/,isRequired:!0}]},"breaking-news-feature":{schema:"breaking-news",params:[{param:"id",regex:/^\s*\S+\s*$/,isExclusive:!0},{param:"website_url",regex:/^\//,isExclusive:!0}]},"breaking-news-feed":{schema:"breaking-news",params:[{param:"includeSections",regex:/^\//,isRequired:!0}]},"content-api":{schema:"content-api",params:[{param:"id",regex:/^\s*\S+\s*$/,isExclusive:!0},{param:"website_url",regex:/^\//,isExclusive:!0}]},"content-api-feature":{schema:"content-api",params:[{param:"id",regex:/^\s*\S+\s*$/,isExclusive:!0},{param:"website_url",regex:/^\//,isExclusive:!0}]},"content-api-from-feed":{schema:"content-api",params:[{param:"includeSections",regex:/^(\/|"\/)/,isRequired:!0}]},"collections-feed":{schema:"content-feed",params:[{param:"collectionAlias",regex:/^\s*\S+\s*$/,isExclusive:!0},{param:"collectionId",regex:/^\s*\S+\s*$/,isExclusive:!0}]},"content-author-feed":{schema:"content-feed",params:[{param:"id",regex:/^(?=.*\S).+$/}]},"content-feed":{schema:"content-feed",params:[{param:"includeSections",regex:/^(\/|"\/)/,isRequired:!0}]},"content-feed-by-ids":{schema:"content-feed",params:[{param:"ids",regex:/^\s*\S+\s*$/,isRequired:!0}]},"content-tags-feed":{schema:"content-feed",params:[{param:"tagSlug",regex:/^(?=.*\S).+$/,isRequired:!0}]},"related-content-feed":{schema:"content-feed",params:[{param:"id",regex:/^\s*\S+\s*$/,isRequired:!0}]},"signing-service":{schema:"signing-service",params:[{param:"id",regex:/^(?=.*\S).+$/,isRequired:!0}]},"site-navigation":{schema:"site-navigation",params:[{param:"section",regex:/^\//}]},"site-service":{schema:"site-service",params:[{param:"section",regex:/^\//,isRequired:!0}]}},s=({params:e,source:t,query:r})=>e.filter(({isExclusive:e,isRequired:t})=>!e&&t).reduce((e,{param:n})=>{const i=r?.[n];return i?e:[...e,{param:n,source:t,reason:"Required parameter is missing or empty."}]},[]),l=({params:e,source:t,query:r})=>{const n=[],i=e.filter(({isExclusive:e})=>e);if(!i.length)return n;return i.every(({param:e})=>!r?.[e])&&n.push({source:t,params:i.map(({param:e})=>e).join(", "),reason:"A value is required from one or more listed exclusive params."}),n};var u=(e,t=!1)=>{const r=e||{},{contentService:u,contentConfigValues:c,source:d,query:h}=r,f=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],-1===t.indexOf(r)&&{}.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(r,n),p=u||d,m=c||h,{isValid:g,failedValidations:b=[]}=((e,t)=>{const r={isValid:!0},n=a?.[(e||" ").trim().toLowerCase()];return n?(r.failedValidations=[...s({params:n.params,source:e,query:t}),...l({params:n.params,source:e,query:t})],Object.entries(t).forEach(([t,i])=>{const{regex:o}=n.params.find(e=>e.param===t)||{};i&&o&&!o.test(i)&&r.failedValidations.push({sourceName:e,param:t,value:i,reason:`Value failed regex validation. (${o.toString()})`})}),r.isValid=!r.failedValidations.length,r):r})(p,m);return t&&(({excludedSources:e=["signing-service"],failedValidations:t=[],contentConfig:r}={})=>{const n=t.filter(({source:t})=>!(e||[]).includes(t));n.length>0&&console.debug(`Failed UseContent Validations for:\n\t${JSON.stringify(r)}\n`,n)})({failedValidations:b,contentConfig:e}),g?function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?i(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({source:p,query:m},f):{}};r(8435);const c=(e="")=>(e||"").split(",").map(e=>{const t=e.replace(/["']/g,"").trim();return""===t?null:t}).filter(e=>null!==e),d=(e=[])=>e.map(e=>`"${e.replace(/["']/g,"").trim()}"`),h=(e="",t=!0)=>{const r=c(e).map(e=>{const t=e.toLowerCase().trim();return t.includes("gall")||t.includes("slide s")||t.includes("slides")?"gallery":t.includes("arti")||t.includes("stor")?"story":t.includes("clip")||t.includes("video")?"video":null}).filter(e=>null!==e);return 0===r.length?t?["gallery","story","video"]:[]:r},f=(e,t=!1)=>{if(!1===e)return!1;const r=e||!1;if(!r&&t)return null;return!!!("X"!==r&&"x"!==r&&"1"!==r&&"t"!==r&&"true"!==r&&!0!==r&&1!==r)}},3278:function(e,t,r){"use strict";r.d(t,{mu:function(){return D},kM:function(){return C},XQ:function(){return P},R9:function(){return k},YU:function(){return N}});var n=r(8755);const i=e=>{if(0!==e?.header?.code){const t=e?.header?.message||"Unknown error",r=(e?.header?.errors||[]).map(e=>`${e.code}: ${e.description}`).join(", ");throw new Error(`QuickPlay Auth Error: ${r?`${t} - ${r}`:t}`)}return e};var o=r(3993),a=r.n(o);const{QUICKPLAY_ENV:s,QUICKPLAY_PLAYBACK_CLIENT:l,QUICKPLAY_STAGE_PLAYBACK_SECRET:u,QUICKPLAY_PROD_PLAYBACK_SECRET:c}=a(),d="production"===s?"api.gray":"gray-stag";var h=(0,r(4410).A)("[QuickplayContent]","force-debug");const f=h.createLogger("api.playback.storage"),p="gdm-qp",m=["platform-access-token","qpat"],g=(e,t)=>{const r=(e,t)=>{const r=new Date(t);return`${e} on ${r.toLocaleDateString()} @ ${r.toLocaleTimeString()}`},n={expires_at:r("expires_at",t?.expires_at),api_expires_in:r("api_expires_in",Date.now()+1e3*t?.api_expires_in),requested_at:r("requested_at",t?.requested_at)};f.logCollapsedRaw(`${r(e,t?.expires_at)}\n\t${Object.entries(n).map(([,e])=>`${e}`).join("\n\t")}`,t)},b=e=>{try{const t=localStorage.getItem(`${p}-${e}`);return t&&t?JSON.parse(t):null}catch{return null}},y=e=>{f.groupCollapsed(`Purging ${e} From Storage`);const t=`${p}-${e}`,r=b(e);r?(g(e,r),localStorage.removeItem(t)):f.logCollapsedRaw(`No token found for ${t}`),f.groupEnd()},v=e=>{try{const t=b(e);return t?.expires_at&&t.expires_at<=Date.now()?(y(e),null):t}catch{return null}},w=(e,t)=>{try{localStorage.setItem(`gdm-qp-${e}`,JSON.stringify(t))}catch{}},x={platformAccessToken:v("platform-access-token"),qpat:v("qpat"),deviceSecret:null,deviceToken:null},M={platformAccessToken:null,qpat:null,deviceSecret:null,deviceToken:null},_=h.createLogger("api.playback.cache-utils"),O=(e,t,r,n)=>{_.groupCollapsed(`${e} - Requested new ${t} token:`),_.logCollapsedRaw(`New ${t} token response data:`,r),g(t,n),_.groupEnd()},j=()=>{x.platformAccessToken=null,x.qpat=null,x.deviceSecret=null,x.deviceToken=null,M.platformAccessToken=null,M.qpat=null,M.deviceSecret=null,M.deviceToken=null,f.groupCollapsed("Purging Tokens From Storage"),m.forEach(e=>{y(e)}),f.groupEnd()},S=e=>{const t=x[e];(!t||t.expires_at<=Date.now())&&(M[e]=null)},A=(e,t,r)=>{if(M[r]=null,(e=>401===e.response?.status||"ERR_NETWORK"===e.code)(e))throw j(),new Error(`${t} failed: 401 Unauthorized - ${e.response?.data?.message||"Invalid credentials"}`);throw e},P=async()=>{if(x.platformAccessToken?.expires_at>Date.now())return x.platformAccessToken;if(S("platformAccessToken"),M.platformAccessToken)return M.platformAccessToken;const e=(async()=>{try{const e=await n.A.get("/pf/api/v3/content/fetch/quickplay-platform-auth-iam?query={}");return x.platformAccessToken={access_token:e.data.access_token,expires_at:Date.now()+1e3*(e.data.expires_in-600),api_expires_in:e.data.expires_in,requested_at:Date.now()},O("getPlatformAccessToken","platform-access-token",e?.data,x.platformAccessToken),w("platform-access-token",x.platformAccessToken),M.platformAccessToken=null,x.platformAccessToken}catch(e){return M.platformAccessToken=null,A(e,"Platform access token","platformAccessToken"),null}})();return M.platformAccessToken=e,M.platformAccessToken},k=async(e,t)=>{if(x.qpat?.expires_at>Date.now())return x.qpat;if(S("qpat"),M.qpat)return M.qpat;const r=(async()=>{try{const r=await P(),o=await n.A.post(`https://auth-gw.${d}.quickplay.com/platform/access/token`,{deviceId:e},{headers:{"Content-Type":"application/json","X-Client-Id":t,Authorization:`Bearer ${r.access_token}`}}),a=i(o.data);return x.qpat={token:a.data.token,expires_at:Date.now()+1e3*(a.data.expires_in-600),api_expires_in:a.data.expires_in,requested_at:Date.now()},O("getQPAT","qpat",a,x.qpat),w("qpat",x.qpat),M.qpat=null,x.qpat}catch(e){return x.qpat=null,M.qpat=null,A(e,"QPAT","qpat"),null}})();return M.qpat=r,M.qpat};var T=r(720),E=r(2416);const C=async(e,t)=>{if(x.deviceToken?.expires_at>Date.now())return x.deviceToken;if(S("deviceToken"),M.deviceToken)return M.deviceToken;const r=(async()=>{try{const r=await(async(e,t)=>{if(x.deviceSecret)return x.deviceSecret;if(S("platformAccessToken"),S("qpat"),x.platformAccessToken&&x.qpat||(x.deviceSecret=null,M.deviceSecret=null),M.deviceSecret)return M.deviceSecret;const r=(async()=>{try{const[r,o]=await Promise.all([P(),k(e,t)]),a=await n.A.post(`https://device-register-service.${d}.quickplay.com/device/app/register`,{uniqueId:e},{headers:{Authorization:`Bearer ${r.access_token}`,"X-Authorization":o.token,"X-Client-Id":t}}),s=i(a.data);return x.deviceSecret=s.data.secret,M.deviceSecret=null,x.deviceSecret}catch(e){return M.deviceSecret=null,A(e,"Device registration","deviceSecret"),null}})();return M.deviceSecret=r,M.deviceSecret})(e,t),o=906e4,a=((e,t,r)=>{const n=Math.floor(Date.now()/1e3),i={deviceId:e,aud:"playback-auth-service",iat:n,exp:n+r},o=e=>E.Buffer.from(e).toString("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),a=`${o(JSON.stringify({alg:"HS256",typ:"JWT"}))}.${o(JSON.stringify(i))}`,s=E.Buffer.from(t,"base64");return`${a}.${(0,T.Gz)("sha256",s).update(a).digest("base64").replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"")}`})(e,r,o);return x.deviceToken={token:a,expires_at:Date.now()+1e3*o,api_expires_in:o,requested_at:Date.now()},M.deviceToken=null,x.deviceToken}catch(e){return M.deviceToken=null,A(e,"Device token","deviceToken"),null}})();return M.deviceToken=r,M.deviceToken},D=async(e,t)=>{const r=await n.A.post(`https://playback-auth-service.${d}.quickplay.com/media/content/authorize`,e,{headers:t});return i(r.data)},N=async(e,t)=>{const r=await n.A.post(`https://heartbeat-service.${d}.quickplay.com/user/heartbeat/update`,e,{headers:t});return i(r.data)}},6945:function(e,t,r){"use strict";r.d(t,{Tl:function(){return u},s8:function(){return d}});var n=r(8755),i=r(3993),o=r.n(i),a=r(7983),s=r.n(a);const l=`https://data-store-cdn.${"production"===o().QUICKPLAY_ENV?"api.graycms":"graycms-stag"}.quickplay.com`,u=n.A.create({baseURL:l,timeout:1e4});u.interceptors.request.use(e=>e);const c=e=>s()(e)?.quickplay?.prop||`gm|${e}|${e}`,d=(e={},t)=>({reg:"us",dt:"web",client:"gray-gm-web",prop:c(t)})},8435:function(e,t,r){"use strict";r.d(t,{AG:function(){return A},_r:function(){return S},Xl:function(){return m},wv:function(){return j}});var n=r(6945);var i=r(3993),o=r.n(i);const a=(e,t)=>{if(!e||!Array.isArray(e))return[];const r=`https://image-resizer-cloud${"production"===o().QUICKPLAY_ENV?"-cdn.api.graycms":"-cdn.graycms-stag"}.quickplay.com`;return e.filter(e=>e).map(e=>{const n=new URL(`/image/${t}/${e}.jpg`,r);n.searchParams.set("width","1920"),n.searchParams.set("t",Date.now());return{ratio:e.includes("-")?e.split("-")[1]:"16x9",width:1920,url:n.toString()}})};function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function l(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?s(Object(r),!0).forEach(function(t){u(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function u(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const c=({localizedArray:e,locale:t,fallbackValue:r})=>e&&(e.find(e=>e.lang===t)?.n||e.find(e=>e.lang===`${t}-US`)?.n||e.find(e=>"en"===e.lang)?.n||e.find(e=>"en-US"===e.lang)?.n)||r;function d(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?d(Object(r),!0).forEach(function(t){f(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):d(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function f(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const p=async(e={})=>{const{arcSite:t,hours:r=24,includeOriginalData:i=!1,dma:o="all",locale:s="en",channelIds:u=null}=e,d=new Date,f=new Date(d.getTime()+60*r*60*1e3),p=d.toISOString(),m=f.toISOString(),g=h(h({},(0,n.s8)({dma:o},t)),{},{start:p,end:m});u&&u.length>0&&(g.channel=u.join(","));const b=(e=>{const{header:t}=e||{};if(t&&0!==t.code){const e=t.errors?.map(e=>`${e.code}: ${e.description}`).join(", ")||"Unknown error",r=t.errors?.some(e=>e.description?.toLowerCase().includes("not found")),n=r?404:500,i=`QuickPlay API Error: ${t.message} (${e})`;throw Object.assign(new Error(i),{message:i,response:{status:n,statusText:t.message},status:n})}return e})((await n.Tl.get("/content/epglite",{params:g})).data).data||[];if(0===b.length)return{liveChannels:[]};const y=((e,{arcSite:t,includeOriginalData:r=!1,locale:n="en"}={})=>e.map(e=>{const{cid:i,airing:o}=e,a=o?.[0],s=a?.ch,u=new Date,d=o,h=d.find(e=>{const t=new Date(e.sc_st_dt),r=new Date(e.sc_ed_dt);return u>=t&&u<r}),f=d.find(e=>new Date(e.sc_st_dt)>u),p=l(l({id:i,contentType:"channel",title:c({localizedArray:e.lon,locale:n,fallbackValue:s?.cs}),description:c({localizedArray:e.lod,locale:n,fallbackValue:void 0})},t&&{arcSite:t}),{},{callSign:s?.cs,affiliate:s?.acs,images:s?.ia||[],genre:void 0,networkName:void 0,channelNumber:void 0,providerName:void 0,navigationUri:void 0,currentProgram:h?{id:h.pgm_id,title:c({localizedArray:h.pgm?.lon,locale:n,fallbackValue:h.pgm?.t}),startTime:h.sc_st_dt,endTime:h.sc_ed_dt}:null,nextProgram:f?{id:f.pgm_id,title:c({localizedArray:f.pgm?.lon,locale:n,fallbackValue:f.pgm?.t}),startTime:f.sc_st_dt,endTime:f.sc_ed_dt}:null,schedule:o?.map(e=>{const{id:t,pgm:i,sc_st_dt:o,sc_ed_dt:a,dur:s}=e,l={id:t,title:c({localizedArray:i?.lon,locale:n,fallbackValue:i?.t}),description:c({localizedArray:i?.lod,locale:n,fallbackValue:i?.d}),startTime:o,endTime:a,duration:s};return r&&(l.additional_resources={original:{airing:e}}),l})||[],dvrEnabled:s?.de,dvrDuration:s?.dd,rating:s?.rat?.[0]?.v});return r&&(p.additional_resources={original:{epgLite:e}}),p}))(b,{arcSite:t,includeOriginalData:i,locale:s}).map(e=>h(h({},e),{},{images:a(e.images,e.id)}));return{liveChannels:y,dataTransformedAt:(new Date).toISOString()}},m=async(e={})=>{const{arcSite:t,dma:r="all",hours:n=24,includeOriginalData:i=!1,locale:o="en",isClientSideRequest:a=!1}=e,s="true"===i||!0===i;try{const e=new Date,i=new Date(e.getTime()+60*n*60*1e3),l=e.toISOString(),u=i.toISOString(),{liveChannels:c=[],dataTransformedAt:d}=await p({start:l,end:u,query:{dma:r},arcSite:t,channelIds:null,isClientSideRequest:a,includeOriginalData:s,locale:o});return{liveChannels:c,dataTransformedAt:d||(new Date).toISOString()}}catch(e){throw console.error("Quickplay Live Channels service error:",e),e}};function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?g(Object(r),!0).forEach(function(t){y(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function y(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var v=r(3278),w=r(408);function x(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function M(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?x(Object(r),!0).forEach(function(t){_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):x(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function _(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const O=async(e,t={})=>{const{contentType:r="channel",deviceId:i="gray-openapi-device",arcSite:o}=t;if(!e)throw new Error("Content ID is required");if(!r)throw new Error("Content type is required");try{const{client:t,prop:a}=(0,n.s8)({},o),s=await(0,v.XQ)(),l=await(0,v.R9)(i,t),u=await(0,v.kM)(i,t),c="channel"===r?"live":"vod",d=(()=>{const{OptanonConsent:e,usprivacy:t}=(0,w.x)()||{},r=!e||e.indexOf("C0004:1")>-1?"0":"1";return M({"ads.ltd":r,"ads.npa":r,"ads.rdp":r},t?{"ads.usPrivacy":t}:null)})(),h="undefined"!=typeof window&&"localhost"!==window?.location?.hostname?window?.location?.href:null,f={deviceName:"web",deviceId:i,contentId:e,contentTypeId:c,catalogType:r,mediaFormat:"hls",drm:"none",delivery:"streaming",disableSsai:"false",urlParameters:M(M(M({},d),h?{"ads.url":h}:{}),{},{"ads.vpos":"midroll"})};"live"===c&&(f.playbackMode="live",f.quality="medium",f.supportedResolution="FHD");const p={Authorization:`Bearer ${s.access_token}`,"X-device-id":u.token,"X-Client-Id":t,"X-Authorization":l.token,"X-Property-Id":a};return(e=>{const{assetKey:t,custom:r}=e||{},{adParams:n={}}=r||{};if(!t||!n)return e;const i=new URL(`https://pubads.g.doubleclick.net/ssai/event/${encodeURIComponent(t)}/master.m3u8`),o=new Set(["an","idtype","is_lat","lat","msid","rdid"]);return Object.keys(n).filter(e=>!o.has(e)).sort().forEach(e=>{const t=n[e];null!=t&&i.searchParams.set(e,String(t))}),b(b({},e),{},{originalContentUrl:e.contentUrl,contentUrl:i.toString()})})((await(0,v.mu)(f,p)).data)}catch(e){throw console.error("Error in authorizeContent:",e),e}},j=async(e,t={})=>O(e,M(M({},t),{},{contentType:"channel"})),S=async(e,t={})=>O(e,M(M({},t),{},{contentType:"clip"})),A=async(e,t={})=>O(e,M(M({},t),{},{contentType:"asset"}));"undefined"!=typeof window&&(window.quickplay={fetchStreamUrl:j,fetchClipUrl:S,fetchAssetUrl:A,authorizeContent:O});r(9709)},9709:function(e,t,r){"use strict";r.d(t,{m:function(){return l}});var n=r(6945),i=r(3278);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const s=async e=>{const{arcSite:t,deviceId:r,heartbeatToken:s,itemId:l,offset:u,userId:c}=e;try{const{client:e,prop:d}=(0,n.s8)({},t),[h,f]=await Promise.all([(0,i.XQ)(),(0,i.R9)(r,e)]),p=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach(function(t){a(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({deviceId:r,itemId:l,offset:u},c&&{userId:c}),m={Authorization:`Bearer ${h.access_token}`,"Content-Type":"application/json","X-Client-Id":e,"X-Authorization":f.token,"X-Heartbeat":s,"X-Property-Id":d};return(await(0,i.YU)(p,m)).data}catch(e){throw console.error("Error in sendHeartbeat:",e),e}},l=e=>{const{arcSite:t,arcSiteOverride:r,getDeviceId:n,heartbeatToken:i,contentId:o,intervalMs:a=3e4,isLive:l=!0,powa:u,onUpdate:c,onError:d}=e;console.log("createHeartbeatManager",e);let h=null,f=i,p=0,m=!1;const g=async()=>{const e=l?p:u?.getStatus()?.time||0;l&&"playing"===u?.getStatus()?.state&&(p+=Math.floor(a/1e3));try{const i=await n(),a=await s({arcSite:r||t,deviceId:i,heartbeatToken:f,itemId:o,offset:Math.floor(e)});return a.heartbeatToken&&(f=a.heartbeatToken),c&&c(a,e),a}catch(t){throw console.error("Error in sendUpdate:",t),d&&d(t,e),t}};return{start(){console.log("createHeartbeatManager - start",h),m||(m=!0,h=setInterval(g,a),g().catch(()=>{}))},stop(){console.log("createHeartbeatManager - stop",h),h&&(clearInterval(h),h=null),m=!1},updateToken(e){f=e},sendNow(){return g()},getStatus(){const e=l?p:u?.getStatus()?.time||0;return{isActive:m,currentTime:e,currentToken:f,intervalMs:a,isLive:l,watchedTime:p}}}}},8481:function(e){function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var i=null!=arguments[r]?arguments[r]:{};r%2?t(Object(i),!0).forEach(function(t){n(e,t,i[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):t(Object(i)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(i,t))})}return e}function n(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}(()=>{"use strict";var t=[,(e,t,r)=>{r.r(t),r.d(t,{default:()=>i});const n={production:{domain:"mygrayid.com",identityPoolId:"us-east-1:5d9c8bdd-bdf6-4204-8033-93386aaaa978",userPoolClientId:"71ccg9h226tf7ls26i3akeh6n6",userPoolId:"us-east-1_CE0kLfK1H"},staging:{domain:"stage.mygrayid.com",identityPoolId:"us-east-1:37350c99-13dd-4fe6-8cfd-8b0066e7a2c8",userPoolClientId:"63mcmclqsa6q8tjucjlddadlr6",userPoolId:"us-east-1_DuShRkFqB"}},i=({env:e,relativeUrl:t=""})=>{var r;const{origin:i="http://localhost",pathname:o="",search:a=""}="undefined"!=typeof window&&(null===(r=window)||void 0===r?void 0:r.location)||{},s=(e=>{const t=new URL(e);return t.searchParams.delete("code"),t.searchParams.delete("state"),t.hash="",t.toString()})(`${i}${t&&t||`${o}${a}`}`),{domain:l,identityPoolId:u,userPoolClientId:c,userPoolId:d}=n[e];return{Auth:{Cognito:{userPoolId:d,userPoolClientId:c,identityPoolId:u,loginWith:{email:!0,oauth:{domain:l,scopes:["email","profile","openid","aws.cognito.signin.user.admin"],redirectSignIn:[s],redirectSignOut:[s],responseType:"code",providers:["Google","Amazon","Apple","Facebook"]}},signUpVerificationMethod:"code",allowGuestAccess:!1}}}}},(e,t,r)=>{r.r(t),r.d(t,{configureAmplify:()=>s,getConfig:()=>l});var n=r(1);const i=r(3).authModulesDebug.createLogger("configureAmplify");let o=null,a=!1;function s({env:e="production",relativeUrl:t=""}){if(!a){i(`[authModules.configureAmplify] configuring lightweight auth for ${"production"===e?"production":"staging"} environment.`),o=(0,n.default)({env:e,relativeUrl:t}),a=!0}}function l(){return o}},(e,t,r)=>{r.r(t),r.d(t,{authModulesDebug:()=>n});const n=(0,r(4).createDebugInstance)("[authModules]","debug-gdm-auth")},(e,t,r)=>{r.r(t),r.d(t,{createDebugInstance:()=>i,default:()=>o});var n=r(5);const i=(e,t="force-debug")=>({createLogger:(r="")=>((e,t)=>{const r=(...r)=>{t&&console.debug(e,...r)};return r.log=r,r.raw=(...e)=>{t&&console.debug(...e)},r.group=r=>{t&&console.group(`${e} ${r}`)},r.groupEnd=()=>{t&&console.groupEnd()},r.groupCollapsed=r=>{t&&console.groupCollapsed(`${e} ${r}`)},r.logCollapsed=(r,...n)=>{t&&(console.groupCollapsed(`${e} ${r}`),console.debug(...n),console.groupEnd())},r.logCollapsedRaw=(e,...r)=>{t&&(console.groupCollapsed(`${e}`),console.debug(...r),console.groupEnd())},r})(r?`${e}[${r}]`:e,(0,n.getPersistentBooleanParam)(t))}),o=i},(e,t,r)=>{r.r(t),r.d(t,{getForceAdPlaceholders:()=>o,getPersistentBooleanParam:()=>i});var n=r(6);function i(e){if("undefined"==typeof window)return!1;const t=e.toLowerCase().replace(/[-\s]/g,"_"),r=(0,n.getParameterByName)(e);return"true"===r?(localStorage.setItem(t,"true"),!0):"false"===r?(localStorage.removeItem(t),!1):"true"===localStorage.getItem(t)}function o(){return i("force-ad-placeholders")}},(e,t,r)=>{r.r(t),r.d(t,{getParameterByName:()=>i});var n=r(7);const i=(e,t)=>{if(!(0,n.isBrowser)())return null;const r=t||window.location.href;if(!r)return null;try{return new URLSearchParams(new URL(r).search).get(e)}catch{return null}}},(e,t,r)=>{r.r(t),r.d(t,{isBrowser:()=>n});const n=()=>"undefined"!=typeof window},(e,t,n)=>{n.r(t),n.d(t,{areTokensValid:()=>N,confirmUserAttribute:()=>
2S,deleteCachedSession:()=>b,getUserState:()=>M,initUserStore:()=>D,loadCachedSession:()=>y,loadGdmUser:()=>O,sendUserAttributeVerificationCode:()=>A,setHubDispatcher:()=>c,signInWithRedirect:()=>j,signOut:()=>E,signOutGlobal:()=>C,subscribe:()=>I,updateCachedSession:()=>x,updatePassword:()=>T,updateUserAttribute:()=>P,updateUserAttributes:()=>k});var i=n(2),o=n(3),a=n(9),s=n(10);const l=o.authModulesDebug.createLogger("userStore");let u=null;function c(e){u=e}function d(e){u&&u("auth",{event:e})}const h="gdm_cognito_session_cache",f=!("undefined"==typeof window);let p=[];let m={env:"production",user:(()=>{if(!f)return null;const e=localStorage.getItem(h);if(!e)return null;try{const t=JSON.parse(e);if(Date.now()<t.expiresAt)return t;localStorage.removeItem(h)}catch{}return null})(),isLoading:!0,isFetching:!1,error:null};function g(e,t={}){const r=f?window:null;if(!r)return;const n=new CustomEvent(`gdm-user-auth:${e}`,{detail:t});r.dispatchEvent(n),l(`Dispatched event: gdm-user-auth:${e}`,t)}function b(){l("deleteCachedSession() - Deleting saved storage data."),localStorage.removeItem(h)}function y(){const e=localStorage.getItem(h);if(!e)return null;try{const t=JSON.parse(e);return"true"===new URLSearchParams(window.location.search).get("force-token-expired")?(l("DEBUG: Forcing cached session expiration for testing"),null):Date.now()<t.expiresAt?(l("loadCachedSession() - Returning cached session data."),t):(b(),null)}catch(e){return l("loadCachedSession() ERROR:",e),null}}function v(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(e=>`%${e.charCodeAt(0).toString(16).padStart(2,"0")}`).join(""));return JSON.parse(r)}function w(e){var t;const r=["Facebook","Google","LoginWithAmazon","SignInWithApple"];return(null==e||null===(t=e.identities)||void 0===t?void 0:t.some(e=>("true"===e.primary||!0===e.primary)&&r.includes(e.providerType)))||!1}async function x(){try{var e;const t=(0,i.getConfig)(),n=(0,a.getStoredTokens)();if(null==n||!n.access_token)return null;const o=await(0,a.getValidAccessToken)(t),u=await(0,s.fetchUserAttributes)(o);l("updateCachedSession() - Updating cached session");const c=(0,a.getStoredTokens)(),d=v(c.id_token),f=v(c.access_token);l("idTokenPayload:",d),l("accessTokenPayload:",f);const p=r({_id:d.sub,idToken:c.id_token,accessToken:o,amuse_id:null==d?void 0:d.amuse_id,expiresAt:1e3*f.exp,isFederated:w(d),payload:r({sub:d.sub,email:d.email},d["cognito:groups"]&&{groups:d["cognito:groups"]})},null===(e=u.UserAttributes)||void 0===e?void 0:e.reduce((e,t)=>(e[t.Name]=t.Value,e),{}));return localStorage.setItem(h,JSON.stringify(p)),p}catch(e){return l("updateCachedSession() ERROR:",e),y()}}const M=()=>m;function _(e){m=r(r({},m),e),p.forEach(e=>e(m))}async function O({forceUpdate:e=!1}={}){var t;l("Starting user load, forceUpdate:",e);const n=performance.now(),i=y();l("Cached session:",{hasCached:!!i,cached:i});const o=!i||e;l("Needs update:",o),m.isLoading=!0,m.isFetching=o,m.error=null,_(r({},m)),l("loadGdmUser() - Loading user...",`forceUpdate: ${e}`);const a=o?await x():i,s=performance.now();l(`User load completed in ${s-n}ms:`,{hasUser:!!a,user:a}),l("User data loaded:",a),_({user:a,isLoading:!1,isFetching:!1}),e&&g("user-force-updated",null===(t=M())||void 0===t?void 0:t.user)}async function j(e={}){const t=(0,i.getConfig)();if(!t)throw new Error("Auth not configured. Call configureAmplify() first.");const{userPoolClientId:r}
2=t.Auth.Cognito,{domain:n,redirectSignIn:o,scopes:a}=t.Auth.Cognito.loginWith.oauth,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",l=Array.from({length:32},()=>s[Math.floor(62*Math.random())]).join(""),u=await function(){const e=new Uint8Array(32);crypto.getRandomValues(e);const t=btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)).then(e=>{const r=btoa(String.fromCharCode(...new Uint8Array(e))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return sessionStorage.setItem("pkce_code_verifier",t),r})}(),c={redirect_uri:o[0],response_type:"code",client_id:r,identity_provider:"COGNITO",scope:a.join("+"),state:l,code_challenge:u,code_challenge_method:"S256"},d=new URLSearchParams;Object.entries(c).forEach(([e,t])=>{d.set(e,t)}),e.site_id&&d.set("site_id",e.site_id);const h=`https://${n}/oauth2/authorize?${d.toString().replace(/scope=([^&]+)/g,(e,t)=>`scope=${decodeURIComponent(t).replace(/ /g,"+")}`)}`;window.location.href=h}async function S(e){const t=(0,i.getConfig)(),r=await(0,a.getValidAccessToken)(t);return l("confirmUserAttribute:",e),(0,s.confirmUserAttribute)(r,e.userAttributeKey,e.confirmationCode)}async function A(e){const t=(0,i.getConfig)(),r=await(0,a.getValidAccessToken)(t);return l("sendUserAttributeVerificationCode:",e),(0,s.sendUserAttributeVerificationCode)(r,e.userAttributeKey)}async function P(e){try{const{fetchAuthSession:t}=await Promise.resolve().then(()=>n(11)),r=(await t()).tokens.accessToken.toString();l("updateUserAttribute:",e);const i=e.userAttribute||e;return(0,s.updateUserAttribute)(r,i.attributeName||i.attributeKey,i.attributeValue||i.value)}catch(e){if(e.message.includes("Token expired and no refresh token available")||e.message.includes("Token refresh failed")||"NotAuthorizedException"===e.name)throw(0,a.clearTokens)(),b(),_({user:null,isLoading:!1,isFetching:!1}),d("signedOut"),new Error("Your session has expired. Please sign in again.",{cause:e});throw e}}async function k({userAttributes:e}={}){try{const{fetchAuthSession:t}=await Promise.resolve().then(()=>n(11)),r=(await t()).tokens.accessToken.toString(),i=Array.isArray(e)?e:Object.entries(e).map(([e,t])=>({Name:e,Value:t}));return l("updateUserAttributes:",i),(0,s.updateUserAttributes)(r,i)}catch(e){if(e.message.includes("Token expired and no refresh token available")||e.message.includes("Token refresh failed")||"NotAuthorizedException"===e.name)throw(0,a.clearTokens)(),b(),_({user:null,isLoading:!1,isFetching:!1}),d("signedOut"),new Error("Your session has expired. Please sign in again.",{cause:e});throw e}}async function T(e){const t=(0,i.getConfig)(),r=await(0,a.getValidAccessToken)(t);l("updatePassword:",e);try{return await(0,s.changePassword)(r,e.oldPassword,e.newPassword)}catch(e){if("NotAuthorizedException"===e.name)throw new Error("Current password is incorrect.",{cause:e});if("InvalidPasswordException"===e.name)throw new Error("New password does not meet requirements.",{cause:e});if("LimitExceededException"===e.name)throw new Error("Too many attempts. Please try again later.",{cause:e});throw e}}async function E(){var e;l("signOut():");const t=(0,a.getStoredTokens)();if(null!=t&&t.access_token)try{await(0,s.signOut)(t.access_token)}catch(e){l("Cognito signOut error (ignored):",e)}(0,a.clearTokens)(),b(),_({user:null,isLoading:!1,isFetching:!1}),d("signedOut"),g("signed-out",null===(e=M())||void 0===e?void 0:e.user)}async function C(){var e;l("signOut():");const t=(0,a.getStoredTokens)();if(null!=t&&t.access_token)try{await(0,s.signOutGlobal)(t.access_token)}catch(e){l("Cognito signOutGlobal error (ignored):",e)}(0,a.clearTokens)(),b(),_({user:null,isLoading:!1,isFetching:!1}),d("signedOut"),g("signed-out",null===(e=M())||void 0===e?void 0:e.user)}function D({env:e="production",relativeUrl:t=""}){if(!f)return;if(D._initialized)return;D._initialized=!0;const o=performance.now(),s=new URLSearchParams(window.location.search).get("code");_({env:e}),l("INIT USER STORE INITIALIZED!!!",{env:e,relativeUrl:t,hasOAuthCode:!!s}),l("Importing amplify config..."),Promise.resolve().then(()=>n(2)).then(({configureAmplify:n})=>{const u=performance.now();l("Configuring amplify..."),n({env:e,relativeUrl:t}),l(`Amplify configured in ${performance.now()-u}ms`),s?(l("Handling OAuth callback"),async function(e){const t=(0,i.getConfig)();if(!t)throw new Error("Auth not configured. Call configureAmplify() first.");const{userPoolClientId:n}
2=t.Auth.Cognito,{domain:o,redirectSignIn:s}=t.Auth.Cognito.loginWith.oauth;l(`Starting OAuth callback with code: ${null==e?void 0:e.substring(0,10)}...`),l("OAuth config:",{domain:o,userPoolClientId:n,redirectSignIn:s});try{var u;const t=sessionStorage.getItem("pkce_code_verifier");l("PKCE code verifier found:",!!t);const i={grant_type:"authorization_code",client_id:n,code:e,redirect_uri:s[0]};t&&(i.code_verifier=t,sessionStorage.removeItem("pkce_code_verifier"));const c=`https://${o}/oauth2/token`;l("Making token request to:",c),l("Token params:",r(r({},i),{},{code:`${null==e?void 0:e.substring(0,10)}...`}));const h=await fetch(c,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(i)});if(l("Token response status:",h.status,h.statusText),!h.ok){const e=await h.text();throw l("Token response error:",e),new Error(`Token request failed: ${h.status} ${e}`)}const f=await h.json();if(l("OAuth tokens received:",{has_access_token:!!f.access_token,has_id_token:!!f.id_token,has_refresh_token:!!f.refresh_token,error:f.error}),f.error)throw new Error(`OAuth error: ${f.error} - ${f.error_description}`);(0,a.storeTokens)(f),await O({forceUpdate:!0}),d("signInWithRedirect"),d("signedIn"),g("signed-in",null===(u=M())||void 0===u?void 0:u.user);const p=new URL(window.location);p.searchParams.delete("code"),p.searchParams.delete("state"),window.history.replaceState({},document.title,p.toString()),l("OAuth callback completed successfully")}catch(e){l("OAuth callback error:",e),_({isLoading:!1,isFetching:!1,error:e.message})}}(s)):(l("Loading user from cache/cognito"),O()),l(`Total initialization time: ${performance.now()-o}ms`)})}function N(){const e=(0,a.getStoredTokens)();if(l("Checking tokens:",{hasTokens:!!e,hasIdToken:!(null==e||!e.id_token)}),null==e||!e.id_token)return l("No ID token found"),!1;const t=!(0,a.isTokenExpired)(e.id_token);return l("Token validity:",t),t}function I(e){return p.push(e),e(m),()=>{p=p.filter(t=>t!==e)}}},(e,t,n)=>{n.r(t),n.d(t,{clearTokens:()=>h,getStoredTokens:()=>d,getValidAccessToken:()=>p,isTokenExpired:()=>u,refreshTokens:()=>f,setTokenHubDispatcher:()=>s,storeTokens:()=>c});const i=n(3).authModulesDebug.createLogger("tokenManager"),o="cognito_tokens";let a=null;function s(e){a=e}function l(e){a&&a("auth",{event:e})}function u(e){try{const t=function(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),r=decodeURIComponent(atob(t).split("").map(e=>`%${e.charCodeAt(0).toString(16).padStart(2,"0")}`).join(""));return JSON.parse(r)}(e),r=Math.floor(Date.now()/1e3);return t.exp<=r+30}catch{return!0}}function c(e){localStorage.setItem(o,JSON.stringify(r(r({},e),{},{stored_at:Date.now()})))}function d(){try{const e=localStorage.getItem(o);return e?JSON.parse(e):null}catch{return null}}function h(){localStorage.removeItem(o)}async function f(e,t){i("Refreshing tokens...");const{userPoolClientId:r}
2=t.Auth.Cognito,{domain:n}=t.Auth.Cognito.loginWith.oauth,o=await fetch(`https://${n}/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",client_id:r,refresh_token:e})});if(!o.ok){var a;let e;try{e=await o.json(),i("Token refresh failed:",o.status,e)}catch{i("Token refresh failed:",o.status,"Unable to parse error response")}throw l("tokenRefresh_failure"),"invalid_grant"===(null===(a=e)||void 0===a?void 0:a.error)&&h(),new Error(`Token refresh failed: ${o.status}`)}const s=await o.json();return i("New tokens received:",{has_access_token:!!s.access_token,has_id_token:!!s.id_token,has_refresh_token:!!s.refresh_token}),s.refresh_token||(s.refresh_token=e),c(s),i("Tokens refreshed successfully"),l("tokenRefresh"),s}async function p(e){const t=d();if(!t)throw new Error("No tokens stored");i("Checking token validity. Has refresh token:",!!t.refresh_token);const r=u(t.access_token),n=!!t.id_token&&u(t.id_token);if(!r&&!n)return i("Both access and ID tokens are still valid"),t.access_token;if(i(r?"Access token expired":"ID token expired","- attempting refresh"),t.refresh_token){return(await f(t.refresh_token,e)).access_token}throw i("No refresh token available for refresh"),new Error("Token expired and no refresh token available")}},(e,t,r)=>{r.r(t),r.d(t,{changePassword:()=>d,confirmUserAttribute:()=>c,exchangeCodeForTokens:()=>m,fetchUserAttributes:()=>a,sendUserAttributeVerificationCode:()=>u,signInWithRedirect:()=>p,signOut:()=>h,signOutGlobal:()=>f,updateUserAttribute:()=>s,updateUserAttributes:()=>l});const n=r(3).authModulesDebug.createLogger("cognitoClient"),i={userPool:"https://cognito-idp.us-east-1.amazonaws.com/",identity:"https://cognito-identity.us-east-1.amazonaws.com/"};async function o(e,t){const r={"Content-Type":"application/x-amz-json-1.1","X-Amz-Target":e},o=await fetch(i.userPool,{method:"POST",headers:r,body:JSON.stringify(t)});if(!o.ok){let e;try{e=await o.json(),n("Cognito error body:",e)}catch(e){throw n("Failed to parse error body:",e),new Error(`Cognito API error: ${o.status}`,{cause:e})}if(e.__type||e.message){const t=new Error(e.message||e.__type);throw n("errorBody error",t),t.name=e.__type,t}throw new Error(`Cognito API error: ${o.status}`)}const a=await o.json();if(a.__type||a.message){const e=new Error(a.message||a.__type);throw e.name=a.__type,e}return a}async function a(e){return o("AWSCognitoIdentityProviderService.GetUser",{AccessToken:e})}async function s(e,t,r){const i=await o("AWSCognitoIdentityProviderService.UpdateUserAttributes",{AccessToken:e,UserAttributes:[{Name:t,Value:r}]});if(n("Update user attribute response:",i),"email"===t&&i.CodeDeliveryDetailsList){const e=i.CodeDeliveryDetailsList[0];return{isUpdated:!1,nextStep:{updateAttributeStep:"CONFIRM_ATTRIBUTE_WITH_CODE",codeDeliveryDetails:{attributeName:e.AttributeName,deliveryMedium:e.DeliveryMedium,destination:e.Destination}}}}return i}async function l(e,t){return o("AWSCognitoIdentityProviderService.UpdateUserAttributes",{AccessToken:e,UserAttributes:t})}async function u(e,t){return o("AWSCognitoIdentityProviderService.GetUserAttributeVerificationCode",{AccessToken:e,AttributeName:t})}async function c(e,t,r){return o("AWSCognitoIdentityProviderService.VerifyUserAttribute",{AccessToken:e,AttributeName:t,Code:r})}async function d(e,t,r){return o("AWSCognitoIdentityProviderService.ChangePassword",{AccessToken:e,PreviousPassword:t,ProposedPassword:r})}async function h(e){return o("AWSCognitoIdentityProviderService.SignOut",{AccessToken:e})}async function f(e){return o("AWSCognitoIdentityProviderService.GlobalSignOut",{AccessToken:e})}async function p(e){const{domain:t,clientId:r,redirectUri:n,scopes:i=["openid","email","profile"]}=e,o=await async function(){const e=new Uint8Array(32);crypto.getRandomValues(e);const t=btoa(String.fromCharCode(...e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,""),r=await crypto.subtle.digest("SHA-256",(new TextEncoder).encode(t)),n=btoa(String.fromCharCode(...new Uint8Array(r))).replace(/\+/g,"-").replace(/\//g,"_").replace(/=/g,"");return sessionStorage.setItem("pkce_code_verifier",t),n}(),a=new URLSearchParams({response_type:"code",client_id:r,redirect_uri:n,scope:i.join(" "),state:Math.random().toString(36),code_challenge:o,c
2ode_challenge_method:"S256",identity_provider:"COGNITO"});window.location.href=`https://${t}/oauth2/authorize?${a}`}async function m(e,t){const{domain:r,clientId:n,redirectUri:i}=t,o=sessionStorage.getItem("pkce_code_verifier"),a={grant_type:"authorization_code",client_id:n,code:e,redirect_uri:i};o&&(a.code_verifier=o,sessionStorage.removeItem("pkce_code_verifier"));return(await fetch(`https://${r}/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams(a)})).json()}},(e,t,r)=>{r.r(t),r.d(t,{fetchAuthSession:()=>a,fetchUserAttributes:()=>s,getCurrentUser:()=>l});var n=r(9),i=r(2),o=r(10);async function a(){const e=(0,i.getConfig)(),t=await(0,n.getValidAccessToken)(e),r=(0,n.getStoredTokens)();if(!r)throw new Error("No auth session found");return{tokens:{accessToken:{toString:()=>t,payload:JSON.parse(atob(t.split(".")[1]))},idToken:r.id_token?{toString:()=>r.id_token,payload:JSON.parse(atob(r.id_token.split(".")[1]))}:null},userSub:JSON.parse(atob(t.split(".")[1])).sub}}async function s(){var e;const t=(0,n.getStoredTokens)();if(null==t||!t.access_token)throw new Error("No access token available");return(null===(e=(await(0,o.fetchUserAttributes)(t.access_token)).UserAttributes)||void 0===e?void 0:e.reduce((e,t)=>(e[t.Name]=t.Value,e),{}))||{}}async function l(){const e=await a(),t=await s();return{userId:e.userSub,username:t.email||t.preferred_username,attributes:t}}}];const n={};function i(e){const r=n[e];if(void 0!==r)return r.exports;const o=n[e]={exports:{}};return t[e](o,o.exports,i),o.exports}i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};let o={};(()=>{i.r(o),i.d(o,{Hub:()=>u,areTokensValid:()=>r.areTokensValid,awsExport:()=>e.default,configureAmplify:()=>t.configureAmplify,confirmUserAttribute:()=>r.confirmUserAttribute,fetchAuthSession:()=>a.fetchAuthSession,fetchUserAttributes:()=>a.fetchUserAttributes,getCurrentUser:()=>a.getCurrentUser,getUserState:()=>r.getUserState,initUserStore:()=>r.initUserStore,loadGdmUser:()=>r.loadGdmUser,sendUserAttributeVerificationCode:()=>r.sendUserAttributeVerificationCode,signInWithRedirect:()=>r.signInWithRedirect,signOut:()=>r.signOut,subscribe:()=>r.subscribe,updatePassword:()=>r.updatePassword,updateUserAttribute:()=>r.updateUserAttribute,updateUserAttributes:()=>r.updateUserAttributes});var e=i(1),t=i(2),r=i(8),n=i(9),a=i(11);const s=[];function l(e,t){"auth"===e&&s.forEach(e=>e({payload:t}))}const u={listen:(e,t)=>{"auth"===e&&s.push(t)},dispatch:l};(0,r.setHubDispatcher)(l),(0,n.setTokenHubDispatcher)(l)})(),e.exports=o})()},3054:function(e,t){"use strict";t.A={crossword:{bgColor:"#00e2f2",imgSrc:"crossword_1.svg",isDefault:!0,priority:1,tagline:"Crack clever clues and fill the grid—daily brain fun.",title:"Crossword",url:"/games/puzzles/crossword/"},sudoku:{bgColor:"#3bf4ab",imgSrc:"sudoku_1.svg",priority:2,tagline:"Sharpen logic fast with satisfying number placements.",title:"Sudoku",url:"/games/puzzles/sudoku/"},"sudoku-easy":{bgColor:"#3bf4ab",imgSrc:"sudoku_1.svg",priority:3,tagline:"Relaxing starters: quick wins, gentle logic, pure satisfaction.",title:"Sudoku (Easy)",url:"/games/puzzles/sudoku-easy/"},"sudoku-hard":{bgColor:"#fbc746",imgSrc:"sudoku_2.svg",priority:4,tagline:"Push your limits with tough grids and deep logic.",title:"Sudoku (Hard)",url:"/games/puzzles/sudoku-hard/"},"word-flower":{bgColor:"#fbc746",imgSrc:"word_flower_1.svg",priority:5,tagline:"Bloom new words from letters—find the hidden bonus.",title:"Word Flower",url:"/games/puzzles/word-flower/"},"word-search":{bgColor:"#fbc746",imgSrc:"word_search_1.svg",priority:6,tagline:"Spot words fast—scan, find, and feel the rush.",title:"Word Search",url:"/games/puzzles/word-search/"},wordrow:{bgColor:"#00e2f2",imgSrc:"wordrow_1.svg",priority:7,tagline:"Slide letters into place and uncover the perfect word.",title:"WordroW",url:"/games/puzzles/wordrow/"}}},4760:function(e,t,r){"use strict";r.d(t,{d:function(){return i}});const n=(e,t)=>{if(!t)return"";if("section"===t?.type)return t?._admin?.dfp_id??t?._id??"";const r=t?.websites?.[e]?.website_section;return r?.additional_properties?.original?._admin?.dfp_id??r?._id??r?.referent?.id??""},i=(e,t,{globalContent:r}={})=>n(e,t)||n(e,r)},6808:function(e,t,r){"use strict";r.d(t,{f:function(){return n}});const n=(e={})=>{const t=(e?.taxonomy?.tags||[]).map(({slug:e,text:t}={})=>e&&""!==e?e:t&&""!==t?t.toLowerCase().trim().replace(/\s+/g,"-").replace(/-+/g,"-"):null).filter(e=>e);return t&&0!==t.length?{tags:t.join(","),ctags:t.map(e=>`#${e}#`).join(",")}:{}}},1153:function(e,t,r){"use strict";r.d(t,{a:function(){return l}});var n=r(408),i=r(6808);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?o(Object(r),!0).forEach(function(t){s(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function s(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}const l=({arcSite:e,adPath:t,isMuted:r=!1,playerAutoPlayStatus:o,playerShouldAutoPlay:s,videoData:l={}})=>{const u=t=>{const r=e=>/^(https?:)?\/\//i.test(e),n=(e,t)=>r(t)?t:`${(t&&!r(t)&&e||"").replace(/\/$/,"")}${t||""}`,i=n(window?.Fusion?.getProperties(e)?.websiteDomain,l?.websites?.[e]?.website_url);if(r(i))return i;const o=n(window?.Fusion?.getProperties(l?.canonical_website)?.websiteDomain,l?.canonical_url);return r(o)?o:t||null};if(!t)return null;const c=window?.location?.href,d=(()=>{if(!1===s)return"click";switch((o?.status||"").toLowerCase()){case"disabled":case"autoplayblocked":return"click";case"autoplay":return"auto";default:return null}})(),h=(0,i.f)(l),f=Object.entries(h).map(([e,t])=>`${e}=${t}`).join("&"),{usprivacy:p}=(0,n.x)(),m=a(a(a({sz:"640x480",iu:t,gdfp_req:"1",env:"vp",output:"xml_vast3",unviewed_position_start:"1",url:c||u(c),description_url:u(c),impl:"s",ad_rule:0,vpos:"preroll",plcmt:1},d?{vpa:d}:{}),{},{vpmute:r?1:0,correlator:(new Date).getTime()},p?{us_privacy:p}:{}),f?{cust_params:f}:{});return`https://pubads.g.doubleclick.net/gampad/ads?${Object.entries(m).map(([e,t])=>`${e}=${"iu"===e?t:encodeURIComponent(t)}`).join("&")}`}},2909:function(e,t,r){"use strict";r.d(t,{P:function(){return i}});var n=r(1153);const i=({arcSite:e,player:t,backupAdPath:r})=>{if(!t)return(0,n.a)({arcSite:e,adPath:r||null});const i=t.getElement(),o=i.getAttribute("data-preroll-ad-path")||"",a="true"===i.getAttribute("data-autoplay"),{autoplay:s,autoplayStatus:l,muted:u}=t.getStatus(),c=t?.getVideoData()||{};return(0,n.a)({adPath:o,arcSite:e,videoData:c,playerShouldAutoPlay:a,playerAutoPlayStatus:{isEnabled:s,status:l},isMuted:u})||""}},4410:function(e,t,r){"use strict";r.d(t,{n:function(){return i}});var n=r(6182);const i=(e,t="force-debug")=>({createLogger:(r="")=>((e,t)=>{const r=(...r)=>{t&&console.debug(e,...r)};return r.log=r,r.raw=(...e)=>{t&&console.debug(...e)},r.group=r=>{t&&console.group(`${e} ${r}`)},r.groupEnd=()=>{t&&console.groupEnd()},r.groupCollapsed=r=>{t&&console.groupCollapsed(`${e} ${r}`)},r.logCollapsed=(r,...n)=>{t&&(console.groupCollapsed(`${e} ${r}`),console.debug(...n),console.groupEnd())},r.logCollapsedRaw=(e,...r)=>{t&&(console.groupCollapsed(`${e}`),console.debug(...r),console.groupEnd())},r})(r?`${e}[${r}]`:e,(0,n.t)(t))});t.A=i},3324:function(e,t,r){"use strict";r.d(t,{E:function(){return i}});var n=r(5511);const i=(e,t)=>{if(!(0,n.B)())return null;const r=t||window.location.href;if(!r)return null;try{return new URLSearchParams(new URL(r).search).get(e)}catch{return null}}},5511:function(e,t,r){"use strict";r.d(t,{B:function(){return n}});const n=()=>"undefined"!=typeof window},408:function(e,t,r){"use strict";r.d(t,{x:function(){return i}});var n=r(5511);const i=()=>Object.fromEntries(((0,n.B)()&&document?.cookie||"").split("; ").filter(e=>e).map(e=>e.split(/=(.*)/s).map(decodeURIComponent)))},6182:function(e,t,r){"use strict";r.d(t,{N:function(){return o},t:function(){return i}});var n=r(3324);function i(e){if("undefined"==typeof window)return!1;const t=e.toLowerCase().replace(/[-\s]/g,"_"),r=(0,n.E)(e);return"true"===r?(localStorage.setItem(t,"true"),!0):"false"===r?(localStorage.removeItem(t),!1):"true"===localStorage.getItem(t)}function o(){return i("force-ad-placeholders")}},7170:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
2t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.HOCWrapper=void 0;const a=r(809),s=e=>e.displayName||e.name||"Component";t.HOCWrapper=e=>(t,...r)=>{if(t instanceof Function){const r=t,n=t=>a.createElement(e,i(i({},t),{},{children:r}));for(const e in r)n[e]=r[e];return n.displayName=`Fusion${s(e)}(${s(r)})`,n.propTypes=i(i({},r.propTypes||{}),e.propTypes||{}),n}{const n=t;return a.createElement(e,i(i({},n),{},{children:n.render||n.children||r}))}}},3174:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}Object.defineProperty(t,"__esModule",{value:!0});const a=r(5349),s=r(809),{lazy:l,Suspense:u,PureComponent:c}=s,d=r(698),{isStatic:h}=r(6626);class f extends c{constructor(e){super(e),this.state={error:null}}componentDidCatch(e,t){console.error(e,t),this.setState({error:e})}render(){return this.state.error?this.props.fallback:this.props.children}}e.exports=(e,t,r)=>{if(r)return e=>{const t=l(r),n=(0,a.jsx)("div",{dangerouslySetInnerHTML:{__html:Fusion.lazyElements[e.id]||""}});return(0,a.jsx)(f,{fallback:n,children:(0,a.jsx)(u,{fallback:n,children:(0,a.jsx)(t,i({},e))})})};if(!e||!d(e,t)||h(e,t))return e;const n=t=>(0,a.jsx)("div",{"data-fusion-lazy-id":t.id,children:(0,a.jsx)(e,i({},t))});for(const t in e)n[t]=e[t];return n}},6502:function(e,t,r){"use strict";const n=r(9894),i=r(809),o=({id:e,persistent:t,type:r})=>i.createElement("div",{id:`${o.prefix}:${e}`,style:{display:"none"},"data-fusion-component":e,"data-persistent-entry":t});o.prefix="fusion-static-enter";class a extends i.PureComponent{render(){return i.createElement("div",{id:`${a.prefix}:${this.props.id}`,style:{display:"none"},ref:this.props.setRef,"data-fusion-component":this.props.id,"data-persistent-exit":this.props.persistent})}}a.prefix="fusion-static-exit";class s extends i.PureComponent{constructor(e){super(e),this.childArray="undefined"==typeof window?[].concat(e.children||[]):[],this.setExitElement=this.setExitElement.bind(this)}componentDidMount(){if(this.exitElement){const e=Fusion.staticElements[this.props.id];if(e&&e.length){const t=this.exitElement.parentElement;e.forEach(e=>{const r=this.props.htmlOnly?e.cloneNode(!0):e;t.insertBefore(r,this.exitElement)})}}}setExitElement(e){this.exitElement=e}render(){return Fusion.isAdmin?this.props?i.createElement(i.Fragment,{},[].concat(this.props.children||[])):null:i.createElement(i.Fragment,{},[i.createElement(o,{id:this.props.id,key:o.prefix,persistent:this.props.persistent}),...this.childArray,i.createElement(a,{id:this.props.id,key:a.prefix,setRef:this.setExitElement,persistent:this.props.persistent})])}}s.propTypes={id:n.string.isRequired};const{HOCWrapper:l}=r(7170);e.exports=l(s),e.exports.EntryComponent=o,e.exports.ExitComponent=a},698:function(e){"use strict";e.exports=(e,t)=>!0===e.lazy||e.lazy instanceof Array&&e.lazy.includes(t)},6626:function(e,t,r){"use strict";t.isStatic=void 0;const n=r(2117);t.isStatic=(e,t)=>{const{static:r}=e;return(0,n.isArray)(r)&&(0,n.isString)(t)?r.includes(t):!0===r}},2117:function(e,t){"use strict";t.Gv=t.isArray=t.isString=void 0;t.isString=e=>"string"==typeof e;t.isArray=e=>Array.isArray(e);t.Gv=e=>"object"==typeof e&&null!==e&&!Array.isArray(e)},8605:function(e,t){"use strict";t.Y=(e,...t)=>setTimeout(e,0,...t)},8275:function(e,t,r){var n=t;n.bignum=r(7601),n.define=r(5760).define,n.base=r(236),n.constants=r(2618),n.decoders=r(6424),n.encoders=r(7328)},5760:function(e,t,r){var n=r(8275),i=r(967);function o(e,t){this.name=e,this.body=t,this.decoders={},this.encoders={}}t.define=function(e,t){return new o(e,t)},o.prototype._createNamed=function(e){var t;try{t=r(3740).runInThisContext("(function "+this.name+"(entity) {\n  this._initNamed(entity);\n})")}catch(e){t=function(e){this._initNamed(e)}}return i(t,e),t.prototype._initNamed=function(t){e.call(this,t)},new t(this)},o.prototype._getDecoder=function(e){return e=e||"der",this.decoders.hasOwnProperty(e)||(this.decoders[e]=this._createNamed(n.decoders[e])),this.decoders[e]},o.prototype.decode=function(e,t,r){return this._getDecoder(t).decode(e,r)},o.prototype._getEncoder=function(e){return e=e||"der",this.encoders.hasOwnProperty(e)||(this.encoders[e]=this._createNamed(n.encoders[e])),this.encoders[e]},o.prototype.encode=function(e,t,r){return this._getEncoder(t).encode(e,r)}},5372:function(e,t,r){var n=r(967),i=r(236).Reporter,o=r(2416).Buffer;function a(e,t){i.call(this,t),o.isBuffer(e)?(this.base=e,this.offset=0,this.length=e.length):this.error("Input not Buffer")}function s(e,t){if(Array.isArray(e))this.length=0,this.value=e.map(function(e){return e instanceof s||(e=new s(e,t)),this.length+=e.length,e},this);else if("number"==typeof e){if(!(0<=e&&e<=255))return t.error("non-byte EncoderBuffer value");this.value=e,this.length=1}else if("string"==typeof e)this.value=e,this.length=o.byteLength(e);else{if(!o.isBuffer(e))return t.error("Unsupported type: "+typeof e);this.value=e,this.length=e.length}}n(a,i),t.t=a,a.prototype.save=function(){return{offset:this.offset,reporter:i.prototype.save.call(this)}},a.prototype.restore=function(e){var t=new a(this.base);return t.offset=e.offset,t.length=this.offset,this.offset=e.offset,i.prototype.restore.call(this,e.reporter),t},a.prototype.isEmpty=function(){return this.offset===this.length},a.prototype.readUInt8=function(e){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(e||"DecoderBuffer overrun")},a.prototype.skip=function(e,t){if(!(this.offset+e<=this.length))return this.error(t||"DecoderBuffer overrun");var r=new a(this.base);return r._reporterState=this._reporterState,r.offset=this.offset,r.length=this.offset+e,this.offset+=e,r},a.prototype.raw=function(e){return this.base.slice(e?e.offset:this.offset,this.length)},t.d=s,s.prototype.join=function(e,t){return e||(e=new o(this.length)),t||(t=0),0===this.length||(Array.isArray(this.value)?this.value.forEach(function(r){r.join(e,t),t+=r.length}):("number"==typeof this.value?e[t]=this.value:"string"==typeof this.value?e.write(this.value,t):o.isBuffer(this.value)&&this.value.copy(e,t),t+=this.length)),e}},236:function(e,t,r){var n=t;n.Reporter=r(1619).a,n.DecoderBuffer=r(5372).t,n.EncoderBuffer=r(5372).d,n.Node=r(170)},170:function(e,t,r){var n=r(236).Reporter,i=r(236).EncoderBuffer,o=r(236).DecoderBuffer,a=r(6976),s=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],l=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(s);function u(e,t){var r={};this._baseState=r,r.enc=e,r.parent=t||null,r.children=null,r.tag=null,r.args=null,r.reverseArgs=null,r.choice=null,r.optional=!1,r.any=!1,r.obj=!1,r.use=null,r.useDecoder=null,r.key=null,r.default=null,r.explicit=null,r.implicit=null,r.contains=null,r.parent||(r.children=[],this._wrap())}
vendor: 65,363 bytes, line 2
2e.exports=u;var c=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];u.prototype.clone=function(){var e=this._baseState,t={};c.forEach(function(r){t[r]=e[r]});var r=new this.constructor(t.parent);return r._baseState=t,r},u.prototype._wrap=function(){var e=this._baseState;l.forEach(function(t){this[t]=function(){var r=new this.constructor(this);return e.children.push(r),r[t].apply(r,arguments)}},this)},u.prototype._init=function(e){var t=this._baseState;a(null===t.parent),e.call(this),t.children=t.children.filter(function(e){return e._baseState.parent===this},this),a.equal(t.children.length,1,"Root node can have only one child")},u.prototype._useArgs=function(e){var t=this._baseState,r=e.filter(function(e){return e instanceof this.constructor},this);e=e.filter(function(e){return!(e instanceof this.constructor)},this),0!==r.length&&(a(null===t.children),t.children=r,r.forEach(function(e){e._baseState.parent=this},this)),0!==e.length&&(a(null===t.args),t.args=e,t.reverseArgs=e.map(function(e){if("object"!=typeof e||e.constructor!==Object)return e;var t={};return Object.keys(e).forEach(function(r){r==(0|r)&&(r|=0);var n=e[r];t[n]=r}),t}))},["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"].forEach(function(e){u.prototype[e]=function(){var t=this._baseState;throw new Error(e+" not implemented for encoding: "+t.enc)}}),s.forEach(function(e){u.prototype[e]=function(){var t=this._baseState,r=Array.prototype.slice.call(arguments);return a(null===t.tag),t.tag=e,this._useArgs(r),this}}),u.prototype.use=function(e){a(e);var t=this._baseState;return a(null===t.use),t.use=e,this},u.prototype.optional=function(){return this._baseState.optional=!0,this},u.prototype.def=function(e){var t=this._baseState;return a(null===t.default),t.default=e,t.optional=!0,this},u.prototype.explicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.explicit=e,this},u.prototype.implicit=function(e){var t=this._baseState;return a(null===t.explicit&&null===t.implicit),t.implicit=e,this},u.prototype.obj=function(){var e=this._baseState,t=Array.prototype.slice.call(arguments);return e.obj=!0,0!==t.length&&this._useArgs(t),this},u.prototype.key=function(e){var t=this._baseState;return a(null===t.key),t.key=e,this},u.prototype.any=function(){return this._baseState.any=!0,this},u.prototype.choice=function(e){var t=this._baseState;return a(null===t.choice),t.choice=e,this._useArgs(Object.keys(e).map(function(t){return e[t]})),this},u.prototype.contains=function(e){var t=this._baseState;return a(null===t.use),t.contains=e,this},u.prototype._decode=function(e,t){var r=this._baseState;if(null===r.parent)return e.wrapResult(r.children[0]._decode(e,t));var n,i=r.default,a=!0,s=null;if(null!==r.key&&(s=e.enterKey(r.key)),r.optional){var l=null;if(null!==r.explicit?l=r.explicit:null!==r.implicit?l=r.implicit:null!==r.tag&&(l=r.tag),null!==l||r.any){if(a=this._peekTag(e,l,r.any),e.isError(a))return a}else{var u=e.save();try{null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t),a=!0}catch(e){a=!1}e.restore(u)}}if(r.obj&&a&&(n=e.enterObject()),a){if(null!==r.explicit){var c=this._decodeTag(e,r.explicit);if(e.isError(c))return c;e=c}var d=e.offset;if(null===r.use&&null===r.choice){if(r.any)u=e.save();var h=this._decodeTag(e,null!==r.implicit?r.implicit:r.tag,r.any);if(e.isError(h))return h;r.any?i=e.raw(u):e=h}if(t&&t.track&&null!==r.tag&&t.track(e.path(),d,e.length,"tagged"),t&&t.track&&null!==r.tag&&t.track(e.path(),e.offset,e.length,"content"),r.any||(i=null===r.choice?this._decodeGeneric(r.tag,e,t):this._decodeChoice(e,t)),e.isError(i))return i;if(r.any||null!==r.choice||null===r.children||r.children.forEach(function(r){r._decode(e,t)}),r.contains&&("octstr"===r.tag||"bitstr"===r.tag)){var f=new o(i);i=this._getUse(r.contains,e._reporterState.obj)._decode(f,t)}}return r.obj&&a&&(i=e.leaveObject(n)),null===r.key||null===i&&!0!==a?null!==s&&e.exitKey(s):e.leaveKey(s,r.key,i),i},u.prototype._decodeGeneric=function(e,t,r){var n=this._baseState;return"seq"===e||"set"===e?null:"seqof"===e||"setof"===e?this._decodeList(t,e,n.args[0],r):/str$/.test(e)?this._decodeStr(t,e,r):"objid"===e&&n.args?this._decodeObjid(t,n.args[0],n.args[1],r):"objid"===e?this._decodeObjid(t,null,null,r):"gentime"===e||"utctime"===e?this._decodeTime(t,e,r):"null_"===e?this._decodeNull(t,r):"bool"===e?this._decodeBool(t,r):"objDesc"===e?this._decodeStr(t,e,r):"int"===e||"enum"===e?this._decodeInt(t,n.args&&n.args[0],r):null!==n.use?this._getUse(n.use,t._reporterState.obj)._decode(t,r):t.error("unknown tag: "+e)},u.prototype._getUse=function(e,t){var r=this._baseState;return r.useDecoder=this._use(e,t),a(null===r.useDecoder._baseState.parent),r.useDecoder=r.useDecoder._baseState.children[0],r.implicit!==r.useDecoder._baseState.implicit&&(r.useDecoder=r.useDecoder.clone(),r.useDecoder._baseState.implicit=r.implicit),r.useDecoder},u.prototype._decodeChoice=function(e,t){var r=this._baseState,n=null,i=!1;return Object.keys(r.choice).some(function(o){var a=e.save(),s=r.choice[o];try{var l=s._decode(e,t);if(e.isError(l))return!1;n={type:o,value:l},i=!0}catch(t){return e.restore(a),!1}return!0},this),i?n:e.error("Choice not matched")},u.prototype._createEncoderBuffer=function(e){return new i(e,this.reporter)},u.prototype._encode=function(e,t,r){var n=this._baseState;if(null===n.default||n.default!==e){var i=this._encodeValue(e,t,r);if(void 0!==i&&!this._skipDefault(i,t,r))return i}},u.prototype._encodeValue=function(e,t,r){var i=this._baseState;if(null===i.parent)return i.children[0]._encode(e,t||new n);var o=null;if(this.reporter=t,i.optional&&void 0===e){if(null===i.default)return;e=i.default}var a=null,s=!1;if(i.any)o=this._createEncoderBuffer(e);else if(i.choice)o=this._encodeChoice(e,t);else if(i.contains)a=this._getUse(i.contains,r)._encode(e,t),s=!0;else if(i.children)a=i.children.map(function(r){if("null_"===r._baseState.tag)return r._encode(null,t,e);if(null===r._baseState.key)return t.error("Child should have a key");var n=t.enterKey(r._baseState.key);if("object"!=typeof e)return t.error("Child expected, but input is not object");var i=r._encode(e[r._baseState.key],t,e);return t.leaveKey(n),i},this).filter(function(e){return e}),a=this._createEncoderBuffer(a);else if("seqof"===i.tag||"setof"===i.tag){if(!i.args||1!==i.args.length)return t.error("Too many args for : "+i.tag);if(!Array.isArray(e))return t.error("seqof/setof, but data is not Array");var l=this.clone();l._baseState.implicit=null,a=this._createEncoderBuffer(e.map(function(r){var n=this._baseState;return this._getUse(n.args[0],e)._encode(r,t)},l))}else null!==i.use?o=this._getUse(i.use,r)._encode(e,t):(a=this._encodePrimitive(i.tag,e),s=!0);if(!i.any&&null===i.choice){var u=null!==i.implicit?i.implicit:i.tag,c=null===i.implicit?"universal":"context";null===u?null===i.use&&t.error("Tag could be omitted only for .use()"):null===i.use&&(o=this._encodeComposite(u,s,c,a))}return null!==i.explicit&&(o=this._encodeComposite(i.explicit,!1,"context",o)),o},u.prototype._encodeChoice=function(e,t){var r=this._baseState,n=r.choice[e.type];return n||a(!1,e.type+" not found in "+JSON.stringify(Object.keys(r.choice))),n._encode(e.value,t)},u.prototype._encodePrimitive=function(e,t){var r=this._baseState;if(/str$/.test(e))return this._encodeStr(t,e);if("objid"===e&&r.args)return this._encodeObjid(t,r.reverseArgs[0],r.args[1]);if("objid"===e)return this._encodeObjid(t,null,null);if("gentime"===e||"utctime"===e)return this._encodeTime(t,e);if("null_"===e)return this._encodeNull();if("int"===e||"enum"===e)return this._encodeInt(t,r.args&&r.reverseArgs[0]);if("bool"===e)return this._encodeBool(t);if("objDesc"===e)return this._encodeStr(t,e);throw new Error("Unsupported tag: "+e)},u.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},u.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)}},1619:function(e,t,r){var n=r(967);function i(e){this._reporterState={obj:null,path:[],options:e||{},errors:[]}}function o(e,t){this.path=e,this.rethrow(t)}t.a=i,i.prototype.isError=function(e){return e instanceof o},i.prototype.save=function(){var e=this._reporterState;return{obj:e.obj,pathLen:e.path.length}},i.prototype.restore=function(e){var t=this._reporterState;t.obj=e.obj,t.path=t.path.slice(0,e.pathLen)},i.prototype.enterKey=function(e){return this._reporterState.path.push(e)},i.prototype.exitKey=function(e){var t=this._reporterState;t.path=t.path.slice(0,e-1)},i.prototype.leaveKey=function(e,t,r){var n=this._reporterState;this.exitKey(e),null!==n.obj&&(n.obj[t]=r)},i.prototype.path=function(){return this._reporterState.path.join("/")},i.prototype.enterObject=function(){var e=this._reporterState,t=e.obj;return e.obj={},t},i.prototype.leaveObject=function(e){var t=this._reporterState,r=t.obj;return t.obj=e,r},i.prototype.error=function(e){var t,r=this._reporterState,n=e instanceof o;if(t=n?e:new o(r.path.map(function(e){return"["+JSON.stringify(e)+"]"}).join(""),e.message||e,e.stack),!r.options.partial)throw t;return n||r.errors.push(t),t},i.prototype.wrapResult=function(e){var t=this._reporterState;return t.options.partial?{result:this.isError(e)?null:e,errors:t.errors}:e},n(o,Error),o.prototype.rethrow=function(e){if(this.message=e+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,o),!this.stack)try{throw new Error(this.message)}catch(e){this.stack=e.stack}return this}},513:function(e,t,r){var n=r(2618);t.tagClass={0:"universal",1:"application",2:"context",3:"private"},t.tagClassByName=n._reverse(t.tagClass),t.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},t.tagByName=n._reverse(t.tag)},2618:function(e,t,r){var n=t;n._reverse=function(e){var t={};return Object.keys(e).forEach(function(r){(0|r)==r&&(r|=0);var n=e[r];t[n]=r}),t},n.der=r(513)},5279:function(e,t,r){var n=r(967),i=r(8275),o=i.base,a=i.bignum,s=i.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){o.Node.call(this,"der",e)}function c(e,t){var r=e.readUInt8(t);if(e.isError(r))return r;var n=s.tagClass[r>>6],i=!(32&r);if(31&~r)r&=31;else{var o=r;for(r=0;!(128&~o);){if(o=e.readUInt8(t),e.isError(o))return o;r<<=7,r|=127&o}}return{cls:n,primitive:i,tag:r,tagStr:s.tag[r]}}function d(e,t,r){var n=e.readUInt8(r);if(e.isError(n))return n;if(!t&&128===n)return null;if(!(128&n))return n;var i=127&n;if(i>4)return e.error("length octect is too long");n=0;for(var o=0;o<i;o++){n<<=8;var a=e.readUInt8(r);if(e.isError(a))return a;n|=a}return n}e.exports=l,l.prototype.decode=function(e,t){return e instanceof o.DecoderBuffer||(e=new o.DecoderBuffer(e,t)),this.tree._decode(e,t)},n(u,o.Node),u.prototype._peekTag=function(e,t,r){if(e.isEmpty())return!1;var n=e.save(),i=c(e,'Failed to peek tag: "'+t+'"');return e.isError(i)?i:(e.restore(n),i.tag===t||i.tagStr===t||i.tagStr+"of"===t||r)},u.prototype._decodeTag=function(e,t,r){var n=c(e,'Failed to decode tag of "'+t+'"');if(e.isError(n))return n;var i=d(e,n.primitive,'Failed to get length of "'+t+'"');if(e.isError(i))return i;if(!r&&n.tag!==t&&n.tagStr!==t&&n.tagStr+"of"!==t)return e.error('Failed to match tag: "'+t+'"');if(n.primitive||null!==i)return e.skip(i,'Failed to match body of: "'+t+'"');var o=e.save(),a=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(a)?a:(i=e.offset-o.offset,e.restore(o),e.skip(i,'Failed to match body of: "'+t+'"'))},u.prototype._skipUntilEnd=function(e,t){for(;;){var r=c(e,t);if(e.isError(r))return r;var n,i=d(e,r.primitive,t);if(e.isError(i))return i;if(n=r.primitive||null!==i?e.skip(i):this._skipUntilEnd(e,t),e.isError(n))return n;if("end"===r.tagStr)break}},u.prototype._decodeList=function(e,t,r,n){for(var i=[];!e.isEmpty();){var o=this._peekTag(e,"end");if(e.isError(o))return o;var a=r.decode(e,"der",n);if(e.isError(a)&&o)break;i.push(a)}return i},u.prototype._decodeStr=function(e,t){if("bitstr"===t){var r=e.readUInt8();return e.isError(r)?r:{unused:r,data:e.raw()}}if("bmpstr"===t){var n=e.raw();if(n.length%2==1)return e.error("Decoding of string type: bmpstr length mismatch");for(var i="",o=0;o<n.length/2;o++)i+=String.fromCharCode(n.readUInt16BE(2*o));return i}if("numstr"===t){var a=e.raw().toString("ascii");return this._isNumstr(a)?a:e.error("Decoding of string type: numstr unsupported characters")}if("octstr"===t)return e.raw();if("objDesc"===t)return e.raw();if("printstr"===t){var s=e.raw().toString("ascii");return this._isPrintstr(s)?s:e.error("Decoding of string type: printstr unsupported characters")}return/str$/.test(t)?e.raw().toString():e.error("Decoding of string type: "+t+" unsupported")},u.prototype._decodeObjid=function(e,t,r){for(var n,i=[],o=0;!e.isEmpty();){var a=e.readUInt8();o<<=7,o|=127&a,128&a||(i.push(o),o=0)}128&a&&i.push(o);var s=i[0]/40|0,l=i[0]%40;if(n=r?i:[s,l].concat(i.slice(1)),t){var u=t[n.join(" ")];void 0===u&&(u=t[n.join(".")]),void 0!==u&&(n=u)}return n},u.prototype._decodeTime=function(e,t){var r=e.raw().toString();if("gentime"===t)var n=0|r.slice(0,4),i=0|r.slice(4,6),o=0|r.slice(6,8),a=0|r.slice(8,10),s=0|r.slice(10,12),l=0|r.slice(12,14);else{if("utctime"!==t)return e.error("Decoding "+t+" time is not supported yet");n=0|r.slice(0,2),i=0|r.slice(2,4),o=0|r.slice(4,6),a=0|r.slice(6,8),s=0|r.slice(8,10),l=0|r.slice(10,12);n=n<70?2e3+n:1900+n}return Date.UTC(n,i-1,o,a,s,l,0)},u.prototype._decodeNull=function(e){return null},u.prototype._decodeBool=function(e){var t=e.readUInt8();return e.isError(t)?t:0!==t},u.prototype._decodeInt=function(e,t){var r=e.raw(),n=new a(r);return t&&(n=t[n.toString(10)]||n),n},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getDecoder("der").tree}},6424:function(e,t,r){var n=t;n.der=r(5279),n.pem=r(2866)},2866:function(e,t,r){var n=r(967),i=r(2416).Buffer,o=r(5279);function a(e){o.call(this,e),this.enc="pem"}n(a,o),e.exports=a,a.prototype.decode=function(e,t){for(var r=e.toString().split(/[\r\n]+/g),n=t.label.toUpperCase(),a=/^-----(BEGIN|END) ([^-]+)-----$/,s=-1,l=-1,u=0;u<r.length;u++){var c=r[u].match(a);if(null!==c&&c[2]===n){if(-1!==s){if("END"!==c[1])break;l=u;break}if("BEGIN"!==c[1])break;s=u}}if(-1===s||-1===l)throw new Error("PEM section not found for: "+n);var d=r.slice(s+1,l).join("");d.replace(/[^a-z0-9\+\/=]+/gi,"");var h=new i(d,"base64");return o.prototype.decode.call(this,h,t)}},5255:function(e,t,r){var n=r(967),i=r(2416).Buffer,o=r(8275),a=o.base,s=o.constants.der;function l(e){this.enc="der",this.name=e.name,this.entity=e,this.tree=new u,this.tree._init(e.body)}function u(e){a.Node.call(this,"der",e)}function c(e){return e<10?"0"+e:e}e.exports=l,l.prototype.encode=function(e,t){return this.tree._encode(e,t).join()},n(u,a.Node),u.prototype._encodeComposite=function(e,t,r,n){var o,a=function(e,t,r,n){var i;"seqof"===e?e="seq":"setof"===e&&(e="set");if(s.tagByName.hasOwnProperty(e))i=s.tagByName[e];else{if("number"!=typeof e||(0|e)!==e)return n.error("Unknown tag: "+e);i=e}if(i>=31)return n.error("Multi-octet tag encoding unsupported");t||(i|=32);return i|=s.tagClassByName[r||"universal"]<<6,i}(e,t,r,this.reporter);if(n.length<128)return(o=new i(2))[0]=a,o[1]=n.length,this._createEncoderBuffer([o,n]);for(var l=1,u=n.length;u>=256;u>>=8)l++;(o=new i(2+l))[0]=a,o[1]=128|l;u=1+l;for(var c=n.length;c>0;u--,c>>=8)o[u]=255&c;return this._createEncoderBuffer([o,n])},u.prototype._encodeStr=function(e,t){if("bitstr"===t)return this._createEncoderBuffer([0|e.unused,e.data]);if("bmpstr"===t){for(var r=new i(2*e.length),n=0;n<e.length;n++)r.writeUInt16BE(e.charCodeAt(n),2*n);return this._createEncoderBuffer(r)}return"numstr"===t?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):"printstr"===t?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(t)||"objDesc"===t?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+t+" unsupported")},u.prototype._encodeObjid=function(e,t,r){if("string"==typeof e){if(!t)return this.reporter.error("string objid given, but no values map found");if(!t.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=t[e].split(/[\s\.]+/g);for(var n=0;n<e.length;n++)e[n]|=0}else if(Array.isArray(e)){e=e.slice();for(n=0;n<e.length;n++)e[n]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!r){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,40*e[0]+e[1])}var o=0;for(n=0;n<e.length;n++){var a=e[n];for(o++;a>=128;a>>=7)o++}var s=new i(o),l=s.length-1;for(n=e.length-1;n>=0;n--){a=e[n];for(s[l--]=127&a;(a>>=7)>0;)s[l--]=128|127&a}return this._createEncoderBuffer(s)},u.prototype._encodeTime=function(e,t){var r,n=new Date(e);return"gentime"===t?r=[c(n.getFullYear()),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):"utctime"===t?r=[c(n.getFullYear()%100),c(n.getUTCMonth()+1),c(n.getUTCDate()),c(n.getUTCHours()),c(n.getUTCMinutes()),c(n.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+t+" time is not supported yet"),this._encodeStr(r,"octstr")},u.prototype._encodeNull=function(){return this._createEncoderBuffer("")},u.prototype._encodeInt=function(e,t){if("string"==typeof e){if(!t)return this.reporter.error("String int or enum given, but no values map");if(!t.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=t[e]}if("number"!=typeof e&&!i.isBuffer(e)){var r=e.toArray();!e.sign&&128&r[0]&&r.unshift(0),e=new i(r)}if(i.isBuffer(e)){var n=e.length;0===e.length&&n++;var o=new i(n);return e.copy(o),0===e.length&&(o[0]=0),this._createEncoderBuffer(o)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);n=1;for(var a=e;a>=256;a>>=8)n++;for(a=(o=new Array(n)).length-1;a>=0;a--)o[a]=255&e,e>>=8;return 128&o[0]&&o.unshift(0),this._createEncoderBuffer(new i(o))},u.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},u.prototype._use=function(e,t){return"function"==typeof e&&(e=e(t)),e._getEncoder("der").tree},u.prototype._skipDefault=function(e,t,r){var n,i=this._baseState;if(null===i.default)return!1;var o=e.join();if(void 0===i.defaultBuffer&&(i.defaultBuffer=this._encodeValue(i.default,t,r).join()),o.length!==i.defaultBuffer.length)return!1;for(n=0;n<o.length;n++)if(o[n]!==i.defaultBuffer[n])return!1;return!0}},7328:function(e,t,r){var n=t;n.der=r(5255),n.pem=r(5482)},5482:function(e,t,r){var n=r(967),i=r(5255);function o(e){i.call(this,e),this.enc="pem"}n(o,i),e.exports=o,o.prototype.encode=function(e,t){for(var r=i.prototype.encode.call(this,e).toString("base64"),n=["-----BEGIN "+t.label+"-----"],o=0;o<r.length;o+=64)n.push(r.slice(o,o+64));return n.push("-----END "+t.label+"-----"),n.join("\n")}},7601:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(8982).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},5905:function(e,t,r){"use strict";var n=r(3781),i="undefined"==typeof globalThis?r.g:globalThis;e.exports=function(){for(var e=[],t=0;t<n.length;t++)"function"==typeof i[n[t]]&&(e[e.length]=n[t]);return e}},2831:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,o=s(e),a=o[0],l=o[1],u=new i(function(e,t,r){return 3*(t+r)/4-r}(0,a,l)),c=0,d=l>0?a-4:a;for(r=0;r<d;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],u[c++]=t>>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,u[c++]=255&t);1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,o=[],a=16383,s=0,l=n-i;s<l;s+=a)o.push(u(e,s,s+a>l?l:s+a));1===i?(t=e[n-1],o.push(r[t>>2]+r[t<<4&63]+"==")):2===i&&(t=(e[n-2]<<8)+e[n-1],o.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return o.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)r[a]=o[a],n[o.charCodeAt(a)]=a;function s(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function l(e){return r[e>>18&63]+r[e>>12&63]+r[e>>6&63]+r[63&e]}function u(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),i.push(l(n));return i.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8591:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(7790).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=48&&r<=57?r-48:r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:void n(!1,"Invalid character in "+e)}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}
vendor: 4,111 bytes, line 2
2function u(e,t,r,i){for(var o=0,a=0,s=Math.min(e.length,r),l=t;l<s;l++){var u=e.charCodeAt(l)-48;o*=i,a=u>=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&a<i,"Invalid character"),o+=a}return o}function c(e,t){e.words=t.words,e.length=t.length,e.negative=t.negative,e.red=t.red}if(o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this._strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this._strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype._move=function(e){c(e,this)},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype._strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],f=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16
vendor: 21,506 bytes, line 2
2777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?h[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=f[e],c=p[e];r="";var d=this.clone();for(d.negative=0;!d.isZero();){var m=d.modrn(c).toString(e);r=(d=d.idivn(c)).isZero()?m+r:h[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},a&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(a,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)};function m(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r._strip()}o.prototype.toArrayLike=function(e,t,r){this._strip();var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var a=function(e,t){return e.allocUnsafe?e.allocUnsafe(t):new e(t)}(e,o);return this["_toArrayLike"+("le"===t?"LE":"BE")](a,i),a},o.prototype._toArrayLikeLE=function(e,t){for(var r=0,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r++]=255&a,r<e.length&&(e[r++]=a>>8&255),r<e.length&&(e[r++]=a>>16&255),6===o?(r<e.length&&(e[r++]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r<e.length)for(e[r++]=n;r<e.length;)e[r++]=0},o.prototype._toArrayLikeBE=function(e,t){for(var r=e.length-1,n=0,i=0,o=0;i<this.length;i++){var a=this.words[i]<<o|n;e[r--]=255&a,r>=0&&(e[r--]=a>>8&255),r>=0&&(e[r--]=a>>16&255),6===o?(r>=0&&(e[r--]=a>>24&255),n=0,o=0):(n=a>>>24,o+=2)}if(r>=0)for(e[r--]=n;r>=0;)e[r--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this._strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this._strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this._strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this._strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this._strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var g=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function b(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r._strip()}function y(e,t,r){return b(e,t,r)}function v(e,t){this.x=e,this.y=t}Math.imul||(g=m),o.prototype.mulTo=function(e,t){var r=this.length+e.length;return 10===this.length&&10===e.length?g(this,e,t):r<63?m(this,e,t):r<1024?b(this,e,t):y(this,e,t)},v.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},v.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},v.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},v.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},v.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},v.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},v.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},v.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},v.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},v.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r._strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),y(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){var t=e<0;t&&(e=-e),n("number"==typeof e),n(e<67108864);for(var r=0,i=0;i<this.length;i++){var o=(0|this.words[i])*e,a=(67108863&o)+(67108863&r);r>>=26,r+=o/67108864|0,r+=a>>>26,this.words[i]=67108863&a}return 0!==r&&(this.words[i]=r,this.length++),0===e&&(this.length=1,this._normSign()),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r
vendor: 1,028 bytes, line 2
2=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=e.words[n]>>>i&1}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this._strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;
vendor: 44,294 bytes, line 2
2u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<=e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this._strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this._strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s._strip(),n._strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=(1<<26)%e,i=0,o=this.length-1;o>=0;o--)i=(r*i+(0|this.words[o]))%e;return t?-i:i},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var r=0,i=this.length-1;i>=0;i--){var o=(0|this.words[i])+67108864*r;this.words[i]=o/e|0,r=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this._strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new S(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var w={k256:null,p224:null,p192:null,p25519:null};function x(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function M(){x.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function _(){x.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function O(){x.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function j(){x.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function S(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function A(e){S.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}x.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},x.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},x.prototype.split=function(e,t){e.iushrn(this.n,0,t)},x.prototype.imulK=function(e){return e.imul(this.k)},i(M,x),M.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},M.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(_,x),i(O,x),i(j,x),j.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(w[e])return w[e];var t;if("k256"===e)t=new M;else if("p224"===e)t=new _;else if("p192"===e)t=new O;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new j}return w[e]=t,t},S.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},S.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},S.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(c(e,e.umod(this.m)._forceRed(this)),e)},S.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},S.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},S.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},S.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},S.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},S.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},S.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},S.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},S.prototype.isqr=function(e){return this.imul(e,e.clone())},S.prototype.sqr=function(e){return this.mul(e,e)},S.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},S.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},S.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},S.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},S.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new A(e)},i(A,S),A.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},A.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},A.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},A.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},A.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},7040:function(e,t,r){var n;function i(e){this.rand=e}if(e.exports=function(e){return n||(n=new i(null)),n.generate(e)},e.exports.Rand=i,i.prototype.generate=function(e){return this._rand(e)},i.prototype._rand=function(e){if(this.rand.getBytes)return this.rand.getBytes(e);for(var t=new Uint8Array(e),r=0;r<t.length;r++)t[r]=this.rand.getByte();return t},"object"==typeof self)self.crypto&&self.crypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.crypto.getRandomValues(t),t}:self.msCrypto&&self.msCrypto.getRandomValues?i.prototype._rand=function(e){var t=new Uint8Array(e);return self.msCrypto.getRandomValues(t),t}:"object"==typeof window&&(i.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var o=r(3776);if("function"!=typeof o.randomBytes)throw new Error("Not supported");i.prototype._rand=function(e){return o.randomBytes(e)}}catch(e){}},7953:function(e,t,r){var n=r(7052).Buffer;function i(e){n.isBuffer(e)||(e=n.from(e));for(var t=e.length/4|0,r=new Array(t),i=0;i<t;i++)r[i]=e.readUInt32BE(4*i);return r}function o(e){for(;0<e.length;e++)e[0]=0}function a(e,t,r,n,i){for(var o,a,s,l,u=r[0],c=r[1],d=r[2],h=r[3],f=e[0]^t[0],p=e[1]^t[1],m=e[2]^t[2],g=e[3]^t[3],b=4,y=1;y<i;y++)o=u[f>>>24]^c[p>>>16&255]^d[m>>>8&255]^h[255&g]^t[b++],a=u[p>>>24]^c[m>>>16&255]^d[g>>>8&255]^h[255&f]^t[b++],s=u[m>>>24]^c[g>>>16&255]^d[f>>>8&255]^h[255&p]^t[b++],l=u[g>>>24]^c[f>>>16&255]^d[p>>>8&255]^h[255&m]^t[b++],f=o,p=a,m=s,g=l;return o=(n[f>>>24]<<24|n[p>>>16&255]<<16|n[m>>>8&255]<<8|n[255&g])^t[b++],a=(n[p>>>24]<<24|n[m>>>16&255]<<16|n[g>>>8&255]<<8|n[255&f])^t[b++],s=(n[m>>>24]<<24|n[g>>>16&255]<<16|n[f>>>8&255]<<8|n[255&p])^t[b++],l=(n[g>>>24]<<24|n[f>>>16&255]<<16|n[p>>>8&255]<<8|n[255&m])^t[b++],[o>>>=0,a>>>=0,s>>>=0,l>>>=0]}var s=[0,1,2,4,8,16,32,64,128,27,54],l=function(){for(var e=new Array(256),t=0;t<256;t++)e[t]=t<128?t<<1:t<<1^283;for(var r=[],n=[],i=[[],[],[],[]],o=[[],[],[],[]],a=0,s=0,l=0;l<256;++l){var u=s^s<<1^s<<2^s<<3^s<<4;u=u>>>8^255&u^99,r[a]=u,n[u]=a;var c=e[a],d=e[c],h=e[d],f=257*e[u]^16843008*u;i[0][a]=f<<24|f>>>8,i[1][a]=f<<16|f>>>16,i[2][a]=f<<8|f>>>24,i[3][a]=f,f=16843009*h^65537*d^257*c^16843008*a,o[0][u]=f<<24|f>>>8,o[1][u]=f<<16|f>>>16,o[2][u]=f<<8|f>>>24,o[3][u]=f,0===a?a=s=1:(a=c^e[e[e[h^c]]],s^=e[e[s]])}return{SBOX:r,INV_SBOX:n,SUB_MIX:i,INV_SUB_MIX:o}}();function u(e){this._key=i(e),this._reset()}u.blockSize=16,u.keySize=32,u.prototype.blockSize=u.blockSize,u.prototype.keySize=u.keySize,u.prototype._reset=function(){for(var e=this._key,t=e.length,r=t+6,n=4*(r+1),i=[],o=0;o<t;o++)i[o]=e[o];for(o=t;o<n;o++){var a=i[o-1];o%t===0?(a=a<<8|a>>>24,a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a],a^=s[o/t|0]<<24):t>6&&o%t===4&&(a=l.SBOX[a>>>24]<<24|l.SBOX[a>>>16&255]<<16|l.SBOX[a>>>8&255]<<8|l.SBOX[255&a]),i[o]=i[o-t]^a}for(var u=[],c=0;c<n;c++){var d=n-c,h=i[d-(c%4?0:4)];u[c]=c<4||d<=4?h:l.INV_SUB_MIX[0][l.SBOX[h>>>24]]^l.INV_SUB_MIX[1][l.SBOX[h>>>16&255]]^l.INV_SUB_MIX[2][l.SBOX[h>>>8&255]]^l.INV_SUB_MIX[3][l.SBOX[255&h]]}this._nRounds=r,this._keySchedule=i,this._invKeySchedule=u},u.prototype.encryptBlockRaw=function(e){return a(e=i(e),this._keySchedule,l.SUB_MIX,l.SBOX,this._nRounds)},u.prototype.encryptBlock=function(e){var t=this.encryptBlockRaw(e),r=n.allocUnsafe(16);return r.writeUInt32BE(t[0],0),r.writeUInt32BE(t[1],4),r.writeUInt32BE(t[2],8),r.writeUInt32BE(t[3],12),r},u.prototype.decryptBlock=function(e){var t=(e=i(e))[1];e[1]=e[3],e[3]=t;var r=a(e,this._invKeySchedule,l.INV_SUB_MIX,l.INV_SBOX,this._nRounds),o=n.allocUnsafe(16);return o.writeUInt32BE(r[0],0),o.writeUInt32BE(r[3],4),o.writeUInt32BE(r[2],8),o.writeUInt32BE(r[1],12),o},u.prototype.scrub=function(){o(this._keySchedule),o(this._invKeySchedule),o(this._key)},e.exports.AES=u},4437:function(e,t,r){var n=r(7953),i=r(7052).Buffer,o=r(621),a=r(967),s=r(8315),l=r(7428),u=r(9475);function c(e,t,r,a){o.call(this);var l=i.alloc(4,0);this._cipher=new n.AES(t);var c=this._cipher.encryptBlock(l);this._ghash=new s(c),r=function(e,t,r){if(12===t.length)return e._finID=i.concat([t,i.from([0,0,0,1])]),i.concat([t,i.from([0,0,0,2])]);var n=new s(r),o=t.length,a=o%16;n.update(t),a&&(a=16-a,n.update(i.alloc(a,0))),n.update(i.alloc(8,0));var l=8*o,c=i.alloc(8);c.writeUIntBE(l,0,8),n.update(c),e._finID=n.state;var d=i.from(e._finID);return u(d),d}(this,r,c),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}a(c,o),c.prototype._update=function(e){if(!this._called&&this._alen){var t=16-this._alen%16;t<16&&(t=i.alloc(t,0),this._ghash.update(t))}this._called=!0;var r=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(r),this._len+=e.length,r},c.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=l(this._ghash.final(8*this._alen,8*this._len),this._cipher.encryptBlock(this._finID));if(this._decrypt&&function(e,t){var r=0;e.length!==t.length&&r++;for(var n=Math.min(e.length,t.length),i=0;i<n;++i)r+=e[i]^t[i];return r}(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},c.prototype.getAuthTag=function(){if(this._decrypt||!i.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},c.prototype.setAuthTag=function(e){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=e},c.prototype.setAAD=function(e){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(e),this._alen+=e.length},e.exports=c},2602:function(e,t,r){var n=r(7820),i=r(9928),o=r(3219);t.createCipher=t.Cipher=n.createCipher,t.createCipheriv=t.Cipheriv=n.createCipheriv,t.createDecipher=t.Decipher=i.createDecipher,t.createDecipheriv=t.Decipheriv=i.createDecipheriv,t.listCiphers=t.getCiphers=function(){return Object.keys(o)}},9928:function(e,t,r){var n=r(4437),i=r(7052).Buffer,o=r(13),a=r(3303),s=r(621),l=r(7953),u=r(6877);function c(e,t,r){s.call(this),this._cache=new d,this._last=void 0,this._cipher=new l.AES(t),this._prev=i.from(r),this._mode=e,this._autopadding=!0}function d(){this.cache=i.allocUnsafe(0)}function h(e,t,r){var s=o[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof r&&(r=i.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);if("string"==typeof t&&(t=i.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);return"stream"===s.type?new a(s.module,t,r,!0):"auth"===s.type?new n(s.module,t,r,!0):new c(s.module,t,r)}r(967)(c,s),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get(this._autopadding);)r=this._mode.decrypt(this,t),n.push(r);return i.concat(n)},c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return function(e){var t=e[15];if(t<1||t>16)throw new Error("unable to decrypt data");var r=-1;for(;++r<t;)if(e[r+(16-t)]!==t)throw new Error("unable to decrypt data");if(16===t)return;return e.slice(0,16-t)}(this._mode.decrypt(this,e));if(e)throw new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},d.prototype.add=function(e){this.cache=i.concat([this.cache,e])},d.prototype.get=function(e){var t;if(e){if(this.cache.length>16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t}else if(this.cache.length>=16)return t=this.cache.slice(0,16),this.cache=this.cache.slice(16),t;return null},d.prototype.flush=function(){if(this.cache.length)return this.cache},t.createDecipher=function(e,t){var r=o[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var n=u(t,!1,r.key,r.iv);return h(e,n.key,n.iv)},t.createDecipheriv=h},7820:function(e,t,r){var n=r(13),i=r(4437),o=r(7052).Buffer,a=r(3303),s=r(621),l=r(7953),u=r(6877);function c(e,t,r){s.call(this),this._cache=new h,this._cipher=new l.AES(t),this._prev=o.from(r),this._mode=e,this._autopadding=!0}r(967)(c,s),c.prototype._update=function(e){var t,r;this._cache.add(e);for(var n=[];t=this._cache.get();)r=this._mode.encrypt(this,t),n.push(r);return o.concat(n)};var d=o.alloc(16,16);function h(){this.cache=o.allocUnsafe(0)}function f(e,t,r){var s=n[e.toLowerCase()];if(!s)throw new TypeError("invalid suite type");if("string"==typeof t&&(t=o.from(t)),t.length!==s.key/8)throw new TypeError("invalid key length "+t.length);if("string"==typeof r&&(r=o.from(r)),"GCM"!==s.mode&&r.length!==s.iv)throw new TypeError("invalid iv length "+r.length);return"stream"===s.type?new a(s.module,t,r):"auth"===s.type?new i(s.module,t,r):new c(s.module,t,r)}c.prototype._final=function(){var e=this._cache.flush();if(this._autopadding)return e=this._mode.encrypt(this,e),this._cipher.scrub(),e;if(!e.equals(d))throw this._cipher.scrub(),new Error("data not multiple of block length")},c.prototype.setAutoPadding=function(e){return this._autopadding=!!e,this},h.prototype.add=function(e){this.cache=o.concat([this.cache,e])},h.prototype.get=function(){if(this.cache.length>15){var e=this.cache.slice(0,16);return this.cache=this.cache.slice(16),e}return null},h.prototype.flush=function(){for(var e=16-this.cache.length,t=o.allocUnsafe(e),r=-1;++r<e;)t.writeUInt8(e,r);return o.concat([this.cache,t])},t.createCipheriv=f,t.createCipher=function(e,t){var r=n[e.toLowerCase()];if(!r)throw new TypeError("invalid suite type");var i=u(t,!1,r.key,r.iv);return f(e,i.key,i.iv)}},8315:function(e,t,r){var n=r(7052).Buffer,i=n.alloc(16,0);function o(e){var t=n.allocUnsafe(16);return t.writeUInt32BE(e[0]>>>0,0),t.writeUInt32BE(e[1]>>>0,4),t.writeUInt32BE(e[2]>>>0,8),t.writeUInt32BE(e[3]>>>0,12),t}function a(e){this.h=e,this.state=n.alloc(16,0),this.cache=n.allocUnsafe(0)}a.prototype.ghash=function(e){for(var t=-1;++t<e.length;)this.state[t]^=e[t];this._multiply()},a.prototype._multiply=function(){for(var e,t,r,n=[(e=this.h).readUInt32BE(0),e.readUInt32BE(4),e.readUInt32BE(8),e.readUInt32BE(12)],i=[0,0,0,0],a=-1;++a<128;){for(!!(this.state[~~(a/8)]&1<<7-a%8)&&(i[0]^=n[0],i[1]^=n[1],i[2]^=n[2],i[3]^=n[3]),r=!!(1&n[3]),t=3;t>0;t--)n[t]=n[t]>>>1|(1&n[t-1])<<31;n[0]=n[0]>>>1,r&&(n[0]=n[0]^225<<24)}this.state=o(i)},a.prototype.update=function(e){var t;for(this.cache=n.concat([this.cache,e]);this.cache.length>=16;)t=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(t)},a.prototype.final=function(e,t){return this.cache.length&&this.ghash(n.concat([this.cache,i],16)),this.ghash(o([0,e,0,t])),this.state},e.exports=a},9475:function(e){e.exports=function(e){for(var t,r=e.length;r--;){if(255!==(t=e.readUInt8(r))){t++,e.writeUInt8(t,r);break}e.writeUInt8(0,r)}}},2603:function(e,t,r){var n=r(7428);t.encrypt=function(e,t){var r=n(t,e._prev);return e._prev=e._cipher.encryptBlock(r),e._prev},t.decrypt=function(e,t){var r=e._prev;e._prev=t;var i=e._cipher.decryptBlock(t);return n(i,r)}},784:function(e,t,r){var n=r(7052).Buffer,i=r(7428);function o(e,t,r){var o=t.length,a=i(t,e._cache);return e._cache=e._cache.slice(o),e._prev=n.concat([e._prev,r?t:a]),a}t.encrypt=function(e,t,r){for(var i,a=n.allocUnsafe(0);t.length;){if(0===e._cache.length&&(e._cache=e._cipher.encryptBlock(e._prev),e._prev=n.allocUnsafe(0)),!(e._cache.length<=t.length)){a=n.concat([a,o(e,t,r)]);break}i=e._cache.length,a=n.concat([a,o(e,t.slice(0,i),r)]),t=t.slice(i)}return a}},849:function(e,t,r){var n=r(7052).Buffer;function i(e,t,r){for(var n,i,a=-1,s=0;++a<8;)n=t&1<<7-a?128:0,s+=(128&(i=e._cipher.encryptBlock(e._prev)[0]^n))>>a%8,e._prev=o(e._prev,r?n:i);return s}function o(e,t){var r=e.length,i=-1,o=n.allocUnsafe(e.length);for(e=n.concat([e,n.from([t])]);++i<r;)o[i]=e[i]<<1|e[i+1]>>7;return o}t.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},8106:function(e,t,r){var n=r(7052).Buffer;function i(e,t,r){var i=e._cipher.encryptBlock(e._prev)[0]^t;return e._prev=n.concat([e._prev.slice(1),n.from([r?t:i])]),i}t.encrypt=function(e,t,r){for(var o=t.length,a=n.allocUnsafe(o),s=-1;++s<o;)a[s]=i(e,t[s],r);return a}},6834:function(e,t,r){var n=r(7428),i=r(7052).Buffer,o=r(9475);function a(e){var t=e._cipher.encryptBlockRaw(e._prev);return o(e._prev),t}t.encrypt=function(e,t){var r=Math.ceil(t.length/16),o=e._cache.length;e._cache=i.concat([e._cache,i.allocUnsafe(16*r)]);for(var s=0;s<r;s++){var l=a(e),u=o+16*s;e._cache.writeUInt32BE(l[0],u+0),e._cache.writeUInt32BE(l[1],u+4),e._cache.writeUInt32BE(l[2],u+8),e._cache.writeUInt32BE(l[3],u+12)}var c=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),n(t,c)}},8347:function(e,t){t.encrypt=function(e,t){return e._cipher.encryptBlock(t)},t.decrypt=function(e,t){return e._cipher.decryptBlock(t)}},13:function(e,t,r){var n={ECB:r(8347),CBC:r(2603),CFB:r(784),CFB8:r(8106),CFB1:r(849),OFB:r(5092),CTR:r(6834),GCM:r(6834)},i=r(3219);for(var o in i)i[o].module=n[i[o].mode];e.exports=i},5092:function(e,t,r){var n=r(2416).Buffer,i=r(7428);function o(e){return e._prev=e._cipher.encryptBlock(e._prev),e._prev}t.encrypt=function(e,t){for(;e._cache.length<t.length;)e._cache=n.concat([e._cache,o(e)]);var r=e._cache.slice(0,t.length);return e._cache=e._cache.slice(t.length),i(t,r)}},3303:function(e,t,r){var n=r(7953),i=r(7052).Buffer,o=r(621);function a(e,t,r,a){o.call(this),this._cipher=new n.AES(t),this._prev=i.from(r),this._cache=i.allocUnsafe(0),this._secCache=i.allocUnsafe(0),this._decrypt=a,this._mode=e}r(967)(a,o),a.prototype._update=function(e){return this._mode.encrypt(this,e,this._decrypt)},a.prototype._final=function(){this._cipher.scrub()},e.exports=a},9276:function(e,t,r){var n=r(5713),i=r(2602),o=r(13),a=r(7889),s=r(6877);function l(e,t,r){if(e=e.toLowerCase(),o[e])return i.createCipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e});throw new TypeError("invalid suite type")}function u(e,t,r){if(e=e.toLowerCase(),o[e])return i.createDecipheriv(e,t,r);if(a[e])return new n({key:t,iv:r,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}t.createCipher=t.Cipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return l(e,i.key,i.iv)},t.createCipheriv=t.Cipheriv=l,t.createDecipher=t.Decipher=function(e,t){var r,n;if(e=e.toLowerCase(),o[e])r=o[e].key,n=o[e].iv;else{if(!a[e])throw new TypeError("invalid suite type");r=8*a[e].key,n=a[e].iv}var i=s(t,!1,r,n);return u(e,i.key,i.iv)},t.createDecipheriv=t.Decipheriv=u,t.listCiphers=t.getCiphers=function(){return Object.keys(a).concat(i.getCiphers())}},5713:function(e,t,r){var n=r(621),i=r(6055),o=r(967),a=r(7052).Buffer,s={"des-ede3-cbc":i.CBC.instantiate(i.EDE),"des-ede3":i.EDE,"des-ede-cbc":i.CBC.instantiate(i.EDE),"des-ede":i.EDE,"des-cbc":i.CBC.instantiate(i.DES),"des-ecb":i.DES};function l(e){n.call(this);var t,r=e.mode.toLowerCase(),i=s[r];t=e.decrypt?"decrypt":"encrypt";var o=e.key;a.isBuffer(o)||(o=a.from(o)),"des-ede"!==r&&"des-ede-cbc"!==r||(o=a.concat([o,o.slice(0,8)]));var l=e.iv;a.isBuffer(l)||(l=a.from(l)),this._des=i.create({key:o,iv:l,type:t})}s.des=s["des-cbc"],s.des3=s["des-ede3-cbc"],e.exports=l,o(l,n),l.prototype._update=function(e){return a.from(this._des.update(e))},l.prototype._final=function(){return a.from(this._des.final())}},7889:function(e,t){t["des-ecb"]={key:8,iv:0},t["des-cbc"]=t.des={key:8,iv:8},t["des-ede3-cbc"]=t.des3={key:24,iv:8},t["des-ede3"]={key:24,iv:0},t["des-ede-cbc"]={key:16,iv:8},t["des-ede"]={key:16,iv:0}},9183:function(e,t,r){"use strict";var n=r(8591),i=r(4956),o=r(6503).Buffer;function a(e){var t,r=e.modulus.byteLength();do{t=new n(i(r))}while(t.cmp(e.modulus)>=0||!t.umod(e.prime1)||!t.umod(e.prime2));return t}function s(e,t){var r=function(e){var t=a(e);return{blinder:t.toRed(n.mont(e.modulus)).redPow(new n(e.publicExponent)).fromRed(),unblinder:t.invm(e.modulus)}}(t),i=t.modulus.byteLength(),s=new n(e).mul(r.blinder).umod(t.modulus),l=s.toRed(n.mont(t.prime1)),u=s.toRed(n.mont(t.prime2)),c=t.coefficient,d=t.prime1,h=t.prime2,f=l.redPow(t.exponent1).fromRed(),p=u.redPow(t.exponent2).fromRed(),m=f.isub(p).imul(c).umod(d).imul(h);return p.iadd(m).imul(r.unblinder).umod(t.modulus).toArrayLike(o,"be",i)}s.getr=a,e.exports=s},6503:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},2854:function(e,t,r){"use strict";e.exports=r(2951)},3961:function(e,t,r){"use strict";var n=r(5716).Buffer,i=r(6545),o=r(7764),a=r(967),s=r(6372),l=r(5632),u=r(2951);function c(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hashType=t.hash,this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function d(e){o.Writable.call(this);var t=u[e];if(!t)throw new Error("Unknown message digest");this._hash=i(t.hash),this._tag=t.id,this._signType=t.sign}function h(e){return new c(e)}function f(e){return new d(e)}Object.keys(u).forEach(function(e){u[e].id=n.from(u[e].id,"hex"),u[e.toLowerCase()]=u[e]}),a(c,o.Writable),c.prototype._write=function(e,t,r){this._hash.update(e),r()},c.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},c.prototype.sign=function(e,t){this.end();var r=this._hash.digest(),n=s(r,e,this._hashType,this._signType,this._tag);return t?n.toString(t):n},a(d,o.Writable),d.prototype._write=function(e,t,r){this._hash.update(e),r()},d.prototype.update=function(e,t){return this._hash.update("string"==typeof e?n.from(e,t):e),this},d.prototype.verify=function(e,t,r){var i="string"==typeof t?n.from(t,r):t;this.end();var o=this._hash.digest();return l(i,o,e,this._signType,this._tag)},e.exports={Sign:h,Verify:f,createSign:h,createVerify:f}},6372:function(e,t,r){"use strict";var n=r(5716).Buffer,i=r(3158),o=r(9183),a=r(24).ec,s=r(8591),l=r(517),u=r(4589);function c(e,t,r,o){if((e=n.from(e.toArray())).length<t.byteLength()){var a=n.alloc(t.byteLength()-e.length);e=n.concat([a,e])}var s=r.length,l=function(e,t){e=d(e,t),e=e.mod(t);var r=n.from(e.toArray());if(r.length<t.byteLength()){var i=n.alloc(t.byteLength()-r.length);r=n.concat([i,r])}return r}(r,t),u=n.alloc(s);u.fill(1);var c=n.alloc(s);return c=i(o,c).update(u).update(n.from([0])).update(e).update(l).digest(),u=i(o,c).update(u).digest(),{k:c=i(o,c).update(u).update(n.from([1])).update(e).update(l).digest(),v:u=i(o,c).update(u).digest()}}function d(e,t){var r=new s(e),n=(e.length<<3)-t.bitLength();return n>0&&r.ishrn(n),r}function h(e,t,r){var o,a;do{for(o=n.alloc(0);8*o.length<e.bitLength();)t.v=i(r,t.k).update(t.v).digest(),o=n.concat([o,t.v]);a=d(o,e),t.k=i(r,t.k).update(t.v).update(n.from([0])).digest(),t.v=i(r,t.k).update(t.v).digest()}while(-1!==a.cmp(e));return a}function f(e,t,r,n){return e.toRed(s.mont(r)).redPow(t).fromRed().mod(n)}e.exports=function(e,t,r,i,p){var m=l(t);if(m.curve){if("ecdsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");return function(e,t){var r=u[t.curve.join(".")];if(!r)throw new Error("unknown curve "+t.curve.join("."));var i=new a(r).keyFromPrivate(t.privateKey),o=i.sign(e);return n.from(o.toDER())}(e,m)}if("dsa"===m.type){if("dsa"!==i)throw new Error("wrong private key type");return function(e,t,r){var i,o=t.params.priv_key,a=t.params.p,l=t.params.q,u=t.params.g,p=new s(0),m=d(e,l).mod(l),g=!1,b=c(o,l,e,r);for(;!1===g;)p=f(u,i=h(l,b,r),a,l),0===(g=i.invm(l).imul(m.add(o.mul(p))).mod(l)).cmpn(0)&&(g=!1,p=new s(0));return function(e,t){e=e.toArray(),t=t.toArray(),128&e[0]&&(e=[0].concat(e));128&t[0]&&(t=[0].concat(t));var r=e.length+t.length+4,i=[48,r,2,e.length];return i=i.concat(e,[2,t.length],t),n.from(i)}(p,g)}(e,m,r)}if("rsa"!==i&&"ecdsa/rsa"!==i)throw new Error("wrong private key type");if(void 0!==t.padding&&1!==t.padding)throw new Error("illegal or unsupported padding mode");e=n.concat([p,e]);for(var g=m.modulus.byteLength(),b=[0,1];e.length+b.length+1<g;)b.push(255);b.push(0);for(var y=-1;++y<e.length;)b.push(e[y]);return o(b,m)},e.exports.getKey=c,e.exports.makeKey=h},5632:function(e,t,r){"use strict";var n=r(5716).Buffer,i=r(8591),o=r(24).ec,a=r(517),s=r(4589);function l(e,t){if(e.cmpn(0)<=0)throw new Error("invalid sig");if(e.cmp(t)>=0)throw new Error("invalid sig")}e.exports=function(e,t,r,u,c){var d=a(r);if("ec"===d.type){if("ecdsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=s[r.data.algorithm.curve.join(".")];if(!n)throw new Error("unknown curve "+r.data.algorithm.curve.join("."));var i=new o(n),a=r.data.subjectPrivateKey.data;return i.verify(t,e,a)}(e,t,d)}if("dsa"===d.type){if("dsa"!==u)throw new Error("wrong public key type");return function(e,t,r){var n=r.data.p,o=r.data.q,s=r.data.g,u=r.data.pub_key,c=a.signature.decode(e,"der"),d=c.s,h=c.r;l(d,o),l(h,o);var f=i.mont(n),p=d.invm(o),m=s.toRed(f).redPow(new i(t).mul(p).mod(o)).fromRed().mul(u.toRed(f).redPow(h.mul(p).mod(o)).fromRed()).mod(n).mod(o);return 0===m.cmp(h)}(e,t,d)}if("rsa"!==u&&"ecdsa/rsa"!==u)throw new Error("wrong public key type");t=n.concat([c,t]);for(var h=d.modulus.byteLength(),f=[1],p=0;t.length+f.length+2<h;)f.push(255),p+=1;f.push(0);for(var m=-1;++m<t.length;)f.push(t[m]);f=n.from(f);var g=i.mont(d.modulus);e=(e=new i(e).toRed(g)).redPow(new i(d.publicExponent)),e=n.from(e.fromRed().toArray());var b=p<8?1:0;for(h=Math.min(e.length,f.length),e.length!==f.length&&(b=1),m=-1;++m<h;)b|=e[m]^f[m];return 0===b}},5716:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},7428:function(e,t,r){var n=r(2416).Buffer;e.exports=function(e,t){for(var r=Math.min(e.length,t.length),i=new n(r),o=0;o<r;++o)i[o]=e[o]^t[o];return i}},2416:function(e,t,r){"use strict";var n=r(2831),i=r(4590),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return d(e)}return u(e,t,r)}function u(e,t,r){if("string"==typeof e)return function(e,t){"string"==typeof t&&""!==t||(t="utf8");if(!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|m(e,t),n=s(r),i=n.write(e,t);i!==r&&(n=n.slice(0,i));return n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(z(e,Uint8Array)){var t=new Uint8Array(e);return f(t.buffer,t.byteOffset,t.byteLength)}return h(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(z(e,ArrayBuffer)||e&&z(e.buffer,ArrayBuffer))return f(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(z(e,SharedArrayBuffer)||e&&z(e.buffer,SharedArrayBuffer)))return f(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var i=function(e){if(l.isBuffer(e)){var t=0|p(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}if(void 0!==e.length)return"number"!=typeof e.length||F(e.length)?s(0):h(e);if("Buffer"===e.type&&Array.isArray(e.data))return h(e.data)}(e);if(i)return i;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return c(e),s(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function f(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function p(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||z(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return B(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return q(e).length;default:if(i)return n?-1:B(e).length;t=(""+t).toLowerCase(),i=!0}}function g(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return T(this,t,r);case"utf8":case"utf-8":return S(this,t,r);case"ascii":return P(this,t,r);case"latin1":case"binary":return k(this,t,r);case"base64":return j(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function b(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function y(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),F(r=+r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}
vendor: 15,216 bytes, line 2
2else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:v(e,t,r,n,i);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):v(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function v(e,t,r,n,i){var o,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function u(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var c=-1;for(o=r;o<s;o++)if(u(e,o)===u(t,-1===c?0:o-c)){if(-1===c&&(c=o),o-c+1===l)return c*a}else-1!==c&&(o-=o-c),c=-1}else for(r+l>s&&(r=s-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(u(e,o+h)!==u(t,h)){d=!1;break}if(d)return o}return-1}function w(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;n>o/2&&(n=o/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(F(s))return a;e[r+a]=s}return a}function x(e,t,r,n){return U(B(t,e.length-r),e,r,n)}function M(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function _(e,t,r,n){return U(q(t),e,r,n)}function O(e,t,r,n){return U(function(e,t){for(var r,n,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function j(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function S(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,a,s,l,u=e[i],c=null,d=u>239?4:u>223?3:u>191?2:1;if(i+d<=r)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&u)<<6|63&o)>127&&(c=l);break;case 3:o=e[i+1],a=e[i+2],128==(192&o)&&128==(192&a)&&(l=(15&u)<<12|(63&o)<<6|63&a)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:o=e[i+1],a=e[i+2],s=e[i+3],128==(192&o)&&128==(192&a)&&128==(192&s)&&(l=(15&u)<<18|(63&o)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,n.push(c>>>10&1023|55296),c=56320|1023&c),n.push(c),i+=d}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return u(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return c(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return d(e)},l.allocUnsafeSlow=function(e){return d(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),z(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(z(o,Uint8Array))i+o.length>n.length?l.from(o).copy(n,i):Uint8Array.prototype.set.call(n,o,i);else{if(!l.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i)}i+=o.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)b(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?S(this,0,e):g.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},o&&(l.prototype[o]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(z(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(o,a),u=this.slice(n,i),c=e.slice(t,r),d=0;d<s;++d)if(u[d]!==c[d]){o=u[d],a=c[d];break}return o<a?-1:a<o?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return y(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return y(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return M(this,e,t,r);case"base64":return _(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return O(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function P(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function k(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function T(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=$[e[o]];return i}function E(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length-1;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function C(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function D(e,t,r,n,i,o){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function N(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function I(e,t,r,n,o){return t=+t,r>>>=0,o||N(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function R(e,t,r,n,o){return t=+t,r>>>=0,o||N(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||C(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||C(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readInt8=function(e,t){return e>>>=0,t||C(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||C(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||C(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||C(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||C(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t>>>=0,r>>>=0,n)||D(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<r&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var i=Math.pow(2,8*r-1);D(this,e,t,r,i-1,-i)}var o=r-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a|0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||D(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return I(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return I(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return R(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return R(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var i=e.charCodeAt(0);("utf8"===n&&i<128||"latin1"===n)&&(e=i)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;
2if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(o=0;o<r-t;++o)this[o+t]=a[o%s]}return this};var L=/[^+/0-9A-Za-z-_]/g;function B(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function q(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(L,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function z(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function F(e){return e!=e}var $=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},1613:function(e,t,r){"use strict";var n=r(762),i=r(3767),o=r(3499),a=r(6068);e.exports=a||n.call(o,i)},6580:function(e,t,r){"use strict";var n=r(762),i=r(3767),o=r(1613);e.exports=function(){return o(n,i,arguments)}},3767:function(e){"use strict";e.exports=Function.prototype.apply},3499:function(e){"use strict";e.exports=Function.prototype.call},7255:function(e,t,r){"use strict";var n=r(762),i=r(4500),o=r(3499),a=r(1613);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new i("a function is required");return a(n,o,e)}},6068:function(e){"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},4418:function(e,t,r){"use strict";var n=r(6088),i=r(7050),o=i(n("String.prototype.indexOf"));e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i(r):r}},7050:function(e,t,r){"use strict";var n=r(6084),i=r(7572),o=r(7255),a=r(6580);e.exports=function(e){var t=o(arguments),r=e.length-(arguments.length-1);return n(t,1+(r>0?r:0),!0)},i?i(e.exports,"apply",{value:a}):e.exports.apply=a},5799:function(e,t,r){"use strict";var n=r(6088),i=r(7255),o=i([n("%String.prototype.indexOf%")]);e.exports=function(e,t){var r=n(e,!!t);return"function"==typeof r&&o(e,".prototype.")>-1?i([r]):r}},621:function(e,t,r){"use strict";var n=r(53).Buffer,i=r(5607).Transform,o=r(8192).I,a=r(967),s=r(6532);function l(e){i.call(this),this.hashMode="string"==typeof e,this.hashMode?this[e]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}a(l,i),l.prototype.update=function(e,t,r){var n=s(e,t),i=this._update(n);return this.hashMode?this:(r&&(i=this._toString(i,r)),i)},l.prototype.setAutoPadding=function(){},l.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},l.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},l.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},l.prototype._transform=function(e,t,r){var n;try{this.hashMode?this._update(e):this.push(this._update(e))}catch(e){n=e}finally{r(n)}},l.prototype._flush=function(e){var t;try{this.push(this.__final())}catch(e){t=e}e(t)},l.prototype._finalOrDigest=function(e){var t=this.__final()||n.alloc(0);return e&&(t=this._toString(t,e,!0)),t},l.prototype._toString=function(e,t,r){if(this._decoder||(this._decoder=new o(t),this._encoding=t),this._encoding!==t)throw new Error("can’t switch encodings");var n=this._decoder.write(e);return r&&(n+=this._decoder.end()),n},e.exports=l},53:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},4999:function(e,t,r){var n=r(2416).Buffer;function i(e){return Object.prototype.toString.call(e)}t.isArray=function(e){return Array.isArray?Array.isArray(e):"[object Array]"===i(e)},t.isBoolean=function(e){return"boolean"==typeof e},t.isNull=function(e){return null===e},t.isNullOrUndefined=function(e){return null==e},t.isNumber=function(e){return"number"==typeof e},t.isString=function(e){return"string"==typeof e}
vendor: 12,871 bytes, line 2
2,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=function(e){return void 0===e},t.isRegExp=function(e){return"[object RegExp]"===i(e)},t.isObject=function(e){return"object"==typeof e&&null!==e},t.isDate=function(e){return"[object Date]"===i(e)},t.isError=function(e){return"[object Error]"===i(e)||e instanceof Error},t.isFunction=function(e){return"function"==typeof e},t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=n.isBuffer},8389:function(e,t,r){var n=r(2416).Buffer,i=r(24),o=r(8636);e.exports=function(e){return new s(e)};var a={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};function s(e){this.curveType=a[e],this.curveType||(this.curveType={name:e}),this.curve=new i.ec(this.curveType.name),this.keys=void 0}function l(e,t,r){Array.isArray(e)||(e=e.toArray());var i=new n(e);if(r&&i.length<r){var o=new n(r-i.length);o.fill(0),i=n.concat([o,i])}return t?i.toString(t):i}a.p224=a.secp224r1,a.p256=a.secp256r1=a.prime256v1,a.p192=a.secp192r1=a.prime192v1,a.p384=a.secp384r1,a.p521=a.secp521r1,s.prototype.generateKeys=function(e,t){return this.keys=this.curve.genKeyPair(),this.getPublicKey(e,t)},s.prototype.computeSecret=function(e,t,r){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),l(this.curve.keyFromPublic(e).getPublic().mul(this.keys.getPrivate()).getX(),r,this.curveType.byteLength)},s.prototype.getPublicKey=function(e,t){var r=this.keys.getPublic("compressed"===t,!0);return"hybrid"===t&&(r[r.length-1]%2?r[0]=7:r[0]=6),l(r,e)},s.prototype.getPrivateKey=function(e){return l(this.keys.getPrivate(),e)},s.prototype.setPublicKey=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.keys._importPublic(e),this},s.prototype.setPrivateKey=function(e,t){t=t||"utf8",n.isBuffer(e)||(e=new n(e,t));var r=new o(e);return r=r.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(r),this}},8636:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(7965).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;
vendor: 9,429 bytes, line 2
2var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0)
vendor: 49,697 bytes, line 2
2)<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},6545:function(e,t,r){"use strict";var n=r(967),i=r(2339),o=r(2762),a=r(7381),s=r(621);function l(e){s.call(this,"digest"),this._hash=e}n(l,s),l.prototype._update=function(e){this._hash.update(e)},l.prototype._final=function(){return this._hash.digest()},e.exports=function(e){return"md5"===(e=e.toLowerCase())?new i:"rmd160"===e||"ripemd160"===e?new o:new l(a(e))}},9037:function(e,t,r){var n=r(2339);e.exports=function(e){return(new n).update(e).digest()}},3158:function(e,t,r){"use strict";var n=r(967),i=r(7583),o=r(621),a=r(7052).Buffer,s=r(9037),l=r(2762),u=r(7381),c=a.alloc(128);function d(e,t){o.call(this,"digest"),"string"==typeof t&&(t=a.from(t));var r="sha512"===e||"sha384"===e?128:64;(this._alg=e,this._key=t,t.length>r)?t=("rmd160"===e?new l:u(e)).update(t).digest():t.length<r&&(t=a.concat([t,c],r));for(var n=this._ipad=a.allocUnsafe(r),i=this._opad=a.allocUnsafe(r),s=0;s<r;s++)n[s]=54^t[s],i[s]=92^t[s];this._hash="rmd160"===e?new l:u(e),this._hash.update(n)}n(d,o),d.prototype._update=function(e){this._hash.update(e)},d.prototype._final=function(){var e=this._hash.digest();return("rmd160"===this._alg?new l:u(this._alg)).update(this._opad).update(e).digest()},e.exports=function(e,t){return"rmd160"===(e=e.toLowerCase())||"ripemd160"===e?new d("rmd160",t):"md5"===e?new i(s,t):new d(e,t)}},7583:function(e,t,r){"use strict";var n=r(967),i=r(7052).Buffer,o=r(621),a=i.alloc(128),s=64;function l(e,t){o.call(this,"digest"),"string"==typeof t&&(t=i.from(t)),this._alg=e,this._key=t,t.length>s?t=e(t):t.length<s&&(t=i.concat([t,a],s));for(var r=this._ipad=i.allocUnsafe(s),n=this._opad=i.allocUnsafe(s),l=0;l<s;l++)r[l]=54^t[l],n[l]=92^t[l];this._hash=[r]}n(l,o),l.prototype._update=function(e){this._hash.push(e)},l.prototype._final=function(){var e=this._alg(i.concat(this._hash));return this._alg(i.concat([this._opad,e]))},e.exports=l},720:function(e,t,r){"use strict";r(4956),r(6545),t.Gz=r(3158);var n=r(2854),i=Object.keys(n),o=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(i);var a=r(4755);a.pbkdf2,a.pbkdf2Sync;var s=r(9276);s.Cipher,s.createCipher,s.Cipheriv,s.createCipheriv,s.Decipher,s.createDecipher,s.Decipheriv,s.createDecipheriv,s.getCiphers,s.listCiphers;var l=r(2851);l.DiffieHellmanGroup,l.createDiffieHellmanGroup,l.getDiffieHellman,l.createDiffieHellman,l.DiffieHellman;var u=r(3961);u.createSign,u.Sign,u.createVerify,u.Verify,r(8389);var c=r(4767);c.publicEncrypt,c.privateEncrypt,c.publicDecrypt,c.privateDecrypt;var d=r(8120);d.randomFill,d.randomFillSync},934:function(e,t,r){"use strict";var n=r(7572),i=r(6315),o=r(4500),a=r(3264);e.exports=function(e,t,r){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new o("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new o("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new o("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new o("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new o("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new o("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,l=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,c=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:null===u&&d?d.configurable:!u,enumerable:null===s&&d?d.enumerable:!s,value:r,writable:null===l&&d?d.writable:!l});else{if(!c&&(s||l||u))throw new i("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");e[t]=r}}},6055:function(e,t,r){"use strict";t.utils=r(4393),t.Cipher=r(2181),t.DES=r(560),t.CBC=r(7210),t.EDE=r(8304)},7210:function(e,t,r){"use strict";var n=r(6976),i=r(967),o={};function a(e){n.equal(e.length,8,"Invalid IV length"),this.iv=new Array(8);for(var t=0;t<this.iv.length;t++)this.iv[t]=e[t]}t.instantiate=function(e){function t(t){e.call(this,t),this._cbcInit()}i(t,e);for(var r=Object.keys(o),n=0;n<r.length;n++){var a=r[n];t.prototype[a]=o[a]}return t.create=function(e){return new t(e)},t},o._cbcInit=function(){var e=new a(this.options.iv);this._cbcState=e},o._update=function(e,t,r,n){var i=this._cbcState,o=this.constructor.super_.prototype,a=i.iv;if("encrypt"===this.type){for(var s=0;s<this.blockSize;s++)a[s]^=e[t+s];o._update.call(this,a,0,r,n);for(s=0;s<this.blockSize;s++)a[s]=r[n+s]}else{o._update.call(this,e,t,r,n);for(s=0;s<this.blockSize;s++)r[n+s]^=a[s];for(s=0;s<this.blockSize;s++)a[s]=e[t+s]}}},2181:function(e,t,r){"use strict";var n=r(6976);function i(e){this.options=e,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=!1!==e.padding}e.exports=i,i.prototype._init=function(){},i.prototype.update=function(e){return 0===e.length?[]:"decrypt"===this.type?this._updateDecrypt(e):this._updateEncrypt(e)},i.prototype._buffer=function(e,t){for(var r=Math.min(this.buffer.length-this.bufferOff,e.length-t),n=0;n<r;n++)this.buffer[this.bufferOff+n]=e[t+n];return this.bufferOff+=r,r},i.prototype._flushBuffer=function(e,t){return this._update(this.buffer,0,e,t),this.bufferOff=0,this.blockSize},i.prototype._updateEncrypt=function(e){var t=0,r=0,n=(this.bufferOff+e.length)/this.blockSize|0,i=new Array(n*this.blockSize);0!==this.bufferOff&&(t+=this._buffer(e,t),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(i,r)));for(var o=e.length-(e.length-t)%this.blockSize;t<o;t+=this.blockSize)this._update(e,t,i,r),r+=this.blockSize;for(;t<e.length;t++,this.bufferOff++)this.buffer[this.bufferOff]=e[t];return i},i.prototype._updateDecrypt=function(e){for(var t=0,r=0,n=Math.ceil((this.bufferOff+e.length)/this.blockSize)-1,i=new Array(n*this.blockSize);n>0;n--)t+=this._buffer(e,t),r+=this._flushBuffer(i,r);return t+=this._buffer(e,t),i},i.prototype.final=function(e){var t,r;return e&&(t=this.update(e)),r="encrypt"===this.type?this._finalEncrypt():this._finalDecrypt(),t?t.concat(r):r},i.prototype._pad=function(e,t){if(0===t)return!1;for(;t<e.length;)e[t++]=0;return!0},i.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var e=new Array(this.blockSize);return this._update(this.buffer,0,e,0),e},i.prototype._unpad=function(e){return e},i.prototype._finalDecrypt=function(){n.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var e=new Array(this.blockSize);return this._flushBuffer(e,0),this._unpad(e)}},560:function(e,t,r){"use strict";var n=r(6976),i=r(967),o=r(4393),a=r(2181);function s(){this.tmp=new Array(2),this.keys=null}function l(e){a.call(this,e);var t=new s;this._desState=t,this.deriveKeys(t,e.key)}i(l,a),e.exports=l,l.create=function(e){return new l(e)};var u=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];l.prototype.deriveKeys=function(e,t){e.keys=new Array(32),n.equal(t.length,this.blockSize,"Invalid key length");var r=o.readUInt32BE(t,0),i=o.readUInt32BE(t,4);o.pc1(r,i,e.tmp,0),r=e.tmp[0],i=e.tmp[1];for(var a=0;a<e.keys.length;a+=2){var s=u[a>>>1];r=o.r28shl(r,s),i=o.r28shl(i,s),o.pc2(r,i,e.keys,a)}},l.prototype._update=function(e,t,r,n){var i=this._desState,a=o.readUInt32BE(e,t),s=o.readUInt32BE(e,t+4);o.ip(a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],"encrypt"===this.type?this._encrypt(i,a,s,i.tmp,0):this._decrypt(i,a,s,i.tmp,0),a=i.tmp[0],s=i.tmp[1],o.writeUInt32BE(r,a,n),o.writeUInt32BE(r,s,n+4)},l.prototype._pad=function(e,t){if(!1===this.padding)return!1;for(var r=e.length-t,n=t;n<e.length;n++)e[n]=r;return!0},l.prototype._unpad=function(e){if(!1===this.padding)return e;for(var t=e[e.length-1],r=e.length-t;r<e.length;r++)n.equal(e[r],t);return e.slice(0,e.length-t)},l.prototype._encrypt=function(e,t,r,n,i){for(var a=t,s=r,l=0;l<e.keys.length;l+=2){var u=e.keys[l],c=e.keys[l+1];o.expand(s,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=s;s=(a^o.permute(d))>>>0,a=h}o.rip(s,a,n,i)},l.prototype._decrypt=function(e,t,r,n,i){for(var a=r,s=t,l=e.keys.length-2;l>=0;l-=2){var u=e.keys[l],c=e.keys[l+1];o.expand(a,e.tmp,0),u^=e.tmp[0],c^=e.tmp[1];var d=o.substitute(u,c),h=a;a=(s^o.permute(d))>>>0,s=h}o.rip(a,s,n,i)}},8304:function(e,t,r){"use strict";var n=r(6976),i=r(967),o=r(2181),a=r(560);function s(e,t){n.equal(t.length,24,"Invalid key length");var r=t.slice(0,8),i=t.slice(8,16),o=t.slice(16,24);this.ciphers="encrypt"===e?[a.create({type:"encrypt",key:r}),a.create({type:"decrypt",key:i}),a.create({type:"encrypt",key:o})]:[a.create({type:"decrypt",key:o}),a.create({type:"encrypt",key:i}),a.create({type:"decrypt",key:r})]}function l(e){o.call(this,e);var t=new s(this.type,this.options.key);this._edeState=t}i(l,o),e.exports=l,l.create=function(e){return new l(e)},l.prototype._update=function(e,t,r,n){var i=this._edeState;i.ciphers[0]._update(e,t,r,n),i.ciphers[1]._update(r,n,r,n),i.ciphers[2]._update(r,n,r,n)},l.prototype._pad=a.prototype._pad,l.prototype._unpad=a.prototype._unpad},4393:function(e,t){"use strict";t.readUInt32BE=function(e,t){return(e[0+t]<<24|e[1+t]<<16|e[2+t]<<8|e[3+t])>>>0},t.writeUInt32BE=function(e,t,r){e[0+r]=t>>>24,e[1+r]=t>>>16&255,e[2+r]=t>>>8&255,e[3+r]=255&t},t.ip=function(e,t,r,n){for(var i=0,o=0,a=6;a>=0;a-=2){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>>s+a&1}for(a=6;a>=0;a-=2){for(s=1;s<=25;s+=8)o<<=1,o|=t>>>s+a&1;for(s=1;s<=25;s+=8)o<<=1,o|=e>>>s+a&1}r[n+0]=i>>>0,r[n+1]=o>>>0},t.rip=function(e,t,r,n){for(var i=0,o=0,a=0;a<4;a++)for(var s=24;s>=0;s-=8)i<<=1,i|=t>>>s+a&1,i<<=1,i|=e>>>s+a&1;for(a=4;a<8;a++)for(s=24;s>=0;s-=8)o<<=1,o|=t>>>s+a&1,o<<=1,o|=e>>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.pc1=function(e,t,r,n){for(var i=0,o=0,a=7;a>=5;a--){for(var s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(s=0;s<=24;s+=8)i<<=1,i|=e>>s+a&1}for(s=0;s<=24;s+=8)i<<=1,i|=t>>s+a&1;for(a=1;a<=3;a++){for(s=0;s<=24;s+=8)o<<=1,o|=t>>s+a&1;for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1}for(s=0;s<=24;s+=8)o<<=1,o|=e>>s+a&1;r[n+0]=i>>>0,r[n+1]=o>>>0},t.r28shl=function(e,t){return e<<t&268435455|e>>>28-t};var r=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];t.pc2=function(e,t,n,i){for(var o=0,a=0,s=r.length>>>1,l=0;l<s;l++)o<<=1,o|=e>>>r[l]&1;for(l=s;l<r.length;l++)a<<=1,a|=t>>>r[l]&1;n[i+0]=o>>>0,n[i+1]=a>>>0},t.expand=function(e,t,r){var n=0,i=0;n=(1&e)<<5|e>>>27;for(var o=23;o>=15;o-=4)n<<=6,n|=e>>>o&63;for(o=11;o>=3;o-=4)i|=e>>>o&63,i<<=6;i|=(31&e)<<1|e>>>31,t[r+0]=n>>>0,t[r+1]=i>>>0};var n=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];t.substitute=function(e,t){for(var r=0,i=0;i<4;i++){r<<=4,r|=n[64*i+(e>>>18-6*i&63)]}for(i=0;i<4;i++){r<<=4,r|=n[256+64*i+(t>>>18-6*i&63)]}return r>>>0};var i=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];t.permute=function(e){for(var t=0,r=0;r<i.length;r++)t<<=1,t|=e>>>i[r]&1;return t>>>0},t.padSplit=function(e,t,r){for(var n=e.toString(2);n.length<t;)n="0"+n;for(var i=[],o=0;o<t;o+=r)i.push(n.slice(o,o+r));return i.join(" ")}},2851:function(e,t,r){var n=r(2416).Buffer,i=r(6081),o=r(3241),a=r(3663);var s={binary:!0,hex:!0,base64:!0};t.DiffieHellmanGroup=t.createDiffieHellmanGroup=t.getDiffieHellman=function(e){var t=new n(o[e].prime,"hex"),r=new n(o[e].gen,"hex");return new a(t,r)},t.createDiffieHellman=t.DiffieHellman=function e(t,r,o,l){return n.isBuffer(r)||void 0===s[r]?e(t,"binary",r,o):(r=r||"binary",l=l||"binary",o=o||new n([2]),n.isBuffer(o)||(o=new n(o,l)),"number"==typeof t?new a(i(t,o),o,!0):(n.isBuffer(t)||(t=new n(t,r)),new a(t,o,!0)))}},3663:function(e,t,r){var n=r(2416).Buffer,i=r(7194),o=new(r(5217)),a=new i(24),s=new i(11),l=new i(10),u=new i(3),c=new i(7),d=r(6081),h=r(4956);function f(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._pub=new i(e),this}function p(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this._priv=new i(e),this}e.exports=g;var m={};function g(e,t,r){this.setGenerator(t),this.__prime=new i(e),this._prime=i.mont(this.__prime),this._primeLen=e.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,r?(this.setPublicKey=f,this.setPrivateKey=p):this._primeCode=8}function b(e,t){var r=new n(e.toArray());return t?r.toString(t):r}Object.defineProperty(g.prototype,"verifyError",{enumerable:!0,get:function(){return"number"!=typeof this._primeCode&&(this._primeCode=function(e,t){var r=t.toString("hex"),n=[r,e.toString(16)].join("_");if(n in m)return m[n];var i,h=0;if(e.isEven()||!d.simpleSieve||!d.fermatTest(e)||!o.test(e))return h+=1,h+="02"===r||"05"===r?8:4,m[n]=h,h;switch(o.test(e.shrn(1))||(h+=2),r){case"02":e.mod(a).cmp(s)&&(h+=8);break;case"05":(i=e.mod(l)).cmp(u)&&i.cmp(c)&&(h+=8);break;default:h+=4}return m[n]=h,h}(this.__prime,this.__gen)),this._primeCode}}),g.prototype.generateKeys=function(){return this._priv||(this._priv=new i(h(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},g.prototype.computeSecret=function(e){var t=(e=(e=new i(e)).toRed(this._prime)).redPow(this._priv).fromRed(),r=new n(t.toArray()),o=this.getPrime();if(r.length<o.length){var a=new n(o.length-r.length);a.fill(0),r=n.concat([a,r])}return r},g.prototype.getPublicKey=function(e){return b(this._pub,e)},g.prototype.getPrivateKey=function(e){return b(this._priv,e)},g.prototype.getPrime=function(e){return b(this.__prime,e)},g.prototype.getGenerator=function(e){return b(this._gen,e)},g.prototype.setGenerator=function(e,t){return t=t||"utf8",n.isBuffer(e)||(e=new n(e,t)),this.__gen=e,this._gen=new i(e),this}},6081:function(e,t,r){var n=r(4956);e.exports=y,y.simpleSieve=g,y.fermatTest=b;var i=r(7194),o=new i(24),a=new(r(5217)),s=new i(1),l=new i(2),u=new i(5),c=(new i(16),new i(8),new i(10)),d=new i(3),h=(new i(7),new i(11)),f=new i(4),p=(new i(12),null);function m(){if(null!==p)return p;var e=[];e[0]=2;for(var t=1,r=3;r<1048576;r+=2){for(var n=Math.ceil(Math.sqrt(r)),i=0;i<t&&e[i]<=n&&r%e[i]!==0;i++);t!==i&&e[i]<=n||(e[t++]=r)}return p=e,e}function g(e){for(var t=m(),r=0;r<t.length;r++)if(0===e.modn(t[r]))return 0===e.cmpn(t[r]);return!0}function b(e){var t=i.mont(e);return 0===l.toRed(t).redPow(e.subn(1)).fromRed().cmpn(1)}function y(e,t){if(e<16)return new i(2===t||5===t?[140,123]:[140,39]);var r,p;for(t=new i(t);;){for(r=new i(n(Math.ceil(e/8)));r.bitLength()>e;)r.ishrn(1);if(r.isEven()&&r.iadd(s),r.testn(1)||r.iadd(l),t.cmp(l)){if(!t.cmp(u))for(;r.mod(c).cmp(d);)r.iadd(f)}else for(;r.mod(o).cmp(h);)r.iadd(f);if(g(p=r.shrn(1))&&g(r)&&b(p)&&b(r)&&a.test(p)&&a.test(r))return r}}},7194:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(6089).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;
vendor: 9,429 bytes, line 2
2var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0)
vendor: 35,818 bytes, line 2
2)<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},1055:function(e,t,r){"use strict";var n,i=r(7255),o=r(3264);try{n=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var a=!!n&&o&&o(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=a&&"function"==typeof a.get?i([a.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},24:function(e,t,r){"use strict";var n=t;n.version=r(1636).rE,n.utils=r(4666),n.rand=r(7040),n.curve=r(4771),n.curves=r(2771),n.ec=r(2816),n.eddsa=r(3791)},2526:function(e,t,r){"use strict";var n=r(5669),i=r(4666),o=i.getNAF,a=i.getJSF,s=i.assert;function l(e,t){this.type=e,this.p=new n(t.p,16),this.red=t.prime?n.red(t.prime):n.mont(this.p),this.zero=new n(0).toRed(this.red),this.one=new n(1).toRed(this.red),this.two=new n(2).toRed(this.red),this.n=t.n&&new n(t.n,16),this.g=t.g&&this.pointFromJSON(t.g,t.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var r=this.n&&this.p.div(this.n);!r||r.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}function u(e,t){this.curve=e,this.type=t,this.precomputed=null}e.exports=l,l.prototype.point=function(){throw new Error("Not implemented")},l.prototype.validate=function(){throw new Error("Not implemented")},l.prototype._fixedNafMul=function(e,t){s(e.precomputed);var r=e._getDoubles(),n=o(t,1,this._bitLength),i=(1<<r.step+1)-(r.step%2==0?2:1);i/=3;var a,l,u=[];for(a=0;a<n.length;a+=r.step){l=0;for(var c=a+r.step-1;c>=a;c--)l=(l<<1)+n[c];u.push(l)}for(var d=this.jpoint(null,null,null),h=this.jpoint(null,null,null),f=i;f>0;f--){for(a=0;a<u.length;a++)(l=u[a])===f?h=h.mixedAdd(r.points[a]):l===-f&&(h=h.mixedAdd(r.points[a].neg()));d=d.add(h)}return d.toP()},l.prototype._wnafMul=function(e,t){var r=4,n=e._getNAFPoints(r);r=n.wnd;for(var i=n.points,a=o(t,r,this._bitLength),l=this.jpoint(null,null,null),u=a.length-1;u>=0;u--){for(var c=0;u>=0&&0===a[u];u--)c++;if(u>=0&&c++,l=l.dblp(c),u<0)break;var d=a[u];s(0!==d),l="affine"===e.type?d>0?l.mixedAdd(i[d-1>>1]):l.mixedAdd(i[-d-1>>1].neg()):d>0?l.add(i[d-1>>1]):l.add(i[-d-1>>1].neg())}return"affine"===e.type?l.toP():l},l.prototype._wnafMulAdd=function(e,t,r,n,i){var s,l,u,c=this._wnafT1,d=this._wnafT2,h=this._wnafT3,f=0;for(s=0;s<n;s++){var p=(u=t[s])._getNAFPoints(e);c[s]=p.wnd,d[s]=p.points}for(s=n-1;s>=1;s-=2){var m=s-1,g=s;if(1===c[m]&&1===c[g]){var b=[t[m],null,null,t[g]];0===t[m].y.cmp(t[g].y)?(b[1]=t[m].add(t[g]),b[2]=t[m].toJ().mixedAdd(t[g].neg())):0===t[m].y.cmp(t[g].y.redNeg())?(b[1]=t[m].toJ().mixedAdd(t[g]),b[2]=t[m].add(t[g].neg())):(b[1]=t[m].toJ().mixedAdd(t[g]),b[2]=t[m].toJ().mixedAdd(t[g].neg()));var y=[-3,-1,-5,-7,0,7,5,1,3],v=a(r[m],r[g]);for(f=Math.max(v[0].length,f),h[m]=new Array(f),h[g]=new Array(f),l=0;l<f;l++){var w=0|v[0][l],x=0|v[1][l];h[m][l]=y[3*(w+1)+(x+1)],h[g][l]=0,d[m]=b}}else h[m]=o(r[m],c[m],this._bitLength),h[g]=o(r[g],c[g],this._bitLength),f=Math.max(h[m].length,f),f=Math.max(h[g].length,f)}var M=this.jpoint(null,null,null),_=this._wnafT4;for(s=f;s>=0;s--){for(var O=0;s>=0;){var j=!0;for(l=0;l<n;l++)_[l]=0|h[l][s],0!==_[l]&&(j=!1);if(!j)break;O++,s--}if(s>=0&&O++,M=M.dblp(O),s<0)break;for(l=0;l<n;l++){var S=_[l];0!==S&&(S>0?u=d[l][S-1>>1]:S<0&&(u=d[l][-S-1>>1].neg()),M="affine"===u.type?M.mixedAdd(u):M.add(u))}}for(s=0;s<n;s++)d[s]=null;return i?M:M.toP()},l.BasePoint=u,u.prototype.eq=function(){throw new Error("Not implemented")},u.prototype.validate=function(){return this.curve.validate(this)},l.prototype.decodePoint=function(e,t){e=i.toArray(e,t);var r=this.p.byteLength();if((4===e[0]||6===e[0]||7===e[0])&&e.length-1==2*r)return 6===e[0]?s(e[e.length-1]%2==0):7===e[0]&&s(e[e.length-1]%2==1),this.point(e.slice(1,1+r),e.slice(1+r,1+2*r));if((2===e[0]||3===e[0])&&e.length-1===r)return this.pointFromX(e.slice(1,1+r),3===e[0]);throw new Error("Unknown point format")},u.prototype.encodeCompressed=function(e){return this.encode(e,!0)},u.prototype._encode=function(e){var t=this.curve.p.byteLength(),r=this.getX().toArray("be",t);return e?[this.getY().isEven()?2:3].concat(r):[4].concat(r,this.getY().toArray("be",t))},u.prototype.encode=function(e,t){return i.encode(this._encode(t),e)},u.prototype.precompute=function(e){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,e),t.beta=this._getBeta(),this.precomputed=t,this},u.prototype._hasDoubles=function(e){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return!!t&&t.points.length>=Math.ceil((e.bitLength()+1)/t.step)},u.prototype._getDoubles=function(e,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var r=[this],n=this,i=0;i<t;i+=e){for(var o=0;o<e;o++)n=n.dbl();r.push(n)}return{step:e,points:r}},u.prototype._getNAFPoints=function(e){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],r=(1<<e)-1,n=1===r?null:this.dbl(),i=1;i<r;i++)t[i]=t[i-1].add(n);return{wnd:e,points:t}},u.prototype._getBeta=function(){return null},u.prototype.dblp=function(e){for(var t=this,r=0;r<e;r++)t=t.dbl();return t}},3843:function(e,t,r){"use strict";var n=r(4666),i=r(5669),o=r(967),a=r(2526),s=n.assert;function l(e){this.twisted=1!=(0|e.a),this.mOneA=this.twisted&&-1==(0|e.a),this.extended=this.mOneA,a.call(this,"edwards",e),this.a=new i(e.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new i(e.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new i(e.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),s(!this.twisted||0===this.c.fromRed().cmpn(1)),this.oneC=1==(0|e.c)}function u(e,t,r,n,o){a.BasePoint.call(this,e,"projective"),null===t&&null===r&&null===n?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new i(t,16),this.y=new i(r,16),this.z=n?new i(n,16):this.curve.one,this.t=o&&new i(o,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}o(l,a),e.exports=l,l.prototype._mulA=function(e){return this.mOneA?e.redNeg():this.a.redMul(e)},l.prototype._mulC=function(e){return this.oneC?e:this.c.redMul(e)},l.prototype.jpoint=function(e,t,r,n){return this.point(e,t,r,n)},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=this.c2.redSub(this.a.redMul(r)),o=this.one.redSub(this.c2.redMul(this.d).redMul(r)),a=n.redMul(o.redInvm()),s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");var l=s.fromRed().isOdd();return(t&&!l||!t&&l)&&(s=s.redNeg()),this.point(e,s)},l.prototype.pointFromY=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr(),n=r.redSub(this.c2),o=r.redMul(this.d).redMul(this.c2).redSub(this.a),a=n.redMul(o.redInvm());if(0===a.cmp(this.zero)){if(t)throw new Error("invalid point");return this.point(this.zero,e)}var s=a.redSqrt();if(0!==s.redSqr().redSub(a).cmp(this.zero))throw new Error("invalid point");return s.fromRed().isOdd()!==t&&(s=s.redNeg()),this.point(s,e)},l.prototype.validate=function(e){if(e.isInfinity())return!0;e.normalize();var t=e.x.redSqr(),r=e.y.redSqr(),n=t.redMul(this.a).redAdd(r),i=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(r)));return 0===n.cmp(i)},o(u,a.BasePoint),l.prototype.pointFromJSON=function(e){return u.fromJSON(this,e)},l.prototype.point=function(e,t,r,n){return new u(this,e,t,r,n)},u.fromJSON=function(e,t){return new u(e,t[0],t[1],t[2])},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return 0===this.x.cmpn(0)&&(0===this.y.cmp(this.z)||this.zOne&&0===this.y.cmp(this.curve.c))},u.prototype._extDbl=function(){var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr();r=r.redIAdd(r);var n=this.curve._mulA(e),i=this.x.redAdd(this.y).redSqr().redISub(e).redISub(t),o=n.redAdd(t),a=o.redSub(r),s=n.redSub(t),l=i.redMul(a),u=o.redMul(s),c=i.redMul(s),d=a.redMul(o);return this.curve.point(l,u,d,c)},u.prototype._projDbl=function(){var e,t,r,n,i,o,a=this.x.redAdd(this.y).redSqr(),s=this.x.redSqr(),l=this.y.redSqr();if(this.curve.twisted){var u=(n=this.curve._mulA(s)).redAdd(l);this.zOne?(e=a.redSub(s).redSub(l).redMul(u.redSub(this.curve.two)),t=u.redMul(n.redSub(l)),r=u.redSqr().redSub(u).redSub(u)):(i=this.z.redSqr(),o=u.redSub(i).redISub(i),e=a.redSub(s).redISub(l).redMul(o),t=u.redMul(n.redSub(l)),r=u.redMul(o))}else n=s.redAdd(l),i=this.curve._mulC(this.z).redSqr(),o=n.redSub(i).redSub(i),e=this.curve._mulC(a.redISub(n)).redMul(o),t=this.curve._mulC(n).redMul(s.redISub(l)),r=n.redMul(o);return this.curve.point(e,t,r)},u.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},u.prototype._extAdd=function(e){var t=this.y.redSub(this.x).redMul(e.y.redSub(e.x)),r=this.y.redAdd(this.x).redMul(e.y.redAdd(e.x)),n=this.t.redMul(this.curve.dd).redMul(e.t),i=this.z.redMul(e.z.redAdd(e.z)),o=r.redSub(t),a=i.redSub(n),s=i.redAdd(n),l=r.redAdd(t),u=o.redMul(a),c=s.redMul(l),d=o.redMul(l),h=a.redMul(s);return this.curve.point(u,c,h,d)},u.prototype._projAdd=function(e){var t,r,n=this.z.redMul(e.z),i=n.redSqr(),o=this.x.redMul(e.x),a=this.y.redMul(e.y),s=this.curve.d.redMul(o).redMul(a),l=i.redSub(s),u=i.redAdd(s),c=this.x.redAdd(this.y).redMul(e.x.redAdd(e.y)).redISub(o).redISub(a),d=n.redMul(l).redMul(c);return this.curve.twisted?(t=n.redMul(u).redMul(a.redSub(this.curve._mulA(o))),r=l.redMul(u)):(t=n.redMul(u).redMul(a.redSub(o)),r=this.curve._mulC(l).redMul(u)),this.curve.point(d,t,r)},u.prototype.add=function(e){return this.isInfinity()?e:e.isInfinity()?this:this.curve.extended?this._extAdd(e):this._projAdd(e)},u.prototype.mul=function(e){return this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!1)},u.prototype.jmulAdd=function(e,t,r){return this.curve._wnafMulAdd(1,[this,t],[e,r],2,!0)},u.prototype.normalize=function(){if(this.zOne)return this;var e=this.z.redInvm();return this.x=this.x.redMul(e),this.y=this.y.redMul(e),this.t&&(this.t=this.t.redMul(e)),this.z=this.curve.one,this.zOne=!0,this},u.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},u.prototype.getX=function(){return this.normalize(),this.x.fromRed()},u.prototype.getY=function(){return this.normalize(),this.y.fromRed()},u.prototype.eq=function(e){return this===e||0===this.getX().cmp(e.getX())&&0===this.getY().cmp(e.getY())},u.prototype.eqXToP=function(e){var t=e.toRed(this.curve.red).redMul(this.z);if(0===this.x.cmp(t))return!0;for(var r=e.clone(),n=this.curve.redN.redMul(this.z);;){if(r.iadd(this.curve.n),r.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(n),0===this.x.cmp(t))return!0}},u.prototype.toP=u.prototype.normalize,u.prototype.mixedAdd=u.prototype.add},4771:function(e,t,r){"use strict";var n=t;n.base=r(2526),n.short=r(4125),n.mont=r(5445),n.edwards=r(3843)},5445:function(e,t,r){"use strict";var n=r(5669),i=r(967),o=r(2526),a=r(4666);function s(e){o.call(this,"mont",e),this.a=new n(e.a,16).toRed(this.red),this.b=new n(e.b,16).toRed(this.red),this.i4=new n(4).toRed(this.red).redInvm(),this.two=new n(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}function l(e,t,r){o.BasePoint.call(this,e,"projective"),null===t&&null===r?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new n(t,16),this.z=new n(r,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}i(s,o),e.exports=s,s.prototype.validate=function(e){var t=e.normalize().x,r=t.redSqr(),n=r.redMul(t).redAdd(r.redMul(this.a)).redAdd(t);return 0===n.redSqrt().redSqr().cmp(n)},i(l,o.BasePoint),s.prototype.decodePoint=function(e,t){return this.point(a.toArray(e,t),1)},s.prototype.point=function(e,t){return new l(this,e,t)},s.prototype.pointFromJSON=function(e){return l.fromJSON(this,e)},l.prototype.precompute=function(){},l.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},l.fromJSON=function(e,t){return new l(e,t[0],t[1]||e.one)},l.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>
2":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},l.prototype.isInfinity=function(){return 0===this.z.cmpn(0)},l.prototype.dbl=function(){var e=this.x.redAdd(this.z).redSqr(),t=this.x.redSub(this.z).redSqr(),r=e.redSub(t),n=e.redMul(t),i=r.redMul(t.redAdd(this.curve.a24.redMul(r)));return this.curve.point(n,i)},l.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.diffAdd=function(e,t){var r=this.x.redAdd(this.z),n=this.x.redSub(this.z),i=e.x.redAdd(e.z),o=e.x.redSub(e.z).redMul(r),a=i.redMul(n),s=t.z.redMul(o.redAdd(a).redSqr()),l=t.x.redMul(o.redISub(a).redSqr());return this.curve.point(s,l)},l.prototype.mul=function(e){for(var t=e.clone(),r=this,n=this.curve.point(null,null),i=[];0!==t.cmpn(0);t.iushrn(1))i.push(t.andln(1));for(var o=i.length-1;o>=0;o--)0===i[o]?(r=r.diffAdd(n,this),n=n.dbl()):(n=r.diffAdd(n,this),r=r.dbl());return n},l.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},l.prototype.eq=function(e){return 0===this.getX().cmp(e.getX())},l.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},l.prototype.getX=function(){return this.normalize(),this.x.fromRed()}},4125:function(e,t,r){"use strict";var n=r(4666),i=r(5669),o=r(967),a=r(2526),s=n.assert;function l(e){a.call(this,"short",e),this.a=new i(e.a,16).toRed(this.red),this.b=new i(e.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=0===this.a.fromRed().cmpn(0),this.threeA=0===this.a.fromRed().sub(this.p).cmpn(-3),this.endo=this._getEndomorphism(e),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}function u(e,t,r,n){a.BasePoint.call(this,e,"affine"),null===t&&null===r?(this.x=null,this.y=null,this.inf=!0):(this.x=new i(t,16),this.y=new i(r,16),n&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}function c(e,t,r,n){a.BasePoint.call(this,e,"jacobian"),null===t&&null===r&&null===n?(this.x=this.curve.one,this.y=this.curve.one,this.z=new i(0)):(this.x=new i(t,16),this.y=new i(r,16),this.z=new i(n,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}o(l,a),e.exports=l,l.prototype._getEndomorphism=function(e){if(this.zeroA&&this.g&&this.n&&1===this.p.modn(3)){var t,r;if(e.beta)t=new i(e.beta,16).toRed(this.red);else{var n=this._getEndoRoots(this.p);t=(t=n[0].cmp(n[1])<0?n[0]:n[1]).toRed(this.red)}if(e.lambda)r=new i(e.lambda,16);else{var o=this._getEndoRoots(this.n);0===this.g.mul(o[0]).x.cmp(this.g.x.redMul(t))?r=o[0]:(r=o[1],s(0===this.g.mul(r).x.cmp(this.g.x.redMul(t))))}return{beta:t,lambda:r,basis:e.basis?e.basis.map(function(e){return{a:new i(e.a,16),b:new i(e.b,16)}}):this._getEndoBasis(r)}}},l.prototype._getEndoRoots=function(e){var t=e===this.p?this.red:i.mont(e),r=new i(2).toRed(t).redInvm(),n=r.redNeg(),o=new i(3).toRed(t).redNeg().redSqrt().redMul(r);return[n.redAdd(o).fromRed(),n.redSub(o).fromRed()]},l.prototype._getEndoBasis=function(e){for(var t,r,n,o,a,s,l,u,c,d=this.n.ushrn(Math.floor(this.n.bitLength()/2)),h=e,f=this.n.clone(),p=new i(1),m=new i(0),g=new i(0),b=new i(1),y=0;0!==h.cmpn(0);){var v=f.div(h);u=f.sub(v.mul(h)),c=g.sub(v.mul(p));var w=b.sub(v.mul(m));if(!n&&u.cmp(d)<0)t=l.neg(),r=p,n=u.neg(),o=c;else if(n&&2===++y)break;l=u,f=h,h=u,g=p,p=c,b=m,m=w}a=u.neg(),s=c;var x=n.sqr().add(o.sqr());return a.sqr().add(s.sqr()).cmp(x)>=0&&(a=t,s=r),n.negative&&(n=n.neg(),o=o.neg()),a.negative&&(a=a.neg(),s=s.neg()),[{a:n,b:o},{a:a,b:s}]},l.prototype._endoSplit=function(e){var t=this.endo.basis,r=t[0],n=t[1],i=n.b.mul(e).divRound(this.n),o=r.b.neg().mul(e).divRound(this.n),a=i.mul(r.a),s=o.mul(n.a),l=i.mul(r.b),u=o.mul(n.b);return{k1:e.sub(a).sub(s),k2:l.add(u).neg()}},l.prototype.pointFromX=function(e,t){(e=new i(e,16)).red||(e=e.toRed(this.red));var r=e.redSqr().redMul(e).redIAdd(e.redMul(this.a)).redIAdd(this.b),n=r.redSqrt();if(0!==n.redSqr().redSub(r).cmp(this.zero))throw new Error("invalid point");var o=n.fromRed().isOdd();return(t&&!o||!t&&o)&&(n=n.redNeg()),this.point(e,n)},l.prototype.validate=function(e){if(e.inf)return!0;var t=e.x,r=e.y,n=this.a.redMul(t),i=t.redSqr().redMul(t).redIAdd(n).redIAdd(this.b);return 0===r.redSqr().redISub(i).cmpn(0)},l.prototype._endoWnafMulAdd=function(e,t,r){for(var n=this._endoWnafT1,i=this._endoWnafT2,o=0;o<e.length;o++){var a=this._endoSplit(t[o]),s=e[o],l=s._getBeta();a.k1.negative&&(a.k1.ineg(),s=s.neg(!0)),a.k2.negative&&(a.k2.ineg(),l=l.neg(!0)),n[2*o]=s,n[2*o+1]=l,i[2*o]=a.k1,i[2*o+1]=a.k2}for(var u=this._wnafMulAdd(1,n,i,2*o,r),c=0;c<2*o;c++)n[c]=null,i[c]=null;return u},o(u,a.BasePoint),l.prototype.point=function(e,t,r){return new u(this,e,t,r)},l.prototype.pointFromJSON=function(e,t){return u.fromJSON(this,e,t)},u.prototype._getBeta=function(){if(this.curve.endo){var e=this.prec
vendor: 8,284 bytes, line 2
2omputed;if(e&&e.beta)return e.beta;var t=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(e){var r=this.curve,n=function(e){return r.point(e.x.redMul(r.endo.beta),e.y)};e.beta=t,t.precomputed={beta:null,naf:e.naf&&{wnd:e.naf.wnd,points:e.naf.points.map(n)},doubles:e.doubles&&{step:e.doubles.step,points:e.doubles.points.map(n)}}}return t}},u.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},u.fromJSON=function(e,t,r){"string"==typeof t&&(t=JSON.parse(t));var n=e.point(t[0],t[1],r);if(!t[2])return n;function i(t){return e.point(t[0],t[1],r)}var o=t[2];return n.precomputed={beta:null,doubles:o.doubles&&{step:o.doubles.step,points:[n].concat(o.doubles.points.map(i))},naf:o.naf&&{wnd:o.naf.wnd,points:[n].concat(o.naf.points.map(i))}},n},u.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},u.prototype.isInfinity=function(){return this.inf},u.prototype.add=function(e){if(this.inf)return e;if(e.inf)return this;if(this.eq(e))return this.dbl();if(this.neg().eq(e))return this.curve.point(null,null);if(0===this.x.cmp(e.x))return this.curve.point(null,null);var t=this.y.redSub(e.y);0!==t.cmpn(0)&&(t=t.redMul(this.x.redSub(e.x).redInvm()));var r=t.redSqr().redISub(this.x).redISub(e.x),n=t.redMul(this.x.redSub(r)).redISub(this.y);return this.curve.point(r,n)},u.prototype.dbl=function(){if(this.inf)return this;var e=this.y.redAdd(this.y);if(0===e.cmpn(0))return this.curve.point(null,null);var t=this.curve.a,r=this.x.redSqr(),n=e.redInvm(),i=r.redAdd(r).redIAdd(r).redIAdd(t).redMul(n),o=i.redSqr().redISub(this.x.redAdd(this.x)),a=i.redMul(this.x.redSub(o)).redISub(this.y);return this.curve.point(o,a)},u.prototype.getX=function(){return this.x.fromRed()},u.prototype.getY=function(){return this.y.fromRed()},u.prototype.mul=function(e){return e=new i(e,16),this.isInfinity()?this:this._hasDoubles(e)?this.curve._fixedNafMul(this,e):this.curve.endo?this.curve._endoWnafMulAdd([this],[e]):this.curve._wnafMul(this,e)},u.prototype.mulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i):this.curve._wnafMulAdd(1,n,i,2)},u.prototype.jmulAdd=function(e,t,r){var n=[this,t],i=[e,r];return this.curve.endo?this.curve._endoWnafMulAdd(n,i,!0):this.curve._wnafMulAdd(1,n,i,2,!0)},u.prototype.eq=function(e){return this===e||this.inf===e.inf&&(this.inf||0===this.x.cmp(e.x)&&0===this.y.cmp(e.y))},u.prototype.neg=function(e){if(this.inf)return this;var t=this.curve.point(this.x,this.y.redNeg());if(e&&this.precomputed){var r=this.precomputed,n=function(e){return e.neg()};t.precomputed={naf:r.naf&&{wnd:r.naf.wnd,points:r.naf.points.map(n)},doubles:r.doubles&&{step:r.doubles.step,points:r.doubles.points.map(n)}}}return t},u.prototype.toJ=function(){return this.inf?this.curve.jpoint(null,null,null):this.curve.jpoint(this.x,this.y,this.curve.one)},o(c,a.BasePoint),l.prototype.jpoint=function(e,t,r){return new c(this,e,t,r)},c.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var e=this.z.redInvm(),t=e.redSqr(),r=this.x.redMul(t),n=this.y.redMul(t).redMul(e);return this.curve.point(r,n)},c.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},c.prototype.add=function(e){if(this.isInfinity())return e;if(e.isInfinity())return this;var t=e.z.redSqr(),r=this.z.redSqr(),n=this.x.redMul(t),i=e.x.redMul(r),o=this.y.redMul(t.redMul(e.z)),a=e.y.redMul(r.redMul(this.z)),s=n.redSub(i),l=o.redSub(a);if(0===s.cmpn(0))return 0!==l.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var u=s.redSqr(),c=u.redMul(s),d=n.redMul(u),h=l.redSqr().redIAdd(c).redISub(d).redISub(d),f=l.redMul(d.redISub(h)).redISub(o.redMul(c)),p=this.z.redMul(e.z).redMul(s);return this.curve.jpoint(h,f,p)},c.prototype.mixedAdd=function(e){if(this.isInfinity())return e.toJ();if(e.isInfinity())return this;var t=this.z.redSqr(),r=this.x,n=e.x.redMul(t),i=this.y,o=e.y.redMul(t).redMul(this.z),a=r.redSub(n),s=i.redSub(o);if(0===a.cmpn(0))return 0!==s.cmpn(0)?this.curve.jpoint(null,null,null):this.dbl();var l=a.redSqr(),u=l.redMul(a),c=r.redMul(l),d=s.redSqr().redIAdd(u).redISub(c).redISub(c),h=s.redMul(c.redISub(d)).redISub(i.redMul(u)),f=this.z.redMul(a);return this.curve.jpoint(d,h,f)},c.prototype.dblp=function(e){if(0===e)return this;if(this.isInfinity())return this;if(!e)return this.dbl();var t;if(this.curve.zeroA||this.curve.threeA){var r=this;for(t=0;t<e;t++)r=r.dbl();return r}var n=this.curve.a,i=this.curve.tinv,o=this.x,a=this.y,s=this.z,l=s.redSqr().redSqr(),u=a.redAdd(a);for(t=0;t<e;t++){var c=o.redSqr(),d=u.redSqr(),h=d.redSqr(),f=c.redAdd(c).redIAdd(c).redIAdd(n.redMul(l)),p=o.redMul(d),m=f.redSqr().redISub(p.redAdd(p)),g=p.redISub(m),b=f.redMul(g);b=b.redIAdd(b).redISub(h);var y=u.redMul(s);t+1<e&&(l=l.redMul(h)),o=m,s=y,u=b}return this.curve.jpoint(o,u.redMul(i),s)},c.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},c.prototype._zeroDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n),l=s.redSqr().redISub(a).redISub(a),u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),e=l,t=s.redMul(a.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.x.redSqr(),d=this.y.redSqr(),h=d.redSqr(),f=this.x.redAdd(d).redSqr().redISub(c).redISub(h);f=f.redIAdd(f);var p=c.redAdd(c).redIAdd(c),m=p.redSqr(),g=h.redIAdd(h);g=(g=g.redIAdd(g)).redIAdd(g),e=m.redISub(f).redISub(f),t=p.redMul(f.redISub(e)).redISub(g),r=(r=this.y.redMul(this.z)).redIAdd(r)}return this.curve.jpoint(e,t,r)},c.prototype._threeDbl=function(){var e,t,r;if(this.zOne){var n=this.x.redSqr(),i=this.y.redSqr(),o=i.redSqr(),a=this.x.redAdd(i).redSqr().redISub(n).redISub(o);a=a.redIAdd(a);var s=n.redAdd(n).redIAdd(n).redIAdd(this.curve.a),l=s.redSqr().redISub(a).redISub(a);e=l;var u=o.redIAdd(o);u=(u=u.redIAdd(u)).redIAdd(u),t=s.redMul(a.redISub(l)).redISub(u),r=this.y.redAdd(this.y)}else{var c=this.z.redSqr(),d=this.y.redSqr(),h=this.x.redMul(d),f=this.x.redSub(c).redMul(this.x.redAdd(c));f=f.redAdd(f).redIAdd(f);var p=h.redIAdd(h),m=(p=p.redIAdd(p)).redAdd(p);e=f.redSqr().redISub(m),r=this.y.redAdd(this.z).redSqr().redISub(d).redISub(c);var g=d.redSqr();g=(g=(g=g.redIAdd(g)).redIAdd(g)).redIAdd(g),t=f.redMul(p.redISub(e)).redISub(g)}return this.curve.jpoint(e,t,r)},c.prototype._dbl=function(){var e=this.curve.a,t=this.x,r=this.y,n=this.z,i=n.redSqr().redSqr(),o=t.redSqr(),a=r.redSqr(),s=o.redAdd(o).redIAdd(o).redIAdd(e.redMul(i)),l=t.redAdd(t),u=(l=l.redIAdd(l)).redMul(a),c=s.redSqr().redISub(u.redAdd(u)),d=u.redISub(c),h=a.redSqr();h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=s.redMul(d).redISub(h),p=r.redAdd(r).redMul(n);return this.curve.jpoint(c,f,p)},c.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var e=this.x.redSqr(),t=this.y.redSqr(),r=this.z.redSqr(),n=t.redSqr(),i=e.redAdd(e).redIAdd(e),o=i.redSqr(),a=this.x.redAdd(t).redSqr().redISub(e).redISub(n),s=(a=(a=(a=a.redIAdd(a)).redAdd(a).redIAdd(a)).redISub(o)).redSqr(),l=n.redIAdd(n);l=(l=(l=l.redIAdd(l)).redIAdd(l)).redIAdd(l);var u=i.redIAdd(a).redSqr().redISub(o).redISub(s).redISub(l),c=t.redMul(u);c=(c=c.redIAdd(c)).redIAdd(c);var d=this.x.redMul(s).redISub(c);d=(d=d.redIAdd(d)).redIAdd(d);var h=this.y.redMul(u.redMul(l.redISub(u)).redISub(a.redMul(s)));h=(h=(h=h.redIAdd(h)).redIAdd(h)).redIAdd(h);var f=this.z.redAdd(a).redSqr().redISub(r).redISub(s);return this.curve.jpoint(d,h,f)},c.prototype.mul=function(e,t){return e=new i(e,t),this.curve._wnafMul(this,e)},c.prototype.eq=function(e){if("affine"===e.type)return this.eq(e.toJ());if(this===e)return!0;var t=this.z.redSqr(),r=e.z.redSqr();if(0!==this.x.redMul(r).redISub(e.x.redMul(t)).cmpn(0))return!1;var n=t.redMul(this.z),i=r.redMul(e.z);return 0===this.y.redMul(i).redISub(e.y.redMul(n)).cmpn(0)}
vendor: 16,091 bytes, line 2
2,c.prototype.eqXToP=function(e){var t=this.z.redSqr(),r=e.toRed(this.curve.red).redMul(t);if(0===this.x.cmp(r))return!0;for(var n=e.clone(),i=this.curve.redN.redMul(t);;){if(n.iadd(this.curve.n),n.cmp(this.curve.p)>=0)return!1;if(r.redIAdd(i),0===this.x.cmp(r))return!0}},c.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},c.prototype.isInfinity=function(){return 0===this.z.cmpn(0)}},2771:function(e,t,r){"use strict";var n,i=t,o=r(4243),a=r(4771),s=r(4666).assert;function l(e){"short"===e.type?this.curve=new a.short(e):"edwards"===e.type?this.curve=new a.edwards(e):this.curve=new a.mont(e),this.g=this.curve.g,this.n=this.curve.n,this.hash=e.hash,s(this.g.validate(),"Invalid curve"),s(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}function u(e,t){Object.defineProperty(i,e,{configurable:!0,enumerable:!0,get:function(){var r=new l(t);return Object.defineProperty(i,e,{configurable:!0,enumerable:!0,value:r}),r}})}i.PresetCurve=l,u("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:o.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),u("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:o.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),u("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:o.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),u("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:o.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),u("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:o.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),u("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["9"]}),u("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:o.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});try{n=r(6938)}catch(e){n=void 0}u("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:o.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",n]})},2816:function(e,t,r){"use strict";var n=r(5669),i=r(5294),o=r(4666),a=r(2771),s=r(7040),l=o.assert,u=r(131),c=r(1870);function d(e){if(!(this instanceof d))return new d(e);"string"==typeof e&&(l(Object.prototype.hasOwnProperty.call(a,e),"Unknown curve "+e),e=a[e]),e instanceof a.PresetCurve&&(e={curve:e}),this.curve=e.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=e.curve.g,this.g.precompute(e.curve.n.bitLength()+1),this.hash=e.hash||e.curve.hash}e.exports=d,d.prototype.keyPair=function(e){return new u(this,e)},d.prototype.keyFromPrivate=function(e,t){return u.fromPrivate(this,e,t)},d.prototype.keyFromPublic=function(e,t){return u.fromPublic(this,e,t)},d.prototype.genKeyPair=function(e){e||(e={});for(var t=new i({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||s(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),r=this.n.byteLength(),o=this.n.sub(new n(2));;){var a=new n(t.generate(r));if(!(a.cmp(o)>0))return a.iaddn(1),this.keyFromPrivate(a)}},d.prototype._truncateToN=function(e,t,r){var i;if(n.isBN(e)||"number"==typeof e)i=(e=new n(e,16)).byteLength();else if("object"==typeof e)i=e.length,e=new n(e,16);else{var o=e.toString();i=o.length+1>>>1,e=new n(o,16)}"number"!=typeof r&&(r=8*i);var a=r-this.n.bitLength();return a>0&&(e=e.ushrn(a)),!t&&e.cmp(this.n)>=0?e.sub(this.n):e},d.prototype.sign=function(e,t,r,o){if("object"==typeof r&&(o=r,r=null),o||(o={}),"string"!=typeof e&&"number"!=typeof e&&!n.isBN(e)){l("object"==typeof e&&e&&"number"==typeof e.length,"Expected message to be an array-like, a hex string, or a BN instance"),l(e.length>>>0===e.length);for(var a=0;a<e.length;a++)l((255&e[a])===e[a])}t=this.keyFromPrivate(t,r),e=this._truncateToN(e,!1,o.msgBitLength),l(!e.isNeg(),"Can not sign a negative message");var s=this.n.byteLength(),u=t.getPrivate().toArray("be",s),d=e.toArray("be",s);l(new n(d).eq(e),"Can not sign message");for(var h=new i({hash:this.hash,entropy:u,nonce:d,pers:o.pers,persEnc:o.persEnc||"utf8"}),f=this.n.sub(new n(1)),p=0;;p++){var m=o.k?o.k(p):new n(h.generate(this.n.byteLength()));if(!((m=this._truncateToN(m,!0)).cmpn(1)<=0||m.cmp(f)>=0)){var g=this.g.mul(m);if(!g.isInfinity()){var b=g.getX(),y=b.umod(this.n);if(0!==y.cmpn(0)){var v=m.invm(this.n).mul(y.mul(t.getPrivate()).iadd(e));if(0!==(v=v.umod(this.n)).cmpn(0)){var w=(g.getY().isOdd()?1:0)|(0!==b.cmp(y)?2:0);return o.canonical&&v.cmp(this.nh)>0&&(v=this.n.sub(v),w^=1),new c({r:y,s:v,recoveryParam:w})}}}}}},d.prototype.verify=function(e,t,r,n,i){i||(i={}),e=this._truncateToN(e,!1,i.msgBitLength),r=this.keyFromPublic(r,n);var o=(t=new c(t,"hex")).r,a=t.s;if(o.cmpn(1)<0||o.cmp(this.n)>=0)return!1;if(a.cmpn(1)<0||a.cmp(this.n)>=0)return!1;var s,l=a.invm(this.n),u=l.mul(e).umod(this.n),d=l.mul(o).umod(this.n);return this.curve._maxwellTrick?!(s=this.g.jmulAdd(u,r.getPublic(),d)).isInfinity()&&s.eqXToP(o):!(s=this.g.mulAdd(u,r.getPublic(),d)).isInfinity()&&0===s.getX().umod(this.n).cmp(o)},d.prototype.recoverPubKey=function(e,t,r,i){l((3&r)===r,"The recovery param is more than two bits"),t=new c(t,i);var o=this.n,a=new n(e),s=t.r,u=t.s,d=1&r,h=r>>1;if(s.cmp(this.curve.p.umod(this.curve.n))>=0&&h)throw new Error("Unable to find sencond key candinate");s=h?this.curve.pointFromX(s.add(this.curve.n),d):this.curve.pointFromX(s,d);var f=t.r.invm(o),p=o.sub(a).mul(f).umod(o),m=u.mul(f).umod(o);return this.g.mulAdd(p,s,m)},d.prototype.getKeyRecoveryParam=function(e,t,r,n){if(null!==(t=new c(t,n)).recoveryParam)return t.recoveryParam;for(var i=0;i<4;i++){var o;try{o=this.recoverPubKey(e,t,i)}catch(e){continue}if(o.eq(r))return i}throw new Error("Unable to find valid recovery factor")}},131:function(e,t,r){"use strict";var n=r(5669),i=r(4666).assert;function o(e,t){this.ec=e,this.priv=null,this.pub=null,t.priv&&this._importPrivate(t.priv,t.privEnc),t.pub&&this._importPublic(t.pub,t.pubEnc)}e.exports=o,o.fromPublic=function(e,t,r){return t instanceof o?t:new o(e,{pub:t,pubEnc:r})},o.fromPrivate=function(e,t,r){return t instanceof o?t:new o(e,{priv:t,privEnc:r})},o.prototype.validate=function(){var e=this.getPublic();return e.isInfinity()?{result:!1,reason:"Invalid public key"}:e.validate()?e.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},o.prototype.getPublic=function(e,t){return"string"==typeof e&&(t=e,e=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),t?this.pub.encode(t,e):this.pub},o.prototype.getPrivate=function(e){return"hex"===e?this.priv.toString(16,2):this.priv},o.prototype._importPrivate=function(e,t){this.priv=new n(e,t||16),this.priv=this.priv.umod(this.ec.curve.n)},o.prototype._importPublic=function(e,t){if(e.x||e.y)return"mont"===this.ec.curve.type?i(e.x,"Need x coordinate"):"short"!==this.ec.curve.type&&"edwards"!==this.ec.curve.type||i(e.x&&e.y,"Need both x and y coordinate"),void(this.pub=this.ec.curve.point(e.x,e.y));this.pub=this.ec.curve.decodePoint(e,t)},o.prototype.derive=function(e){return e.validate()||i(e.validate(),"public point not validated"),e.mul(this.priv).getX()},o.prototype.sign=function(e,t,r){return this.ec.sign(e,this,t,r)},o.prototype.verify=function(e,t,r){return this.ec.verify(e,t,this,void 0,r)},o.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"}},1870:function(e,t,r){"use strict";var n=r(5669),i=r(4666),o=i.assert;function a(e,t){if(e instanceof a)return e;this._importDER(e,t)||(o(e.r&&e.s,"Signature without r or s"),this.r=new n(e.r,16),this.s=new n(e.s,16),void 0===e.recoveryParam?this.recoveryParam=null:this.recoveryParam=e.recoveryParam)}function s(){this.place=0}function l(e,t){var r=e[t.place++];if(!(128&r))return r;var n=15&r;if(0===n||n>4)return!1;if(0===e[t.place])return!1;for(var i=0,o=0,a=t.place;o<n;o++,a++)i<<=8,i|=e[a],i>>>=0;return!(i<=127)&&(t.place=a,i)}function u(e){for(var t=0,r=e.length-1;!e[t]&&!(128&e[t+1])&&t<r;)t++;return 0===t?e:e.slice(t)}function c(e,t){if(t<128)e.push(t);else{var r=1+(Math.log(t)/Math.LN2>>>3);for(e.push(128|r);--r;)e.push(t>>>(r<<3)&255);e.push(t)}}e.exports=a,a.prototype._importDER=function(e,t){e=i.toArray(e,t);var r=new s;if(48!==e[r.place++])return!1;var o=l(e,r);if(!1===o)return!1;if(o+r.place!==e.length)return!1;if(2!==e[r.place++])return!1;var a=l(e,r);if(!1===a)return!1;if(128&e[r.place])return!1;var u=e.slice(r.place,a+r.place);if(r.place+=a,2!==e[r.place++])return!1;var c=l(e,r);if(!1===c)return!1;if(e.length!==c+r.place)return!1;if(128&e[r.place])return!1;var d=e.slice(r.place,c+r.place);if(0===u[0]){if(!(128&u[1]))return!1;u=u.slice(1)}if(0===d[0]){if(!(128&d[1]))return!1;d=d.slice(1)}return this.r=new n(u),this.s=new n(d),this.recoveryParam=null,!0},a.prototype.toDER=function(e){var t=this.r.toArray(),r=this.s.toArray();for(128&t[0]&&(t=[0].concat(t)),128&r[0]&&(r=[0].concat(r)),t=u(t),r=u(r);!(r[0]||128&r[1]);)r=r.slice(1);var n=[2];c(n,t.length),(n=n.concat(t)).push(2),c(n,r.length);var o=n.concat(r),a=[48];return c(a,o.length),a=a.concat(o),i.encode(a,e)}},3791:function(e,t,r){"use strict";var n=r(4243),i=r(2771),o=r(4666),a=o.assert,s=o.parseBytes,l=r(5208),u=r(7241);function c(e){if(a("ed25519"===e,"only tested with ed25519 so far"),!(this instanceof c))return new c(e);e=i[e].curve,this.curve=e,this.g=e.g,this.g.precompute(e.n.bitLength()+1),this.pointClass=e.point().constructor,this.encodingLength=Math.ceil(e.n.bitLength()/8),this.hash=n.sha512}e.exports=c,c.prototype.sign=function(e,t){e=s(e);var r=this.keyFromSecret(t),n=this.hashInt(r.messagePrefix(),e),i=this.g.mul(n),o=this.encodePoint(i),a=this.hashInt(o,r.pubBytes(),e).mul(r.priv()),l=n.add(a).umod(this.curve.n);return this.makeSignature({R:i,S:l,Rencoded:o})},c.prototype.verify=function(e,t,r){if(e=s(e),(t=this.makeSignature(t)).S().gte(t.eddsa.curve.n)||t.S().isNeg())return!1;var n=this.keyFromPublic(r),i=this.hashInt(t.Rencoded(),n.pubBytes(),e),o=this.g.mul(t.S());return t.R().add(n.pub().mul(i)).eq(o)},c.prototype.hashInt=function(){for(var e=this.hash(),t=0;t<arguments.length;t++)e.update(arguments[t]);return o.intFromLE(e.digest()).umod(this.curve.n)},c.prototype.keyFromPublic=function(e){return l.fromPublic(this,e)},c.prototype.keyFromSecret=function(e){return l.fromSecret(this,e)},c.prototype.makeSignature=function(e){return e instanceof u?e:new u(this,e)},c.prototype.encodePoint=function(e){var t=e.getY().toArray("le",this.encodingLength);return t[this.encodingLength-1]|=e.getX().isOdd()?128:0,t},c.prototype.decodePoint=function(e){var t=(e=o.parseBytes(e)).length-1,r=e.slice(0,t).concat(-129&e[t]),n=!!(128&e[t]),i=o.intFromLE(r);return this.curve.pointFromY(i,n)},c.prototype.encodeInt=function(e){return e.toArray("le",this.encodingLength)},c.prototype.decodeInt=function(e){return o.intFromLE(e)},c.prototype.isPoint=function(e){return e instanceof this.pointClass}},5208:function(e,t,r){"use strict";var n=r(4666),i=n.assert,o=n.parseBytes,a=n.cachedProperty;function s(e,t){this.eddsa=e,this._secret=o(t.secret),e.isPoint(t.pub)?this._pub=t.pub:this._pubBytes=o(t.pub)}s.fromPublic=function(e,t){return t instanceof s?t:new s(e,{pub:t})},s.fromSecret=function(e,t){return t instanceof s?t:new s(e,{secret:t})},s.prototype.secret=function(){return this._secret},a(s,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),a(s,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),a(s,"privBytes",function(){var e=this.eddsa,t=this.hash(),r=e.encodingLength-1,n=t.slice(0,e.encodingLength);return n[0]&=248,n[r]&=127,n[r]|=64,n}),a(s,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),a(s,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),a(s,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),s.prototype.sign=function(e){return i(this._secret,"KeyPair can only verify"),this.eddsa.sign(e,this)},s.prototype.verify=function(e,t){return this.eddsa.verify(e,t,this)},s.prototype.getSecret=function(e){return i(this._secret,"KeyPair is public only"),n.encode(this.secret(),e)},s.prototype.getPublic=function(e){return n.encode(this.pubBytes(),e)},e.exports=s},7241:function(e,t,r){"use strict";var n=r(5669),i=r(4666),o=i.assert,a=i.cachedProperty,s=i.parseBytes;function l(e,t){this.eddsa=e,"object"!=typeof t&&(t=s(t)),Array.isArray(t)&&(o(t.length===2*e.encodingLength,"Signature has invali
2d size"),t={R:t.slice(0,e.encodingLength),S:t.slice(e.encodingLength)}),o(t.R&&t.S,"Signature without R or S"),e.isPoint(t.R)&&(this._R=t.R),t.S instanceof n&&(this._S=t.S),this._Rencoded=Array.isArray(t.R)?t.R:t.Rencoded,this._Sencoded=Array.isArray(t.S)?t.S:t.Sencoded}a(l,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),a(l,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),a(l,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),a(l,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),l.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},l.prototype.toHex=function(){return i.encode(this.toBytes(),"hex").toUpperCase()},e.exports=l},6938:function(e){e
vendor: 18,403 bytes, line 2
2.exports={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0
vendor: 7,734 bytes, line 2
2a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}},
vendor: 48,903 bytes, line 2
24666:function(e,t,r){"use strict";var n=t,i=r(5669),o=r(6976),a=r(4010);n.assert=o,n.toArray=a.toArray,n.zero2=a.zero2,n.toHex=a.toHex,n.encode=a.encode,n.getNAF=function(e,t,r){var n,i=new Array(Math.max(e.bitLength(),r)+1);for(n=0;n<i.length;n+=1)i[n]=0;var o=1<<t+1,a=e.clone();for(n=0;n<i.length;n++){var s,l=a.andln(o-1);a.isOdd()?(s=l>(o>>1)-1?(o>>1)-l:l,a.isubn(s)):s=0,i[n]=s,a.iushrn(1)}return i},n.getJSF=function(e,t){var r=[[],[]];e=e.clone(),t=t.clone();for(var n,i=0,o=0;e.cmpn(-i)>0||t.cmpn(-o)>0;){var a,s,l=e.andln(3)+i&3,u=t.andln(3)+o&3;3===l&&(l=-1),3===u&&(u=-1),a=1&l?3!==(n=e.andln(7)+i&7)&&5!==n||2!==u?l:-l:0,r[0].push(a),s=1&u?3!==(n=t.andln(7)+o&7)&&5!==n||2!==l?u:-u:0,r[1].push(s),2*i===a+1&&(i=1-i),2*o===s+1&&(o=1-o),e.iushrn(1),t.iushrn(1)}return r},n.cachedProperty=function(e,t,r){var n="_"+t;e.prototype[t]=function(){return void 0!==this[n]?this[n]:this[n]=r.call(this)}},n.parseBytes=function(e){return"string"==typeof e?n.toArray(e,"hex"):e},n.intFromLE=function(e){return new i(e,"hex","le")}},5669:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(9368).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},7572:function(e){"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},1774:function(e){"use strict";e.exports=EvalError},4470:function(e){"use strict";e.exports=Error},5675:function(e){"use strict";e.exports=RangeError},4407:function(e){"use strict";e.exports=ReferenceError},6315:function(e){"use strict";e.exports=SyntaxError},4500:function(e){"use strict";e.exports=TypeError},836:function(e){"use strict";e.exports=URIError},7909:function(e){"use strict";e.exports=Object},6877:function(e,t,r){var n=r(7052).Buffer,i=r(2339);e.exports=function(e,t,r,o){if(n.isBuffer(e)||(e=n.from(e,"binary")),t&&(n.isBuffer(t)||(t=n.from(t,"binary")),8!==t.length))throw new RangeError("salt should be Buffer with 8 byte length");for(var a=r/8,s=n.alloc(a),l=n.alloc(o||0),u=n.alloc(0);a>0||o>0;){var c=new i;c.update(u),c.update(e),t&&c.update(t),u=c.digest();var d=0;if(a>0){var h=s.length-a;d=Math.min(a,u.length),u.copy(s,h,0,d),a-=d}if(d<u.length&&o>0){var f=l.length-o,p=Math.min(o,u.length-d);u.copy(l,f,d,d+p),o-=p}}return u.fill(0),{key:s,iv:l}}},1401:function(e,t,r){"use strict";var n=r(1657),i=Object.prototype.toString,o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){if(!n(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=r),"[object Array]"===i.call(e)?function(e,t,r){for(var n=0,i=e.length;n<i;n++)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,a):"string"==typeof e?function(e,t,r){for(var n=0,i=e.length;n<i;n++)null==r?t(e.charAt(n),n,e):t.call(r,e.charAt(n),n,e)}(e,t,a):function(e,t,r){for(var n in e)o.call(e,n)&&(null==r?t(e[n],n,e):t.call(r,e[n],n,e))}(e,t,a)}},6434:function(e){"use strict";var t=Object.prototype.toString,r=Math.max,n=function(e,t){for(var r=[],n=0;n<e.length;n+=1)r[n]=e[n];for(var i=0;i<t.length;i+=1)r[i+e.length]=t[i];return r};e.exports=function(e){var i=this;if("function"!=typeof i||"[object Function]"!==t.apply(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);for(var o,a=function(e,t){for(var r=[],n=t||0,i=0;n<e.length;n+=1,i+=1)r[i]=e[n];return r}(arguments,1),s=r(0,i.length-a.length),l=[],u=0;u<s;u++)l[u]="$"+u;if(o=Function("binder","return function ("+function(e,t){for(var r="",n=0;n<e.length;n+=1)r+=e[n],n+1<e.length&&(r+=t);return r}(l,",")+"){ return binder.apply(this,arguments); }")(function(){if(this instanceof o){var t=i.apply(this,n(a,arguments));return Object(t)===t?t:this}return i.apply(e,n(a,arguments))}),i.prototype){var c=function(){};c.prototype=i.prototype,o.prototype=new c,c.prototype=null}return o}},762:function(e,t,r){"use strict";var n=r(6434);e.exports=Function.prototype.bind||n},6088:function(e,t,r){"use strict";var n,i=r(7909),o=r(4470),a=r(1774),s=r(5675),l=r(4407),u=r(6315),c=r(4500),d=r(836),h=r(9047),f=r(8601),p=r(9609),m=r(331),g=r(8785),b=Function,y=function(e){try{return b('"use strict"; return ('+e+").constructor;")()}catch(e){}},v=r(3264),w=r(7572),x=function(){throw new c},M=v?function(){try{return x}catch(e){try{return v(arguments,"callee").get}catch(e){return x}}}():x,_=r(5486)(),O=r(1055),j="function"==typeof Reflect&&Reflect.getPrototypeOf||i.getPrototypeOf||O,S=r(3767),A=r(3499),P={},k="undefined"!=typeof Uint8Array&&j?j(Uint8Array):n,T={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":_&&j?j([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":P,"%AsyncGenerator%":P,"%AsyncGeneratorFunction%":P,"%AsyncIteratorPrototype%":P,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":o,"%eval%":eval,"%EvalError%":a,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":b,"%GeneratorFunction%":P,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%
2IteratorPrototype%":_&&j?j(j([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&_&&j?j((new Map)[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":i,"%Object.getOwnPropertyDescriptor%":v,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&_&&j?j((new Set)[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&j?j(""[Symbol.iterator]()):n,"%Symbol%":_?Symbol:n,"%SyntaxError%":u,"%ThrowTypeError%":M,"%TypedArray%":k,"%TypeError%":c,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet,"%Function.prototype.call%":A,"%Function.prototype.apply%":S,"%Object.defineProperty%":w,"%Math.abs%":h,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":g};if(j)try{null.error}catch(e){var E=j(j(e));T["%Error.prototype%"]=E}var C=function e(t){var r;if("%AsyncFunction%"===t)r=y("async function () {}");else if("%GeneratorFunction%"===t)r=y("function* () {}");else if("%AsyncGeneratorFunction%"===t)r=y("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var i=e("%AsyncGenerator%");i&&j&&(r=j(i.prototype))}return T[t]=r,r},D={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},N=r(762),I=r(4002),R=N.call(A,Array.prototype.concat),L=N.call(S,Array.prototype.splice),B=N.
vendor: 72,953 bytes, line 2
2call(A,String.prototype.replace),q=N.call(A,String.prototype.slice),U=N.call(A,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,F=/\\(\\)?/g,$=function(e,t){var r,n=e;if(I(D,n)&&(n="%"+(r=D[n])[0]+"%"),I(T,n)){var i=T[n];if(i===P&&(i=C(n)),void 0===i&&!t)throw new c("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:r,name:n,value:i}}throw new u("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new c('"allowMissing" argument must be a boolean');if(null===U(/^%?[^%]*%?$/,e))throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var r=function(e){var t=q(e,0,1),r=q(e,-1);if("%"===t&&"%"!==r)throw new u("invalid intrinsic syntax, expected closing `%`");if("%"===r&&"%"!==t)throw new u("invalid intrinsic syntax, expected opening `%`");var n=[];return B(e,z,function(e,t,r,i){n[n.length]=r?B(i,F,"$1"):t||e}),n}(e),n=r.length>0?r[0]:"",i=$("%"+n+"%",t),o=i.name,a=i.value,s=!1,l=i.alias;l&&(n=l[0],L(r,R([0,1],l)));for(var d=1,h=!0;d<r.length;d+=1){var f=r[d],p=q(f,0,1),m=q(f,-1);if(('"'===p||"'"===p||"`"===p||'"'===m||"'"===m||"`"===m)&&p!==m)throw new u("property names with quotes must have matching quotes");if("constructor"!==f&&h||(s=!0),I(T,o="%"+(n+="."+f)+"%"))a=T[o];else if(null!=a){if(!(f in a)){if(!t)throw new c("base intrinsic for "+e+" exists, but the property is not available.");return}if(v&&d+1>=r.length){var g=v(a,f);a=(h=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:a[f]}else h=I(a,f),a=a[f];h&&!s&&(T[o]=a)}}return a}},5556:function(e){"use strict";e.exports=Object.getOwnPropertyDescriptor},3264:function(e,t,r){"use strict";var n=r(5556);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},1503:function(e,t,r){"use strict";var n=r(7572),i=function(){return!!n};i.hasArrayLengthDefineBug=function(){if(!n)return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=i},5486:function(e,t,r){"use strict";var n="undefined"!=typeof Symbol&&Symbol,i=r(9444);e.exports=function(){return"function"==typeof n&&("function"==typeof Symbol&&("symbol"==typeof n("foo")&&("symbol"==typeof Symbol("bar")&&i())))}},9444:function(e){"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),r=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(r))return!1;for(var n in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var o=Object.getOwnPropertyDescriptor(e,t);if(42!==o.value||!0!==o.enumerable)return!1}return!0}},7505:function(e,t,r){"use strict";var n=r(9444);e.exports=function(){return n()&&!!Symbol.toStringTag}},2304:function(e,t,r){"use strict";var n=r(602).Buffer,i=r(5607).Transform;function o(e){i.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(967)(o,i),o.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},o.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)};var a="undefined"!=typeof Uint8Array,s="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&ArrayBuffer.isView&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);o.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");e=function(e,t){if(e instanceof n)return e;if("string"==typeof e)return n.from(e,t);if(s&&ArrayBuffer.isView(e)){if(0===e.byteLength)return n.alloc(0);var r=n.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}if(a&&e instanceof Uint8Array)return n.from(e);if(n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}(e,t);for(var r=this._block,i=0;this._blockOffset+e.length-i>=this._blockSize;){for(var o=this._blockOffset;o<this._blockSize;)r[o++]=e[i++];this._update(),this._blockOffset=0}for(;i<e.length;)r[this._blockOffset++]=e[i++];for(var l=0,u=8*e.length;u>0;++l)this._length[l]+=u,(u=this._length[l]/4294967296|0)>0&&(this._length[l]-=4294967296*u);return this},o.prototype._update=function(){throw new Error("_update is not implemented")},o.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},o.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=o},602:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},4243:function(e,t,r){var n=t;n.utils=r(8741),n.common=r(6583),n.sha=r(6426),n.ripemd=r(6929),n.hmac=r(153),n.sha1=n.sha.sha1,n.sha256=n.sha.sha256,n.sha224=n.sha.sha224,n.sha384=n.sha.sha384,n.sha512=n.sha.sha512,n.ripemd160=n.ripemd.ripemd160},6583:function(e,t,r){"use strict";var n=r(8741),i=r(6976);function o(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}t.BlockHash=o,o.prototype.update=function(e,t){if(e=n.toArray(e,t),this.pending?this.pending=this.pending.concat(e):this.pending=e,this.pendingTotal+=e.length,this.pending.length>=this._delta8){var r=(e=this.pending).length%this._delta8;this.pending=e.slice(e.length-r,e.length),0===this.pending.length&&(this.pending=null),e=n.join32(e,0,e.length-r,this.endian);for(var i=0;i<e.length;i+=this._delta32)this._update(e,i,i+this._delta32)}return this},o.prototype.digest=function(e){return this.update(this._pad()),i(null===this.pending),this._digest(e)},o.prototype._pad=function(){var e=this.pendingTotal,t=this._delta8,r=t-(e+this.padLength)%t,n=new Array(r+this.padLength);n[0]=128;for(var i=1;i<r;i++)n[i]=0;if(e<<=3,"big"===this.endian){for(var o=8;o<this.padLength;o++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=e>>>24&255,n[i++]=e>>>16&255,n[i++]=e>>>8&255,n[i++]=255&e}else for(n[i++]=255&e,n[i++]=e>>>8&255,n[i++]=e>>>16&255,n[i++]=e>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,o=8;o<this.padLength;o++)n[i++]=0;return n}},153:function(e,t,r){"use strict";var n=r(8741),i=r(6976);function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);this.Hash=e,this.blockSize=e.blockSize/8,this.outSize=e.outSize/8,this.inner=null,this.outer=null,this._init(n.toArray(t,r))}e.exports=o,o.prototype._init=function(e){e.length>this.blockSize&&(e=(new this.Hash).update(e).digest()),i(e.length<=this.blockSize);for(var t=e.length;t<this.blockSize;t++)e.push(0);for(t=0;t<e.length;t++)e[t]^=54;for(this.inner=(new this.Hash).update(e),t=0;t<e.length;t++)e[t]^=106;this.outer=(new this.Hash).update(e)},o.prototype.update=function(e,t){return this.inner.update(e,t),this},o.prototype.digest=function(e){return this.outer.update(this.inner.digest()),this.outer.digest(e)}},6929:function(e,t,r){"use strict";var n=r(8741),i=r(6583),o=n.rotl32,a=n.sum32,s=n.sum32_3,l=n.sum32_4,u=i.BlockHash;function c(){if(!(this instanceof c))return new c;u.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}function d(e,t,r,n){return e<=15?t^r^n:e<=31?t&r|~t&n:e<=47?(t|~r)^n:e<=63?t&n|r&~n:t^(r|~n)}function h(e){return e<=15?0:e<=31?1518500249:e<=47?1859775393:e<=63?2400959708:2840853838}function f(e){return e<=15?1352829926:e<=31?1548603684:e<=47?1836072691:e<=63?2053994217:0}n.inherits(c,u),t.ripemd160=c,c.blockSize=512,c.outSize=160,c.hmacStrength=192,c.padLength=64,c.prototype._update=function(e,t){for(var r=this.h[0],n=this.h[1],i=this.h[2],u=this.h[3],c=this.h[4],y=r,v=n,w=i,x=u,M=c,_=0;_<80;_++){var O=a(o(l(r,d(_,n,i,u),e[p[_]+t],h(_)),g[_]),c);r=c,c=u,u=o(i,10),i=n,n=O,O=a(o(l(y,d(79-_,v,w,x),e[m[_]+t],f(_)),b[_]),M),y=M,M=x,x=o(w,10),w=v,v=O}O=s(this.h[1],i,x),this.h[1]=s(this.h[2],u,M),this.h[2]=s(this.h[3],c,y),this.h[3]=s(this.h[4],r,v),this.h[4]=s(this.h[0],n,w),this.h[0]=O},c.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"little"):n.split32(this.h,"little")};var p=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],m=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],g=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],b=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]},6426:function(e,t,r){"use strict";t.sha1=r(6898),t.sha224=r(7673),t.sha256=r(2240),t.sha384=r(6116),t.sha512=r(6917)},6898:function(e,t,r){"use strict";var n=r(8741),i=r(6583),o=r(4496),a=n.rotl32,s=n.sum32,l=n.sum32_5,u=o.ft_1,c=i.BlockHash,d=[1518500249,1859775393,2400959708,3395469782];function h(){if(!(this instanceof h))return new h;c.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}n.inherits(h,c),e.exports=h,h.blockSize=512,h.outSize=160,h.hmacStrength=80,h.padLength=64,h.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=a(r[n-3]^r[n-8]^r[n-14]^r[n-16],1);var i=this.h[0],o=this.h[1],c=this.h[2],h=this.h[3],f=this.h[4];for(n=0;n<r.length;n++){var p=~~(n/20),m=l(a(i,5),u(p,o,c,h),f,r[n],d[p]);f=h,h=c,c=a(o,30),o=i,i=m}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],c),this.h[3]=s(this.h[3],h),this.h[4]=s(this.h[4],f)},h.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},7673:function(e,t,r){"use strict";var n=r(8741),i=r(2240);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=512,o.outSize=224,o.hmacStrength=192,o.padLength=64,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,7),"big"):n.split32(this.h.slice(0,7),"big")}},2240:function(e,t,r){"use strict";var n=r(8741),i=r(6583),o=r(4496),a=r(6976),s=n.sum32,l=n.sum32_4,u=n.sum32_5,c=o.ch32,d=o.maj32,h=o.s0_256,f=o.s1_256,p=o.g0_256,m=o.g1_256,g=i.BlockHash,b=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function y(){if(!(this instanceof y))return new y;g.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=b,this.W=new Array(64)}n.inherits(y,g),e.exports=y,y.blockSize=512,y.outSize=256,y.hmacStrength=192,y.padLength=64,y.prototype._update=function(e,t){for(var r=this.W,n=0;n<16;n++)r[n]=e[t+n];for(;n<r.length;n++)r[n]=l(m(r[n-2]),r[n-7],p(r[n-15]),r[n-16]);var i=this.h[0],o=this.h[1],g=this.h[2],b=this.h[3],y=this.h[4],v=this.h[5],w=this.h[6],x=this.h[7];for(a(this.k.length===r.length),n=0;n<r.length;n++){var M=u(x,f(y),c(y,v,w),this.k[n],r[n]),_=s(h(i),d(i,o,g));x=w,w=v,v=y,y=s(b,M),b=g,g=o,o=i,i=s(M,_)}this.h[0]=s(this.h[0],i),this.h[1]=s(this.h[1],o),this.h[2]=s(this.h[2],g),this.h[3]=s(this.h[3],b),this.h[4]=s(this.h[4],y),this.h[5]=s(this.h[5],v),this.h[6]=s(this.h[6],w),this.h[7]=s(this.h[7],x)},y.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},6116:function(e,t,r){"use strict";var n=r(8741),i=r(6917);function o(){if(!(this instanceof o))return new o;i.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}n.inherits(o,i),e.exports=o,o.blockSize=1024,o.outSize=384,o.hmacStrength=192,o.padLength=128,o.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h.slice(0,12),"big"):n.split32(this.h.slice(0,12),"big")}},6917:function(e,t,r){"use strict";var n=r(8741),i=r(6583),o=r(6976),a=n.rotr64_hi,s=n.rotr64_lo,l=n.shr64_hi,u=n.shr64_lo,c=n.sum64,d=n.sum64_hi,h=n.sum64_lo,f=n.sum64_4_hi,p=n.sum64_4_lo,m=n.sum64_5_hi,g=n.sum64_5_lo,b=i.BlockHash,y=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function v(){if(!(this instanceof v))return new v;b.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=y,this.W=new Array(160)}function w(e,t,r,n,i){var o=e&r^~e&i;return o<0&&(o+=4294967296),o}function x(e,t,r,n,i,o){var a=t&n^~t&o;return a<0&&(a+=4294967296),a}function M(e,t,r,n,i){var o=e&r^e&i^r&i;return o<0&&(o+=4294967296),o}function _(e,t,r,n,i,o){var a=t&n^t&o^n&o;return a<0&&(a+=4294967296),a}function O(e,t){var r=a(e,t,28)^a(t,e,2)^a(t,e,7);return r<0&&(r+=4294967296),r}function j(e,t){var r=s(e,t,28)^s(t,e,2)^s(t,e,7);return r<0&&(r+=4294967296),r}function S(e,t){var r=a(e,t,14)^a(e,t,18)^a(t,e,9);return r<0&&(r+=4294967296),r}function A(e,t){var r=s(e,t,14)^s(e,t,18)^s(t,e,9);return r<0&&(r+=4294967296),r}function P(e,t){var r=a(e,t,1)^a(e,t,8)^l(e,t,7);return r<0&&(r+=4294967296),r}function k(e,t){var r=s(e,t,1)^s(e,t,8)^u(e,t,7);return r<0&&(r+=4294967296),r}function T(e,t){var r=a(e,t,19)^a(t,e,29)^l(e,t,6);return r<0&&(r+=4294967296),r}function E(e,t){var r=s(e,t,19)^s(t,e,29)^u(e,t,6);return r<0&&(r+=4294967296),r}n.inherits(v,b),e.exports=v,v.blockSize=1024,v.outSize=512,v.hmacStrength=192,v.padLength=128,v.prototype._prepareBlock=function(e,t){for(var r=this.W,n=0;n<32;n++)r[n]=e[t+n];for(;n<r.length;n+=2){var i=T(r[n-4],r[n-3]),o=E(r[n-4],r[n-3]),a=r[n-14],s=r[n-13],l=P(r[n-30],r[n-29]),u=k(r[n-30],r[n-29]),c=r[n-32],d=r[n-31];r[n]=f(i,o,a,s,l,u,c,d),r[n+1]=p(i,o,a,s,l,u,c,d)}},v.prototype._update=function(e,t){this._prepareBlock(e,t);var r=this.W,n=this.h[0],i=this.h[1],a=this.h[2],s=this.h[3],l=this.h[4],u=this.h[5],f=this.h[6],p=this.h[7],b=this.h[8],y=this.h[9],v=this.h[10],P=this.h[11],k=this.h[12],T=this.h[13],E=this.h[14],C=this.h[15];o(this.k.length===r.length);for(var D=0;D<r.length;D+=2){var N=E,I=C,R=S(b,y),L=A(b,y),B=w(b,y,v,P,k),q=x(b,y,v,P,k,T),U=this.k[D],z=this.k[D+1],F=r[D],$=r[D+1],V=m(N,I,R,L,B,q,U,z,F,$),H=g(N,I,R,L,B,q,U,z,F,$);N=O(n,i),I=j(n,i),R=M(n,i,a,s,l),L=_(n,i,a,s,l,u);var W=d(N,I,R,L),G=h(N,I,R,L);E=k,C=T,k=v,T=P,v=b,P=y,b=d(f,p,V,H),y=h(p,p,V,H),f=l,p=u,l=a,u=s,a=n,s=i,n=d(V,H,W,G),i=h(V,H,W,G)}c(this.h,0,n,i),c(this.h,2,a,s),c(this.h,4,l,u),c(this.h,6,f,p),c(this.h,8,b,y),c(this.h,10,v,P),c(this.h,12,k,T),c(this.h,14,E,C)},v.prototype._digest=function(e){return"hex"===e?n.toHex32(this.h,"big"):n.split32(this.h,"big")}},4496:function(e,t,r){"use strict";var n=r(8741).rotr32;function i(e,t,r){return e&t^~e&r}function o(e,t,r){return e&t^e&r^t&r}function a(e,t,r){return e^t^r}t.ft_1=function(e,t,r,n){return 0===e?i(t,r,n):1===e||3===e?a(t,r,n):2===e?o(t,r,n):void 0},t.ch32=i,t.maj32=o,t.p32=a,t.s0_256=function(e){return n(e,2)^n(e,13)^n(e,22)},t.s1_256=function(e){return n(e,6)^n(e,11)^n(e,25)},t.g0_256=function(e){return n(e,7)^n(e,18)^e>>>3},t.g1_256=function(e){return n(e,17)^n(e,19)^e>>>10}},8741:function(e,t,r){"use strict";var n=r(6976),i=r(967);function o(e,t){return 55296==(64512&e.charCodeAt(t))&&(!(t<0||t+1>=e.length)&&56320==(64512&e.charCodeAt(t+1)))}function a(e){return(e>>>24|e>>>8&65280|e<<8&16711680|(255&e)<<24)>>>0}function s(e){return 1===e.length?"0"+e:e}function l(e){return 7===e.length?"0"+e:6===e.length?"00"+e:5===e.length?"000"+e:4===e.length?"0000"+e:3===e.length?"00000"+e:2===e.length?"000000"+e:1===e.length?"0000000"+e:e}t.inherits=i,t.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"==typeof e)if(t){if("hex"===t)for((e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e),i=0;i<e.length;i+=2)r.push(parseInt(e[i]+e[i+1],16))}else for(var n=0,i=0;i<e.length;i++){var a=e.charCodeAt(i);a<128?r[n++]=a:a<2048?(r[n++]=a>>6|192,r[n++]=63&a|128):o(e,i)?(a=65536+((1023&a)<<10)+(1023&e.charCodeAt(++i)),r[n++]=a>>18|240,r[n++]=a>>12&63|128,r[n++]=a>>6&63|128,r[n++]=63&a|128):(r[n++]=a>>12|224,r[n++]=a>>6&63|128,r[n++]=63&a|128)}else for(i=0;i<e.length;i++)r[i]=0|e[i];return r},t.toHex=function(e){for(var t="",r=0;r<e.length;r++)t+=s(e[r].toString(16));return t},t.htonl=a,t.toHex32=function(e,t){for(var r="",n=0;n<e.length;n++){var i=e[n];"little"===t&&(i=a(i)),r+=l(i.toString(16))}return r},t.zero2=s,t.zero8=l,t.join32=function(e,t,r,i){var o=r-t;n(o%4==0);for(var a=new Array(o/4),s=0,l=t;s<a.length;s++,l+=4){var u;u="big"===i?e[l]<<24|e[l+1]<<16|e[l+2]<<8|e[l+3]:e[l+3]<<24|e[l+2]<<16|e[l+1]<<8|e[l],a[s]=u>>>0}return a},t.split32=function(e,t){for(var r=new Array(4*e.length),n=0,i=0;n<e.length;n++,i+=4){var o=e[n];"big"===t?(r[i]=o>>>24,r[i+1]=o>>>16&255,r[i+2]=o>>>8&255,r[i+3]=255&o):(r[i+3]=o>>>24,r[i+2]=o>>>16&255,r[i+1]=o>>>8&255,r[i]=255&o)}return r},t.rotr32=function(e,t){return e>>>t|e<<32-t},t.rotl32=function(e,t){return e<<t|e>>>32-t},t.sum32=function(e,t){return e+t>>>0},t.sum32_3=function(e,t,r){return e+t+r>>>0},t.sum32_4=function(e,t,r,n){return e+t+r+n>>>0},t.sum32_5=function(e,t,r,n,i){return e+t+r+n+i>>>0},t.sum64=function(e,t,r,n){var i=e[t],o=n+e[t+1]>>>0,a=(o<n?1:0)+r+i;e[t]=a>>>0,e[t+1]=o},t.sum64_hi=function(e,t,r,n){return(t+n>>>0<t?1:0)+e+r>>>0},t.sum64_lo=function(e,t,r,n){return t+n>>>0},t.sum64_4_hi=function(e,t,r,n,i,o,a,s){var l=0,u=t;return l+=(u=u+n>>>0)<t?1:0,l+=(u=u+o>>>0)<o?1:0,e+r+i+a+(l+=(u=u+s>>>0)<s?1:0)>>>0},t.sum64_4_lo=function(e,t,r,n,i,o,a,s){return t+n+o+s>>>0},t.sum64_5_hi=function(e,t,r,n,i,o,a,s,l,u){var c=0,d=t;return c+=(d=d+n>>>0)<t?1:0,c+=(d=d+o>>>0)<o?1:0,c+=(d=d+s>>>0)<s?1:0,e+r+i+a+l+(c+=(d=d+u>>>0)<u?1:0)>>>0},t.sum64_5_lo=function(e,t,r,n,i,o,a,s,l,u){return t+n+o+s+u>>>0},t.rotr64_hi=function(e,t,r){return(t<<32-r|e>>>r)>>>0},t.rotr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0},t.shr64_hi=function(e,t,r){return e>>>r},t.shr64_lo=function(e,t,r){return(e<<32-r|t>>>r)>>>0}},4002:function(e,t,r){"use strict";var n=Function.prototype.call,i=Object.prototype.hasOwnProperty,o=r(762);e.exports=o.call(n,i)},5294:function(e,t,r){"use strict";var n=r(4243),i=r(4010),o=r(6976);function a(e){if(!(this instanceof a))return new a(e);this.hash=e.hash,this.predResist=!!e.predResist,this.outLen=this.hash.outSize,this.minEntropy=e.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var t=i.toArray(e.entropy,e.entropyEnc||"hex"),r=i.toArray(e.nonce,e.nonceEnc||"hex"),n=i.toArray(e.pers,e.persEnc||"hex");o(t.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(t,r,n)}e.exports=a,a.prototype._init=function(e,t,r){var n=e.concat(t).concat(r);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var i=0;i<this.V.length;i++)this.K[i]=0,this.V[i]=1;this._update(n),this._reseed=1,this.reseedInterval=281474976710656},a.prototype._hmac=function(){return new n.hmac(this.hash,this.K)},a.prototype._update=function(e){var t=this._hmac().update(this.V).update([0]);e&&(t=t.update(e)),this.K=t.digest(),this.V=this._hmac().update(this.V).digest(),e&&(this.K=this._hmac().update(this.V).update([1]).update(e).digest(),this.V=this._hmac().update(this.V).digest())},a.prototype.reseed=function(e,t,r,n){"string"!=typeof t&&(n=r,r=t,t=null),e=i.toArray(e,t),r=i.toArray(r,n),o(e.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(e.concat(r||[])),this._reseed=1},a.prototype.generate=function(e,t,r,n){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");"string"!=typeof t&&(n=r,r=t,t=null),r&&(r=i.toArray(r,n||"hex"),this._update(r));for(var o=[];o.length<e;)this.V=this._hmac().update(this.V).digest(),o=o.concat(this.V);var a=o.slice(0,e);return this._update(r),this._reseed++,i.encode(a,t)}},4590:function(e,t){t.read=function(e,t,r,n,i){var o,a,s=8*i-n-1,l=(1<<s)-1,u=l>>1,c=-7,d=r?i-1:0,h=r?-1:1,f=e[t+d];for(d+=h,o=f&(1<<-c)-1,f>>=-c,c+=s;c>0;o=256*o+e[t+d],d+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=n;c>0;a=256*a+e[t+d],d+=h,c-=8);if(0===o)o=1-u;else{if(o===l)return a?NaN:1/0*(f?-1:1);a+=Math.pow(2,n),o-=u}return(f?-1:1)*a*Math.pow(2,o-n)},t.write=function(e,t,r,n,i,o){var a,s,l,u=8*o-i-1,c=(1<<u)-1,d=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,f=n?0:o-1,p=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(a++,l/=2),a+d>=c?(s=0,a=c):a+d>=1?(s=(t*l-1)*Math.pow(2,i),a+=d):(s=t*Math.pow(2,d-1)*Math.pow(2,i),a=0));i>=8;e[r+f]=255&s,f+=p,s/=256,i-=8);for(a=a<<i|s,u+=i;u>0;e[r+f]=255&a,f+=p,a/=256,u-=8);e[r+f-p]|=128*m}},967:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},1657:function(e){"use strict";var t,r,n=Function.prototype.toString,i="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof i&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw r}}),r={},i(function(){throw 42},null,t)}catch(e){e!==r&&(i=null)}else i=null;var o=/^\s*class\b/,a=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},s=function(e){try{return!a(e)&&(n.call(e),!0)}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,c=!(0 in[,]),d=function(){return!1};if("object"==typeof document){var h=document.all;l.call(h)===l.call(document.all)&&(d=function(e){if((c||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=i?function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;try{i(e,null,t)}catch(e){if(e!==r)return!1}return!a(e)&&s(e)}:function(e){if(d(e))return!0;if(!e)return!1;if("function"!=typeof e&&"object"!=typeof e)return!1;if(u)return s(e);if(a(e))return!1;var t=l.call(e);return!("[object Function]"!==t&&"[object GeneratorFunction]"!==t&&!/^\[object HTML/.test(t))&&s(e)}},8991:function(e,t,r){"use strict";var n=r(7506);e.exports=function(e){return!!n(e)}},1079:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},9047:function(e){"use strict";e.exports=Math.abs},8601:function(e){"use strict";e.exports=Math.floor},9609:function(e){"use strict";e.exports=Math.max},331:function(e){"use strict";e.exports=Math.min},8785:function(e){"use strict";e.exports=Math.pow},2339:function(e,t,r){"use strict";var n=r(967),i=r(2304),o=r(7052).Buffer,a=new Array(16);function s(){i.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}function l(e,t){return e<<t|e>>>32-t}function u(e,t,r,n,i,o,a){return l(e+(t&r|~t&n)+i+o|0,a)+t|0}function c(e,t,r,n,i,o,a){return l(e+(t&n|r&~n)+i+o|0,a)+t|0}function d(e,t,r,n,i,o,a){return l(e+(t^r^n)+i+o|0,a)+t|0}function h(e,t,r,n,i,o,a){return l(e+(r^(t|~n))+i+o|0,a)+t|0}n(s,i),s.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);var r=this._a,n=this._b,i=this._c,o=this._d;r=u(r,n,i,o,e[0],3614090360,7),o=u(o,r,n,i,e[1],3905402710,12),i=u(i,o,r,n,e[2],606105819,17),n=u(n,i,o,r,e[3],3250441966,22),r=u(r,n,i,o,e[4],4118548399,7),o=u(o,r,n,i,e[5],1200080426,12),i=u(i,o,r,n,e[6],2821735955,17),n=u(n,i,o,r,e[7],4249261313,22),r=u(r,n,i,o,e[8],1770035416,7),o=u(o,r,n,i,e[9],2336552879,12),i=u(i,o,r,n,e[10],4294925233,17),n=u(n,i,o,r,e[11],2304563134,22),r=u(r,n,i,o,e[12],1804603682,7),o=u(o,r,n,i,e[13],4254626195,12),i=u(i,o,r,n,e[14],2792965006,17),r=c(r,n=u(n,i,o,r,e[15],1236535329,22),i,o,e[1],4129170786,5),o=c(o,r,n,i,e[6],3225465664,9),i=c(i,o,r,n,e[11],643717713,14),n=c(n,i,o,r,e[0],3921069994,20),r=c(r,n,i,o,e[5],3593408605,5),o=c(o,r,n,i,e[10],38016083,9),i=c(i,o,r,n,e[15],3634488961,14),n=c(n,i,o,r,e[4],3889429448,20),r=c(r,n,i,o,e[9],568446438,5),o=c(o,r,n,i,e[14],3275163606,9),i=c(i,o,r,n,e[3],4107603335,14),n=c(n,i,o,r,e[8],1163531501,20),r=c(r,n,i,o,e[13],2850285829,5),o=c(o,r,n,i,e[2],4243563512,9),i=c(i,o,r,n,e[7],1735328473,14),r=d(r,n=c(n,i,o,r,e[12],2368359562,20),i,o,e[5],4294588738,4),o=d(o,r,n,i,e[8],2272392833,11),i=d(i,o,r,n,e[11],1839030562,16),n=d(n,i,o,r,e[14],4259657740,23),r=d(r,n,i,o,e[1],2763975236,4),o=d(o,r,n,i,e[4],1272893353,11),i=d(i,o,r,n,e[7],4139469664,16),n=d(n,i,o,r,e[10],3200236656,23),r=d(r,n,i,o,e[13],681279174,4),o=d(o,r,n,i,e[0],3936430074,11),i=d(i,o,r,n,e[3],3572445317,16),n=d(n,i,o,r,e[6],76029189,23),r=d(r,n,i,o,e[9],3654602809,4),o=d(o,r,n,i,e[12],3873151461,11),i=d(i,o,r,n,e[15],530742520,16),r=h(r,n=d(n,i,o,r,e[2],3299628645,23),i,o,e[0],4096336452,6),o=h(o,r,n,i,e[7],1126891415,10),i=h(i,o,r,n,e[14],2878612391,15),n=h(n,i,o,r,e[5],4237533241,21),r=h(r,n,i,o,e[12],1700485571,6),o=h(o,r,n,i,e[3],2399980690,10),i=h(i,o,r,n,e[10],4293915773,15),n=h(n,i,o,r,e[1],2240044497,21),r=h(r,n,i,o,e[8],1873313359,6),o=h(o,r,n,i,e[15],4264355552,10),i=h(i,o,r,n,e[6],2734768916,15),n=h(n,i,o,r,e[13],1309151649,21),r=h(r,n,i,o,e[4],4149444226,6),o=h(o,r,n,i,e[11],3174756917,10),i=h(i,o,r,n,e[2],718787259,15),n=h(n,i,o,r,e[9],3951481745,21),this._a=this._a+r|0,this._b=this._b+n|0,this._c=this._c+i|0,this._d=this._d+o|0},s.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=o.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e},e.exports=s},5217:function(e,t,r){var n=r(7245),i=r(7040);function o(e){this.rand=e||new i.Rand}e.exports=o,o.create=function(e){return new o(e)},o.prototype._randbelow=function(e){var t=e.bitLength(),r=Math.ceil(t/8);do{var i=new n(this.rand.generate(r))}while(i.cmp(e)>=0);return i},o.prototype._randrange=function(e,t){var r=t.sub(e);return e.add(this._randbelow(r))},o.prototype.test=function(e,t,r){var i=e.bitLength(),o=n.mont(e),a=new n(1).toRed(o);t||(t=Math.max(1,i/48|0));for(var s=e.subn(1),l=0;!s.testn(l);l++);for(var u=e.shrn(l),c=s.toRed(o);t>0;t--){var d=this._randrange(new n(2),s);r&&r(d);var h=d.toRed(o).redPow(u);if(0!==h.cmp(a)&&0!==h.cmp(c)){for(var f=1;f<l;f++){if(0===(h=h.redSqr()).cmp(a))return!1;if(0===h.cmp(c))break}if(f===l)return!1}}return!0},o.prototype.getDivisor=function(e,t){var r=e.bitLength(),i=n.mont(e),o=new n(1).toRed(i);t||(t=Math.max(1,r/48|0));for(var a=e.subn(1),s=0;!a.testn(s);s++);for(var l=e.shrn(s),u=a.toRed(i);t>0;t--){var c=this._randrange(new n(2),a),d=e.gcd(c);if(0!==d.cmpn(1))return d;var h=c.toRed(i).redPow(l);if(0!==h.cmp(o)&&0!==h.cmp(u)){for(var f=1;f<s;f++){if(0===(h=h.redSqr()).cmp(o))return h.fromRed().subn(1).gcd(e);if(0===h.cmp(u))break}if(f===s)return(h=h.redSqr()).fromRed().subn(1).gcd(e)}}return!1}},7245:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(4688).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));
vendor: 5,146 bytes, line 2
2h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},6976:function(e){function t(e,t){if(!e)throw new Error(t||"Assertion failed")}e.exports=t,t.equal=function(e,t,r){if(e!=t)throw new Error(r||"Assertion failed: "+e+" != "+t)}},4010:function(e,t){"use strict";var r=t;function n(e){return 1===e.length?"0"+e:e}function i(e){for(var t="",r=0;r<e.length;r++)t+=n(e[r].toString(16));return t}r.toArray=function(e,t){if(Array.isArray(e))return e.slice();if(!e)return[];var r=[];if("string"!=typeof e){for(var n=0;n<e.length;n++)r[n]=0|e[n];return r}if("hex"===t){(e=e.replace(/[^a-z0-9]+/gi,"")).length%2!=0&&(e="0"+e);for(n=0;n<e.length;n+=2)r.push(parseInt(e[n]+e[n+1],16))}else for(n=0;n<e.length;n++){var i=e.charCodeAt(n),o=i>>8,a=255&i;o?r.push(o,a):r.push(a)}return r},r.zero2=n,r.toHex=i,r.encode=function(e,t){return"hex"===t?i(e):e}},2067:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n,i={exports:{}},o=i.exports={};function a(){throw new Error("setTimeout has not been defined")}function s(){throw new Error("clearTimeout has not been defined")}function l(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch(t){try{return r.call(null,e,0)}catch(t){return r.call(this,e,0)}}}!function(){try{r="function"==typeof setTimeout?setTimeout:a}catch(e){r=a}try{n="function"==typeof clearTimeout?clearTimeout:s}catch(e){n=s}}();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++h<t;)u&&u[h].run();h=-1,t=c.length}u=null,d=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===s||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{return n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function m(e,t){this.fun=e,this.array=t}function g(){}function b(){}o.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];c.push(new m(e,t)),1!==c.length||d||l(p)},m.prototype.run=function(){this.fun.apply(null,this.array)},o.title="browser",o.browser=!0,o.env={},o.argv=[],o.version="",o.versions={},o.on=g,o.addListener=g,o.once=g,o.off=g,o.removeListener=g,o.removeAllListeners=g,o.emit=g,o.prependListener=g,o.prependOnceListener=g,o.listeners=function(e){return[]},o.binding=function(e){throw new Error("process.binding is not supported")},o.cwd=function(){return"/"},o.chdir=function(e){throw new Error("process.chdir is not supported")},o.umask=function(){return 0};var y=i.exports.browser,v=b,w=i.exports.binding,x=b,M={},_=b,O=b,j=b,S=b,A=b,P="browser",k="browser",T="browser",E=[],C={nextTick:i.exports.nextTick,title:i.exports.title,browser:y,env:i.exports.env,argv:i.exports.argv,version:i.exports.version,versions:i.exports.versions,on:i.exports.on,addListener:i.exports.addListener,once:i.exports.once,off:i.exports.off,removeListener:i.exports.removeListener,removeAllListeners:i.exports.removeAllListeners,emit:i.exports.emit,emitWarning:v,prependListener:i.exports.prependListener,prependOnceListener:i.exports.prependOnceListener,listeners:i.exports.listeners,binding:w,cwd:i.exports.cwd,chdir:i.exports.chdir,umask:i.exports.umask,exit:x,pid:1,features:M,kill:_,dlopen:O,uptime:j,memoryUsage:S,uvCounters:A,platform:P,arch:k,execPath:T,execArgv:E};t.addListener=i.exports.addListener,t.arch=k,t.argv=i.exports.argv,t.b
vendor: 3,624 bytes, line 2
2inding=w,t.browser=y,t.chdir=i.exports.chdir,t.cwd=i.exports.cwd,t.default=C,t.dlopen=O,t.emit=i.exports.emit,t.emitWarning=v,t.env=i.exports.env,t.execArgv=E,t.execPath=T,t.exit=x,t.features=M,t.kill=_,t.listeners=i.exports.listeners,t.memoryUsage=S,t.nextTick=i.exports.nextTick,t.off=i.exports.off,t.on=i.exports.on,t.once=i.exports.once,t.pid=1,t.platform=P,t.prependListener=i.exports.prependListener,t.prependOnceListener=i.exports.prependOnceListener,t.removeAllListeners=i.exports.removeAllListeners,t.removeListener=i.exports.removeListener,t.title=i.exports.title,t.umask=i.exports.umask,t.uptime=j,t.uvCounters=A,t.version=i.exports.version,t.versions=i.exports.versions,t=e.exports=C},7772:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var i=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(r,n){function i(r){e.removeListener(t,o),n(r)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",i),r([].slice.call(arguments))}m(e,t,o,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&m(e,"error",t,r)}(e,i,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){var i,o,a,u;if(s(r),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),o=e._events),a=o[t]),void 0===a)a=o[t]=r,++e._eventsCount;else if("function"==typeof a?a=o[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(i=l(e))>0&&a.length>i&&!a.warned){a.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=e,c.type=t,c.count=a.length,u=c,console&&console.warn&&console.warn(u)}return e}function c(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},i=c.bind(n);return i.listener=r,n.wrapFn=i,i}function h(e,t,r){var n=e._events;if(void 0===n)return[];var i=n[t];return void 0===i?[]:"function"==typeof i?r?[i.listener||i]:[i]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(i):p(i,i.length)}function f(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function p(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function m(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,function i(o){n.once&&e.removeEventListener(t,i),r(o)})}}Object.defineProperty(o,"defaultMaxListeners",{enumerable:!0,get:function(){return a}
vendor: 10,972 bytes, line 2
2,set:function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),o.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},o.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||i(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},o.prototype.getMaxListeners=function(){return l(this)},o.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var i="error"===e,o=this._events;if(void 0!==o)i=i&&void 0===o.error;else if(!i)return!1;if(i){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var u=l.length,c=p(l,u);for(r=0;r<u;++r)n(c[r],this,t)}return!0},o.prototype.addListener=function(e,t){return u(this,e,t,!1)},o.prototype.on=o.prototype.addListener,o.prototype.prependListener=function(e,t){return u(this,e,t,!0)},o.prototype.once=function(e,t){return s(t),this.on(e,d(this,e,t)),this},o.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,d(this,e,t)),this},o.prototype.removeListener=function(e,t){var r,n,i,o,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0===--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(i=-1,o=r.length-1;o>=0;o--)if(r[o]===t||r[o].listener===t){a=r[o].listener,i=o;break}if(i<0)return this;0===i?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,i),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},o.prototype.off=o.prototype.removeListener,o.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0===--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var i,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(i=o[n])&&this.removeAllListeners(i);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):f.call(e,t)},o.prototype.listenerCount=f,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},1324:function(e,t,r){"use strict";var n=r(8275);t.certificate=r(5234);var i=n.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});t.RSAPrivateKey=i;var o=n.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});t.RSAPublicKey=o;var a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())});t.PublicKey=s;var l=n.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(a),this.key("subjectPrivateKey").octstr())});t.PrivateKey=l;var u=n.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});t.EncryptedPrivateKey=u;var c=n.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});t.DSAPrivateKey=c,t.DSAparam=n.define("DSAparam",function(){this.int()});var d=n.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),h=n.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(d),this.key("publicKey").optional().explicit(1).bitstr())});t.ECPrivateKey=h,t.signature=n.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())})},5234:function(e,t,r){"use strict";var n=r(8275),i=n.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),o=n.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),a=n.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),s=n.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(a),this.key("subjectPublicKey").bitstr())}),l=n.define("RelativeDistinguishedName",function(){this.setof(o)}),u=n.define("RDNSequence",function(){this.seqof(l)}),c=n.define("Name",function(){this.choice({rdnSequence:this.use(u)})}),d=n.define("Validity",function(){this.seq().obj(this.key("notBefore").use(i),this.key("notAfter").use(i))}),h=n.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),f=n.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(a),this.key("issuer").use(c),this.key("validity").use(d),this.key("subject").use(c),this.key("subjectPublicKeyInfo").use(s),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(h).optional())}),p=n.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(f),this.key("signatureAlgorithm").use(a),this.key("signatureValue").bitstr())});e.exports=p},3582:function(e,t,r){"use strict";var n=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,i=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,o=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,a=r(6877),s=r(2602),l=r(1533).Buffer;e.exports=function(e,t){var r,u=e.toString(),c=u.match(n);if(c){var d="aes"+c[1],h=l.from(c[2],"hex"),f=l.from(c[3].replace(/[\r\n]/g,""),"base64"),p=a(t,h.slice(0,8),parseInt(c[1],10)).key,m=[],g=s.createDecipheriv(d,p,h);m.push(g.update(f)),m.push(g.final()),r=l.concat(m)}else{var b=u.match(o);r=l.from(b[2].replace(/[\r\n]/g,""),"base64")}return{tag:u.match(i)[1],data:r}}},517:function(e,t,r){"use strict";var n=r(1324),i=r(5579),o=r(3582),a=r(2602),s=r(4755).pbkdf2Sync,l=r(1533).Buffer;function u(e){var t;"object"!=typeof e||l.isBuffer(e)||(t=e.passphrase,e=e.key),"string"==typeof e&&(e=l.from(e));var r,u,c=o(e,t),d=c.tag,h=c.data;switch(d){case"CERTIFICATE":u=n.certificate.decode(h,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(u||(u=n.PublicKey.decode(h,"der")),r=u.algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPublicKey.decode(u.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return u.subjectPrivateKey=u.subjectPublicKey,{type:"ec",data:u};case"1.2.840.10040.4.1":return u.algorithm.params.pub_key=n.DSAparam.decode(u.subjectPublicKey.data,"der"),{type:"dsa",data:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"ENCRYPTED PRIVATE KEY":h=function(e,t){var r=e.algorithm.decrypt.kde.kdeparams.salt,n=parseInt(e.algorithm.decrypt.kde.kdeparams.iters.toString(),10),o=i[e.algorithm.decrypt.cipher.algo.join(".")],u=e.algorithm.decrypt.cipher.iv,c=e.subjectPrivateKey,d=parseInt(o.split("-")[1],10)/8,h=s(t,r,n,d,"sha1"),f=a.createDecipheriv(o,h,u),p=[];return p.push(f.update(c)),p.push(f.final()),l.concat(p)}(h=n.EncryptedPrivateKey.decode(h,"der"),t);case"PRIVATE KEY":switch(r=(u=n.PrivateKey.decode(h,"der")).algorithm.algorithm.join(".")){case"1.2.840.113549.1.1.1":return n.RSAPrivateKey.decode(u.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:u.algorithm.curve,privateKey:n.ECPrivateKey.decode(u.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return u.algorithm.params.priv_key=n.DSAparam.decode(u.subjectPrivateKey,"der"),{type:"dsa",params:u.algorithm.params};default:throw new Error("unknown key id "+r)}case"RSA PUBLIC KEY":return n.RSAPublicKey.decode(h,"der");case"RSA PRIVATE KEY":return n.RSAPrivateKey.decode(h,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:n.DSAPrivateKey.decode(h,"der")};case"EC PRIVATE KEY":return{curve:(h=n.ECPrivateKey.decode(h,"der")).parameters.value,privateKey:h.privateKey};default:throw new Error("unknown key type "+d)}}u.signature=n.signature,e.exports=u},1533:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},4755:function(e,t,r){"use strict";t.pbkdf2=r(2343),t.pbkdf2Sync=r(1261)},2343:function(e,t,r){"use strict";var n,i,o=r(7351).Buffer,a=r(6425),s=r(6794),l=r(1261),u=r(8237),c=r.g.crypto&&r.g.crypto.subtle,d={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},h=[];
2function f(){return i||(i=r.g.process&&r.g.process.nextTick?r.g.process.nextTick:r.g.queueMicrotask?r.g.queueMicrotask:r.g.setImmediate?r.g.setImmediate:r.g.setTimeout)}function p(e,t,r,n,i){return c.importKey("raw",e,{name:"PBKDF2"},!1,["deriveBits"]).then(function(e){return c.deriveBits({name:"PBKDF2",salt:t,iterations:r,hash:{name:i}},e,n<<3)}).then(function(e){return o.from(e)})}e.exports=function(e,t,i,m,g,b){if("function"==typeof g&&(b=g,g=void 0),m=a(i,m),e=u(e,s,"Password"),t=u(t,s,"Salt"),"function"!=typeof b)throw new Error("No callback provided to pbkdf2");var y=d[(g=g||"sha1").toLowerCase()];y&&"function"==typeof r.g.Promise?function(e,t){e.then(function(e){f()(function(){t(null,e)})},function(e){f()(function(){t(e)})})}(function(e){if(r.g.process&&!r.g.process.browser)return Promise.resolve(!1);if(!c||!c.importKey||!c.deriveBits)return Promise.resolve(!1);if(void 0!==h[e])return h[e];var t=p(n=n||o.alloc(8),n,10,128,e).then(function(){return!0},function(){return!1});return h[e]=t,t}(y).then(function(r){return r?p(e,t,i,m,y):l(e,t,i,m,g)}),b):f()(function(){var r;try{r=l(e,t,i,m,g)}catch(e){return void b(e)}b(null,r)})}},6794:function(e,t,r){"use strict";var n,i=r(2067);if(r.g.process&&r.g.process.browser)n="utf-8";else if(r.g.process&&r.g.process.version){n=parseInt(i.version.split(".")[0].slice(1),10)>=6?"utf-8":"binary"}else n="utf-8";e.exports=n},6425:function(e){"use strict";var t=isFinite,r=Math.pow(2,30)-1;e.exports=function(e,n){if("number"!=typeof e)throw new TypeError("Iterations not a number");if(e<0||!t(e))throw new TypeError("Bad iterations");
2if("number"!=typeof n)throw new TypeError("Key length not a number");if(n<0||n>r||n!=n)throw new TypeError("Bad key length");return n+0}},1261:function(e,t,r){"use strict";var n=r(9037),i=r(2762),o=r(7381),a=r(7351).Buffer,s=r(6425),l=r(6794),u=r(8237),c=a.alloc(128),d={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},h={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function f(e){return(new i).update(e).digest()}function p(e,t,r){var i=function(e){return"rmd160"===e||"ripemd160"===e?f:"md5"===e?n:function(t){return o(e).update(t).digest()}}(e),s="sha512"===e||"sha384"===e?128:64;t.length>s?t=i(t):t.length<s&&(t=a.concat([t,c],s));for(var l=a.allocUnsafe(s+d[e]),u=a.allocUnsafe(s+d[e]),h=0;h<s;h++)l[h]=54^t[h],u[h]=92^t[h];var p=a.allocUnsafe(s+r+4);l.copy(p,0,0,s),this.ipad1=p,this.ipad2=l,this.opad=u,this.alg=e,this.blocksize=s,this.hash=i,this.size=d[e]}p.prototype.run=function(e,t){return e.copy(t,this.blocksize),this.hash(t).copy(this.opad,this.blocksize),this.hash(this.opad)},e.exports=function(e,t,r,n,i){n=s(r,n),e=u(e,l,"Password"),t=u(t,l,"Salt");var o=(i||"sha1").toLowerCase(),c=h[o]||o,f=d[c];if("number"!=typeof f||!f)throw new TypeError("Digest algorithm not supported: "+i);var m=new p(c,e,t.length),g=a.allocUnsafe(n),b=a.allocUnsafe(t.length+4);t.copy(b,0,0,t.length);for(var y=0,v=f,w=Math.ceil(n/v),x=1;x<=w;x++){b.writeUInt32BE(x,t.length);for(var M=m.run(b,m.ipad1),_=M,O=1;O<r;O++){_=m.run(_,m.ipad2);for(var j=0;j<v;j++)M[j]^=_[j]}M.copy(g,y),y+=v}return g}},8237:function(e,t,r){"use strict";var n=r(7351).Buffer,i=r(6532),o="undefined"!=typeof Uint8Array,a=o&&"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView;e.exports=function(e,t,r){if("string"==typeof e||n.isBuffer(e)||o&&e instanceof Uint8Array||a&&a(e))return i(e,t);throw new TypeError(r+" must be a string, a Buffer, a Uint8Array, or a DataView")}},7351:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},3781:function(e){"use strict";e.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},1854:function(e,t,r){"use strict";var n=r(2067);void 0===n||!n.version||0===n.version.indexOf("v0.")||0===n.version.indexOf("v1.")&&0!==n.version.indexOf("v1.8.")?e.exports={nextTick:function(e,t,r,i){if("function"!=typeof e)throw new TypeError('"callback" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return n.nextTick(e);case 2:return n.nextTick(function(){e.call(null,t)});case 3:return n.nextTick(function(){e.call(null,t,r)});case 4:return n.nextTick(function(){e.call(null,t,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return n.nextTick(function(){e.apply(null,o)})}}}:e.exports=n},4767:function(e,t,r){t.publicEncrypt=r(4929),t.privateDecrypt=r(9771),t.privateEncrypt=function(e,r){return t.publicEncrypt(e,r,!0)},t.publicDecrypt=function(e,r){return t.privateDecrypt(e,r,!0)}},4109:function(e,t,r){var n=r(6545),i=r(7052).Buffer;function o(e){var t=i.allocUnsafe(4);return t.writeUInt32BE(e,0),t}e.exports=function(e,t){for(var r,a=i.alloc(0),s=0;a.length<t;)r=o(s++),a=i.concat([a,n("sha1").update(e).update(r).digest()]);return a.slice(0,t)}},9582:function(e,t,r){!function(e,t){"use strict";function n(e,t){if(!e)throw new Error(t||"Assertion failed")}function i(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}function o(e,t,r){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&("le"!==t&&"be"!==t||(r=t,t=10),this._init(e||0,t||10,r||"be"))}var a;
vendor: 45,768 bytes, line 2
2"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{a="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:r(1069).Buffer}catch(e){}function s(e,t){var r=e.charCodeAt(t);return r>=65&&r<=70?r-55:r>=97&&r<=102?r-87:r-48&15}function l(e,t,r){var n=s(e,r);return r-1>=t&&(n|=s(e,r-1)<<4),n}function u(e,t,r,n){for(var i=0,o=Math.min(e.length,r),a=t;a<o;a++){var s=e.charCodeAt(a)-48;i*=n,i+=s>=49?s-49+10:s>=17?s-17+10:s}return i}o.isBN=function(e){return e instanceof o||null!==e&&"object"==typeof e&&e.constructor.wordSize===o.wordSize&&Array.isArray(e.words)},o.max=function(e,t){return e.cmp(t)>0?e:t},o.min=function(e,t){return e.cmp(t)<0?e:t},o.prototype._init=function(e,t,r){if("number"==typeof e)return this._initNumber(e,t,r);if("object"==typeof e)return this._initArray(e,t,r);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var i=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(i++,this.negative=1),i<e.length&&(16===t?this._parseHex(e,i,r):(this._parseBase(e,t,i),"le"===r&&this._initArray(this.toArray(),t,r)))},o.prototype._initNumber=function(e,t,r){e<0&&(this.negative=1,e=-e),e<67108864?(this.words=[67108863&e],this.length=1):e<4503599627370496?(this.words=[67108863&e,e/67108864&67108863],this.length=2):(n(e<9007199254740992),this.words=[67108863&e,e/67108864&67108863,1],this.length=3),"le"===r&&this._initArray(this.toArray(),t,r)},o.prototype._initArray=function(e,t,r){if(n("number"==typeof e.length),e.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(e.length/3),this.words=new Array(this.length);for(var i=0;i<this.length;i++)this.words[i]=0;var o,a,s=0;if("be"===r)for(i=e.length-1,o=0;i>=0;i-=3)a=e[i]|e[i-1]<<8|e[i-2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);else if("le"===r)for(i=0,o=0;i<e.length;i+=3)a=e[i]|e[i+1]<<8|e[i+2]<<16,this.words[o]|=a<<s&67108863,this.words[o+1]=a>>>26-s&67108863,(s+=24)>=26&&(s-=26,o++);return this.strip()},o.prototype._parseHex=function(e,t,r){this.length=Math.ceil((e.length-t)/6),this.words=new Array(this.length);for(var n=0;n<this.length;n++)this.words[n]=0;var i,o=0,a=0;if("be"===r)for(n=e.length-1;n>=t;n-=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;else for(n=(e.length-t)%2==0?t+1:t;n<e.length;n+=2)i=l(e,t,n)<<o,this.words[a]|=67108863&i,o>=18?(o-=18,a+=1,this.words[a]|=i>>>26):o+=8;this.strip()},o.prototype._parseBase=function(e,t,r){this.words=[0],this.length=1;for(var n=0,i=1;i<=67108863;i*=t)n++;n--,i=i/t|0;for(var o=e.length-r,a=o%n,s=Math.min(o,o-a)+r,l=0,c=r;c<s;c+=n)l=u(e,c,c+n,t),this.imuln(i),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l);if(0!==a){var d=1;for(l=u(e,c,e.length,t),c=0;c<a;c++)d*=t;this.imuln(d),this.words[0]+l<67108864?this.words[0]+=l:this._iaddn(l)}this.strip()},o.prototype.copy=function(e){e.words=new Array(this.length);for(var t=0;t<this.length;t++)e.words[t]=this.words[t];e.length=this.length,e.negative=this.negative,e.red=this.red},o.prototype.clone=function(){var e=new o(null);return this.copy(e),e},o.prototype._expand=function(e){for(;this.length<e;)this.words[this.length++]=0;return this},o.prototype.strip=function(){for(;this.length>1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},o.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var c=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],d=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,r){r.negative=t.negative^e.negative;var n=e.length+t.length|0;r.length=n,n=n-1|0;var i=0|e.words[0],o=0|t.words[0],a=i*o,s=67108863&a,l=a/67108864|0;r.words[0]=s;for(var u=1;u<n;u++){for(var c=l>>>26,d=67108863&l,h=Math.min(u,t.length-1),f=Math.max(0,u-e.length+1);f<=h;f++){var p=u-f|0;c+=(a=(i=0|e.words[p])*(o=0|t.words[f])+d)/67108864|0,d=67108863&a}r.words[u]=0|d,l=0|c}return 0!==l?r.words[u]=0|l:r.length--,r.strip()}o.prototype.toString=function(e,t){var r;if(t=0|t||1,16===(e=e||10)||"hex"===e){r="";for(var i=0,o=0,a=0;a<this.length;a++){var s=this.words[a],l=(16777215&(s<<i|o)).toString(16);o=s>>>24-i&16777215,(i+=2)>=26&&(i-=26,a--),r=0!==o||a!==this.length-1?c[6-l.length]+l+r:l+r}for(0!==o&&(r=o.toString(16)+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}if(e===(0|e)&&e>=2&&e<=36){var u=d[e],f=h[e];r="";var p=this.clone();for(p.negative=0;!p.isZero();){var m=p.modn(f).toString(e);r=(p=p.idivn(f)).isZero()?m+r:c[u-m.length]+m+r}for(this.isZero()&&(r="0"+r);r.length%t!==0;)r="0"+r;return 0!==this.negative&&(r="-"+r),r}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16)},o.prototype.toBuffer=function(e,t){return n(void 0!==a),this.toArrayLike(a,e,t)},o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,r){var i=this.byteLength(),o=r||Math.max(1,i);n(i<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0"),this.strip();var a,s,l="le"===t,u=new e(o),c=this.clone();if(l){for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[s]=a;for(;s<o;s++)u[s]=0}else{for(s=0;s<o-i;s++)u[s]=0;for(s=0;!c.isZero();s++)a=c.andln(255),c.iushrn(8),u[o-s-1]=a}return u},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,r=0;return t>=4096&&(r+=13,t>>>=13),t>=64&&(r+=7,t>>>=7),t>=8&&(r+=4,t>>>=4),t>=2&&(r+=2,t>>>=2),r+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,r=0;return 8191&t||(r+=13,t>>>=13),127&t||(r+=7,t>>>=7),15&t||(r+=4,t>>>=4),3&t||(r+=2,t>>>=2),1&t||r++,r},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return 26*(this.length-1)+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;t<this.length;t++){var r=this._zeroBits(this.words[t]);if(e+=r,26!==r)break}return e},o.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},o.prototype.toTwos=function(e){return 0!==this.negative?this.abs().inotn(e).iaddn(1):this.clone()},o.prototype.fromTwos=function(e){return this.testn(e-1)?this.notn(e).iaddn(1).ineg():this.clone()},o.prototype.isNeg=function(){return 0!==this.negative},o.prototype.neg=function(){return this.clone().ineg()},o.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},o.prototype.iuor=function(e){for(;this.length<e.length;)this.words[this.length++]=0;for(var t=0;t<e.length;t++)this.words[t]=this.words[t]|e.words[t];return this.strip()},o.prototype.ior=function(e){return n(0===(this.negative|e.negative)),this.iuor(e)},o.prototype.or=function(e){return this.length>e.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var r=0;r<t.length;r++)this.words[r]=this.words[r]&e.words[r];return this.length=t.length,this.strip()},o.prototype.iand=function(e){return n(0===(this.negative|e.negative)),this.iuand(e)},o.prototype.and=function(e){return this.length>e.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){var t,r;this.length>e.length?(t=this,r=e):(t=e,r=this);for(var n=0;n<r.length;n++)this.words[n]=t.words[n]^r.words[n];if(this!==t)for(;n<t.length;n++)this.words[n]=t.words[n];return this.length=t.length,this.strip()},o.prototype.ixor=function(e){return n(0===(this.negative|e.negative)),this.iuxor(e)},o.prototype.xor=function(e){return this.length>e.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),r=e%26;this._expand(t),r>0&&t--;for(var i=0;i<t;i++)this.words[i]=67108863&~this.words[i];for(r>0&&(this.words[i]=~this.words[i]&67108863>>26-r,i++);i<this.length;i++)this.words[i]=0;return this.strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var r=e/26|0,i=e%26;return this._expand(r+1),this.words[r]=t?this.words[r]|1<<i:this.words[r]&~(1<<i),this.strip()},o.prototype.iadd=function(e){var t,r,n;if(0!==this.negative&&0===e.negative)return this.negative=0,t=this.isub(e),this.negative^=1,this._normSign();if(0===this.negative&&0!==e.negative)return e.negative=0,t=this.isub(e),e.negative=1,t._normSign();this.length>e.length?(r=this,n=e):(r=e,n=this);for(var i=0,o=0;o<n.length;o++)t=(0|r.words[o])+(0|n.words[o])+i,this.words[o]=67108863&t,i=t>>>26;for(;0!==i&&o<r.length;o++)t=(0|r.words[o])+i,this.words[o]=67108863&t,i=t>>>26;if(this.length=r.length,0!==i)this.words[this.length]=i,this.length++;else if(r!==this)for(;o<r.length;o++)this.words[o]=r.words[o];return this},o.prototype.add=function(e){var t;return 0!==e.negative&&0===this.negative?(e.negative=0,t=this.sub(e),e.negative^=1,t):0===e.negative&&0!==this.negative?(this.negative=0,t=e.sub(this),this.negative=1,t):this.length>e.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t=this.iadd(e);return e.negative=1,t._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r,n,i=this.cmp(e);if(0===i)return this.negative=0,this.length=1,this.words[0]=0,this;i>0?(r=this,n=e):(r=e,n=this);for(var o=0,a=0;a<n.length;a++)o=(t=(0|r.words[a])-(0|n.words[a])+o)>>26,this.words[a]=67108863&t;for(;0!==o&&a<r.length;a++)o=(t=(0|r.words[a])+o)>>26,this.words[a]=67108863&t;if(0===o&&a<r.length&&r!==this)for(;a<r.length;a++)this.words[a]=r.words[a];return this.length=Math.max(this.length,a),r!==this&&(this.negative=1),this.strip()},o.prototype.sub=function(e){return this.clone().isub(e)};var p=function(e,t,r){var n,i,o,a=e.words,s=t.words,l=r.words,u=0,c=0|a[0],d=8191&c,h=c>>>13,f=0|a[1],p=8191&f,m=f>>>13,g=0|a[2],b=8191&g,y=g>>>13,v=0|a[3],w=8191&v,x=v>>>13,M=0|a[4],_=8191&M,O=M>>>13,j=0|a[5],S=8191&j,A=j>>>13,P=0|a[6],k=8191&P,T=P>>>13,E=0|a[7],C=8191&E,D=E>>>13,N=0|a[8],I=8191&N,R=N>>>13,L=0|a[9],B=8191&L,q=L>>>13,U=0|s[0],z=8191&U,F=U>>>13,$=0|s[1],V=8191&$,H=$>>>13,W=0|s[2],G=8191&W,K=W>>>13,Z=0|s[3],X=8191&Z,Y=Z>>>13,J=0|s[4],Q=8191&J,ee=J>>>13,te=0|s[5],re=8191&te,ne=te>>>13,ie=0|s[6],oe=8191&ie,ae=ie>>>13,se=0|s[7],le=8191&se,ue=se>>>13,ce=0|s[8],de=8191&ce,he=ce>>>13,fe=0|s[9],pe=8191&fe,me=fe>>>13;r.negative=e.negative^t.negative,r.length=19;var ge=(u+(n=Math.imul(d,z))|0)+((8191&(i=(i=Math.imul(d,F))+Math.imul(h,z)|0))<<13)|0;u=((o=Math.imul(h,F))+(i>>>13)|0)+(ge>>>26)|0,ge&=67108863,n=Math.imul(p,z),i=(i=Math.imul(p,F))+Math.imul(m,z)|0,o=Math.imul(m,F);var be=(u+(n=n+Math.imul(d,V)|0)|0)+((8191&(i=(i=i+Math.imul(d,H)|0)+Math.imul(h,V)|0))<<13)|0;u=((o=o+Math.imul(h,H)|0)+(i>>>13)|0)+(be>>>26)|0,be&=67108863,n=Math.imul(b,z),i=(i=Math.imul(b,F))+Math.imul(y,z)|0,o=Math.imul(y,F),n=n+Math.imul(p,V)|0,i=(i=i+Math.imul(p,H)|0)+Math.imul(m,V)|0,o=o+Math.imul(m,H)|0;var ye=(u+(n=n+Math.imul(d,G)|0)|0)+((8191&(i=(i=i+Math.imul(d,K)|0)+Math.imul(h,G)|0))<<13)|0;u=((o=o+Math.imul(h,K)|0)+(i>>>13)|0)+(ye>>>26)|0,ye&=67108863,n=Math.imul(w,z),i=(i=Math.imul(w,F))+Math.imul(x,z)|0,o=Math.imul(x,F),n=n+Math.imul(b,V)|0,i=(i=i+Math.imul(b,H)|0)+Math.imul(y,V)|0,o=o+Math.imul(y,H)|0,n=n+Math.imul(p,G)|0,i=(i=i+Math.imul(p,K)|0)+Math.imul(m,G)|0,o=o+Math.imul(m,K)|0;var ve=(u+(n=n+Math.imul(d,X)|0)|0)+((8191&(i=(i=i+Math.imul(d,Y)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,Y)|0)+(i>>>13)|0)+(ve>>>26)|0,ve&=67108863,n=Math.imul(_,z),i=(i=Math.imul(_,F))+Math.imul(O,z)|0,o=Math.imul(O,F),n=n+Math.imul(w,V)|0,i=(i=i+Math.imul(w,H)|0)+Math.imul(x,V)|0,o=o+Math.imul(x,H)|0,n=n+Math.imul(b,G)|0,i=(i=i+Math.imul(b,K)|0)+Math.imul(y,G)|0,o=o+Math.imul(y,K)|0,n=n+Math.imul(p,X)|0,i=(i=i+Math.imul(p,Y)|0)+Math.imul(m,X)|0,o=o+Math.imul(m,Y)|0;var we=(u+(n=n+Math.imul(d,Q)|0)|0)+((8191&(i=(i=i+Math.imul(d,ee)|0)+Math.imul(h,Q)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(i>>>13)|0)+(we>>>26)|0,we&=67108863,n=Math.imul(S,z),i=(i=Math.imul(S,F))+Math.imul(A,z)|0,o=Math.imul(A,F),n=n+Math.imul(_,V)|0,i=(i=i+Math.imul(_,H)|0)+Math.imul(O,V)|0,o=o+Math.imul(O,H)|0,n=n+Math.imul(w,G)|0,i=(i=i+Math.imul(w,K)|0)+Math.imul(x,G)|0,o=o+Math.imul(x,K)|0,n=n+Math.imul(b,X)|0,i=(i=i+Math.imul(b,Y)|0)+Math.imul(y,X)|0,o=o+Math.imul(y,Y)|0,n=n+Math.imul(p,Q)|0,i=(i=i+Math.imul(p,ee)|0)+Math.imul(m,Q)|0,o=o+Math.imul(m,ee)|0;var xe=(u+(n=n+Math.imul(d,re)|0)|0)+((8191&(i=(i=i+Math.imul(d,ne)|0)+Math.imul(h,re)|0))<<13)|0;u=((o=o+Math.imul(h,ne)|0)+(i>>>13)|0)+(xe>>>26)|0,xe&=67108863,n=Math.imul(k,z),i=(i=Math.imul(k,F))+Math.imul(T,z)|0,o=Math.imul(T,F),n=n+Math.imul(S,V)|0,i=(i=i+Math.imul(S,H)|0)+Math.imul(A,V)|0,o=o+Math.imul(A,H)|0,n=n+Math.imul(_,G)|0,i=(i=i+Math.imul(_,K)|0)+Math.imul(O,G)|0,o=o+Math.imul(O,K)|0,n=n+Math.imul(w,X)|0,i=(i=i+Math.imul(w,Y)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,Y)|0,n=n+Math.imul(b,Q)|0,i=(i=i+Math.imul(b,ee)|0)+Math.imul(y,Q)|0,o=o+Math.imul(y,ee)|0,n=n+Math.imul(p,re)|0,i=(i=i+Math.imul(p,ne)|0)+Math.imul(m,re)|0,o=o+Math.imul(m,ne)|0;var Me=(u+(n=n+Math.imul(d,oe)|0)|0)+((8191&(i=(i=i+Math.imul(d,ae)|0)+Math.imul(h,oe)|0))<<13)|0;u=((o=o+Math.imul(h,ae)|0)+(i>>>13)|0)+(Me>>>26)|0,Me&=67108863,n=Math.imul(C,z),i=(i=Math.imul(C,F))+Math.imul(D,z)|0,o=Math.imul(D,F),n=n+Math.imul(k,V)|0,i=(i=i+Math.imul(k,H)|0)+Math.imul(T,V)|0,o=o+Math.imul(T,H)|0,n=n+Math.imul(S,G)|0,i=(i=i+Math.imul(S,K)|0)+Math.imul(A,G)|0,o=o+Math.imul(A,K)|0,n=n+Math.imul(_,X)|0,i=(i=i+Math.imul(_,Y)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,Y)|0,n=n+Math.imul(w,Q)|0,i=(i=i+Math.imul(w,ee)|0)+Math.imul(x,Q)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(b,re)|0,i=(i=i+Math.imul(b,ne)|0)+Math.imul(y,re)|0,o=o+Math.imul(y,ne)|0,n=n+Math.imul(p,oe)|0,i=(i=i+Math.imul(p,ae)|0)+Math.imul(m,oe)|0,o=o+Math.imul(m,ae)|0;var _e=(u+(n=n+Math.imul(d,le)|0)|0)+((8191&(i=(i=i+Math.imul(d,ue)|0)+Math.imul(h,le)|0))<<13)|0;u=((o=o+Math.imul(h,ue)|0)+(i>>>13)|0)+(_e>>>26)|0,_e&=67108863,n=Math.imul(I,z),i=(i=Math.imul(I,F))+Math.imul(R,z)|0,o=Math.imul(R,F),n=n+Math.imul(C,V)|0,i=(i=i+Math.imul(C,H)|0)+Math.imul(D,V)|0,o=o+Math.imul(D,H)|0,n=n+Math.imul(k,G)|0,i=(i=i+Math.imul(k,K)|0)+Math.imul(T,G)|0,o=o+Math.imul(T,K)|0,n=n+Math.imul(S,X)|0,i=(i=i+Math.imul(S,Y)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,Y)|0,n=n+Math.imul(_,Q)|0,i=(i=i+Math.imul(_,ee)|0)+Math.imul(O,Q)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(w,re)|0,i=(i=i+Math.imul(w,ne)|0)+Math.imul(x,re)|0,o=o+Math.imul(x,ne)|0,n=n+Math.imul(b,oe)|0,i=(i=i+Math.imul(b,ae)|0)+Math.imul(y,oe)|0,o=o+Math.imul(y,ae)|0,n=n+Math.imul(p,le)|0,i=(i=i+Math.imul(p,ue)|0)+Math.imul(m,le)|0,o=o+Math.imul(m,ue)|0;var Oe=(u+(n=n+Math.imul(d,de)|0)|0)+((8191&(i=(i=i+Math.imul(d,he)|0)+Math.imul(h,de)|0))<<13)|0;u=((o=o+Math.imul(h,he)|0)+(i>>>13)|0)+(Oe>>>26)|0,Oe&=67108863,n=Math.imul(B,z),i=(i=Math.imul(B,F))+Math.imul(q,z)|0,o=Math.imul(q,F),n=n+Math.imul(I,V)|0,i=(i=i+Math.imul(I,H)|0)+Math.imul(R,V)|0,o=o+Math.imul(R,H)|0,n=n+Math.imul(C,G)|0,i=(i=i+Math.imul(C,K)|0)+Math.imul(D,G)|0,o=o+Math.imul(D,K)|0,n=n+Math.imul(k,X)|0,i=(i=i+Math.imul(k,Y)|0)+Math.imul(T,X)|0,o=o+Math.imul(T,Y)|0,n=n+Math.imul(S,Q)|0,i=(i=i+Math.imul(S,ee)|0)+Math.imul(A,Q)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(_,re)|0,i=(i=i+Math.imul(_,ne)|0)+Math.imul(O,re)|0,o=o+Math.imul(O,ne)|0,n=n+Math.imul(w,oe)|0,i=(i=i+Math.imul(w,ae)|0)+Math.imul(x,oe)|0,o=o+Math.imul(x,ae)|0,n=n+Math.imul(b,le)|0,i=(i=i+Math.imul(b,ue)|0)+Math.imul(y,le)|0,o=o+Math.imul(y,ue)|0,n=n+Math.imul(p,de)|0,i=(i=i+Math.imul(p,he)|0)+Math.imul(m,de)|0,o=o+Math.imul(m,he)|0;var je=(u+(n=n+Math.imul(d,pe)|0)|0)+((8191&(i=(i=i+Math.imul(d,me)|0)+Math.imul(h,pe)|0))<<13)|0;u=((o=o+Math.imul(h,me)|0)+(i>>>13)|0)+(je>>>26)|0,je&=67108863,n=Math.imul(B,V),i=(i=Math.imul(B,H))+Math.imul(q,V)|0,o=Math.imul(q,H),n=n+Math.imul(I,G)|0,i=(i=i+Math.imul(I,K)|0)+Math.imul(R,G)|0,o=o+Math.imul(R,K)|0,n=n+Math.imul(C,X)|0,i=(i=i+Math.imul(C,Y)|0)+Math.imul(D,X)|0,o=o+Math.imul(D,Y)|0,n=n+Math.imul(k,Q)|0,i=(i=i+Math.imul(k,ee)|0)+Math.imul(T,Q)|0,o=o+Math.imul(T,ee)|0,n=n+Math.imul(S,re)|0,i=(i=i+Math.imul(S,ne)|0)+Math.imul(A,re)|0,o=o+Math.imul(A,ne)|0,n=n+Math.imul(_,oe)|0,i=(i=i+Math.imul(_,ae)|0)+Math.imul(O,oe)|0,o=o+Math.imul(O,ae)|0,n=n+Math.imul(w,le)|0,i=(i=i+Math.imul(w,ue)|0)+Math.imul(x,le)|0,o=o+Math.imul(x,ue)|0,n=n+Math.imul(b,de)|0,i=(i=i+Math.imul(b,he)|0)+Math.imul(y,de)|0,o=o+Math.imul(y,he)|0;var Se=(u+(n=n+Math.imul(p,pe)|0)|0)+((8191&(i=(i=i+Math.imul(p,me)|0)+Math.imul(m,pe)|0))<<13)|0;u=((o=o+Math.imul(m,me)|0)+(i>>>13)|0)+(Se>>>26)|0,Se&=67108863,n=Math.imul(B,G),i=(i=Math.imul(B,K))+Math.imul(q,G)|0,o=Math.imul(q,K),n=n+Math.imul(I,X)|0,i=(i=i+Math.imul(I,Y)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,Y)|0,n=n+Math.imul(C,Q)|0,i=(i=i+Math.imul(C,ee)|0)+Math.imul(D,Q)|0,o=o+Math.imul(D,ee)|0,n=n+Math.imul(k,re)|0,i=(i=i+Math.imul(k,ne)|0)+Math.imul(T,re)|0,o=o+Math.imul(T,ne)|0,n=n+Math.imul(S,oe)|0,i=(i=i+Math.imul(S,ae)|0)+Math.imul(A,oe)|0,o=o+Math.imul(A,ae)|0,n=n+Math.imul(_,le)|0,i=(i=i+Math.imul(_,ue)|0)+Math.imul(O,le)|0,o=o+Math.imul(O,ue)|0,n=n+Math.imul(w,de)|0,i=(i=i+Math.imul(w,he)|0)+Math.imul(x,de)|0,o=o+Math.imul(x,he)|0;var Ae=(u+(n=n+Math.imul(b,pe)|0)|0)+((8191&(i=(i=i+Math.imul(b,me)|0)+Math.imul(y,pe)|0))<<13)|0;u=((o=o+Math.imul(y,me)|0)+(i>>>13)|0)+(Ae>>>26)|0,Ae&=67108863,n=Math.imul(B,X),i=(i=Math.imul(B,Y))+Math.imul(q,X)|0,o=Math.imul(q,Y),n=n+Math.imul(I,Q)|0,i=(i=i+Math.imul(I,ee)|0)+Math.imul(R,Q)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(C,re)|0,i=(i=i+Math.imul(C,ne)|0)+Math.imul(D,re)|0,o=o+Math.imul(D,ne)|0,n=n+Math.imul(k,oe)|0,i=(i=i+Math.imul(k,ae)|0)+Math.imul(T,oe)|0,o=o+Math.imul(T,ae)|0,n=n+Math.imul(S,le)|0,i=(i=i+Math.imul(S,ue)|0)+Math.imul(A,le)|0,o=o+Math.imul(A,ue)|0,n=n+Math.imul(_,de)|0,i=(i=i+Math.imul(_,he)|0)+Math.imul(O,de)|0,o=o+Math.imul(O,he)|0;var Pe=(u+(n=n+Math.imul(w,pe)|0)|0)+((8191&(i=(i=i+Math.imul(w,me)|0)+Math.imul(x,pe)|0))<<13)|0;u=((o=o+Math.imul(x,me)|0)+(i>>>13)|0)+(Pe>>>26)|0,Pe&=67108863,n=Math.imul(B,Q),i=(i=Math.imul(B,ee))+Math.imul(q,Q)|0,o=Math.imul(q,ee),n=n+Math.imul(I,re)|0,i=(i=i+Math.imul(I,ne)|0)+Math.imul(R,re)|0,o=o+Math.imul(R,ne)|0,n=n+Math.imul(C,oe)|0,i=(i=i+Math.imul(C,ae)|0)+Math.imul(D,oe)|0,o=o+Math.imul(D,ae)|0,n=n+Math.imul(k,le)|0,i=(i=i+Math.imul(k,ue)|0)+Math.imul(T,le)|0,o=o+Math.imul(T,ue)|0,n=n+Math.imul(S,de)|0,i=(i=i+Math.imul(S,he)|0)+Math.imul(A,de)|0,o=o+Math.imul(A,he)|0;var ke=(u+(n=n+Math.imul(_,pe)|0)|0)+((8191&(i=(i=i+Math.imul(_,me)|0)+Math.imul(O,pe)|0))<<13)|0;u=((o=o+Math.imul(O,me)|0)+(i>>>13)|0)+(ke>>>26)|0,ke&=67108863,n=Math.imul(B,re),i=(i=Math.imul(B,ne))+Math.imul(q,re)|0,o=Math.imul(q,ne),n=n+Math.imul(I,oe)|0,i=(i=i+Math.imul(I,ae)|0)+Math.imul(R,oe)|0,o=o+Math.imul(R,ae)|0,n=n+Math.imul(C,le)|0,i=(i=i+Math.imul(C,ue)|0)+Math.imul(D,le)|0,o=o+Math.imul(D,ue)|0,n=n+Math.imul(k,de)|0,i=(i=i+Math.imul(k,he)|0)+Math.imul(T,de)|0,o=o+Math.imul(T,he)|0;var Te=(u+(n=n+Math.imul(S,pe)|0)|0)+((8191&(i=(i=i+Math.imul(S,me)|0)+Math.imul(A,pe)|0))<<13)|0;u=((o=o+Math.imul(A,me)|0)+(i>>>13)|0)+(Te>>>26)|0,Te&=67108863,n=Math.imul(B,oe),i=(i=Math.imul(B,ae))+Math.imul(q,oe)|0,o=Math.imul(q,ae),n=n+Math.imul(I,le)|0,i=(i=i+Math.imul(I,ue)|0)+Math.imul(R,le)|0,o=o+Math.imul(R,ue)|0,n=n+Math.imul(C,de)|0,i=(i=i+Math.imul(C,he)|0)+Math.imul(D,de)|0,o=o+Math.imul(D,he)|0;var Ee=(u+(n=n+Math.imul(k,pe)|0)|0)+((8191&(i=(i=i+Math.imul(k,me)|0)+Math.imul(T,pe)|0))<<13)|0;u=((o=o+Math.imul(T,me)|0)+(i>>>13)|0)+(Ee>>>26)|0,Ee&=67108863,n=Math.imul(B,le),i=(i=Math.imul(B,ue))+Math.imul(q,le)|0,o=Math.imul(q,ue),n=n+Math.imul(I,de)|0,i=(i=i+Math.imul(I,he)|0)+Math.imul(R,de)|0,o=o+Math.imul(R,he)|0;var Ce=(u+(n=n+Math.imul(C,pe)|0)|0)+((8191&(i=(i=i+Math.imul(C,me)|0)+Math.imul(D,pe)|0))<<13)|0;u=((o=o+Math.imul(D,me)|0)+(i>>>13)|0)+(Ce>>>26)|0,Ce&=67108863,n=Math.imul(B,de),i=(i=Math.imul(B,he))+Math.imul(q,de)|0,o=Math.imul(q,he);var De=(u+(n=n+Math.imul(I,pe)|0)|0)+((8191&(i=(i=i+Math.imul(I,me)|0)+Math.imul(R,pe)|0))<<13)|0;u=((o=o+Math.imul(R,me)|0)+(i>>>13)|0)+(De>>>26)|0,De&=67108863;var Ne=(u+(n=Math.imul(B,pe))|0)+((8191&(i=(i=Math.imul(B,me))+Math.imul(q,pe)|0))<<13)|0;return u=((o=Math.imul(q,me))+(i>>>13)|0)+(Ne>>>26)|0,Ne&=67108863,l[0]=ge,l[1]=be,l[2]=ye,l[3]=ve,l[4]=we,l[5]=xe,l[6]=Me,l[7]=_e,l[8]=Oe,l[9]=je,l[10]=Se,l[11]=Ae,l[12]=Pe,l[13]=ke,l[14]=Te,l[15]=Ee,l[16]=Ce,l[17]=De,l[18]=Ne,0!==u&&(l[19]=u,r.length++),r};function m(e,t,r){return(new g).mulp(e,t,r)}function g(e,t){this.x=e,this.y=t}Math.imul||(p=f),o.prototype.mulTo=function(e,t){var r,n=this.length+e.length;return r=10===this.length&&10===e.length?p(this,e,t):n<63?f(this,e,t):n<1024?function(e,t,r){r.negative=t.negative^e.negative,r.length=e.length+t.length;for(var n=0,i=0,o=0;o<r.length-1;o++){var a=i;i=0;for(var s=67108863&n,l=Math.min(o,t.length-1),u=Math.max(0,o-e.length+1);u<=l;u++){var c=o-u,d=(0|e.words[c])*(0|t.words[u]),h=67108863&d;s=67108863&(h=h+s|0),i+=(a=(a=a+(d/67108864|0)|0)+(h>>>26)|0)>>>26,a&=67108863}r.words[o]=s,n=a,a=i}return 0!==n?r.words[o]=n:r.length--,r.strip()}(this,e,t):m(this,e,t),r},g.prototype.makeRBT=function(e){for(var t=new Array(e),r=o.prototype._countBits(e)-1,n=0;n<e;n++)t[n]=this.revBin(n,r,e);return t},g.prototype.revBin=function(e,t,r){if(0===e||e===r-1)return e;for(var n=0,i=0;i<t;i++)n|=(1&e)<<t-i-1,e>>=1;return n},g.prototype.permute=function(e,t,r,n,i,o){for(var a=0;a<o;a++)n[a]=t[e[a]],i[a]=r[e[a]]},g.prototype.transform=function(e,t,r,n,i,o){this.permute(o,e,t,r,n,i);for(var a=1;a<i;a<<=1)for(var s=a<<1,l=Math.cos(2*Math.PI/s),u=Math.sin(2*Math.PI/s),c=0;c<i;c+=s)for(var d=l,h=u,f=0;f<a;f++){var p=r[c+f],m=n[c+f],g=r[c+f+a],b=n[c+f+a],y=d*g-h*b;b=d*b+h*g,g=y,r[c+f]=p+g,n[c+f]=m+b,r[c+f+a]=p-g,n[c+f+a]=m-b,f!==s&&(y=l*d-u*h,h=l*h+u*d,d=y)}},g.prototype.guessLen13b=function(e,t){var r=1|Math.max(t,e),n=1&r,i=0;for(r=r/2|0;r;r>>>=1)i++;return 1<<i+1+n},g.prototype.conjugate=function(e,t,r){if(!(r<=1))for(var n=0;n<r/2;n++){var i=e[n];e[n]=e[r-n-1],e[r-n-1]=i,i=t[n],t[n]=-t[r-n-1],t[r-n-1]=-i}},g.prototype.normalize13b=function(e,t){for(var r=0,n=0;n<t/2;n++){var i=8192*Math.round(e[2*n+1]/t)+Math.round(e[2*n]/t)+r;e[n]=67108863&i,r=i<67108864?0:i/67108864|0}return e},g.prototype.convert13b=function(e,t,r,i){for(var o=0,a=0;a<t;a++)o+=0|e[a],r[2*a]=8191&o,o>>>=13,r[2*a+1]=8191&o,o>>>=13;for(a=2*t;a<i;++a)r[a]=0;n(0===o),n(!(-8192&o))},g.prototype.stub=function(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=0;return t},g.prototype.mulp=function(e,t,r){var n=2*this.guessLen13b(e.length,t.length),i=this.makeRBT(n),o=this.stub(n),a=new Array(n),s=new Array(n),l=new Array(n),u=new Array(n),c=new Array(n),d=new Array(n),h=r.words;h.length=n,this.convert13b(e.words,e.length,a,n),this.convert13b(t.words,t.length,u,n),this.transform(a,o,s,l,n,i),this.transform(u,o,c,d,n,i);for(var f=0;f<n;f++){var p=s[f]*c[f]-l[f]*d[f];l[f]=s[f]*d[f]+l[f]*c[f],s[f]=p}return this.conjugate(s,l,n),this.transform(s,l,h,o,n,i),this.conjugate(h,o,n),this.normalize13b(h,n),r.negative=e.negative^t.negative,r.length=e.length+t.length,r.strip()},o.prototype.mul=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),this.mulTo(e,t)},o.prototype.mulf=function(e){var t=new o(null);return t.words=new Array(this.length+e.length),m(this,e,t)},o.prototype.imul=function(e){return this.clone().mulTo(e,this)},o.prototype.imuln=function(e){n("number"==typeof e),n(e<67108864);for(var t=0,r=0;r<this.length;r++){var i=(0|this.words[r])*e,o=(67108863&i)+(67108863&t);t>>=26,t+=i/67108864|0,t+=o>>>26,this.words[r]=67108863&o}return 0!==t&&(this.words[r]=t,this.length++),0===e&&(this.length=1,this._normSign()),this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=new Array(e.bitLength()),r=0;r<t.length;r++){var n=r/26|0,i=r%26;t[r]=(e.words[n]&1<<i)>>>i}return t}(e);if(0===t.length)return new o(1);for(var r=this,n=0;n<t.length&&0===t[n];n++,r=r.sqr());if(++n<t.length)for(var i=r.sqr();n<t.length;n++,i=i.sqr())0!==t[n]&&(r=r.mul(i));return r},o.prototype.iushln=function(e){n("number"==typeof e&&e>=0);var t,r=e%26,i=(e-r)/26,o=67108863>>>26-r<<26-r;if(0!==r){var a=0;for(t=0;t<this.length;t++){var s=this.words[t]&o,l=(0|this.words[t])-s<<r;this.words[t]=l|a,a=s>>>26-r}a&&(this.words[t]=a,this.length++)}if(0!==i){for(t=this.length-1;t>=0;t--)this.words[t+i]=this.words[t];for(t=0;t<i;t++)this.words[t]=0;this.length+=i}return this.strip()},o.prototype.ishln=function(e){return n(0===this.negative),this.iushln(e)},o.prototype.iushrn=function(e,t,r){var i;n("number"==typeof e&&e>=0),i=t?(t-t%26)/26:0;var o=e%26,a=Math.min((e-o)/26,this.length),s=67108863^67108863>>>o<<o,l=r;if(i-=a,i=Math.max(0,i),l){for(var u=0;u<a;u++)l.words[u]=this.words[u];l.length=a}if(0===a);else if(this.length>a)for(this.length-=a,u=0;u<this.length;u++)this.words[u]=this.words[u+a];else this.words[0]=0,this.length=1;var c=0;for(u=this.length-1;u>=0&&(0!==c||u>=i);u--){var d=0|this.words[u];this.words[u]=c<<26-o|d>>>o,c=d&s}return l&&0!==c&&(l.words[l.length++]=c),0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.ishrn=function(e,t,r){return n(0===this.negative),this.iushrn(e,t,r)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26,i=1<<t;return!(this.length<=r)&&!!(this.words[r]&i)},o.prototype.imaskn=function(e){n("number"==typeof e&&e>=0);var t=e%26,r=(e-t)/26;if(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=r)return this;if(0!==t&&r++,this.length=Math.min(r,this.length),0!==t){var i=67108863^67108863>>>t<<t;this.words[this.length-1]&=i}return 0===this.length&&(this.words[0]=0,this.length=1),this.strip()},o.prototype.maskn=function(e){return this.clone().imaskn(e)},o.prototype.iaddn=function(e){return n("number"==typeof e),n(e<67108864),e<0?this.isubn(-e):0!==this.negative?1===this.length&&(0|this.words[0])<e?(this.words[0]=e-(0|this.words[0]),this.negative=0,this):(this.negative=0,this.isubn(e),this.negative=1,this):this._iaddn(e)},o.prototype._iaddn=function(e){this.words[0]+=e;for(var t=0;t<this.length&&this.words[t]>=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t<this.length&&this.words[t]<0;t++)this.words[t]+=67108864,this.words[t+1]-=1;return this.strip()},o.prototype.addn=function(e){return this.clone().iaddn(e)},o.prototype.subn=function(e){return this.clone().isubn(e)},o.prototype.iabs=function(){return this.negative=0,this},o.prototype.abs=function(){return this.clone().iabs()},o.prototype._ishlnsubmul=function(e,t,r){var i,o,a=e.length+r;this._expand(a);var s=0;for(i=0;i<e.length;i++){o=(0|this.words[i+r])+s;var l=(0|e.words[i])*t;s=((o-=67108863&l)>>26)-(l/67108864|0),this.words[i+r]=67108863&o}for(;i<this.length-r;i++)s=(o=(0|this.words[i+r])+s)>>26,this.words[i+r]=67108863&o;if(0===s)return this.strip();for(n(-1===s),s=0,i=0;i<this.length;i++)s=(o=-(0|this.words[i])+s)>>26,this.words[i]=67108863&o;return this.negative=1,this.strip()},o.prototype._wordDiv=function(e,t){var r=(this.length,e.length),n=this.clone(),i=e,a=0|i.words[i.length-1];0!==(r=26-this._countBits(a))&&(i=i.ushln(r),n.iushln(r),a=0|i.words[i.length-1]);var s,l=n.length-i.length;if("mod"!==t){(s=new o(null)).length=l+1,s.words=new Array(s.length);for(var u=0;u<s.length;u++)s.words[u]=0}var c=n.clone()._ishlnsubmul(i,1,l);0===c.negative&&(n=c,s&&(s.words[l]=1));for(var d=l-1;d>=0;d--){var h=67108864*(0|n.words[i.length+d])+(0|n.words[i.length+d-1]);for(h=Math.min(h/a|0,67108863),n._ishlnsubmul(i,h,d);0!==n.negative;)h--,n.negative=0,n._ishlnsubmul(i,1,d),n.isZero()||(n.negative^=1);s&&(s.words[d]=h)}return s&&s.strip(),n.strip(),"div"!==t&&0!==r&&n.iushrn(r),{div:s||null,mod:n}},o.prototype.divmod=function(e,t,r){return n(!e.isZero()),this.isZero()?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(s=this.neg().divmod(e,t),"mod"!==t&&(i=s.div.neg()),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.iadd(e)),{div:i,mod:a}):0===this.negative&&0!==e.negative?(s=this.divmod(e.neg(),t),"mod"!==t&&(i=s.div.neg()),{div:i,mod:s.mod}):0!==(this.negative&e.negative)?(s=this.neg().divmod(e.neg(),t),"div"!==t&&(a=s.mod.neg(),r&&0!==a.negative&&a.isub(e)),{div:s.div,mod:a}):e.length>this.length||this.cmp(e)<0?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modn(e.words[0]))}:this._wordDiv(e,t);var i,a,s},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var r=t.mod.abs(),n=e.abs().iushrn(1),i=1&e.words[0],a=r.cmp(n);if(a<0||1===i&&0===a)return t.div;var s=new o(1);return s.negative=this.negative^e.negative,t.div.iadd(s)},o.prototype.modn=function(e){n(e<=67108863);for(var t=(1<<26)%e,r=0,i=this.length-1;i>=0;i--)r=(t*r+(0|this.words[i]))%e;return r},o.prototype.idivn=function(e){n(e<=67108863);for(var t=0,r=this.length-1;r>=0;r--){var i=(0|this.words[r])+67108864*t;this.words[r]=i/e|0,t=i%e}return this.strip()},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i=new o(1),a=new o(0),s=new o(0),l=new o(1),u=0;t.isEven()&&r.isEven();)t.iushrn(1),r.iushrn(1),++u;for(var c=r.clone(),d=t.clone();!t.isZero();){for(var h=0,f=1;0===(t.words[0]&f)&&h<26;++h,f<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(i.isOdd()||a.isOdd())&&(i.iadd(c),a.isub(d)),i.iushrn(1),a.iushrn(1);for(var p=0,m=1;0===(r.words[0]&m)&&p<26;++p,m<<=1);if(p>0)for(r.iushrn(p);p-- >0;)(s.isOdd()||l.isOdd())&&(s.iadd(c),l.isub(d)),s.iushrn(1),l.iushrn(1);t.cmp(r)>=0?(t.isub(r),i.isub(s),a.isub(l)):(r.isub(t),s.isub(i),l.isub(a))}return{a:s,b:l,gcd:r.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t=this,r=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var i,a=new o(1),s=new o(0),l=r.clone();t.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,c=1;0===(t.words[0]&c)&&u<26;++u,c<<=1);if(u>0)for(t.iushrn(u);u-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);for(var d=0,h=1;0===(r.words[0]&h)&&d<26;++d,h<<=1);if(d>0)for(r.iushrn(d);d-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);t.cmp(r)>=0?(t.isub(r),a.isub(s)):(r.isub(t),s.isub(a))}return(i=0===t.cmpn(1)?a:s).cmpn(0)<0&&i.iadd(e),i},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),r=e.clone();t.negative=0,r.negative=0;for(var n=0;t.isEven()&&r.isEven();n++)t.iushrn(1),r.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;r.isEven();)r.iushrn(1);var i=t.cmp(r);if(i<0){var o=t;t=r,r=o}else if(0===i||0===r.cmpn(1))break;t.isub(r)}return r.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return!(1&this.words[0])},o.prototype.isOdd=function(){return!(1&~this.words[0])},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,r=(e-t)/26,i=1<<t;if(this.length<=r)return this._expand(r+1),this.words[r]|=i,this;for(var o=i,a=r;0!==o&&a<this.length;a++){var s=0|this.words[a];o=(s+=o)>>>26,s&=67108863,this.words[a]=s}return 0!==o&&(this.words[a]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,r=e<0;if(0!==this.negative&&!r)return-1;if(0===this.negative&&r)return 1;if(this.strip(),this.length>1)t=1;else{r&&(e=-e),n(e<=67108863,"Number is too big");var i=0|this.words[0];t=i===e?0:i<e?-1:1}return 0!==this.negative?0|-t:t},o.prototype.cmp=function(e){if(0!==this.negative&&0===e.negative)return-1;if(0===this.negative&&0!==e.negative)return 1;var t=this.ucmp(e);return 0!==this.negative?0|-t:t},o.prototype.ucmp=function(e){if(this.length>e.length)return 1;if(this.length<e.length)return-1;for(var t=0,r=this.length-1;r>=0;r--){var n=0|this.words[r],i=0|e.words[r];if(n!==i){n<i?t=-1:n>i&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return-1===this.cmpn(e)},o.prototype.lt=function(e){return-1===this.cmp(e)},o.prototype.lten=function(e){return this.cmpn(e)<=0},o.prototype.lte=function(e){return this.cmp(e)<=0},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new _(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var b={k256:null,p224:null,p192:null,p25519:null};function y(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function v(){y.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function w(){y.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function x(){y.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function M(){y.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function _(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function O(e){_.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y.prototype._tmp=function(){var e=new o(null);return e.words=new Array(Math.ceil(this.n/13)),e},y.prototype.ireduce=function(e){var t,r=e;do{this.split(r,this.tmp),t=(r=(r=this.imulK(r)).iadd(this.tmp)).bitLength()}while(t>this.n);var n=t<this.n?-1:r.ucmp(this.p);return 0===n?(r.words[0]=0,r.length=1):n>0?r.isub(this.p):void 0!==r.strip?r.strip():r._strip(),r},y.prototype.split=function(e,t){e.iushrn(this.n,0,t)},y.prototype.imulK=function(e){return e.imul(this.k)},i(v,y),v.prototype.split=function(e,t){for(var r=4194303,n=Math.min(e.length,9),i=0;i<n;i++)t.words[i]=e.words[i];if(t.length=n,e.length<=9)return e.words[0]=0,void(e.length=1);var o=e.words[9];for(t.words[t.length++]=o&r,i=10;i<e.length;i++){var a=0|e.words[i];e.words[i-10]=(a&r)<<4|o>>>22,o=a}o>>>=22,e.words[i-10]=o,0===o&&e.length>10?e.length-=10:e.length-=9},v.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,r=0;r<e.length;r++){var n=0|e.words[r];t+=977*n,e.words[r]=67108863&t,t=64*n+(t/67108864|0)}return 0===e.words[e.length-1]&&(e.length--,0===e.words[e.length-1]&&e.length--),e},i(w,y),i(x,y),i(M,y),M.prototype.imulK=function(e){for(var t=0,r=0;r<e.length;r++){var n=19*(0|e.words[r])+t,i=67108863&n;n>>>=26,e.words[r]=i,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){if(b[e])return b[e];var t;if("k256"===e)t=new v;else if("p224"===e)t=new w;else if("p192"===e)t=new x;else{if("p25519"!==e)throw new Error("Unknown prime "+e);t=new M}return b[e]=t,t},_.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},_.prototype._verify2=function(e,t){n(0===(e.negative|t.negative),"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},_.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):e.umod(this.m)._forceRed(this)},_.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},_.prototype.add=function(e,t){this._verify2(e,t);var r=e.add(t);return r.cmp(this.m)>=0&&r.isub(this.m),r._forceRed(this)},_.prototype.iadd=function(e,t){this._verify2(e,t);var r=e.iadd(t);return r.cmp(this.m)>=0&&r.isub(this.m),r},_.prototype.sub=function(e,t){this._verify2(e,t);var r=e.sub(t);return r.cmpn(0)<0&&r.iadd(this.m),r._forceRed(this)},_.prototype.isub=function(e,t){this._verify2(e,t);var r=e.isub(t);return r.cmpn(0)<0&&r.iadd(this.m),r},_.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},_.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},_.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},_.prototype.isqr=function(e){return this.imul(e,e.clone())},_.prototype.sqr=function(e){return this.mul(e,e)},_.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var r=this.m.add(new o(1)).iushrn(2);return this.pow(e,r)}for(var i=this.m.subn(1),a=0;!i.isZero()&&0===i.andln(1);)a++,i.iushrn(1);n(!i.isZero());var s=new o(1).toRed(this),l=s.redNeg(),u=this.m.subn(1).iushrn(1),c=this.m.bitLength();for(c=new o(2*c*c).toRed(this);0!==this.pow(c,u).cmp(l);)c.redIAdd(l);for(var d=this.pow(c,i),h=this.pow(e,i.addn(1).iushrn(1)),f=this.pow(e,i),p=a;0!==f.cmp(s);){for(var m=f,g=0;0!==m.cmp(s);g++)m=m.redSqr();n(g<p);var b=this.pow(d,new o(1).iushln(p-g-1));h=h.redMul(b),d=b.redSqr(),f=f.redMul(d),p=g}return h},_.prototype.invm=function(e){var t=e._invmp(this.m);return 0!==t.negative?(t.negative=0,this.imod(t).redNeg()):this.imod(t)},_.prototype.pow=function(e,t){if(t.isZero())return new o(1).toRed(this);if(0===t.cmpn(1))return e.clone();var r=new Array(16);r[0]=new o(1).toRed(this),r[1]=e;for(var n=2;n<r.length;n++)r[n]=this.mul(r[n-1],e);var i=r[0],a=0,s=0,l=t.bitLength()%26;for(0===l&&(l=26),n=t.length-1;n>=0;n--){for(var u=t.words[n],c=l-1;c>=0;c--){var d=u>>c&1;i!==r[0]&&(i=this.sqr(i)),0!==d||0!==a?(a<<=1,a|=d,(4===++s||0===n&&0===c)&&(i=this.mul(i,r[a]),s=0,a=0)):s=0}l=26}return i},_.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},_.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new O(e)},i(O,_),O.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},O.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},O.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var r=e.imul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),o=i;return i.cmp(this.m)>=0?o=i.isub(this.m):i.cmpn(0)<0&&(o=i.iadd(this.m)),o._forceRed(this)},O.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var r=e.mul(t),n=r.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),i=r.isub(n).iushrn(this.shift),a=i;return i.cmp(this.m)>=0?a=i.isub(this.m):i.cmpn(0)<0&&(a=i.iadd(this.m)),a._forceRed(this)},O.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=r.nmd(e),this)},9771:function(e,t,r){var n=r(517),i=r(4109),o=r(3342),a=r(9582),s=r(9183),l=r(6545),u=r(9210),c=r(7052).Buffer;e.exports=function(e,t,r){var d;d=e.padding?e.padding:r?1:4;var h,f=n(e),p=f.modulus.byteLength();if(t.length>p||new a(t).cmp(f.modulus)>=0)throw new Error("decryption error");h=r?u(new a(t),f):s(t,f);var m=c.alloc(p-h.length);if(h=c.concat([m,h],p),4===d)return function(e,t){var r=e.modulus.byteLength(),n=l("sha1").update(c.alloc(0)).digest(),a=n.length;if(0!==t[0])throw new Error("decryption error");var s=t.slice(1,a+1),u=t.slice(a+1),d=o(s,i(u,a)),h=o(u,i(d,r-a-1));if(function(e,t){e=c.from(e),t=c.from(t);var r=0,n=e.length;e.length!==t.length&&(r++,n=Math.min(e.length,t.length));var i=-1;for(;++i<n;)r+=e[i]^t[i];return r}(n,h.slice(0,a)))throw new Error("decryption error");var f=a;for(;0===h[f];)f++;if(1!==h[f++])throw new Error("decryption error");return h.slice(f)}(f,h);if(1===d)return function(e,t,r){var n=t.slice(0,2),i=2,o=0;for(;0!==t[i++];)if(i>=t.length){o++;break}var a=t.slice(2,i-1);("0002"!==n.toString("hex")&&!r||"0001"!==n.toString("hex")&&r)&&o++;a.length<8&&o++;if(o)throw new Error("decryption error");return t.slice(i)}(0,h,r);if(3===d)return h;throw new Error("unknown padding")}},4929:function(e,t,r){var n=r(517),i=r(4956),o=r(6545),a=r(4109),s=r(3342),l=r(9582),u=r(9210),c=r(9183),d=r(7052).Buffer;e.exports=function(e,t,r){var h;h=e.padding?e.padding:r?1:4;var f,p=n(e);if(4===h)f=function(e,t){var r=e.modulus.byteLength(),n=t.length,u=o("sha1").update(d.alloc(0)).digest(),c=u.length,h=2*c;if(n>r-h-2)throw new Error("message too long");var f=d.alloc(r-n-h-2),p=r-c-1,m=i(c),g=s(d.concat([u,f,d.alloc(1,1),t],p),a(m,p)),b=s(m,a(g,c));return new l(d.concat([d.alloc(1),b,g],r))}(p,t);else if(1===h)f=function(e,t,r){var n,o=t.length,a=e.modulus.byteLength();if(o>a-11)throw new Error("message too long");n=r?d.alloc(a-o-3,255):function(e){var t,r=d.allocUnsafe(e),n=0,o=i(2*e),a=0;for(;n<e;)a===o.length&&(o=i(2*e),a=0),(t=o[a++])&&(r[n++]=t);return r}(a-o-3);return new l(d.concat([d.from([0,r?1:2]),n,d.alloc(1),t],a))}(p,t,r);else{if(3!==h)throw new Error("unknown padding");if((f=new l(t)).cmp(p.modulus)>=0)throw new Error("data too long for modulus")}return r?c(f,p):u(f,p)}},9210:function(e,t,r){var n=r(9582),i=r(7052).Buffer;e.exports=function(e,t){return i.from(e.toRed(n.mont(t.modulus)).redPow(new n(t.publicExponent)).fromRed().toArray())}},3342:function(e){e.exports=function(e,t){for(var r=e.length,n=-1;++n<r;)e[n]^=t[n];return e}},4956:function(e,t,r){"use strict";var n=r(2067),i=65536,o=4294967295;var a=r(7052).Buffer,s=r.g.crypto||r.g.msCrypto;s&&s.getRandomValues?e.exports=function(e,t){if(e>o)throw new RangeError("requested too many random bytes");var r=a.allocUnsafe(e);if(e>0)if(e>i)for(var l=0;l<e;l+=i)s.getRandomValues(r.slice(l,l+i));else s.getRandomValues(r);if("function"==typeof t)return n.nextTick(function(){t(null,r)}
2);return r}:e.exports=function(){throw new Error("Secure random number generation is not supported by this browser.\nUse Chrome, Firefox or Internet Explorer 11")}},8120:function(e,t,r){"use strict";var n=r(2067);function i(){throw new Error("secure random number generation not supported by this browser\nuse chrome, FireFox or Internet Explorer 11")}var o=r(7052),a=r(4956),s=o.Buffer,l=o.kMaxLength,u=r.g.crypto||r.g.msCrypto,c=Math.pow(2,32)-1;function d(e,t){if("number"!=typeof e||e!=e)throw new TypeError("offset must be a number");if(e>c||e<0)throw new TypeError("offset must be a uint32");if(e>l||e>t)throw new RangeError("offset out of range")}function h(e,t,r){if("number"!=typeof e||e!=e)throw new TypeError("size must be a number");if(e>c||e<0)throw new TypeError("size must be a uint32");if(e+t>r||e>l)throw new RangeError("buffer too small")}function f(e,t,r,i){if(n.browser){var o=e.buffer,s=new Uint8Array(o,t,r);return u.getRandomValues(s),i?void n.nextTick(function(){i(null,e)}):e}if(!i)return a(r).copy(e,t),e;a(r,function(r,n){if(r)return i(r);n.copy(e,t),i(null,e)})}u&&u.getRandomValues||!n.browser?(t.randomFill=function(e,t,n,i){if(!(s.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if("function"==typeof t)i=t,t=0,n=e.length;else if("function"==typeof n)i=n,n=e.length-t;else if("function"!=typeof i)throw new TypeError('"cb" argument must be a function');return d(t,e.length),h(n,t,e.length),f(e,t,n,i)},t.randomFillSync=function(e,t,n){void 0===t&&(t=0);if(!(s.isBuffer(e)||e instanceof r.g.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');d(t,e.length),void 0===n&&(n=e.length-t);return h(n,t,e.length),f(e,t,n)}):(t.randomFill=i,t.randomFillSync=i)},1493:function(e,t){"use strict";var r=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function i(e,t,n){var i=null;if(void 0!==n&&(i=""+n),void 0!==t.key&&(i=""+t.key),"key"in t)for(var o in n={},t)"key"!==o&&(n[o]=t[o]);else n=t;return t=n.ref,{$$typeof:r,type:e,key:i,ref:void 0!==t?t:null,props:n}}t.Fragment=n,t.jsx=i,t.jsxs=i},5349:function(e,t,r){"use strict";e.exports=r(1493)},3673:function(e,t,r){"use strict";var n=r(1854),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=d;var o=Object.create(r(4999));o.inherits=r(967);var a=r(4719),s=r(8467);o.inherits(d,a);for(var l=i(s.prototype),u=0;u<l.length;u++){var c=l[u];d.prototype[c]||(d.prototype[c]=s.prototype[c])}function d(e){if(!(this instanceof d))return new d(e);a.call(this,e),s.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once("end",h)}function h(){this.allowHalfOpen||this._writableState.ended||n.nextTick(f,this)}function f(e){e.end()}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}}),d.prototype._destroy=function(e,t){this.push(null),this.end(),n.nextTick(t,e)}},4813:function(e,t,r){"use strict";e.exports=o;var n=r(143),i=Object.create(r(4999));function o(e){if(!(this instanceof o))return new o(e);n.call(this,e)}i.inherits=r(967),i.inherits(o,n),o.prototype._transform=function(e,t,r){r(null,e)}},4719:function(e,t,r){"use strict";var n=r(2067),i=r(1854);e.exports=v;var o,a=r(1079);v.ReadableState=y;r(7772).EventEmitter;var s=function(e,t){return e.listeners(t).length},l=r(9584),u=r(7052).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var d=Object.create(r(4999));d.inherits=r(967);var h=r(9838),f=void 0;f=h&&h.debuglog?h.debuglog("stream"):function(){};var p,m=r(3436),g=r(1415);d.inherits(v,l);var b=["error","close","destroy","pause","resume"];function y(e,t){e=e||{};
vendor: 5,636 bytes, line 2
2var n=t instanceof(o=o||r(3673));this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var i=e.highWaterMark,a=e.readableHighWaterMark,s=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(a||0===a)?a:s,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new m,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(p||(p=r(8192).I),this.decoder=new p(e.encoding),this.encoding=e.encoding)}function v(e){if(o=o||r(3673),!(this instanceof v))return new v(e);this._readableState=new y(e,this),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),l.call(this)}function w(e,t,r,n,i){var o,a=e._readableState;null===t?(a.reading=!1,function(e,t){if(t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,O(e)}(e,a)):(i||(o=function(e,t){var r;n=t,u.isBuffer(n)||n instanceof c||"string"==typeof t||void 0===t||e.objectMode||(r=new TypeError("Invalid non-string/buffer chunk"));var n;return r}(a,t)),o?e.emit("error",o):a.objectMode||t&&t.length>0?("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===u.prototype||(t=function(e){return u.from(e)}(t)),n?a.endEmitted?e.emit("error",new Error("stream.unshift() after end event")):x(e,a,t,!0):a.ended?e.emit("error",new Error("stream.push() after EOF")):(a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?x(e,a,t,!1):S(e,a)):x(e,a,t,!1))):n||(a.reading=!1));return function(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}(a)}function x(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(e.emit("data",r),e.read(0)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&O(e)),S(e,t)}Object.defineProperty(v.prototype,"destroyed",{get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),v.prototype.destroy=g.destroy,v.prototype._undestroy=g.undestroy,v.prototype._destroy=function(e,t){this.push(null),t(e)},v.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=u.from(e,t),t=""),r=!0),w(this,e,t,!1,r)},v.prototype.unshift=function(e){return w(this,e,null,!0,!1)},v.prototype.isPaused=function(){return!1===this._readableState.flowing},v.prototype.setEncoding=function(e){return p||(p=r(8192).I),this._readableState.decoder=new p(e),this._readableState.encoding=e,this};var M=8388608;function _(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=M?e=M:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function O(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(f("emitReadable",t.flowing),t.emittedReadable=!0,t.sync?i.nextTick(j,e):j(e))}function j(e){f("emit readable"),e.emit("readable"),T(e)}function S(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(A,e,t))}function A(e,t){for(var r=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(f("maybeReadMore read 0"),e.read(0),r!==t.length);)r=t.length;t.readingMore=!1}function P(e){f("readable nexttick read 0"),e.read(0)}function k(e,t){t.reading||(f("resume read 0"),e.read(0)),t.resumeScheduled=!1,t.awaitDrain=0,e.emit("resume"),T(e),t.flowing&&!t.reading&&e.read(0)}function T(e){var t=e._readableState;for(f("flow",t.flowing);t.flowing&&null!==e.read(););}function E(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.head.data:t.buffer.concat(t.length),t.buffer.clear()):r=function(e,t,r){var n;e<t.head.data.length?(n=t.head.data.slice(0,e),t.head.data=t.head.data.slice(e)):n=e===t.head.data.length?t.shift():r?function(e,t){var r=t.head,n=1,i=r.data;e-=i.length;for(;r=r.next;){var o=r.data,a=e>o.length?o.length:e;if(a===o.length?i+=o:i+=o.slice(0,e),0===(e-=a)){a===o.length?(++n,r.next?t.head=r.next:t.head=t.tail=null):(t.head=r,r.data=o.slice(a));break}++n}return t.length-=n,i}(e,t):function(e,t){var r=u.allocUnsafe(e),n=t.head,i=1;n.data.copy(r),e-=n.data.length;for(;n=n.next;){var o=n.data,a=e>o.length?o.length:e;if(o.copy(r,r.length-e,0,a),0===(e-=a)){a===o.length?(++i,n.next?t.head=n.next:t.head=t.tail=null):(t.head=n,n.data=o.slice(a));break}++i}return t.length-=i,r}(e,t);return n}(e,t.buffer,t.decoder),r);var r}function C(e){var t=e._readableState;if(t.length>0)throw new Error('"endReadable()" called on non-empty stream');t.endEmitted||(t.ended=!0,i.nextTick(D,t,e))}function D(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit("end"))}function N(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}v.prototype.read=function(e){f("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return f("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?C(this):O(this),null;if(0===(e=_(e,t))&&t.ended)return 0===t.length&&C(this),null;var n,i=t.needReadable;
vendor: 2,039 bytes, line 2
2return f("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&f("length less than watermark",i=!0),t.ended||t.reading?f("reading or ended",i=!1):i&&(f("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=_(r,t))),null===(n=e>0?E(e,t):null)?(t.needReadable=!0,e=0):t.length-=e,0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&C(this)),null!==n&&this.emit("data",n),n},v.prototype._read=function(e){this.emit("error",new Error("_read() is not implemented"))},v.prototype.pipe=function(e,t){var r=this,o=this._readableState;switch(o.pipesCount){case 0:o.pipes=e;break;case 1:o.pipes=[o.pipes,e];break;default:o.pipes.push(e)}o.pipesCount+=1,f("pipe count=%d opts=%j",o.pipesCount,t);var l=(!t||!1!==t.end)&&e!==n.stdout&&e!==n.stderr?c:v;function u(t,n){f("onunpipe"),t===r&&n&&!1===n.hasUnpiped&&(n.hasUnpiped=!0,f("cleanup"),e.removeListener("close",b),e.removeListener("finish",y),e.removeListener("drain",d),e.removeListener("error",g),e.removeListener("unpipe",u),r.removeListener("end",c),r.removeListener("end",v),r.removeListener("data",m),h=!0,!o.awaitDrain||e._writableState&&!e._writableState.needDrain||d())}function c(){f("onend"),e.end()}o.endEmitted?i.nextTick(l):r.once("end",l),e.on("unpipe",u);var d=function(e){return function(){var t=e._readableState;f("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&s(e,"data")&&(t.flowing=!0,T(e))}}(r);e.on("drain",d);var h=!1;var p=!1;function m(t){f("ondata"),p=!1,!1!==e.write(t)||p||((1===o.pipesCount&&o.pipes===e||o.pipesCount>1&&-1!==N(o.pipes,e))&&!h&&(f("false write response, pause",o.awaitDrain),o.awaitDrain++,p=!0),r.pause())}function g(t){f("onerror",t),v(),e.removeListener("error",g),0===s(e,"error")&&e.emit("error",t)}function b(){e.removeListener("finish",y),v()}function y(){f("onfinish"),e.removeListener("close",b),v()}function v(){f("unpipe"),r.unpipe(e)}return r.on("data",m),function(e,t,r){if("function"==typeof e.prependListener)return e.prepe
vendor: 29,812 bytes, line 2
2ndListener(t,r);e._events&&e._events[t]?a(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",g),e.once("close",b),e.once("finish",y),e.emit("pipe",r),o.flowing||(f("pipe resume"),r.resume()),e},v.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=N(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},v.prototype.on=function(e,t){var r=l.prototype.on.call(this,e,t);if("data"===e)!1!==this._readableState.flowing&&this.resume();else if("readable"===e){var n=this._readableState;n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.emittedReadable=!1,n.reading?n.length&&O(this):i.nextTick(P,this))}return r},v.prototype.addListener=v.prototype.on,v.prototype.resume=function(){var e=this._readableState;return e.flowing||(f("resume"),e.flowing=!0,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(k,e,t))}(this,e)),this},v.prototype.pause=function(){return f("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(f("pause"),this._readableState.flowing=!1,this.emit("pause")),this},v.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(f("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(f("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<b.length;o++)e.on(b[o],this.emit.bind(this,b[o]));return this._read=function(t){f("wrapped _read",t),n&&(n=!1,e.resume())},this},Object.defineProperty(v.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),v._fromList=E},143:function(e,t,r){"use strict";e.exports=a;var n=r(3673),i=Object.create(r(4999));function o(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(!n)return this.emit("error",new Error("write callback called multiple times"));r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function a(e){if(!(this instanceof a))return new a(e);n.call(this,e),this._transformState={afterTransform:o.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",s)}function s(){var e=this;"function"==typeof this._flush?this._flush(function(t,r){l(e,t,r)}):l(this,null,null)}function l(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(e._transformState.transforming)throw new Error("Calling transform done when still transforming");return e.push(null)}i.inherits=r(967),i.inherits(a,n),a.prototype.push=function(e,t){return this._transformState.needTransform=!1,n.prototype.push.call(this,e,t)},a.prototype._transform=function(e,t,r){throw new Error("_transform() is not implemented")},a.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},a.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},a.prototype._destroy=function(e,t){var r=this;n.prototype._destroy.call(this,e,function(e){t(e),r.emit("close")})}},8467:function(e,t,r){"use strict";var n=r(2067),i=r(8605).Y,o=r(1854);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=y;var s,l=!n.browser&&["v0.10","v0.9."].indexOf(n.version.slice(0,5))>-1?i:o.nextTick;y.WritableState=b;var u=Object.create(r(4999));u.inherits=r(967);var c={deprecate:r(1524)},d=r(9584),h=r(7052).Buffer,f=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var p,m=r(1415);function g(){}function b(e,t){s=s||r(3673),e=e||{};var n=t instanceof s;this.objectMode=!!e.objectMode,n&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var i=e.highWaterMark,u=e.writableHighWaterMark,c=this.objectMode?16:16384;this.highWaterMark=i||0===i?i:n&&(u||0===u)?u:c,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var d=!1===e.decodeStrings;this.decodeStrings=!d,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,i){--t.pendingcb,r?(o.nextTick(i,n),o.nextTick(O,e,t),e._writableState.errorEmitted=!0,e.emit("error",n)):(i(n),e._writableState.errorEmitted=!0,e.emit("error",n),O(e,t))}(e,r,n,t,i);else{var a=M(r);a||r.corked||r.bufferProcessing||!r.bufferedRequest||x(e,r),n?l(w,e,r,a,i):w(e,r,a,i)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function y(e){if(s=s||r(3673),!(p.call(y,this)||this instanceof s))return new y(e);this._writableState=new b(e,this),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),d.call(this)}function v(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function w(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),O(e,t)}function x(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),o=t.corkedRequestsFree;o.entry=r;for(var s=0,l=!0;r;)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,v(e,t,!0,t.length,i,"",o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(v(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function M(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function _(e,t){e._final(function(r){t.pendingcb--,r&&e.emit("error",r),t.prefinished=!0,e.emit("prefinish"),O(e,t)})}function O(e,t){var r=M(t);return r&&(!function(e,t){t.prefinished||t.finalCalled||("function"==typeof e._final?(t.pendingcb++,t.finalCalled=!0,o.nextTick(_,e,t)):(t.prefinished=!0,e.emit("prefinish")))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"))),r}u.inherits(y,d),b.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(b.prototype,"buffer",{get:c.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(p=Function.prototype[Symbol.hasInstance],Object.defineProperty(y,Symbol.hasInstance,{value:function(e){return!!p.call(this,e)||this===y&&(e&&e._writableState instanceof b)}})):p=function(e){return e instanceof this},y.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))},y.prototype.write=function(e,t,r){var n,i=this._writableState,a=!1,s=!i.objectMode&&(n=e,h.isBuffer(n)||n instanceof f);return s&&!h.isBuffer(e)&&(e=function(e){return h.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=i.defaultEncoding),"function"!=typeof r&&(r=g),i.ended?function(e,t){var r=new Error("write after end");e.emit("error",r),o.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var i=!0,a=!1;return null===r?a=new TypeError("May not write null values to stream"):"string"==typeof r||void 0===r||t.objectMode||(a=new TypeError("Invalid non-string/buffer chunk")),a&&(e.emit("error",a),o.nextTick(n,a),i=!1),i}(this,i,e,r))&&(i.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=h.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var l=t.length<t.highWaterMark;l||(t.needDrain=!0);if(t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else v(e,t,!1,s,n,i,o);return l}(this,i,s,e,t,r)),a},y.prototype.cork=function(){this._writableState.corked++},y.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||x(this,e))},y.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(y.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),y.prototype._write=function(e,t,r){r(new Error("_write() is not implemented"))},y.prototype._writev=null,y.prototype.end=function(e,t,r){var n=this._writableState;"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,O(e,t),r&&(t.finished?o.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r)},Object.defineProperty(y.prototype,"destroyed",{get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),y.prototype.destroy=m.destroy,y.prototype._undestroy=m.undestroy,y.prototype._destroy=function(e,t){this.end(),t(e)}},3436:function(e,t,r){"use strict";var n=r(7052).Buffer,i=r(5340);function o(e,t,r){e.copy(t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}return e.prototype.push=function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length},e.prototype.unshift=function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length},e.prototype.shift=function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}},e.prototype.clear=function(){this.head=this.tail=null,this.length=0},e.prototype.join=function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r},e.prototype.concat=function(e){if(0===this.length)return n.alloc(0);for(var t=n.allocUnsafe(e>>>0),r=this.head,i=0;r;)o(r.data,t,i),i+=r.data.length,r=r.next;return t},e}(),i&&i.inspect&&i.inspect.custom&&(e.exports.prototype[i.inspect.custom]=function(){var e=i.inspect({length:this.length});return this.constructor.name+" "+e})},1415:function(e,t,r){"use strict";var n=r(1854);function i(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,o=this._readableState&&this._readableState.destroyed,a=this._writableState&&this._writableState.destroyed;return o||a?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(i,this,e)):n.nextTick(i,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted||(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t&&t(e)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}}},9584:function(e,t,r){e.exports=r(7772).EventEmitter},7764:function(e,t,r){(t=e.exports=r(4719)).Stream=t,t.Readable=t,t.Writable=r(8467),t.Duplex=r(3673),t.Transform=r(143),t.PassThrough=r(4813)},2762:function(e,t,r){"use strict";var n=r(2416).Buffer,i=r(967),o=r(6504),a=new Array(16),s=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],l=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],u=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],c=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],d=[0,1518500249,1859775393,2400959708,2840853838],h=[1352829926,1548603684,1836072691,2053994217,0];function f(e,t){return e<<t|e>>>32-t}function p(e,t,r,n,i,o,a,s){return f(e+(t^r^n)+o+a|0,s)+i|0}function m(e,t,r,n,i,o,a,s){return f(e+(t&r|~t&n)+o+a|0,s)+i|0}function g(e,t,r,n,i,o,a,s){return f(e+((t|~r)^n)+o+a|0,s)+i|0}function b(e,t,r,n,i,o,a,s){return f(e+(t&n|r&~n)+o+a|0,s)+i|0}function y(e,t,r,n,i,o,a,s){return f(e+(t^(r|~n))+o+a|0,s)+i|0}function v(){o.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}i(v,o),v.prototype._update=function(){for(var e=a,t=0;t<16;++t)e[t]=this._block.readInt32LE(4*t);for(var r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,v=0|this._e,w=0|this._a,x=0|this._b,M=0|this._c,_=0|this._d,O=0|this._e,j=0;j<80;j+=1){var S,A;j<16?(S=p(r,n,i,o,v,e[s[j]],d[0],u[j]),A=y(w,x,M,_,O,e[l[j]],h[0],c[j])):j<32?(S=m(r,n,i,o,v,e[s[j]],d[1],u[j]),A=b(w,x,M,_,O,e[l[j]],h[1],c[j])):j<48?(S=g(r,n,i,o,v,e[s[j]],d[2],u[j]),A=g(w,x,M,_,O,e[l[j]],h[2],c[j])):j<64?(S=b(r,n,i,o,v,e[s[j]],d[3],u[j]),A=m(w,x,M,_,O,e[l[j]],h[3],c[j])):(S=y(r,n,i,o,v,e[s[j]],d[4],u[j]),A=p(w,x,M,_,O,e[l[j]],h[4],c[j])),r=v,v=o,o=f(i,10),i=n,n=S,w=O,O=_,_=f(M,10),M=x,x=A}var P=this._b+i+_|0;this._b=this._c+o+O|0,this._c=this._d+v+w|0,this._d=this._e+r+x|0,this._e=this._a+n+M|0,this._a=P},v.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=n.alloc?n.alloc(20):new n(20);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e.writeInt32LE(this._e,16),e},e.exports=v},6504:function(e,t,r){"use strict";var n=r(2468).Buffer,i=r(4786),o=r(7764).Transform;function a(e){o.call(this),this._block=n.allocUnsafe(e),this._blockSize=e,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}r(967)(a,o),a.prototype._transform=function(e,t,r){var n=null;try{this.update(e,t)}catch(e){n=e}r(n)},a.prototype._flush=function(e){var t=null;try{this.push(this.digest())}catch(e){t=e}e(t)},a.prototype.update=function(e,t){if(this._finalized)throw new Error("Digest already called");for(var r=i(e,t),n=this._block,o=0;this._blockOffset+r.length-o>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)n[a]=r[o],a+=1,o+=1;this._update(),this._blockOffset=0}for(;o<r.length;)n[this._blockOffset]=r[o],this._blockOffset+=1,o+=1;for(var s=0,l=8*r.length;l>0;++s)this._length[s]+=l,(l=this._length[s]/4294967296|0)>0&&(this._length[s]-=4294967296*l);return this},a.prototype._update=function(){throw new Error("_update is not implemented")},a.prototype.digest=function(e){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var t=this._digest();void 0!==e&&(t=t.toString(e)),this._block.fill(0),this._blockOffset=0;for(var r=0;r<4;++r)this._length[r]=0;return t},a.prototype._digest=function(){throw new Error("_digest is not implemented")},e.exports=a},4786:function(e,t,r){"use strict";var n=r(2468).Buffer,i=r(6532),o="undefined"!=typeof Uint8Array,a=o&&"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView;e.exports=function(e,t){if("string"==typeof e||n.isBuffer(e)||o&&e instanceof Uint8Array||a&&a(e))return i(e,t);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')}},2468:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},7052:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},6084:function(e,t,r){"use strict";var n=r(6088),i=r(934),o=r(1503)(),a=r(3264),s=r(4500),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},2789:function(e,t,r){"use strict";var n=r(8941).Buffer,i=r(6532);function o(e,t){this._block=n.alloc(e),this._finalSize=t,this._blockSize=e,this._len=0}o.prototype.update=function(e,t){e=i(e,t||"utf8");for(var r=this._block,n=this._blockSize,o=e.length,a=this._len,s=0;s<o;){for(var l=a%n,u=Math.min(o-s,n-l),c=0;c<u;c++)r[l+c]=e[s+c];s+=u,(a+=u)%n===0&&this._update(r)}return this._len+=o,this},o.prototype.digest=function(e){var t=this._len%this._blockSize;this._block[t]=128,this._block.fill(0,t+1),t>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=8*this._len;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var n=(4294967295&r)>>>0,i=(r-n)/4294967296;this._block.writeUInt32BE(i,this._blockSize-8),this._block.writeUInt32BE(n,this._blockSize-4)}this._update(this._block);var o=this._hash();return e?o.toString(e):o},o.prototype._update=function(){throw new Error("_update must be implemented by subclass")},e.exports=o},7381:function(e,t,r){"use strict";e.exports=function(t){var r=t.toLowerCase(),n=e.exports[r];if(!n)throw new Error(r+" is not supported (we accept pull requests)");return new n},e.exports.sha=r(1347),e.exports.sha1=r(9164),e.exports.sha224=r(3195),e.exports.sha256=r(2802),e.exports.sha384=r(6810),e.exports.sha512=r(5307)},8941:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1347:function(e,t,r){"use strict";var n=r(967),i=r(2789),o=r(8941).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<5|e>>>27}function c(e){return e<<30|e>>>2}function d(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=t[l-3]^t[l-8]^t[l-14]^t[l-16];for(var h=0;h<80;++h){var f=~~(h/20),p=u(r)+d(f,n,i,o)+s+t[h]+a[f]|0;s=o,o=i,i=c(n),n=r,r=p}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},9164:function(e,t,r){"use strict";var n=r(967),i=r(2789),o=r(8941).Buffer,a=[1518500249,1859775393,-1894007588,-899497514],s=new Array(80);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e){return e<<1|e>>>31}function c(e){return e<<5|e>>>27}function d(e){return e<<30|e>>>2}function h(e,t,r,n){return 0===e?t&r|~t&n:2===e?t&r|t&n|r&n:t^r^n}n(l,i),l.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,l=0;l<16;++l)t[l]=e.readInt32BE(4*l);for(;l<80;++l)t[l]=u(t[l-3]^t[l-8]^t[l-14]^t[l-16]);for(var f=0;f<80;++f){var p=~~(f/20),m=c(r)+h(p,n,i,o)+s+t[f]+a[p]|0;s=o,o=i,i=d(n),n=r,r=m}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0},l.prototype._hash=function(){var e=o.allocUnsafe(20);return e.writeInt32BE(0|this._a,0),e.writeInt32BE(0|this._b,4),e.writeInt32BE(0|this._c,8),e.writeInt32BE(0|this._d,12),e.writeInt32BE(0|this._e,16),e},e.exports=l},3195:function(e,t,r){"use strict";var n=r(967),i=r(2802),o=r(2789),a=r(8941).Buffer,s=new Array(64);function l(){this.init(),this._w=s,o.call(this,64,56)}n(l,i),l.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(28);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e},e.exports=l},2802:function(e,t,r){"use strict";var n=r(967),i=r(2789),o=r(8941).Buffer,a=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],s=new Array(64);function l(){this.init(),this._w=s,i.call(this,64,56)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e){return(e>>>2|e<<30)^(e>>>13|e<<19)^(e>>>22|e<<10)}function h(e){return(e>>>6|e<<26)^(e>>>11|e<<21)^(e>>>25|e<<7)}function f(e){return(e>>>7|e<<25)^(e>>>18|e<<14)^e>>>3}function p(e){return(e>>>17|e<<15)^(e>>>19|e<<13)^e>>>10}n(l,i),l.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._a,n=0|this._b,i=0|this._c,o=0|this._d,s=0|this._e,l=0|this._f,m=0|this._g,g=0|this._h,b=0;b<16;++b)t[b]=e.readInt32BE(4*b);for(;b<64;++b)t[b]=p(t[b-2])+t[b-7]+f(t[b-15])+t[b-16]|0;for(var y=0;y<64;++y){var v=g+h(s)+u(s,l,m)+a[y]+t[y]|0,w=d(r)+c(r,n,i)|0;g=m,m=l,l=s,s=o+v|0,o=i,i=n,n=r,r=v+w|0}this._a=r+this._a|0,this._b=n+this._b|0,this._c=i+this._c|0,this._d=o+this._d|0,this._e=s+this._e|0,this._f=l+this._f|0,this._g=m+this._g|0,this._h=g+this._h|0},l.prototype._hash=function(){var e=o.allocUnsafe(32);return e.writeInt32BE(this._a,0),e.writeInt32BE(this._b,4),e.writeInt32BE(this._c,8),e.writeInt32BE(this._d,12),e.writeInt32BE(this._e,16),e.writeInt32BE(this._f,20),e.writeInt32BE(this._g,24),e.writeInt32BE(this._h,28),e},e.exports=l},6810:function(e,t,r){"use strict";var n=r(967),i=r(5307),o=r(2789),a=r(8941).Buffer,s=new Array(160);function l(){this.init(),this._w=s,o.call(this,128,112)}n(l,i),l.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},l.prototype._hash=function(){var e=a.allocUnsafe(48);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),e},e.exports=l},5307:function(e,t,r){"use strict";var n=r(967),i=r(2789),o=r(8941).Buffer,a=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,
vendor: 4,467 bytes, line 2
21126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],s=new Array(160);function l(){this.init(),this._w=s,i.call(this,128,112)}function u(e,t,r){return r^e&(t^r)}function c(e,t,r){return e&t|r&(e|t)}function d(e,t){return(e>>>28|t<<4)^(t>>>2|e<<30)^(t>>>7|e<<25)}function h(e,t){return(e>>>14|t<<18)^(e>>>18|t<<14)^(t>>>9|e<<23)}function f(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^e>>>7}function p(e,t){return(e>>>1|t<<31)^(e>>>8|t<<24)^(e>>>7|t<<25)}function m(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^e>>>6}function g(e,t){return(e>>>19|t<<13)^(t>>>29|e<<3)^(e>>>6|t<<26)}function b(e,t){return e>>>0<t>>>0?1:0}n(l,i),l.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this},l.prototype._update=function(e){for(var t=this._w,r=0|this._ah,n=0|this._bh,i=0|this._ch,o=0|this._dh,s=0|this._eh,l=0|this._fh,y=0|this._gh,v=0|this._hh,w=0|this._al,x=0|this._bl,M=0|this._cl,_=0|this._dl,O=0|this._el,j=0|this._fl,S=0|this._gl,A=0|this._hl,P=0;P<32;P+=2)t[P]=e.readInt32BE(4*P),t[P+1]=e.readInt32BE(4*P+4);for(;P<160;P+=2){var k=t[P-30],T=t[P-30+1],E=f(k,T),C=p(T,k),D=m(k=t[P-4],T=t[P-4+1]),N=g(T,k),I=t[P-14],R=t[P-14+1],L=t[P-32],B=t[P-32+1],q=C+R|0,U=E+I+b(q,C)|0;U=(U=U+D+b(q=q+N|0,N)|0)+L+b(q=q+B|0,B)|0,t[P]=U,t[P+1]=q}for(var z=0;z<160;z+=2){U=t[z],q=t[z+1];var F=c(r,n,i),$=c(w,x,M),V=d(r,w),H=d(w,r),W=h(s,O),G=h(O,s),K=a[z],Z=a[z+1],X=u(s,l,y),Y=u(O,j,S),J=A+G|0,Q=v+W+b(J,A)|0;Q=(Q=(Q=Q+X+b(J=J+Y|0,Y)|0)+K+b(J=J+Z|0,Z)|0)+U+b(J=J+q|0,q)|0;var ee=H+$|0,te=V+F+b(ee,H)|0;v=y,A=S,y=l,S=j,l=s,j=O,s=o+Q+b(O=_+J|0,_)|0,o=i,_=M,i=n,M=x,n=r,x=w,r=Q+te+b(w=J+ee|0,J)|0}this._al=this._al+w|0,this._bl=this._bl+x|0,this._cl=this._cl+M|0,this._dl=this._dl+_|0,this._el=this._el+O|0,this._fl=this._fl+j|0,this._gl=this._gl+S|0,this._hl=this._hl+A|0,this._ah=this._ah+r+b(this._al,w)|0,this._bh=this._bh+n+b(this._bl,x)|0,this._ch=this._ch+i+b(this._cl,M)|0,this._dh=this._dh+o+b(this._dl,_)|0,this._eh=this._eh+s+b(this._el,O)|0,this._fh=this._fh+l+b(this._fl,j)|0,this._gh=this._gh+y+b(this._gl,S)|0,this._hh=this._hh+v+b(this._hl,A)|0},l.prototype._hash=function(){var e=o.allocUnsafe(64);function t(t,r,n){e.writeInt32BE(t,n),e.writeInt32BE(r,n+4)}return t(this._ah,this._al,0),t(this._bh,this._bl,8),t(this._ch,this._cl,16),t(this._dh,this._dl,24),t(this._eh,this._el,32),t(this._fh,this._fl,40),t(this._gh,this._gl,48),t(this._hh,this._hl,56),e},e.exports=l},5607:function(e,t,r){e.exports=i;var n=r(7772).EventEmitter;function i(){n.call(this)}r(967)(i,n),i.Readable=r(62),i.Writable=r(9250),i.Duplex=r(3976),i.Transform=r(9880),i.PassThrough=r(682),i.finished=r(4876),i.pipeline=r(896),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},9694:function(e){"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){var t,n;function i(t,n,i){return e.call(this,function(e,t,n){return"string"==typeof r?r:r(e,t,n)}(t,n,i))||this}return n=e,(t=i).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n,i}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(Array.isArray(e)){var r=e.length;return e=e.map(function(e){return String(e)}),r>2?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}return"of ".concat(t," ").concat(String(e))}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invali
2d for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){var i,o,a,s;if("string"==typeof t&&(o="not ",t.substr(!a||a<0?0:+a,o.length)===o)?(i="must not be",t=t.replace(/^not /,"")):i="must be",function(e,t,r){return(void 0===r||r>e.length)&&(r=e.length),e.substring(r-t.length,r)===t}(e," argument"))s="The ".concat(e," ").concat(i," ").concat(n(t,"type"));else{var l=function(e,t,r){return"number"!=typeof r&&(r=0),!(r+t.length>e.length)&&-1!==e.indexOf(t,r)}(e,".")?"property":"argument";s='The "'.concat(e,'" ').concat(l," ").concat(i," ").concat(n(t,"type"))}return s+=". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.F=t},3976:function(e,t,r){"use strict";var n=r(2067),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(62),a=r(9250);r(967)(c,o);for(var s=i(a.prototype),l=0;l<s.length;l++){var u=s[l];c.prototype[u]||(c.prototype[u]=a.prototype[u])}function c(e){if(!(this instanceof c))return new c(e);o.call(this,e),a.call(this,e),this.allowHalfOpen=!0,e&&(!1===e.readable&&(this.readable=!1),!1===e.writable&&(this.writable=!1),!1===e.allowHalfOpen&&(this.allowHalfOpen=!1,this.once("end",d)))}function d(){this._writableState.ended||n.nextTick(h,this)}function h(e){e.end()}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed&&this._writableState.destroyed)},set:function(e){void 0!==this._readableState&&void 0!==this._writableState&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})},682:function(e,t,r){"use strict";e.exports=i;var n=r(9880);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(967)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},62:function(e,t,r){"use strict";var n,i=r(2067);e.exports=j,j.ReadableState=O;r(7772).EventEmitter;var o=function(e,t){return e.listeners(t).length},a=r(2303),s=r(2416).Buffer,l=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var u,c=r(7199);u=c&&c.debuglog?c.debuglog("stream"):function(){};var d,h,f,p=r(2211),m=r(1622),g=r(7625).getHighWaterMark,b=r(9694).F,y=b.ERR_INVALID_ARG_TYPE,v=b.ERR_STREAM_PUSH_AFTER_EOF,w=b.ERR_METHOD_NOT_IMPLEMENTED,x=b.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(967)(j,a);var M=m.errorOrDestroy,_=["error","close","destroy","pause","resume"];function O(e,t,i){n=n||r(3976),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=g(this,e,"readableHighWaterMark",i),this.buffer=new p,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(d||(d=r(8192).I),this.decoder=new d(e.encoding),this.encoding=e.encoding)}function j(e){if(n=n||r(3976),!(this instanceof j))return new j(e);var t=this instanceof n;this._readableState=new O(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),a.call(this)}function S(e,t,r,n,i){u("readableAddChunk",t);var o,a=e._readableState;if(null===t)a.reading=!1,function(e,t){if(u("onEofChunk"),t.ended)return;if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?T(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,E(e)))}(e,a);else if(i||(o=function(e,t){var r;n=t,s.isBuffer(n)||n instanceof l||"string"==typeof t||void 0===t||e.objectMode||(r=new y("chunk",["string","Buffer","Uint8Array"],t));var n;return r}(a,t)),o)M(e,o);else if(a.objectMode||t&&t.length>0)if("string"==typeof t||a.objectMode||Object.getPrototypeOf(t)===s.prototype||(t=function(e){return s.from(e)}(t)),n)a.endEmitted?M(e,new x):A(e,a,t,!0);else if(a.ended)M(e,new v);else{if(a.destroyed)return!1;a.reading=!1,a.decoder&&!r?(t=a.decoder.write(t),a.objectMode||0!==t.length?A(e,a,t,!1):C(e,a)):A(e,a,t,!1)}else n||(a.reading=!1,C(e,a));return!a.ended&&(a.length<a.highWaterMark||0===a.length)}function A(e,t,r,n){t.flowing&&0===t.length&&!t.sync?(t.awaitDrain=0,e.emit("data",r)):(t.length+=t.objectMode?1:r.length,n?t.buffer.unshift(r):t.buffer.push(r),t.needReadable&&T(e)),C(e,t)}Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._readableState&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),j.prototype.destroy=m.destroy,j.prototype._undestroy=m.undestroy,j.prototype._destroy=function(e,t){t(e)},j.prototype.push=function(e,t){var r,n=this._readableState;return n.objectMode?r=!0:"string"==typeof e&&((t=t||n.defaultEncoding)!==n.encoding&&(e=s.from(e,t),t=""),r=!0),S(this,e,t,!1,r)},j.prototype.unshift=function(e){return S(this,e,null,!0,!1)},j.prototype.isPaused=function(){return!1===this._readableState.flowing},j.prototype.setEncoding=function(e){d||(d=r(8192).I);var t=new d(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;
vendor: 9,328 bytes, line 2
2for(var n=this._readableState.buffer.head,i="";null!==n;)i+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),""!==i&&this._readableState.buffer.push(i),this._readableState.length=i.length,this};var P=1073741824;function k(e,t){return e<=0||0===t.length&&t.ended?0:t.objectMode?1:e!=e?t.flowing&&t.length?t.buffer.head.data.length:t.length:(e>t.highWaterMark&&(t.highWaterMark=function(e){return e>=P?e=P:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0))}function T(e){var t=e._readableState;u("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u("emitReadable",t.flowing),t.emittedReadable=!0,i.nextTick(E,e))}function E(e){var t=e._readableState;u("emitReadable_",t.destroyed,t.length,t.ended),t.destroyed||!t.length&&!t.ended||(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,L(e)}function C(e,t){t.readingMore||(t.readingMore=!0,i.nextTick(D,e,t))}function D(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&0===t.length);){var r=t.length;if(u("maybeReadMore read 0"),e.read(0),r===t.length)break}t.readingMore=!1}function N(e){var t=e._readableState;t.readableListening=e.listenerCount("readable")>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function I(e){u("readable nexttick read 0"),e.read(0)}function R(e,t){u("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),L(e),t.flowing&&!t.reading&&e.read(0)}function L(e){var t=e._readableState;for(u("flow",t.flowing);t.flowing&&null!==e.read(););}function B(e,t){return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r);var r}function q(e){var t=e._readableState;u("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,i.nextTick(U,t,e))}function U(e,t){if(u("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function z(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r]===t)return r;return-1}j.prototype.read=function(e){u("read",e),e=parseInt(e,10);var t=this._readableState,r=e;if(0!==e&&(t.emittedReadable=!1),0===e&&t.needReadable&&((0!==t.highWaterMark?t.length>=t.highWaterMark:t.length>0)||t.ended))return u("read: emitReadable",t.length,t.ended),0===t.length&&t.ended?q(this):T(this),null;if(0===(e=k(e,t))&&t.ended)return 0===t.length&&q(this),null;var n,i=t.needReadable;return u("need readable",i),(0===t.length||t.length-e<t.highWaterMark)&&u("length less than watermark",i=!0),t.ended||t.reading?u("reading or ended",i=!1):i&&(u("do read"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=k(r,t))),null===(n=e>0?B(e,t):null)?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),0===t.length&&(t.ended||(t.needReadable=!0),r!==e&&t.ended&&q(this)),null!==n&&this.emit("data",n),n},j.prototype._read=function(e){M(this,new w("_read()"))},j.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,u("pipe count=%d opts=%j",n.pipesCount,t);var a=(!t||!1!==t.end)&&e!==i.stdout&&e!==i.stderr?l:g;function s(t,i){u("onunpipe"),t===r&&i&&!1===i.hasUnpiped&&(i.hasUnpiped=!0,u("cleanup"),e.removeListener("close",p),e.removeListener("finish",m),e.removeListener("drain",c),e.removeListener("error",f),e.removeListener("unpipe",s),r.removeListener("end",l),r.removeListener("end",g),r.removeListener("data",h),d=!0,!n.awaitDrain||e._writableState&&!e._writableState.needDrain||c())}function l(){u("onend"),e.end()}n.endEmitted?i.nextTick(a):r.once("end",a),e.on("unpipe",s);var c=function(e){return function(){var t=e._readableState;u("pipeOnDrain",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&o(e,"data")&&(t.flowing=!0,L(e))}}(r);e.on("drain",c);var d=!1;function h(t){u("ondata");var i=e.write(t);u("dest.write",i),!1===i&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==z(n.pipes,e))&&!d&&(u("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function f(t){u("onerror",t),g(),e.removeListener("error",f),0===o(e,"error")&&M(e,t)}function p(){e.removeListener("finish",m),g()}function m(){u("onfinish"),e.removeListener("close",p),g()}function g(){u("unpipe"),r.unpipe(e)}return r.on("data",h),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",f),e.once("close",p),e.once("finish",m),e.emit("pipe",r),n.flowing||(u("pipe resume"),r.resume()),e},j.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o<i;o++)n[o].emit("unpipe",this,{hasUnpiped:!1});return this}var a=z(t.pipes,e);return-1===a||(t.pipes.splice(a,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit("unpipe",this,r)),this},j.prototype.on=function(e,t){var r=a.prototype.on.call(this,e,t),n=this._readableState;return"data"===e?(n.readableListening=this.listenerCount("readable")>0,!1!==n.flowing&&this.resume()):"readable"===e&&(n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,u("on readable",n.length,n.reading),n.length?T(this):n.reading||i.nextTick(I,this))),r},j.prototype.addListener=j.prototype.on,j.prototype.removeListener=function(e,t){var r=a.prototype.removeListener.call(this,e,t);return"readable"===e&&i.nextTick(N,this),r},j.prototype.removeAllListeners=function(e){var t=a.prototype.removeAllListeners.apply(this,arguments);return"readable"!==e&&void 0!==e||i.nextTick(N,this),t},j.prototype.resume=function(){var e=this._readableState;return e.flowing||(u("resume"),e.flowing=!e.readableListening,function(e,t){t.resumeScheduled||(t.resumeScheduled=!0,i.nextTick(R,e,t))}(this,e)),e.paused=!1,this},j.prototype.pause=function(){return u("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(u("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},j.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var i in e.on("end",function(){if(u("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(i){(u("wrapped data"),r.decoder&&(i=r.decoder.write(i)),r.objectMode&&null==i)||(r.objectMode||i&&i.length)&&(t.push(i)||(n=!0,e.pause()))}),e)void 0===this[i]&&"function"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));for(var o=0;o<_.length;o++)e.on(_[o],this.emit.bind(this,_[o]));return this._read=function(t){u("wrapped _read",t),n&&(n=!1,e.resume())},this},"function"==typeof Symbol&&(j.prototype[Symbol.asyncIterator]=function(){return void 0===h&&(h=r(1477)),h(this)}),Object.defineProperty(j.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(j.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(j.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),j._fromList=B,Object.defineProperty(j.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}}),"function"==typeof Symbol&&(j.from=function(e,t){return void 0===f&&(f=r(2943)),f(j,e,t)})},9880:function(e,t,r){"use strict";e.exports=c;var n=r(9694).F,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(3976);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}function c(e){if(!(this instanceof c))return new c(e);l.call(this,e),this._transformState={afterTransform:u.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&("function"==typeof e.transform&&(this._transform=e.transform),"function"==typeof e.flush&&(this._flush=e.flush)),this.on("prefinish",d)}function d(){var e=this;"function"!=typeof this._flush||this._readableState.destroyed?h(this,null,null):this._flush(function(t,r){h(e,t,r)})}function h(e,t,r){if(t)return e.emit("error",t);if(null!=r&&e.push(r),e._writableState.length)throw new s;if(e._transformState.transforming)throw new a;return e.push(null)}
vendor: 8,938 bytes, line 2
2r(967)(c,l),c.prototype.push=function(e,t){return this._transformState.needTransform=!1,l.prototype.push.call(this,e,t)},c.prototype._transform=function(e,t,r){r(new i("_transform()"))},c.prototype._write=function(e,t,r){var n=this._transformState;if(n.writecb=r,n.writechunk=e,n.writeencoding=t,!n.transforming){var i=this._readableState;(n.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},c.prototype._read=function(e){var t=this._transformState;null===t.writechunk||t.transforming?t.needTransform=!0:(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform))},c.prototype._destroy=function(e,t){l.prototype._destroy.call(this,e,function(e){t(e)})}},9250:function(e,t,r){"use strict";var n,i=r(2067);function o(e){var t=this;this.next=null,this.entry=null,this.finish=function(){!function(e,t,r){var n=e.entry;e.entry=null;for(;n;){var i=n.callback;t.pendingcb--,i(r),n=n.next}t.corkedRequestsFree.next=e}(t,e)}}e.exports=j,j.WritableState=O;var a={deprecate:r(1524)},s=r(2303),l=r(2416).Buffer,u=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){};var c,d=r(1622),h=r(7625).getHighWaterMark,f=r(9694).F,p=f.ERR_INVALID_ARG_TYPE,m=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,b=f.ERR_STREAM_CANNOT_PIPE,y=f.ERR_STREAM_DESTROYED,v=f.ERR_STREAM_NULL_VALUES,w=f.ERR_STREAM_WRITE_AFTER_END,x=f.ERR_UNKNOWN_ENCODING,M=d.errorOrDestroy;function _(){}function O(e,t,a){n=n||r(3976),e=e||{},"boolean"!=typeof a&&(a=t instanceof n),this.objectMode=!!e.objectMode,a&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=h(this,e,"writableHighWaterMark",a),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){!function(e,t){var r=e._writableState,n=r.sync,o=r.writecb;if("function"!=typeof o)throw new g;if(function(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}(r),t)!function(e,t,r,n,o){--t.pendingcb,r?(i.nextTick(o,n),i.nextTick(E,e,t),e._writableState.errorEmitted=!0,M(e,n)):(o(n),e._writableState.errorEmitted=!0,M(e,n),E(e,t))}(e,r,n,t,o);else{var a=k(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||P(e,r),n?i.nextTick(A,e,r,a,o):A(e,r,a,o)}}(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new o(this)}function j(e){var t=this instanceof(n=n||r(3976));if(!t&&!c.call(j,this))return new j(e);this._writableState=new O(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),s.call(this)}function S(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new y("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,r,n){r||function(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain"))}(e,t),t.pendingcb--,n(),E(e,t)}function P(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=t.bufferedRequestCount,i=new Array(n),a=t.corkedRequestsFree;a.entry=r;for(var s=0,l=!0;r;)i[s]=r,r.isBuf||(l=!1),r=r.next,s+=1;i.allBuffers=l,S(e,t,!0,t.length,i,"",a.finish),t.pendingcb++,t.lastBufferedRequest=null,a.next?(t.corkedRequestsFree=a.next,a.next=null):t.corkedRequestsFree=new o(t),t.bufferedRequestCount=0}else{for(;r;){var u=r.chunk,c=r.encoding,d=r.callback;if(S(e,t,!1,t.objectMode?1:u.length,u,c,d),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function k(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function T(e,t){e._final(function(r){t.pendingcb--,r&&M(e,r),t.prefinished=!0,e.emit("prefinish"),E(e,t)})}function E(e,t){var r=k(t);if(r&&(function(e,t){t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,i.nextTick(T,e,t)))}(e,t),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(967)(j,s),O.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(O.prototype,"buffer",{get:a.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(c=Function.prototype[Symbol.hasInstance],Object.defineProperty(j,Symbol.hasInstance,{value:function(e){return!!c.call(this,e)||this===j&&(e&&e._writableState instanceof O)}})):c=function(e){return e instanceof this},j.prototype.pipe=function(){M(this,new b)},j.prototype.write=function(e,t,r){var n,o=this._writableState,a=!1,s=!o.objectMode&&(n=e,l.isBuffer(n)||n instanceof u);return s&&!l.isBuffer(e)&&(e=function(e){return l.from(e)}(e)),"function"==typeof t&&(r=t,t=null),s?t="buffer":t||(t=o.defaultEncoding),"function"!=typeof r&&(r=_),o.ending?function(e,t){var r=new w;M(e,r),i.nextTick(t,r)}(this,r):(s||function(e,t,r,n){var o;return null===r?o=new v:"string"==typeof r||t.objectMode||(o=new p("chunk",["string","Buffer"],r)),!o||(M(e,o),i.nextTick(n,o),!1)}(this,o,e,r))&&(o.pendingcb++,a=function(e,t,r,n,i,o){if(!r){var a=function(e,t,r){e.objectMode||!1===e.decodeStrings||"string"!=typeof t||(t=l.from(t,r));return t}(t,n,i);n!==a&&(r=!0,i="buffer",n=a)}var s=t.objectMode?1:n.length;t.length+=s;var u=t.length<t.highWaterMark;u||(t.needDrain=!0);if(t.writing||t.corked){var c=t.lastBufferedRequest;t.lastBufferedRequest={chunk:n,encoding:i,isBuf:r,callback:o,next:null},c?c.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else S(e,t,!1,s,n,i,o);return u}(this,o,s,e,t,r)),a},j.prototype.cork=function(){this._writableState.corked++},j.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.bufferProcessing||!e.bufferedRequest||P(this,e))},j.prototype.setDefaultEncoding=function(e){if("string"==typeof e&&(e=e.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((e+"").toLowerCase())>-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(j.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(j.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),j.prototype._write=function(e,t,r){r(new m("_write()"))},j.prototype._writev=null,j.prototype.end=function(e,t,r){var n=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),n.corked&&(n.corked=1,this.uncork()),n.ending||function(e,t,r){t.ending=!0,E(e,t),r&&(t.finished?i.nextTick(r):e.once("finish",r));t.ended=!0,e.writable=!1}(this,n,r),this},Object.defineProperty(j.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(j.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),j.prototype.destroy=d.destroy,j.prototype._undestroy=d.undestroy,j.prototype._destroy=function(e,t){t(e)}},1477:function(e,t,r){"use strict";var n,i=r(2067);function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(4876),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),d=Symbol("lastPromise"),h=Symbol("handlePromise"),f=Symbol("stream");function p(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[f].read();null!==r&&(e[d]=null,e[s]=null,e[l]=null,t(p(r,!1)))}}function g(e){i.nextTick(m,e)}var b=Object.getPrototypeOf(function(){}
vendor: 8,360 bytes, line 2
2),y=Object.setPrototypeOf((o(n={get stream(){return this[f]},next:function(){var e=this,t=this[u];if(null!==t)return Promise.reject(t);if(this[c])return Promise.resolve(p(void 0,!0));if(this[f].destroyed)return new Promise(function(t,r){i.nextTick(function(){e[u]?r(e[u]):t(p(void 0,!0))})});var r,n=this[d];if(n)r=new Promise(function(e,t){return function(r,n){e.then(function(){t[c]?r(p(void 0,!0)):t[h](r,n)},n)}}(n,this));else{var o=this[f].read();if(null!==o)return Promise.resolve(p(o,!1));r=new Promise(this[h])}return this[d]=r,r}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var e=this;return new Promise(function(t,r){e[f].destroy(null,function(e){e?r(e):t(p(void 0,!0))})})}),n),b);e.exports=function(e){var t,r=Object.create(y,(o(t={},f,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,h,{value:function(e,t){var n=r[f].read();n?(r[d]=null,r[s]=null,r[l]=null,e(p(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[d]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];return null!==t&&(r[d]=null,r[s]=null,r[l]=null,t(e)),void(r[u]=e)}var n=r[s];null!==n&&(r[d]=null,r[s]=null,r[l]=null,n(p(void 0,!0))),r[c]=!0}),e.on("readable",g.bind(null,r)),r}},2211:function(e,t,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach(function(t){o(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function o(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,s(n.key),n)}}function s(e){var t=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:String(t)}var l=r(2416).Buffer,u=r(3779).inspect,c=u&&u.custom||"inspect";function d(e,t,r){l.prototype.copy.call(e,t,r)}e.exports=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.head=null,this.tail=null,this.length=0}var t,r,n;return t=e,(r=[{key:"push",value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return l.alloc(0);for(var t=l.allocUnsafe(e>>>0),r=this.head,n=0;r;)d(r.data,t,n),n+=r.data.length,r=r.next;return t}},{key:"consume",value:function(e,t){var r;return e<this.head.data.length?(r=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):r=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),r}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(e){var t=this.head,r=1,n=t.data;for(e-=n.length;t=t.next;){var i=t.data,o=e>i.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0===(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=l.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0===(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:c,value:function(e,t){return u(this,i(i({},t),{},{depth:0,customInspect:!1}))}}])&&a(t.prototype,r),n&&a(t,n),Object.defineProperty(t,"prototype",{writable:!1}),e}()},1622:function(e,t,r){"use strict";var n=r(2067);function i(e,t){a(e,t),o(e)}function o(e){e._writableState&&!e._writableState.emitClose||e._readableState&&!e._readableState.emitClose||e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,e)):n.nextTick(a,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t?(n.nextTick(o,r),t(e)):n.nextTick(o,r)}),this)},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},4876:function(e,t,r){"use strict";var n=r(9694).F.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),o=function(e){var t=!1;return function(){if(!t){t=!0;for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n)}}}(o||i);var a=r.readable||!1!==r.readable&&t.readable,s=r.writable||!1!==r.writable&&t.writable,l=function(){t.writable||c()},u=t._writableState&&t._writableState.finished,c=function(){s=!1,u=!0,a||o.call(t)},d=t._readableState&&t._readableState.endEmitted,h=function(){a=!1,d=!0,s||o.call(t)},f=function(e){o.call(t,e)},p=function(){var e;return a&&!d?(t._readableState&&t._readableState.ended||(e=new n),o.call(t,e)):s&&!u?(t._writableState&&t._writableState.ended||(e=new n),o.call(t,e)):void 0},m=function(){t.req.on("finish",c)};return!function(e){return e.setHeader&&"function"==typeof e.abort}(t)?s&&!t._writableState&&(t.on("end",l),t.on("close",l)):(t.on("complete",c),t.on("abort",p),t.req?m():t.on("request",m)),t.on("end",h),t.on("finish",c),!1!==r.error&&t.on("error",f),t.on("close",p),function(){t.removeListener("complete",c),t.removeListener("abort",p),t.removeListener("request",m),t.req&&t.req.removeListener("finish",c),t.removeListener("end",l),t.removeListener("close",l),t.removeListener("finish",c),t.removeListener("end",h),t.removeListener("error",f),t.removeListener("close",p)}}},2943:function(e){e.exports=function(){throw new Error("Readable.from is not available in the browser")}},896:function(e,t,r){"use strict";var n;var i=r(9694).F,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];var c,d=function(e){return e.length?"function"!=typeof e[e.length-1]?s:e.pop():s}(t);if(Array.isArray(t[0])&&(t=t[0]),t.length<2)throw new o("streams");var h=t.map(function(e,i){var o=i<t.length-1;return function(e,t,i,o){o=function(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}(o);var s=!1;e.on("close",function(){s=!0}
vendor: 4,816 bytes, line 2
2),void 0===n&&(n=r(4876)),n(e,{readable:t,writable:i},function(e){if(e)return o(e);s=!0,o()});var l=!1;return function(t){if(!s&&!l)return l=!0,function(e){return e.setHeader&&"function"==typeof e.abort}(e)?e.abort():"function"==typeof e.destroy?e.destroy():void o(t||new a("pipe"))}}(e,o,i>0,function(e){c||(c=e),e&&h.forEach(l),o||(h.forEach(l),d(c))})});return t.reduce(u)}},7625:function(e,t,r){"use strict";var n=r(9694).F.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=function(e,t,r){return null!=e.highWaterMark?e.highWaterMark:t?e[r]:null}(t,i,r);if(null!=o){if(!isFinite(o)||Math.floor(o)!==o||o<0)throw new n(i?r:"highWaterMark",o);return Math.floor(o)}return e.objectMode?16:16384}}},2303:function(e,t,r){e.exports=r(7772).EventEmitter},8192:function(e,t,r){"use strict";var n=r(7052).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=d,t=3;break;default:return this.write=h,void(this.end=f)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function d(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function h(e){return e.toString(this.encoding)}function f(e){return e&&e.length?this.write(e):""}t.I=o,o.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},o.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},o.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var i=a(t[n]);if(i>=0)return i>0&&(e.lastNeed=i-1),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(e.lastNeed=i-2),i;if(--n<r||-2===i)return 0;if(i=a(t[n]),i>=0)return i>0&&(2===i?i=0:e.lastNeed=i-3),i;return 0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6532:function(e,t,r){"use strict";var n=r(182).Buffer,i=r(8349),o=r(1399),a=ArrayBuffer.isView||function(e){try{return o(e),!0}catch(e){return!1}},s="undefined"!=typeof Uint8Array,l="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,u=l&&(n.prototype instanceof Uint8Array||n.TYPED_ARRAY_SUPPORT);e.exports=function(e,t){if(n.isBuffer(e))return e.constructor&&!("isBuffer"in e)?n.from(e):e;if("string"==typeof e)return n.from(e,t);
2if(l&&a(e)){if(0===e.byteLength)return n.alloc(0);if(u){var r=n.from(e.buffer,e.byteOffset,e.byteLength);if(r.byteLength===e.byteLength)return r}var o=e instanceof Uint8Array?e:new Uint8Array(e.buffer,e.byteOffset,e.byteLength),c=n.from(o);if(c.length===e.byteLength)return c}if(s&&e instanceof Uint8Array)return n.from(e);var d=i(e);if(d)for(var h=0;h<e.length;h+=1){var f=e[h];if("number"!=typeof f||f<0||f>255||~~f!==f)throw new RangeError("Array items must be numbers in the range 0-255.")}if(d||n.isBuffer(e)&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e))return n.from(e);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')}},8349:function(e){var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},182:function(e,t,r){var n=r(2416),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},1399:function(e,t,r){"use strict";var n=r(4500),i=r(5799)("TypedArray.prototype.buffer",!0),o=r(8991);e.exports=i||function(e){if(!o(e))throw new n("Not a Typed Array");return e.buffer}},1524:function(e,t,r){function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw new Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}}},3740:function(__unused_webpack_module,exports){var indexOf=function(e,t){if(e.indexOf)return e.indexOf(t);for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},Object_keys=function(e){if(Object.keys)return Object.keys(e);var t=[];for(var r in e)t.push(r);return t},forEach=function(e,t){if(e.forEach)return e.forEach(t);for(var r=0;r<e.length;r++)t(e[r],r,e)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(e,t,r){Object.defineProperty(e,t,{writable:!0,enumerable:!1,configurable:!0,value:r})}}catch(e){return function(e,t,r){e[t]=r}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(e){if(!(this instanceof Script))return new Script(e);this.code=e};Script.prototype.runInContext=function(e){if(!(e instanceof Context))throw new TypeError("needs a 'context' argument.");var t=document.createElement("iframe");t.style||(t.style={}),t.style.display="none",document.body.appendChild(t);var r=t.contentWindow,n=r.eval,i=r.execScript;!n&&i&&(i.call(r,"null"),n=r.eval),forEach(Object_keys(e),function(t){r[t]=e[t]}
2),forEach(globals,function(t){e[t]&&(r[t]=e[t])});var o=Object_keys(r),a=n.call(r,this.code);return forEach(Object_keys(r),function(t){(t in e||-1===indexOf(o,t))&&(e[t]=r[t])}),forEach(globals,function(t){t in e||defineProp(e,t,r[t])}),document.body.removeChild(t),a},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(e){var t=Script.createContext(e),r=this.runInContext(t);return e&&forEach(Object_keys(t),function(r){e[r]=t[r]}),r},forEach(Object_keys(Script.prototype),function(e){exports[e]=Script[e]=function(t){var r=Script(t);return r[e].apply(r,[].slice.call(arguments,1))}}),exports.isContext=function(e){return e instanceof Context},exports.createScript=function(e){return exports.Script(e)},exports.createContext=Script.createContext=function(e){var t=new Context;return"object"==typeof e&&forEach(Object_keys(e),function(r){t[r]=e[r]}),t}},7506:function(e,t,r){"use strict";var n=r(1401),i=r(5905),o=r(7050),a=r(4418),s=r(3264),l=a("Object.prototype.toString"),u=r(7505)(),c="undefined"==typeof globalThis?r.g:globalThis,d=i(),h=a("String.prototype.slice"),f=Object.getPrototypeOf,p=a("Array.prototype.indexOf",!0)||function(e,t){for(var r=0;r<e.length;r+=1)if(e[r]===t)return r;return-1},m={__proto__:null};n(d,u&&s&&f?function(e){var t=new c[e];if(Symbol.toStringTag in t){var r=f(t),n=s(r,Symbol.toStringTag);if(!n){var i=f(r);n=s(i,Symbol.toStringTag)}m["$"+e]=o(n.get)}}:function(e){var t=new c[e],r=t.slice||t.set;r&&(m["$"+e]=o(r))});e.exports=function(e){if(!e||"object"!=typeof e)return!1;if(!u){var t=h(l(e),8,-1);return p(d,t)>-1?t:"Object"===t&&function(e){var t=!1;return n(m,function(r,n){if(!t)try{r(e),t=h(n,1)}catch(e){}}),t}(e)}return s?function(e){var t=!1;return n(m,function(r,n){if(!t)try{"$"+r(e)===n&&(t=h(n,1))}catch(e){}}),t}(e):null}},6780:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__6780__},9894:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__9894__},809:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__809__},4375:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__4375__},4321:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__4321__},2986:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__2986__},1592:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__1592__},9626:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__9626__},3993:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__3993__},7983:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__7983__},7508:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__7508__},1534:function(e){"use strict";e.exports=__WEBPACK_EXTERNAL_MODULE__1534__},8982:function(){},7790:function(){},3776:function(){},7965:function(){},6089:function(){},9368:function(){},4688:function(){},1069:function(){},5340:function(){},9838:function(){},3779:function(){},7199:function(){},3219:function(e){"use strict";e.exports=JSON.parse('{"aes-128-ecb":{"cipher":"AES","key":128,"iv":0,"mode":"ECB","type":"block"},"aes-192-ecb":{"cipher":"AES","key":192,"iv":0,"mode":"ECB","type":"block"},"aes-256-ecb":{"cipher":"AES","key":256,"iv":0,"mode":"ECB","type":"block"},"aes-128-cbc":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes-192-cbc":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes-256-cbc":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes128":{"cipher":"AES","key":128,"iv":16,"mode":"CBC","type":"block"},"aes192":{"cipher":"AES","key":192,"iv":16,"mode":"CBC","type":"block"},"aes256":{"cipher":"AES","key":256,"iv":16,"mode":"CBC","type":"block"},"aes-128-cfb":{"cipher":"AES","key":128,"iv":16,"mode":"CFB","type":"stream"},"aes-192-cfb":{"cipher":"AES","key":192,"iv":16,"mode":"CFB","type":"stream"},"aes-256-cfb":{"cipher":"AES","key":256,"iv":16,"mode":"CFB","type":"stream"},"aes-128-cfb8":{"cipher":"AES","key":128,"iv":16,"mode":"CFB8","type":"stream"},"aes-192-cfb8":{"cipher":"AES","key":192,"iv":16,"mode":"CFB8","type":"stream"},"aes-256-cfb8":{"cipher":"AES","key":256,"iv":16,"mode":"CFB8","type":"stream"},"aes-128-cfb1":{"cipher":"AES","key":128,"iv":16,"mode":"CFB1","type":"stream"},"aes-192-cfb1":{"cipher":"AES","key":192,"iv":16,"mode":"CFB1","type":"stream"},"aes-256-cfb1":{"cipher":"AES","key":256,"iv":16,"mode":"CFB1","type":"stream"},"aes-128-ofb":{"cipher":"AES","key":128,"iv":16,"mode":"OFB","type":"stream"},"aes-192-ofb":{"cipher":"AES","key":192,"iv":16,"mode":"OFB","type":"stream"},"aes-256-ofb":{"cipher":"AES","key":256,"iv":16,"mode":"OFB","type":"stream"},"aes-128-ctr":{"cipher":"AES","key":128,"iv":16,"mode":"CTR","type":"stream"},"aes-192-ctr":{"cipher":"AES","key":192,"iv":16,"mode":"CTR","type":"stream"},"aes-256-ctr":{"cipher":"AES","key":256,"iv":16,"mode":"CTR","type":"stream"},"aes-128-gcm":{"cipher":"AES","key":128,"iv":12,"mode":"GCM","type":"auth"},"aes-192-gcm":{"cipher":"AES","key":192,"iv":12,"mode":"GCM","type":"auth"},"aes-256-gcm":{"cipher":"AES","key":256,"iv":12,"mode":"GCM","type":"auth"}}')},2951:function(e){"use strict";e.exports=JSON.parse('{"sha224WithRSAEncryption":{"sign":"rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"RSA-SHA224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha256WithRSAEncryption":{"sign":"rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"RSA-SHA256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha384WithRSAEncryption":{"sign":"rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"RSA-SHA384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512WithRSAEncryption":{"sign":"rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"RSA-SHA1":{"sign":"rsa","hash":"sha1","id":"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{"sign":"ecdsa","hash":"sha1","id":""},"sha256":{"sign":"ecdsa/rsa","hash":"sha256","id":"3031300d060960864801650304020105000420"},"sha224":{"sign":"ecdsa/rsa","hash":"sha224","id":"302d300d06096086480165030402040500041c"},"sha384":{"sign":"ecdsa/rsa","hash":"sha384","id":"3041300d060960864801650304020205000430"},"sha512":{"sign":"ecdsa/rsa","hash":"sha512","id":"3051300d060960864801650304020305000440"},"DSA-SHA":{"sign":"dsa","hash":"sha1","id":""},"DSA-SHA1":{"sign":"dsa","hash":"sha1","id":""},"DSA":{"sign":"dsa","hash":"sha1","id":""},"DSA-WITH-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-SHA224":{"sign":"dsa","hash":"sha224","id":""},"DSA-WITH-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-SHA256":{"sign":"dsa","hash":"sha256","id":""},"DSA-WITH-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-SHA384":{"sign":"dsa","hash":"sha384","id":""},"DSA-WITH-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-SHA512":{"sign":"dsa","hash":"sha512","id":""},"DSA-RIPEMD160":{"sign":"dsa","hash":"rmd160","id":""},"ripemd160WithRSA":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"RSA-RIPEMD160":{"sign":"rsa","hash":"rmd160","id":"3021300906052b2403020105000414"},"md5WithRSAEncryption":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"},"RSA-MD5":{"sign":"rsa","hash":"md5","id":"3020300c06082a864886f70d020505000410"}}')},4589:function(e){"use strict";e.exports=JSON.parse('{"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"}')},3241:function(e){"use strict";e.exports=JSON.parse('{"modp1":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},"modp2":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},"modp5":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},"modp14":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},"modp15":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},"modp16":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},"modp17":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd4
207b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},"modp18":{"gen":"02","prime":"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"}}')},1636:function(e){"use strict";e.exports={rE:"6.6.1"}},5579:function(e){"use strict";e.exports=JSON.parse('{"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"}')}},__webpack_module_cache__={},leafPrototypes,getProto,inProgress,dataWebpackPrefix;function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.loaded=!0,r.exports}__webpack_require__.m=__webpack_modules__,__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},getProto=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},__webpack_require__.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var r=Object.create(null);__webpack_require__.r(r);var n={};leafPrototypes=leafPrototypes||[null,getProto({}),getProto([]),getProto(getProto)];for(var i=2&t&&e;("object"==typeof i||"function"==typeof i)&&!~leafPrototypes.indexOf(i);i=getProto(i))Object.getOwnPropertyNames(i).forEach(function(t){n[t]=function(){return e[t]}});return n.default=function(){return e},__webpack_require__.d(r,n),r},__webpack_require__.d=function(e,t){for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.f={},__webpack_require__.e=function(e){return Promise.all(Object.keys(__webpack_require__.f).reduce(function(t,r){return __webpack_require__.f[r](e,t),t},[]))},__webpack_require__.u=function(e){return e+".chunk.js?d=595&mxId=00000000"},__webpack_require__.miniCssF=function(e){},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}
vendor: 2,461 bytes, line 2
2}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},inProgress={},dataWebpackPrefix="Fusion.components:",__webpack_require__.l=function(e,t,r,n){if(inProgress[e])inProgress[e].push(t);else{var i,o;if(void 0!==r)for(var a=document.getElementsByTagName("script"),s=0;s<a.length;s++){var l=a[s];if(l.getAttribute("src")==e||l.getAttribute("data-webpack")==dataWebpackPrefix+r){i=l;break}}i||(o=!0,(i=document.createElement("script")).charset="utf-8",__webpack_require__.nc&&i.setAttribute("nonce",__webpack_require__.nc),i.setAttribute("data-webpack",dataWebpackPrefix+r),i.src=e),inProgress[e]=[t];var u=function(t,r){i.onerror=i.onload=null,clearTimeout(c);var n=inProgress[e];if(delete inProgress[e],i.parentNode&&i.parentNode.removeChild(i),n&&n.forEach(function(e){return e(r)}),t)return t(r)},c=setTimeout(u.bind(null,void 0,{type:"timeout",target:i}),12e4);i.onerror=u.bind(null,i.onerror),i.onload=u.bind(null,i.onload),o&&document.head.appendChild(i)}},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},__webpack_require__.p="/pf/dist/components/combinations/",function(){var e={331:0,483:0,818:0,864:0};__webpack_require__.f.j=function(t,r){var n=__webpack_require__.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(301|444|63|682)$/.test(t))e[t]=0;else{var i=new Promise(function(r,i){n=e[t]=[r,i]});r.push(n[2]=i);var o=__webpack_require__.p+__webpack_require__.u(t),a=new Error;__webpack_require__.l(o,function(r){if(__webpack_require__.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var i=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;a.message="Loading chunk "+t+" failed.\n("+i+": "+o+")",a.name="ChunkLoadError",a.type=i,a.request=o,n[1](a)}},"chunk-"+t,t)}};var t=function(t,r){var n,i,o=r[0],a=r[1],s=r[2],l=0;if(o.some(function(t){return 0!==e[t]})){for(n in a)__webpack_require__.o(a,n)&&(__webpack_require__.m[n]=a[n]);if(s)s(__webpack_require__)}for(t&&t(r);l<o.length;l++)i=o[l],__webpack_require__.o(e,i)&&e[i]&&e[i][0](),e[i]=0},r=this.webpackChunkFusion_components=this.webpackChunkFusion_components||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}();var __webpack_exports__=__webpack_require__(742);return __webpack_exports__}()});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.